Python's dangerous automatic Unicode conversions

I'm a little bit late to the Unicode in Python debate party; Ian Bicking and others were writingabout it back in early August, for example here and here .By now, lots of people around the Python blog community have weighedin on the high-level issues.My grumbles about Python's Unicode support are more low-level, likethe problem with Unicode in hashes that Ian Bicking found.

Specifically, I think that Python is too helpful with automaticconversions between Unicode strings and byte strings,


20050828網摘 – 我沒有 MSN

我支持… 可是我連 MSN 也沒有

網絡評論


不驚嚇的長途嚇機

redeye3

《長途嚇機 Red Eye 》出手自 Wes Craven ,其最為人熟識的是其《奪命狂呼》系列,將驚嚇和懸疑共冶一爐,拍得夠驚夠怕。不過在這一班長途嚇機裏,並沒有什麼嚇人的元素,故事出奇地十分簡單,不太懸疑,劇情都在預計之中。

坐上飛


好男仔

浩二 寫《尋秦記》,令我想起《尋秦記》一件令我很氣憤的事:它把信陵君寫成奸角!當年看《史記.魏公子列傳》看得眉飛色舞,一整個星期都覺得自己一定要打電話給這個人約他出來吃飯。與流行文化計較史實這些很無謂,

Weekly spam summary on August 27th, 2005

The overall SMTP connection rate is up from last week , as we hit 213,000 SMTPconnections from at least 36,000 different IP addresses.The SMTP frontend hit a new highwater of 22 simultaneous connectionsbeing checked at once. It's possible that a lot of this is from spammersforging our domains as the MAIL FROM of their spams.

Top 10 kernel level SMTP rejections:

Host/Mask           Packets   Bytes213.4.149.1

How not to package software in RPMs

I spent today wrestling various pieces of commercial software into ourFedora Core 4 auto-install environment. In theory this should havebeen fast and dirt simple, because all of the vendors had thingspacked up in RPMs.

In practice, most vendors produce RPMs that are glowing examples ofhow not to package your software in RPM form. Instead of creating RPMsthat are fully installed software, they generally create RPMs that arelittle more than lightly packaged up files and then add huge amountsof post-install scripts to shuffle everything


人神鬥馬後炮

mic

因為有同事有 now.com 的關係,終於都有機會聽到「人神鬥」裏 GBA 演出的那一部份了,聽上去應該是第一晚的錄音來的。我覺得唱得還算可以,但不算好。

我自己唱的 part (Baritone) 真的完全聽不到,而整個背景 Harmony 好像不夠強。這主要是


必然的結論

「她們」跟我的分別不在於性情、思想,甚至於不在於行為,而只在於際遇。

不幸地,她們只是在我們的社會中,遇上整天在虐待他們的成年人,包括老師、家長,於是他們用他們不知道合法或不合法的方法,提出反抗。我們的

你覺得哭泣與打人是什麼

在電視上偶然看到,全運會剛改了規例的摔跤項目,湖北隊的選手兼教練員王心軍因為不服裁判,因而用計分牌追打裁判。而輸掉比賽的運動員吳雷,坐在比賽席上不肯離開,當然哭了。在另一場比賽裡,熊倪作為湖南隊的領導

Two faces of RSS

I recently came to a realization that RSS (and syndication in general)has two faces:

  1. notification of new information
  2. rearranging information from feeds

This neatly explains something that's been puzzling me for a while:why I find RSS sometimes very useful and sometimes very irritating.

Notification works great, except for web sites that already update asfrequently as I normally read them. (For example, Slashdot, which Ionly browse once or twice a day. If my RSS reader were to tell me thatSlashdot had no new