Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Finally got the GLUT fonts working in OpenGL-ctypes (Stupid indirection operator...)


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, ...

Continue reading

Happy I did the extra hour last night (I've run out of steam for the VoIP project this week)


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 ...

Continue reading

Details are depressing (Give me mountains to build, not potholes to fill...)


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 ...

Continue reading

Compile farm account (Problems with PyOpenGL on RedHat)


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 ...

Continue reading

Choosing and moving forward is good (TwistedSNMP begins to grow PySNMP 4.x support...)


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. ...

Continue reading

Wires crossed somehow (I could have sworn he said this evening...)


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. ...

Continue reading

Day's productivity crumbles (Stupid router and/or DNS servers make progress halt)


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 ...

Continue reading

Images working in OpenGL-ctypes (Just needed to rebuild the ctypes library cleanly...)


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) ...

Continue reading

PyGTA Meets! (Put the next one on your calendars...)


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 ...

Continue reading