One reason why I like Unix

; uptime 19:33:45 up 264 days, 12 min, [...]; ps -e -o start,comm STARTED COMMAND  Feb 01 init[...]  Feb 01 X  Feb 01 xterm  Feb 01 fvwm2  Feb 01 wish8.4  Feb 01 exmh[...]  Apr 12 ssh[...]

I don't think long uptimes are an exclusive Unix virtue; everyoperating system can


A gotcha with Python and Unix signals

Python likes to handle things through exceptions. As part of this, onUnix it does two important signal changes; it ignores SIGPIPE andcatches SIGINT . Each of these can make a Python program reportapparent errors where a normal Unix command-line program would justsilently exit.

This matters if you want to write a Python program that will play wellin an ordinary command-line environment, alongside things like cat , sed , and awk .

First, people expect that they can ^C a Unix command-line program


砵蘭街 Love Music

最近也有練歌,今次唱的是《當電視機撻著左》,明天將會在 Love Music @ 砵蘭街巡迴路演 演出。因為時間緊迫,所以唱最簡單的 Percussion Part (敲擊是也) 。今次的故事充滿地道色彩,而且也有不同的人參與演出,看上去蠻好玩的。


20051021網摘 – 超級女聲

IT


免費虛擬電腦

vmplayer

VMW are 推出了免費的 VMP layer ,讓用戶可以在自己的機器上建立虛擬機,再跑另一個作業系統。這個 VM Player 可以開啟 VMW are Workstation, GSX Server, ESX Server, Microsoft Virtual Machine, Symantec Live State Recovery disk 做出來的 Image 。這個 VM Player 功能上相當齊全,網絡卡、光碟機、音效等等都可以「


How ETags and If-Modified-Since headers interact

Part of the fun of writing programs that deal with HTTP is decodingthings like RFC 2616 to answer somewhat obscure questions about how various thingsinteract. Today's case is the following question:

When can your web server generate a 304 'content not modified'response if it receives a request with both an If-None-Match andan If-Modified-Since header?

If-None-Match and If-Modified-Since are HTTP request headers usedto implement 'conditional GET'


MSNbot (still) has problems with binary files

Dating back to our first experiences with msnbot,the MSN Search web crawler, I've known that it was kind of crazy aboutrepeatedly fetching large binary files. Since then, we have pointedthis issue out to MSN Search people more than once and switched to using accurate Content-Types .Recently we had a week of MSNbot not refetching those large binaries,so it looked like MSNbot had finally been fixed.

So much for that. Since 7pm Wednesday night, MSNbot has fetched 3.1gigabytes of various


計計 Blog 價

趕一趕熱潮 計一計自己的 Blog 價,步驟如下:

  1. Technorati 搜尋自己的網站
  2. 看 Techorati Rank
  3. US$ 564.64 x 網站連結數 = Site link 價
  4. US$ 564.64 x 文章連結數 = Post link 價

本站的價格是:

Site link: 140 Technorati: 8,445 (424 links from 149 sites) Site link


寫 Blog 的熱情?

相信各位 Blogger 在空閒時,都會上搜尋器查找一下 有誰連結了自己的 Blog ,有引用了自己的文章。最近看到 達明開的新 Blog ,說小 Blog 燃起了他心中寫 Blog 的火,實在很開心,自己還有那麼一點點的感染力。記起之前也看過 充盈 – 再上路 一篇


我們

我是聽達明草蜢梅艷芳張國榮的歌長大的。

不不不,

從來沒有迷上過「四大天王」。

所以,

這夜的演唱會,

所有的歌曲都是那樣熟悉。

就算記不起歌詞,

也總會哼得出旋律。

喜歡看到蔡一傑在唱《失樂園》最後一句前的沉默,