Category archives: Snaking
Discussions of programming, particularly of programming Python
PyGTA meeting tonight (Tuesday)
Written by
on
in
Snaking.
Toronto Pythonistas, PyGTA is the place to be. Aaron Bentley will be presenting on the Bazaar-NG distributed VCS system.
Curiouser and curiouser with Asterisk manager interface (pyst doesn't seem to realise that there are event-generating queries)
Written by
on
in
Snaking.
Can't sleep, so spending more time with the manager interface. Interestingly, it seems that pyst has a fairly low-level assumption that just doesn't match the manager interface: namely that all events should be dispatched asynchronously to registered handlers. The problem is that certain actions produce a response, then a sequence of events in order that ...
Retrieving information from the Asterisk manager interface (Again, using pyst)
Written by
on
in
Snaking.
A somewhat shorter task here. Imagine for a moment that you want to be able to list the currently available SIP peers (in a web-site front-end, for instance). The manager interface can run any Asterisk command-line-interface command, but how do you get the results of that command? It's not exactly obvious, but this little recipe ...
Using Asterisk's manager interface to generate calls (From Python using pyst)
Written by
on
in
Snaking.
This is not a deep and profound project, it's a quick "hello world" example script that allows you to generate a call via Asterisk that connects a SIP URI to a particular extension in your call plan. You could use this as-is to create a phone survey or similar system that connects a user to ...
PyGTA meeting next Tuesday
Written by
on
in
Snaking.
The next Toronto Area Python Users Group (aka PyGTA) meeting happens January 24th, 7pm-9pm at the Linux Caffe. Speaker is Aaron Bentley discussing his work on the Bazaar-NG Python-coded distributed Revision Control System.
Nurbs working in OpenGL-ctypes (Should have been writing...)
Written by
on
in
Snaking.
Wasn't really in the mood to write this afternoon, so I spent a few hours on OpenGL-ctypes. The nurbs support is pretty much finished, all of the tests I have work fine, including the callback test that didn't work under PyOpenGL. There's still problems where the slowdown on NURBS rendering winds up completely k-o-ing the ...
Remoting all day (Almost there)
Written by
on
in
Snaking.
Got the bulk of the remote query software for Cinemon finished. Basically down to configuration and control of the feature. Anyway, I'm about done for the day.
Round trip completed (finally) (CAD Views to topological views to CAD views...)
Written by
on
in
Snaking.
Finished off the CAD-system integration code for Cinemon today. Lots of little details mostly. Upside is that as of now we can import the files, store them properly, populate them for demos, and produce files to have the viewer pull up the CAD map with annotations for an area on user request.
Off to UU ...!-->!-->
More integration (Different product...)
Written by
on
in
Snaking.
Spent the whole day on Cinemon today; mostly making the code handle imports from a partner's CAD system more elegantly. Tweaked the graphics code to be able to handle deeper hierarchies as part of that.
The graphs are produced by a fairly elegant (IMO) algorithm, but there's a limit to how dense the graph it ...!-->!-->
Slow getting started today (So much for early-to-bed early-to-rise)
Written by
on
in
Snaking.
Don't much feel like playing with VoIP today. Still, have to get it done. Building mostly external-systems integration stuff now, import and export scripts, that kind of thing.
A note to people who want other people to integrate with their business systems; publish technical specs on your web-site in the public areas. Don't put the ...!-->!-->