Dented Reality

Monthly Archives: April 2009

Secret Decoder Ring

I’ve been doing a lot of work lately with raw WordPress options (what’s stored in the database), and started getting annoyed at manually unserializing the ones that are serialized to see what’s in them. I was also working with a lot of content that was JSON encoded, so it was all getting a bit tedious. Enter the Secret Decoder Ring!

This is a super-simple (basic, dodgy, hackish), fun little script that allows you to quickly decode “encoded” information in a variety of formats. I have it in my browser toolbar as a bookmark so that I can get at it easily. All you do is copy-paste something into it, and then click the appropriate button to get decoded output. Click the link below and give it a shot.

Secret Decoder Ring

It’s also handy if your WordPress install gets hacked (hi Dreamhost! :-( ) and someone adds a bunch of base64_encoded() junk in your files, because now you can quickly and easily decode it and see what it says.

On Social Customer Support

Through my work with Automattic, I’ve had the privilege of working with the guys over at Intense Debate. I’ve been helping them improve their WordPress plugin and get it ready for some new features. Along the way I made the blunder of releasing a version that had a pretty serious bug in it, and that triggered a lot of customer support issues/cases.

In the “old days” (or in a lot of big corporates today), those support cases would have been handled behind a corporate “veil of secrecy”, tucked in a back end system somewhere, responded to by anonymous “Customer Service Representatives” via a generic email account like “support@intensedebate.com”. While we’re also making use of a generic email address, the similarities between our approach and that of big corporates ends there. End to end, the differences are pretty stark.

Keep Reading about Social Customer Support

WordCamp San Francisco 2009

WordCamp San FranciscoIt’s almost time for another WordCamp event, and I can’t wait. This is the big one – the fourth annual San Francisco WordCamp! This will also be the fourth WordCamp that I’ve attended. Yes, I believe that makes me somewhat of a groupie.

There’s a new website online as of yesterday and it’s looking pretty spiffy. I’m looking forward to seeing Tim Ferriss and Tara Hunt speak in particular.

Oh, and I’m going to be helping out on the “Genius Bar” for a bit as well, so drop by and get some questions answered!

This will probably be a bit of a different experience for me than previous years because I’ve been doing some consulting work with Automattic, so I’ve met a lot of the crew now, and it’ll be good to see a lot of them again here.

Twitter vs Facebook Status

In the past few weeks I’ve been asked by at least 3 different people why they should use this new “Twitter” thing they’ve heard about, rather than just updating their status on Facebook. I think it’s a pretty valid question, so I thought I’d put together some of the reasons why I use Twitter, rather than Facebook’s Status update.

  1. It’s Open: I’m a fan of the idea of “open” (as in open source, portable data, etc etc). Facebook is not. Twitter is. Putting my status updates through Twitter means that I can do fun things like load them into my sidebar (on the right of my blog) easily (via an RSS feed). If I updated in Facebook, those updates become useless because I can’t get them back out.
  2. Client Apps: I don’t want to have to go to the Facebook site all the time to update my status. I can run a Twitter client (currently DestroyTwitter or TweetDeck) on my computer and update my status in a couple of key-presses. I also have options (there’s that “open” thing coming in handy again) as far as clients go, so I can pick and choose something that I like.
  3. Be Part of Something Bigger: Facebook is great and all, but it’s owned and controlled by Facebook. It’s a world unto itself with an established set of protocols and expectations. Twitter is something new. It’s a new type of “web” as we know it. It’s “live” in a way that not much else is yet. I’d like to be a part of that, so that I can see what’s really going on, which brings me to…
  4. Search: Twitter’s search system is a whole new ball-game. It allows you to see what’s going on and what people are thinking/doing/asking now.
  5. Community: Twitter’s omni-directional “follow” system means that the community/network is fundamentally to Facebook’s bi-directional system. I don’t “allow” people to follow me. If they want to, they do. If they don’t, they don’t. I can reach a whole different group of people on Twitter that I am not connected to on Facebook.
  6. Laziness: Last but not least, I have a Facebook app installed that loads my Twitter status into FB anyway, saving me the hassle of updating both :)

So why do you use Twitter (or Facebook Status)? Chime in on the comments and I’ll add any good ones to the list!

HOW TO: Remove Digg’s new DiggBar from your website

So Digg have released their wonderful new DiggBar product, to a lot of fanfare, excitement and, well… criticism. I’ll let other people cover each angle. In the meantime, if you want to prevent your site from being loaded with the DiggBar, just drop this code into the top of your page (or in an external JavaScript file if you already have one that loads on every page):

<script type="text/javascript" language="JavaScript">
// Break out of frames
if (top.location != location) {
    top.location.href = document.location.href ;
}
</script>

Basically, it just compares the current document (in this case your website) to the “top” document available in the browser. If your site has been loaded via the DiggBar then the “top” document will be Digg, so they will be different. When those 2 documents are different, it will automatically redirect the entire browser to your website. Done and done.