20060310網摘 – 保護我們的山城

雖然死了機,但網還是繼續摘~

新新服務


Server 死 Hardisk

大家好,我是網絡暴民 Jacky!

有來我的 Blog 的 原址 的話,就會發現「There is no website configured at this address.」。而事實上,據我了解,是 Hosting 公司裏的 server 死了 Hardisk。

Hosting 公司本身應該有做每日備份的,弟今天打電話到 Hosting 公司裏問他們,原來他們已經拿備份來


Closures versus classes for capturing state

Possibly like a lot of other people, I have a 'thread pool' Pythonmodule for doing decoupled asynchronous queries of things. The basic interface looks like this:

wp = WorkPool(HOWMANY)for w in what:  wp.enqueue(wrap_up(w))wp.waitDone()res = wp.getanswers()

The important operation is .enqueue( ) , which queues up to be called in a worker thread; its return value is saved, tobe


Making things simple for busy webmasters

It's always nice when people's software saves me from having to wonderif they're up to no good by handing out obvious signs of it. Take, forexample, the spate of people whose web crawling software advertisesitself by having the User-Agent string of:

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Evidently no one told them not to stutter. (There are a couple ofvariations in what they claim to


Thinking about project failures

Via a link from MiniMsft 's latest entry ,I wound up reading this item on hiring people. In it I hit an interviewer question I realized that Iprobably wouldn't pass:

6. I will ask you in an interview to describe a project you worked onor effort you made that failed - partially, completely, and miserablyare all OK for response fodder. If you've worked for a substantiallength of time in IT, you've been part of at least one of theseturkeys.


消失的中介

「我的話也並無效力,如箭之入大海。我覺得從此我不再有什麼話要說。」
——魯迅,〈答有桓先生〉。

(真係夠膽死日日update喎我)

樂評呢d野,邊到我玩丫。
正所謂一雞死一雞鳴,上呀野君!

打小人


昨日驚蟄,澳門有一群婦女在街上打小人。

這是我近年來最想參與的一項運動,如果驚蟄的傳統打小人可以延伸到讓我們把身邊的小人都揪出來“打一鑊”,那就真的大快人心,促進特區和諧,更能減低這個城市無日無之的小人

A modular approach to Apache configuration

The traditional way to configure Apache is to take the httpd.conf file shipped with your distribution and start changing it to your localneeds; for example, so that the DocumentRoot and ServerName are right.This is simple and attractive, until you have to upgrade.

The big problem with this approach is that httpd.conf has two sortsof settings; it mixes together settings that you want to customize,like DocumentRoot, with Apache internal things, like AddLanguage andAddCharset. With them all jumbled together, upgrading can be


斷背山的偷情男男

brokeback

最近熱門話題之一《斷背山》,在奧斯卡得到最佳導演、改編劇本和原創音樂三個?,並沒有得到最佳電影,可不可惜?我不知道,因為其他電影我還未看過,不知道《Crash》是否真的比其出色。但總觀整個「斷背熱」,其實炒作