在 艾西莫夫 (Asimov) 的 機器人系列 小說裏,經常會出現「 科學怪人情意結 (Frankenstein Complex) 」一詞。「科學怪人」當然是源自於被稱為西方第一本科幻著作: 瑪麗‧雪萊 (Mary Shelley) 的 《科學怪人》(Frankenstein; or, The Modern Prometheus) ,書中主角 Victor Frankenstein 發現了生
Things I have learned about effective sysadmin meetings
We've recently started having some regular meetings at work, which hasgiven me an opportunity to look back at past meetings and reflect onwhat I think does and doesn't work in meetings for system administrators.(Note that I am pretty sure that some of these do not generalize toother sorts of meetings.)
Meetings can be an efficient way of holding discussions, but you needsomeone to corral the digressions. They are not usually an effectiveway of giving status reports, unless the status reports are really
甲的另一個名字
在某個島上發生了一件事
有甲有乙有丙有丁有戊
丙、丁、戊因為甲而走了
之後
甲也走了
最後只有乙留在這間屋
看守著屋內的樹
這時段時間
樹,成長
花,開著。
.................
幾年後
甲回來向乙說﹕樹
Ordered lists with named fields for Python
I periodically find myself dealing with structures that are basically ordered lists with namedfields, where elements 0, 1, and 2 are naturally named 'a', 'b', and'c' and sometimes you want to refer to them by name instead of havingto remember their position. This pattern even crops up in the standardPython library, often with functions that started out just returningan ordered list and grew the named fields portion later as peoplediscovered how annoying it was to have to remember that the hour
How CSLab currently does email anti-spam stuff
The Computer Science department is strongly against rejecting email justbecause it might be spam (at least by default); enough people wouldrather sort through spam than risk rejecting legitimate email. Peopleare willing to have known viruses removed from their email (althoughnot executables in general).
(For clarity: the weekly spam summaries I do are not for CSLab's mailsystem.)
I once summarized CSLab's general rule is 'thou shalt not reject emailjust because it smells bad'. We can reject email
Weekly spam summary on February 24th, 2007
This week, we:
- got 15,188 messages from 253 different IP addresses.
- handled 21,573 sessions from 1,281 different IP addresses.
- received 238,853 connections from at least 71,848 different IPaddresses.
- hit a highwater of 10 connections being checked at once.
Connection and session volume is down a bit from last week . Day to day volume fluctuated up anddown through the week:
| Day | Connections | different |
今日非常快樂
1.
自己做生日咭給自己。如同我那個快樂的金礦(周某語),一切DIY。
2. 面對現實吧汝等!
金庸小說人物占卜
你在金庸小说中是:小龙女
小龙女几乎不食人间烟火,但是她和香香公主截然不同。在未曾遇见杨过之前,她已经
Some things to remember when implementing __getitem__
I've recently been doing some work on classes derived from list and tuple that fiddle with the behavior of __getitem__ , and ran intoa couple of surprises that I am going to write down so that I rememberthem in the future:
- for the simple '
obj[i:j]' case,__getitem__is not called ifthe class has a__getslice__method.listandtupleboth do,despite the method being labeled as deprecated since Python 2.