一些生活

懶和勤力

北京回來之後,都在忙公司的事,也刻意不去想寫稿和文學的問題,我知道我下個月要出書,我知道我編的文學雜誌還有一些後期工作要跟進,我還有小說計劃要完成,可是做人總需要一段放任的時間。

在公司專注做一

20060330網摘 – RSS 的過濾

保安

繼續繁簡


What disk IO stats you get from the Linux kernel

To follow up my previous entry on iostat problems ,here's a rundown of the information you actually get from the Linuxkernel.

First off, you only get this from 2.6 kernels, or 2.4 kernels with theRed Hat disk stats patch (such as Red Hat Enterprise 3). In 2.6 thisinformation appears in /proc/diskstats ; in Red Hat's 2.4, it appearsin /proc/partitions with slightly more fields.

/proc/diskstats fields for


巴里島好味道

Continue reading...

便衣.靈魂

論文期間不免收縮——不談法國工運,不談泰國示威,都總要為一個地鐵站之隔的深水埗小販講句話。深水埗有便衣食環署人員,追捕已開檔多年的小販,導致有人被車撞傷。受到在場市民圍罵。 詳情。

另一便衣事件

世貿固然有

時間縫

今天買《誠品好讀》所以遲上了樓,於是連惠英紅最後一面都見唔到!!唯有睇下相啦。唉。時間是不夠的。明天想來也是去不到的了。 頂住呀尹一權!!

印尼巴里島的自創麥威廉貴過正版老麥?


Continue reading...

Easier Solaris patch management with pca

Every so often having comments on here really pays off. A commenteron my previous entry gave me a pointer to pca (Patch Check Advanced), anactual sane patch management program for Solaris machines; if you wantmore reasons to take a look, see my longer comments .

One of the nice things about pca is that it led me to the patchdiag.xref file, which is a big cross index of all of the Solaris patches, and to patches.sun.com in general. Patchdiag.xrefis


20060329網摘 – 信用卡消費模式

信用卡消費模式


Using threading to implement a 'busy' cursor (a tale from long ago)

A very long time ago, I spent a year being an Amiga programmer as partof a small team writing an application. We wanted it to have a busymouse cursor (the general hourglass 'this is going to take a while'cursor good apps put up during long operations), but what with one thingand another, we wound up with two problems:

  • we weren't actually sure what user actions would take a longtime.
  • we got to 'implement a busy cursor' rather late in the whole