賭徒的謬誤

賭徒大多迷信,信手氣、信風水、信運程、信孩子說一聲「買書」會令他們輸錢,但他們有一個想法卻合理不過:下注在較有機會開出的,便較有機會嬴錢。可是,他們對哪較有機會開出,哪沒甚機會開出,通常都有錯誤的看法

Mercurial versus git for sysadmins, or why we picked Mercurial

I've recently managed to persuade my co-workers to start migrate awayfrom doing version control with RCS and to using a modern VCS (whichhas made me think about various issues ). Specifically, I picked Mercurial, which I thinkis one of only two sensible options right now (the other being git).

I'm perfectly prepared to believe that git has important aspects that make it technically superior , and that githas more power for doing sophisticated things that matter for seriousdevelopment. But for us


Sysadmin versus developer uses of version control systems

Here is a thesis: sysadmins use modern version control systemsdifferently than developers. Specifically, sysadmins generally use VCSesfor documentation, while developers use them for development. By thisI mean that when sysadmins make a commit, it's for something that isalready in use; for example, you change a file in /etc and then commitin order to document when and why you made the change.

(This is certainly our local sysadmin usage of version control, but Ithink it is more than just us,


哲學天份

最近發覺兒子可能有點哲學天份。我剛買了 Peter Cave 的兩本書: Can a Robot be Human? What’s Wrong with Eating People? , 考慮用來做哲學導論的教材。兒子見書名有趣,便拿去看了;他讀得津津有味,還興致勃勃走過來要跟我「分享」他的得著。 誰知他

香港贏了


昨日我說希望香港足球隊得勝
他們果然爭氣
打到最後12碼擊敗日本
奪得東亞運金牌
有運氣也有技術
看新聞見到場內的觀眾都很開心
上高登看看更發現有大量正面討論
很多香港人都說
從未試過為足球而這樣激動
看來因為有這場球

散文大師

不明白為何有人會認為 余秋雨 是散文大師,單看他的名作 <都江堰> 開頭有以下兩句,其餘可思過半矣:「為我們生存的星球留下了一種人類意志力的驕傲」,「讓人全身心地投入對歷史、對歲月、對民族的巨大驚悸」。

貓貓糞尿譚

養貓, 就預料要親手清理他們的排泄物. 貓糞尿餅, 早已習以為常. 有時候, 勞動時安慰自己: 「掘沙」都好好玩, 搵到「寶藏」就當贏....

蜜柑與叮叮, 一雄一雌, 排泄習慣自然不同. 蜜柑如禪院鐘聲、 叮叮如大河奔流.

給兒子的詩(之一)

<大爆炸理論>

你沒有問過我,宇宙從哪裏來
你也沒問我,天上的星星
是否比地上的人更多
那次我們一起去看火星
天文望遠鏡
像一條摘星的機械手臂
我暖暖的手臂
只給你挽著
我們走時天色很黑
你卻說,你一點也不害怕

那夜,即使

A Legendary Piece of Shit

我踏四吋高跟鞋,風華絕代地穿梭於尖沙咀廣東道。我敢說,跟我擦肩而過的千千萬萬人裏,沒有一人能從我的表情看出我右邊小腿正嚴重抽筋。是誰封了這他媽的廣東道?的士不能搭,是否要本小姐行死了才安樂?我看看表

You should always be able to get a program's version and basic usage

Here is a small little sysadmin request: all programs should be willingto report their version and their usage before either insisting onspecial privileges or doing anything that might fail, such as checkingfor config files, probing various things, or whatever. The rule of thumbshould be if your program can run at all, it should be able to reportthis stuff.

(Note that this specifically includes shell scripts, Perl programs,Python programs, and other interpretable things, ideally even ifthey're being run on the