Archive for October 2008

Yes, it’s official, I am Captain Hammer.

The Cap'n!
The Cap’n!

Happy Halloween everyone!

Today I turn 25.

With the last debate currently going on, I feel now is the good time to point out that I’m officially a card carrying member of the Libertarian Party. I paid my dues and got a card for my wallet and a sticker for the car.


Smaller Government. Lower Taxes. More Freedom.
Want to learn more?

Here’s another lunchtime jQuery snippet as the last one proved semi-popular. This one came about today as I needed to expand on an existing expand/collapse functionality to allow users to expand or collapse all of the objects with this functionality.
» Read the rest of the entry..

Years ago at college I wrote a very vivid, politically incorrect, and extremely explicit blog post entailing my frustration at an ordeal Comcast had put me through concerning pay-per-view charges which kept appearing on our account for no reason.

Today I’m not going to do that to T-Mobile, though I am beyond frustrated, beyond angry, beyond belief that T-Mobile is acting this way. They’re rated the top cell phone carrier for customer service and yet I’m facing the third dead phone of theirs in just 5 months.
» Read the rest of the entry..

Last night was a progressive dinner style event for the Mindcomet employees which had a climax of a no-holds-barred shotfest. And I decided to just go balls to the wall.

Shots are really the optimal way to get someone like me drunk, any other option takes too much alcohol or time simply as a factor of size. I immediately took a buddy of mine and declared that I was going to go toe-to-toe with him. Now, the guy I went against is an experienced drinker and an irish/scotch American who did an admirable job. For a while I thought he had beat me but I held on to a self-declared victory, witnessed by some of my fellow employees before I headed off to bed under my own steam.

I think it was 23 shots of various concoctions when I called it a night. I was pretty drunk, drunker than I’ve been in a while, but still sober enough to change out of my clothes and confirm one last time that my alarm was set for the morning. It’s a company rule that on the retreat we are told to have a blast, party like a rockstar, but if anyone misses one of the meetings where we do true work then they are fired. So, the alarm clock was very important.

I woke up to the alarm and I’m feeling it this morning in the form of a headache but not too bad.

Today we’re doing departmental meetings in the morning before we all get into character for a mystery di..lunch! That promises to be entertaining as we’ve all got rather unusual characters. Then, after the lunch that evening we’ve got the company award show (it’s like the Emmy’s but cooler someone said to me when describing it.) So I’ll be enjoying that as well today.

Then tomorrow, we’re up at 3am to get on a bus to the train station before rolling on back to Orlando. But so far it’s been a lot of fun and I’m looking forward to today.

Here’s a quick lunch time post to share a simple snippet.

It’s no new technology to have a page break out of frames when they’re not supposed to be in frames. But what if you do want the page to appear in a frame and only break the frame if a link is clicked? Well then we turn to our trusty jQuery and use this little code snippet:

  1. if (top.frames.length != 0) {
  2.    $("a").click(function(){
  3.       this.target = "_parent";
  4.    });
  5. }

Why would you want to do this? That’s a fair question. For one of our clients at work they embed the header from their site onto the page for a site which sells merchandise for them. Now, we could have created a separate header but then when the header gets updated it needs to be changed in two places. This way it’s just one header file to maintain.

Hopefully this saves other developers ten minutes of their lives.