Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

It may be worth it to rewrite wxProfile... (Well, actually wxProfile2, as that's what does hotshot loads)


It takes my (moderately beefy) machine 3 or 4 minutes to load a profile for a small HotShot profile run (e.g. the TwistedSNMP test suite). Although I try to do useful work while it's loading, a lot of the time is just wasted reading email, or news, or what have you.

It might be worthwhile ...

Continue reading

Optimising and re-optimising (Deja-vu for PySNMP hacking...)


Spent the whole day staring and poking at PySNMP. I think I see a way to speed the system up to something reasonable...

The basic problem is that any given final class, be it a simple integer holder or a full SNMP get message, is composed of about 20 mix-in and base classes, all of ...

Continue reading

A day on tickets and a night on Numpy (Need food though...)


Few more bug-fixes and enhancements to Cinemon today. Nothing stunning, a few new OIDs added to the collection, an annoying bug in the email-limiting code fixed, that kind of thing.

Spent the evening looking at Jelle's genetic algorithm code and then rewriting it using Numpy so it would both be easier to follow and more ...

Continue reading

Explanation of sorts for why conversion of Jelle's project didn't work (Tessellation was producing counter-clock-wise geometry...)


I converted Jelle's project to run in OpenGLContext, but when I did so, the rendering went all to heck, seemingly randomly losing triangular faces. Turns out it wasn't random, it was an artefact of the GLU tessellator wherein it was generating polygons which were in reverse order vertex-wise to those passed in as "solid".

Haven't ...

Continue reading

Think that's it for the week (Use up some of this week's overtime to get a jump on OpenGLContext etc.)


Was up at some ungodly hour this morning (though I steadfastly refused to answer the phone for whatever nut-case phoned me at 9 in the morning), so I think I'll use up an hour of this week's overtime (I have 7 hours extra just this week, which isn't a huge amount, but when you're not ...

Continue reading

Ah, the staccato glory of tickets closing (Or, two days of tweaking...)


Other than about 4 hours on the phone with D'Arcy, and about an hour tweaking the SIP pager demo, I've spent the last two (long!) days coding up feature requests and bug fixes gleaned on Tuesday. There's still a few left, but, save one, they're either involved (e.g. finding difficult to reproduce bugs), or likely ...

Continue reading

The days that make it all worthwhile (I'm obviously just hungry for validation of my life of poverty...)


Spent the day up at ACI hammering out an agreement on the 1.0 features and then interviewing Bryan and three of the technical staff regarding their use of Cinemon and what changes they'd like to see. They seem to like it overall, most changes proposed were either enhancements or minor cosmetic changes.

"It makes dealing ...

Continue reading

Day sucked into the abyss of pair-debugging (Where did it go? It was just here a few minutes ago...)


Day was rather fragmented (again). Mostly due to calls from D'Arcy. Was getting weird failures in the "EFT" server (now the "Payment" server). Turned out to be caused by a socket not getting closed in the test cases. Only showed up on the production server. Only occurred when the tests were run in given order. ...

Continue reading

For the Eric3 users out there (Create an Eric3 project from your CVS working directory...)


I often find it extremely frustrating to have to re-check-out my working directories using Eric's GUI (especially since I normally already have them checked out and partially-edited). Maybe this is just a problem when you keep swapping environments, but anyway, it's an itch I felt the need to scratch.

The script takes a CVS working ...

Continue reading

What am I doing up so late (I asks meself I does...)


Just before I managed to get to sleep, I got annoyed with something in Eric. Basically, if you want to use a CVS project in Eric you have to check it out through Eric. That's annoying when you've already got everything checked out and you have to go through the rather awkward Eric checkout process. ...

Continue reading