Archive for the ‘Life’ Category

Flying Without Fear

Friday, January 20th, 2012 | Life

Earlier this month, I attended a Flying Without Fear course.

It consists of a morning session which looks at both the theory behind flying and why it is safe, and the psychology of anxiety and how to control your mind. After lunch you head over to the airport and actually take a flight.

The theory part was brilliant. Captain Dom explained the basic physics which keep you in the air, the various sections of the flight, what he does on take off, the backup systems they have in place – this was absolutely fascinating. Unfortunately it didn’t calm my nerves as I know a lot of the science behind it and I’ve never been worried about whether the plane is going to fall out of the sky or anything like that.

The psychology section was rather disappointing though, which was rather a let down as I was hoping this section would actually be useful to me. Unfortunately, the course uses Neuro-linguistic programming which has now been almost entirely discredited. Why? Because it’s all nonsense.

That isn’t to say their hearts weren’t in the right place. All of the course leaders (most if not all were volunteers who had given up their time to help out!) were incredibly supportive and that is the real benefit of the course. I’m incredibly grateful for the support I received from Sarah, Jill, my dad and everyone else on the course (if you’re reading this, thank you SO much!). They got me here:

Smiling and everything. Because the irony is that I love the idea of flying. I mean, it’s really awesome right, being so far up in the air, watching everything down below like you’re living all those hours spent on Google Earth. If only I didn’t feel ill every time I got near a plane, it would be a magical experience.

Still, I’m now one step forward in the battle for Los Angeles.

Profiling SQL queries with EXPLAIN

Wednesday, January 18th, 2012 | Life, Tech

If you have a complex SQL query, you might find that performance isn’t exactly ideal. Worse still, you don’t actually know which part of the query it is that is actually taking so long.

Luckily, MySQL comes to the rescue with the ability to explain.

All you have to do is start your query with the keyword EXPLAIN and MySQL will, rather than returning you a recordset of results, will instead provide a break down of everything it has done, including how it made the table joins and what order it did everything in.

EXPLAIN SELECT a INNER JOIN b ON a.col1 = b.col2 WHERE a.col1 > 1 AND b.col2 > 2;

New Year’s Eve 2011

Tuesday, January 17th, 2012 | Events, Life

New Years Eve

New Year’s Eve has a lot to live up to. That is why when choosing your NYE party destination, you need to pick somewhere with a proven track record of throwing a good time. Having had amazing parties in 2010, 2009 2008, it was no wonder that 25 people all chose to welcome in the new year at our apartment. We’re proud to say that we did not disappoint!

Virgin Active

Monday, January 16th, 2012 | Life

Recently, we’ve been trailing round different health clubs to find a good one and finally made it to Virgin Active, previously Esporta, located in The Light.

It has the advantage of being an over 18s only gym, which is great, and the facilities are very nice too. The only issue was that they treat their pool water with something different to any other pool I’ve ever been in, which resulted in Elina feeling like she was going to be sick every time she accidentally tasted any of it.

They do have two hot tubs though and if there is one thing I appreciate – it’s a redundancy-based service continuation solution.

In praise of Leeds City Council

Sunday, January 15th, 2012 | Life, Religion & Politics

Our office car park is located down a side road in Headingley. This makes it difficult to pull out to head into town on an evening as the amount of cars going away from town down Otley Road quickly pile up at the traffic lights.

This shouldn’t be a problem, if people were considerate enough not to stop right across the junction and instead leave a space for those of us that are turning right into the far lane, but often people don’t – sometimes people just block the junction, usually people in Audis (the new car of choice for your garden-variety wanker).

So, on the first of November I wrote to Leeds City Council highways department, asking them to paint a keep clear sign on the road so that people to remind people that occasionally, just occasionally, other people like to use the road as well.

They prompted responded to me saying they would need to investigate and said they would respond by 22 November. They didn’t quite make this, but after a chaser email they responded to me on the 19 December, stating they agreed it was a problem and that they would arrange for a keep clear sign to be placed on the road!

I’m very pleased with the outcome. It might not be world peace, but it just goes to show you that you can bring about change for the better, with a relatively small amount of effort.

Gingerbread house

Friday, January 13th, 2012 | Life

To make Christmas feel a bit more like Finland, Elina and I made a ginger bread house.

Ginger Bread House

Spirit Health Club

Thursday, January 12th, 2012 | Life

As part of working out what gym we wanted to join, myself and Elina headed down to the Crowne Plaza Hotel to check out their Spirit Health Club.

It was pretty disappointing. The cool was 15m in length, which is shorter than The Marriot, and it had kids in as well. Most annoying, was the depth – which went down to one mentre at one end which made it almost impossible to swim properly.

Other than that, it was perfectly nice, but not quite up to standard with the other places we’ve tried.

Speeding up inserts with INSERT DELAYED

Thursday, January 12th, 2012 | Life, Tech

If your insert statements are not time critical, you can use insert delayed in your SQL to speed things up. The syntax is as follows.

INSERT DELAYED table (col1, col2) VALUES ('a', 'b');

Insert delayed can be used with MyISAM and Memory, but cannot be used with InnoDB.

The advantage of using insert delayed is that the MySQL server returns a success message straight away so the script can keep going, without it actually having to do the insert. This allows the MySQL server to carry it out when it isn’t busy, and do several at the same time.

It’s appropriate for tables such as logs tables where it doesn’t matter too much if they don’t go in straight away.

Marriott Leisure Club

Monday, January 9th, 2012 | Life

Recently, I decided it might be good to join a gym. Not because I had any intention of doing some kind of work out or using any of the gym equipment, but because gyms often have pools and I quite like to go for a swim.

So I phoned up the closest gym with a pool to me and asked how much it would be to join. Apparently though, that isn’t how it works, you have to go down there and check it out and only then will you be given a price list. Normally, that means it is really expensive.

So myself and Elina headed down there to see what it was like. The staff were very friendly and the pool was a reasonable size (15m was our estimate), though it was disappointing that it was a constant depth of 1.2 metres. The hot tub was also out of order, which was very irritating. Never the less though, it seems like a nice place and is reasonably priced for a gym (that means it’s really expensive, but no in comparison to other gyms). Might see what the others have to offer first though.

They also have a rule against using phones in there, which is really irritating as I was planning on getting a waterproof case for my iPhone for when I’m on call.

2011 in review

Sunday, January 8th, 2012 | Life

Having seen out 2010 in style, I began the year, in January as usual, by explaining I didn’t care what happened to me, after I died. At work we launched our website and I finally said the L word – to my iPhone. Meanwhile, CWF announced the Perspective Citywide course, open to the general public and running alongside the campus version.

The month after was of course February which began with CWF launching the Galileo Day pack for societies, giving them hints and tips on running a great event. Feeder were a little underwhelming, but Super Bowl XLV wasn’t. The Humanist Society of West Yorkshire launched its new logo and Michael Bramham delivered the Galileo Day Lecture and festivities followed. It was also the first ever month we ran Fry Up Club (I think).

I delivered a talk on the history of atheist charity in March and paid a visit to Hope City. With me and Elina now officially being a couple, we celebrated her birthday meanwhile James took the helm for Reason Week 2011 which finished with the traditional All Night Debate. CWF began building it’s library and I attended the AHS national convention.

I also kicked off April with a talk, this time to Hull Humanists while Michael and John were giving a very similar talk at LAS. The final Perspective Citywide was given by Nicola Jackson and my life was changed forever when I finally got my hands on an iPad 2. We got Rebecca in a Batgirl outfit and Humanist Community returned due to popular demand. The Humanist Action Group launched their guides and we finished the month by hitting the beach.

It was a busy month at work in May as we launched cricket and we voted for and against the alternative vote. I wrote to my MEPs about ethical meat and Sainsbury’s refused me service even though I had ID. I complained. James was elected president of LAS, I went to see Uncaged Monkeys and West Yorkshire Humanists had a very interesting discussion about animal experimentation. The month was finished off by the Secular Ball 2011.

The EDL were causing trouble in June, meanwhile I was still in love with my iPad. We had a McReunion while CWF announced Leeds Transhumanists and its partnership with Daily Motion. I proposed Try Vegetarianism Week and we celebrated our anniversary as Row One.

In July I met Matt and finally gave up my paper diary. I proposed we introduce equal opportunities in sport and took Elina down to London for the weekend. We got Elina and Kat dress up as bunny girls for our poker night, Jenson Button lost a wheel and I spoke at Nottingham Skeptics. I met Elina’s mum, Atheist Stock moved out of beta and leeds Slutwalk took place. We also said goodbye to the Space Shuttle programme.

I left Firebox for Chrome in August while CWF launched the Atheist Stock API and later launched Worfolk Lectures too. We also announced Sunrise 2011 and cooked a crab and played my first live poker tournament. We attended Leeds Pride 2011 and CWF held its AGM. I also cooked a fish and inspired by Franklin & Bash, we held a Margarita Mondays.

It was a big month for CWF in September with Sunrise Conference 2011 and I took Elina to Roundhay Park, Ilkley Moor and the Leeds Liverpool Canal before she flew back to Finland. I continued my poker exploits and we headed down to Sheffield Humanists for a talk on paying for sex. I lifted the ban on family being friends on Facebook and it was proved that atheists are smarter than religious people. We celebrated Norm’s birthday, twice and we introduced to the dangers of shot roulette before hitting up the Zombie Prom.

Skeptics in the Pub learnt about cults in October, Steve Jobs passed away and it turned out all freshers are morons. I chaired the first One Life with a discussion on the meaning of life but having waited ten months for my chance to see Rihanna – was too ill to go! Elina returned for a week and I spoke at Sheffield Skeptics in the Pub. Dr David Jenkins delivered the 2011 Worfolk Lecture and CWF announced SocietasPro. Meanwhile in inaugural Leeds Transhumanists meeting took place, I reached middle age and we held a kick-ass Halloween party.

There was a sad start to November with Sir Jimmy Savile passing away, to which I later launched several campaigns to have things named after him. I had more problems with Sainsbury’s, this time trying to buy alcohol free wine and read Sam Harris’s The Moral Landscape which is well worth a read. CWF announced SocietasPro v0.1 and the 2011 Holiday Food Drive and after two and a half years of genius, Row One was brought to an end. By the end of the month, SocietasPro v.0.3 was out too! Unfortunately, I was in the country to see Evanescene, though the gig itself was great.

Finally in December we hit the Christmas market several times and spent most of the rest of the time watching Nothing to Declare. I finally got round to attending Leeds Salon and we celebrated George’s birthday. I said goodbye to my trusty hosting company of eight years and CWF delivered food to local homeless shelters. I managed to prove I invented Facebook and went to my first meeting of Toastmasters.