奧斯卡的 Hugh Jackman

Hugh Jackman 除了是我們熟悉 X-men 的狼人之外,其實他老本行是音樂劇演員,能唱能跳又能演,認真難得。他出任第 81 屆奧斯卡主持,當然要也要來一番歌舞!還有意想不到很會唱的 Anne Hathaway!

這是今次奧斯卡令我最難忘的其中一幕。第


電影節心水

一年一度的國際電影節又來了. 這麼多年來, 還是控制不了體內腎上腺素激增. 正如我對網友所講 , 電影節愈來愈懂得製造假象, 虛張聲勢話有幾多好戲睇...根據自己的經驗, 一年總有一兩部係「乃製品」(乃野). 我 預計
Continue reading...

電影節七宗罪 (排名不分先後)

一. 貪多務得

想睇好多戲, 無咁多時間, 無咁多銀紙.

二. 辦事不力

票房年年混亂, 戲票愈來愈貴.

三. 官僚冷漠

影片完畢, 一出credit即switch off, 引來全場妖聲不絕, 節方完全不理.

四. 八達不通

永遠唔明點解三四月先黎塞車; 無左

標準與雙重標準

過去十年,人們討論社會問題時的結論往往會認為一切問題都源於教育不完善,這是一個最沒有道理又最殘酷的現實,彷彿只要是教育的問題對大家來說就不再是問題,因為教育問題真的夠複雜,多數人都不能輕易對教育的問題

What I learned from Google Mail's recent outage

Suppose you have a system with nodes and work items. You have to assignwork items to nodes somehow; one way to do it is to randomly distributework items around the nodes, but another is to assign them based onsome sort of fixed-outcome affinity function (like 'is topologicallynearest'). Now consider what happens when a node overloads or fails (oris just taken out of service) and its work has to be reassigned to newnodes.

In a random-assignment system, the failed


公務員「活化」古蹟?不如先「活化」自己

要不是汪阿姐出來鬧一鬧,大概很多人還不知道香港有個「活化歷史建築伙伴計畫」。一聽這個計畫的名字,就知這是公務員的傑作。Boring。

毛主席說:「沒有調查研究,就沒有發言權。」所以不管多麼沉悶,我在提筆前仍特別閱


Don't log usernames for bad logins

This used to be widely understood around Unix, but it's evidentlyslipped from common knowledge over time:

It's a mistake to log nonexistent usernames on bad logins .

(Corollary: it is an especially bad mistake to log them by default.)

To illustrate why I say this, let me tell you what happened tome recently. I normally leave myself logged in to my officeworkstation with the screen locked and blanked. This weekend, my officeworkstation crashed and rebooted because of some ongoing issues ; as


是日金句090224

A:「你既寫作風格可以用兩隻字形容。」

B:「係咩呀?」

A:「頹廢。」

B:「... ... 」

********************************

A:「唔好咁灰啦。」

B:「真係好攰,仲好灰,灰過

Lady First 專欄 (33 - 34)

二月十四不是年三十


一年一度的情人節又快將來臨,你是否有一種死期到的感覺?特別是男人。

不能否認的是,許多女孩子都頗重視情人節的,早早準備好禮物,打算給男友驚喜,而禮物多是親手所造的,這才夠誠意嘛。

雖然,

A core principle of error and warning messages

Here is a core principle of how and when programs should show error andwarning messages of all sorts:

Error messages should only go to the people who can do somethingabout them.

This goes double for warning messages.

(Sometimes you don't have a choice, at least in theory; if your programsuffers a fatal error and you have nowhere else to log it, dumping it onthe user does some moderate amount of good. Maybe.)

There's two reasons to be careful where your error messages