Category archives: Snaking
Discussions of programming, particularly of programming Python
Started work on getting py-spy/speedscope in RunSnakeRun
Written by
on
in
Snaking.
So having finally written down the thoughts on a carbon tax, that kept distracting me from actually working on Open Source, I finally got a bit of work done on Open Source on the last night of the vacation.
What I started work on was getting a sampling profiler format supported, and for that ...
PyOpenGL 3.1.5 is Out
Written by
on
in
Snaking.
I've pushed out the PyOpenGL 3.1.5 release. It has some (relatively minor) fixes for wgl and egl operations, and one for what looks like a change in numpy scalar handling in the latest numpy. Available on PyPI now.
Windows Isn't a Horror Show
Written by
on
in
Snaking,
Tuxedo.
So it has been a long time since I forced myself to boot into Windows to get support/development work done for the platform. Other than one hard-freeze where the machine updated its drivers, rebooted, and just stopped recognising the keyboard or trackpad, it pretty much just worked (turning it off and on again did, as ...
DRM Names for EGL Enumerated Devices
Written by
on
in
Snaking.
So it turns out that there's an extension for getting the DRM name for an EGL queried device that seems to work on Ubuntu 19.10. With that it should be relatively easy to target an off-screen render to a particular device. (The extension allows `eglQueryDeviceStringEXT` to respond to `EGL_DRM_DEVICE_FILE_EXT`). Happy New Year all.
RunSnakeRun for Python3 Out
Written by
on
in
Snaking.
So I finally pushed out the Python3/wxPython Pheonix compatible release of RunSnakeRun. The Python3 version has to run Python2 in order to load Python2 pstats dumps, and Meliae doesn't AFAIK support Python3 yet, so I expect I'll just drop support for it eventually. The code is now living on GitHub rather than Launchpad.
Seems SimpleParse needs work for 3.8
Written by
on
in
Snaking.
So as I work through all the OpenGLContext projects to get automatic (or near automatic) releasing, SimpleParse wound up failing on the 3.x branches with a weird xml test failure. But with Python 3.8 the C code just won't import at all. Seems there was a change in Python 3.8 where it does a load-time ...
PyOpenGL 3.1.4 is Out
Written by
on
in
Snaking.
So I just went ahead and pulled the trigger on getting PyOpenGL and PyOpenGL Accelerate 3.1.4 out the door. Really, there is little that has changed in PyOpenGL, save that I'm actually doing a final (non alpha/beta/rc) release. The last final release having been about 5.5 years ago if PyPI history is to be believed(!) ...
Updating PyOpenGL Sample Code References
Written by
on
in
Snaking.
Continuing to prepare for a PyOpenGL 3.1.4 release.
I've worked through getting the auto-generated reference documentation updated. We now use the upstream git repository for the docbook base files (gl, glu and glx) while still using the legacy files for glut and gle.
I've had to disable the sample-source projects still using SourceForge CVS, as ...
Getting Twitch out the Door (but not as Twitch)
Written by
on
in
Snaking.
As part of trying to get testing done for a PyOpenGL release, I finally got around to testing Twitch, porting it to Python 3.6 and doing a release, only to discover that in the 4 years (!) since I last worked on it, the original package name got used on PyPI. Duh. So Twitch is ...
Protocol Buffer Definitions in Packages
Written by
on
in
Snaking.
For my future reference, and for anyone who happens to hit this as they start into protocol buffering where you want to have the protocol definitions as part of your packages.
The protocol buffer compiler uses relative path names from the directory you specify with '-I' to the directory where the .proto files are to ...