PPP over ssh: solving problems with indirection

There is an old aphorism in Computer Science that any problem canbe solved by another level of indirection (Wikipedia credits it to David Wheeler ). TodayI have an illustration of this.

I mentioned that I was having problemswith USB serial ports on my just upgraded to Fedora 13 machine.Specifically, starting up PPP on such a port would hang the pppd process (and then any other process that touched the serial port).Since my DSL link is still down, this is a problem.It turns out


不必投訴

香港人已經得出結論,沒有錢,就別生孩子。不過他們並不是說優生論,而是對社會和將來已經不抱希望,生下注定受苦的兒女,是惡,是罪過。

有人形容這是仇富情緒。也許法庭新聞已經讓他們証實了這一點,例如法官常常在

取全文油猴腳本@Chrome

N年前寫了個 取全文的油猴腳本 ,是在 Firefox 上配搭 Greasemonkey 插件使用,在 Google Reader 上為某些網站可以按 ‘g’ 取全文。Chrome 也支持油猴腳本,但因為其中 GM_xmlhttprequest 不支持 cross-domain request,所以我也就沒有特別去搞甚麼的。

今天發現了一個叫 TamperMonkey 的 Chrome 插件,


一個關於性的思想實驗

性和道德有甚麼關係?我對這問題思考得不多,沒有甚麼深刻獨到的見解,只是大底上覺得性在很多方面都被不少人無謂地道德化了。自慰、口交、肛交、濫交、召妓、換妻、戀童、SM、同性戀、婚外情、婚前性行為... 幾乎

Many programs should provide an easy way to change font size

Here is a thesis: any GUI program that deals with a substantial amountof text should have a browser-like set of menu options for 'increasetext size', 'decrease text size', and 'reset text size'. Naturally, thisshould really use the same key bindings as browsers do. Browsers haveshown everyone the way, so it is now well past the day that we shouldhave to go into preferences and configurations in order to temporarilychange the text size in our editors, our mail clients


閱讀喜劇之王 (一)

我承認,是因為看了周星馳的「喜劇之王」,才會買下這本《演員的自我修養》,作者是史坦尼斯拉夫斯基,俄國戲劇大師。聞說這是中外演員必讀的教科書,但似乎不包括香港,因為在香港,演藝人讀書是一件惹笑的事,年輕

不是韓國人的我和菲律賓的士司機

在馬尼拉常搭的士 因為實在太便宜 另外就是因為Jeepney太難截。馬尼拉的士是首公里30peso起錶 其後好像每500米2.5peso

還是那句 記得講價

不少當地司機見外國人便會坐地起價 大家在上車講價時可直接兇司機一下

NIKON舊鏡頭大全集

nikon雖然五十年都是一個f接環,但有好多分支,網上找了一下資料,在這里列舉一下。

F接環:─┬→有 CPU │ └→沒有 CPU

→有 CPU┬→ MF → Ai P鏡 ex: Ai Nikkor 45mm F2.8P、Ai Nikkor ED 500mm F4P │ └→ AF ┬→ 非Ai ┬→ 沒內建馬


慈悲的滋味



低估自己的五種方法

今天狗尾續貂,寫寫低估自己。其實,除非是自卑感特強的人(有天生的,也有後天形成的),我們大多不會在各方面都低估自己。我們會低估自己的,通常是在一些自己不願意做或不願意經驗的事情上,例如忍受肉體痛苦、做