Bachelor Party 鬧出禍!

上個weekend,我參加了Matilda的婚宴。沒想到,這個婚宴最終竟弄得一塌糊塗!

全世界的結婚請帖都寫八時開席,但我從未試過八時有飯吃。我好肚餓,我一肚餓就想發脾氣。八時十五分、八時三十分……我一直等一直等,還要一邊等

Returning to the era of 'duplicated' Ethernet addresses

Once upon a time back in the old days, Sun caused quite a stir bydeciding that they would make the Ethernet addresses for their hardwarebe an attribute of the machine, not of the network interface. Or totranslate, Sun machines used the same Ethernet address on all of theirinterfaces instead of doing what everyone else did, which was to havea different Ethernet address on each interface. This is spec-legal butcaused various sorts of annoyances for system administrators and networkdesigners; among the set of people who


/u, one of our long-standing Unix customizations

One of Unix's small problems is that it has no simple and universal wayto refer to people's home directories, especially other people's homedirectories. Some people are about to pipe up about ~user , but that'snot a universal way; support for it has to be added to every programthat will use it (and in every context where they resolve file names),and inevitably there are programs where it is not supported at all or isnot supported everywhere. Beyond that,


舊橋食過世,不悶嗎?

我在剛出版的《我是我.王迪詩》,邀請了一位神秘嘉賓撰序。那篇序嘛,真是千古一大奇文,我看了差點笑到窒息!於是,我在微博請大家猜一下那位神秘嘉賓的名字,猜中的話可獲贈一本我親筆簽名的《我是我.王迪詩》,

奧秘

我有好些朋友都認為相信神的存在是很理所當然的事,他們沒有讀過哲學,但都會提出一個類似宗教哲學裏的所謂「宇宙論證」(the cosmological argument)。這個論證有不同的版本,有些版本非常複雜,我不打算在這裏討論任何一個版本,只想

Good Old Days

There is an unwritten rule that if you want to learn medicine you have to learn by words of mouth. I have come to believe more with every passing year that despite new gadgets like UpToDate, it is still apprenticeship that works for new doctors.

So what can I teach the new interns? They looked helpless indeed. I rose from my chair, and straightened my white coat. "Honestly, I once made a bad mistake during my internship." I tried to correct myself. "Well, I've

造了一個很長的夢

終於夢見你...
https://ericayuen.blogspot.com/2008/01/blog_11.html

空難過後, 粉身碎骨的你原來活著, 還康復過來.

我們在小學碰面, 你的樣子一點也沒變.

相認的時候, 沒有驚呼狂叫, 沒有抱頭痛哭.

"終於再遇上",

骨精玲想講講... ... 關於按摩

1. 做空姐之前,從未試過按摩。

2. 那時候,常問人,好人好姐,點會腰酸骨痛?

3. 結果,報應到,身受其害。

4. 永不特意回內地按摩,不涉地域歧視。

5. 大姐,哪來那麼多時間一上一落呀?

5. 按摩後,一定坐的士回

A gotcha with Python's socket.htonl() and ntohl()

Here is something that I ran into the other day :the socket module 's htonl() and ntohl() functions will return signed numbers undersome circumstances, not unsigned ones, which means that for some inputvalues they will return negative numbers.

(Some quick testing suggests that this happens on 32-bit x86 machinesbut not 64-bit x86 Linux machines; all of the 32-bit machines I haveaccess to are running some version of Python 2.5.


A corollary to the limits of anti-spam precautions

One of the corollaries to the limits of certain sorts of anti-spamheuristics is that if you see spam softwareactively working to get around any particular sort of precaution, youcan assume that the particular precaution is getting reasonably popular.

This follows from spammers being lazy but not stupid; if the precautionwas not reasonably popular, dealing with it probably wouldn't be worththe time of the programmers behind the spam bots. That they do deal withit implies that it is worth their while to do so, which