How libraries should handle internal warning messages

The GTK libraries have a problem; using them is evidently complicatedenough that programmers can commit errors that don't crash the program(partly because GTK can detect them). The people writing the GTKlibraries decided that they wanted programmers to be aware of theseproblems, so they'd print warning messages every time they happened.

I sympathize with the GTK people, because this is a hard problem. Youcan't detect these problems at compile time or link time, andthey're not severe enough to


戲中戲(十三)

早上七點半,阿B步出家門。雀仔園街市的早晨雖然熱鬧,卻已失去昔日的生氣。阿B家門外那三數個菜檔已經數易其主,彼此都視對方為陌生人,每天早上他都會在這些菜檔前急步走過。

然後,他經過雀仔園內最繁忙的街道,

戲中戲(十二)

本土電影《哭的過程》雖然有導演投下的大筆資金,也在香港和韓國的影展交流活動中放映過有限的場次,但最終並未能排上商業戲院放映,在本澳也只能在一年一度的電影節公映了幾場,既沒有得到一致讚賞的口碑,票房亦主

戲中戲(十一)

“導演,這場二十分鐘的戲,你只寫了一個‘哭’字,難道真的要一直哭一直哭嗎?我怕我哭不出來呀!”

“為什麼會哭不出來呢?之前的劇情說你的爸爸媽媽都死了,你妳暗戀多年的馮婉君也去了外國,可能你永遠都不會再見

戲中戲(十)

阿B永遠不能忘記步入張佩詩的家時,那種驚訝,那種羨慕,那種真正發現自己有多麼貧窮的自卑感。

在這個位於南灣澳督府旁邊的向海單位內,張佩詩熱情地招呼著同一個排練小組的同學。在整個排練過程中,阿B都心神恍惚

戲中戲(九)

晚上十二點的雀仔園,橫街窄巷沒有了日間的繁囂。

還有三日,我們就把要拍的戲份都拍完了。

經過十幾日的相處,本來互不熟識的工作人員都磨合出一定的默契,他們之中有些已經成為好朋友。

他們還開玩笑的流傳著男女主角

戲中戲(八)

上了中學之後,阿B的性格變得有點古怪,他可以一星期不講話,也不像其他青少年一般喜歡看電視或者參加群體活動,每天晚上他默默坐在窗邊窺看褔德祠和雀仔園街市的眾生相,有一段時間他媽媽也著實擔心他的精神有問題

Light Bulb

I bragged about my carefree way of living in my last blog. This is a guilty pleasure, I admit.

Confession time. For years, I have not the foggiest idea of what my shirt size or shoe size is. I wrote my birthday wrongly throughout my teens. After all these years, I have been mixing up the hot water tap and cold water tap until I ended up burning my hands with boiling water - each time.

Not that I love Mr. Perfect less, but that I like Mr.

An outline of a possibly easier IPv4 to IPv6 transition

While an idealized IPv4 to IPv6 transition (one where IPv6 iscompletely backwards compatible with the IPv4 network) is impossible , it's possible that IPv6 could have done somethings differently to make the transition easier. The outline of thetheoretical easier transition goes like this.

First, you officially embed the IPv4 address space into the IPv6 addressspace, so that every IPv4 address is a valid IPv6 address inside aknown area of the IPv6 space. You also need to


Why Roving Thoughts

In theory, when I started writing WanderingThoughts it was going tobe for anything that I wanted to write about. In practice, it rapidlydeveloped into what I've called a techblog, a blog for writing abouttechnical computer stuff, and no longer felt like an appropriate placeto write about other topics.

(I've admired people who mixed topics in their blogs, and I think ingeneral it's a good thing, but I just couldn't bring myself to do it.)

But I