Using Unix domain sockets from Python

Using Unix domain sockets from Python's socket module is prettyeasy, but underdocumented. Since I've done it (and I may want to doit again sometime):

  • you need to create the socket with an explicit family of AF_UNIX .I usually go whole-hog and explicitly specify SOCK_STREAM as well.

  • the address argument to .bind() and .connect() is the path ofthe Unix socket file. For .bind() , the file can't already exist

我的初吻

這不是一個甜蜜的故事。

初吻,理所當然,給了初戀情人。

那一年,我二十歲。

男友比我大十年,經驗老到。

小情侶手拖手回家,在我家樓下的鐵閘外,他毫無先兆的,就這樣吻下來。

那是一個很長的吻,由不知所措,到懂得配

仍然未搬得動屋的一次過

1.
文明單位:中文
嘉賓:雷競旋

節目外推介: 陳光興《去帝國:亞洲作為方法》
殖民問題現在在香港的狀況是這樣:除非特意很專注地去談,否則它永遠是被壓到最低難以提及的。而特意很專注地去去談呢,又感覺過於學院而

Things I did not know about until recently: Ethernet splitters

Real cat-5 wiring, such as what they run through the walls of buildings,has eight wires; 100 Mbps and 10 Mbps Ethernet use four wires. If youhave fixed cat-5 runs that you can't afford to add to, and you reallyneed additional ports in places that already have one, and you can'tafford to buy switches, you can take advantage of this to double uptwo Ethernet ports onto a single cat-5 run.

That's an Ethernet


人間的證明


終於看了家中最後一齣松田優作的電影,感覺真好。

這是1977年的作品,松田應該出道不久,雖然也有一股冷酷的氣勢,但卻不及後來的《復活金狼》強烈。

故事改編自森村誠一的推理小說,當年是暢銷書,我發現這家角川

Things I have learned about effective sysadmin meetings

We've recently started having some regular meetings at work, which hasgiven me an opportunity to look back at past meetings and reflect onwhat I think does and doesn't work in meetings for system administrators.(Note that I am pretty sure that some of these do not generalize toother sorts of meetings.)

Meetings can be an efficient way of holding discussions, but you needsomeone to corral the digressions. They are not usually an effectiveway of giving status reports, unless the status reports are really


我的小花園

我家門口的隔壁,另有一扇門,是通往後樓梯的。

後樓梯並非密不透風的那種,有窗臺,有陽光,有星夜,有微風。

因為保安員每日定時巡邏,和我那有嚴重潔癖的媽媽經常打掃,後樓梯簡直是一塵不染。

後樓梯成了我的秘密小

科學怪人與小木偶

Bicentenial Man

艾西莫夫 (Asimov) 機器人系列 小說裏,經常會出現「 科學怪人情意結 (Frankenstein Complex) 」一詞。「科學怪人」當然是源自於被稱為西方第一本科幻著作: 瑪麗‧雪萊 (Mary Shelley) 《科學怪人》(Frankenstein; or, The Modern Prometheus) ,書中主角 Victor Frankenstein 發現了生


甲的另一個名字

幾年前
在某個島上發生了一件事
有甲有乙有丙有丁有戊
丙、丁、戊因為甲而走了
之後
甲也走了
最後只有乙留在這間屋
看守著屋內的樹

這時段時間
樹,成長
花,開著。
.................

幾年後
甲回來向乙說﹕樹

他的小故事

男孩子在中三那年,遇上了一個女孩子。女孩子就讀他隔鄰的女校,樣子長得很像柏安妮。每個上課天,他們都乘坐同一班巴士,女孩子比他遲一個站上車。男孩子偶而看著女孩子的一舉一動,她溫習她看書她寫小字條。

然後,