Author archives: Mike

RSS feed of Mike

Step 1: Get Windows Updated

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

Continue reading

FGLRX fail again, now on 12.04

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

Continue reading

Finally some EGL/GLES in PyOpenGL

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

Continue reading

Is fglrx dead for Ubuntu-current

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

Continue reading

Voice Dictation Privilege

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

Continue reading

Django CSRF explicitly doesn't trust HTTP when submitting to HTTPS

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

Continue reading

os.write() can hang, apparently

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

Continue reading

Nexus 5 Phone Contacts WTF

I needed to phone my mother at one point this weekend.

Pulled up the Nexus phone dialer for one of the first times (I don't actually use my phone as a phone all that much). Said my mother's (full) name, saw a brief flash of her details, and they were promptly replaced with a bunch ...

Continue reading

Started on Win32 for PyOpenGL

Booted into Windows to get the PyOpenGL xml-generation branch started on extension management. So far not working, as the extension querying mechanism (which is itself an extension) doesn't show up with wglGetProcAddress.  Annoying thing is that it *did* show up while debugging once, but not since then.  I'll likely find a few more bugs once ...

Continue reading

Integrated Graphics Really Does Suck

So apparently I forgot to re-install the fglrx driver after updating my laptop to Kubuntu 13.10.  So as I've been testing PyOpenGL I've been amazed by how cr*ppy the GL performance has been, and I kept running into "this doesn't work at all" bugs for newer features. It did make me actually look at what ...

Continue reading