A downside to syndication feed readers respecting permanent HTTP redirects

In theory, well behaved syndication feed readers are supposed to noticewhen the URL that they are polling changes; when they see a permanentHTTP redirect, they should update the feed URL. I recently ran into adownside to this behavior.

One of the online webcomics sites that I read bits of recently failedto renew its domain name in time. While the domain name was overdue forrenewal, the registrar redirected all URLs on the domain's website to amore or less generic domain parking and advertising page on a


何韻詩網上徵召Super Heroes急急如律令?

早略有聽聞何韻詩今次這張新大碟的主題是玩Heroes這條大橋,但無諗過佢會玩到咁大。

無錯,何韻詩今次在網上公開召集五湖四海的超級英雄,一起參與拯救地球(查實係有機會成為佢MV內的角色)。

這支網上徵召Super Heroes的短片,除


台山之旅‧二


第二天動身去尋找碉樓. 首先到開平附近的赤坎古城. 赤坎這個名字也實在過癮. 普通話拼音為Chikan, 熟悉日文的朋友自然知道這也是「 癡漢 」的意思.

赤坎的建築也受到西方風格的影響. 這片街的建築, 很像小時候從國貨公司買
Continue reading...

Pix from Mi Ming Mart Grand Opening~

Mi Ming Mart Opening 20090802

台山之旅‧一

Art School同學阿Bo家鄉在台山, 鄰近 開平碉樓 近年成為「世界文化遺產」. 月尾正想小休數天, 慶祝HD畢業, 我倆決定自由行. 阿Bo回鄉賀壽, 先走一步. 剩下我自行乘坐近五小時的直通巴士, 從香港到台山...


到埗後到處逛逛.
Continue reading...

隨便寫寫

我用google的閱讀器訂閱了過百個別人blog,儘管每日都會讀到其他作者更新他們的blog,但其實很有一種“沒落”的感覺了,可能大多數人在facebook消磨時間交朋結友覺得更快活,也許不久的將來,寫作又變成只是傳統作者的事了,全民都

今日新聞


Continue reading...

更好的男人,點都唔及得上成排吉百利咁好?

我身邊不少朋友都對我曾經介紹過的英國吉百利電視廣告(兩個小朋友跟著音樂慼眉)媽聲四起,今次為大家介紹的這個系列,來自阿根廷,希望大家不會覺得太無厘頭(查實我卻獨愛無厘頭)。a

這系列廣告概念簡單直接卻有


Limitations on custom NFS mount authorization on Solaris

As it turns out, there are some limitations with our custom NFS mountauthorization hack that we've discovered.First, Solaris 10 puts some security restrictions on what mountd cando; the specific bit that we ran into is it can't fork() and exec() shell scripts. Mountd can make outgoing socket connections, so we gotaround this by putting most of the complex work in an inetd-spawned'daemon'. (There is probably a way to turn this security feature off,


What you can't do before you drop setuid permissions

Let us suppose that you have a program that is setuid root but thatusually drops its setuid status and reverts to running as the user thatran it. Of course you want to do this as early as possible to reducethe potential security risks, but at the same time you might want dosome operations while still root (for reasons of either necessity orconvenience in your code structure).

Consider the following tempting sequence, presented in pseudo-code:

chdir(pw->pw_dir);
drop-