Fansite
- 「國際影業」,這一年你做了什麼? Quote: 很多大型叮噹支持者的網站還是繼續關閉
HK
- 學歷歧視論:讀書黎做乜? Quote: 社會上是存在學歷歧視的,但不是用在職位上。例如你一開始就不願與某人做朋友,因為他無學位,所以認定

As a followup to my entry on the two sorts of languages , I decided to actually tryimplementing the string .find() method in Python to see how muchslower it is. The Python version uses the brute force C style approach,roughly:
for i in range(0, len(src)-len(sub)+1): if src[i:i+len(sub)] == sub: return ireturn -1
I actually did three versions, each with a different
Fansite
HK
My current personal version of Firefox is more than a little bit behindthe times, so I've been looking at upgrading to Firefox 3 (I compilemy own version with various hacks, and it's easiest to build from thebleeding edge CVS sources). As a result, I spent part of today tryingvarious of my essential extensions to see which ofthem still work.
Here's the current state of affairs:
(圖片來自 HKStories
這一陣子都沒有看別的漫畫,只買現在以潮珍版重出的《超霸世紀》,不是特別好看,只是一份情意結。這本書是逢星期三出版的,也算蠻搶手,因為書報攤對這些「經典書」,不會入很大量貨,通常都只會有四至
Here is a thesis:
There are two sorts of languages: languages where writing your own codeis (usually) almost as fast as using the builtin features, and languageswhere the builtins are an order of magnitude faster than doing the samework in your own code.
C is an example of the first sort of language; it is merely silly, notlaughably absurd, to reimplement your own version of strchr() . Pythonis an example of the second sort of language; it's utterly stupid towrite