Category archives: Snaking
Discussions of programming, particularly of programming Python
Need to do a bit of porting (Where's the time...)
Written by
on
in
Snaking.
Realised today that SimpleParse doesn't build on Python 2.5. Something in the test for PY_HEX_VERSION is failing so it's trying to redefine functions that have been in Python since 2.3. Sigh. Also need to look at whether it's easily possible to get .egg files into an installer for Win32 users. I also want to get ...
More time on distutils/setuptools than ctypes issues (Just a thought that struck me...)
Written by
on
in
Snaking.
There are two major changes in PyOpenGL 3.x (and OpenGLContext). The first is the big, obvious one, the switch to using ctypes. When it comes right down to it, other than tracking down a few AMD64 issues at the start, and a few problems between the chair and the keyboard, ctypes has "just worked" most ...
Got py2exe + PyOpenGL limping across the line... (Need to add the .egg files to the path)
Written by
on
in
Snaking.
Blake was good enough to prod me abound getting PyOpenGL 3.x to run under py2exe'd applications. The problem is that even if you copy the .egg directory to the distribution directory the setuptools entry points don't get registered, so PyOpenGL can't find its array-handling mechanisms.
After lots of trial and error I just wound up ...!-->!-->
Another try at Sugar (Try Qemu when I get a chance)
Written by
on
in
Snaking.
Going to attempt to set up a Sugar development environment. The Gentoo installation stuff doesn't work any more (everything is masked out due to bugs/instability now). Apparently it'll run in a Qemu environment that allows for development work. Might be a workable solution if I can mount a directory into the image from the workstation. ...
Gigabytes of comment spam (Annoying blaggards...)
Written by
on
in
Snaking.
Tim tells me that the ZODB (Zope Object Database) in which this blog is housed has grown to 12GB, largely composed of enormous amounts of comment spam. He's looking at how to shrink it down to something reasonable, but if that's the kind of spamming rate we're seeing we're going to need some way to ...
I hate it when problems "fix themselves" (Hard to guard against reoccurance that way...)
Written by
on
in
Snaking.
I spent most of yesterday and half of today trying to track down a bug in email sending from the billing system. We hadn't changed any code, but were suddenly seeing duplicate emails. Spent ages trying to find something wrong with the code, eventually just had to assume it was a system-level problem.
So, plaintive ...!-->!-->
Moving StarPy discussions to the mailing list (Formalizing communications)
Written by
on
in
Snaking.
Since there are more people using it and there are people wanting to share experiences and/or discuss usage we should use a mechanism that's a little more community oriented. In that vein, I'll try to switch to using the StarPy-users discussion list for most discussions of the library. Probably still post little snippets here once ...
Just about ready for a new PyOpenGL release (About time...)
Written by
on
in
Snaking.
Spent today on PyOpenGL. Got the nurbs code working for most of the demos. Cleaned up the GLU module implementation as I was doing that. Started work on the documentation, first updating the main page and then beginning work on the auto-generated documentation.
Good news is that the documentation generation process no longer requires so ...!-->!-->
PyGTA presentation on ctypes this Tuesday (Special sneak preview for the PyCon presentation...)
Written by
on
in
Snaking.
I'll be presenting ctypes this Tuesday at PyGTA. We have considerably longer at PyGTA than I will at PyCon, so we'll be able to go into more depth than we will in Texas. We're going to look at when/where/why and try to get into some of the how, time permitting.
As usual, we'll meet at ...!-->!-->
Flight booked but no red-eyes (Have to leave a bit early on the last sprint day)
Written by
on
in
Snaking.
Couldn't find a late flight out on the 1st, so I'll have to leave around 1 or 2pm to get to the 5:35pm flight (depending on how far the airport is commute-wise). Should get in fairly early on the 22nd, though, probably get to the hotel around 1pm.
Whatever happened to the red-eye flights? Check ...!-->!-->