Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

A Ruined Nap (But a very pleasant meal)


Tried to take a nap this afternoon, but the bleeping phone kept ringing. Apparently Rose decided it would be cute to wake me up by calling the house phone from her cell every 15 minutes. Unfortunately, I really needed the sleep.

Luckily, the reason she was wanting to wake me up is because Shiva and ...

Continue reading

Getting OpenGL-ctypes to work with ctypes 0.9.9.3 (Done, sorta, but I don't recall these weird array problems before...)


At one of those annoying moments in coding where you're not sure if something is a bug in your own code, or one of two different libraries. I've been getting a few problems ironed out with the ctypes 0.9.9.3 release (a tool we were using was removed, but equivalent functionality is there).

The problem is ...

Continue reading

SimpleParse 2.1.0a1 released (3 years after the last release...)


You know you've got to spend more time on your Open Source projects when you start measuring the period between releases in years.

Anyway, SimpleParse 2.1.0a1 is now out. The actual SimpleParse code is pretty much identical to the 2.0.1 release of way back when. The big difference is that this release includes a forked ...

Continue reading

New StarPy release with channel-tracking example code (About 61 lines of code...)


There's a new StarPy release up. This fixes the reported data-file installation problem, adds a bit more documentation for a few functions, and fixes a shallow error in one of the sample applications. More interestingly, it also includes sample code for tracking total PRI usage, see the priexhaustion.py script in the examples directory and the ...

Continue reading

StarPy to the rescue (Or, my day in auditing...)


I've spent much of the last two days working on an auditing and reporting mechanisms to let people know when we're getting close to PRI exhaustion. Following the advice of the back-end wizards, who don't see the necessity of having the tools, (the security/financial problems being lost on them) I've been cobbling together a CDR-analysis ...

Continue reading

Blocking on system setups (Wasting time trying to work around missing libraries...)


Have spent way too much of today on non-billable work that's basically just trying to work around not-yet-installed system libraries. Could probably have finished the task if I'd had a working environment. Of course, most of that wasted time is my own fault, should have just accepted that the libraries weren't there yet and moved ...

Continue reading

Newest StarPy Twisted protocols for Asterisk released (Getting ready to use them for a real world project...)


After a couple or three hours of paying work, sat down to polish the StarPy code to the point where I can use it for writing a real server (also to be paying work). First server should be fairly trivial, it's just a FastAGI instance that attaches to the MySQL CDR database and the provisioning ...

Continue reading

Very long day with 0 billables (And way too much caffeine)


Management meeting, then a quick trip to the library, then a crash due to the unreasonably early hour I had to get up at for the meeting, then the UU meeting, then coffee/drinks after the meeting with Bryan and co. I'm now tense and jittery from the caffeine, but my eyes aren't able to focus ...

Continue reading

Oh, while I'm thinking of it (IRC client for phones...)


Was thinking earlier that one of those "cool, but useless" projects might be to use StarPy and Festival to read live IRC feeds to a user. Twisted has all sorts of fun little protocols it can access, but IRC is just so magnificently geeky that it would obviously gather thousands of users in minutes.

Oh, ...

Continue reading

StarPy grows rudimentary hierarchic IVR menus (UI toolkit for voice?)


Okay, there's a new release of StarPy up. This adds menu support with the commonly desirable operations (e.g. options to go up a level, repeating the prompt a limited number of times if the user doesn't respond, that kind of thing). The same API also provides a basic enter-digits handler, though I'll need to produce ...

Continue reading