One of Python 3's fundamental problems on Unix

Here is a thesis that I have been mulling over lately:

One of Python 3's fundamental problems is that it is trying very hardto pretend that Unix is fundamentally a Unicode operating system, sothat Python itself can be Unicode-based while still working on Unix. Theproblem with this is that it is demonstrably false, as seen in the os.listdir() problem ; Unix is fundamentally a'bytecode strings' environment, and attempts to pretend otherwise canrun into problems any time that this pretense runs


Certificate authorities seem to be a real weakness in SSL

My main reaction to recent events is that theyshow how certificate authorities are one of the real practical weaknessesin SSL. All of the theoretical security in the world can be triviallythrown away by shoddy practices on the part of a single trusted certificateauthority, and we've recently seen not one but two such CAs exposed.

The case of the improperly issued mozilla.com certificate is a clear-cut procedural failure, either failing to vet yourresellers or failing to properly vet a signing request or, for thatmatter


亞視藝員向長者派米三百包


文匯報



【本報訊】面對經濟持續不景氣,亞視藝員昨日去西九龍中心送贈三百包白米予長者,《生活著數台》副台長韓君婷、袁彌明率領「著數女郎」黃倩婷、吳嘉星及何卓瑩和劉錫賢一同派米(見圖),大批長者早於深夜時分


2008年

08年最後一天,有些事很想忘記,有些事不能忘懷,有光榮的時刻,也有難過的時候,讓我們來回顧一下這一年的點點滴滴吧。

你記得年初的雪災嗎?雪災之中有很多感人的故事,沒多久,一批疑似藝人的疑似交歡照片就把大

ZFS and crazy dates

Recently, some backups on our new Solaris x86 fileservers started failing with (GNU) tar reportingerrors about:

Warning: Cannot stat: Value too large for defined data type

More alarmingly, even ls on the Solaris fileserver would reportthis (as an error). Fortunately, I remembered a recent discussion on the ZFS mailing list about this, to the effect that if you are usingNFS, it turns out to be possible to create files with 'impossible'timestamps. Inspection showed that this was indeed the


what kind of posture is that?


08個人回顧

2008年真的非常特別。

特別在世界大環境混亂古怪,我個人的際遇亦十分離奇。

大環境的回顧,我寫了在明天澳門日報的專欄中,今日只談個人感想。

2008年,過得比之前都艱難,工作上付出過很多,以為做出了創舉,

Lady First 專欄 (25-26)

關 於 內 疚


你與他在夜店認識。

他與數位同事坐在沙發上講公司是非評論對面檯的長腿女生。

他們在喝Whisky Soda。

Soda喝光了,他別過頭想叫人拿另一瓶過來。

他看到了站在吧檯的你。

他不由自主的站起來,走向你身旁。

三星期後,你正

穿過大潭,再行到深水灣。


Continue reading...

An advantage of doing test driven development

I have mixed feelings about 'test driven development' (and I can'tclaim I've done much of it, especially not with rigor), but one subtleadvantage of it has come through clearly even in my limited use of it:you actually start using your code's interface before you freeze it.This is important because actually using things remains by far the bestway to refine their design in computer science.

Usually I started out with a general idea of what function calls andmethods and so