Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

I don't use office applications enough (Openoffice eats my business proposal...)


Very frustrating evening here. Had one of those "oh, heck, I should save this since I've put so much effort into it" moments, you know the ones. You're sure the software is supposed to be doing a backup in the background, but still, you don't want to rely on that.

Oh well, hit save, hunt ...

Continue reading

Bit of hacking for OpenGL-ctypes (Images or bust... or something like that...)


I've been so busy lately that I haven't even looked at the OpenGL folder (the 124 unread messages count is scaring me). So, rather than do something useful and see what people are asking about, I decided to do some coding on OpenGL-ctypes. Basically I decided to get the image-handling working.

Didn't quite get there. ...

Continue reading

I'm a Lumberjack (Logging the night away...)


I've just spent the last few hours building event-logging functionality into the VOIP front-end. Turned out to be far less painful than I'd thought it would be. There were a few places where I had to do some funky code to provide a formatted note regarding what had been done, but in most places the ...

Continue reading

Why work on details (When your strength is conceptual operations?)


Had one of those days. Lots of pointless, stupid little details, the kind of thing that should really be getting handed off to someone who enjoys fiddling with everything until they achieve perfection. In the same day I came up with 2 ideas that are both marketable business plans, things that address an immediate widespread ...

Continue reading

Decision gridlock (Bogging down with lack of deciding factors...)


I wound up stopping work on making TwistedSNMP work with PySNMP 4.x today. I had work on the VOIP project that needed doing, but that wasn't why I stopped.

Sometimes when you're faced with a task there are two (or more) mutually exclusive approaches, both of which will take a long time to implement. You ...

Continue reading

First steps to using PySNMP 4.x from Twisted (Transport layer implemented)


As well as rather a lot of reading code and RFCs I started into coding today. First task was to replace the asyncore communications loop with a Twisted Protocol object. Once I got straight which pieces actually relate to the system, and which are part of the asyncore loop it worked fairly well. Gave up ...

Continue reading

Numpy no longer going nuts (Was apparently 64-bit problems with 23.7, version 23.8 fixed it)


Spending a few minutes trying to get the Numpy regression worked out. Confirmed that it really was a problem and then went to submit a bug report only to read that 23.8 had fixes for bugs with 64-bit machines. With 23.8 we no longer crash in OpenGLContext with OpenGL-ctypes (well, not in the same place ...

Continue reading

More PySNMP spelunking (Agents of fortune...)


Spent the half of the day after the management meeting pouring over the PySNMP codebase, trying to decide whether to use PySNMP 4.x or whether to try to teach PySNMP-se 3.5.x how to handle full-featured Agent-side operations. Still no particular resolution. PySNMP 4.x will require some surgery to work with TwistedSNMP, but it does have ...

Continue reading

Writing SNMP Agents in Python (Investigating options takes longer than I'd hoped...)


Spent almost the whole day today on investigations for how to handle creating a Cinemon SNMP Agent (particularly an HMTS-like entity). There are a few major approaches:

* Extend the existing Agent support in TwistedSNMP to cover just that part of the Agent we need (mostly trap configuration). This already handles the basics of setting/getting, ...

Continue reading

To PyCon, or not to PyCon? (Priorities?)


It's weird, but I'm seriously considering skipping PyCon this year. Why? Well, because I need to focus my energies on academic and research interests. It's weird because a month ago I was thinking about proposing multiple talks, tutorials and the like and just assuming I would go.

Maybe go to a design theory conference somewhere ...

Continue reading