Archives 2008

Speed up PySNMP for Free? (Upgrade to Python 2.6, apparently...)


Apparently there *is* going to be some performance changes in CPython (though it's from the PyPy folks, so I suppose the "most of the recent performance-oriented work happens in PyPy" analysis stands). There's a patch that adds an __mro__ function cache. This is a pretty straightforward operation that caches the function-object lookup on types via ...

Continue reading

PyOpenGL is Offline (DMCA takedown notice...)


For those asking, yes, PyOpenGL has disappeared from SourceForge. Gentleman sent a DMCA notice thinking that gle32.dll was his, it is actually just a compiled version of the (BSD licensed) GLE library for Win32. I've sent in a DMCA Notification Response, and the gentleman who issued the initial request has asked for them to rescind ...

Continue reading

Unexpected 'free' day (More of an "I want to do something else" day...)


I got up this morning fully intending to work on billing/provisioning stuff for ACI all day... I only wound up doing 2 hours total work for them (well, so far), exhausted the stuff that can be done during the day (most of the changes need to be done after-close-of-business) and decided to brush up on ...

Continue reading

Handout Finished (1 day early :))


Finished the handout for the Tutorial at PyCon. 20 pages, but don't panic, they're mostly for people who learn best by reading. You won't have to read it all while you're in the class, we'll be mostly looking at the code changes as diffs and resulting code so that you can see what we're doing ...

Continue reading

Formatting and Review for Tutorial Handout (Oh, and some paying work...)


Spent the bulk of yesterday on paying work, solid day of billables down at the Caffe. Nothing all that interesting, just some refactoring of a view, scripting a maintenance task, that kind of thing.

Then started working on the tutorial handout (due end of this week). Got about 1/3 through editing when Paul came in. ...

Continue reading

Telepathy Wrapper Lands in OLPCGames (Network asynchronously from your Pygame-side code...)


Have just completed a working implementation of a DBUS Proxy object for OLPCGames that allows you to define networking "servers" as ExportedGObjects then call/subscribe to them from within your Pygame event loop (without threading-related crashes).

The proxy avoids having client callbacks happen in the GObject mainloop, which could cause segfaults/cores in your Activity when you ...

Continue reading

Distribute Newspapers to Commuters via Avahi (EBook readers as opportunistic downloaders on local-link...)


We've got E-book readers showing up now, Kindle, OLPC-XO (G1G1), and the like. We've also got fairly widespread laptops, sub-notebooks, iPhones and N800s. Most of them are going to have local-network (wifi) connectivity free. People are manually downloading media on these machines to consume it on the subway/bus as they commute to work. At the ...

Continue reading

Journal Integration for OLPCGames (inotify (save) and a command line argument (open)?)


Just implemented the Journal API for OLPCGames. A serious mess in there, it's a synchronous call where the filename passed will be deleted, so handling it in the asynchronous Pygame environment means I'm having to block the GTK event loop until the Pygame event loop retires the event. Which meant I needed to introduce the ...

Continue reading

New Icon for Productive (Blocked on deployment project...)


Waiting for a database dump/restore, doing a bit of tinkering on Productive. Finally created an SVG icon for it (well, a second one, the OLPCGames default icon was originally created for Productive and just turned into the default icon because it was handy and "in progress" looking).

You can see the new icon in the ...

Continue reading

Monthly archives

Previous year

2007

Next year

2009