代言,或者失焦

我一直記得福克納的一段談話,他說:我們都不能達到自己的理想,所以他評估作家時,根據的便是我們「知其不可為而為」的光榮失敗的程度。在福克納的眼裡,如果能重寫自己全部的作品,相信會寫得更好,這是藝術家最健

北京公幹生活


24日中午,赴京公幹,約三小時的飛機旅程,讀書一小時,工作兩小時,很累。晚上,入住東方君悅酒店,先進行一輪聯繫工作,之後躲在房間為開會的事做準備,對於可以見到闊別幾個月的合作伙伴,有點期待。
工作完畢,
Continue reading...

A helpful Apache safety tip

This is a two part safety tip:

  1. most things that roll Apache logfiles SIGHUP Apache to get it toclose and reopen the logfiles
  2. when Apache is SIGHUP 'd, it closes its current set of sockets andtries to listen on the set that its configuration file says itshould use.

So, if you have changed Apache's configuration of what it should listenon, and something else is currently camped on one of those places,something that is scheduled to be killed off during an impendingreboot, and your logfiles


Weekly spam summary on March 25th, 2006

The basic volume numbers for this week are that we:

  • got 19,744 messages from 236 different IP addresses.
  • handled 19,083 sessions from 955 different IP addresses.
  • received 139,156 connections from at least 43,459 different IPaddresses.
  • hit a highwater of 31 connections being checked at once.

We got more emails this week than usual mostly because of a small mailloop explosion during the week that added several thousand


巴里島的SPA 及溫泉回憶

Continue reading...

塵世囂囂

後來王仙客就帶著他的人離開了宣陽坊,繼續去找無雙。到底找著了沒有,我表哥還沒告訴我。但是他說,掖庭宮是皇宮大內,王仙客雖然 IQ185,也很難進去。但是無雙在那裡,不管她想開想不開,生命是有保障的。假如宮

享受

上帝賜予我們肉身,

是用來好好享受。

所以,

男歡女愛吃喝玩樂肉身歡愉屬靈感覺良辰美景通通不應放過不要錯過。

為甚麼要怕那些蜚短流長?

那些拘泥的人,

他們根本不知錯過了太多。

啟事

搬家
改電話

有事情請暫以電郵聯絡:t_for_thesis@yahoo.com.hk

A little gotcha with os.path.join

For my sins, I am one of those people who doesn't always read Python'sfine documentation carefully enough. For example, I wrote a large chunkof code using the helpful os.path.join() before I noticed a littlegotcha: it's very helpful. In particular:

Joins one or more path components intelligently. If any component isan absolute path, all previous components are thrown away, andjoining continues .

(Right there in black and white in the fine documentation .)


Setting up to build RPMs

There's three ways to build RPMs: the silly way, the easy way, andthe better way.

The silly way starts with /bin/su root , which should be enough of a warning sign. You really don't wantto be building and installing packages as root unless you don't have achoice, and you do.

The easy way is:

$ cat >$HOME/.rpmmacros
%_topdir /some/where
^D
$ cd /some/where
$ mkdir BUILD