My Boss is Not a Jerk... But I Must Harass Him Anyway!
He's actually a really swell guy. Which is nice! A really nice change from my last boss! She was kookoopants! I hear she still is. (Some other post!)
We're kinda in the middle of switching around security stuff, and we have these goofy workarounds for getting files from the ftp into the inside network. It's old, it was never set up right in the first place, and now it's completely broken. So, we're changing the workarounds to be even MORE workaround-y, and work around their NEW brokenness.
So, I have this idea. He wants me to set this one program up so that whenever files hit our ftp, it will email all the programmers. Okay! But there will be one addition. It will send him FIVE emails!
At first, he'll assume it's a mistake! A weird mistake, because wtf? But, a mistake of some sort, nevertheless. But when he takes a look at the program, he'll see. It's a loop. A loop specifically set up to send him five emails for every email it sends everybody else. What! Okay, very funny. He'll take it out, and assume that he'll be getting just the one email from now on.
But I'll have left more code in the program that checks for whether the loop has been removed... And when it has? He gets TEN!
my $snot=-1;
sendemail(nickprogrammer@work.com);
sendemail(jeffprogrammer@work.com);
sendemail(annekatprogrammer@work.com); # ME!
for (0..5){
sendemail(BOSSprogrammer@work.com); $snot++;
(Way off to the side, a loopcounter increments!
He won't see it in his editor.)
}
way down below, the second loop!
if (!$snot){
for (0..10){
sendemail(BOSSprogrammer@work.com); # hee hee hee
}
}
So, my boss is not a jerk... Which I hope continues, despite having employees who like to screw with him. I'm sure I can work out a way to find out the status of how many emails he's getting from outside the program... but I have too much work anyway.