出中國記


前日買了康正果的《出中國記:我的反動自述》,讀了幾章,追溯歷史,對照現實,大有感慨。

這本自傳開篇寫四九年共產黨入西安城,作者的父親是知識份子,祖父是佛教領袖,新政府首先沒有打壓這些舊時人物,還委任作者

A Python length gotcha

Python calls the __len__ method on your objects to implement len() , and in a few other situations (for example, as one way ofiterating through the elements of a sequence-likeobject). Surprisingly, there's an under-documented restriction on whatyour __len__ can return: objects can't be larger than sys.maxint .

In fact, it's stricter than that: your __len__ method must returna literal integer. You


without linkage

不是這樣的。反省和檢討不是這樣的,回應和討論不是這樣的。次貨。還有,更為嚴重,的:佔據一個完全訴諸良心自我監察的位置,然後扭曲事實夾槍帶棒以報私仇——那些不是批判,我不明白為何有人會分不出其中差異。我

時間

被搶先。

雖然明顯不是海子最好的詩,但我想不同的人都被「面朝大海,春暖花開」這個押韻句意象感動過。吐氣的開口音佔絕對多數,配合著開闊的意象——一個人叉著腰在金黃的早晨大喊那樣,而音節、聲音(而非文字)尤

剪舊

突然在網上看到一篇陳惜姿收山後客串的 訪問 ,訪問許仕仁的。well,有一點點避重就輕並給許臉上貼金,尤其節錄版;但其中高手的機鋒偶露,因此而更如寒芒微閃,之奪目。

這不是最精彩的一段,但短,適合分析:「只求完成

盛事

有個人,BLOGGING。而好像連直接提起都怕驚動了。
我一面撇咀道好巴閉咩,一面把聲音調低腳步放輕。

A portability gotcha with accept()

Today's excitement came from trying to bring a local network daemonfrontend up and running on a FreeBSD machine. It would spawn programswhen you connected to it, but they always exited immediately afterthey printed their greeting banner; it was as if they were seeing animmediate end of file.

FreeBSD's ktrace revealed that when the spawned programs went toread from standard input, they got an EAGAIN result. Fortunately I'vestubbed my toe on this one before: this is the exact symptom of yourstandard


讀網誌


我出身市井,對於報章文字,慣性稱呼為“吠”,評論也好,抒情也罷,總之比我大聲,訊息傳得夠遠,就是吠。澳門街的吠聲,水準不一,有時吠得好,夠中氣;有時吠得人反感,添煩添亂。
寫了這個專欄,並不自高自大,想

Intel

The economics of CPU performance

Recently, Intel and AMD have been telling everyone who would listenthat single CPU performance is more or less all tapped out, and thatfuture improvements would come from various multi-* developments;multi-core, multi-processor, and so on. Ominous pronouncements haveemerged about how programmers need to bite the bullet and move to(highly) concurrent programming if they want their gravy train tocontinue.

When reading this sort of news coverage, it's worthwhile to rememberwhat sells CPUs and software. Namely:


鏡住

本blog則常有人叫鄙人落地d、寫淺d。難得有文章明白的許寶強險險拉到了有關問題,一定要貼出來,借位鳴冤。

許寶強﹕〈為何知識型經濟那麼反智〉

統計處最近發表了《香港——知識型經濟統計透視2005》,本地傳媒抽