The benefit of chronological blog navigation

However criticized ,calendar-based blog navigation has a great property that insures it keepsgetting used over and over: it requires no extra taxonomy work to presentnavigation . You do not have to organize categories or come up with tags ormaintain a carefully organized site map.

But the criticism is correct too, because the default presentation ofchronological blog navigation gives you useless information, unlessyou are dealing with a personal-life based blog when you really dowant to look back to see what the author was doing on a


我所相信的

我所相信的是,如果註定了要傷心,今天的些微快樂,總要用雙倍的眼淚來還,或者不只。

我所相信的是,將快樂擱著不用,它也是會蒸發的。

我所相信的是,就算快樂的保存期限尚未到期,隨時有較你更應份得到的人,將它取

星期一的下午

星期一的下午,大部分人都在辦公室苦幹或釣魚時,連放五日(註:是月假期為2+3+5+5)的空姐做甚麼好呢?

去海怡工貿啦,夠少人呀,我兩個月沒有買過衣服啦。

結果,在Joyce Warehouse買了件便宜又合心意的Hugo Boss小外套,後幅

Linux NFS client kernel tunable settings

We had a serious (lack of) performance issue today with a Linux NFSclient machine, so I spent some time delving into the underdocumentedworld of kernel parameters that affect the Linux NFS client (not the NFSserver, which has better documented stuff).

(I am going to use sysctl(8) notation for kernel tunables.)

The major tunable is sunrpc.udp_slot_table_entries and/or tcp_slot_table_entries . These are the maximum number of outstandingNFS RPC requests


How mmap(2) requires a unified buffer cache

In a previous entry I mentioned that Sun'saddition of mmap() basically forced their hand on having a unifiedbuffer cache. Today I feel like elaborating on that.

The problem with having mmap() and not a unified buffer cache is pagecoherence. If you have some programs using mmap() and some usingregular read() and write() , you will wind up with two copies ofpages, one mapped into process memory and one in the buffer cache.Because virtual memory and the buffer


擁抱

我喜歡情歌
老b也一樣
他有很多歌都走上抗爭現場
火熱地大伙一起唱
也有部份很適合在微風下聽
我曾經想把這歌錄音
發現失敗
還是聽他唱吧
受他影響我開始寫情歌
特別是這一首
放在toutube的版本我已聽了多次
友情推介歌曲:「擁抱」

小說.名字.寫作計劃


小說
我的小說"救命"剛剛完成了難度最大的情節
之後的十幾日
仍需加倍努力
但今次寫小說我是先寫出故事大網
然後列好人物關係表和人物小傳
接著寫成分場大網
最後才開始寫小說的正文
比起當年寫"撫摸"時僅有一篇故事概要

In praise of Python's Global Interpreter Lock

It's common to say bad things about the GIL (a round of GIL bashing happened recently, for example). I have acontrarian view: I think that the GIL is the right thing for Python.

Python needs some concurrency support, if only so that it can makeinherently blocking operations into non-blocking ones. At the sametime, the thread and shared memory based concurrent programmingmodel is a terrible one that programmers should avoid as much aspossible.

The GIL is good enough and simple enough to


Program Development in Java Preface

farseerfc.wordpress.com 導入

程序開發原理

——抽象、規格與面向對象設計

Barbara Liskov 、John Guttag 著

楊嘉晨 等譯

關於翻譯風格:

多年來閱讀計算機類的著作及譯作,感覺總體的困難在於一大堆沒有標準譯名的技術術語。由於通行於工業界和學術界的還

C++ Tricks 3.2 標號、goto,以及switch的實現

farseerfc.wordpress.com 導入

3.2 標號、goto,以及switch的實現

goto語句及標號(label)是最古老的C語言特性,也是最早被人們拋棄的語言特性之一。像彙編語言中的jmp指令一樣,goto語句可以跳轉到同一函數體中任何標號位置:

void f()

{int i