Category archives: Snaking
Discussions of programming, particularly of programming Python
To the kitty-kat house I go (Mmm EFT-ing...)
Written by
on
in
Snaking.
D'Arcy wants me to come over to work on the EFT server again, so not likely to get much Cinemon work done today. Oh well.
Oy, graph layout code takes forever (For any sort of general case)
Written by
on
in
Snaking.
So, beyond some work on administrivia, spent the bulk of the day working on building graph-displaying mechanisms. For example, wrote a method that, given a start and end point of a range, generates major and minor grid lines within the range. It does that by using the log10 of the number, rounded and decremented to ...
Needing a package for doing graph-layout (Not a graphing package, a graph-layout package...)
Written by
on
in
Snaking.
Spent a few hours today trying to figure out the 'graph' views for Cinemon. Problem is, the graphs need to be active, that is, moderately interactive, with all sorts of hyperlinks from within them. Graphing packages are focused more on static graphs, so they don't seem to allow for specifying interactive features of the graph ...
That almost worked (Too keyed up to sleep, so did a few hours of work on Cinemon)
Written by
on
in
Snaking.
Couldn't sleep again, so I spent a couple of hours on Cinemon after that last post. Nothing too complex, just cleaning things up so that "dangerous" options don't show up and pointless nesting can't occur.
D'Arcy hasn't called yet (though some jerk with a fax machine phoned at 7:55am this morning), so I'm thinking I'll ...!-->!-->
Convincing them to show up is 90% of the battle (Marjan saves me from being the lonely bachelor...)
Written by
on
in
Snaking,
Vindaloo.
Tonight was the Cain Gang/Vextech Christmas party. As you loyal readers will no doubt remember, I invited Marjan (Shiva's cousin). Wonder of wonders, she showed up! (Loyal readers will know that I have an abysmal record with having women cancel on me, often at the last moment).
1055 (name of the restaurant) was about what ...!-->!-->
Housekeeping before the storm (My day in major-change preparations...)
Written by
on
in
Snaking.
I spent most of the day trying to clean up old code that has been gradually getting cruftier as the system evolves. This code is all having to do with the "hierarchy" system, particularly the network hierarchy. This was the first hierarchy written, and it's the most active hierarchy, so its nowhere near as regular ...
Ah, the joy of a plan working out (Minimal changes to get the functionality working... even if it is ugly)
Written by
on
in
Snaking.
Been working on a feature I came up with a few weeks ago for the last couple of days. It's basically working now, even though there turned out to be a few places where I'd glossed over some (ugly) complexity in my memory of the system. Going to try to eliminate that ugliness so that ...
Do I dare declare? (Approaching the magical 770 minutes of processing time...)
Written by
on
in
Snaking.
The demo instance has been crashing with memory errors after about 770 minutes of processor time, or about 12 hours of wall-clock time. As of now, we're up to 767 minutes, with only 153MB of memory used.
So often these leaks have tormented me; pretending to be gone, only to reappear ever-so-much slower than before. ...!-->!-->
Another memory leak found and killed (Yet I feel no joy... 7, almost 8 days tracking down leaks and it's *still* losing memory...)
Written by
on
in
Snaking.
Yet another leak discovered and fixed. Basically there was code that had started out storing a single object as the value in a dictionary. When checking whether to delete that object (a callback for a timeout), the code was checking to see whether the object it was about to delete really was the deferred object ...
Oh, a few more successes with the Toolkit... (PyGreSQL and PyPgSQL both work...)
Written by
on
in
Snaking.
So far the only failure that's been seen is in Numpy 23.6 (23.1 works), and it works with a different version of one of the packages. Was very pleased when I just typed "vc7" and was able to move both packages to Python 2.4 just by running setup.py again (having just finished building them for ...