A basic principle of system design

I've mentioned this in passing before, but I should be explicit at leastonce. Here is a very basic principle of designing systems that realpeople will use:

The people that benefit should be doing the work .

Okay, there is one exception: the people getting the benefit can payfor the work instead of doing it directly.

You design systems that violate this principle at your peril, becausegenerally it doesn't work in the long run. You'd think that thisprinciple would be obvious,


後二的世代(排球文章續完!)

什麼時候最不想做香港人?每次看過女排被旁述激心到要站在窗前生悶氣,就忍不住想,如果我生在大陸或台灣,都大概可以有好一點的旁述,「就算是禽獸,難道就不能有生存的權利嗎?」一個排球迷處在香港,就只能苟且偷

20071002 網摘 – 超合金魂

超合金魂

Blog

War

Subtitle


A gotcha with 'bidirectional' pipes to commands

By bidirectional pipes I mean a situation where you start a subordinateprogram and both write to its standard input and read from its standardoutput. There are a fair number of programs that are programmed like thefollowing pseudo-code:

to, from = pipecmd("subprogram", "rw")write(to, stuff)reply = read(from)

People write these programs, test them a bit, start using them, havethem work, and then one day wake up to discover that their program has


推介:他用鏡頭攝下澳門人的靈魂

事情不會無緣無故發生
人們不會無緣無故齊心
大家都知道這地方病了
請各位好好關心新情況

介紹一位藝術工作者拍下 10月1日遊行的照片
他鏡頭下的澳門人
無論是遊行人士還是維持秩序的警員
都有一種深沉的力量
你看看
他們的

不說話,只聽歌

連續幾日假期都在工作
實在苦悶到極點
澳門的新聞日新月異
已經到了令人充滿擔憂的地步
看了今日的新聞更是感慨萬千
想起好多年前U2的 one

Is it getting better
Or do you feel the same
Will it make it easier on you now
You got someone to blame
You say...

One love
One life
When it's one need

How Exim determines the retry time for local deliveries

The Exim documentation is a little silent on howExim determines the retry time for local deliveries. Since I spent todaylooking into this, I might as well write up what I've learned.

Exim's retry rules are based on matching patterns against 'the failinghost or address' (as the documentation puts it); call this the retrykey. For local deliveries, it turns out that the retry key is the fulladdress (including any local part prefixes or suffixes) that is handedto the transport


Weekly spam summary on September 29th, 2007

This week, we:

  • got 11,909 messages from 265 different IP addresses.
  • handled 26,934 sessions from 2,995 different IP addresses.
  • received 297,885 connections from at least 101,029 different IPaddresses.
  • hit a highwater of 16 connections being checked at once.

Volume is a bit up from last week . Lookingat the numbers I am reminded of how striking the number of differentIP addresses is


Understanding Exim's weird way of doing retries

First, some terminology. A top level address is an address that amessage starts out being sent to; for example, every (accepted) RCPTTO in SMTP creates a top level address for the message. A destination is a place that a message is ultimately going to be delivered to, andmay include things like files. A top level address may turn into morethan one destination through means like .forward files, aliases, andmailing list files. At a conceptual level, all MTAs have two main jobs


性格決定命運

性格決定命運


我戴上太陽眼鏡,翻起衣領,趁沒人看見,飛快閃進後巷找盲公陳。

任何人突然做出算命、信教、加入法輪功之類的行為,往往是因為人生出現了某種危機。是的,我最近的確遇上了一點麻煩。我Daisy天不怕地不怕,