最近在讀一本叫《 電影中有趣的科學 》的科普讀物,相信大家從書名已可以想到本書的內容是甚麼了。本書會說出電影中種種的科學錯誤,如在《Jurassic Park》裏的大部份恐龍其實是生於白堊紀,《Contact》裏的蟲洞之旅的時間概念錯了,
A robots.txt surprise
Because I don't really like banning MSNBot , MSNSearch's web spider, I decided to drop our ban and see if its behaviorhad improved since last September . The process ofdoing this has led me to a little surprise about how at least MSNBotmatches User-Agent lines in robots.txt .
From looking at our logs, I already knew that MSNBot was still visiting;it pulled robots.txt at least once a day. So all I needed to do waschange robots.txt so that
記得。記得。
政府把起訴
Unicode is not simple
Unicode is very big these days, and there are a lot of people who willtell you that Unicode is simple once you take the effort to understandit and that you're a parochial spud if your new program doesn't supportit. Unfortunately, only simple Unicode is easy.
The simple vision of Unicode is that once you have your data inUnicode, you're just dealing with characters and your program canjust do stuff with them as normal. Okay, case and collation is hard , but there
舊屎啲嘢
20060228網摘 – Google Calendar?
On the Web
- slash/links 可自己重新打造 del.icio.us 的外觀
- iOutliner – Organize your ideas. 在線 Outliner 來管理工作、意念、點記等等
- Logahead – Just blog. 簡單易用的 Blogging software,沒有 Admin Page,直接在 Blog 上寫文改文加 link
- NetJaxer 幫你替 Web App 安裝快速捷徑, menu, startup 等等,就如普通軟件一樣
Javascript
活在鹹潮中
A sad day for SGI: it's now a spammer
I once quite liked SGI and have been following its slow decline witha certain regret. But I did not expect to see this day come; SGI hasbecome a spammer.
Not directly, of course. Large corporations (which SGI still is, sortof) don't spam people directly. Instead they hire specialized placesto do this for them, like the well known (one could say 'infamous')Responsys Interact.
SGI might argue that we have previously been an SGI customer so theycould spam us
Practical RAID-1 read balancing
If you're doing performance analysis of a RAID-1 setup, one of theinteresting questions is 'which drive gets read from when?'
(Measuring how balanced the current IO load is is useful, but it doesn'ttell you how a changed load will affect the balance.)
Since seeks are the expensive thing on modern drives, you want yourRAID-1 system to deal in requests, not in individual blocks, and to senda sequence of sequential reads off to the same disk. If
A surprising effect of RAID-1 resynchronization
Today I got to run into an interesting performance impact of having aRAID-1 mirror resync running on a big partition of a live system.
An important system was having performance problems today, so we werepoking around it. When we watched the disk statistics, we noticed thatonly the first disk was seeing read traffic; the second disk was loafingalong with just occasional bursts of writes. Looking more closely wenoticed that a RAID-1 resync of a big partition was in progress; becausethe system was loaded