在這個「五窮六絕」月份,大片都在等待暑假檔期,所以近來比較多一些冷門作品上映,《撞車》便被選在六月尾來在七月之前攝一攝期。今年一齣《斷背山》被炒得不能再熱,連平時不看文藝片的朋友也要看看,氣勢一時無兩
Microsoft has a problem
It's not the carefully spun death of WinFS ,or even ( as Cringley put it ) that Microsofthas spent five years and five billion dollars not shipping WindowsVista.
Microsoft's problem is that ordinary people can't keep Windows machinessecured. Spyware and other malware is rampant, compromised Windows boxesare perhaps the single largest source of spam email on the Internet,and anti-virus and anti-spyware software is now considered a basicrequirement on machines.
( Anecdotally , it'salready to the
你們訓得著嘛?
WSGI versus asynchronous servers
Asynchronous servers and frameworks are a popular way to create highlyscalable systems. Although WSGI isn't explicitlydesigned to support them, putting a WSGI application in an asynchronousserver isn't totally foolish: many WSGI applications won't be doinganything that can block.
(Technically disk IO can block, but Python on Unix doesn't have any wayto do asynchronous disk IO without using threads.)
However, there is one serious fly in the ointment: the WSGI specrequires a synchronous interface for reading the
How not to report spam (part 1)
For my sins, I am on one of the aliases here that gets a certain amountof reports of spamming theoretically committed by UofT IP addresses. (Iam not one of the people who has to deal with them, fortunately; it isa thankless job). This exposes me to a certain amount of good examplesof how not to report spam.
Today's example comes to us from an official government organizationin a large Southern American country. All the information they gaveus was:
- the date (with
該如何面對這則新聞
Weekly spam summary on June 24th, 2006
This week, we:
- got 13,681 messages from 253 different IP addresses.
- handled 18,870 sessions from 835 different IP addresses.
- received 303,478 connections from at least 47,309 different IPaddresses.
- hit a highwater of 7 connections being checked at once.
Connection volume is majorly up from last week ; other numbers are up slightly,except the highwater (which is down). The per day table:
| Day |
現在幾點鐘﹖ (Rhythms of Life)
除了因為忙,還因為這本書的程度比較高。既然我不會向學生做推介,也就不會在學期中花時間來寫文章了。
已經
A problem with signals in Python
As a followup to what I wrote yesterday about prompt signal handlingin programs , it's worthwhile to pointout a little problem in Python with signal handling.
As I've noted before , Python normally turnsmany signals into exceptions. It turns out that this has an importantconsequence: it delays processing of signals , because Python onlyprocesses signal exceptions in the interpreter, ie when you're runningPython bytecodes.
(Contrary to the documentation, sys.setcheckinterval does not appearto control how often signal handlers are