顛倒

體質敏感,一杯檸茶加速心跳;同時精神控制力驚人,身體又會自動反彈,永遠不會OD。

現時對刺激品反應如下:

抽煙睡覺
喝咖啡頭暈
喝了酒,不但堅持辯論理論與路線問題,還寫文,還失眠至早上十時。


快樂時沉默,悲傷時茫

機械,或者浪漫

(週二明報自尋短見)


電視作為一種操控大眾思想的媒介早已被罵透,香港還有慣視收視的詛 咒導致單元化;翻煲《大時代》,都不禁驚嘆:勁!激 !賈樟柯稱港劇在八、九十年代席捲中國,在政治主旋律外模塑了活潑 草莽的民


從心所愛《Dil Se...》


如果你看了《Om Shanti Om》而愛上Shah Rukh Khan的話, 《Dil Se...》(1998) 絕對不可不看.

Amar (Shah Rukh Khan) 是個電台記者, 為了採訪印度獨立50年, 特意走到北印邊境. 途中認識了神秘的Meghna ( Manisha Koirala ) . 她柔弱的外表與固執的性格使
Continue reading...

A simple Python class to trace access to object attributes

Every now and then I run into a situation where I want to know whatattributes on an object are getting accessed when. Fortunately it'spretty easy to knock together something to do this, in a variant onthe mutating proxy pattern .

Here is a sample implementation, as a Tracer class:

def _repon(obj, n):  return (not obj._t_il) or \         (n in obj._t_il)class Tracer(object):  def __init_

20080401 網摘 — Arthur C. Clarke

Mother-tongue

  • 不重思考何須母語教學? Quote: 因為香港並不需要真正會思考的人,香港只是一個意外誕下的混血兒,要混血兒談自己的文化是很為難的,香港只需繼續做生意,繼續追求表面和即食的文化,便足夠
  • Crazy-ia world city 3 Quote: 「學英

衝破心理關口三部曲

1. 在巴士上化妝

2. 在車站貼假眼睫毛

3. 在港鐵車廂內塗雙眼皮膠水再叉著眼皮三十秒



真係... ... 我都唔明點解我可以咁癲。

怒從心上起

今日看到徐悲鴻晚年入室弟子中國油畫大師龐均, 在港街頭寫生被趕的報導 ,怒從心上起。藝術家在香港就被當成乞丐或阻街犯人,這不只是市場什麼的問題,根本就是民智未開般嚇人的管理主義,一個過度管理的城市談什麼創

《如果愛‧在寶萊塢》(Om Shanti Om)


在文化中心的位置大銀幕上看到Shah Rukh Khan, 簡直是歷史性時刻!

4 年前開始看印度Bollywood電影, 由一無所知到今日啷啷上口, 班門弄斧. 雖知電影節多年來沒有再引進印度電影, 但本地觀眾不認識Bollywood, 令人遺憾. 電影節差不多是唯一能

The quote of the time interval, on XML

From an article by Henri Sivonen :

Draconian error handling creates an unstable equilibrium in GameTheory terms—it only lasts until one player breaks therule. One non-Draconian XML5 implementation in a key client productand the Draconian XML ranks would break.

(Discovered through Mark Pilgrim ,specifically his firehose .)

Applications to XHTML are left as an exercise for the reader.


Keeping secrets as a system administrator

There are two sorts of secrets in the world: known secrets and unknownsecrets.

A known secret is something that people already know exists; forexample, your root password is a known secret. Keeping a known secretis simple: you just don't tell people your root password. You haveto guard known secrets against inadvertent disclosure (it's alwaysembarrassing to type your root password into the wrong window), butthat's mostly it.

(I am ignoring the possibility of deliberate attacks against the