Report Card

I talked earlier about resetting my thermostat during university days. But it was before my primary school graduation when I realized for the first time in my life that I was capable of pressing the amazing reset button.

Looking back on my primary school days, I don't recall much except my mediocre academic performance; I just know I always ranked more than ten in my class. At any rate, I remembered the soccer league tables far better than what the teachers said during the class.

Then one afternoon in my final

兩個不快樂的哲學家

我有個哲學家朋友(哲學家甲)因為論文屢次不被學術期刊接納,覺得很失意;眼見有些朋友年年有論文刊登,他更不是味兒。我不知道他的生活整體上是否快樂,但在學術發展方面,他顯然是不快樂的。

我另有一個哲學家朋友

Reset

Needless to say, nephrologists talk a lot about the blood's salt or sodium content. We teach our medical students that kidneys help to keep our body's solute (composed primarily of sodium) concentration or so-called osmolality within a narrow range. No more, no less. It would be hard to imagine how nature works it out to keep everything in such a fine balance.

Now. Maybe you think our body is too unwieldy or rigid to operate only within a narrow range of osmolality. "Why

A Python safety tip: Do notice that things can throw exceptions

Recently, I discovered and fixed a long-standing bug in DWiki . Thebug itself was simple, but typical of a certain kind of error thatI keep making in Python: I had forgotten that the Cookie module could throw an exception,so I didn't catch it.

(Well, my general error code logged it, but I mean DWiki itself didn't catch it and do anything sensible; in this case,either ignoring the broken HTTP cookie header or perhaps reporting asecurity error.)

This


沒有「身段」,何來「放下」?

上次對政府有種「氣數已盡」的感覺,是董建華腳痛的時候。後來他的腳實在痛得受不了,香港就開始有運行。

當年的民怨,從「八萬五」累積至沙士,來到反《二十三條》終於給你一鋪清袋。那次遊行從維園開始,直至來到金

戒癮

戒癮

都說我是嚴母。

你還未滿六個月,我就要你戒奶嘴。

當初是我把奶嘴放你口,然後你沒了奶嘴就睡不穩,夜裏起來n次,就為了掉了奶嘴。我按捺不住,非要你戒掉不可。爸爸說你還那麼小,含奶嘴不外乎為了安全感,現在
Continue reading...

享受生活

享受生活

朋友年屆四十,初為人父。

我問感受如何。

朋友說,他覺得無比自豪。往後,他要好好地生活下去,看女兒長大,與她分享更多。

認識朋友是因讀書的關係,那時他是一位每星期六天,每天工作十四小時的燒焊工人。月
Continue reading...

明白和體會

舉凡需要實踐的道理,都是不能單靠知性上的了解而完全掌握的。聽了某個道理,你可以說你立刻明白了,但問題是這種明白是抽象的、片面的,不足以令你知道那道理在實踐時是怎麼一回事,也不能讓你預計到在不同的情況下

Welcome to Fight Club

Welcome to Fight Club. The first rule of Fight Club is: you do not talk about Fight Club. The second rule of Fight Club is: you DO NOT talk about Fight Club! Third rule of Fight Club: if someone yells "stop!", goes limp, or taps out, the fight is over. Fourth rule: only two guys to a fight. Fifth rule: one fight at a time, fellas. Sixth rule: the fights are bare knuckle. No shirt, no shoes, no

Three ways to get tracebacks in your CGI Python application

There are at least four ways to get Python tracebacks in your CGI orweb-app in case something goes wrong; the easy but wrong way, the moreor less right but inconvenient way, the flawed way, and the good way.

The easy but wrong way is ' import cgitb; cgitb.enable() '. Thereason this is the wrong way (except when you yourself are developingyour program) is that this dumps error tracebacks on the usersof your application. Ignoring any information disclosure issues,