'Argument list too long' is a misleading message

If you try to run a command with too many command line arguments, youget an 'Argument list too long' error (technically you get an E2BIG error from the kernel, which is then mapped into this error string byyour shell). There's a bunch of workarounds for this problem, such asusing xargs .

However, the error message is actually somewhat misleading. As oldUnix hands know (and new ones generally don't), the kernel's sizelimit on exec(


進入另一個世界



星期日,一個人聽Paul McCartney新推出的《memory almost full》,舒服得無話可說。

披頭老了,他再也不是那個呼風喚雨的世界偶像,但是他的歌還能保持一貫的爽朗。

Continue reading...

Getting source RPMs with yumdownloader

In theory, the yumdownloader program that is part of the yum-utils package will download the source RPMs if you want it to. In practice Ispent a long time having it not work on my Fedora Core 6 machines, untilI read yet another bland bit of advice telling me to use it and decidedto figure out just what was going on.

(The problem was quite frustrating, because yumdownloader nevercomplained; it just silently did nothing.)

It turns out that the trick is that you need to specifically


20070611 推介網誌

Read/Write Web

https://www.readwriteweb.com/

當人們談起 Web2.0 時,其中一個特質,就是由讀 (Read) 變成讀寫 (Read/Write) 的雙向關係。因此,你大概可以知道 Read/Write Web 是談甚麼了:Web2.0 科技產品、新聞、事件、分析等等。與其他的 Web2


不要站在常識的對立面

我對維基百科的感情是在論文期間培養的。因為在晚間工作,經常遇到不認識的人名、書名或修辭格,又因夜深而借不到書,在維基上找到都叫人感激涕零。而我也的確見過在文學術語上,維基的定義比某些文學詞典還好——當

Facebook 抓緊人脈網

這是一篇我給 《明報》 寫的稿件,刊於 2007 年 6 月 10 日「星期日生活 – In Internet」版 ,講的是 Facebook,但事實上我只有一個不多使用的 Facebook 戶口,說不上有甚麼用戶體驗,所以內容方便要靠自己多資料搜集充充內行了。事實上,網上


How NFS is unreliable for file-based locking

You hear a lot about how NFS is unreliable for file-based locking,but you rarely hear how and why, and understanding the details helpsin understanding what can go wrong. The fundamental source of NFS'sunreliability issue here is what I'll call the replay issue.

The communication between NFS clients and NFS servers is unreliable;both requests and replies can be dropped. Only the client worries aboutthis, and it uses a simple approach: if it didn't get an answer to itsrequest,


異端

魯迅之死,因為病,也因為難以企及的任性。他長期沉溺於毀損健康的作息,拒絕休息,不肯療養。他不是尋常的利他主義者,但也不肯利己。他確曾試著活下去,像一位人子與人父,同時存心熬乾性命,朝死路走——文學塑造

被"踢"中,談環保


我被Gary君“踢”中,也很樂意想一想環保的問題。

請回答下列三個問題(答案數目不限),喜歡的就邀請5位朋友參與。

1.易忽略的環保行動
多用膠袋、不關電器、吸煙、車輛太多

2.推薦的環保方法
自備購物袋、節約用電、

我這個行李篋

這個行李篋,其實,帶給我的歡樂不多。

因為,玩樂時忘了形,鬱悶時才待在家中,寫下的自是眼淚。

朋友不喜歡看。因為覺得與我的真人脫節。女孩子認為我是大笑姑婆,男孩子認為我是粗口最最流利動輒起飛腳踢人的女生,