20070918 網摘 – 奶周斷正

Copycat

光害

猜猜猜

  • 我摘我猜宅 Quote: 我要做的,只是簡單地替某些文章做一些書摘…..

Services/Updates


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


C++ Tricks 3.1 左值右值與常量性(lvalue,rvalue & constant)

farseerfc.wordpress.com 導入

3.1 左值右值與常量性(lvalue,rvalue & constant)

首先要搞清楚的是,什麼是左值,什麼是右值。這裏給出左值右值的定義:

1、左值是可以出現在等號(=)左邊的值,右值是隻能出現在等號右邊的值。

2、左值是可


天國的階梯

天國的階梯


每間公司都有一個「女皇」,我任職的律師行也不例外。當我還未戒奶,「女皇」已經崛起,三十出頭就升做equity partner,隻手遮天,成為法律界的奇葩。她每日戴著鵪鶉蛋般大的鑽石戒指,從山頂獨立屋到中環上班。毛主

Weekly spam summary on September 15th, 2007

This week, we:

  • got 11,963 messages from 272 different IP addresses.
  • handled 20,658 sessions from 1,625 different IP addresses.
  • received 433,498 connections from at least 123,409 different IPaddresses.
  • hit a highwater of 8 connections being checked at once.

Volume is down a fair bit from last week ,although it is nowhere near the levels I would like it to be at.The daily