Silent Night

Every boy, girl and grown-up knows very well the sparks of gratitude upon receiving a gift on the Christmas festival. When we make a wrong choice of "gift", the resulting ripple can be far-reaching, though.

On the Christmas Eve, I made a phone call to my patient, a young lady who recovered from a stormy hospital course with a disease called systemic lupus erythematosus, after receiving her magnetic resonance images (MRI). "Good afternoon, Ms L, this is Dr. KM

Christmas Greetings



The difference between shells that do job control and shells that don't

Apart from having job control, the difference between a job controlshell and a non job control shell is that job control shells puteach command into a difference process group . They do this even forcommands running in the foreground, because you may later want to ^Z thecommand and push it into the background, and process groups are the coremechanism of doing job control.

(Process groups do two things in job control. First, they let the shellreliably send stop or start signals to all of the processes


澳門創作人協會新書:《未命名的章節》序

2007年,澳門是一個“消失中”的城市。是的,不是“發展中”,是“消失中”。如果時光倒流十年,相信活在1997年的澳門人絕對想像不到2007年的澳門會變成這麼“都市化”、“國際化”,甚至有點“泡沫化”

Shortening hostnames for fun and profit

Once upon a time I needed to NFS export filesystems to a lot ofworkstations, in a situation where I was worried about size limitsin /etc/exports (and we didn't use YP/NIS, so we couldn't just puteverything in netgroups). In situations like this, one thing to dois to shrink hostnames down as much as possible, and that's what wedid.

(This was back in an era where the existence of such limits were at leastplausible.)


Multihomed hosts and /etc/hosts

As a side note to looking up hostnames from IP addresses for people who use /etc/hosts , note that /etc/hosts lookups work badly in the presence of hosts with multipleIP address, since most gethostbyname() implementations will onlyreturn the first IP address that they find in /etc/hosts . These daysyou really want a minimal /etc/hosts and a reliable DNS server, unlessyou have special concerns .

(The gethostbyname() behavior is sensible, since otherwise it wouldalways have to


甚麼是鬼?

mad detective

當見到《神探》的神探陳桂彬說他可以見到人們心中的鬼,我即時有這個疑問:甚麼是鬼?

跟據字面的直接解法,我們常說人心中有鬼,似乎想說「鬼」等於是「人的陰暗面」或「心魔」。這符合結尾陳桂彬的自說自話和何家安


Getting a useful persistent VNC session

By a persistent VNC session, I mean a session that you can connect yourVNC viewer to, do stuff, disconnect from, and then later come back toconnect to it again. This makes it the graphical equivalent of screen , at least for me.

(Much like screen , it also gives you a certain amount of immunityagainst network and workstation stability problems for critical tasksthat you don't want interrupted. More and more, systems have to bemanaged graphically instead of through text interfaces, which means that


20071222 網摘 – IE8 通過 Acid2

Barcamp in HK


情陷夜中環

情陷夜中環

眾所周知,公司搞的所謂Christmas party,其實不過是老闆展現皇恩浩蕩的一場show。群眾也許是愚昧的,但也不至於因為老闆唱兩首歌或扮一下聖誕老人,就會被這等「忽然親民」的行為打動。

「女皇」作為公司的最高話事人,