一樣的月光

昨晚跟老友聚,他是夏韶聲的 fan
他播了夏韶聲
2000 年的音樂會 dvd 跟夏韶聲齊齊唱
音樂會中蘇芮是表演嘉賓
她唱了一首歌「一樣的月光」
之前我曾經聽過
但沒有留意歌詞
今次看這個
dvd 時才認真睇歌詞

~~

很喜歡喎。

一樣的


Please leave IOError and OSError alone

From Lawrence Oluyede's blog entry about recent Python SVN updates:

  • urllib raises IOError if the servers response contains an invalidHTTP status line.

Augh. Wait, that's not strong enough, let me try again: AUGH .

In fact, it gets worse. To quote from the urrlib2 SVN sourcecode's comment about its URLError error class:

URLError is a sub-type of IOError, but it doesn't share any ofthe implementation. [...]

(urllib2 also directly


Weekly spam summary on March 31st, 2007

This week, we:

  • got 12,348 messages from 259 different IP addresses.
  • handled 17,799 sessions from 1,226 different IP addresses.
  • received 171,239 connections from at least 53,794 different IPaddresses.
  • hit a highwater of 28 connections being checked at once.

Somewhat to my surprise, volume is down again from last week , although the concurrent connections highwateris up a lot.

DayConnectionsdifferent IPs

An advantage of virtualization for license servers

One of the more subtle advantages of full hardware virtualization isthat your virtualized hardware always stays the same, no matter whatactual hardware you happen to be running on. This is a real advantagefor license servers, which are often nodelocked with various crazyschemes that assume you are trying to cheat on them if you changehardware.

(Sure, the company might fix the problem for us. If they're still inbusiness, still interested in our business, still having anything to dowith that ancient version of the


Link: you are what you code

From Robert Brewer comes You are what you code ,which has given me something to think about. I'll quote the opening:

Hey, you. Do you realize what you're writing? The long-standing ITjoke is that you always end up coding your own job out of existence.But what are you coding yourself into ?

(From Planet Python , where his blog isaggregated.)

Update: I apologize to my readers for putting a link here that doesn'twork without an extra,


A simple debugger feature that I would really like

Following up on my earlier thoughts about print based debugging , here's an easy debugger feature that wouldmake my life much better (and make me more inclined to actually usedebuggers):

Provide a way to record things that doesn't show them to me until Iask for them.

I'm not actually interested in reading the things that I print out, notright away; I'm just collecting the information so that I can look backin time at the program's state once the bug


Created functions and exception stack backtraces

There's a problem with functions that make functions: they obscureinformation in exception stack backtraces, because all of the createdfunctions have the same name. If you have a lot of auto-createdfunctions, just which one is blowing up and how do you tell them apart?

(I noted a similar effect with lambdas back here .)

A function's name is part of its func_code attribute, specifically func_code.co_name . Unfortunately this attribute is read-only, so you


Microsoft has another problem

As sort of a successor of a previous entry , here isa thesis:

Increasingly, people use Microsoft Windows not because they want tobut because they have to.

(There's various reasons they have to: they're forced to by theiremployer, they need to use programs that only run on Windows, such asIE or Microsoft Office or various computer games, or even because thealternative costs too much.)

This is a problem for Microsoft, because customers that are only usingyou because they don


樂生

搵番一首5年前同樣是因為清拆而做的歌
令人感到無奈的歌,是否只有消極
你又可在不同位置做點事?


快樂 樂生 - 青年樂生聯盟行動網頁
https://www.wretch.cc/blog/happylosheng

挺樂生萬人照片募集行動
https://www.pcschool.idv.tw/loshengunity/

sm混

What an Ethernet splitter looks like

Partly because I couldn't easily turn up any good pictures ofthem on the Internet, here's a picture of an Ethernet splitter in its natural habitat:

Ethernet splitter in a wall jack

(Full sized version here .)

The grey thing with the scratches in the background is the side of myoffice bookcase. Since this is a university, it is a dun metal one,hence the shade. (It may technically be some species of green. At acertain level of dull colouration, it becomes hard to tell.)

You will