從Music and Lyrics想起


Music and Lyrics的故事很簡單,過氣名樂隊男主音為了再振聲威,跟失戀才女合作新歌,之後成為情侶。過程當然有很多節外生枝和笑料,但其實看慣愛情片的觀眾已可以想像這是怎樣的故事。

看這電影,驚喜不多,男女主角沒有擦出火

最動人的情書

B是我的舊男友,到了今天,他仍生我的氣,我們無法做回朋友。

我相信,從此以後,都不會再遇上像他的男生。

他寫給我的情書,總會讓我哭。

同時,亦會讓我恨自己,寫不出像樣的情書送給他。

他始終不相信,我離開,是為

高音不等於假音

看到一個有關K迷患「卡拉OK瘜肉症」的報告報導,是這樣寫的:

K迷高歌玩假音 聲帶易起迊

【明報專訊】唱卡拉OK已成為許多人不可或缺的社交活動,但不少人唱K時喜用假音,並勁狂喊,但太好唱口原來易有後遺症。日本耳


The downside of distinctive hostnames

Recently a co-worker pointed out that the downside to giving machines distinctive hostnames is that users become attachedto them, and when you introduce newer, better machines the users don'tmigrate to them. Once I thought about it, this made sense; after all,by naming things we make them distinct, and thus no longer quite sogeneric and equivalent.

(At this point I am tempted to think thoughts about brand loyaltyand the distinctiveness of brand logos.)

One contributing factor is that with many generic


暫停營業

雙眼被感冒菌感染。唉。暫停營業。

@media 07 在香港

在 Happy Designer 看到原來 @Media 07 會在 香港 搞!日期是 31/5 和 6/1 兩天。一眾 Web Standards 猛人 Dave Shea Molly Holzschlag 、Jeremy Keith 等等都會是主講嘉賓!

在香港這個 Web Standards 荒蕪之地,竟然會舉辦如此盛事,實在令我很意外。莫非是政府宣傳「亞洲國際都會」

@media07

超級星期六

24.2.2007 (六Sat)
下午3:00 - 4:30pm
尖沙咀星光行商務印書館
從器物出發,細察關於一個城市的歷史
講者︰董啟章 (作家)
梁款 (文化評論人)
羅貴祥(作家)
主持:梁文道 (文化評論人)
《天工開物,栩栩

認識自己

你 呢 個 人 ...追 求 完 美 , 求 知 慾 強 , 魅 力 發 自 內 心 , 表 現 孩 子 氣 內 心 卻 老 餅 得 很 。

膽 大 果 斷 , 富 領 導 才 能 , 愛 活 躍 於 社 交 圈 子 中 , 不 愁 沒 伴 侶 , 衰 心 多 多 , 適 合 從 事 互 聯 網 監 製 一 類 複 製 重 組 行 業 。

英 俊 瀟 灑 , 多 才 多 藝 , 冷 靜 愛

A simplified summary of Python's method resolution order

Crudely summarized, method resolution order is how Python decides whereto look for a method (or any other attribute) on a class that inheritsfrom several classes. Python actually has two; a simple one for oldstyle classes and a rather complicated one for new style classes.

(Technically, method resolution order applies even for singleinheritance classes, it's just that they have a very boring one.)

With the old style class:

class Foo(A, B, C):    pass

Python will look up


A note about the ordering of mixin classes

In Python, when you have a class that inherits from both a primary classand some mixin classes (for example, if you're using the SocketServerstuff ),it's conventional to declare your class's inheritance list with theprimary class first:

class Real(primary, mixin1, mixin2):    ....

However, an important safety tip: if your mixin class overrides methodsof the primary class, it has to be first . Failure to observe thissafety tip can cause head