Please have symmetric option negotiations in your protocols

Suppose that you are designing a protocol where the two ends (let uscall them the initiator and the target) must agree on a joint set ofoptions, actions, or whatever that they both support, will use, orwhatever. If you are doing this, I have a small request: please make theoption negotiation process symmetric, where the initiator and the targetdo the same operations (with slightly different data).

In a symmetric option negotiation process, the initiator says somethinglike 'I support the following


Some ways to test if a program securely runs other programs

Suppose that you have a program that can run other programs, andyou want to find out if it securely runs the other programs . In an ideal world, the program'sdocumentation would tell you, and you could trust it. Sadly we do notlive in an ideal world.

First you need a test environment where you can control what externalprogram your program runs and force it to actually run the program. Inmany cases (such as testing daemons, web servers, MTAs, and so on),


情感失落

( 圖源 )

會不會覺得自己很傻?因為當你認識了一個朋友,很要好,常常都在一起,他的事你知道,你的事他也知道,你覺得無論世上發生甚麼事都好,只要跟他混在一起,喝杯烈酒,向海嘶叫,狠狠將手上的啤酒罐扔出去,回

《S8驚世檔案》:艾布斯與史匹堡合作的E.T. Web 2.0

( 原刊  信報  22-06-2011 )

《S8驚世檔案》:艾布斯與史匹堡合作的E.T. Web 2.0

從開拍到公映前都保持神秘的 《S8 驚世檔案》(Super 8) ,一直都不讓人知道它的底蘊:從僅有透露劇情的預告片中,見到幾位在


雙核播flash片,蘋果都俾面。

身邊有不少Android控,他們最喜歡炫耀的數百樣事情的其中之一,就是「我地可以play flash你唔得」。

也許,我早已被Steve Jobs洗了腦,但凡所有mobile device都不應該support flash,flash對我們有害無益,flash會令我們手機的「包耍」當機。

說真的,我雖然喜歡



藝術公民七一遊行聲明
藝術 對抗審查. 自由 敲擊政治

七 一大遊行,是香港巿民上街表達訴求的大日子。二零一一年,藝術公民於四月二十三日舉行過「藝術公民大聲行」,得二千餘巿民參與,實踐我們對於藝術自由、表 達自由的

博士作為起點

季羨林在 〈論博士〉 一文裏說:「中國的博士和西方的博士不一樣。在一些中國人心目中,博士是學術生活的終結,而在西方國家,博士則只是學術研究的開端。」他說的只是「一些中國人」,但這「一些」究竟是多少,我對中

Our ZFS spares handling system (part 1)

I've mentioned before that we replaced ZFS's normalspares handling with our own system, but I've never actually describedthat system. For background, see my earlier entry onour issues with ZFS's normal spares handling and the challenges we havewith spares in our ZFS fileserver environment .

There are two ways to implement a spares system. Let us call themevent driven and state driven. In an event driven spares systemyou activate spares in response to fault events, and one of yourchallenges is


不必教育子女

到底會有幾多父母願意質疑「教育」的效果?送子女去最著名的學校,填滿子女空檔的時間,換上最理想的教育環境,這個幾乎成為了父母的職責,做得到就是好父母,做不到就要好好檢討。所謂養育之恩,養大當然是重點,教

孩子的孩子

我最近遇見一件很恐怖的事:在一輛巴士上,一名年輕母親,用流利的粗口責罵她幾歲的兒子,她罵他麻煩,她罵他妨礙她睡覺(她似乎需要輪班工作,因此不停強調自己要睡覺),她罵他的爸爸太懶,她罵他阿嫲不理他,她罵