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

Big Data and Hadoop

Spring.Taiwan Read the book “Understanding Big Data” today. Half way done. Here’s some excerpts from the book: Understanding Big Data 2013-02-28 15:45:37 the term Big Data applies to information that can’t be processed or analyzed using tradi-tional processes or tools 2013-02-28 15:46:12 An IBM survey found that over half of the busi-ness leaders today realize they don’t have access to the insights they need to do their jobs 2013-02-28 15:48:45 ...

February 28, 2013

在未參加iOS developer program的前提下,在iPhone/iPad實機上測試開發中app

(Taipei.Taiwan) 該做的正事不認真,寫程式倒是花了不少時間。 今天總算有了點進展,先是把addTags的功能搞定, 再來是加上了Favorites的頁面,可以顯示自己加過特定tags的照片。 ...

February 20, 2013

難搞的oAuth Process和文件不夠清楚的flickr Developer Documentation

(JingMei Bridge.Taipei) 試圖為抓下來的圖片加上一個tag,查了flickr api dev guide,對於這種request應該要使用post method才行。可是flickr上的api explorer還是用舊的token方式,而api說明頁又說得不清不楚,只說舊版的token要deprecated,要用新版的oAuth。卻沒說清楚oAuth的signature要怎麼生出來。 ...

February 20, 2013

iOS Programming

(Chamonix.France) 看了幾課教學後,總算是有點小進度了。 不看還不曉得,原來xcode的開發環境這麼完整和方便, 是我太久沒有接觸開發環境了嗎? 感覺上eclipse的android開發環境還是那麼地原始呀。 ...

February 17, 2013