新Monday的鄰居 - 史提fun

話說新Monday嘅專欄,係女上男下的。

住我樓下果格嘅新鄰居 - 史提fun,叫我喺個blog度幫佢宣傳下佢個blog(咁邊個幫我宣傳呀???)。

Well~~~ 佢個自我介紹係咁的:

史提fun,夜蒲大學畢業,主修酒精,研究人類溝通史,促進男女

Give your personal scripts good error messages

Sysadmins have a habit of accumulating little personal scripts to makeour lives more convenient, often things that make perfect sense to usbut are too peculiar or specific to be worth installing generally.Since these are personal hacks, they're often bashed together in verycasual ways; if it mostly works for us, it's good enough.

From personal experience, I now have a suggestion for these scripts:make sure that they have clear or at least comprehensible errormessages, not little cryptic ones. If you do


我的治身格言

我不喜歡William James的哲學,尤其是他對真理和信仰的看法,但他有一句說話卻令我覺得受用無窮,甚至可以說成了我的治身格言:

「要改變自己的生命,就要當下即改,改得淋漓盡致,絕不破例。」("To change one's life, start immediately, do it flamboyantly

民主都有真假?2之1

這個年代沒有人不講民主,任何政權都會自稱支持民主。但就和所有企圖套用在全人類身上的理論一樣,特例太多的情況下,慢慢就會不斷修改,越來越顛倒原本的意義,於是就出現了更多不同的版本,然後就會有「誰是真的xx

Bio Hazard 4 / Resident Evil 4 武器與子彈 (Weapons and Bullets)

遊戲中所有武器與子彈的組合、圖像及名單
及本人對武器與子彈的主觀分析與描述



Continue reading...

小maggie到迪士尼

成日見到d宅仔拿公仔去外遊拍照,拍出來的感覺真的不輸人像攝影。

不過拍這些用大機dslr真的不太實在,所以以下的相片都是用sony tx1拍的,反正烈日之下無弱照,用什麼都沒所謂的啦!!

站在迪士尼的餐枱上拍一張全身照先

Continue reading...

Replacing modules for testing (and fun)

A while back I wrote about how I monkey-patch Python modules fortesting , selectively replacing variousfunctions they provide with test ones that return the results I like.But it's not the only way to do this. If monkey-patching system modulesthis way makes you nervous (perhaps due to its potential side effects),there's another way to do it: you can entirely replace the system moduleitself in the module you're testing.

After all, import ed modules are (more or


外物不移

我的師公馮康侯刻過一個「外物不移方是學」的閒章,我第一次看到便很喜歡,還仿刻了一個,頗得其形。我喜歡的不單是印章的構圖和刀法,還有那七字真言;外物不移,那的確是為學的要訣。就算你聰明絕頂,假如沒有這外

The Most Intimidating Lamps You've Ever Seen

Flos Gun Lamps

I don't think I would mess around in someone's home if I noticed these guys lighting up the place. I imagine if someone could afford a solid gold lamp in the shape of an M4 Carbine, a Glock, or an MP5, they could probably afford to hire a guard carrying the same to shoot anyone attempting robbery.

(Somewhere near Rockafeller Center, NY; image taken with a Canon PowerShot G11).


Four Apple Stores in NY in Two Days

It is said that, during a jubilee year, one would receive a plenary indulgence by visiting all four major basilicas in Rome (nowadays, it seems you only have to visit one of them—pfft!).

During this Apple Jubilee of 2010, I have visited all four of the Major Apple Stores in New York City (my total Apple Store visit count is about 25 now) in two days... I didn't buy anything, so I might've missed one of

Apple Store Upper West Side