squirrels

geoff on 2002-01-22T18:12:25

I hate squirrels

In the summer, they eat my tomatoes. In the spring, they eat my bulbs. now, they are building a nest in my barn (well, it's not really a barn, per se, it's a 8x10x12 shed with a gambrel roof that I built and stained to look like a barn).

so, now do I not only have to tape my daughter's room, sheetrock our bedroom, install 8 new doors, sheetrock and floor the two rooms downstairs (that we haven't used in the 2 years since we moved in), but I also have to waste my time removing a squirrel's nest from my barn, cut new OSB strips for under the eaves, nail them up, and stain them. then I have to go back every day to see if the squirrels (the bastards) have eaten through them again.

now, I'm covered in sawdust and mad.

but life balances out. Paul released an RFC for Apache::TaintRequest today. This particular module is a really good example how Open Source collaboration just makes for better code.

I spent a week at the shore in September. rather, my family spent a week at the shore and I came along with my laptop and wrote all day. Anyway, by the end of the week I had this module Cookbook::PlugCSSHoles - it took me so long to write because I was working on how to intercept all possible mod_perl writes: $r->print() and print STDOUT calls, as well as the "feature" that automatically dereferences printed references. after tuning the module and coming up with a schema I liked (and is rather elegant, I think) escaping HTML was as easy as calling Apache::Util::escape_html(). The code went on like this until the final stages of the book and nobody (including me) noticed that it escaped all data, so you couldn't print('<html>'). Once I saw this, we all felt kinda stupid, and I was all set to toss the entire thing (10 or 12 pages, IIRC) when Paul said, "hey, I have an idea" and brought Taint.pm into the mix.

The result is something rather slick, and the TIEHANDLE code became the basis for a few other modules.

The point to all this is that I spent the better part of a week working on something and was willing to toss it all when I hit a roadblock. Someone else looked at it, though, and was able to leverage my work into something even better. I have to say, that feels really good. many kudos to Paul for that.


Funny Story...

Purdy on 2002-01-22T19:53:55

My uncle has a deep hatred towards squirrels, too, but he uses traps. He would trap them, drive them a few miles out and release them. He was convinced he was seeing the same squirrels time & time again, no matter how far off he would drive & release them. So one day, he got a can of spray paint (florescent orange) and gave the squirrel a stripe down the back before releasing them.

I thought that was funny ... some squirrels out in the wild with neon orange strips - prolly starting some punk gang and roughing up the other squirrels. And to enter the club, you had to break into my uncle's backyard and be trapped, not knowing if this was the time that he would just drown you instead.

Jason

PS: Oh, I don't think he ever proved the same squirrels came back - or else paint just doesn't stick to 'em.

You ... should ... have ... bought ... a squirrel

jmm on 2002-01-23T13:56:44

For a bit of comedic relief, you can go to see Rat Race. The squirrels are only incidental, but funny.

Re:You ... should ... have ... bought ... a squirr

ajtaylor on 2002-01-23T21:21:16

That movie was hilarious! I loved the part you mentioned, particularly the zoom out to see the latest addition to a VERY large pile of wrecked cars.