西伯利亞之行前傳
二零零九年的七月,我在網絡上接觸了VolTra(https://www.voltra.org),一個非政府的義工組織(NGO)。我覺得他們提倡一邊旅遊一邊做義工的國際工作營理念很特別,然

The IO scheduler improvements I saw
In the spirit of sharing actual numbers and details for things that I lefta bit unclear in an earlier entry , here is more:
First, we switched to the deadline IO scheduler (from the default cfq ). I did brief tests with the noop scheduler and found itbasically no different from deadline for my test setup, and deadline may have some advantages for us with more realistic IO loads.
My IO tests were sequential read and write IO, performed directlyon a test fileserver , which usesa single iSCSI backend
How to deprecate bits of your program
Since this appears necessary , here is how todeprecate some bit of your program in a way that makes sysadmins hateyou as little as possible.
- first, add a warning to your documentation and a 'compatibilityswitch' that causes your program to use the old behavior that youare deprecating. Of course, the compatibility switch currently doesnothing since the old behavior is the current behavior, but nowyou've let people start explicitly specifying that they need theold behavior.
If you are changing the behavior of your program
Some more thinking about requirements in specifications
Aristotle Pagaltzis 's comment on my previous entry prodded me into doing somemore thinking about this, and his entry on RFC 2119 usage has persuaded me that thereare actually four degrees of requirements that it's useful toput into specifications.
Put simply, I'd say that they are:
- allowed: you can do this, and some people will (so be prepared to copewith it).
- recommended: we think that you should do this.
- should: not doing this causes problems for
不太完美的句號
Forgetful
The article teaches us to ask if the forgetful patient is paying his bills. Does he forget his way and get lost? A quick assessment of the severity of cognitive impairment, I was told, should include orientation to place, recall of three items and general knowledge such as news headlines. And something like that.
"Oops, are they talking
Lady First 專欄(58)
七月蘋果 (2009)
「由七月一日凌晨起,全港超過一千三百間娛樂場所,包括酒吧、會所、夜總會等,須即時執行室內禁煙條例,實施全面禁煙……」一看到「酒吧」兩字,媽媽不得了,立時仰天長嘆,眼角湧出兩滴淚水,酒吧內不