Category archives: Snaking

Discussions of programming, particularly of programming Python

RSS feed of Snaking

Histogram turns out to be useless (So switched to working on "political" hierarchy)


Got the histogram code to the point where it proved it would be largely useless. Need to rethink that now. Interestingly, it proved out some of the wisdom of an "agile" approach. I've actually been bogged down for a while figuring out all of the logic required for the (rather generic) graph-drawing code. Today I ...

Continue reading

Seriously considering not working tomorrow (Could use a week to catch up on everything...)


I've got so much piling up in PyOpenGL (and other projects) that I really should take a day or 5 to catch up. Though I suppose I could just focus on the work remaining for Cinemon. I don't know. This weekend has been a complete wash. Maybe I should just become a monk and spend ...

Continue reading

Sending email in Twisted (This should *not* be so hard to find...)


As D'Arcy was winding down his work on the EFT2 server, he asked the very obvious question "how does one send email in Twisted". It took me something like 30 minutes to track down the proper response. Once you know where the function is, it's trivial, but finding out which module/function to use is a ...

Continue reading

Day disappears in EFT pair-programming (As the cold (or whatever) takes over my poor lil' body...)


Colds suck. Not so much because they're inherently bad, but because they aren't bad enough to stop work, but they're bad enough to make working strikingly unpleasant. Talking all day when you have a cold doesn't really help make it more pleasant. Luckily, colds are bad enough that you're allowed to whine in your blog ...

Continue reading

Dear silly space-users, just convert to tabs and get it over with (Garn that's mildly frustrating...)


Have spent the last two days working with D'Arcy, who uses vi (that's, vi, not even vim). And every 10 or 20 minutes he'll mis-indent something because he uses spaces. It's often subtle, like a closing-bracket being outdented one line too many (which works fine if it's the last line of a function), such ...

Continue reading

Oy, graph layout code takes forever (For any sort of general case)


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

Continue reading

Needing a package for doing graph-layout (Not a graphing package, a graph-layout package...)


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

Continue reading

That almost worked (Too keyed up to sleep, so did a few hours of work on Cinemon)


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

Continue reading

Convincing them to show up is 90% of the battle (Marjan saves me from being the lonely bachelor...)


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

Continue reading