Category archives: Snaking
Discussions of programming, particularly of programming Python
NeHe demo 45 (Vertex Buffer Objects) sort-of working (If it didn't look wrong...)
Written by
on
in
Snaking.
Bit of work this afternoon. Mostly wanted to get the GL.arb.vertex_buffer_objects extension working. Turns out we had some demo code in the NeHe directory, it had originally been written against a CVS version of PyOpenGL 2.x, but with some tweaks and cleanup it ran with PyOpenGL 3.x (most of the tweaks just ripping out code ...
Numeric (legacy) support now working in OpenGL-ctypes (Well, cvs version...)
Written by
on
in
Snaking.
Finally got some time for OpenGL-ctypes. Decided to work on the module to support using Numeric 24.x as a data format. Thanks to a thread on ctypes-users it turned out to be a trivially simple module.
It turns out that the "object" type has a __basicsize__ attribute which tells you the size in bytes of ...!-->!-->
Upgrading pytable's database introspection for postgresql (Code-like output, but egads it's a lot of text...)
Written by
on
in
Snaking.
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 ...!-->!-->
PyCon hotel room reserved (Still need to get a roomie and a plane ticket)
Written by
on
in
Snaking.
Just reserved the hotel room for PyCon. Double occupancy with 2 double beds from Feb 22nd to March 1st. Still don't have a roomie for the week.
Eric the Python IDE Rocks (Just struck by the need to say this...)
Written by
on
in
Snaking.
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 ...
Maintaining scripts as their underpinings change (Not what I wanted to do today, but I have Eric back on the workstation now)
Written by
on
in
Snaking.
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. ...
Ooh, that wasn't a good use of time (Distracted by the desire to listen to Brave New Waves...)
Written by
on
in
Snaking.
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 ...!-->!-->
Need a decent unit-testing framework for OpenGL (Unit tests are good things...)
Written by
on
in
Snaking.
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 ...
Magic of unit tests (Pinning down evaluator failure)
Written by
on
in
Snaking.
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 ...
Okay, I'm really excited about PyCon now (List of accepted talks...)
Written by
on
in
Snaking.
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, ...