Why directory URLs have to have trailing slashes

Web servers and many web applications are quite insistent that URLs thatrepresent 'directories' have to end in a slash; if you request the URLwithout the trailing slash, they just give you a redirection to the sameURL with a slash on the end instead of the actual content. One mightwell wonder why they have this neurotic insistence, especially when it complicates URL rewriting for applications thatcan do whatever they want with incoming URLs anyways.

(The other side of this question is whether web applications have tocare about


Mahjong in Saki

One of the things that strikes me about Saki is how unimportant theactual mahjong games are. While it matters who wins (and sometimeshow powerful their win was), the show pays almost no attention to theactual process of playing and winning. This is especially striking inthe past two episodes (6 and 7), where the show has been focusing on atournament.

(Sometimes we get a little bit of dialog about strategy issues.)

This is rather unusual for a nominal sports anime, but does mean


完全同意茜茜莉亞

轉載自茜茜莉亞共和國:
https://choicecilia.spaces.live.com/blog/cns!EA55593E0331507E!1929.entry

昨晚在家裡和媽媽一同看電視, 有一個呼籲女性注射防子宮頸癌疫苗的廣告, 開始是一位病人, 在床上哭, 旁白大意

說話

大多數人都喜歡說話,當中原因不難明白。

大多數人都不知道自己不能專心聽別人說話,這也不難理解。

最詭異的情況是喜歡說話的人不明白自己說的都是廢話,他說話的時間越多,大家的時間就被浪費得越嚴重。無法專心聆聽

統一搜尋介面?

Mozilla 常有新點子。早些日子 (也真是相當早了…),他們介紹了 的概念,想將一些經常做的動作化為語言般的指令,直接將 URL 欄當成指令輸入的地方。感覺上就好像將 搬上 URL 欄,但玩過他們做的 ,感覺又有些不一樣。

在那個 Mockup 裏,


Some notes on rewrites in Apache .htaccess files

Since I keep rediscovering this every so often, here's what I know aboutrewrite rules in .htaccess files so that I can just read it here thenext time around.

Some basics:

  • you need a ' RewriteEngine on ' statement, even if the rewrite engineis already on in the main configuration.

  • the 'URLs' that you match against in RewriteRule are relative tothe directory the .htaccess is in. However, Apache variables like %{REQUEST_FILENAME} that you use in RewriteCond are the full

PPHK2 隨想

的主題是「宅之前傳」,談的是老一代香港互聯網,也就是那些 BBS , Usergroup 年代的事。看歷史能知發展,也能與當今作個對比。

不難看到是次主講主要分為兩類人:討論社群用家 (港娛, hkdays, HKiBBS) 和流動裝置用家 (Newton, pda, palm)。早


創作中

他有時會懷疑自己的存在
並且接受別人對他的懷疑
沒有人會了解這樣的惶惑
無論如何努力都變得多餘

內地看不到youtube的朋友,請...

移師玉步到新開張的sina blog

https://blog.sina.com.cn/yuenmimingblog

你關心國際關係嗎?



一旦在澳門生活的日子夠久,你就很容易學會澳門人的思考方法。一旦你習慣了澳門人的思考方法,你就很容易堅信澳門這個小城所發生的事就是世界大事,你在澳門的所見所聞就理應是國際新聞。我的意思是:澳門人很容易誤