新Monday專欄 - 接機7件事/我的梳妝檯

From for blog



Continue reading...

爭氣再爭氣-吳文源


爭氣再爭氣-朱焯信


我懷疑所有機場都討厭我的背囊


終於到達北京

辦妥入境手續,再多四小時的機程後,我回到香港了!用 e道極速過關後,我在行李帶附近等了一圈又一圈又一圈又一圈又一圈又一圈又一圈……依舊看不到我的背囊。 雖然心底已預期到很多很壞的可能,但我仍抱

點驚,都唔恐怖得過巧遇小強。

Continue reading...

認住呢隻貓


有朋友在Facebook錯認像埃及貓的Ding Ding是蜜柑, 仲問點解蜜柑先生瘦左咁多! 表面上兩隻貓係有少許相似, 其實大有不同.


Continue reading...

西伯利亞之行前傳

幹嘛第一次去旅行就選擇一個人跑去那鳥不生蛋的西伯利亞?

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

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