大雨也澆不熄的火!賈樟柯連載之四

親密的人.陌生的階層——「《小武》我寫作、拍攝的時候就想像,這是拍給我初中的同學、朋友他們看;《站台》時的那種語言狀態就好像寫給父親一樣,『我的父親他會懂』。寫給一個有生命經驗的人,不用講那麼清楚,他

好天氣還會來

在此謹向為連續天雨而感到沮喪的人們發言:我知道你們過去幾天很沮喪。而好天氣還會來,今天有太陽了,你們的正常生活會繼續,可以晾曬衣服,掃除霉菌,重新整理美好的想像,進行戶外活動。而我希望告訴你們的是,在

Some spam stats at June 25th, 2005

Another Saturday, another set of spam statistics. This week I stoppedputting in IP-level blocks for high-rate connection sources so that Icould gather more accurate statistics on the various DNS blocklists thatwe use here.

Most of the statistics are from about 3:20 am Sunday the 19th, whenlogs rolled over; some are from about 6:10 am that Sunday, when thesystem rebooted. (Note that many figures are somewhat rounded off.)

The basic statistics are stark:


PKD 機械人

pkd 在芝加哥舉行的 NextFest 展覽,是一個展示未來科技的地方,包羅了全世界各地科研成果,如機械人、太空穿梭機、概念汽車、光學迷彩等等。而今年很有趣的是,會有一個 Philip K Dick 機械人

Philip K Dick 是有名的科幻作家,很多作品已被改編


地鐵非禮記

基本上,o係擠迫既地鐵車廂內,被人摸pat pat掃大脾擦胸邊都係一般女生「司空見慣」既事。

今日,我又領教左一種新奇既非禮手法。

話說我握住地鐵車廂中央既扶手較低位置,一名男子同時亦都握住扶手,慢慢將佢既下半身貼

Cake – 寫 PHP 化煩為簡

cake

Cake 是一個 PHP 的 Web Framework,他的設計理念自越來越熱門的 Ruby on Rails ,不過用了 PHP 來實作。如果大家參看一下其 Demo ,就知道一樣也是 Conventions over Configurations 的概念,讓 Web Framework 替你做好大部份煩人的設定工作,而令開發者可以直接地寫 Business Logic。程式碼也不過只是


模擬器

nes01

del.icio.us 上找到了一個叫 Abandonia 的網站,裏面收錄很多 Abandonware 遊戲。什麼是 Abandonware 呢?從字面上來解就是「被放棄了的軟件」,被放棄的意思,是指這些軟件都已經沒有得賣,又或者不再被版權擁有者所支援了。在 Abandonia 上,有很多不同類型


An open letter to free webmail providers

Dear free webmail providers: I have a simple request for you that willhelp the spam problem. Please stop allowing people to send out mailthrough your systems from IP addresses that are well known as heavyspam sources , especially of things such as advance fee fraud.

I got yet another '419' advance fee fraud spam today, sent through afree webmail provider. Selected headers are:

Received: from dbmail-mx1.orcon.net.nz ([219.88.2

An unchanging system should be stable

One of my principles of system administration is an unchanging systemshould be stable . Stable means more than 'doesn't crash', it means'doesn't need to be fiddled with all the time'; no hand-holding, nocleaning up afterwards. It means a system that can be left to runquietly in the corner.

This does mean that you have to make it so that ordinary things can'tcause the system to explode. The two big ones are making sure thatsystem logs don


A real use for staticmethod

In Python, all method functions normally get called with the object astheir first argument. New-style classes can specify that some methodsshould instead be 'static' methods: they don't receive the object asone of their arguments.

On the face of it this is a bit peculiar. Given that Python hasordinary (module-level) functions, why would you ever want to design astaticmethod instead (apart from misplaced object-oriented purity)?

What I use static methods for is as a way