Why I hate $LANG and locales on Unix

; cat foobe+c 1be+f 2bed  3; look bed foobed  3; sort -o foo foo; look bed foo || echo failedfailed; cat foobe+c 1bed  3be+f 2; echo $LANGen_US.UTF-8

Locales are intrinsically a user interface issue; you want to presentinformation to the user in their specific local format. The Unix $LANG approach is intrinsically because commands have no idea whether they arepresenting information to the user


做乜野事呀

爭居權人士 襲警罪成重判一個月

文:terry narcissan(下文略經在下修改, 原文 見此)

驚聞今天新聞,身為爭取居留權子女的家長,因聲援居留權集會,被警方強行阻止進入示威區,於推拉間警員跌到而該位家長竟被判襲警罪名成立並重判

How not to set up your DNS (part 12)

Last week Securityfocus, home of a number of reasonably active mailinglists that our users like getting, changed their nameservers from theSymantec corporate nameservers to UltraDNS. And then the Symanteccorporate nameservers promptly stopped giving useful answers to queriesabout the securityfocus.com domain (instead returning the standard 'Ihave nothing to do with them' results of a referral to the root zone).

Since the mailing lists are reasonably active and we do check to makesure that the MAIL FROM domain actually exists (much like most of the


粉絲的心(大量蒜茸)

謝某總是把作品的名字搞錯(若我有日搞錯一定是她傳染給我的):吳煦斌永遠沒人說得對的〈一個昏倒在水池邊的印第安人〉就別提了,像伊朗電影《風再起時》,她就說《聽風的歌》;大衛連治《路直路彎》,她就說《直路

音樂下載庫?

HKBloggersGroup 看到 豬欄 引了一單新聞,是關於音樂下載的,但並不是消極的起訴報導:

團體設音樂下載庫以宣傳知識產權

【orisun.com專訊】由九個創意工業團體組成的香港數碼內容聯盟,發現有三至四成的網上博客日誌(Blog),採用未經授


我在CTM的新專欄

這幾日雖然很忙,仍然抽空開了一個新的專欄,欄名叫 手作仔 ,10月3日開通試用,不過自己友唔使等幾日,即刻上去試啦,我一個星期至少會更新兩次,你想我寫咩就上去話我知啦!當然我唔會放棄“寂然世界”,不過你地

Why people still like TCL/TK

This is the complete source code for a little X program I call tkmsg .It puts up a window with a text message (given as the command linearguments, ala echo ), sized to fit the message, and when you click inthe window it goes away.

set myname "tkmsg"wm title . $mynamewm iconname . $mynameframe .framebutton .text -text $argv -command {exit}pack .text

(And this also automatically handles standard X things like the -geometry command


Web site security theatre

'Security theatre' is the term I've seen Bruce Schneier use for pointless things that aredone mostly to make it look like you're doing something about security.Websites are especially prone to this disease, because everyone knowsthat the Internet and the web are insecure and overrun by hackers, right?

Today's shining example is the US Air Force Cheyenne Mountainpublic website , whichseems to be pretty much a PR site (complete with cheesy photos ). Despite thisun-sensitive usage, Cheyenne Mountain


(若能放棄全部的否定句,就算一節小勝。)

我讓身體的運動保持低調
沒有引起熱度從脊椎向上蔓延
體諒所有的寂寞與無知
錯綜重組全部的因果關係
說僅需的話,不向他人吼叫
攥住時間的衣角
請求推論的緩延提供空間
擦出一角空白
顛倒核心,暈眩,慢慢抹去自己的臉

我只是

寫比不寫好

最近雖然少寫文章,但最近網絡上還是蠻熱鬧的。其一是見得越來越多傳媒提及 Blog ,還特設專欄位置介紹。其二是最近多了很多人玩 Podcast,齊齊開咪。

剛看到一個有關 Blog 的調查,出來的結果頗為正面的:

七成學生寫網誌認提升能力