Category archives: Snaking
Discussions of programming, particularly of programming Python
Finally got the GLUT fonts working in OpenGL-ctypes (Stupid indirection operator...)
Written by
on
in
Snaking.
I decided I really needed to get the OpenGL-ctypes GLUT support finished, so I just sat down and pounded on it for a few hours. The fonts were getting messed up because I was missing the import of a & indirection (resolution, whatever) operator in the definition. Basically there's a void * in the .so, ...
Happy I did the extra hour last night (I've run out of steam for the VoIP project this week)
Written by
on
in
Snaking.
I did an extra hour of work last night after getting back from Linux Caffe. That means I'm now done for the day (and week). The 9 billable hours/day target gets a little draining. Right about now I just want to curl up and let my hands do nothing for a year or two.
On ...!-->!-->
Details are depressing (Give me mountains to build, not potholes to fill...)
Written by
on
in
Snaking.
The bulk of today is being spent on the VOIP project (still going at it, just needed to take a break). Mostly it's just implementing a new organisation by rewriting scripts here and there. It's the kind of work that can be readily handled by one who has had a frontal lobotomy.
I've found myself ...!-->!-->
Compile farm account (Problems with PyOpenGL on RedHat)
Written by
on
in
Design Theory,
Snaking.
I finally registered for a SourceForge compile farm account. Steven has been reporting failures to build on RedHat, so I figure I need a platform on which to test and debug. Should have it sometime tomorrow. Then just find the time to actually fix the problem.
I've been reading "Kant's Theory of Knowledge" by Georges ...!-->!-->
Choosing and moving forward is good (TwistedSNMP begins to grow PySNMP 4.x support...)
Written by
on
in
Snaking.
Today I committed to the PySNMP 4.x approach and began coding in earnest. Amazing how much faster things go when you have a commitment to the approach, you aren't constantly backing up and saying "wait a minute, shouldn't there be a better way", you just plow ahead and let the chips fall as they might. ...
Wires crossed somehow (I could have sworn he said this evening...)
Written by
on
in
Snaking.
By the time I got down to the Linux Caffe (at 7:15) it was already closed. There were still a few customers hanging out, (including the very quiet girl from UU), but no Python programming workshop that I could see. Very disappointing.
The DNS failures continue to make working on the machine a serious PITA. ...!-->!-->
Day's productivity crumbles (Stupid router and/or DNS servers make progress halt)
Written by
on
in
Snaking.
I've been working on testing the routers for the VOIP project. Somehow, though, the DNS resolution has been hosed in doing it. I gather it was something to do with swapping routers in and out all the time, but whatever caused it I now have DNS service maybe 1/2 of the time, and when I ...
Images working in OpenGL-ctypes (Just needed to rebuild the ctypes library cleanly...)
Written by
on
in
Snaking.
Turns out that annoying image-to-texture failure was actually just a messed up compile on my machine. Anyway, OpenGL-ctypes now has image handling working under OpenGLContext. Spent some time trying to get the GLUT bitmap fonts working. So far no luck.
The GLUT declaration (on GLX machines) looks like this:
GLUTAPI void *glutBitmap9By15;!-->!-->!-->
#define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15) ...!-->
PyGTA Meets! (Put the next one on your calendars...)
Written by
on
in
Snaking.
Linux Caffe is a very pleasant little environment. I'd been thinking of a very different environment, all little nooks and crannies, with insular little booths and some back-room environment for meetings. It's actually a single room with a long 'working bar' and a set of meeting/talking tables. Very clean-well-lighted family feel to the place.
Rather ...!-->!-->
PyGTA this evening! (7pm at the Linux Caffe)
Written by
on
in
Snaking.
Don't forget that tonight (Tuesday) is the PyGTA meeting, the first at our new venue. Be there.