在讀完自己的 Bloglines 後,通常會會逛 Blog-you 和 OUI 看看聯播碰碰好文,也會看看近期有 Bloggers 推介的文章。而近來又有一個好地方可以逛了: MySinaBlog 。
MySinaBlog 的圈子裏氣氛都相當不錯,出產不少好文章。在其首頁裏,有「奇文共賞」和「熱門話題」
在讀完自己的 Bloglines 後,通常會會逛 Blog-you 和 OUI 看看聯播碰碰好文,也會看看近期有 Bloggers 推介的文章。而近來又有一個好地方可以逛了: MySinaBlog 。
MySinaBlog 的圈子裏氣氛都相當不錯,出產不少好文章。在其首頁裏,有「奇文共賞」和「熱門話題」
Python calls the __len__ method on your objects to implement len() , and in a few other situations (for example, as one way ofiterating through the elements of a sequence-likeobject). Surprisingly, there's an under-documented restriction on whatyour __len__ can return: objects can't be larger than sys.maxint .
In fact, it's stricter than that: your __len__ method must returna literal integer. You
最近又在想如果要做一個 Podcast 的話,應該做些什麼好。我認為 Podcast 如果有一個明確的主題的話會更好,可是自己又怕煩又怕沒有恒心長/定期做一個主題,所以暫時想不如做一些幾集的「專題」的 Podcast?正所謂做生不如做熟,暫時想到
Today's excitement came from trying to bring a local network daemonfrontend up and running on a FreeBSD machine. It would spawn programswhen you connected to it, but they always exited immediately afterthey printed their greeting banner; it was as if they were seeing animmediate end of file.
FreeBSD's ktrace revealed that when the spawned programs went toread from standard input, they got an EAGAIN result. Fortunately I'vestubbed my toe on this one before: this is the exact symptom of yourstandard