Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Getting very accustomed to bzr

Having to work with svn again at a client site... I miss bzr.  Even bzr-rebase is turning up fondly in my memories.  It's really just the merging... merging with svn seems to always be an "Oh good Lord! We have to MERGE!" event, filled with conflicts and crashes halfway through switching that leave 1/2 of ...

Continue reading

Regression on Lists/Tuples

Just discovered an annoying regression in the converters for lists/tuples, namely they will core when you have the accelerator module installed.  They don't core without the accelerator, but that seems to just be dumb luck.  Basically when you pass in a list-of-whatevers to PyOpenGL we have to convert it to something C-friendly, so we want ...

Continue reading

Have to do another beta for PyOpenGL

There have been so many changes to try to improve performance and packaging that we're going to have to have another beta for PyOpenGL.  Beta 8 is up on SourceForge.  It includes Win32 installers for both the Python code and the (optional) Cython accelerator modules (for Python 2.5).  Probably should split out the accelerator modules ...

Continue reading

Got a MingW32 Toolchain Set Up

Finally sat down and got my ancient Win2K setup updated sufficiently to install Python 2.6 and MingW32 into it.  Have just compiled the OpenGL_accelerate wrapper.pyd with the setup, but as of yet I don't have enough other 2.6-compatible modules available in the environment to actually test it.  Numpy doesn't seem to be available yet.

SimpleParse ...

Continue reading

Color me impressed with Cython

Have just been testing the new Cython accelerator module for PyOpenGL 3.x on my workstation.  As seen on the laptop, the PyOpenGL-specific stuff just sort of drops out of the hotspot-set.  There's a few little spots with a percent or two showing up, but pretty much everything else is OpenGLContext scenegraph management stuff.  Those tend ...

Continue reading

No thrill on Ruby yet

Just wrote my first Ruby script (I've only read about it before this).  I'm not falling in love yet... can't say I'm really even finding it beautiful.  All those "ends" scattered around, scoping with line-noise.  I see the niceness of the block abstraction, but I haven't yet come to need them.  Ah well, suppose I ...

Continue reading

Now we need 3 million dollars...

I chose 1 million dollars as a small number that should be possible to raise if we have a good enough proposal.  The top three voted projects focus on, one way or another, performance and applicability.  The winning project essentially was to improve Python's concurrency storing markedly.  Basically spend the money on hiring people to ...

Continue reading

Your Million-Dollar Python Project @ PyGTA

PyGTA on Tuesday should be fun.  The question is:

If you had a million dollars (CDN) to spend on a Python project, what would you spend it on?

Sure, money doesn't solve all problems, but if you had it available and earmarked for "something python", what would you do with it?  We'll assume a project ...

Continue reading

Million Dollar Ideas Wrap-up from PyGTA

Great fun at PyGTA this evening.  We had an overly complex voting scheme, basically you could vote from 0 to 5 (5 being the highest) for each project, total count wins.  We had quite a few proposals, and laughed rather a lot during the process.

My take-aways:

  • Concurrency matters in multi-core systems, Python needs ...

Continue reading

Unexpected Optimizations

I hadn't intended to work on PyOpenGL today, wanted to spend some time looking at what to do for the broader world... oops.  Anyway, using Cython I've sped up the PyOpenGL stuff to the point where the PyOpenGL stuff has dropped off the list of hotspots for OpenGLContext rendering.  Not saying there aren't hotspots left, ...

Continue reading