法律如何扼殺創意

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

How creativity is being strangled by the law


Bollywood英雄落難

Sanjay Dutt: 我無做「大佬」好耐...(設計對白)

近日, 印度法庭對被控非法藏有AK-47的著名影星Sanjay Dutt, 終於作出裁決. 法庭裁定Sanjay Dutt罪名成立, 將被監禁六年. 有關方面多年來誓要整治Sanjay Dutt. 儘管Sanjay Dutt多次聲稱藏械 (三枝)
Continue reading...

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

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

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

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

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


「我係讀Law架 !」

角逐區議員一職的前DJ梁安琪, 在傳媒面前斷言社會科學(Social Science) 不入流, 法律才是王道. 一句:"我唔會讀Social Science, 我係讀Law架!" 引來無數人恥笑, 也令我想起同是讀Law、但出色百倍的翁靜晶.

如果在香港要選出一名真正兼備


岩數

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

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

玩玩

前一陣子我因事無法寫作,除了不寫網誌,更把報章上的專欄停了一個月.

在這一個月內,我基本上只寫公事上的文件,完全停止寫作,那是我近年來停寫得最長的一次,而且我是故意的.以前,我會逞強,我會在最忙的日子照

Understanding the virtual memory overcommit issue

First, a definition: the committed address space is the total amountof virtual memory that the kernel might have to supply real memory pagesfor, either in swap space or in RAM. In other words, this is how muchmemory the kernel has committed to supplying to programs if they alldecide to touch all of the memory they've requested from the kernel.

(This is less than the total amount of virtual memory used in thesystem, since some things, like program code and memory mapped files,don