最近留連 Pandora ,「培養」了一個我稱為 Michael Crawford 的 Station (因為我逢見到 Michael Crawford (下稱 MC) 的我也會「舉手指」評分)。結果當然是累積了不少 Vocal harmony 類的歌手。除了 Michael Crawford 外,也經常「抽中」Michael Ball (下稱 MB) 的歌。兩個 Michael 兩種聲,其中最大的分
誠徵 X'mas partner (revised version)
公司安排了我這顆寂寞芳心23-27號留在香港,那唯一可以做的,就是寫下這篇你正在看的blog。
總覺得傷心就像感冒一樣,吃藥過後,三兩天便會康復。當然,一星期後又可以被人惹病了。
然而,寂寞呢,就像咳嗽。
A limitation of OpenBSD bridging NAT firewalls
We put a new SMTP frontend machine in front of our core mail servertoday to handle incoming email from the outside world (for the usualreasons: dealing with spam better, shielding the core server fromsix zillion zombies all trying to talk to it at once, etc).
Rather than wait for updated MX entries for all our domains to propagatearound and for people to switch to them, we figured we could speed upthe process by having our bridging firewall send connections for the coreserver's port 25
希望大家支持
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 之所以走紅,很大一部份的原因是使用者幾乎把各種素材都當作公共領域在利用,不經太多思考就取用,也不怎麼在意如此生產的成果會如何再同樣地被使用