tue night 生活著數台 LIVE


How I split up my workstation's disk space

There's a lot of different ways to partition disks and split outfilesystems. Mine isn't necessarily the best one, it's just whatI use, partly because I am cautious and conservative.

My workstation has two disks, partitioned identically and generallymirrored. I split the filesystems up like so:

  • /boot is a separate and non-mirrored filesystem. I have a /boot2 on the second disk which I synchronize by hand every so often (usuallynot, to be honest, which is

「回到起點」

“一個民族需要的是精神的天空,特別是在一個物質主義的時代。沒有想像與激情,一個再富裕的民族也是貧窮的,一個再强大的民族也是衰弱的。在這個意義上,《今天》又回到它最初的起點:它反抗的絕不僅僅是專制,而是

Burn After Reading


繼續跳舞

繼續跳舞

《信報》要我寫聖誕及新年願望。但我Daisy從來不許什麼願望,今次如果硬要我因為交稿而許個願,fine,我希望錢由樹生出來,從天掉下來。這就是我的願望。所謂「許願」,本身就是這麼不切實際的一回事。

對我來說,

明報轉載

觀點相近:

周日話題﹕的士政治經濟學

書到用時﹕純道歉與團隊迷思


Media Watch﹕請問,亞視的品牌價值在哪?

How to help programmers (part 1): the os.listdir() problem

How to help (Unix) programmers: silently omit data under certaincircumstances. From the Python 3000 release notes :

Note that when os.listdir() returns a list of strings, filenamesthat cannot be decoded properly are omitted rather than raising UnicodeError .

(Background: in Python 3k, os.listdir() is normally called with adirectory name that is a str Unicode object.)

Yes, os.listdir() had problems , butthis is not a solution; this is making


One of Python's problems with packages

One of the problems with Python's current approach to CPAN-like packagesis, to put it in a particularly blunt way, that it hasn't quite sunk inthat not everyone has root.

(I am aware that Python doesn't have an approach to packages as such;it's all done by distutils et al, although distutils is part of thestandard library. That's part of the overall problem.)

Oh, sure, you can use distutils to install packages in places besides


學習攻擊 贏得寵愛

(此為原題,刊出時編輯改為「青春有悔?」。長句、長句、長句。長句是積年已久不可回頭的情感如纍纍危卵如乾涸河道。)

話說九十年代,台灣報界和文學界,有一風頭小子名曰「大頭春」,在中時晚報上有個反應極佳的專

On line endings and honesty

Dear software, I have a small and simple request, from a working systemadministrator:

Please stop pretending that \r\n and \n are the same thing.

That is, please stop pretending that MS-DOS line endings and Unix lineendings are the same thing, because they are not. Pretending that theyare is one of those collective hallucinations that only work if absolutely everyone is playing along. Sooner or later(usually sooner) you will run into a program that does not play along,and things