I love You All

給你們:

請原諒我這慵懶的女人。

到了今天,才發現不曾對關心我的網友們,說一聲多謝。

今天晚上,朋友說看到她的同事瀏覽我這個行李篋;自己也曾在機場巴士車廂中,一邊化妝一邊聽著後座乘客討論我的blog。

嗯... ..

Another issue with C's volatile

I think that part of the issue with volatile is that it can beused for at least three different things:

  1. stuff that can change behind the compiler's back (eg flags set ina signal handler), where mostly you need the compiler to not cachevalues loaded from volatile variables.
  2. hardware registers, where reads and writes have side effects, soyou need the compiler to do all loads, even apparently pointlessones (as John Mashey and MIPS found out in the early ages ofoptimizing compilers being used on

帶凳的觀眾

皇后碼頭下星期 黃金三招

第一招: 天星、皇后、大會堂建築群導賞團
一月十一日﹝星期四﹞日間、時間待定。
帶團人:葉蔭聰﹝他說上次預備得唔好,呢幾日特登潛去台灣秘密練兵,大家拭目以待﹞

第二招: 讀城市的書:「

扮成回顧殺時間

(文章還是寫不完。想死。又嘔一轉。再寫無聊野。)

圖為台灣寄來之現在詩四.大字報。嘿嘿嘿大家都知為什麼我要把照片貼出來!字跡!那個龍字!

今年算是粉絲年,以至有人跟我說「粉絲這個音譯可唔可以唔好出咁多呢」

Fixing up .rpmnew files

For some reason, rpm in Fedora Core 6 (and I believe Fedora Core 5 too)has become overly twitchy about replacing configuration files; a lot ofthe time it will write .rpmnew files instead of just replacing the oldversion of the file even if the old file is unchanged and the new andthe old file are completely identical.

While I think this is multiarch stuff in action, I still have toclean it up every so often. I use a little scriptlet for this,usually typed at the command


Weekly spam summary on Janury 6th, 2007

This week, we:

  • got 12,487 messages from 217 different IP addresses.
  • handled 16,802 sessions from 997 different IP addresses.
  • received 224,173 connections from at least 71,302 different IPaddresses.
  • hit a highwater of 23 connections being checked at once.

The university came back from vacation this past Thursday, andof course the spammers never went on much of one to start with.I suspect that volume


blog的另類思考


手傷了幾日,現在做事比較慢,可能慢才乎合生命的原則。在此再次感謝各方好友關心,我基本上可以工作了,但未能說完全正常,只是有點痛勝過完全不能動,休息太多工作會累積,走不了的。

延續之前的話題,關於寂然世界
Continue reading...

羊羹、豆乾與鐵蛋(病後小劇場)


算是痊癒,謝謝大家。偏方無數,最後都是楚食剩的藥治住了。雖然現在個肚好漲(可能我又有左啦),但總算是回復了行動力了。希望可以取回被沒收的羊羹、豆乾與鐵蛋。

發病期間,與太子幫鬥智鬥力無數,包括由楚家少爺

Henry Spencer on C's volatile

Henry Spencer sent me a reply to my previous entry on volatile that corrects some of my (mis)information, and I amputting it here with his permission:

I fear you've miscalled this one. ANSI C pre-dates aggressive memorycontrollers in consumer CPUs , but it had extensive participation bypeople in the supercomputer world as well, and such things were commonthere long ago.

The key issue you've missed is that ANSI C doesn't really acknowledge theexistence of a "compiler".


對話

男人看過女孩子為他製作的記事本後,

紅著眼的對女孩子說:「你知唔知你好傻呀?」

女孩子雙手緊握熱水杯去溫暖手心,

堅定的看著男人,

微微一笑說:「我知呀。」