3108 了,先介紹五個 blog:
Why Postfix is not my favorite mailer
Today I was unpleasantly surprised to discover that Postfix defaults tohaving a 50 megabyte size limit on user mailboxes, after which emailbounces. This default limit is apparently sufficiently unimportant tonot be mentioned in the 'basic' or 'standard' general configurationdocumentation.
Perhaps this will strike people as a petty reason for disliking Postfix;after all, it's just one configuration option. But it is the symptom ofa deeper problem.
Since Postfix people have made one dangerous random arbitrary default(and not drawn attention
文學起義
SIGCHLD versus Python: a problem of semantics
In the process of looking at my program's code again to write the lastentry , I think I may have solved the mystery ofhow my impossible exception gets generated.
My program does a lot of forking and thus cleanups of now-dead children.The code that it generally dies on is:
def _delip(pid, ip): del ipmap[ip][pid] if len(ipmap[ip]) == 0: del ipmap[ip]
It takes a KeyError on the len
How dd does blocking
For a conceptually simple program, dd has a number of dark corners.One of them (at least for me) is how it deals with input and outputblock sizes, and how the various blocking arguments change thingsaround.
ibs=sets the input block size, the size of theread()s thatddwill make. Since you can get partial reads in varioussituations, this is really the maximum size thatddwill everread at once.obs=sets the output block size and makesdd'
盲人影院 -- 周雲蓬
盲人影院 -- 周雲蓬
這是一個盲人影院,
那邊也是個盲人影院。
銀幕上長滿了潮濕的耳朵,
聽黑蟻王講一個故事。
有一個孩子,九歲時失明,
常年生活在盲人影院,
從早到晚聽著那些電影,
聽不懂地方靠想象來補充。
他想象自己
不是詩
A problem with debugging threaded Python programs
I have a heavily threaded Python program that dies every now and thenwith a mysterious exception (that as far as I can see just shouldn'thappen, which means that I don't completely understand my code).
My off and on attempts to debug this have pointed out a frustratingproblem in Python's (lack of) support for debugging threaded Pythonprograms: there's no such thing as a global exception, something thatwill freeze, backtrace, and terminate all threads when an erroroccurs.
How to lose readers of your syndication feed
It's pretty simple:
- change your syndication feed URL
- but don't remove or redirect the old feed, just stop updating it
- and don't put up an entry about it (visible in the old feed).
Readers who are not especially attentive may not notice for weeks, onlyvaguely wondering if you've taken a vacation or something. Especially ifthey read a fair amount of feeds and are behind in their reading.
As far as I've gathered, most feed readers are perfectly willing to