Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Web frameworks are too dang easy to write (Another bloody one showing up in my code...)


Spent the day pounding away at the VOIP Billing project. It's getting fairly close to functional at the single-account level. Did a couple of significant refactorings during the day and am now seeing a web framework poking it's hoary head out of the contingencies.

Since I'm using BasicProperty for all of the modelling, there are ...

Continue reading

Didn't quite manage an inch (Centimeter-ing forward with OpenGL-ctypes)


Gave my hands a break, then did a bit of work on the image-handling code for OpenGL-ctypes. Mostly just translating the array-setup functions (SetupPixelRead, SetupRawPixelRead) into Python code, then deciding instead to re-implement them, as they aren't really clear wrt what they're trying to do. Hopefully breaking it down into 4 or 5 functions, each ...

Continue reading

OpenGL-ctypes inches forward (Beginning to look somewhat functional...)


Wrapped up the GLU quadrics code, and the selection-set processing code (along with some other bits and pieces) so that the OpenGL-ctypes code can run PyGame-hosted versions of a number of the OpenGLContext demos. Most notably the selection demos (which use lots of spheres :) ).

Next step is probably to work on the image-handling ...

Continue reading

Lonely Steps


The steps at night
Quiet even in the daylight
Ask me to sit with them
Gaze down that longest avenue
Where perfect pretty people preen
Upon each other
Shopping for flesh dressed up
To kill
They don't ask me
They want to look beyond
To stars hanging above them
With cool breezes to refresh
And ...

Continue reading

On creative marketplaces (Supporting the content creators...)

Eventual goal:

  • Provide a democratised narrowcast-capable media marketplace
    • Content producers must be paid (likely in proportion to the popularity of their work, though a patronage system or the like may also be present to encourage unpopular expression)
    • As much as possible, no choke points should be built in to allow control over the forms of ...

Continue reading

Ca suffit! (Need to do something other than sit at a computer...)


Long day today. It is officially the weekend, but I was too tired to go out or do anything this evening. Decided to spend some time on OpenGL-ctypes. Basically just made the GLUT callback code a little more generalised, but in doing so I seem to have tripped up somewhere, as I'm now getting weird ...

Continue reading

Ach! It grates! (It's been done so many times before...)


Today was spent getting the feature-display and selection mechanisms written. The annoying part is that it's all been done so many times before it's depressing to think that I'm writing it myself. Oh well.

Not much else going on, got up, worked, took a short nap, worked more, now need to get to sleep. As ...

Continue reading

Impedence mismatch leads to LCD (Or, my day in business-logic programming...)


Today was spent on database design for the sip front-end project. All in all fairly productive, we've got the whole thing nicely isolated so that it only needs two references to outside schema. It's fairly straightforward as a design, and shouldn't cause any problems (so expect to hear about lots of frustration and heartache ;) ...

Continue reading

Building observability into BasicProperty (Well, adding a module that provides it, anyway...)


Couldn't sleep, so decided to enhance a demo I wrote a few days ago when someone asked about how to do observable fields/properties in Python. OpenGLContext's VRML97 scenegraph is built out of observable fields, and we have a number of observable BasicProperty sub-classes in Cinemon, but BasicProperty itself hasn't had a "standard" observability story.

Backing ...

Continue reading

Far too long a day (Working with foreign systems is a PITA)


Couldn't get much of Tim or D'Arcy's time today, so much of my time was spent in frustration. I've noticed as I get older that I scream more at the computer.

Eventually I had to admit defeat and decide to wait until someone who knows the system explains what the freakin heck I need to ...

Continue reading