西伯利亞之行前傳

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

二零零九年的七月,我在網絡上接觸了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

不太完美的句號



我在清早五時就起床,camp leader也一併起床,說要送我機。我說不用了,老實說,我老早就把 Stolby 那日的事情放下了,但她以為我還在生氣,其實我只是不想她奔走太多。原來法國女生也靜靜的起床了,跟她們道別後,我便上了仆街男
Continue reading...

Forgetful

I was reading a short medical review about memory problems in older people. There are, I suppose, good tips for doctors who often come across patients with memory loss.

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)

《 給 Mr. A 的 一 封 信 》


今晚,我想將呢節《飛女正傳》既時間,送俾一個男人—— Mr. A。

同佢認識咗好幾年,後來漸漸再冇聯絡。

早排,偶然又再遇到佢。

初初認識Mr. A既時候,我冇愛上佢,但的確曾經對佢有過憧憬。

不過

夜貓子

Ding Ding終於肯出洞...只限午夜. 在書房左望右望一輪, 開始午夜冒險之旅, 在屋內團圓轉. 蜜柑在睡房, 否則她不會自願出來.



Continue reading...

七月蘋果 (2009)

《 煙 不 離 酒 》


「由七月一日凌晨起,全港超過一千三百間娛樂場所,包括酒吧、會所、夜總會等,須即時執行室內禁煙條例,實施全面禁煙……」一看到「酒吧」兩字,媽媽不得了,立時仰天長嘆,眼角湧出兩滴淚水,酒吧內不

MUST versus SHOULD in your specifications

Something I've been mulling over lately is the the effects of A rulefor Internet software on specifications and how strongyou make requirements in them.

To put it one way: a 'MUST' in a specification makes a handy club tobeat people with, but perhaps they are best reserved for things thatare absolutely required in order to make the protocol work, becausein practice that is what is going to happen anyways.

(Note that a MUST often does not make an effective club, because ifit doesn