Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Another good day (Statistics display for CMTS working)


Had a bit of an "oops" this morning as Tim called my attention to the fact that the billing system is relying on the current Cinemon for it's bandwidth-usage data. Means that I can't leave the demo scanner running for Bryan... eeps, just realised writing that that I never sent him his password/url combination.

Discovered ...

Continue reading

Productive day all-in-all (Didn't touch the speed issue, focussed on user-story completion)


So I spent the last few days working on getting user-stories finished for the demo. As of right now I know that the physical-hierarchy upload works as expected and properly collects the modems for the physical hierarchy.

Couple of (2) major user-stories still pending, (reconnecting) the email alerts, and displaying group/modem information textually. After that ...

Continue reading

Maybe it's slow because all database access goes through the single queue (Or maybe there's just too many deferred's scheduled)


Too tired to test the hypothesis this evening, but I'm wondering if the reason the user interactions are being held up so long is that they are trying to execute a database operation. Database operations are linearised to avoid deadlocks, which could quite readily be resulting in any given database-dependent operation taking a long time ...

Continue reading

Still bites, but not that way (SSL-encrypted connection works, but not regular)


[oops, forgot to hit submit last night]

Got past that little roadblock. Now I'm trying to work on getting the performance up to something usable. The intensive scanning mode that works beautifully on my workstation is killing the (far less powerful) server. I can regenerate the overall views as fast as I can hit refresh ...

Continue reading

Twisted bites me (Oh, how frustrating this is...)


One of the reasons for moving to Linux for my workstation was to have my development environment closer to the production server environment. The theory being that with two Unix-ish operating systems, I could rely on being able to readily move code from one to the other without those annoying "oh, that works fine on ...

Continue reading

That state of fatigue and joy (Where you just can't sleep...)


After the PyGTA meeting I was way too excited to sleep, but wasn't particularly in any shape to be doing "real" work (just too tired to think clearly). What should you do when you get to that point? Well obviously, computer graphics, relaxing, easy, no real effort involved.

Since Cenzio (hope I got his name ...

Continue reading

Apparently I'm too tired to think (twisted.web + authentication stymies me...)


fzZzy has been trying to help me set up twisted.cred authentication, for which (apparently) I need Nevow. I can't see how to make the security wrapper from Nevow work with the resources from twisted.web. Not a huge loss, I've only basically got 3 resources at the moment, I can convert to Nevow, but I need ...

Continue reading

Why Open Source is neat (It's the little things, like personal contact...)


Was struck this morning by just how cool it is that during this week I've talked directly to the developers working on major pieces of my computing environment. That's the kind of access you only get if you're a Fortune 500 company when you're using Microsoft software.

Think about it, I chatted with the chap ...

Continue reading

Finally solved that pesky keyboard malfunction (And along the way, got my .xinitrc working...)


Have been having quite a few screaming sessions with the computer over it's insistence on entering a chording-key-entry mode every time I press the control and shift keys together (which I do all the time while editing). Took almost three hours this evening, but I finally tracked down the problem and fixed it.

Turns out ...

Continue reading

Trust the simple, general libraries (Don't trust the one-off stuff written for a particular project...)


Spent quite a few hours today doing debugging on the Mock CMTS code, in the end, it was all bugs in the shims that short-circuit around TwistedSNMP for the testing environment, but I spent far too long spelunking through the code on either side of it (the ping-scanner, which has been running for months, and ...

Continue reading