GNU bc for the birthday paradox

So that I don't have to redo this again if I ever need it, the GNU bcmagic for the Birthday paradox stuff isas follows. First, you need to start GNU bc as bc -l to load the mathlibrary, then:

define p(n, m) {return 1 - e( (-(n * (n-1))) / (2*m))}define p32(n, m) {return p(n, 2^

The problem with <pre>

Generally,

 is a fine thing, and it's become the de-facto way ofwriting any number of 'computer' things; code, Unix sessions, evenequations, as as various     WanderingThoughts    entries illustrate. Butthere's a problem with it:     
 text doesn't line-wrap    .  

The consequence is that if you write a long

 line, the browser willhappily force a line wider than the browser window, making the readereither widen their browser (

情人過節


情人節,小心與情人產生“過節”。

樂觀的人會說:只要是有情人,天天都可以是情人節。 問題是天下間的情侶愈來愈抵受不了“消費”一個情人節的誘惑,因此這一天一定要送花、一定要送朱古力、一定要有浪漫晩餐,但年年

GMail talk 失蹤?

星期六早上,在公司開啟 GMail 的時候,發現了 Quick Contact 的 Panel,也就是說終於有 Chat 功能可以用了!試用之下,感覺很不錯,反應也很快。

但當我回到家時,同樣登入 GMail 時,那個 Chat 功能卻不翼而飛,實在奇哉怪也。莫非是因為我家裏的 IP 跟


下午3點飯氣攻心時必聽新碟 — 東京事變「大人」

單看碟名「大人」,便覺得與有著與上回「教育」大碟延續的意味。

幸好,即使換了兩位成員,「東京事變」用音樂向我們證明,他們,還很有「火」。

例牌動作,立即upload上iPod,翌日早上一口氣聽畢全碟,我要強調,是一氣呵成


Weekly spam summary on February 11th, 2006

Hotmail has been startlingly quiet this week. The numbers:

  • One message accepted.
  • 24 messages rejected because they came from non-Hotmail emailaddresses.
  • 68 messages sent to our spamtraps.
  • 23 messages refused because their sender addresses had already hitour spamtraps.
  • 10 messages refused due to their origin IP address (two in the SBL,one in the CBL, and then the rest from an assortment of places wepretty much don't talk to any more).

Hotmail may actually be dealing with its


乏而厭世

1.睏。對於與年輕人溝通失去信心。<-- body 這種典型的xanga、od句子。飯氣曾有將心比明月,鄙人則野野明月照溝渠,什麼都攤開來講,可惜看來沒人相信我是友善、坦誠又心軟的。以為談得開心,以為對嘴了,過一天開估,完<>

20060212網摘 – 香港 bloggers 真面目

New Services

IT Commentary


The return of how to get your web spider banned

Today's entrant is 'Uptilt Inc', uptilt.com, aka 64.71.164.96/27. Let's see how they did on my scale :

Important update : it turns out I was fooled by out of dateWHOIS information and Uptilt Inc isn't involved; for the fullstory, see UptiltUpdate . Remember that when you read thehistorical references to them in the rest of this entry.

  • 1,159 requests in one day.

獻給阿爾吉儂的花束

algernon

最近讀了一本舊的科幻小說《 獻結阿爾吉儂的花束 》,作者是 Daniel Keyes。其同名短篇先在 1959 年奪得雨果奬,再在 1966 年以長篇化的版本 (也就是我讀的版本) 奪得星雲奬。對科幻文學有些認識的人都知道,這兩個是很出名