Simon Willison’s Weblog

Subscribe

Monday, 25th May 2009

The Web vs. the Fallacies. Tim Bray on how the architecture of the Web helps developers handle the Fallacies of Distributed Computing. # 11:49 pm

uuidd.py. Neat implementation of an ID server from Mike Malone—it serves up incrementing integers over a socket (using Python’s asyncore for fast IO) and records state to a file only after every 10,000 IDs served, so most of the time it’s not reading or writing to disk at all. If the server crashes it doesn’t matter because it can start up again at an integer it’s sure hasn’t been used before. # 9:34 pm

2009 » May

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031