Category archives: Snaking
Discussions of programming, particularly of programming Python
Caching OIDs for PySNMP (and other bits of trivia...)
Written by
on
in
Snaking.
So today I completed the alterations to PySNMP to allow it to cache the BER encoding of OIDs. Then it took a couple of hours to fix all the stupid problems that arose. The most annoying was the stupid problems where diff produced garbage patches because one set of files had DOS line-endings and the ...
Just what am I doing up? (Well, in fact, working...)
Written by
on
in
Snaking.
Couldn't sleep for ideas popping into my head for Cinemon, so spent a few hours on various approaches to speeding things up. Spent some time trying to get yapsnmp compiled, eventually just gave up after I finally got it to compile and the silly make file didn't install the c module.
Then played around with ...!-->!-->
Seem to have lost my descriptors notes in the move to Linux (Oh well, not that hard to find projects using them...)
Written by
on
in
Snaking.
Continuing work on the PyCon presentation. Charged through the entire next section either writing rough text or making point-form notes. This is the section describing the post 2.2 descriptor-base projects and the ways that meta-programmers have been (ab)using them to create interesting effects.
Among those are two of my own projects. The first is the ...!-->!-->
Day goes well until I get back to the question of performance (Though a bug showed up when it went live...)
Written by
on
in
Snaking.
Spent the bulk of the day on the counter-history download XMLRPC code. That's now working, but the silly modem-current-value code is failing due to an XMLRPC linearisation problem when run on the live system. Grr.
Aside:
Really need to have a decent "trusted" Python-to-Python RPC mechanism that's Twisted and non-Twisted friendly which can just pass ...
!-->!-->!-->!-->
Sleep would be good about now... (It refuses to come, so I think about encryption)
Written by
on
in
Snaking.
Okay, I'm sure there's some obvious reason this won't work, since it seems so obvious, and lots of people are working in this area, but it's keeping me awake, so may as well inflict it on others...
Goal: make encrypted email communication the norm.
Partial Problem: need for registration with keyservers, resolution of who is ...!-->!-->!-->
I need to write faster (Get the paper done and work on the presentation!)
Written by
on
in
Snaking,
Vindaloo.
Worked on the PyCon paper some more this evening (when I wasn't bumping into bugs here and there in OOo). Mostly just getting the section introducing data descriptors roughed out and doing some more work on the functions-to-non-data-descriptors generalisation.
Problem is, I still have a lot of material to cover and I'm spending entirely too ...!-->!-->
Even with sample code a whole day disappears creating 1 XMLRPC method! (Well, probably 90% of it was getting the server running...)
Written by
on
in
Snaking.
Spent the whole day working on porting the few bits of old-Cinemon that are actually used by ACI over to the new-Cinemon codebase so that we can use the old Cinemon box as a query server. Stephen over on the twisted discussion list sent me some sample code for the operation on Friday, but it ...
That sickening, sinking feeling... (If you don't run all of your tests every day (at least), this is what happens)
Written by
on
in
Snaking.
Spent the whole afternoon and evening working on OpenGLContext. Mostly doing some long-pending refactoring and reorganisation. I moved the "scripts" into their own directory, made the mainloops classmethods of the various context types, and then started in to unify the API for specifying context parameters on startup (via a definition object).
Now, as I got ...!-->!-->
Guess I should really just go to sleep (Don't seem to be producing any deep insights for PyCon this evening...)
Written by
on
in
Snaking.
Getting a little too sharp in writing the PyCon paper (egads, it's something like 3.5 weeks away now, we should get a hotel some day soon). It's too easy to start pointing out the little flaws and problems in the conceptualisation of the two protocols (data and non-data descriptors). I don't want the paper to ...
Have to rebuild Windows yet again (It would be *so* nice if the hardware worked in Linux so I could ditch Windows entirely...)
Written by
on
in
Snaking,
Tuxedo.
Woke up this morning to find that there are half a dozen infected (system) files on the Windows partition. I'd really like to know what vector they came in on :( . AVG found the problems, but the free version couldn't heal, quarantine, or otherwise touch them. I suppose I could futz around replacing the ...