Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Shidan suggests a predictive dialer app (Doesn't seem hard, but is it what I want to do...)


Shidan was mentioning that they might be interested in a predictive dialer application. It's a fairly straightforward system, you have a statistical algorithm that tries to predict how many operators will become free over the next X seconds (taking currently length of each call into account), another algorithm figures out how many connections will go ...

Continue reading

Those features you just want to avoid (Impedence mismatch is a powerful disincentive...)


I've been avoiding one of the features on the todo list for the VoIP project for quite a while, mostly because it seemed poorly defined and not particularly useful. Decided to just go ahead and bash through it yesterday. Still not finished, but the poorly defined part is done, the rest is just figuring out ...

Continue reading

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