現在幾點鐘﹖ (Rhythms of Life)

讀完了一段時間,但沒時間介紹的書﹕
現在幾點鐘﹖—麻雀、黃金鼠以及所有生物都知道的事 》( 時報悅讀網 )
除了因為忙,還因為這本書的程度比較高。既然我不會向學生做推介,也就不會在學期中花時間來寫文章了。
已經

A problem with signals in Python

As a followup to what I wrote yesterday about prompt signal handlingin programs , it's worthwhile to pointout a little problem in Python with signal handling.

As I've noted before , Python normally turnsmany signals into exceptions. It turns out that this has an importantconsequence: it delays processing of signals , because Python onlyprocesses signal exceptions in the interpreter, ie when you're runningPython bytecodes.

(Contrary to the documentation, sys.setcheckinterval does not appearto control how often signal handlers are


與朋友睇波什麼都好,除了我的腳頭。

南韓出局,世界盃正式終結,本人投入全職活動:

世界盃鵝頸橋風沉船服務

任何人仕,若有希望特別針對之球隊,可以付予鄙人適量金錢,鄙人即提供「睇直播、捧該球隊」之服務。鄙人睇直播所捧之球隊必定失魂落魄、回天乏

我和茱茱有個約會 – 只要有夢想

Photobucket - Video and Image Hosting

記錄片有很多種不同的題材,很多時都會取一些比較嚴的,如《華氏911》講政治、《不瘦降之迷》講快餐與痴肥等等,都是揭露一些社會現象,指出不公平的地方。但最近上映的《我和茱茱有個約會》取材,不是甚麼驚天地


祈禱:七一之前,七一之前










快點印好,快點印好
(今期更好了,我覺得。)






特集.惡
游靜.洪凌.李智良.王貽興

十字街頭:梁國雄.林藹雲.葉愛蓮.波仔

字花花:
Voodoo Voodoo


書寫的人
駱以軍:寫小說是 當流浪漢和黑道人物
植字
變壞:淮遠.樊善標.謝曉虹.


該網主話七日內刪除!所謂欲免向隅

一段抬頭所謂給我的道歉,我卻是第三者「她」。那麼只是表示了,敘述者的說話對象,根本不是我吧。

我希望就算有天我真的重逾 200 ,都是一個出手迅辣的暴走型 200


(那個網頁的layout不錯,但留言的字數限制太高

Respecting Unix signals

There is a certain class of program that decides it knows better thanyou about when you should be able to stop its operation. The mostirritating way to do this is to catch ^C (and even ^\); such programswin a modest prize from me, usually awarded with 'kill -9'.

Yes, some operations are dangerous if interrupted half-way through andprograms need to protect themselves against them. Short operations. Itis very rare that a program needs to block signals for very long


不與別人說相同的話/不討論命運和機遇/存在於過往的未來/細節中互相推翻的真實——失敗者萬歲。


訪問作為博客

前天收到電視台一位李小姐的電郵
她說看了我這個BLOG幾有意思
於是問我有沒有興趣接受她正在籌備的
一個關於澳門人寫BLOG的專訪

因為看來也幾好玩
我也就答應了
本來李小姐說其他受訪者都在家中接受訪問
我怕自己的家太寒酸失禮

An extreme example of C preprocessor (ab)use

A while back, thedailywtf.com ran this entry onC preprocessor abuse. Unfortunately (and in fact as noted in thecomments), this is nothing to the true devotee of turning C into adifferent language.

This preprocessor trail was blazed early on, in the V7 Bourne shell,written by Steve Bourne. The story goes that Bourne didn't really likeC all that much, and instead much preferred Algol. Armed with the newC preprocessor he saw the opportunity to fix this problem and createdwhat