Weekly spam summary on December 9th, 2006

Our SMTP frontend crashed and restarted three times this week, twice onWednesday around 6pm and the third time today at 3:16pm, so some of ourstats are really fragmentary. Still, this week we:

  • got 15,036 messages from 272 different IP addresses.
  • handled 20,984 sessions from 1,243 different IP addresses.
  • received 114,833 connections from at least 33,061 different IPaddresses up

An irony of web serving

One of the small paradoxes of the web is that it is often theconnections with the least bandwidth that put the largest load on yourweb server.

This is because each connection consumes a certain amount of serverresources, ranging from kernel data structures for socket buffers up toan entire thread or process on a dynamic website. The slower someone'sconnection, the longer they tie up up this stuff on your end as youslowly feed them data. Conversely, people on fast connections get in,get their data,


天堂在上,彼岸在遠


十月發現有病
今日即要離開

在醫院的日子
見你依然樂觀
大家都不忍把病情告訴你

那份無奈我們久久不能放下
這件事讓我了解做人真的要過好每一天
人生很短
大家沒有多少日子可以浪費

我們都不知你有什麼心願未了
也不太了解如果

How DWiki uses partial function evaluation

As part of a longer entry, Muharem Hrnjadovic asks :

I would love to see examples or code snippets that are made possibleand/or improved greatly by leveraging functools.partial() .

I'm not sure that my example qualifies, but I'll take a shot at it.

DWiki has a WSGI-like processing pipeline to handlerequests; they get passed from function to function, possibly gettingmutated on the way down and possibly having the results mutated on theway back up.

The pipeline functions look


你都做得到


助學的孩子間中會寄信或寄一些作業來
雖然都是慈善機構安排的
卻總算是心意
有時覺得我們的社會有很多折墮的事
如果有多餘錢
不妨多做善事
去捐血
去捐錢
去做一些可以幫助人的事

不是希望回報
不是希望積陰德

只是
會做好事和不

20061208網摘 – 電子政府

Web 2.0

  • 從 Web 2.0 的資訊可互通性再想想 DRM Quote: 面對現實:Web 2.0 之所以走紅,很大一部份的原因是使用者幾乎把各種素材都當作公共領域在利用,不經太多思考就取用,也不怎麼在意如此生產的成果會如何再同樣地被使用

What I want out of a Linux partitioning program

Programs like fdisk , sfdisk , and even parted are really irritatingto deal with most of the time because they ask you too many nitpickingquestions. What I want is a partitioning program with a command oriented'shell' interface, with the core command being:

make N SIZE [TYPE]

This makes partition N be SIZE big (with the default units beingmegabytes), optionally making its type be TYPE (which can be in hex orin English). If N is 1 to 4, it is a primary


Why I don't expect result-oriented work hours to work out

A recent Slashdot story pointed to this article onone company's more flexible approach to work hours. It hasthe line:

The goal at Best Buy is to judge performance on outputinstead of hours.

My immediate cynical reaction is that this is a marvelous theorybut doomed in most practices. The root problem is the sameseductive thought in management that leads to excessive overtime : 'if my employee is getting all this done in Nhours now, think how much more work she could do in N+Y hours


I'm a Hei Hei girl

我是一個Hei Hei girl,毫無疑問。

但Hei Hei girl亦可以有真心,你不會有機會將她帶到床上。

昨天晚上我認識了一個男孩子,友人跟我說:「這人很好呀,別錯過他。」

是呀,我也知道。

年輕、英俊、有風度、有家世、不急色,甚至像變

Another obnoxious discovery about Ubuntu's /var/run stuff

Today, I had the distinct pleasure of discovering that /var/run mustexist on the root filesystem , even if you have a separate /var filesystem . If your root filesystem does not have such a hidden /var/run , you experience mysterious failures of various boot stuff,including an inability to bring up the network; for bonus points,nothing gives you any meaningful error messages.

(For bonus points, the default Ubuntu server startup sequence wipes out the console scroll buffer, so you can't scroll