香港開始在今年進行高清數碼廣播,但可能因為家中電視並未支援,所以也沒有甚麼感覺。但最近 Youtube 試行高清,卻令我時不時走上去搜尋一下「720p」,看看有甚麼高清影片,驚嘆一下科技之神奇。果然還是偏心網絡嘛….
Bump
It didn't take me long to realize the reason.
For those of you who haven't read the children's literature of Mr. Men, Mr. Bump fell out of his bedroom window and bumped his head, leaving him wrapped up in bandage and loss of his memory. He keeps his looks after the injury and just
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:
/bootis a separate and non-mirrored filesystem. I have a/boot2on the second disk which I synchronize by hand every so often (usuallynot, to be honest, which is
「回到起點」
繼續跳舞
《信報》要我寫聖誕及新年願望。但我Daisy從來不許什麼願望,今次如果硬要我因為交稿而許個願,fine,我希望錢由樹生出來,從天掉下來。這就是我的願望。所謂「許願」,本身就是這麼不切實際的一回事。
對我來說,
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 raisingUnicodeError.
(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