自尋短見

己絕版詩集.未完成計劃

網上拌嘴:有位小朋友遺失了向圖書館借的飲江詩集《於是你 沿街看節日 的燈 飾》(下稱《於》),問哪裡可以買到書,以頂替圖書館的昂貴罰款。《於》早絕版多年,心疼起來,忍不住說,遺失圖書館


Some notes on booting single user in x86 Solaris 10

Here's some somewhat sketchy notes, mostly for my own future reference,on various bits of booting Solaris 10 x86 into single-user mode.

On x86 Solaris, kernel boot parameters go on the end of the ' kernel/platform/i86pc/multiboot ' line in the GRUB boot entry. You put them inby interrupting the GRUB menu to edit the default boot entry (and thenthat line). The two most useful parameters are -s for single-user


補習之迷思

某日看八卦雜誌,是甚麼甚麼補習天王的家居訪問,例牌的無敵海景天台數星星... ...

當補習天王提及數年沒有親身上課,我登時一呆。

原來現在的補習教育已經進化至靈慾分家!!!!! (OK,我知我落後。)

怪不得可

人與人,家與家 – Mr.Children「彩り」

Continue reading...

The Python marshal module versus the cPickle module

The marshal module looks interesting for persisting and retrieving lightweight data,but the big question to me has always been whether in exchangefor constraining your data down to simple structures of primitivetypes you got something that was actually faster than the cPicklemodule .

So today I decided to finally answer the question by doing sometiming tests. I won't claim that these are comprehensive or entirelyscientific, but I do have some results:

  • the speed difference is mostly in dumping things; marshal andcPickle generally load things as fast as

Our experience with Linux's strict overcommit mode

As a follow-up to 64BitDrawback : after we had several machines crashdue to being driven out of memory, dealing with the whole issue suddenlygot a whole lot more urgent and we opted to try to solve it by turningon Linux's strict overcommit mode for swap allocation. At first we didthis only on our compute servers, but after some of our login serversalso OOM'd and crashed, we enabled it on them too.

(Strict overcommit has the great advantage that we don'


各位關心大澳的朋友

各位關心大澳的朋友 ,

請留意 , 政府又再開展新一輪大澳發展規劃工程 .

2007
9 23 日,土木工程拓展署聯同規劃署及邁進基建環保工程顧問有限公司在大澳舉辦名為「翻新大澳景貌」的諮詢會,並公佈將動用六億二仟

Our old mail system's configuration

Before I can talk about more interesting mailer things, I have toexplain how our old mail system was configured.

Our old mail system makes perfect sense once you realize that it wasmore or less designed around the idea that nothing should ever haveto be done over NFS. In order to manage this, each different sort ofprocessing had to be done on the machine that held the relevant files;deliveries to /var/mail were done on the postbox machine, which had /var/mail on local disks,


Blog Action Day – 浪費包裝

Bloggers Unite - Blog Action Day

不知大家有沒有這種感覺:某某歌手出碟,有幾首作品網上試聽過不錯,買碟回家後連忙轉檔放進 MP3 Player 內,看過包裝歌詞後,便放在一旁,好像用完即棄,感覺很浪費。

越來越多大容量體積小的儲存裝置出現,我們都將成上萬


The arrogance of trying to design for long term storage management

Many systems seem to be not really designed for a long term storagemanagement environment . Instead they seem toopt for a kind of planned obsolescence approach where they assume thatyou will buy them, run them more or less into the ground without reallychanging or upgrading anything, and then replace them wholesale in abig, painful, user-visible bang.

From the perspective of a long term storage management environment this is a crazy thing to do; with no growth and thus no future, thesesystems are basically closed boxes