套餐





無根?

昨晚跟一個以前的學生喝啤酒,他兩三年前畢業後到德國讀碩士,讀的是neuroscience,這個暑假重回小鎮家鄉住幾個月,之後便會再到德國繼續長住,讀博士去也。他似乎頗喜歡德國的生活,打算拿到博士學位後便留下找工作;他現在已

How Secure is Your Password?

My highest-level password (I have about 8 levels of passwords, memorized, then a couple levels that are even higher than the password below, but which I haven't memorized, so I can't use them that often):

How secure is your password?

Visit How Secure is My Password?


There is such a thing as too much SQL (a reminder to myself)

This is a very small war story.

I've spent part of today working on generating some reports from our IPtraffic accounting system. We have multiple internal networks that getNAT'd out different gateways, and what we want is a report (or a set ofreports) of the topindividual traffic sources for each gateway that did more than a certainamount of aggregate traffic in the day.

Our traffic accounting data is held in a PostgreSQL database. Since atypical day has around six to eight million records


Converting between IPv4 addresses and 32-bit integers in Python

When you write code that deals with IPv4 addresses, every so oftenyou wind up in situations where you want to convert addresses inconventional text form to unsigned 32-bit integers and manipulatethem in various ways (and then convert the results back to normalnotation). This is something I've been dealing with recently , so I've been working on this today.

Python doesn't have any standard library functions that directly dothese conversions. You can write your own code for this (but


破碎的擁抱


Broken Embraces 在香港譯成《情婦的情夫》而不依原名譯為《破碎的擁抱》,我認為是相當離譜的低劣手筆,簡直不可原諒。

西班牙大導演 艾慕度華 (Pedro Almodovar,一譯阿莫多瓦)這齣愛情片的確拍出深情,也拍出深度,我一直以來都喜歡他的作
Continue reading...

學術招牌的意義

梁文道近日有一篇 文章 批評中國的學術界和高等教育,有幾句說話真是拳拳到肉:

「我們今天有誰能夠保證一個中國重點大學博士的資格,一部大學出版社出品的水準呢?國家最高學術機構的成員可以涉嫌抄襲,重點大學的教授

EVA 2.22 DVD 歌曲歌詞

拿了之前預購的 EVA 2.22 破 DVD,贈品未有,先看影片,發現片中兩首歌除了有翻譯之外,竟然還是可以用廣東話跟著唱的,有點驚喜!(不過我忘了戲院看時是否一樣?)

《今天說再見》 希望到永久 當邊際給跨過後 仍是你最親


The great irritation of hidden access controls

One of the things that I really hate about modern desktop environments,specifically their graphical system administration tools, is thatthey are increasingly completely hiding their access controls andauthorization systems. I know that they have them, because theyhave some mechanism for doing various operations that require rootpermissions without bothering to ask me for the root password. Butit's become just about impossible to find them; what was once at leastvisible in PAM configurations has vanished into what I believe is atwisty mess of Kits (PackageKit,


反思的反思

陳雲早幾天在《明報》寫及Claude Lévi-Strauss的名著 Tristes Tropiques (中譯《憂鬱的熱帶》),又是 一篇文化反思的小文章 。我不會說這種文章沒有價值,因為反思總是好事,提醒人去反思也是好事;不反思,就難以意識到自己可能有的偏見和