Weekly spam summary on March 4th, 2006
It's time for another weekly spam summary. First, let's look at Hotmail,which turns out to be running roughly the same as last week :
- no messages accepted.
- 12 messages rejected because they came from non-Hotmail emailaddresses.
- 49 messages sent to our spamtraps.
- 2 messages refused because their sender addresses had already hitour spamtraps.
- 6 messages refused due to their origin IP address (two in theSBL, one in each of the XBL and the CBL, one from Nigeria,
os.walk can be surprisingly slow
Yesterday's tracing made one particular bitof DWiki 's page rendering pop out at me; almost 40% of the time forthe page was going just to create the '(Previous | Next)' links at thebottom.
Because DWiki is entirely filesystem based, its 'metadata' is the stateof the filesystem. Thus, creating the previous and next links requireswalking WanderingThoughts ' directory hierarchy to find out the order ofthe entries. Once I saw the times, I immediately started wondering if I
來吧!我要更多的溫馨和感慨!
Do your very best to finish the whole thing before the end of May. Give Prof. Chen JH and Prof. Kao copies in June and take the oral in late July or early August. This is all assuming that Prof. Chen and Kao will be in Hong Kong in late July or early Aug. Very few HUMA teachers will be around for the whole summer. So you have to find out Prof. Chen's and Kao's summer schedule before planning the date for oral.
偶然的旅人
Visualizing dynamic program flow
Someone I know has been talking to me recently about bravely becomingthe first outside user of DWiki . As part of this, I realized he mightlike to have practical documentation about how DWiki templates get used in practice for things like producingthis blog. Which made me realize that I'd forgotten how the templateflow goes.
I could have re-read the templates and traced the execution path, butthen I had a bright idea: why not make the program do this for me? So Iinstrument template processing
我身困於此處沒法與君一起並肩上
心神大亂
我如何對你講我的進度呢美麗老細………
The :; shell prompt trick
For years, I've had a somewhat unusual shell prompt. It looks likethis:
:; (where
is the hostname of the current machine.) Putting the hostname in your prompt is pretty ordinary, but what'sthe other stuff? These days, a more typical shell prompt is somethinglike '
cks@newman:~$', to quote a Debian example. (And manypeople use more elaborate prompts, such as Jamie Zawinksi's .)The trick
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
Menu