Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Fits and starts (Little things...)


Did some more work on TurboGears. Found another couple of bugs in the SQLObject SQL generation code. Now failing with the inheritance stuff, seems that the documented ability to do Child.select( Parent.field==something) doesn't throw any errors but also doesn't seem to return the results. Anyway, nothing huge, just little things I'll have to track down ...

Continue reading

3 hours of procrastination on a 5 minute fix (Well, at least I got my laundry folded...)


The bug in SQLObject was just a missing '+' character, it was doing:
sql = ';\n'+join_sql

instead of:
sql += ';\n'+join_sql

so the SQL for the table was getting dropped when there was "join" sql for the final content. Somewhat of a letdown, I was thinking it would be hours of plunging through deep-dark code ...

Continue reading

Where'd that three hours go? (So much for buying my interest with smoothies...)


It seems that the smoothies were not sufficiently enticing to get me to actually sit down and work on the SQLObject problem. Shane's coming by in an hour to get his router re-provisioned, so not going to have a big block of time for work tonight. Maybe I should just call the day a write-off ...

Continue reading

PyGTA Review of web frameworks part 2 this Tuesday... (We will, we will... frame you!)


Coming up on the 4th Tuesday of the month again. We'll be continuing our review of web frameworks from last month, so if you have a particular framework you've used and can review (critically) come on down and share your opinations.

As usual we'll be at our generous venue Linux Caffe, who go ...

Continue reading

Once you have a schema generator you get lazy (Stalled on TurboGears, sort-of...)


Hasn't been a stellar day for productivity today. The flip side of frameworks is that when something goes wrong you have to do a lot more work (in someone else's code) to fix it. The bug I hit is a fairly minor one, the SQL generator for the TurboGears model is "forgetting" a table (and ...

Continue reading

My first day with TurboGears (So far so good...)


Decided today was the day to learn TurboGears, so I sat down and started working out a model for the BetterBilling project. This is basically a generic provisioning system for ISPs or VoIP providers that I'm wanting to build.

The version I'm looking at right now is less generic than the envisioned one; that's just ...

Continue reading

Quite a few updates to VRML and OpenGLContext (Including remembering to check in the code (finally)...)


I got the basic routing code for the VRML97 scenegraph written... well... so long ago I don't even recall when... months anyway. However, I never actually checked it into the repository. Oops!

Today, I blew away my old vrml/* checkout and got a fresh version on my workstation... and then all the new features stopped ...

Continue reading

Wow, numpy really is different! (Porting doesn't go quite as well as hoped...)


Down at Linux Caffe. First little project of the day was getting OpenGL-ctypes running on the laptop again. Turns out most of the problems seem to be with the PyGame install getting corrupted, so started working on making it possible to use numpy for OpenGLContext.

Seems the API regarding types has been altered. Particularly the ...

Continue reading

A day "off" with OpenGL-ctypes (It does leave rather a dent in the pocketbook...)


Decided this morning that I needed to spend some quality time with OpenGL-ctypes if it was going to move forward. Given that the VoIP project is just waiting for an installation fix, I decided that I would take a day off from paying work to work on stuff the world needs. I'm justifying it to ...

Continue reading

What I should probably concentrate on for Open Source (Maximise the value for the world...)


For the non-business Open Source stuff I'm thinking I need to throw all of my spare time at the OpenGL-ctypes stuff. The SDL-ctypes stuff seems to be moving along at quite a clip, and it would be really nice if both of these media-heavy packages could convert to ctypes just after the 2.5 final release. ...

Continue reading