AVPlayer and AVAudioPlayer on iOS

(Polderpark.Netherlands) I like the bright color in this picture. Although this photo was taken almost 10 years ago, the image quality is so great that I still can’t believe it’s taken by a cheap camera at that time. **** It’s easy to play and control local mp3 files by using AVAudioPlayer. However, if someone wants to stream playing mp3 files from the internet, he should try AVPlayer instead. Spend most of my time trying to find a remote mp3 for testing. Too bad that I just can’t even find one. Eventually, I gave up searching on the internet. Instead, I use following python command to create a simple http server locally on my mac: ...

March 30, 2013

Starbuck 2011

(Annecy.France) 結局還蠻不錯的。 不過加拿大的法文腔聽起來幾乎全部不懂呀… REF: IMDB link

March 28, 2013

Macbook Pro Freezes When USB Plugged In

(Touchen.Taiwan) Symmetry brings harmony. **** Encountered this problem for a while. It bothers me a lot although it does nothing harm. Well…the solution is quite simple, but hard to find by myself: just uninstall “Android File Transfer” app!! Don’t know why this app causes the symptom. I am glad that I don’t have to keep moving around on the touch panel to make sure I re-gain the control of mouse movement while pluging anything into usb port. ...

March 28, 2013

App程式設計入門 iPhone . iPad

(Taipei.Taiwan) 這本書寫得很淺顯易懂, 但缺點是,每一個章節都是點到為止, 而且用字有點太過白話。 做為第一本iOS入門書還不錯, 只是想要深入了解iOS programming,或是要可查詢的工具書的話, 要再多買幾本書才行。 ...

March 26, 2013

Dans la maison

(Toronto.Canada) Haven’t thought that I would be able to have a biz trip to Canada, let alone a city in the middle area of it. Toronto is a clean city which is suitable for living, for sure. I like the clear sky and freezing temperature in winter. **** 不是很好看。 一個教文學的老師看到一個作文不錯的小朋友, 開始逐步引導他怎麼寫, 漸漸地,小說內容和現實世界之間的界線模糊了。 ...

March 26, 2013

Priceless

(New York.US) Look remotely, it’s a picture of woods; Once you get closer to it, you will find it’s made up of newspaper strips. Very creative piece. I like the deepness of the work. **** 木村拓哉主演。女主角沒有很正, 倒是演次角的女生外型比較搶眼。 這部日劇還是很日本,鼓勵人向上, 透過主角楔而不捨的意志力,逐漸地感化每個人。 雖然主角似乎有點積極過了頭, 但也總比看台灣連續劇亂七八糟灑狗血劇情來得好。 ...

March 26, 2013

Objective-C 2.0 iPhone/iPad/Mac OS X 程式設計講座

(田子坊.Shanghai.China) Brought ex-colleague to visit this old district in Shanghai. It’s full of exotic atmosphere while wandering around. Sitting in the coffee shop by the street corner, you can’t even tell whether you’re in western countries or somewhere else. Walking-by passengers are visitors from around the world. *** 這本書翻譯的不是很好,看得有點頭昏。 加上年代有點久,有些章節在新的平台上應該有更好的作法了。 應該找本新一點的書來看才是。 ...

March 26, 2013

操作介面設計模式

(Annecy.France) Relaxing on a boat trip in Annecy lake. What a life. *** 這本書整理得很好,把常見的UI模式都整理了出來,而且一個個說明優缺點。 雖然沒辦法從中學習到如何完整地搭起讓使用者喜歡或是順手的介面, 但是可以做為工具書,需要時拿出來做參考。 本書主要是以網頁的元件為主,如果也能有本書是專門在描述手機平台的, 那就更好了。 另外,這本書真是不便宜啊…得要多翻個幾次才夠本。 ...

March 26, 2013

How to find and turn on USB debugging mode in Android 4.2 and higher

(Paris.France) Tranquille dans la ville de belle Paris. **** While trying a certain app recently released by a company that I had interviewed with, it crashed every time I triggered it. I wanna get the logs for them to do further investigation. Howevever, I couldn’t find the developer option in my Galaxy Nexus with android 4.2.2. Not sure why; I did some search on the internet. Seemd that google thought it’s not so useful for normal users so they just hide it from settings app by default. If this feature is required by developers or someone boring enough, just like me, they can always find the solution on the internet: You can enable/disable it whenever you desire by going to “Settings” -> “Developer Options” -> “Debugging” ->” USB debugging”. ...

March 26, 2013

Pitch Perfect

(Muzha.Taipei) 吃完午餐,散散步。 **** 喜歡電影劇情裡有唱歌或是跳舞。 雖然情節很老套,但是光聽整部電影裡不停的唱歌, 就覺得很享受。

March 23, 2013