玩命.飛車.殺人狂Death Proof


周末無聊
看了昆頓塔倫天奴導演的這齣奇片
大呼過癮
看過以前美國B級片的觀眾應該會覺得更高興
此片很懷舊
很暴力
不喜歡昆頓塔倫天奴的人會覺得這樣的電影很討厭
但這樣的試驗也實在為昔日的文化加上了不一樣的意義
要搞一

Why vfork() got created (part 1)

The fork() system call presents a problem for strict virtual memoryovercommit . Because it duplicates a process's virtualaddress space, strictly correct accounting requires that the childprocess be instantly charged for however much committed address space theparent process has; if this puts the system over the commit limit, the fork() should fail.

At the same time, in practice most fork() child processes don't usevery much of the memory that they're being charged for; almost all thetime they


中女三級制

中女三級制

二十八歲這個年齡,常常令我感到很苦惱。二十多歲的女人,正處於「氣質真空期」。她們既已失去十幾歲少女的天真瀾漫,卻又未發展出三十歲後的成熟韻味。不論事業、愛情、家庭,二十多歲的女性仍在起步、探

The risks of spam filtering (part 2)

Rejecting supposed spam at SMTP time is somewhat controversial (withthe risk being that you will reject legitimate email). What is lessappreciated is that not rejecting spam at SMTP time is also dangerous;it just has different and less obvious risks.

The problem is that if you do not reject spam you will wind up filteringspam, and the consequences of mis-characterizing legitimate email asspam are much worse if you filter than if you reject. If you rejectoutright, the sender of such email knows that it didn


法律如何扼殺創意

最近有人問我 Youtube 對香港民間的有何影響?其實重點就是 user generated content。正好 TED 發佈了 Larry Lessig 在今年年初有關 copyrights, user generated content, creativity 的演講,簡潔而有力,絕對值得一看。

How creativity is being strangled by the law


An object oriented design mistake illustrated

Being written in Python, DWiki uses a certain amount of object orienteddesign (not huge amounts; it has basically no inheritance hierarchyamong its classes, although they have various interrelations). Inparticular, it has a Page class that represents a particular real pageat the model level (not the presentation level, which is where templateprocessing and so on happens).

Here is a trick question: is a page's URL a property of the page?(That is, should the Page class have a url


猛烈失眠.無可阻擋


我就是數碼子喵!
(我在說什麼)

Continue reading...

How Linux handles virtual memory overcommit

Following up yesterday's entry on the general background of system virtual memory limits, here's howLinux deals with this issue. In its traditional way, Linux gives youthree options for what happens when a process tries to allocate somemore memory, controlled by the value of the vm.overcommit_memory sysctl:

  • the kernel gives you the memory unless it thinks you would clearlyovercommit the system (mode 0, the default, 'heuristic overcommit').

  • the kernel always gives you the memory (mode 1

東京鐵塔 — 老媽和我,有時還有老爸。

看罷此書已一陣子,但故事中的好些小片段,卻仍歷歷在目。

有趣的是,書中的老媽形象,已代入成我已離去的母親,故事中的男主角,又變成了吊兒郎當的我的化身。

每個人,都有心目中不同形象的母親,但我相信,每個人對


岩數

文明單位: 讀書網站
嘉賓: 麥志烈

認識麥志烈的時候他大一,是中大學生會的人。2004年初我回中大搞反英語化運動,麥志烈剛上莊,我記得是因為在報導反英語化的學生報號外上,他有一篇短文,我覺得寫得很不錯,中大