A Solaris 8 make bug

; cat Makefilefoo : /tmp/bar	touch foo; mkdir /tmp/bar; maketouch foo; make`foo' is up to date.; touch /tmp/bar/t; make`foo' is up to date.; gmaketouch foo

As ' make -ndd ' shows, for some reason Solaris 8's version of makedecides that directories always have a timestamp of 0. It knows thatthey exist, because if you remove /tmp/bar it complains aboutit.


An Internet rule of thumb

Any Internet protocol change that requires everyone's participation isdead on arrival.

This often applies to would-be antispam efforts such as SPF .

(Superficially, SPF looks like it is an isolated thing that onlyinvolves the sender having SPF records and the receiver checkingthem. It's not, and the way it requires everyone's participationis illustrated by the need for the Sender Rewriting Scheme .)


反躬自省

作為字詞驗證白痴的我今日貼文時,突然出現「字詞驗證」的要求,並赫然發現解釋中有以下文字:

Blogger 的垃圾 blog 阻擋漫游器已偵測到您的 blog 有垃圾 blog 的特徵。 ( 何謂垃圾 blog? )

嗯,真要反省一下自己做過些什麼了。本blog留言量自

First irritations with Fedora Core 6

In the tradition of previous entries , some firstirritations with Fedora Core 6. All of this is on an x86_64 upgradefrom Fedora Core 5 on a machine with a stock configuration and stockGUI, and is mostly about the upgrade process.

  • I had to manually specify noapic on my hardware. This is not toosurprising, since the regular FC5 kernels now need it, but the FC5install kernel was fine without it.
  • at least if you have a non-RAID root device but

A brief Exim observation

Life probably would be easier if the people behind Exim's string expansions hadjust been able to write a Lisp. Unfortunately that might have createdsome irrational prejudice against Exim, so I can see why they needed todisguise what they were doing.

(It would have been a pretty mutant Lisp. But mutating your Lisp isalmost de rigueur.)

Of course, I must include a pointer to Greenspun's Tenth Rule ofProgramming .


前所未有的預告.經常性的後悔

前所未有的預告!請大家收聽今集「文明單位.煙」!是我印象中節奏最快的一集,也總算對這個城市單元的禁制文化,盡一點讀過書的責任。有書有火,推薦!


薦文。香港文學節完了之後一度一肚子火,想要寫一篇「文學節,

邊度有唱片

返工時想放假,放假的時光其實沒有什麼節目。作為一名悶蛋,我最大的娛樂就是逛書店。一般來說是一個人,靜靜的讀,靜靜的挑選,然後捧幾本書回家,可能跟那些書最快樂的時刻,就是在書店內的相遇。

以前澳門買書很困

誠徵birthday partner

誠徵birthday partner一名:

1. 男性

2. 以才為貌

3. 年齡國籍不拘

4. 大專學歷以上

5. 具幽默感

6. 懂得製造話題

7. 自備現金或credit card

8. 略懂table manners

任務:

陪伴birthday girl渡過一個生日晚上

酬勞:

回贈晚餐一頓及精美禮品乙份

妄想

這齣戲,

值得一看。

任誰都知道太過偏執不是好事,

懂得抽身的有幾人?

痴心變成妄想,

不會得到憐憫,

盡頭只有精神分裂。

不要數算這是第幾次,

不要猜度會否和上次一樣,

不要問太多的問題。

能忘記的,

都請忘記。

Python's assert is a weak debugging tool

Here's something (perhaps obvious) that recent experience has taughtme:

Python's assert is a pretty bad debugging tool.

The problem is that a failed assert gives you almost no information,just that it did fail. Almost all the time, you need to know somethingabout what the bad values are in order to actually debug the problem,so your first step is to transform ' assert condition ' into somethinglike:

if not condition:  print   assert condition  

(The exception that proves the