Bile Duct
Mad Ramblings of FatDave
Parental Advisory: Fucked Up Shit

Archive for February, 2009

A Little Less Detail, Danny

I’ve got kids in grade school, so this week was spent preparing for their classes Valentine’s Day celebrations. The only things that have changed since I was a kid is that these days they hand out candy with the little paper valentines, and there’s more Pokemon valentines than there are Star Wars valentines.

But anyway, my oldest son, who is nine, was working on decorating his valentine box. I think a video card from newegg.com came in it originally, but with the addition of a strategically placed rectangular hole, it became a receptacle for little paper valentine cards. And he was decorating it with Pokemon, Spongebob, and other decidedly non-Valentine’s Day related stuff.

So I said, “Why not put a heart on there for Valentine’s Day?”

He goes to work and I hear giggling, so I look over and notice that the heart he drew also had a sword piercing it.

I said, “What, no blood dripping from the sword?” This turned out to be a great suggestion, and soon there were little drops of blood dripping from the tip of the blade and pooling below.

But then he started to erase the blood and told me, “That’s probably a little too much detail.”

I agreed that it might be.

Then he said, “My teacher told me not to draw things so detailed.”

“Oh? When did she tell you that?”

“At Halloween. She told us to draw monsters and I drew a zombie.”

“And your zombie was too detailed?”

“Yeah. I drew him taking a bite out of a brain and there was blood squirting out of it.”

“Squirting out of the brain?”

“Uh huh.”

“Yeah, that might’ve been a bit too detailed. Did you change it?”

“Yeah. I just made him holding the brain. He wasn’t biting it and there was no blood.”

“And the teacher said that was OK?”

“Yup.”

Sometimes it’s great to be a father.

A Geeky Second Fast Approaches

In Unix, derivatives of which run pretty much the entire internet (and quite a few desktop systems these days), the time and date is tracked internally as the number of seconds since midnight on January 1st, 1970. In *nix circles, this moment is known as the beginning of the epoch, and about 4,717,800 seconds into the epoch, I was born.

Well tomorrow, February 13, 2009 at 18:31:30 Eastern Standard Time (23:31:30 Greenwich Mean Time) the number of seconds since the beginning of the Unix epoch will be 1234567890.

I first noticed this was approaching last October 7th (I can pinpoint it because found a chat log where I mentioned it to a co-worker). I was working for yet another company who, for reasons unknown, liked to store all dates in a database as epoch seconds rather than use the handy built-in date/time types every modern database has (which still use seconds in epoch internally of course, but have lots of handy functions for adding and subtracting units of time, converting for time zones, daylight savings time, not to mention displaying the info back in a way understandable by humans). But whatever, you’re the boss. You wanna pay me to code the conversions every time, I’ll do it.

Wait, where was I? Oh yes…

So last October I noticed the epoch seconds at the time were at 1223355600(ish) and wondered when it would be 1234567890. As a perl hacker, my curiosity was quickly settled by typing perl -e 'print scalar localtime 1234567890;' at a Linux command line. It would be on the evening of February 13th, 2009. I immediately set a Google Calendar reminder.

A quick search of ‘epoch 1234567890‘ showed me that I was not the first geek to notice this was coming. A guy named Chris Rowe has made a cool epoch countdown timer. I don’t know what he’s going to do with that domain name after tomorrow, though I suppose if he keeps it for a few years it will read 2222222222 on June 1st, 2040 at 23:57:02. There is another one here, more accurate (because it’s based on a time server instead of the viewer’s system clock) but not nearly as cool looking and with an even more soon-to-be-obsolete domain name. It also doesn’t link to xkcd, so more win for Chris.

But anyway, celebrate that second tomorrow evening in the knowlege that myself and countless other geeks will be celebrating it with you.

Dancing With Steve Wozniak?

OK, so it seems that the one and only Woz is going to be on the new season of Dancing With the Stars. Now normally, I wouldn’t be caught dead watching such mind-numbing drivel, and most likely I still won’t. But Woz? Dancing? On TV? I’m suddenly overcome with cognitive dissonance. I’m thinking…prank?

But anyway, you know what to do, internet.