你會答應給我十萬元

我只須問你兩條問題,你便會答應給我十萬元。不信?試試看。規矩是你只可以答「是」或「不是」。

問題(一):你是不是會以相同的答案回答這兩條問題?
問題(二):你是不是答應給我十萬元?

如果你對問題(一)回答「

My views on inheritance versus interface

Due to some recent entries , I've been thinking more about inheritanceand interfaces and I've come around to a particular view, which youcould call either the duck typing view or the jaundiced C programmer'sview. Put simply:

Interfaces are what you should care about from outside amodule. Inheritance is, or should be, strictly an implementationissue for inside the module, except when inheritance is the simplestway to expose certain functionality for reuse by the outsideworld.

(In Python, Exception is


火車站 (兩生花)

在兩個不同世界,講述同一個故事。

-----

火車站之所以浪漫,是因為它短暫,因為旅客來到火車站,都只是在等待,一旦火車來到,這個站便會被忘記,到埗後也是急急離開,踏入火車站只是一個邂逅,永遠都不是長廂廝

佛法與基督

應是有喜有樂,聽罷佛法卻見苦業無盡

本來好人好者,信了基督便覺罪行根深

Lord of the Rings... [UPDATED]

[Update: Here's a gallery of photos from the big event (on Facebook).]

Image taken last week with my D90 (with 50mm f/1.4) and an external flash shooting through the famous $0.02 mini macro studio :

Diamond Engagement Ring - Cathedral Setting, Round Cut Diamond, White Gold

I hand-held a Nikon SB-24 flash connected via a wireless trigger over a folded sheet of paper that acted as a giant diffuser for the ring, which I simply placed on a 'seamless' piece of


最迫近親情主題的一次


《歸途》的廣度,或親情的深度

適逢字花申請下一年資助,文學界的大事,倡議文學館的民間諮詢會又於12月13日在兆基創意書院舉行,手上有三本書待編,工作像俄羅斯方塊那樣疊下來,為什麼我還會與周佩韻合作,為她

生活教練

有沒有想過自己可能並不懂得怎樣過活?過活並不只是上班下班、吃飯拉屎、打麻將、看電視,還包括處理人濟關係、實踐大小計劃、應付遠慮近憂、和培養生活情趣。因此,有人活得充實快樂,有人活得一塌糊塗。

如果自覺生

Bollywood 09年尾快訊

我的Bollywood觀影習慣很奇怪, 年初興致勃勃, 到年尾日漸生疏. 可能是我要餓出好心情去等候新電影. 最近瀏覽各Bollywood影星的動向, 他們又有新作啦!


一睇海報, 就知道 Saif Ali Khan 又發揮他的鐵漢柔情. 自06年《 Fanaa 》後, Bollywood再拍攝以恐怖
Continue reading...

奇蹟和神蹟

奇蹟必然罕見,否則也不算是奇蹟。然而,我們在自己或關愛的人身處絕境時,大多會希望奇蹟出現。這是因為人即使在絕境,也未必絕望;但既是絕境,所望者便不能是一般都會發生的事了。奇蹟雖然罕見,卻仍有可能發生:

Why I am not enthused about etckeeper and similar systems

There are a number of programs like etckeeper , systems for keepingyour /etc and similar things in various forms of version controlsystem repositories. I'm not enthused about any of them as comparedto, say, keeping selected files in /etc in RCS ,because I see several problems with them.

First off, you're fighting with your regular package management system;both it and your etckeeper system feel that they own files in /etc andcan change them. Even if you try to integrate the two