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
粉絲的心(大量蒜茸)
我在CTM的新專欄
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
(若能放棄全部的否定句,就算一節小勝。)
沒有引起熱度從脊椎向上蔓延
體諒所有的寂寞與無知
錯綜重組全部的因果關係
說僅需的話,不向他人吼叫
攥住時間的衣角
請求推論的緩延提供空間
擦出一角空白
顛倒核心,暈眩,慢慢抹去自己的臉
我只是
Some reactions to a dual monitor X setup
I've recently gotten an Xinerama-based dual monitor setup working on mynew office workstation, and the experience has left me with a bunch ofreactions.
- it was pleasingly easy to get going in Fedora Core 5, and by that Imean that X automatically comes up with both monitors active ifthey're both connected.
- the default clone mode (both monitors displaying the same thing) issurprisingly disorienting.
starting up dual monitors with an unmodified X setup is an interestingway to see which windows you've
二趾長過公
我二趾是長過公的(腳趾) ,
所以我還未死
只是近期返fulltime工作
放工不想攪咁多野
blog就當然懶得理
各位努力
共勉...