Category archives: Snaking
Discussions of programming, particularly of programming Python
Thoughts on BasicProperty in the morning (How to unify the dozens of domain-modelling descriptor libraries?)
Written by
on
in
Snaking.
As I covered in my talk this past PyCon, we're getting a proliferation of domain-modelling frameworks in Python. I'm actually responsible for 2 of them myself (OpenGLContext's fields and BasicProperty). There's also Traits, Zope's fields, and a similar system in PEAK.
When you consider PyTable (which creates BasicProperty properties from database-schema definitions and builds convenience ...!-->!-->
Playing with Django
Written by
on
in
Snaking.
Decided I needed to play with Django so that I can at least know what it is.
Millis are metering (Thomas fixes bug, I run into weird bad-pointer exception...)
Written by
on
in
Snaking.
Thomas posted a patch yesterday that seems to take care of the callback deallocation problem I was having with OpenGL-ctypes. Unfortunately, it didn't move me very far forward. I'm now seeing a crash inside the GLUT mainloop, particularly during a call to glFlush().
Only thing I can think of at the moment that would cause ...!-->!-->
Don't leave the on/off switch to last (Refactoring and other joys of iteration completion...)
Written by
on
in
Snaking.
Today marked the end of the single-account iteration for the VOIP front-end project. Today was mostly taken up with refactoring, testing, and generally cleaning up the single-account stories. The refactoring was pretty intensive, lots of common code factored into a small set of common, logically meaningful base classes, APIs for what seemed like different things ...
As the caffeine fades (I realise that night hasn't just fallen, it's been lying unconscious on the floor for a good few hours...)
Written by
on
in
Snaking.
Had two extremely strong largish regular coffees at the management meeting this morning. No breakfast or lunch. Sat down to work at 2 in the afternoon and didn't get up until around 8 at night, when I got myself a couple of pieces of bread with chocolate-hazelnut spread and briefly considered making dinner, but decided ...
Web frameworks are too dang easy to write (Another bloody one showing up in my code...)
Written by
on
in
Snaking.
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 ...!-->!-->
Didn't quite manage an inch (Centimeter-ing forward with OpenGL-ctypes)
Written by
on
in
Snaking.
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 ...
OpenGL-ctypes inches forward (Beginning to look somewhat functional...)
Written by
on
in
Snaking.
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 ...!-->!-->
Lonely Steps
Written by
on
in
Snaking.
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 ...!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->
On creative marketplaces (Supporting the content creators...)
Written by
on
in
Snaking,
Vindaloo.
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 ...