All posts by anthony

I’m a computer programmer, coder, and hacker, under Debian GNU/Linux 99.9999% of the time. Code is an art, like the art of Picasso that common people are not able to comprehend and appreciate. I like the Internet, I like the world wide web, I like wikipedia, I like AJAX, I don’t like the old web programming paradigm, interactive UI is what people need, but I hate web2.0, and I hate those people who are telling the world how much they know about web2.0 while they’re in fact just eyeing for VC investments.

GPG key transition: 7BD22F74 → D28DA8DC

I should have transitioned my old GPG key to a stronger one for long time, it’s finally done today, with the help of here and here. You can find my signed letter at http://ubuntuone.com/6O2OCf1rg9ulw1eWi13zc2. I am also copying the letter below for your convenience.

Running QQ on Ubuntu Phone

Courtesy to an open source project called uqq on Github, it is now possible to not only run QQ on Linux, but also on Ubuntu Phone! As Ubuntu phone is still under heavy development, and the current SDK is limited for QML-only apps, it is not an easy task to deploy uqq onto the phone, as it uses C++ for its backend. If you are adventurous, you can follow my steps below.

Continue reading Running QQ on Ubuntu Phone

Google Chrome is the winner, Javascript speed-wise

Did some benchmark testing on the Javascript engines of several Mac OS X web browsers by using SunSpider and Google’s V8 benchmark suite. Although Google Chrome is still a development release on OS X, it’s already the winner in this test. Safari 4 comes second, it shows similar results in the SunSpider test but loses more in the V8 test. Sadly Firefox 3.5 loses to both of them by quite a significant margin, despite the fact that Firefox 3.5 introduces the new TraceMonkey JavaScript engine. Opera 10.00 beta 2 is just not a viable competitor to all of the others, I hope this is just because of the beta thing.

Here are some charts that show the results:

sunspider javascript benchmark of firefox, safari, opera and chrome

OS X web browser Javascript speed comparison among firefox, safari, opera and google chrome

V8 benchmark total score of Firefox, Safari, Opera and Google Chrome

商業電台網站大混亂

真係未見過有公司咁樣 launch website 嘅,原本個 website run 得好地地,為咗推新 service,將成個 site 換咗佢,結果係搞到好多俾咗錢聽 archive 嘅人聽唔到,特別係一眾 Mac user 同非 Windows user。嗰個新推出嘅 Toolbar 又唔 support OS X,又唔 support Firefox 3。原本嗰 site 都仲有得俾 user 揀用 RealPlayer 定係 Windows Media Player (Microsoft ASF format) 來收聽 realtime 廣播同 archive,但係個新 website 淨係 serve ASF 同埋用佢個 P2P toolbar。香港公司搞 website,已經無眼睇好耐。宜家咩年代啊,做 website 竟然仲唔注意係唔係 cross-platform。雖然 Real Audio 同 ASF 都係 proprietary,但係點計 RealPlayer 嘅 cross-platform support 都好過 ASF 好多,Mac 有 client,Linux 又有,連 Unix 都有。宜家商台竟然仲廢埋 Real Audio,有無搞錯。其實商台真係好天真好傻,將個 site outsource 俾大陸公司做,大陸公司做 website 出名 IE-only,商台自己嘅 project management 又好有問題,無做好 testing 唔駛講,個 site 宜家俾人媽到飛起,俾咗錢嘅用唔到應有服務,咁都仲唔 rollback 番個舊 site 出來,又或者同時間放番個舊 site 出來一齊行,咁係咪即係話根本無諗過任何 fallback plan,無 contingency plan 嘅呢?前幾日入去商台個 website,赫然發現個 domain name 變咗 beta.881903.com,心諗,唔係唔記得改番 DNS 吓嘛,邊有人用咁嘅 domain name 架,後來先發現原來商台係認真嘅,仲喺埋個 logo 寫住 beta,懶係 web 2.0 咁,真係膠到無朋友。人哋啲 website 寫住 beta,好似 gmail 咁,alpha, beta, gamma 都無問題,因為第一,佢就算係 beta 都仍然好 stable,第二,佢無收我錢。但係商台呢個 case 唔係咁,我真係唔信竟然有人 launch beta service 俾 paid service 嘅 user 咁樣搵香蕉皮自己踩。

好,鬧完,既然俾咗錢,唯有自救,用 XCode + Applescript + shell script 寫咗個 application 俾 Mac OS 10.5 嘅 user 用(唔知 10.4 得唔得,得嘅話通知聲),可以聽得番 archive,呢度 download。Download 完記得睇 README 點樣用!為咗獲得最佳效果,請同時下載 Real Player & Flip4Mac,得閒可以順手裝埋 Perian

更新 2/7/2008 6:25pm: 如果你安裝咗 Flip4Mac,你要先響 System Preferences 度打開 Flip4Mac,make sure “Use Filp4Mac WMV Browser Plug-in” 選項無被揀中。

帝國反擊戰

看來中國的袁萌教授自從應邀拜訪微軟帝國之後倒戈一事,與 ODF 編輯 Patrick Durusau 發表支持 OOXML 公開信這兩件事,都是有關連的,不是獨立事件。這些異動在背後操作的無疑是微軟帝國。帝國黔驢技窮,提出的標準技術不行,轉而用“人事”手段收買一些沒有靈魂的人提他們出口術。

延伸閱讀: