Category archives: Snaking
Discussions of programming, particularly of programming Python
Some OpenGL-ctypes hacking (Including getting auto-generation working again...)
Written by
on
in
Snaking.
Added a GLX sub-package to OpenGL-ctypes today. It was created using the auto-generation mechanism, which had drifted away from the subclass I created a bit. Seem to be back to usable results now.
Tried to get the WGL sub-package created, but didn't have one of the MSVC libraries I needed to do the auto-generation. Also ...!-->!-->
Seneca FOSS conference begins (Keynote and then "artists language" talk...)
Written by
on
in
Snaking.
Mozilla keynote was basically about how to make the minimal contributions of many people collect efficiently into a final product.
Now at the "Pure Data" Artist's Language talk. "csound" is a programming language? I'd thought it was a library. Anyway, interesting little patch language, apparently has Python bindings of some form. Same kind of stuff ...!-->!-->
Off to a conference tomorrow and Friday (Seneca FSOSS conference up at York University)
Written by
on
in
Snaking.
Going up to a little conference at York University tomorrow morning (8:30 am! I'll have to be out of here by 7:30!). Not presenting, just planning on spending the day "networking" (read talking). If it wraps up early I'll try to get downtown to hit the IEEE discussion of the Cell processor architecture at Ryerson. ...
PyMol shows up on a random computer (Didn't I say I wouldn't do this any more?)
Written by
on
in
Snaking.
Rose somehow forgot that I'm trying to stop helping people with their infected Windows machines, so she volunteered me to help her friend. Sigh. Anyway, cool thing happened; browsing the start menu to look for suspicious programs I found PyMol!
I think that's cool. Makes me feel somewhat less dumb about contributing to the network ...!-->!-->
Another hour of trying to get Eric up (No luck yet...)
Written by
on
in
Snaking.
I decided to try building Eric for the workstation (again) so that I can use the larger monitor, far better chair and generally better ergonomic support for development (comfort matters more and more as I get older). This time I tried to get Eric4 working. Ran into the same basic problem. SIP isn't Python 2.5 ...
Getting sip to build on Gentoo Python 2.5 (Or, how to use overlays.gentoo.org for those who don't feel like using "layman")
Written by
on
in
Snaking.
When I upgraded the workstation to 2.5 I wound up breaking the Eric3 IDE that I use for all my hacking (Python and otherwise). It was broken because of some Python 2.5 HeapTypeObject structure changes that meant the SIP wrapper generator wouldn't work. A search of the net revealed what appeared to be an ebuild ...
Ah the joys of bundling (Wish I had time to work on it today)
Written by
on
in
Snaking.
Blake reports that things go to handbaskets when attempting to include OpenGL (-ctypes) in a Py2App bundle. Apparently the setuptools entry-point registrations (which are required by OpenGL-ctypes) are not getting triggered so there's no handlers available.
And there's the flip-side of using big, standard(-ish) packages, when they break, you have to be willing (and have ...!-->!-->
Successes and failures trickle in (So far three of them...)
Written by
on
in
Snaking.
So far the count (for people other than me) of successes/failures is 1:2, with Blake getting a flawless install on OS X and Simon and Bill getting "Unexpected HTML page found at" errors. I'm now plowing through the 170 messages sitting in my distutils folder (I subscribe, but I often ignore the mailing list) to ...
Argh, two hours wasted (Testing is useless if the app you're using to record results crashes...)
Written by
on
in
Snaking.
Spent almost 2 solid hours running tests for OpenGL-ctypes on AMD64 Linux this afternoon. Unfortunately, NVU crashed as I was entering the result for the second-to-last test. Argh. Apparently I didn't save during the entire period, so the recorded tests are at exactly the same point they were yesterday.
I'm going to skip doing the ...!-->!-->
Bit of project maintenance work on OpenGL (Before and after work...)
Written by
on
in
Snaking.
Integrated a patch from Marco and answered various project-related emails this morning. Then started writing a "Using OpenGL in Python" document for the new release. Lastly started going through the demos and creating an up-to-date table showing passing/failing demos for each platform (well, just the one at the moment, but with space for the others). ...