Weekly spam summary on June 24th, 2006

This week, we:

  • got 13,681 messages from 253 different IP addresses.
  • handled 18,870 sessions from 835 different IP addresses.
  • received 303,478 connections from at least 47,309 different IPaddresses.
  • hit a highwater of 7 connections being checked at once.

Connection volume is majorly up from last week ; other numbers are up slightly,except the highwater (which is down). The per day table:

Day

我有兩個blog

接受了電視台的訪問
問題簡單
幾分鐘就說完了

其中一個問題是問我為什麼要有兩個blog
記者指的大概是我在PC home開的另一個寂然世界
其實一直也沒有說明為什麼要有兩個地方
趁此機會解釋一下

我在2002年開始在明日報(PC home新

有誰共鳴

有一天比預期的時間更早起床
聽商台早上的有誰共鳴節目
這節目會邀請一些嘉賓播其心愛的歌
然後呼籲聽眾發短訊捐助慈善機構
可惜播放時間太早
我很少聽到

這日無意中聽到的一集嘉賓是張國強先生
他播了一首以前在“430穿

現在幾點鐘﹖ (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》講政治、《不瘦降之迷》講快餐與痴肥等等,都是揭露一些社會現象,指出不公平的地方。但最近上映的《我和茱茱有個約會》取材,不是甚麼驚天地


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 不應該