Category archives: Snaking
Discussions of programming, particularly of programming Python
At least it's not *my* code (Oh, wait, that would be easier...)
Written by
on
in
Snaking.
So, armed with my newfound gdb, I tackled the Cinemon crashes that necessitated writing the "zombiewatcher" script. Took about 20 seconds to have the gdb trace... hours and hours to finally decide that it appears to be a FreeBSD+Threading+PyOpenSSL bug. No responses yet from Python list as to whether there's a fix or workaround, ...
Unfamiliarity makes things look harder than they are... (Debugging Python extensions on Linux easier than Win32)
Written by
on
in
Snaking,
Tuxedo.
I sat down intending to do an hour or so of playing with ctypes for OpenGL... 5 hours ago. I can't really begrudge the time, though, because beyond finding a number of minor problems with ctypes on amd64, I learned something I've been avoiding for a while now; learning how to debug C extensions on ...
Distracted from the quest for pretty pictures (Delivery mechanism issues sop up an entire night w/ naught to show)
Written by
on
in
Snaking.
So, having got OpenGLContext 2.0.0c1 out the door, I went casting about for what to do for a demo for it. First thing I struck on was making an xscreensaver plugin that would allow you to run an OpenGLContext world. Probably is that xscreensaver doesn't seem to have much developer documentation.
AFAICS, there's a couple ...!-->!-->
Git yer red-hot OpenGLContext (Sweet, juicy release candidate goodness...)
Written by
on
in
Snaking.
I've just packed up OpenGLContext 2.0.0c1 (release candidate 1), for Win32 and Gentoo Linux (with source for other platforms). Get it from the usual place.
I need to stop tinkering with 2.0.0 and move on to 2.0.1, I've been trying to release the final 2.0.0 version for... far, far too long... has it really ...!-->!-->
Konsole is the source of the OpenGLContext flicker??? (Or at least, it only occurs when the OpenGL window is sitting over the Konsole window)
Written by
on
in
Snaking.
Okay, that was a little unexpected. The old code doesn't show the effect, but the new code produces the wrong-buffer-rendering effect only if the OpenGL window is sitting over the Konsole window (and only when the Konsole window is changing (such as printing out debugging text to try and figure out why it's flickering)).
So, ...!-->!-->
Telescoping days (Meeting turns to meetings...)
Written by
on
in
Snaking.
Spent basically the whole day in meetings. First 6 hours or so on a Cinemon management meeting. After that I was cajoled into going to the UU meeting (I've been skipping them for quite a few months now).
I'm entirely non-functional just now, so I think I'll head off to bed fairly soon.
No luck figuring out the OpenGLContext flicker (Why would it render to the wrong buffer?)
Written by
on
in
Snaking.
I took a nap around 5:00 and only woke up around 10:00. Looking around for something to do (other than futzing around with getting KDE working again), loaded up some OpenGLContext demos and sat thinking about why they are failing.
No insights appeared. Probably should have used the time to work on finishing the PyCon ...!-->!-->
Days go quickly when they start unreasonably early, and when you waste them on Windows (A little from column A, a little from column B)
Written by
on
in
Snaking.
Bulk of the day was actually spent on finishing the Windows re-install and development-environment setup (including finding the PostgreSQL incantation... ipc is no longer part of it). After that, an hour (well, probably two, but hard to figure what with spending time on the setup at the same time) of packaging and fixing minor bugs ...
Fixed the dual-booting (PostgreSQL setup on Windows still unfinished...)
Written by
on
in
Snaking,
Tuxedo.
Something I should have backed up from the previous windows install: how the silly PostgreSQL services were installed. It's been so long since I've installed it that I'm going to have to track down the secret incantation all over again.
Luckily it turns out that there's a very simple GRUB incantation for booting Win2K off ...!-->!-->
Windows is frustrating me! (Make it stop, mommy!)
Written by
on
in
Snaking,
Tuxedo.
So, finished the revision of the Zonez demo this afternoon, went to run py2exe over it to produce a final set of executables for the client... duh! Py2exe requires Windows, so instead of being a 1 minute process, packaging up the project has turned into a 6+ hour one (and, of course, can't bill the ...