如有需要...


Photo
Originally uploaded by chi_hung .

假如你是座輪椅的,有日在行商場時好急好急,需要去小小或便便.但當你搵到個廁所時見到廁所門上寫著這些字,你會如何? 我? 第一時間一定係講粗口的!

這種情況其實在我的輪椅朋友來說,是經常出現的

吃豬肉的豬

廣告時間
蘇小豬終於開blog大吉了

吃豬肉的豬
https://blog.yam.com/sopigso

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