The scars of my NPTL experience

It's only recently that I've realized how jumpy about certain thingsmy NPTL (the 'native Posix thread library' for Linux) experience stillmakes me.

NPTL was the new, improved Linux threading library, supplantingthe old and less efficient 'pthreads' library. To get its goodperformance it needed some kernel support, kernel support thatwas only added in the Linux 2.5 development kernels (and thenin Linux 2.6 when 2.5 turned into 2.6).

However,


你想?



























新一年又開始了
你想?

前一年到台灣時,有位新認識的朋友送了一張cd給我 「達卡鬧」
他是台灣的創作人歌手,十分喜歡這個cd,簡單直接的創作與演繹,對他的力量有強烈感覺。
喜愛得不停介紹朋友聽,但,一借.....

手在復原中


小立斷橋風滿袖

終於連上blogger,簡直皇恩浩蕩得不知打什麼好。

1.
想了很久該怎麼說,這樣簡短吧, anson 是可敬的。 一月二日皇后還 有放映會啊,會放八樓的片和 anson 的短片,還有男士恩物粉紅 a mv 。一月四則是劇場。

2. 快樂的晚上。皇后的詩唱

The problem with C's volatile qualifier

The real problem with C's volatile (well, one of them) is that volatile only affects the compiler; it doesn't normally make thecompiler do anything to affect the CPU's interaction with memory. Onmodern hardware, merely affecting the compiler is not enough; theCPU/memory interface has its own optimizations, which must be dealt withtoo for shared-state code to work right.

From the perspective of history this makes a lot of sense, becauseANSI C mostly predates CPU memory controllers


獨手

二十年前
我因為打足球打斷了左手的手腕骨
做了一個月獨臂少年
今日
我因為打電腦過多
右手手腕勞損
手指不能動
不能用力
不能做任何動作
再度成為獨臂人
勁唔方便
二十年來
我做任何事都靠這隻右手
今日連刷牙都冇力
褲鍊都冇力拉

My current views on webmail providers

I have come to a grumpy realization recently:

Unsecured webmail systems are today's open SMTP relays, and it'shigh time that they got treated the same way.

The comparison is all the more striking because (once) major ISPsappear to have decided that they can run open webmail systemswithout consequences, much as people once shrugged off runningopen SMTP relays.

(I am particularly depressed by the move of places like rr.com,comcast.net, and adelphia.net into webmail systems that are


2006大事回顧 (其實係私事)

1. 兜兜轉轉,最後做o左空姐。當初點解會apply已經唔重要,最緊要係… … 呢份工係唯一一份,我冇諗過幾時要辭職。

2. 做o左Lasik。雖然有後遺症,反反覆覆都好唔到,甚至將來可能連身邊最親既人既樣都望唔清。但係,我冇

Link: Threads Cannot be Implemented as a Library

I've already linked to this in passing , but I'm going to rerun itas an explicit link. Threads Cannot be Implemented as a Library by HansBoehm makes the argument in its title:

We provide specific arguments that a pure library approach, in whichthe compiler is designed independently of threading issues, cannotguarantee correctness of the resulting code.

There is also a discussion of this paper at Lambda the Ultimate that may be interestingreading. On a quick skim of the LtU discussion thread, thisUsenet article


Solaris's impressive ABI compatibility

There are some things that Solaris is very good at; one of them isuser-level ABI compatibility (at least for basic programs). As anillustration of just how good it is, I only recently noticed that on ourSolaris 8 machines I am still routinely using some dynamically linkedprograms compiled in August of 1993 (which is probably when this groupstarted using Solaris machines).

I hadn't noticed before now because the programs hadn't really changedsince then (so I had no