從舊男友中尋自己


有 時 會 回 想 與 前 男 友 的 往 事 , 不 是 為 了 懷 念 , 是 為 了 認 識 自 己 更 多 , 為 了 知 道 當 時 的 我 怎 會 讓 一 些 極 其 怪 異 的 事 件 發 生 。 無 可 否 認 , 有 些 怪 異 事 件 的 主 腦 是 我 , 有 些 卻 是 當 時 的 「 他 」 。 不 過 , 當 時 雙 方 都 是 當 局 者 , 所 以 迷 了 , 可

Checking systems with RPM verification (part 2)

There are at least two useful tricks beyond basic RPM verification that can be useful in some situations.

The first is that RPM's verification doesn't have to use the systemdatabase; instead it can get the MD5 checksums from a .rpm itself.This is done with ' rpm -V -p '. Naturally the .rpm had betterbe the same version that's installed, and of course prelinking isstill an issue if you don't trust the systemthat much.


A hint for email providers

Here is something that I shouldn't have to say to all sorts of emailproviders but apparently need to:

If someone says that you have spammed them, your first reaction shouldnot be to proclaim that you are a legitimate business (and that youdon't spam and that you have strong policies and so on); your firstreaction should be to profusely apologize and attempt to open a dialogso that you can fix the situation.

There are a number of reasons for this, assuming that you are a


嘻笑而不怒罵:談陶傑《恭敬有罪》


書名:恭敬有罪
作者:陶傑
出版:CUP

曾經有一段日子,我深深著迷於陶傑的專欄,每天都要讀他的文字,社會上發生的任何事都希望讀到他的意見。我喜歡陶傑不是出於個人崇拜,而是因為透過他在文章中的辛辣批判與嘻笑怒罵

你好嗎?





你好嗎?我很好。我很掛念你。




Getting Python's encoding and decoding straight

Because I have recently been confusing myself with this, and because itis not clearly documented in the Python standard library or the tutorial(at least not that I could spot):

  • .decode() decodes a plain string (ie, bytes in some encoding) toa Unicode string.
  • .encode() encodes a Unicode string into a plain string.

Feeding a plain string to the unicode() constructor is the same ascalling .decode() on the string.

Things get weird if you call .encode


流感中招

so sick....

托美兒的福

(電腦主機一直壞,用鍵盤非常小的eeepc打字,常常打錯字,非常沮喪。本有長文,一直打不出來。先壓下,搞點無聊事沖喜一下吧。)

美兒大壽,與其偶像(又稱契爺)馬家輝先生吃飯,托美兒的福,輾轉終於得到傳說中的偶像
Continue reading...

How to force a crash dump on Solaris 10 x86

Because SPARCs have OpenBoot, forcing Solaris SPARC to panic and do acrash dump is generally a pretty simple process. Because x86 hardwarehas no PROM environment (despite Sun trying to pretend otherwise ), forcing a crash dump on Solaris 10 x86 is alittle bit more intricate.

Crash dumps are done through the kernel debugger, which has to be loadedahead of time from and on the system console. (Technically I think thatyou can load it on a serial connection, should you have one


當連卡佛遇上金融海嘯

當金融海嘯蓆捲全球,我的銀行存款卻反常直線上升。

沒有刻意減少消費,而是處處大減價除卻常餐加價至$32。

11月的連卡佛staff sale已減至四折,令人震驚。

早前預留了的兩對高跟鞋,埋單找數才不過$1380。

人人都說