Monthly Archives: October 2012

Template for plotting pixels using GTK+

I took a bit of a break from this to handle some work stuff, but I’m reading to get back to it. The last big graphics win (back in May) I had was figuring out how to put pixels into … Continue reading

Posted in Hobbies, Programming | Leave a comment

The Angry Apostrophe

I spent longer than I’d like to admit trying to figure out why my program bailed out when trying to parse a date. I assumed incorrectly that the part of the program trying to get date information was being fed … Continue reading

Posted in Hobbies, Programming | Leave a comment

Overkill

Yesterday I posted about four nearly identical functions that I thought could (and should) be reduced to just one somehow. Reducing it to one would be far less code to maintain if I find a faster way of doing it, … Continue reading

Posted in Uncategorized | Leave a comment

I’m still bad at Python, and probably programming, too.

I know it’s bad to duplicate code, but I’m stumped on finding a more elegant solution. The following four functions are all nearly identical, but do different things. The way WordPress formatted the code above might be wonky, so here is a Gist … Continue reading

Posted in Hobbies, Programming | Leave a comment