如果煙是士兵們精神的重要支柱,那麼以香港這樣日日像打仗的地方,竟然如此蠻橫禁煙,前線士兵的倒戈就指日可待了。

禁煙是一場形象之戰
(刊10/7經濟日報論壇版。當然沒說出來的意思其實是,是什麼樣的人才膽敢覺

The usefulness of a syndication feed of your blog's comments

One of the accidental smart decisions that I made when I was writing DWiki 's code for syndication feeds was that I should create syndicationfeeds for comments as well as entries. (This built on an earlierdecision that I should have some way of getting a list of comments inchronological order, just as I had one for the standard wiki 'recentlyedited pages' feature.)

It isn't that I think this is an important feature to offer otherpeople; as far as I know, none of the


像她這樣的一個女子─Parveen Babi回憶錄


Parveen Babi (1949-2005) 是傳聞第一位登上《Time》的Bollywood女演員. 但至今仍未有人找到當年的雜誌封面. 就算是Bollywood Fans也未必知道她是誰.

Parveen Babi在三十年前的Bollywood, 以熱情豪放的Western Girl形象示人, 算得上是個異數. 當時得令的是校長
Continue reading...

人人抬頭望天,不再頭耷耷。

今早上班沿途所見,異象不是日全蝕,而是平日朝早在中環見九成人都頭耷耷,今朝早卻一反常態,人人頭顎顎。

太陽太刺眼,當我抬頭望天,甚麼也望不到的時候,腦海出現了上圖的情景。


A peculiar change in Linux flock() and fcntl() behavior

Here is one of those fun issues that cause me to pull out my hair(although it can give me a peculiar sense of satisfaction to track itdown).

Suppose that you have two filenames, such as (not entirelyhypothetically) .vacation.dir and .vacation.pag . As it happens,these filenames are actually hardlinks, so there is only one actualfile involved. Now, suppose you have code that is like this C-oidpseudo-code:

fl = {F_WRLCK, SEEK

Thinking like a security paranoid: an example

There's been a bunch of commotion lately over OpenSSH and how perhapsthere's a 0-day exploit in an older version of it, and so on. Giventhis, clearly the thing to do is upgrade to a current version justin case, right?

If you think this, you're not thinking like a security paranoid.Allow me to illustrate.

Imagine that you are an attacker. You've found a vulnerability inthe very latest and most recent version of OpenSSH, and you want


楷模在遠,o靚模在近


近來報紙天天在追逐或炒作o靚模的消息,一批又一批年輕性感的女孩大力“銷售”自己的美貌和身材,讀者則不知不覺在“消費”這種袒胸露體或爭名奪利,也許有人覺得這也叫做“成功”,還足以令人羨慕。

真不知道這些o

逼老狐狸認錯: Frost/Nixon


Frost/Nixon(港譯《驚世真言》)是非常好看的政治電影。好看在簡單直接,好看在劇力逼人,好看在整齣電影為一場訪問而拍,而那場訪問又令人感到大快人心。

故事根據真人真事改編,因「水門事件」被彈劾下台的美國總統尼克

久石讓與宮崎駿的25年

與宮崎駿動畫走過的25年

八十年代,廟街的精美唱片,是我幾乎隔天便去打躉的地方。

那個時候,我剛上中學,開始迷戀在黑膠唱片上轉下轉下轉出來的美妙聲音。我甚麼都愛聽,古典、爵士、中外古今的流行音樂,通通都不放過。

精美唱片有位很好人

Continue reading...

Packages should not contain both tools and policies

If you install the Ubuntu mdadm package on a machine with nosoftware RAID arrays, it will 'helpfully' email you every dayto report:

checkarray: W: no active MD arrays found.
checkarray: W: (maybe uninstall the mdadm package?)

(The message comes from the /usr/share/mdadm/checkarray shell script.)

This is a terrible idea , forreasons beyond that it's not an error. (It might be an error if thescript bothered to check to see if