Frames were never necessary for menus and tables of contents

One of the big excuses for HTML frames, back in the days when anyonetried to use them at all, was that you needed them to do websiteswith tables of contents and similar things (I was reminded ofthis when a commentator sort of mentioned it in passing on here ). This excuse was always bunk.

We can see how much bunk it is by looking at pretty much any blog, whereyou will find things that look an awful lot like a table of contents(and menus and so on,


從詞彙貧瘠驗證社會反智(唐明)- 轉載自<信報>

2010年9月24日
新殖民誌

從詞彙貧瘠驗證社會反智

本月初,英國傳媒喜獲一卷彩色紀錄片段,攝於納粹瘋狂轟炸倫敦之際,由拍攝人的孫女捐出。影片所見,倫敦遍地頹垣,硝煙瀰漫,位於鬧市的百貨公司被炸掉大半

Warriors of the Net - IP for Peace [Funny Networking Video]

Click here to begin your journey into "the net:"

Some quotables:

  • "Mister IP packages, labels, and sends packages of information [to your computer]."
  • "AppleTalk packets—they're going against traffic, as usual."
  • "Ah, the router—a symbol of control in a seemingly unorganized world."
  • "The router switch plays fast and loose with IP packets—a digital pinball wizard, if you will."
  • "Out here [on the Internet], it's

Synecdoche, New York


看 Synecdoche, New York( 港譯 《 腦作大業 》 ) ,全因導演 Charlie Kaufman 的往績,他擔任編劇的 Being John Malkovich Eternal Sunshine of the Spotless Min d 都是我極喜歡的「用腦」奇片。我對他的想像力甚有信心。

Synecdoche, New York 是他首次執導的電影,他把故事說得有點複雜,有點灰暗,劇


感謝作者

不知大家看完一本好書之後,會不會覺得應該感謝作者?(感謝他/她給你提供了優質的精神食糧,刺激你思考,令你知識增長了,或讓你對人生世事有更深入的了解。)

出書而名成利就的人畢竟不多,一個人寫了一本書,出版

Why things should be in Python's standard library

There's another advantage of having thingsin the standard library: if they're in the standard library, they'llget used. This is what you want when the standard library module is theright solution to its problem (and a terrible idea if the module is abad solution), especially when there are worse alternatives.

There are a lot of problems that have a few good solutions and a lot ofbad ones; a classical example is parsing XML (using regular expressionsversus a real parser)


拖延症

我是拖延症患者。

事情總是拖到最後才完成,越是重要,排得越後,也許因為我們做事永遠有一種錯覺,以為底線能夠提高專注,增加效率,刺激創意;情況有如閱讀,空閒的時候總不容易安定下來好好讀書,但坐車、等候、準

Allowing anonymous IP-based access to content with Boost, subscription model

On the St. Louis Review website ( case study here ), which offers much of its content based on a subscription model (you must be a subscriber to access the 'premium' content), we wanted to allow those inside our network access to nodes that were marked 'subscribers-only', without having to log in to the website and maintain a user account. Here's how we did it:

1 - Modification of Custom Subscriber Access Code

Our site uses hook_nodeapi() to limit access


Bad / Annoying IP Addresses

From time to time, there is a very disobedient/annoying computer or set of computers that annoy the heck out of me online—usually by attempting to bring down one of my websites, or by trying to access hundreds of vulnerable locations (which makes my server return a bunch of 404s) on my server.

For information on different IPs, I use the online IP information lookup tool at robtex .

Anywho, to cut a long story short, I will list the IP addresses and reverse


The Expendables



In the days without girlfriend, I can only go in the threatre alone. I dare not to watch Going The Distance by myself - so my weekend dessert turned into another extreme - The Expendables by Stallone.

Judging only by the starring cast, the movie starts with a baseline rate of at least 2 stars. From the ever-energetic Stallone, to Jason Statham, Jet Li, Dolph Lundgren, and my favourite Bruce Willis (also Arnold Schwarzenegger). Indeed, the testosterone level remains skyhigh throughout the two hours -