First impressions of using DTrace on user-level programs

I've finally gotten around to trying out DTrace, and I have to say thatit actually is pretty cool so far. I haven't used it on kernel sidestuff, just to poke at user programs, for which it makes a nice printbased debugger ; it's easy topoint DTrace at a process and see what's going on (easier than attachinga debugger and getting anywhere in my opinion), and you have a bunch ofinteresting analysis options, none of which require you to


A performance gotcha with syslogd

Stated simply: many versions of syslogd will fsync() logfiles afterwriting a messages to them, in an attempt to make sure that the messagemakes it to disk in case something happens to the system immediatelyafterwards (crashes, loses power, etc). This obviously can have animpact (sometimes a significant one) on any other IO activity going onat the time.

On some but not all systems with this feature, you can this off forspecific syslog files by sticking a ' - ' in front of


昨日...


夏威夷度假驚魂 袁彌明甩Top走褲險葬海底


幼稚園時已略懂泳術的袁彌明,當年在赤柱讀書,因利乘便與大海結下不解緣,但她笑言對大海又愛又恨,因為有兩次險喪命,幸好最終吉人天相!

在赤柱讀 書的袁彌明(Erica)表示,學校有私人泳池,更規定每位同學學懂游泳,


Invention

We spoke about the fashionable buzzwords or clichés during lunch meeting the other day. Like so many geeks, I must admit, I hardly come to fall in love with the new thing. That being said, vogue words can be quite fun and that’s how they got to be vogue words.

Nowhere is the classical language in the Anglo-Saxon times more creative than the new clichés that are born every now and then. Well, obviously new words and phrases have to be born. The

一個香港,只有一個李智良

文題好不浮誇vulgar,眼看是到了「穿prada的惡魔」的層次。這是打造名牌的過程嗎?不,這是真正名牌的曝光時刻。磨劍十年,繼《白瓷》之後,今年出版《房間》,全城騷動。跟梁文道通電郵,他說:「李智良簡直是驚天動地,如

妥協的貓《朱門巧婦》(Cat on A Hot Tin Roof)


近 日迷上保羅紐曼Paul Newman. 本來找《朱門巧婦》(Cat on A Hot Tin Roof, 1958) 看, 只是為了了解故事 (因為我一向不太清楚Tennesse Williams原著的脈絡), 結果煲足一星期... 愈看愈覺得保羅紐曼年青時認真有型 , 演的又是血氣方剛、 不向
Continue reading...

呼之則來揮之則去

離開不屬於你的地方
只留給他們空酒瓶

One reason that it is so hard to challenge Google

Chris Linfoot has been reacting toCuil, and in the process he shows one somewhat unexpected reasonthat it is so hard for a new search engine to challenge Googletoday. Not only do you have to build the necessary software andinfrastructure, but it is crucial that your web spider be completely , utterly well behaved.

If your spider is not completely well behaved, peoplewill notice, talk about it, and then block you . This results in youhaving less data to build your search results on and likely worsen the


大眾意見調查

這兩位相中人像是同一個人嗎?
不要查,只要答。
Continue reading...