A Unix without a test program

Courtesy of a recent entry , I wasreading over my dotfiles when I stumbled over a remnant of a ratherpeculiar and annoying Unix (unfortunately, I no longer remember whichone it was). This Unix was notable for a simple reason: it didn't havea test program.

You might sensibly ask how on earth anything that can possibly callitself a Unix would be missing such a basic thing; after all, without test a lot of scripts don't work at all, since test is also known


1000點的驚愕

想不到恒指這么快跌至18,000水平。

我以為美國一早知道Merrill 和 Lehman 會出事(其實它們破產消息早在年頭傳出),但看來美國股市對此甚為驚訝。

這樣一來,我要調整預測:恒指12月前于16,000見底。我敢肯定美國還

八月蘋果

《另 一 種 人 生》


我 有 個 LuLu Guinness 手 挽 袋 , 米 白 色 的 麻 布 上 印 有 一 隻 隻 橙 粉 紅 塘 鶴 , 每 次 挽 它 總 得 到 無 數 的 讚 美 。 去 年 冬 天 , 以 乾 布 拭 淨 放 入 防 潮 珠 , 再 用 塵 袋 袋 好 收 回 衣 櫃 內 。 上 個 月 拿 出 來 準 備 約 會 去 , 打 開 塵 袋 後 , 我 尖 叫 持 續 三 十

為 何 香 港 人 眼 中 只 有 $ ( 1 )


Why ZFS's raidz design decision is sensible (or at least rational)

Given the downsides covered in yesterday's entry , ZFS's decision to stripe data blocks acrossall of the disks in a raidz probably sounds rather odd. However, itactually is a sensible decision given ZFS's overall design goals. Theeasiest way to see why is to contemplate the problems posed by analternate design.

Suppose that ZFS did not turn a single data block into a 'paritystripe', but instead had the idea of what I will call a 'block set',a group of


A read performance surprise with ZFS's raidz and raidz2

Sun's ZFS contains a performance surprise for people using its versionof RAID-5 and RAID-6, which ZFS calls raidz and raidz2. To understandwhat is going on, it is necessary to start with some basic ZFS ideas.

One of the things that ZFS is worried about is disk corruption . To deal with this, ZFS famously checksums everythingthat it writes (both filesystem metadata and file data) and thenverifies that checksum when you read the things back; specifically,ZFS computes and checks a


Meryl Streep 的 Mamma Mia!

之前已看過舞台劇版本的《Mamma Mia!》,氣氛相當不錯,而電影版也很成功地將這個開心、充滿活力、青春的氣氛帶給觀眾。

一向覺得音樂劇,劇情還是其次,最重要是歌曲與情節的融合。這個融合在電影版會更難,因為我們看舞


政治馬戲團

政治馬戲團

「只要有恆心,鐵柱磨成針」這種事,我Daisy是從來不信的。我只相信「人蠢無藥醫」。無論幾有恆心,蠢就是蠢。直至一個星期前我才知錯,原來只要恆心爆膨地不斷參選,終有一天可以像謝偉俊那樣得米。

接下來的

999 days is not forever

One of my peculiar perversions is that I want my browser's history ofvisited URLs to stick around forever (or at least to not expire in a acrude time-based way). Firefox doesn't have an option to do this, butit does have an expiry time in days in a field that only accepts threedigits, and back in the halcyon days of yore when I switched to Firefoxand set it up, 999 days seemed acceptably close to forever.

Recently, I noticed that


Fracture

"Your humerus bone at the right arm has broken, at the site called greater tuberosity."

I told my friend firmly, with an authoritative tone, when he called me for help after a fall around one year ago.

Months later, I still remember the moment when I was first shown his X-ray at the emergency room waiting hall. "Going to be nonoperative treatment and short period of shoulder immobilization," I advised. "Well, at most two weeks," I continued, almost whispering to