Create a new account
Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
Someone wanted to see a graph of Bush's approval rating and Blair's approval rating overlapping one another, so I made one. It uses the GD::Graph module and I've included full source code in the post.
I'm seeing the following dates, in order:
Whoops! I screwed up my sorting. I'll fix that when I get home. Thanks! That might make the graph much smoother.
Looks better. :) For the record, the bug in sorting wasn't at all obvious to me until I started personally typing the dates myself. I thought you had incompatible data, like poll data with a date that was only a quarter or something.
Should've used ISO 8601 [wikipedia.org]. ;) It's the international standard, you know. And DateTime makes it easy. :)
You know, I should have thought of that :) I've thought about packaging some of that stuff up into a module that would make it easy to graph out multiple date ranges, but I saw two problems. One, I can't imagine that anyone else would care (of course, I also released Games::Maze::FirstPerson [cpan.org], so that's a silly thing to say). Two, unless I can find good sources of similar data, there's not much point in me creating a module to manipulate data I can't find.
It's fixed. It didn't make the graph smoother, but clearly did shift some data points.
Get More Comments