數學電影

我發覺自己可能有一舖「看數學戲癮」。原因是今天看了《情來‧算盡愛 Proof 》,此片,演員還算有吸引力:Gwyneth Paltrow、Anthony Hopkins 和 Jake Gyllenhaal ,但除此之外則不算得上很吸引,不過在看過故事簡介後,還是進場了。

關於數學的電影,前前後後看


Solaris 9 sendmail irritations

Here's how to give a system administrator a heart attack: the defaultSolaris 9 sendmail configuration apparently allows other machines thatyour Solaris machine thinks are in your local domain to relay throughyou. I say 'apparently' because there's nothing in the sendmail.mc aboutthis, and nothing clear in the generated /etc/mail/sendmail.cf either.

In other fun discoveries, the default sendmail configuration is alsoset up to relay all your mail through a machine called 'mailhost' inyour domain


SQL as metaprogramming

I'll start by quoting Glyph Lefkowitz from a recent article (okay, recent for my techblog writing):

Metaprogramming is hard, and dress it up however you like, that'swhat using SQL is. Your code is generating other code, andevaluating its results.

Because metaprogramming is so hard, it is almost exclusively theprovince of frameworks, environments and operating systems. For goodreason, too. Whenever code generates other code, there arepotentially very serious mistakes that can get made. [..


20051118網摘 – 吉祥物惡搞

Technology


《了了》

《了了》 (海報)
Tomcatt 作品

18-19 /11/2005


榕樹頭自由文化音樂節!!!

榕樹頭自由文化音樂節 (海報)


日期:2005年 11月20日 (星期日)
時間:自由文化音樂節--中午12時至晚上6時30分
社運電影節閉幕--晚上7:15pm
地點:油麻地榕樹頭公園演出單位:Billy、居大合唱團、Fruitpunch、

MTR De-Re-Mi

在網上聽到這麼一首 MTR Song,歌是 Do-Re-Mi,但詞是各個地鐵車站,相當過癮。未能查到這首歌的源頭,但在 Google Blog Search Technorati 也見有網友介紹過,在此 K-Post 一下。

下載歌曲

MTR songs by Unknown

Let’s start from the very beginning Though there s plenty of places to start If you want to get around


Why Linux threads use up so much memory

If you write a simple threaded program in C on a modern Linux systemand fire it up, you may rapidly notice that you can't have more than acouple hundred threads before you run out of memory. Even if you don't need that many threads, you may discover that your program is using anabsurd amount of (virtual) memory.

(This can also happen in other languages; I know it happens inPython.)

What's eating all the memory is the default NPTL thread stack


功能超強的 Google Analytics

googleanalytics

我對於網站 Statistics 的要求並不多,有 Hit rate, Visited Link, Referer, Search Term, Browser statistics 等等都已經很足夠了。自己一向用的是 Blog Patrol ,貪其夠簡單一版過,但所收集的只是首頁的資料而已。不過最近 Blog Patrol 本身好像有點慢了。

前些陣子,見到 Webleon 介紹了 MeasureMap ,看


初嘗 Google Base

gbase

Google Base 正式開通了,之前只是一閃而過,沒有仔細看,但已可從當中看到其應用可以很廣泛。

小試牛刀,用剛寫了的《情書》影評試貼,選用預設的 Movie Review 格式,裏面可分開幾個不同的 Section: Title, Pictures, Details, Labels, Description 和 Contact,其中 Details 和 Labels 是 Optional