逝去感情如何留得住

年近歲晚
送上本人精選的 心情片段
2006年發生咩都好
留不住了
笑一笑
明年再來吧

What can go wrong if your compiler is not thread aware

Courtesy of Pete Zaitcev ,here's a great example of what happens when optimizing compilers aren'tthread aware.

Start with code of the form:

struct a b;
b.pos = *ppos;ret = foo(&b, ..., b.pos);

Modern versions of gcc 4 on x86 will optimize the function call into:

ret = foo(&b, ..., *ppos );

(This is a less stupid optimization than it looks; ppos


A thought on the advance of X auto-configuration

That X needs a configuration file less and less makes it more and moreimportant to have your monitor(s) powered on when you're powering on orrebooting a machine, because otherwise X won't be able to get the DDC information it needsto do most of that nice automatic configuration. A side effect of thisis killing off BNC monitor connectors, because you can't do DDC overBNC.

(Yes, I still have a CRT monitor at home, and until recently I was usinga


Solaris 8 DiskSuite's lack of good monitoring

One of the things that irritates me about DiskSuite in Solaris 8 is howhalf-hearted the provisions for automated monitoring and reporting are.I don't necessarily ask that DiskSuite have all of this pre-built, butI would like commands that had output that at least made it relativelyeasy to build this ourselves, and DiskSuite falls flat on this.

Metastat will tell you all of the necessary information, but it does itin a verbose, human-readable format that is sufficiently complicated andunderdocumented that I get


HTTP as it is seen in the wild

Out of a somewhat idle curiosity, I decided to do up some numbers foractual HTTP requests against one of the servers here. All of this isusing the past 28 days of old logs (plus today's):

289160 total requests277323 GET  5722 PROPFIND  3665 OPTIONS  2215 POST   178 HEAD    39 CONNECT    18 garbled

Most of the requests were successful; 90% got a 2xx or


幫幫我,徵求技術支援


開blog以來
小弟一直採用最低層次的技術經營
坦白說
這個blog的多種用途
小弟是無力涉獵的
情形就如我的手機
最大用途只是打電話收發短訊和看日曆
其他功能我一概不用或不會用

不過日前應讀友要求把專欄文章放上網
其實一直都要等

Link: OpenBSD spamd

OpenBSD spamd - greylisting and beyond is a presentation by BobBeck of the University of Alberta about the OpenBSD's spamd system, howspammers react to it and similar systems, how you can exploit this,and the University of Alberta's experiences with spamd, complete withinteresting numbers. I'm sadly jealous, as local feelings insure thatI'm not going to get to deploy this sort of technology any time soon.

(Also from Richard Johnson of river.com.)


Link: varnish, a HTTP accelerator

Varnish - the http accelerator [PDF] is the slides for apresentation about a HTTP accelerator for dynamic websites/CMS systems(its website is here ). Slide threemade me laugh out loud, and I have to say 'what he said'.

(From Richard Johnson of river.com.)


地點:皇后碼頭

詳見: 本土行動


十二月二十六日開始
天星皇后碼頭攝影展

十二月二十六日﹝二﹞晚上八點
社運前輩夜話,從蘇守忠天星絕食談起(嘉賓:莫昭如、張彩雲、陳順馨等)

十二月二十八日﹝四﹞晚上八點
天星與新本土運動論壇﹝嘉賓

隨時可以逃走

平安夜的天星晚會是泛民主理,因此是泛民性格,大家當是六四般靜坐。場的週邊有人畫畫、有人敲打、有人煲蠟、有人火煱、有人練被抬、有人聽歌、有人塗鴉。 後來何來教大家跳舞。

中學時代每逢聖誕,舞蹈學會就在操場上