Robert Downey Jr.於Esquire封面虛擬現身?

一齣Iron Man 後再來一齣Sherlock Holmes,令全球不少大中細女對Robert Downey Jr.頓然翻叮又嗒糖,封為新一代型佬。

12月號的美版Esquire,他除了成為了封面人物外,有關方面更乘著他的上位人氣,來了一個封面上的創舉,是為2009年在網絡界大


Chicago Street Lights

Michigan Avenue lights (photo taken this weekend atop the Hancock Building in the northern part of Chicago):

Street Lights at Michigan Avenue


君子絕交

無論是多要好的朋友,也難保不會一朝割蓆斷交,雖然未必就此反目成仇,至少也盡量迴避對方,甚至老死不相往來互無聞問。這樣不是很可惜嗎?其實那也是不一定的。

這麼多年來先後跟幾個本來要好的朋友斷絕來往,當年自

Turning synchronous channels asynchronous

(This is likely obvious, but since I keep working it out again in myhead I'm going to write it down once and for all.)

Suppose that you have a CSP -likeenvironment, with lightweight processes and synchronous communicationchannels with no buffering. Synchronous channels are simple but veryinconvenient for many real-world things, where you need to haveasynchronous channels. Fortunately, you can turn synchronous channelsinto acceptable asynchronous ones as follows.

To send an asynchronous message, you spawn a new process and


Some thoughts on battery backup for RAID controller cards

In a comment on my entry on software RAID's advantages I was asked what I thought about sofware RAID'slack of battery backup units, as you can get on better RAID controllercards. To answer that, I'm going to start by asking my traditionalquestion: how does having a BBU RAID card improve your systemperformance?

A RAID card with a battery backup unit effectively turns synchronousdisk writes into asynchronous ones, by buffering such writes in itsbattery-backed RAM and immediately telling the host OS


充滿”Sweded”味的Chrome Features影片

有看過Michel Gondry拍的Be Kind Rewind嗎?多得香港有個爛到暈的譯名「低清老翻王」,難怪此好片在港上畫時,落得無聲無色的下場。

話說片中有條怪橋,就是鼓勵大家善用手頭上僅有的資源,不要計較用最低能的技術最Cheap的手法,但求開心

Continue reading...

姊姊的守護者


我沒有看過小說,看電影時無法進行比較,但可能這樣也有好處,因為心無掛慮,對於這個題材自然感到很新鮮。

姊姊患了絕症,父母為了救她而用試管嬰兒技術生了妹妹,妹妹出生的任務就是為姊姊供應各種DNA能完美配合的器

我和酒的關係


我和酒的關係有點複雜。我不會直截了當承認自己好酒,因為有時候即使美酒當前,我也完全沒有飲的意欲,而且我會間中一段長時間滴酒不沾;可是,我的確經常飲酒,也不否認很享受對酒當歌、共君一醉一陶然的樂趣 。

我第

2009年的除夕派對—陳泗記的中環路邊燒烤

雖然老爸煮得一手好菜,但老媽子的廚藝有時卻可以幾嚇人,因此,我自少在家中反而養成了「好又一餐唔好又一餐」的習慣。

但正所謂傻人有傻福,即使是一個毫不嘴刁的人,但卻自問甚有口福,人家吃不到的珍饈百味,久不

Continue reading...

Go interfaces are not my sort of interfaces

I've written about interfaces before, orat least what I mean by the term (and how it relates to inheritance ). To summarize, 'interfaces' are a way offormally expressing 'is-a' relationships; when you say that a class or atype implements the String interface, you mean that it is a string.

One of the things that jogged my mind about the whole issue was Go , which has things that it calls 'interfaces' (okay,technically they're called interface