Chris Worfolk's Blog


Taking positives from the Super Bowl

February 5th, 2013 | Distractions

The 49ers have a lot to be proud of from their performance at Super Bowl XLVII.

When they first started bringing a box of squirrels, who enjoyed gnawing through electrical cables, to games, everyone laughed. But clearly they aren’t laughing any more.

The 49ers almost managed the greatest comeback in Super Bowl history. The biggest deficit ever overturned was a mere 10 points, yet the 49ers found themselves having come back from a 22 point deficit with a first a goal. Clearly, they aren’t a team that is ever down and out.

The 49ers almost won – with only two minutes on the clock, we were 5 points behind with a first and goal. Unfortunately the Ravens defence held up, but statically, if the 49ers can put themselves in those situations, they are going to convert more often than not – especially now Ray Lewis isn’t around to coordinate the defence.

Colin Kaepernick is still only a second year, and this was still only his tenth NFL start. Most likely, he is only going to get better from here – he’ll stop wasting time outs, he may or may not throw less interceptions, and his game management will get better.

The 49ers have shown they have a great range of options – Frank Gore continues to run the ball brilliantly, Vernon Davis is back in the play calls and Michael Crabtree remains a strong target too. On the defence, players other than Aldon Smith showed they can sack a quarterback too.

And finally, David Akers managed a perfect record – sure, he wouldn’t have done if it hadn’t have come back for a roughing the passer flag, but hitting everything that counted at the Super Bowl, as well as making that NFL-record equalling 63 yard kick agains the Packers at the start of the season mean that Akers does at least have a few positives to take away from this season.

Super Bowl Champions

February 4th, 2013 | Distractions

blog_ravens

We did it! Long may my favourite team, the Baltimore Ravens, reign supreme!

Note to self: don’t forget to turn the other one of these off.

Super Bowl Champions

February 4th, 2013 | Distractions

blog_49ers

We did it! Long may my team, the San Francisco 49ers, reign supreme!

Note to self: don’t forget to turn the other one of these off.

No acceptable C compiler found on Mac

February 4th, 2013 | Programming, Tech

If you’re trying to compile from source, you may get an error similar to the following.

mac configure: error: no acceptable C compiler found in $PATH

This may be because you haven’t installed Xcode. If you have, something has broken, and you need to reinstall it. First, remove it with the following command.

mac configure: error: no acceptable C compiler found in $PATH

Now restart your system and once it has started again, go to Applications and select Install Xcode. This will reinstall it.

Billy Talent – Dead Silence

February 3rd, 2013 | Reviews

Ah to be 17 again. Billy Talent were rocking the scene, I was there before they were big, etc, etc.

Now, I’m somewhat older than that, and I would imagine Billy Talent are too because time works like that (on this scale at least). I didn’t expect great things from their fourth studio album, and first not to be self-titled, given their previous albums had been good, but not amazing. But it turns out I was to be pleasantly surprised.

While the screaming of Benjamin Kowalewicz has certainly become greatly toned down as the band have matured, it turns out that they actually have some great music underneath it. My personal favourite so far is Show Me The Way.

Web workers

February 2nd, 2013 | Limited, Programming

These days, we’re all trying to do very clever things in the browser, that take up heaps of system resources. Often, your application will be doing so much that the system can barely cope – and with JavaScript being a single thread language, heavy processing can tie the UI up and make the user think the page has crashed.

Enter web workers – a background process that essentially allows you to do concurrent JavaScript. You can create a background process from a script, and then send messages back and forth between it and the page, ensuring you don’t tie up the UI.

They’re really simple to use too.

var worker = new Worker('worker.js');

worker.addEventListener('message', function(e) {
  console.log('Message from worker: ', e.data);
}, false);

worker.postMessage('Hello, World!');

Then create a simple JavaScript for your worker.

this.addEventListener('message', function(message) {
  this.postMessage(message.data);
}, false);

You can read more about web workers on HTML5 Rocks.

Snowman

February 1st, 2013 | Photos

snowman

Not selling loose carrots when it snows is actually genius marketing by Sainsbury’s.

Innocent until proven juicy

January 31st, 2013 | Photos

innocent

So, this happened.

Gregory

January 30th, 2013 | Limited, Tech

gregory

To solve the problem of lots of different scrums wanting to release at the same time, we recently introduced a “release token” – some item that you had to have in your possession to allow you to release – and if you didn’t have it, you couldn’t release anything, thereby preventing conflicts.

Enter Gregory, the Release Bear.

Unfortunately, it was soon felt that tracking down a bear every time you wanted to do a release was too tiresome. So, after only a few days in the job, Gregory was retired in favour of a digital token. Unlucky, Gregory.

Lunching at Fazenda

January 29th, 2013 | Life

Last Friday, we headed to Fazenda for lunch.

I’ve never had the lunch time menu before, though I knew to expect a very much cut down version of what they served in the evening. Overall, I thought it was quite disappointing though. Most of the options were not available on the lunch time – indeed, the only steak cut available seemed to be rump, although there might have been sirloin – but nothing beyond that. I was expecting the fancy stuff to be reserved for the evening session, but I was hoping there would at least be some good choice of standard steak cuts. Apparently not.