鑽石陣容Screen Testing
David Letterman唯一曾經主持Oscar的那一屆 (95年), 笑話連連. 其中這幕Screen Testing印象最令我印象難忘: Jack Lemmon (友善) , Martin Short (竭斯底里), Steve Martin (講錯對白), Albert Brooks (口水多過茶), Alec Baldwin (扮有型), Tom Hanks (鬼聲鬼氣), Rosie O'Donnell (發脾四
男 追 女 的 四 大 謬 誤
當 我 說 : 「 你 不 要 對 她 那 麼 殷 勤 , 狂 送 花
Another advantage of Python builtins
I've talked before about the speed advantage that Python builtins have . But speed isn't the only way that Pythonprivileges things written at the C level; as dict.setdefault() illustrates , Python makes a usefulatomicity guarantee for them that it does not make for methods writtenin Python itself.
Does this guarantee matter? I think that it does, because it issimultaneously useful and cheap. A concurrent program can avoid lockingwhen dealing with shared data built carefully from builtin types, andduplicating the effects
What you can (probably) count on for concurrency in Python
A comment on the previous entry about how builtins are atomic asked a really good question:
Is there actually a guarantee in CPython that they're atomic,or is that a side-effect of implementation?
There are two answers, at least in my opinion. The legalistic answeris that there is no guarantee at all, because there's nothing inthe documentation. But this is because the CPython documentationdoesn't talk about concurrency issues at all; even the thread moduledocumentation doesn't really say anything
蘋果日報:失蹤 (蔡瀾)
今 年 的 書 展 提 早 了 , 出 版 商 約 了 倪 匡 兄 和 我 做 一 個 講 座 , 之 前 兩 天 , 又 有 叫 我 們 出

Two Days in Paris
The yum versionlock problem
Update : I'm wrong about this. See the comments for more details.
Since I alluded to this issue recently , hereis the problematic interaction between yum's versionlock plugin, whichis used to 'pin' a particular version of a package so that it won't getupgraded, and yum's installonly feature, which is used by Red Hat andFedora to keep only some number of kernels (by default 2).
Here is the problem sequence:
- you are running version X of the kernel