最近讀了一本舊的科幻小說《 獻結阿爾吉儂的花束 》,作者是 Daniel Keyes。其同名短篇先在 1959 年奪得雨果奬,再在 1966 年以長篇化的版本 (也就是我讀的版本) 奪得星雲奬。對科幻文學有些認識的人都知道,這兩個是很出名
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.
果然是但噏
20060210網摘 – Google privacy
Google is intruding your privacy?
- Google Copies Your Hard Drive – Government Smiles in Anticipation EFF 反對新的 Google Desktop 抄你的電腦檔案
- Google Desktop 3.0: Privacy is Dead 因為這個版本可以將 file 存在 google desktop server
- 你??的每一句? Quote: ??上,在流氓?件?行的今天,聊天??保存在Google服?器上,要比保存在网吧或
Session IDs and the Birthday Paradox
If you have a database (or in general some writable store), the bestway to do authentication in a web app is with session ID cookies. Everytime someone logs in, you pick a large random number to be their sessionID, give them a cookie with the session ID, and then store all of thedetails in your database under the session ID. When they come back, youget the session ID cookie, look it up in the database, make sure it's(still) valid
The charm of Sun's Freeware collection
Presented on a stock install Solaris 9:
$ cat hello.cpp#includemain(){ cout << "Hello World!\n";}$ g++ hello.cpp$ ./a.outld.so.1: a.out: fatal: libstdc++.so.2.10.0: \ open failed: No such file or directoryKilled (Line wrapping added for clarity.)
To get the Sun Freeware g++
自覺樣衰
近日自覺樣衰了不少,有衝動做一個問卷調查測試眾人認為我的“樣衰度”增加了多少?
一年一度,跟我最後一班學生聚會,去年暑假只有小貓幾隻回來,今次一來就是二十幾人,都是大二學生了,他們在世界各地讀書,我卻似
Using the tempfile module to get temporary files
Courtesy of Planet Python , I stumbledover Peter Bengtsson's puzzlement with Python's tempfile module ,especially the
mkstemp()function. It's an understandablepuzzlement, because what's going on is fairly tied to Unix semantics(although Python supportsmkstemp()on all platforms).The tempfile module's
mkstemp()is a relatively thin shim over theUnixmkstemp(3)library routine, which exists to securely createtemporary files. This is more difficult than it looks; there are all
有心有力做好事
Menu
![]()