The dark side of the moon

這個星期,不停在聽這首歌
這個星期,一個人,進入天昏地暗
十個月後會如何,我不知道,你知道嗎?
不知我有沒有理解錯
聽這首歌
我聽出勇氣
寫詞的人確了不起
好的文字可以救人
那是真的
工作忙
往後幾個星期減少更新
請大家見

How to have your web spider irritate me intensely (part 2)

In the spirit of previous cleverness ,here's a simple new technique:

Have your web spider make up random Referer headers.

This wasn't Referer spamming, since the websites in the Referer headerswere completely random URLs, apparently drawn from legitimate sitesaround the Internet (often repeated). Nor were the websites ones thatactually linked to us, or had any relationship to the URLs that werebeing crawled.

Even in low volume this is a sure-fire ticket to our kernel level IPfilters, since it


A gotcha with <textarea>

Textareas are one of those treacherous areas of web programming, becauseit is really easy to get them 95% right and then never notice thatyou've fumbled the remaining 5%. The problem area is textareas withinitial content, for example blog comment previews ;what almost completely works is to just put the raw content into thetextarea in your HTML. This approach makes intuitive sense and evenworks fine if you test by throwing markup in, like '

this is atest

Weekly spam summary on January 27th, 2007

This week, we:

  • got 14,755 messages from 268 different IP addresses.
  • handled 23,910 sessions from 1,483 different IP addresses.
  • received 248,718 connections from at least 75,622 different IPaddresses.
  • hit a highwater of 37 connections being checked at once.

Volume seems noticeably up compared to last week . The apparent jump in the number of differentIP addresses trying to talk to us concerns me,


Why DWiki doesn't use fully REST-ful URLs

REST is a style of web application writing where, among other things, youuse simple structured URLs to represent resources instead of heavilyparameterized ones. For example, 'https://example.com/users/cks/' is aRESTful URL but 'https://example.com/users?name=cks' is not.

(RESTful URLs are virtuous for a number of reasons, including being lessalarming to search engines and being simpler, so it's easier for peopleto remember them


分享快樂。DON' LET HIM WASTE YOUR TIME。

今日星期日明報有三份訪問,李慧玲、甘太、麥家蕾。死趕才趕出來的。大家看看啦。

***

發狂趕稿,呂某的發佈會遲到一小時。而且說話肆無忌憚。算啦呂某出書心情大好,會原諒我的。其它人不原諒我也不要緊,呂某都原

Why I think that DNS whitelists are going to fail

There's been a recent fad for DNS whitelists, the rough inverse of DNSblacklists; instead of listing claimed bad sources of email, they listclaimed good sources. I've been thinking about this for a while, and Ibelieve that such DNS whitelists are going to fail.

Why I believe DNS whitelists are doomed can be summed up in a simplequestion: do you whitelist Hotmail or not? If you whitelist Hotmail, youare whitelisting a known source of a not insignificant amount of spam.If you


20070127網摘 – 版權又版權

叮噹與版權


DON' LET HIM WASTE YOUR TIME之排球是世界上最重要的運動

詩歌分享會迫近,我本《無風帶》卻不知哪裡去了,真是尷尬。但為了排球的情誼!我就算缺席都會搵番本書出來的。何況呂永佳咁靚仔。DON' LET HIM WASTE YOUR TIME,去睇靚仔啦。 驚聞仲有九工三子之一的阿仁木結他伴奏!靚仔成份濃度
Continue reading...

First impressions of pyOpenSSL

pyOpenSSL is a high-level Pythonwrapper around a subset of the OpenSSL library (to quote it). It waspulled onto my machines recently as part of a Fedora update, and sinceI'm currently interested in OpenSSL-related things I decided to playaround with it to try it out.

After writing some basic stuff, I have to say that I like it. It's notentirely documented (and for some things you really want to read theOpenSSL manpages too), but it works fine