Archive for October, 2012

Life at the BBC

Sunday, October 14th, 2012 | Tech, Thoughts

Having heard another talk about the BBC’s technology side on Sunday, I’ve come to the conclusion that it must be a pretty awesome place to work.

While they don’t perhaps have the funds that private sector organisations do, I guess I assumed that being a public institution that would be large and lumbering, risk adverse and slow to react.

Nothing could be further from the truth.

For example, they use Scrum. Scrum is an agile methodology used for developing software in the real world (ie, a world where the client is always changing their mind). But they don’t just use it for software – they use it for managing projects right across the business.

Secondly, they’re really up on technology. The speaker on Sunday was telling me about how they had developed an open source project for parsing Gherkin – a lot of software developers might not even know what Gherkin is!

They’ve also previously developed their own JavaScript library, which was a contender alongside jQuery and Prototype (you know, before everyone accepted jQuery was the best, but then everyone realised you could actually just use selectors and not load any library at all).

Not to mention the pioneering work with iPlayer. They launched iPlayer in 2007 – that is five years ago! I can’t really remember a time before iPlayer now, but I don’t think there was many other people doing it at the time. Not to mention that they also have iOS and Android apps available for it too.

In reality, the BBC is no lumbering institution at all – it’s an fast moving, agile, technology-savvy organisation that must be amazing to work at.

Ryder Cup

Saturday, October 13th, 2012 | Distractions

Almost every sport, even the dullest and boring, has one event that enjoys such a good atmosphere, that it makes the sport, at least for a brief period, actually watchable.

For American football, it’s the Super Bowl, for athletics it is the Olympics and for cricket, it is the IPL.

For golf, it’s the Ryder Cup.

A competition that takes place every two years, the Ryder Cup differs from normal golf tournaments in that instead of each golfer playing for themselves, it is a competition between two teams – Team USA and Team Europe.

So unlike regular golf that is dull and boring, in the Ryder Cup you are given the chance to cheer on your team as players work together to further their team and defeat their opponents. And the crowd really do cheer – it becomes something akin to a scene out of Happy Gilmore as the crowd scream for their side, even as the golfers play their strokes.

Team Europe having emerged victorious two years ago in Cardiff, they now went to Chicago (the venue alternates each time) to try and defend their title.

After day one is wasn’t looking too good – Team USA had a 5-3 lead and by the end of day two the lead had increased to 8-4, and only stemmed at that because of a magnificent finish by Ian Poulter who managed consecutive birdies on the last five holes!

So it came down to the final day, 12 points available meaning that without taking into account draws, we could only lose 4 matches and needed to win the other 8 to draw things 14-14 – thus allowing us to retain the Ryder Cup as the current champions.

Again, everything hung on Ian Poulter who was the only early starter to be trailing his opponent. If he could pull it back, there would still be hope for Team Europe to make their greatest comeback ever, but if he lost it would be all over.

By this point, the NFL had kicked off with the 49ers via the Jets, so my live blog of the game includes updates from both the NFL game and the Ryder Cup.

19:01:39

Poulter needs to win his game if Team Europe is to have a chance. Meanwhile, the @49ers will start from the half way line.

Somehow, Poulter did pull it back, gaining the valuable point for Team Europe, and our other golfers put in a magnificent performance too to bring things all level.

It all game down to the final two games, Kaymer v Striker and Molinari v Woods. On the last hole Kaymer managed to clinch the victory, ensuring we had at least equal points to Team USA, meaning that they wouldn’t take the trophy away from us!

As it happens Tiger Woods went on to miss a put that allowed Molinari to tie the game, and thereby give us a one point lead! This was bad news for the bookies who ended up losing a huge amount of money (money they wouldn’t have lost if it had ended 14-14).

Cameron’s speech

Friday, October 12th, 2012 | Religion & Politics, Thoughts

David Cameron recently addressed the Conservatives at their party conference, which has never been his strong point, but he make some points that really hit the zeitgeist.

The two phrases I think are notable are that he wanted to “get behind people who want to get on in life” and that he did not have a “hard luck story” but said that “I am not here to defend privilege, I’m here to spread it”.

This has been a topic of much debate in recent times, given the rise of the victim mentality that plagues increasingly more people as they define themselves by the disadvantages that we demand should automatically entitle their opinion to credence.

This is a strange concept – the idea that you can solve privilege by granting yourself the privilege to hold opinion while refusing to grant others such a privilege, but it never the less one that has been widely adopted and as a result, caused a strong backlash.

It also potentially opens up an avenue for the Tories to try and position themselves as the new workers party. With Labour being a sad joke and the Lib Dems being the sniveling sell-outs that we currently are, I don’t think we should rule out the possibility that people will be sold on this message (I also grow tired of fellow Lib Dems constantly tweeting about what the Tories are doing – it’s our fault their in government!).

Cameron knows his audience, and it isn’t us, so he isn’t trying to appeal to us. He knows who he can win votes from and he is going after them aggressively. So maybe, just maybe, it wasn’t a particularly bad speech after all.

FATAL: no pg_hba.conf entry for host ::1

Thursday, October 11th, 2012 | Life, Tech

If you’re getting an error trying to connect to Postgres on localhost, the problem is probably that your system is configured for ipv6 but your Postgres isn’t. You can change this however.

First off, you need to find the pg_hba.conf file.

locate pg_hba.conf

Edit it and find the line which defines the localhost.

hosts  all all   md5

Below it, add the following line.

host all all ::1/128 trust

Finally, restart Postgres.

Wagyu

Thursday, October 11th, 2012 | Reviews

Wagyu, also known as Kobe (technically, Kobe is a breed of Wagyu), is the finest steak in the world. If there was an argument for the existence of God, and that that God had created all animals for man to eat, Wagyu would be it – their meat has a high fat content which causes wonderful marbling that makes it extra delicious.

Cattle Grid, part of the local ribs quarter that has formed around Norm, George and myself, were running a special one-night-only (that they ran twice) in which you could get Wagyu for the reasonable price of £35 (reasonable for Wagyu anyway), so we headed down.

It was superb. One of the best steaks I have ever had, if not the best.

That said, given it is normally three times the price of a fillet cut, I’m not sure I would opt to pay full price for it. I’m glad I’ve tried it, but I don’t think it’s as delicious as three separate trips to the stake house.

Big lunch

Wednesday, October 10th, 2012 | Photos

I hope people in the office didn’t think this was all for one lunch.

Area competition

Tuesday, October 9th, 2012 | Public Speaking

Last month, I entered the Leeds City club competition of the Toastmasters humorous speaking contest. In a bit of a bookies upset, I won, which resulted in my proceeding on to the area level competition.

I had done quite a lot of preparation going in to it – Dinesh had volunteered to come over and evaluate it, I also did it in front of my parents and sister, as well as going to the other Toastmasters club based in Leeds, White Rose, to gather more feedback.

The day itself didn’t start too well though – having avoided the colds going around all week, I was finally struck down on the morning and when I phoned up to check what time I needed to be there, it turns out I was late! So I dragged myself out the door as soon as possible and made it half way through the introductions.

Luckily, my illness didn’t show through too much and in the end I must have done something right, as I ended up winning this one as well!

Toastmasters area competition certificate

This means…

A) I’m currently the reigning champion for Area 15 (an area that covers South and West Yorkshire).

B) I proceed on to the division competition. I’m part of Division E, which is an area that covers the North of England and Scotland as well. That takes place in Donington later this month!

Job hopping

Monday, October 8th, 2012 | Success & Productivity

Last month, I wrote about how I had increased my income significantly by switching jobs.

This isn’t always the case though. Indeed, Business Insider recently published an article suggesting that people who hop from job to job to climb the corporate ladder actually earn less money.

In their figures, people who stayed in the same job for five years experienced pay increases of around 8% on average, compared to 5% for those who changed jobs regularly. This may be unrepresentative of the wider market as it was a survey of those in Silicon Valley, though this should actually make it more comparable to my figures.

I hate freedom

Sunday, October 7th, 2012 | Religion & Politics, Thoughts

When I was at school, we once read a short story about a world that made everyone equal by giving everyone a disability.

For example, if you were intelligent, you had to wear a buzzer in your ear that stopped you from thinking about something too much, if you were strong and athletic, you had to wear weights to drag you down – everyone was equally beaten down.

Of course, this was a story about a ridiculous society, that none of us would want to live in. Or so you would think. But more and more recently, it seems people are arguing for such a society.

There is a lot of inequality in this world. But some people seem to think the answer is restricting more people’s freedoms, rather than granting further freedoms to others.

I came across an example of this on Twitter recently. It wasn’t an ideal example, but will suffice.

The author of said point correctly points out that there is a double standard here. Women have the freedom to appear topless in The Sun’s Page 3, but a man who wanted to get his penis out, would not be allowed to go to print.

It’s a classic case of discrimination against men.

But clearly, the solution is to increase the amount of freedom in our society by allowing a newspaper to publish a penis on its third page. Not to place equal restrictions on everyone on what we’re not allowed to publish.

Unfortunately, such attitudes, from people who would presumably like to think of themselves as progressive (though I could be entirely wrong there) actually play directly into the traditional political-religious structure that aims to control society though the suppression of human sexuality.

After all, rationally, there is nothing wrong with putting a picture of a penis in a newspaper. Almost half the world has one, it’s perfectly natural and maybe if we did it more, we wouldn’t have so many ridiculous taboos around sex and sexuality (and everyone would benefit from this, though especially the LGBT community).

So, if we’re actually trying to push a progressive agenda, do you think we could be progressive with our freedoms, rather than regressive?

EDITOR’S NOTE: The story was “Harrison Bergeron” by Kurt Vonnegut.

Driving while talking on a mobile

Saturday, October 6th, 2012 | Religion & Politics, Science

phone-in-car

About ten years ago, everyone started to panic about the increased use of mobile phones while driving, because they seemed to be causing lots of accidents. The response was to ban the practice, which became illegal in 2003, unless you were using a handsfree set.

This was widely supported by the mobile phone industry who happily charged us lots of money to provide a variety of handsfree solutions, from simple holders to elaborate integrated in-car systems.

The problem is however, they don’t work. Driving while talking on a handsfree kit is just as dangerous as driving while holding the handset. Multiple studies have all supported the same conclusion.

It’s easy to see how this situation happened. You assume it is the act of holding the phone, so without testing it, you suggest it as an idea and phone manufacturers jump on it as an easy way to make more money from us. To further their own profits, they continue to push the idea that it is safer to drive using handsfree, even though it isn’t.

In fact, it turns out that it is the act of holding a conversation, which takes some of your attention away from the road, that reduces the safety. So it is irrelevant whether you’re holding the handset or not.

Worth thinking about, next time you take a call on your handsfree set.