20090113金句

時 —— 2009年1月13日晚上8時20分

地 —— Times Square I.T

人 —— 蘇眉與我

我:「真係一d買冬天衫o既意欲都冇。」

K:「點解呀?」

我:「我根本唔鍾意著衫。」

K:「... ... 」

Documenting the kernel.sem sysctl

Programs on our web server machine recently started complaining aboutbeing unable to set up semaphores (well, once we figured out what theerror message meant). This rapidly sent us on an expedition into theunderdocumented mists of the kernel.sem sysctl, and so I'll writedown what I've learned about what I think is going on.

In the grand style of System V IPC in general, what programs allocateis not semaphores, but semaphore arrays (officially called 'semaphoresets'). A semaphore


有故事的人

大部分人都會同意:澳門人多數都很念舊。念舊,體現於我們重視人際關係,我們還很熱愛傳統,積極擁抱一套昔日的價值觀。然而,念舊的另一面,其實也包含了意想不到的健忘,這裏的人也善於選擇有利自己的東西去念舊,

Counts

I would be lying if I told you that I never pay attention to the whims and words of others. It is not that the external opinion is the gold standard of judging ourselves. We are simply human beings who tend to fall prey to the others' view. When the story of our hospital or unit appears in the press, I simply can't ignore it and then answer like Socrates who was once asked if he would worry about being called names, "Why? Do you think I should resent it

十二月蘋果

《 如 果 可 以 定 格 》


單 身 的 時 候 千 方 百 計 結 識 男 人 , 在 芸 芸 眾 生 中 挑 出 似 乎 最 合 眼 緣 的 一 人 , 由 好 感 開 始 一 直 發 展 下 去 , 從 此 settle down 過 安 穩 平 淡 的 生 活 。 兩 三 年 過 去 , 漸 漸 覺 得 沉 悶 。 然 後 , 在 朋 友 聚 會 上 認 識 到 另 一 位 有 趣 男 人 , 你 對

A surprising lack in Python's standard library

Here's something that I am surprised is not already in the Pythonstandard library: a simple module to generate and assemble HTMLfragments (or if you prefer, general XML fragments), up to and includingfull HTML pages.

I find it especially surprising because not only is this somethingthat a lot of people wind up needing to do sooner or later (considergenerating error pages from inside a simple CGI program), but there'seven a very common simple model for it that everyone seems to writetheir


What I want out of NFS security, at least at the moment

I know, NFS has a lot of new security features in both the more or lessmythical NFS v4 and in NFS v3 with some hacks. The problem is that theyall give me the wrong sort of security (as far as I can tell); likeother real network filesystems, they're all focused on authenticatingthe users. What I want is good authentication of the hosts.

(The problem with user-based authentication is that it takes out allforms of setuid . This forces a really


The problems I see with multi-signed SSL in practice

Given both the need for certificate authorities and the practical weaknesses that they have, it would be niceif it was easy to drop a CA without causing massive havoc. The moststraightforward way to implement this is to allow SSL certificates to besigned by more than one authority, and to be considered valid if any ofauthorities is trusted.

The problem with this is economic. Each CA is going to have to chargeyou their own payment in order to sign your certificate, which meansthat most people will never buy this


改壞名

字花十七期中有個針對淫審條例修訂的小輯,因為是涉及色情、有敵人的行動,我們都正襟危坐端莊文雅,到了可稱迂腐的地步。結果到專輯埋尾時,發現文章題目都正經到成學究化石了,什麼「在定型與變形中,消失」、「他

這是最好的時候,這是最壞的時候



雷曼兄弟話爆煲就爆煲,不經不覺已經四個月。但時至今日,中環依然有不少「迷你債券」的苦主在銀行門口抗議。平日食lunch經過銀行,總看見他們帶上口罩,舉著橫額,呼天搶地,高呼「xx銀行還我血汗錢!」、「YY銀行是