Person of Interest - First Impression

So I caught the first episode of this the other day. It wasn't bad but wasn't quite what I was expecting.

Basic plot is thus; after 9/11, some guy built a computer for the Government to use ever-present surveillance to predict future terrorist attacks. However, it began predicting normal crimes and because the Government weren't interested, the guy who built it uses a backdoor to the system to get the social security number of someone who will soon be involved in a crime, even though they don't know what, when, where, or if the person involved is the victim or the perpetrator, and the computer guy along with an ex military/CSI guy then try and prevent the crime.

I thought it was going to be similar to FlashForward; there was some huge conspiracy and over the course of a season or few you'd be drip-fed tiny pieces of information every episode until the finale where it all came together. However, it seems it's more like other crime dramas with an episode-by-episode case with a season-running subplot. On the face of it it doesn't sound bad and the first episode was OK... as usual with shows like this you might be able to guess whodunnit quite early on or it'll be a twist at the end. It was watchable.

Some not so good points. First, the lead guy looks too much like Christian Bale. My first thought whenever he was on screen was "Hey look it's Bat-... oh, no...". Second, it has Ben Linus Michael Emerson in it. Nothing wrong with him but I will forever associate him with Lost; in fact most of the Lost cast are now typecasted as such for me (it was the same with Charlie Dominic Monaghan in FlashForward), and that'll spoil it a bit for me. I mean he even says 'John' in the same almost shaky voice he said it in Lost; I mean I know that's his voice but still. Something I doubt I'll be able to shake.

I'm not sure how long until the idea of going after a random person who will be involved in a crime gets a bit old, but then again other crime dramas seem to get by with similar storylines every episode. Difference is the way this show is portrayed is that it's dark and sinister and clandestine, which means there's less room from the humor or wit you get from shows like The Mentalist and Castle, and to an extent NCIS. I know that's not the vibe they're going for but FlashForward was similarly sinister and that only lasted one season.

I'll continue to watch it if I remember or see it's on... which is in itself a problem as I'm not looking forward to the next episode like I did with Lost. It hasn't gripped me as much but I'll give it another go. It's not the best show I've watched but it's also not the worst.

Top 5 Things Scientists Need to Hurry Up and Make

There are numerous things from films and TV that we all want but that haven't been made into reality yet.

I'll put all the images after the break for you.

Dynamically load Twitter Tweet and Facebook Like button

This is a good technique to use as it saves having to load loads of share buttons on every page load which often slow the page down. Just had to do this and needed a few lines to get it working.

Whether you have the code hidden somewhere on your page before it's needed or load it via AJAX is irrelevant, but once it's included on the page, you need the following code to initialise the buttons. 

if(typeof twttr != 'undefined')

If you add one Tweet button dynamically it seems to initialise itself, but later ones need this code. As well as this, 'twttr' won't exist until the first one is created but will after, so we only need to run that once it's defined; isn't needed for the first one anyway.

For the Facebook one, you need to specify the ID of a container of the post or something, and it'll find any FB elements inside that it needs to initialise.

After that, should work fine.

New site!


Over the past few weeks I've been writing a new site and it's at a state now where I can replace my current one. WordPress is good but has loads of stuff that I don't use and I don't really know how it works, and I've always wanted to build my own site, so here we go.

As you can probably see, I'm not a designer, but sometimes less is more. Think it looks alright myself.

I've built this using the Kohana PHP framework (the older one as we use it at work and I know it, couldn't be bothered to learn a newer framework as I just wanted to get this built) and Twitter Bootstrap as the front end framework, which I now love. It makes the site responsive (scales nicely to fix widescreens, normal screens, tablets and smartphones) and comes with loads of utility styles to save you loads of time. That's what I like about using frameworks, they save you writing all the crappy boring stuff and let you get straight into building what you want.

I've also got a little Ask Me feature like Tumblr/Formspring so feel free to ask me something if you have nothing better to do.

Things will probably be a bit broken but I'm sure I'll find the problems myself soon enough.

I've imported some of the better/more recent posts from my old site (which can still be found here). Please forgive some of the silly things I went on about when I was a bit younger.

If you have any feedback on the site then please let me know as I'll always be looking to improve it.

I'll also try to use this one a bit more than my old one too :)