我的敗家生活


近來自閉症發作時時想著躲在家中
迷戀佛洛伊德沒頭沒尾的讀著性學釋夢和精神分析的篇章很好玩
年紀大了就會追尋年輕時喜歡過的事物
很任性的買東西即使在家中也可在網上書店大出血
搜集我近日喜歡的郭松棻小說還訂了張大

當年的小新風波

SiuSun

看到 小丸子拍真人版 ,想起另一套「人細鬼大」的《蠟筆小新》,當年曾有過的色情漫畫小風波。

《蠟筆小新》的內容是什麼,相信不用我多說,寫的是一個貪玩的小朋友世界,沒有天天真真的童話,但有抵死現實的育兒笑料。


備份與還原

點算過後,所有 Blog Entries 都完好無缺,不過格式不一,包括:

  • 由開始至 2005年 11 月尾,MovableType 格式和靜態 HTML
  • 由 2005 年 11 月中 到現在, Bloglines 存檔 和 Rmail Gmail 戶口的備份

之前在測試新版面的時候,有將整個 Blog 下載回來,包括由開始到


The dynamic linking tax on fork()

Most people will tell you that dynamic linking is an unalloyed good, orat least that any effects on performance are small (for simple programsthat don't cascade to a huge set of shared libraries). This isn'tnecessarily so.

A long time ago, back when dynamic linking was new and people weresuspicious of it, I conducted some timings of how dynamic linkingaffected the speed of fork() . To my surprise, the impact wassignificant, and on the hardware of the day it was


Why dynamic linking

Originally, shared libraries and dynamic linking was sold as the way tomake (newly) bloated libraries tolerable: you'd only have one copy ofthe library on disk and in memory, no matter how many Motif applicationsyou had running. (Motif in specific and GUI libraries were really theoriginal poster boys for shared libraries.)

As R. Francis Smith notes in his comment on my previous entry , these reasons are not entirely relevant any more.Disk space is cheap, and (although I haven't


20060310網摘 – 保護我們的山城

雖然死了機,但網還是繼續摘~

新新服務


Server 死 Hardisk

大家好,我是網絡暴民 Jacky!

有來我的 Blog 的 原址 的話,就會發現「There is no website configured at this address.」。而事實上,據我了解,是 Hosting 公司裏的 server 死了 Hardisk。

Hosting 公司本身應該有做每日備份的,弟今天打電話到 Hosting 公司裏問他們,原來他們已經拿備份來


Closures versus classes for capturing state

Possibly like a lot of other people, I have a 'thread pool' Pythonmodule for doing decoupled asynchronous queries of things. The basic interface looks like this:

wp = WorkPool(HOWMANY)for w in what:  wp.enqueue(wrap_up(w))wp.waitDone()res = wp.getanswers()

The important operation is .enqueue( ) , which queues up to be called in a worker thread; its return value is saved, tobe


Making things simple for busy webmasters

It's always nice when people's software saves me from having to wonderif they're up to no good by handing out obvious signs of it. Take, forexample, the spate of people whose web crawling software advertisesitself by having the User-Agent string of:

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Evidently no one told them not to stutter. (There are a couple ofvariations in what they claim to


Thinking about project failures

Via a link from MiniMsft 's latest entry ,I wound up reading this item on hiring people. In it I hit an interviewer question I realized that Iprobably wouldn't pass:

6. I will ask you in an interview to describe a project you worked onor effort you made that failed - partially, completely, and miserablyare all OK for response fodder. If you've worked for a substantiallength of time in IT, you've been part of at least one of theseturkeys.