政治參與度
在新竹、苗栗想要推在地的政治活動,一直都很不容易,參與的人數總是不多。
常聽見人說這兩個縣市的人都不關心政治,關心的人少了,參與政治活動的人自然也少。而我的想法是這兩個縣市的人的生活方式,本來就不容易在工作跟家庭之外有自己的生活空間與興趣,因此更不容易撥出時間參與政治。
閱讀全文 >>在新竹、苗栗想要推在地的政治活動,一直都很不容易,參與的人數總是不多。
常聽見人說這兩個縣市的人都不關心政治,關心的人少了,參與政治活動的人自然也少。而我的想法是這兩個縣市的人的生活方式,本來就不容易在工作跟家庭之外有自己的生活空間與興趣,因此更不容易撥出時間參與政治。
閱讀全文 >>Mockito 是一個常見的 testing framework,這邊稍微紀錄一下我用到的測試寫法,包括
Git is so popular around the developer world, as well as Github. Nowadays almost every developer could use git a bit. It was hard to imagine this situation in several years ago.
To master your development tool would help you focus on development itself. And provide more information when hacking code.
Git has so many commands, and each commands have many parameters. It is common that people says “Oh! I don’t know we can use Git like that!”. This article is for sharing some commands I use often. Hope it helps, and I hope you can share your tips as well.
閱讀全文 >>2018/04/02 Update: add 2.1.12 doc download point
ReactiveX is cool, as well as RxJava. If you are developing app and using RxJava, of course you often refer RxJava documentations. I would like to refer its javadoc from my local host, but cannot find out a download point. Therefore I make a copy and upload it.
朋友要搭廉航到東京初次嘗試自由行,不是很清楚怎麼到東京車站。所以寫這篇給他,順便放上來給需要的人。畢竟我自己第一次搭到成田機場的時候,從 Google map 上也是看了一下卻不很清楚怎麼坐,尤其初次到東京若沒有網路,總是會有點緊張。
我是搭乘機場的京成巴士,在東京、成田機場之間往返,單程單人是 1000 日圓,約一個小時三十分鐘左右的車程。因為是走高速公路,聽朋友說有可能會遇上塞車,要省錢還是要搭時間比較穩定的鐵道,就看個人喜好了。
閱讀全文 >>網路上很多自助旅遊達人寫了不少文章,很值得參考。寫這篇只是因為好友初次自助旅遊要來東京,與其在聊天室打一堆字不如寫成一篇比較清楚些。
因為好友對東京完全陌生,希望這篇文章能夠至少幫到他,怎麼樣找到生命的出路搭乘路線,雖然我也不是什麼鐵道通,也懶得最佳化到省錢的極致。只要大致上做到想去哪都去得到,這樣就夠了。
I guess most of people alreay read the post Retrofit 2 — Upgrade Guide from 1.9, me too. It listed some points for upgrading. If you used Retrofit 1.x in production, you might get more problem than the guide in upgrading, at least I did. Just make a memo here for myself and other poor guy.
I had problems such as
用 Android Studio 的時候經常會用 debugger 設定 breakpoint 停下來抓蟲。step trace 的時候往往也會跳進 sdk 裡面的 code。Android Studio 會 decompile 並且找 source code 來幫助我們 trace
這個問題持續發生好長一段時間了:只要同時選擇了兩個以上的物件,Inkscape 就會 crash。問題簡單來說就是中文翻譯的問題,所以用其他語言的人不會遇到。
For debian inkscape 0.91, It only happens in Traditional-Chinese conext.
You could reproduce this problem by launching inkscape in Traditional-Chinese context. (It won’t happen in Simplified-Chinese context. explain later).
1 | $ LANGUAGE=zh_TW.utf8 /usr/bin/inkscape |
Then create any two objects, select all of them. boom!

If you only need workaroud for now.
1 | $ LANGUAGE=en_US /usr/bin/inkscape |

因為困擾我超久的,今天就用 gdb 稍微追一下問題
閱讀全文 >>