The webcam caught our neighbor's dog, 'Guinness', taking a leak on the lawn. You can also make out 'Puddles' running around near the tree.
So, you're a year older. At least you're still younger than the rest of the band! :-)
Testing with perl is a wonderful thing, and has saved my ass a few times.
We have a horrible, horrible billing system (created by a third party) with an equally horrible database schema running on a horrible database server (I'm looking at you, Microsoft).
I have to be able to create tickets for this beast, but since I have no documentation I have to rely on code, which is documented as well as the schema.
So, naturally, I write tests. This, coupled with the fact that my code returns undef if something bad happens long before anything is inserted into the database made getting things working much easier.
I loves me some .t files!
I have no words to for this. It's too weird.
Today is just one of those totally non-productive days. I just can't seem to concentrate enough on the work to be effective. Maybe it's the rainy weather we are having today (finally).
#!/usr/local/bin/perl use warnings; use strict; use WWW::Mechanize; use Mac::AppleScript qw(RunAppleScript); my $search = shift || "WWW::Mechanize"; my $mech = WWW::Mechanize->new(); $mech->get("http://search.cpan.org/"); $mech->form(1); #use the first form $mech->field("query",$search); $mech->click; my $link = $mech->find_link(text => $search)->url_abs(); my $script =<<END; set searchURL to "$link" tell application "Safari" open location searchURL end tell END RunAppleScript($script) or die "Didn't work!"; exit(0);
I have always hated being up before dawn. Be it from staying up all night, or getting up at some horribly early time, seeing the sky slowly lighten into morning has always felt unnatural to me, even in my youth when staying up all night was a common thing.
I had to get up at 1:30AM to do some testing on live systems during a scheduled maintenance window which runs between 2AM and 5AM. I had to drink a pot of coffee just to maintain focus and the stress level of running tests on live systems sucked, big time. I had to scramble a bit to make sure things were in working order when the tests finished.
I am getting too old for this shit. I'm totally wired from all the coffee, but I'm also exhausted. My writs are aching. I want to sleep, but there's no point in trying since I still have all this caffeine in me, and we have a house appraiser coming over at 9AM anyway. It's 5:21AM now, no point trying to sleep if I have to be up in a few hours anyway, right?
Damn, I'm tired.