Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Forgot how fun PyGame is (Been way too long...)


Been hacking on a spike test for Productive for the last few hours. PyGame is really very fun once you get (back) into it, gets right out of the way most of the time. First task was to re-learn sprite-based rendering and create a simple grid of squares that responds to mouse-overs with a highlight. ...

Continue reading

OLPC-Toronto Game Jam/Sprint (Participants?)


We're thinking of having a Game Sprint on the 16th through the 18th of November (still looking for an appropriate venue). At the moment there's only 2.5 of us. We've got one brainstorm (or a light drizel) of doing a simplified Real-time Strategy game. More powerful downpours welcome.

CMU is going to be doing a ...

Continue reading

PyGTA Tomorrow (Mind-exploding fun!)


Planning to present continuations at the PyGTA meeting tomorrow. Continuations are the fundamental control construct of computer programming. Everything else is just syntactic sugar. They have some interesting applications when exposed directly, but most people use them to create other abstractions that are easier to understand. Tomorrow we'll be exploring just what these things are ...

Continue reading

Long Weekends, Long Walks (A few days off...)


This was the Thanksgiving holiday weekend in Canada. Had the family over on Sunday (yay!), worked on Saturday, but today was just for relaxing. Went through my OpenGL folder (well, the last 100 or so messages) and fixed a couple of small bugs. I want to release a 3.0.0b1 this week, so if you have ...

Continue reading

Involuntary upgrade (Eric3 install hosed on the work laptop...)


Came into the caffe intending to "install" the little laptop and then get a few hours of billable work in so that I can pay the rent and buy some cookies. Instead it turns out that I mistakenly allowed Gentoo to upgrade the qt/PyQt version on this laptop when doing a system update.

I could ...

Continue reading

Use sys.settrace to animate Python code? (Evil ideas that cross one's mind...)


To make a GUI/text IDE work similarly to the Logo-style animated execution you'd need to make the Python code work more slowly than normal. You could probably hook up a sys.settrace that stops when you finish a given operation and waits on a message from the GUI that it's drawn the results (and waited for ...

Continue reading

I want the perfect IDE for kids (Or do I?)


A couple of things over the last couple of days have focused my mind on the question of IDEs.

The first is moving to Eric4 from Eric3. The change isn't really all that much, in fact, in the pieces I use there is no particular advantage to the new version (other than that it builds ...

Continue reading

Eric 4 builds nicely on Gentoo (With some PORTAGEDEV stuff...)


Finally got around to updating to Eric 4 on the home workstation/server. Nice looking, though I basically turn off the bulk of the features save the project and file-editing views, and it seems a bit slower and less "snappy" than the Qt3 version. At the moment it doesn't work with my project-management script, so I'll ...

Continue reading