記錄片有很多種不同的題材,很多時都會取一些比較嚴的,如《華氏911》講政治、《不瘦降之迷》講快餐與痴肥等等,都是揭露一些社會現象,指出不公平的地方。但最近上映的《我和茱茱有個約會》取材,不是甚麼驚天地
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
與朋友睇波什麼都好,除了我的腳頭。
世界盃鵝頸橋風沉船服務
任何人仕,若有希望特別針對之球隊,可以付予鄙人適量金錢,鄙人即提供「睇直播、捧該球隊」之服務。鄙人睇直播所捧之球隊必定失魂落魄、回天乏
祈禱:七一之前,七一之前
該網主話七日內刪除!所謂欲免向隅
我希望就算有天我真的重逾
(那個網頁的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
20060622網摘 – 墮落傳媒
Media
- 墮落傳媒還是墮落家庭? Quote: 傳媒墮落至此已經無話可說,可是一個在場監督的所為愛心媽媽竟然會讓自己的女兒拍下如此一輯露骨相片,真令人狐疑,造成今天這樣風氣敗壞的香港,究竟是墮落傳媒還是墮落家庭?
- CREAM 不應該