Category archives: Snaking
Discussions of programming, particularly of programming Python
Maybe it's slow because all database access goes through the single queue (Or maybe there's just too many deferred's scheduled)
Written by
on
in
Snaking.
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 ...
Still bites, but not that way (SSL-encrypted connection works, but not regular)
Written by
on
in
Snaking.
[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 ...!-->!-->
Twisted bites me (Oh, how frustrating this is...)
Written by
on
in
Snaking.
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 ...
That state of fatigue and joy (Where you just can't sleep...)
Written by
on
in
Snaking.
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 ...!-->!-->
Apparently I'm too tired to think (twisted.web + authentication stymies me...)
Written by
on
in
Snaking.
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 ...
Why Open Source is neat (It's the little things, like personal contact...)
Written by
on
in
Snaking.
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 ...!-->!-->
Finally solved that pesky keyboard malfunction (And along the way, got my .xinitrc working...)
Written by
on
in
Snaking.
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 ...!-->!-->
Trust the simple, general libraries (Don't trust the one-off stuff written for a particular project...)
Written by
on
in
Snaking.
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 ...
SVG makes the world a wonderful thing (When you get it installed and set up...)
Written by
on
in
Snaking.
SVG really needs to get itself set up with automated installers. Sure, IE on Windows gets it easily, but everything else needs more work than it should need. I wound up unable to compile the Java stand-alone SVG viewer (it ran out of memory on a 1GB machine), so I decided to build the Mozilla ...
Impressive how much faster it goes when you have a working shell (Command history and emerge flags are the source of all good for tonight...)
Written by
on
in
Snaking.
Now that I have a bash prompt again (see here for that), have seen a huge improvement in my working speed on the Cinemon demo (I'd only managed 8 hours or so on it in almost two days without a prompt, I've typed in the same dratted string hundreds of times because KDE doesn't remember ...