Author archives: Mike C.

RSS feed of Mike C.

OpenGLContext 2.1.0a1 Installation Streamlining (SetupTools re-cursing...)


(I'm testing on a Win32 box). Download and install Python 2.5, put the Python directory on your path. Install Win32 GLUT and GLE, then download ez_install.py and run the following:
python ez_install.py OpenGLContext
python ez_install.py Pygame
python ez_install.py numpy
python ez_install.py PIL
python ez_install.py SimpleParse
python ez_install.py TTFQuery

If I got everything properly put ...

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

Learning in Perception (Musings...)


Thinking about perceiving (cognitive) machines. It seems that a hybrid model should be applicable for most prosaic tasks. The key benefit of an AI would be a compact, effective structure for learning and abstraction (modelling), it would not necessarily be a good way to code low-level real-world operations. Though it might have advantages, the processing ...

Continue reading