拜託,我不是來自中國的孤兒…

整晚都睡得不好。
不只我一個人睡得不好,我們五人都是。法國女生更 患了感冒,整晚在咳個不停。
早上十時許,女生又要繼續油油漆,是日要完成另一格廁所的地板及木屋附近的休憩亭,結果不消一個上午,我們就完成這項工
Continue reading...

ZFS changes filesystem device numbers on reboot

Here is an unpleasant discovery that we just finished making: in atleast Solaris 10 U6, ZFS changes the device numbers of all of yourfilesystems when your system reboots . More specifically (and evenworse), the device numbers of a pool's filesystems change wheneverthe pool is imported, including the implicit import that happenswhen a system boots up.

(This raises interesting questions of how NFS filehandles keepworking across system reboots, which they do. Presumably theyhave some other stable identifier for a given


Biotherm Skin Vivo

From for blog

收到Biotherm Senior PR Manager Natalie的邀請,有機會出席Biotherm新產品Skin Vivo的launch event。

其實,一向極少出現在這些場合啦,怕悶怕見人,我不是beauty reporter,在場一個人也不認識,會好驚青的。

不過,這次的場地是Times Square的UA cinema,一來在我家附近,二來有好
Continue reading...

Insomnia


很多人都在期待Christopher Nolan的新作,自從他執導了兩集《蝙蝠俠》之後,他簡直為荷里活的大片提供了新的創作指標和方向。然而,我覺得他那些小品式的影片也是很好看耐看的,最近我再看他02年的作品Insomnia(港譯《白夜追兇》),

「被失業」後的第一天

今日全隊人馬一起前往山洞進行大掃除,由早上十時起,大家就不停的運送水到山洞裡以便進行清洗,十公升十公升的拿來拿去,真是累透了!
工作到下午二時才有一個小休,吃過一片疑似過了期多年的麵包及喝用半杯水後,我

六月蘋果 (2009)

《 愛 巴 黎 的 理 由 》


從報上讀到,每年有不少日本遊客和居於巴黎的僑民患上「巴黎症候群」,起初還以為是指深深愛上巴黎,每天仰望鐵塔手挽路易威登就能飽肚的狂熱分子。再仔細讀下去,看到「需要接受心理治療」這句,恍

我的十五齣

見到 “Fifteen movies that will always stick with you” 這個題目已好久,但最近比較忙總是沒有時間寫。而且一時間要想出十五套戲,確實不易。看的戲雖然不少,但能留在心的卻不多。這是我的十五齣,排名不分前後:

  1. The Matrix – Matrix 的玄虛
  2. Ghost in the Shell – Section9
  3. Gattaca

一隻1年內可能會升150%-200%的值博股

相知係邊隻?請click入
《優質股發掘人》

What packages SystemTap requires on Ubuntu 8.04 (and others)

For my own future reference and because the SystemTap wiki is not the clearest thing onthis, here's what packages are required to be able to use SystemTap onvarious distributions.

We use the -server kernels on our Ubuntu 8.04 machines, so I neededto do:

apt-get install systemtap linux-image-debug-server linux-headers-server
ln -s /boot/vmlinux-debug-$(uname -r) /lib/modules/$(uname -r)


A frame object's f_locals isn't always the locals

Python frame objects have a tempting member called f_locals , whichis described as the 'local namespace seen by this frame' (to quote the inspect module ). This isslightly misleading, because it is not always what Python programmersnormally think of as 'locals'.

Specifically, if the frame comes from code that is running at themodule level, f_locals is the 'local namespace' of that code,that is, it is the module's namespace. In other words, it'