人間的證明


終於看了家中最後一齣松田優作的電影,感覺真好。

這是1977年的作品,松田應該出道不久,雖然也有一股冷酷的氣勢,但卻不及後來的《復活金狼》強烈。

故事改編自森村誠一的推理小說,當年是暢銷書,我發現這家角川

Things I have learned about effective sysadmin meetings

We've recently started having some regular meetings at work, which hasgiven me an opportunity to look back at past meetings and reflect onwhat I think does and doesn't work in meetings for system administrators.(Note that I am pretty sure that some of these do not generalize toother sorts of meetings.)

Meetings can be an efficient way of holding discussions, but you needsomeone to corral the digressions. They are not usually an effectiveway of giving status reports, unless the status reports are really


科學怪人與小木偶

Bicentenial Man

艾西莫夫 (Asimov) 機器人系列 小說裏,經常會出現「 科學怪人情意結 (Frankenstein Complex) 」一詞。「科學怪人」當然是源自於被稱為西方第一本科幻著作: 瑪麗‧雪萊 (Mary Shelley) 《科學怪人》(Frankenstein; or, The Modern Prometheus) ,書中主角 Victor Frankenstein 發現了生


甲的另一個名字

幾年前
在某個島上發生了一件事
有甲有乙有丙有丁有戊
丙、丁、戊因為甲而走了
之後
甲也走了
最後只有乙留在這間屋
看守著屋內的樹

這時段時間
樹,成長
花,開著。
.................

幾年後
甲回來向乙說﹕樹

Ordered lists with named fields for Python

I periodically find myself dealing with structures that are basically ordered lists with namedfields, where elements 0, 1, and 2 are naturally named 'a', 'b', and'c' and sometimes you want to refer to them by name instead of havingto remember their position. This pattern even crops up in the standardPython library, often with functions that started out just returningan ordered list and grew the named fields portion later as peoplediscovered how annoying it was to have to remember that the hour


How CSLab currently does email anti-spam stuff

The Computer Science department is strongly against rejecting email justbecause it might be spam (at least by default); enough people wouldrather sort through spam than risk rejecting legitimate email. Peopleare willing to have known viruses removed from their email (althoughnot executables in general).

(For clarity: the weekly spam summaries I do are not for CSLab's mailsystem.)

I once summarized CSLab's general rule is 'thou shalt not reject emailjust because it smells bad'. We can reject email


Weekly spam summary on February 24th, 2007

This week, we:

  • got 15,188 messages from 253 different IP addresses.
  • handled 21,573 sessions from 1,281 different IP addresses.
  • received 238,853 connections from at least 71,848 different IPaddresses.
  • hit a highwater of 10 connections being checked at once.

Connection and session volume is down a bit from last week . Day to day volume fluctuated up anddown through the week:

DayConnectionsdifferent

今日非常快樂




















1.

自己做生日咭給自己。如同我那個快樂的金礦(周某語),一切DIY。


2. 面對現實吧汝等!

金庸小說人物占卜

你在金庸小说中是:小龙女

小龙女几乎不食人间烟火,但是她和香香公主截然不同。在未曾遇见杨过之前,她已经

20070225網摘 – 網誌何去何從?

HK Blog

  • 20070220 詳細討論香港Blogosphere發展的種種,分析當中的討論
  • 閱報不如睇Blog Quote: 我相信Blog能大行其道,尤其在香港的原因,就是我們對於每一樣事情和討論,無論在政治,文化,生活上,都希望吸取多一點不同的意見,而

Some things to remember when implementing __getitem__

I've recently been doing some work on classes derived from list and tuple that fiddle with the behavior of __getitem__ , and ran intoa couple of surprises that I am going to write down so that I rememberthem in the future:

  • for the simple ' obj[i:j] ' case, __getitem__ is not called ifthe class has a __getslice__ method. list and tuple both do,despite the method being labeled as deprecated since Python 2.