Weekly spam summary on May 13th, 2006

Unfortunately, the SMTP frontend died shortly after midnight onTuesday morning, so some of the connection statistics are missingabout 2.6 days. Given that, this week we:

  • got 11,652 messages from 229 different IP addresses.
  • handled 16,296 sessions from 808 different IP addresses.
  • received 110,313 connections from at least 35,408 different IPaddresses since early Tuesday morning.
  • hit a highwater of 11 connections being

Absolute versus relative URLs in syndication feeds

I just changed DWiki to generate absolute URLs for the '(N comments)'links at the bottom of entries in my Atom syndication feeds, instead ofthe absolute path URLs it used to generate (URLs without the https://host/portion) . This scrubs out the last non-absolute URLs in my syndicationfeed; URLs in the text of entries in the feed have always been absolute,because I'm cautious and cynical.

In theory absolute URLs are unnecessary in Atom entries, because Atomhas


Safely updating Unix files

Tim Bray provides Apple some instructions onhow to update files containing important data (like iCal calendars). Hisdirections are fine at a high level, but they're actually not quitedetailed enough to implement from.

So here's how you safely update Unix files:

  1. create a new scratch file in the same directory as the target file(ideally mode 0600).
  2. write the data to it; optionally fsync() ; optionally verify thedata.
  3. copy the current version's permissions to the

澳門人需要野火集


昨晚重溫了龍應台教授的"野火集",覺得澳門到現在還未能出現這種有益有建設性的言論,不免有點惆悵,越讀越覺得澳門人需要"野火集",想像一下,假如我們年輕一輩寫blog的人個個都像龍應台一樣有火,這個像一池死水

庸俗.sentimental.不可穿越

據說昨天凶星入道,理性堅實的論文大隊運勢急轉,為了幾首粵語流行曲,幾乎一夜崩潰。尤記當年有「我的十首楊千嬅」,現依照本 blog 數月以來「庸俗!消費!無思考!傷他悶透!」無恥趨勢,誠邀各 君子共同分享流行曲血


給H的一封信

Dear H,

不要再哭了,不要再發脾氣動手了,不要再在街上浪擲時間了,好嗎?

是你告訴我的,男人毫不可靠,怎麼現在卻忘了?

如果你想結婚生子,就該從追求你的人當中,找一個願意結婚生子的。而不是找一個不肯結婚,只當

攻殼「每話介紹」

最近也有為 Section9 添加內容,而近幾個星期剛剛開始了「每話介紹」這個環節。參考過不同的做法後,就決定寫得仔細一點,現在分為四個部分:本集資料、故事介紹、劇情討論和相關資訊。

到現在為此,共做了三集: 《公安九課


咀皮子

上朋友的節目,亂七八糟但比較開心:
七一電台. 不是象牙塔 又談《字花》

The problem with preforking Python network servers

I've been thinking about ways around the practical cost of forking inPython . There's two common alternatives: preforkingservers and threads in general. However, both of them have issues thatmake me unhappy with them.

The best setup for a preforking SCGI server is a central dispatcher thatparcels new connections out to a pool of worker processes; this requiresthe ability to pass file descriptors to other processes. While Unix cando this (with SCM_RIGHTS messages over Unix domain sockets), Pythondoesn'


1984再不是1984 — 一個Mac頭的誕生

1984是George Orwell 1949年出版的著名小說,內容講及未來世界,人類被極權政府獨裁統治,人類的一舉一動,都備受Big Brother監視和控制。

1984亦正是Macintosh的誕生年份,廣告公司亦以此1984來暗諭彼1984,認為Macintosh的面世