主人話語(not in lacanian sense of course)

《女人天下》中,蘭貞以死相諫要文定皇后聽她建議,文定皇后怒從心上起,高聲道:「真是討厭,連我心裡在想什麼都猜不到。這種愚蠢的忠誠我才不要。我看你還是把毒藥吞下去吧!」

文定皇后平時的口頭禪:「你係咪癲左

20050817網摘 – 小心網絡私隱問題

私隱

服務


Parallelizing DNS queries with split

So there I was the other day ,with 35,000 IP addresses to look up inthe SBL to see if they were there.Looking up 35,000 IP addresses one after the other takes a longtime. Too long a time.

The obvious approach was to write a SBL lookup program that internallyworked in parallel, perhaps using threads. I was using Python and ithas decent thread support, but when I started going down this route itrapidly started looking like too much


Annoying RSS Feed Tricks

The RSS feed tricks that are really annoying me right now areall the different ways people have invented to serve partial entrycontent. Almost all of them are bad, plus the basic idea is bad too.

Serving partial entries implies that the blog authors don't expecttheir readers to be interested in most of their words (otherwise, whymake them go through extra effort to read them). The only good reasonsfor this that I can think of offhand are that very long entries orentries on a huge variety


Remember to think about the scale of things

One of the famous computer programming quotes is 'prematureoptimization is the root of all evil' (C.A.R. Hoare quoted by DonaldKnuth; attribution dammit (tm)).

A related issue is 'think about the scale of what you're planning'.A recent LiveJournal story provides a lovely example of this. To quote from it:

An increasing number of companies (large and small) are reallyinsistent that we ping them with all blog updates, for reasons Iwon't rant


練習又練習

最近文章量減少了,是因為 GBA 的演出在即,所以練習也密了,晚上回家通常都沒有太多時間,看過 Bloglines 後已經想睡了。而事實上這些日子以來,也有想過好幾個題目要寫的,所以全都 Draft 了 Points ,但並未動手。

正式演出的日子是星期四


風雨夜談

我們總是在風雨裡談及世界
涉及世界。靜悄悄
聲音便湧入如山洪
如遠處島上長年的天災
這麼多的事在發生
像午夜街頭蟑螂急行
像你與我的頭髮生長默默
開了岔,我們如何
把它們一一放進我們的對話裡。如何
是好

我們應當是在風雨

Things that could happen to your backups

In case yesterday's backup horror story didn't scare youenough, here's an incomplete list of things that have been known to gowrong with backups. Are you sure that none of them are happening toyour backups right now?

  • the backup program writes corrupted backups.
  • the backup program doesn't capture a usable system state becausethings keep changing even as it runs (databases are famous forthis).
  • the backup program generates incomplete backups, especially when runin incremental mode. For example, many

Check your backups

Backups have been in the geek news recently, courtesy of thechilling tale of the online comic Penny Arcade's backup failure .Making backups is important, but there's an equally important and farless appreciated piece: checking your backups to make sure that youcan actually restore them .

You may say 'but, I'm sure my system would scream a lot if somethingwas wrong'. Let me tell you a story about that.

Once upon a time there was a young and innocent systemadministrator.


20050815網摘 – 積了幾天的…

開工了

電影預告/新聞/