Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Upgrading pytable's database introspection for postgresql (Code-like output, but egads it's a lot of text...)


One of the features of pytable that's been sitting on the "need to do" list is getting the introspection to the point where one can use the output of the introspection process as editable schemas for further development in legacy applications.

That is to say, I wanted to be able to point the introspection at ...

Continue reading

Eric the Python IDE Rocks (Just struck by the need to say this...)


I've been working without Eric on the workstation for a while now (due to build problems under Python 2.5)... or more accurately, I've not been working on the workstation much, partly because I didn't have Eric there. (Since the workstation is by far the most ergonomic place I have available to code (with the chairs ...

Continue reading

Maintaining scripts as their underpinings change (Not what I wanted to do today, but I have Eric back on the workstation now)


I use a script I wrote a while ago that produces Eric3 project files from checked-out SVN/CVS directories. It lets me use the command-line SVN/CVS operations (which I find more convenient than the Eric operations[1]) then regenerate the project file. The SVN operations were provided by the pysvn wrapper... and thats where the problem was. ...

Continue reading

Ooh, that wasn't a good use of time (Distracted by the desire to listen to Brave New Waves...)


I used to love listening to Brave New Waves on CBC 2 when I was writing my thesis. Tonight I tried Amarok for the first time, and as I was going through the stations I noticed that there was no CBC 2 stream.

Checking the CBC, their CBC 2 OGG stream still isn't working (it ...

Continue reading

Need a decent unit-testing framework for OpenGL (Unit tests are good things...)


I've just moved the (rather small set of) tests in OpenGL-ctypes into a unittest test case. Discovered in doing that that the nurbs and evaluator code is working on the laptop (just doesn't show up in the real-world tests, suggesting that there's a problem in the setup there). Reinforces the idea that it's the amd64 ...

Continue reading

Magic of unit tests (Pinning down evaluator failure)


Sat down to write a test for the evaluator code. I'd gotten it to the point where it didn't crash the program a while ago, but it was not showing up in the tests/demos. Whittled down one of the tests into a simple unittest, getting rid of textures, lighting, etceteras, but couldn't come up with ...

Continue reading

Okay, I'm really excited about PyCon now (List of accepted talks...)


Just read through the list of accepted talks, beginning to think that I may wind up with a lot of conflicts. Normally I don't go to the talks at a conference (I hang out chatting in the halls), but there's quite a few I need to go to this time [2, 32, (51), 55, ...

Continue reading

Pulling the restructured code together (Refactoring core assumptions...)


Focusing on real work these days. Spent most of yesterday on the restructuring of the VoIP billing system. Got all save two of the test cases for discounts working, they both exercise the same missing feature (date-matching).

I've been procrastinating all morning in the hope that it will just go away :) . Guess I ...

Continue reading

What am I missing? (Things to look into on Saturday)


I'm still seeing failures in OpenGL-ctypes in the nurbs and evaluator calls. I've traced through them, compared them to C versions of the code and have basically run out of reasons for it to fail. What I'm left with is the possibility that I've started tickling a ctypes-on-amd64 error or that I'm doing something monumentally ...

Continue reading