Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Finally hit my stride on the PyCon presentation (Key is to use paper for designing... you'd think I'd remember that...)


So, instead of sitting in front of the computer and working on the presentation, I printed out the paper (such as it is) and began working on slides as boxes on pieces of paper around key phrases. It's messy, but that's part of the point. I got the bulk of the paper (up to the ...

Continue reading

Were it not for it being virus infested (This is a day I would have booted Windows up just to get the work done...)


So, more than three hours later, what have I accomplished? Basically nothing, though not for lack of effort. OpenOffice Impress was crashing every 3 or 4 minutes when I had writer open, so I finally decided (two hours ago) that I'd just print the paper out and use that as my reference when working on ...

Continue reading

Finally book a hotel for PyCon (Procrastination is bad, rising hotel rates are worse...)


Got us (at least D'Arcy and I, possibly Ian) a hotel room this morning. All told it's about $1000CDN for the 5-night stay (including everything but parking). That's $100CDN/night for each of us, or around $70USD, which isn't spectacular, but triple occupancy is included in the price, and $66CDN/night is fairly good. I was strongly ...

Continue reading

Caching OIDs for PySNMP (and other bits of trivia...)


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 ...

Continue reading

Just what am I doing up? (Well, in fact, working...)


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 ...

Continue reading

Seem to have lost my descriptors notes in the move to Linux (Oh well, not that hard to find projects using them...)


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 ...

Continue reading

Day goes well until I get back to the question of performance (Though a bug showed up when it went live...)

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 ...

Continue reading

Sleep would be good about now... (It refuses to come, so I think about encryption)


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 ...

Continue reading

I need to write faster (Get the paper done and work on the presentation!)


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 ...

Continue reading

Even with sample code a whole day disappears creating 1 XMLRPC method! (Well, probably 90% of it was getting the server running...)


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 ...

Continue reading