Recent Posts

Video: Mummies!!

You must fight to live on the planet of the apes!!! more >>

Video: Hammerhead.

One of my all-time favorite bands, Hammerhead. more >>

Why we hate Internet Explorer

more >>

20 Useful Tools to Make Web Development More Efficient

Check out this wicked awesome list of tools and shortcuts for web development. more >>

Tracks
Tweets

Blog Stuff
Blog

Video: Mummies!!

November 16th, 2009

You must fight to live on the planet of the apes!!! Youtube has a ton of mummies videos. This is a very good thing indeed.

Video: Hammerhead.

October 31st, 2009

One of my all-time favorite bands, Hammerhead. They were so great, one of the best and most underappreciated noise-punk bands from the 90’s. Here’s a clip.

Why we hate Internet Explorer

January 28th, 2009

Because IE:

  • Sold your comic book collection in a garage sale and kept the money.
  • Screwed up your order.
  • Came by your table and asked if everything was OK when you had a mouthful of food.
  • Keyed your brand-new car.
  • Shot you in the face and made you apologize for getting in the way of the bullets.
  • Knew you had spinach stuck to your teeth but said nothing as you walked around talking to people, choosing instead to snicker silently to itself.
  • Stole your lunch money.
  • Farted in an elevator full of people.
  • Always gets in the express lane with waaaay more than 15 items.
  • Parks too close to you.
  • Torched your house and stood across the street laughing, watching it burn.. all Halloween orange and chimney red.
  • Swears up and down that global warming is a myth.
  • Mocks you and treats you with rudeness.
  • Sets off car alarms on purpose.
  • Talks with its mouth full.
  • Threatened to block the stimulus package unless it got more corporate tax breaks.
  • Farts in your general direction and calls your rendering request a silly thing.
  • Says “have a good one!”
  • Upsets your applecart.
  • 20 Useful Tools to Make Web Development More Efficient

    May 17th, 2008

    Check out this wicked awesome list of tools and shortcuts for web development.

    read more | digg story

    Cherubs

    May 7th, 2008

    Who knew there was a video..enjoy.

    Priorities, people

    February 13th, 2008

    The Senate has just approved retroactive immunity to telecom companies so that they can’t be prosecuted for their complicity in Bush’s illegal warrantless wiretapping program. Man, you’d think that such a huge blow to our Constitutional right to privacy would get maximum coverage in the mainstream media, right? After all, this effects all of us.

    But Noooooooo.. the big story is Roger Clemens testifying on Capital Hill about using steroids. Or HGH, or whatever the hell. It’s his body, let him destroy it. It’s just baseball.

    Most people would be inclined to wonder why the Senate giving Bush and the telecoms carte blanche to spy on us is being treated as such a minor story.

    If you want to know the answer, watch CNN and wait for the next commercial break. Commercials for AT & T, the iPhone (which forces you to use AT & T).. the list goes on and on. Giving telecom companies’ complicity in this crime a lot of attention would cause them to pull their advertising, and since they own the pipes (or “TUBES” for you Ted Stevens fans) over which media companies’ websites are delivered, you can bet that CNN et. al will have to turn a blind eye to what they’ve done. Boy, that Roger Clemens is a bad man.

    Super Bowl Silliness

    February 2nd, 2008

    As anyone who hasn’t been living under a rock knows, Phoenix (Glendale) is hosting the Super Bowl this year at the ludicrously-named University of Phoenix Stadium, where the Cardinals stink up the place during the regular season. For the past couple of weeks, downtown Phoenix has been quasi-transformed into a football lover’s paradise. Not really. I’m sure in most other major cities where the game is held the Super Bowl mania is concentrated into one main area where shenanigans take place 24/7, but this is Phoenix. The game is in Glendale, some of the media people are sequestered downtown, and some of them are in Tempe. The players are in Scottsdale, and so are the parties. However, here are some pictures of the things I have seen on my daily trip downtown to work for the last few days.

    Goodyear blimp flies over my house

    Here’s the Goodyear Blimp flying over my house as I get into my car to go to work.

    Tom Brady on the Hyatt

    Here’s the giant picture of Tom Brady on the outside of the Hyatt. The signs on the posts say “Who wants it more?” But only if you walk one direction. Otherwise it says “More it wants who?” which wouldn’t even make sense to Yoda. I’ve had a lovely view of this five-story Brady from my office for a couple weeks now. Makes me want to call in sick.

    Strahan on the Hyatt

    Inexplicably, to counter the giant Brady and appear to be unbiased, the powers that be decided that the most famous Giant to slap on the other side of the Hyatt would be Michael Strahan. Seems like it would have made more sense to put Eli there, especially since they must have had to go to great lengths to cover up Strahan’s gapped teeth.

    Archie and ESPN

    Speaking of Eli…here’s his dad, Archie, talking to ESPN at their kiosk that they have set up on the street between the Hyatt and the convention center. Pretty cool.

    NFL on the Hyatt

    As if the giant Brady and Strahan weren’t enough, the Hyatt would like to remind you that the NFL is in town. In case you forgot.

    B of A Lombardi

    Here’s the giant Vince Lombardi trophy that covers almost one entire side of the Bank of America building. Weak picture. In real life it’s pretty impressive.

    So there you go. After the game is over everything will be back to normal and downtown will be a freakin’ ghost town again. Sigh.

    Bush sez: “I drank too much..”

    January 30th, 2008

    This morning. No seriously..  “At one time in his life.”  One long, continuous time, starting when he was about 14, and continues to this day.

    Ham Burglers

    December 4th, 2007

    This story is a real slice of life. Definitely something you can sink your teeth into. Stealing 17 tons of ham? That’s no picnic!

    SYDNEY, Australia – Thieves stole 17.6 tons of ham and bacon from a warehouse and left behind a message busting the owners’ chops, police said Monday.

    “Thanks,” the crooks daubed on a wall of the Zammit Ham and Bacon curers warehouse in suburban Sydney. “Merry Christmas.”

    Police said the robbery occurred some time between late afternoon Saturday and dawn Sunday.

    Sydney, eh? Not New Deli?

    Someone called the pigs because someone squealed. They said they’d smoke ‘em out from wherever they’re hiding. They hoofed it on down to the crime scene but the tip must have been half-baked. Whatever’s wrong with these guys, we know there’s no cure.

    Stripslashes/addslashes, oi.

    November 8th, 2007

    Here’s what I think is a neat trick for situations where you have to escape input for insertion into a database, but still need to show what the user put in a form when they entered something bogus, etc. and magic_quotes is turned on. You don’t want to show the escaped data in the form to the user because it looks strange. Moreover, if they resubmit it, there will be slashes added to slashes. This is way simplified but you get the idea.

    function post_bail() {
    $_POST['textarea_field'] = str_replace("\\r\\n", " ", $_POST['textarea_field']);
    $_POST = array_map('stripslashes', $_POST); //strip it to show it
    }
    if ($_POST['blah']) {
    $_POST = array_map('stripslashes', $_POST);
    $_POST = array_map('mysql_real_escape_string', $_POST);

    //do some stuff
    //check for errors then clean it to display it to the user, or you can bail with an error message
    if ($bad_input) {
    $error = “you are a bad person.”;
    post_bail();
    }
    //no error, continue and insert into db
    //also, this is good to clean it up to send an email
    post_bail();
    //send email or whatever
    }

    }