Author archives: Mike
Step 2: Get an amd64-compatible VS 2010
Written by
on
in
Snaking.
So Python 3.3 and 3.4 require Visual Studio (Express) 2010 to compile extensions. I already had my machine setup with Visual Studio Express 2008 + the platform SDK to get 32 and 64-bit compilers for Python 2.6 and 2.7, but to release for the 3.x's I needed to get the new compilers. There is, however, ...
Pygame-hosted EGL + ES1 works
Written by
on
in
Snaking.
So Pygame based EGL + OpenGL-ES1 context works with PyOpenGL 3.1 under Kubuntu amd64 with MESA EGL/GLES. Yay.
Really do need to get a couple SD cards ordered so I can port to the Raspberry Pi too. I expect that will be a matter of just getting the proper library-names defined in the platform loading ...
PyOpenGL 3.1.0b1 Available for Testing
Written by
on
in
Snaking.
PyOpenGL and PyOpenGL_accelerate 3.1.0b1 are now up on PyPI. There's MS Windows 32 and 64-bit installers for the windows-ians. The main "features" planned for the 3.1.0 release (and available in the beta) are:
- raw wrappers generated from the ARB source XML definitions, this means that it covers a lot more extensions, including GLX, WGL, EGL ...
Step 1: Get Windows Updated
Written by
on
in
Snaking.
Booted into Windows to get the PyOpenGL-Accelerate release compiled, and started following my standard "update windows, AV definitions, etc" pre-release steps... and Windows Update failed. Lots of fail (and 3 hours of trolling through MS support and trying dozens of different fixes intended to reset/verify/cleanup Windows Update state) later I wound up with some Windows ...
FGLRX fail again, now on 12.04
Written by
on
in
Tuxedo.
So I've pretty much given up on the laptop having fglrx running properly, current Ubuntu just doesn't get fglrx, sucks, but okay, I should have stayed on LTS if I wanted a working machine. But now LTS Kubuntu fglrx is hosed after some system update. Every attempt to run any OpenGL program just segfaults (not ...
Finally some EGL/GLES in PyOpenGL
Written by
on
in
Snaking.
I finally have a working demo using EGL and GLES under X11/Mesa (Kubuntu 12.04). I can run the most basic of ES1 and ES2 (as well as GL) tests under an EGL-provided context hosted by python-xlib (i.e. a raw X11 window). There's no guarantee that actual useful work could be done with it, but clearing ...
Is fglrx dead for Ubuntu-current
Written by
on
in
Tuxedo.
So the AMD Proprietary driver (fglrx) for Linux supports "Ubuntu 12.04 and 13.04" (Note: not the current Ubuntu 13.10), and so far every attempt I've made to use them on 13.10 has supported the "not supported" hypothesis (kernel module compilation failures in the latest iteration). But drat-it-all my machine meets the declared software requirements (kernel, ...
Voice Dictation Privilege
Written by
on
in
Snaking,
Tuxedo,
Young Coders.
Apparently I'm blessed with a Voice Dictation friendly accent and tone. I can pretty much use most Voice Dictation systems, including the ones on Android, Dragon Naturally Speaking, and PocketSphinx. The results aren't mind-blowing-ly good, but if it's quiet and I speak clearly and train anything that gets missed, I get reasonable results.
Watching a ...
Django CSRF explicitly doesn't trust HTTP when submitting to HTTPS
Written by
on
in
Snaking.
I managed to introduce a wonderful little bug in the Django blog site here. I wanted all contributors (those making comments and myself) to use HTTPS, but I didn't want to rewrite the templates for the Zinnia blog entries, so I just naively redirected the comments form to the HTTPS site. CSRF protection in Django explicitly does ...
os.write() can hang, apparently
Written by
on
in
Snaking.
Wound up spending the whole afternoon tracking down an "only happens in production" bug where a sub-process would just hang, but only when big chunks of data were involved. Seems that os.write() was trying to write more than the target pipe could handle, so was winding up blocking. To tired to actually confirm that tonight, but ...