Advogato blog for jameshAdvogato blog for jameshMySQL Announces Move to Bazaar- June 20, 2008 It has been a while coming, but MySQL has announced their move to Bazaar for version control. This has been a long time coming, and it is great to finally see it announced publicly. The published Bazaar branches include 8 years of history going back to MySQL 3.23.22, imported from the BitKeeper repositories. So you can see a lot more than just the history since the switch: you can use all the normal Bazaar tools to see where the code came from and how it evolved. Giuseppe Maxia has posted some..http://www.advogato.org/person/jamesh/diary.html?start=264 How not to do thread local storage with Python- June 11, 2008 The Python standard library contains a function called thread.get_ident(). It will return an integer that uniquely identifies the current thread at that point in time. On most UNIX systems, this will be the pthread_t value returned by pthread_self(). At first look, this might seem like a good value to key a thread local storage dictionary with. Please don&8217;t do that. The value uniquely identifies the thread only as long as it is running. The value can be reused after the thread exits. On...http://www.advogato.org/person/jamesh/diary.html?start=263 |