The dangerous appeal of the obvious

For reasons that do not fit into the margins of this entry, DWiki sometimes needs to get the current Unix load average. I developed DWiki on Linux, and getting the load average on Linux is really easy; you reada line from /proc/loadavg , split it into three floating point numbers,and you're done. So I wrote a get_load function that did that andforgot about the whole thing.

Then this server got changed from Linuxto FreeBSD, and suddenly that code didn't


20071022 網摘 – SF4!

Street Fighter

R/evolution

環保


BOBOs in Paradise

BOBOS in Paradise


一個星期日的早上,我捲縮在軟綿綿的被窩裡。微風掀起了白紗窗簾,秋意濃了。

我從床上爬起來,伸一個懶腰,在露台的長椅上坐下,倒了一杯香檳當早餐。當我睡眼惺忪地看著酒杯裡的泡泡向上升,腦海裡忽然雜亂地

How I got a corrupted metadb replica that paniced Solaris 10 x86

Since I got asked this in a comment on my entry about clearing metadbreplicas , here is what I remember of how I managed toget a metadb replica so corrupted that it paniced Solaris 10u3 x86.

  • I wanted to experiment with metasets on my test machine, so Ineeded a local metadb replica . Because Ididn't know about this I didn't have a spare partition, and becauseI didn't know any better I put the local metadb replica in thattempting slice 8

基礎邏輯.起碼水平

「如果市民認同市區重建同樣對社會整體有益,值得政府每年花稅收注資支持,則檢討市區重建策略才會有明顯的意義。」

這個含混不清的因果句,表達了這樣一種邏輯:

「如果市民認同市區重建,檢討市區重建策略才會有意義

Why mail systems should not defer rejections to RCPT TO time

There is a movement for the default configurations of things like exim to defer sender verification to RCPT TO time;instead of reporting an error or a defer after the MAIL FROM , all MAIL FROM s are accepted and only later does the message start gettingerrors. I have recently come to a realization about why this is wrong,and I even have an example.

The problem is that when you give at least a 4xx error to an RCPT TO ,it makes the sending mailer think that there is a problem with


電影裡的文化與意識形態的呈現: 絕代佳人(Laura)

《絕代佳人》 (Laura, 1944, Otto Preminger) , 美國黑色電影 (Film Noir) 中的代表作, 作為一套經典的黑色電影, 《絕代佳人》熟練地示範了黑色電影應有的元素.

《絕代佳人》並不像一般黑色電影如《雙重保險》(Double Indemnity, 1944, Billy

Continue reading...

思潮作動追趕時事

1. 切.瓦拉格
嘉賓:廖偉棠

廖偉棠本來自然是健談的,但在切的忌辰前夕,他見我們說笑,竟然有點不習慣。這麼認真。
他突然說「然後在撤逃時切被捕——就是今天!」我一下子背脊發冷。

2. 文革
嘉賓: 張歷君

如何可以不

自尋短見

己絕版詩集.未完成計劃

網上拌嘴:有位小朋友遺失了向圖書館借的飲江詩集《於是你 沿街看節日 的燈 飾》(下稱《於》),問哪裡可以買到書,以頂替圖書館的昂貴罰款。《於》早絕版多年,心疼起來,忍不住說,遺失圖書館


Some notes on booting single user in x86 Solaris 10

Here's some somewhat sketchy notes, mostly for my own future reference,on various bits of booting Solaris 10 x86 into single-user mode.

On x86 Solaris, kernel boot parameters go on the end of the ' kernel/platform/i86pc/multiboot ' line in the GRUB boot entry. You put them inby interrupting the GRUB menu to edit the default boot entry (and thenthat line). The two most useful parameters are -s for single-user