Category archives: Snaking
Discussions of programming, particularly of programming Python
Pulling the restructured code together (Refactoring core assumptions...)
Written by
on
in
Snaking.
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 ...!-->!-->
What am I missing? (Things to look into on Saturday)
Written by
on
in
Snaking.
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 ...
Got OpenGLContext 3D text rendering working with numpy (Finally sit down to fix my FontTools fixes...)
Written by
on
in
Snaking.
I did some patches months and months ago to make FontTools use numpy to extract font data (outlines and metrics) from TTF font files. However, I messed something up in the patch. The system would render characters, but they seemed to be random characters and they were way too widely spaced.
Yesterday when I sat ...!-->!-->
Apparently ctypes is more interesting than OpenGL (Anti-cool-graphics movement makes its presence felt ;) )
Written by
on
in
Snaking.
My proposal for a talk at PyCon got accepted, but almost every comment was of the form "Oh, I guess so, but we'd rather just hear about ctypes". So I suppose I'll re-think the talk to just be about ctypes and ignore the whole OpenGL thing. My proposal was more along the lines of "when ...
Not much OpenGL hacking this weekend (But I got some general maintenance done and played a couple of games)
Written by
on
in
Knight Errant,
Snaking,
Vindaloo.
I spent much of the weekend trying to decompress from the week and finish recovering from the cold. I got a tiny bit of OpenGL work done, basically getting OpenGL extensions fixed for Win32. No big deal, after all, who uses Windows these days. Still, nice to have it fixed.
Also got the accounting for ...!-->!-->
I sort-of forgot that Asterisk programming could be fun (StarPy reminders...)
Written by
on
in
Snaking.
Have a (short) contract starting tomorrow to do some StarPy programming. Figured I'd get back in the swing of things by implementing a quick-and-dirty Call-to-Call application.
Basically this is a little AGI + AMI application that you have running on an Asterisk box that registers for a phone number. When a call comes in, the ...!-->!-->
GLE DLL is a PITA (Seems to be working now...)
Written by
on
in
Snaking.
Have spent the whole afternoon on getting a GLE dll to build for use with PyOpenGL 3.x on Win32 systems. GLE by default on Win32 builds as a static (rather than dynamic) library. Finally seem to have something working, although it seems wrong that this one DLL is a "CDLL" where all the other DLLs ...
Need to build a dependencies pack (Grr windows and their stupid lack-of-a-standard-C-compiler...)
Written by
on
in
Snaking.
Will need to put together an installer that can install GLUT, GLE and Togl DLLs for the Win32 people. Yes, it's annoying, but hopefully we can just do it once and basically be done with it (for a few years, anyway). Of course, then want to figure out how to make it auto-download and install ...
PyOpenGL-3.0.0a5 hits the shelves (Finally get the release out)
Written by
on
in
Snaking.
Wound up spending almost the whole afternoon on PyOpenGL (and I only got up around noon-ish). Mostly just tiny little issues here and there. Upshot, however, is that the alpha package is released now. You should be able to install it with:
easy_install PyOpenGL
with a sufficiently new version of setuptools installed. You'll want to ...!-->!-->
Didn't get it out tonight either (Stupid oh-I-should-just-do-that-first-ing)
Written by
on
in
Snaking.
Very good PyGTA this evening, if somewhat small and late-starting. 6 of us, David started us off with a demo of todotxt which is a command-line (that's really command line, not a separate shell) todo-list organiser. Not exactly my cup-of-tea (I'm graphical by nature), but it seemed interesting. Then on to discussions and comparisons of ...