搬家中一次過

1. 文明單位:賀歲片
嘉賓:卓男

看過了《心想事成》,才懂得慶幸自己愛的是周星馳。

2. 明報meanwhile斑駁日常(週四、五、六)

眾所

眾所周知,李義山以下的中國古典文學傳統裡,「無題詩」通常指愛情詩。「愛情」是「無」,


Fixing Python's string .join()

The thing that has always irritated me about string .join() is that itdoesn't stringify its arguments; if one of the things in the sequence tobe joined isn't a string, .join() doesn't call str() on it, it justpukes. This is periodically annoying and inconvenient.

It recently occurred to me that this can be fixed, like so:

class StrifyingStr(str):  def join(self, seq):    s2 = [str(x

The quick overview of DiskSuite failover

Solaris 8 DiskSuite does failover on disks (logical or otherwise), notfilesystems or partitions. Solaris then gives you up to seven partitionsper disk (technically you get eight, but DiskSuite takes one for itsmetadata); you then use these partitions as the building blocks formirrors, stripes, and filesystems.

Disks are grouped together into metasets, and one machine in yourfailover cluster owns each metaset at any given time and is the onlymachine allowed to do IO to any of its disks. As a consequence,


飲番杯冰凍啤酒……..

來到東京,我暫且要將釣魚台、三年零八個月、南京大屠殺等等國仇家恨拋諸腦後,因為看見的諸多事物與等等細節,都一一教我立即愛上。

沒辦法,飯,還是人家的較香。

沒十年,也起碼有八載沒來過日本。我不是購物狂,也


耐人尋味


放了幾天假

今日才認真讀報

在"明報"A6版讀到這則廣告

真不知道43年296日後那位何老先生看了廣告有何感想

世事紛擾

每個人都有自己的故事

謹以這則耐人尋味的廣告作為豬年的開端

Getting around LiveJournal's new minimum page width

LiveJournal recently started forcing at least some pages,such as the default style for individual entries , to have a minimum width.Worse, the forcing is done in such a way that text is wrapped to thewidth even if your browser is narrow, which makes the pages prettyunreadable. I noticed this change right away, because they picked aminimum page width that was somewhat larger than the width my browser isbasically fixed at.

Today I got irritated enough to do something about it. First I had tofind what


關於空姐的十個謬誤

1. 空姐搵好多錢。(以前,OK啦。宜家入職o既... 陰公豬囉。當然,我都唔明點解咁多同事有錢帶Rolex同Cartier返工。空姐既工作性質,隻錶唔只會撞花,係會撞得爛ga wor。)

2. 空姐係化妝同護膚高手。(呢兩樣o野,係嗜好

RHETORICAL PAIN賀年套裝

在家裡偶然看重播到甩色的《賭俠》。在那個衣冠不整恕不招待的賭場,周星馳用塊紙板畫條呔攝在衣服裡面,坐下來道:「係都要人地打呔喎。(除下紙板寬容晒)俾幾包煙仔唔該!」

雖然對賭戲裡的女性還是太難認同,而且

Another aphorism of system administration

Noticing when something shows up is easy; detecting when it goes awayis hard.

Like all aphorisms, this has exceptions. And if you want to see it thatway, it's a corollary of an earlier aphorism .

(An aphorism brought to mind as I contemplate our DHCP configurationfiles and wonder just how many of those Ethernet addresses are currentlymouldering in a dump somewhere.)


What I currently know about Fibrechannel versus iSCSI versus AoE

We're planning a significant capacity increase for our local SANstorage pool, which means that we've been trying to figure out whichSAN technology we want to go with. We don't have high performance IOneeds, so we're going for bulk storage: large SATA disks in RAID 5 insome sort of SAN RAID controller. We plan to use Solaris 10 on x86for our NFS servers that will use the SAN, with DiskSuite forfailover. DiskSuite has to own full disks