NANA – 總有你鼓勵

nana_b2

之所以會看《NANA》,完全是因為其讚譽。入場時有點擔心,自己沒有看過《NANA》漫畫,會不會看得不明不白呢?結果這些疑慮是多餘的。電影裏兩個女生相遇相知,感情細膩,叫人感動。她們在人生和感情路上,都經歷不同的波


20051108網摘 – 香港的 Yahoo! Blog

web development


Fun with DNS: a semi-obscure problem

I just helped a friend troubleshoot a DNS problem he was having on oneof his home Linux machines. The specific problem was that Firefox wastaking a long time to start connecting to web sites; he believed itwas DNS problems.

I ran down some standard guesses:

  • maybe one or more nameservers in /etc/resolv.conf weren'tresponding, and Firefox was having to wait for lookups against eachto time out. But straight lookups with dig weren't delayed, so itwasn't that.

Examining Python's string concatenation optimization

In the comments on the other day's' minimizing object churn ' entry, it wasnoted that Python string concatenation had been optimized some in therecent 2.4 release of the CPython interpreter. The 2.4 release notessay (from here ):

  • String concatenations in statements of the form s = s + "abc" and s += "abc" are now performed more efficiently in certaincircumstances.

But what is 'more efficiently' and what are the 'certaincircumstances'? What does it


偽善.philosophical

prince.
You are the little prince.

Saint Exupery's 'The Little Prince' Quiz.
brought to you by Quizilla


竟然係咁。可惡。最憎做主角。philosophical你個頭,最後個條唔揀「You are more powerful than the finger of a king」,而偽善地揀了「What is essential is invisible to the eye」,背叛了精神分析的現實觀,仲搞到philosophical添。自食其果食

Weekly spam summary on November 5th, 2005

This week we received 12,872 email messages from 229 different IPaddresses. Our SMTP server handled 22,584 sessions from 1,544different IP addresses, which is significantly down from last week .

To go with it, overall connections are down a lot from last week : we only saw 93,950 connections from at least 31,000different IP addresses. I believe this is the lowest connection rateI've seen since


.....

潘志雄暫時因工作而死了
raidoblog也死埋
不過...
12月之後會重生
密切留意
謝謝關心

Minimizing object churn to optimize Python code

One of the interesting things about writing code in high level garbagecollected languages is how your optimization concerns can change. Oneoptimization in all GC'd languages, Python included, is minimizing thecreation of new objects and maximizing the reuse of old ones; thefewer new objects you create, the fewer cycles garbage collectioneats, the less memory gets fragmented, and you often even use lessmemory overall.

Minimizing object churn is behind several well-known Python(anti-)patterns, such as 'avoid repeated string


20051105網摘 – 微軟大動作

MS


聶魯達詩見comment

聶魯達詩歌朗誦會(Poetry reading:The works of Neruda)
為慶祝諾貝爾文學獎得主聶魯達誕辰101年及響應《情迷拉丁》文化節,由紫羅蘭書局主辦《聶魯達詩歌朗誦會》,誠邀本港詩人包括:鍾國強、杜家祁、陳智德、艾歌(結他伴奏)、葉