Programming Challenges 4 - 6

November 8th, 2011

Following immediately on from the previous challenges, I had hoped to redeem my rather miserable performance on Challenge 3.

LCD Problem Output

Read on to see how I did with Challenges 4 - 6.

Read the rest of this entry »

Programming Challenges 1 - 3

November 8th, 2011

I downloaded a copy of Skiena and Revilla’s book Programming Challenges from here. I wasn’t hugely taken by the book as it is mostly about coding in C, rather than C++ which I prefer, so I’ve only really skim-read it. However, I did take the time to solve some of the challenges after the first chapter, which was a far more valuable learning experience.

Minesweeper Challenge Output

I decided that as the first few challenges looked fairly straightforward that I would make it my goal to solve each one 100% correctly on the first go. Unlike the Ancient Messages challenge where comprehensive test data was supplied, this time each challenge only came with one or two examples. This means that coming up with a good way to test the program is essential if one wants to pass the judge’s tests first time. In a programming competition failure to pass tests means a time or score penalty. But I’m more concerned with real life where a programming error could mean death, financial loss, or worse, the wrong coloured background on a dialog box!

So, how did I do?

Read the rest of this entry »

Programming Challenges - Ancient Messages

November 7th, 2011

Earlier this year I wrote about Project Euler. I’ve kept up my problem solving, with an additional 23 Project Euler problems solved in the four months since I wrote that article. I’ve also tackled some problems from other sources that don’t have restrictions on me writing about them.

Ancient Messages 01 Ancient Messages 02

First up, I had a bash at one of the easier looking problems from this year’s ACM International Collegiate Programming Contest. You can see a description of the problem here on the UVA Online Judging website which provides automatic verification of submitted solutions.

The solver’s task for the problem I chose is to decode some “Ancient Messages”. So, how exactly did I do that?

Read the rest of this entry »

Top Gun - Secret Cinema

September 5th, 2011

Yesterday I went to Future Cinema Presents California Classics - Top Gun.

Top Gun Big Screen

This wasn’t simply a case of showing up at a cinema to watch a film, though …

Read the rest of this entry »

High Quality Rock is here!

July 22nd, 2011

I’ve just spent a very pleasant forty minutes listening to Deep Purple’s classic rock album, Machine Head. Exciting on a good day, but today it sounds extra special as I’ve been listening to a brand new high quality re-release of the album in 24 bit / 96 kHz download format.

Linn DS

So, why is this so exciting?

Read the rest of this entry »

Project Euler

July 7th, 2011

Project Euler is an internet-based mathematical and programming challenge that has been running for the last ten years. Problems set on the site range from incredibly easy to (mostly) very difficult. I’m currently at “Level 3″, having solved 110 of the problems, including some of the more recent difficult ones.

datahaven Project Euler profile

It’s a bit tricky to write about this little hobby of mine as one of the conditions of taking part is that one doesn’t give away the answers.

Read the rest of this entry »

Rock Choir - Wembley Arena 2011

May 15th, 2011

Unquestionably the most exciting thing I have done so far this year - this is the audience I sang for earlier today:

Rock Choir

The picture shows a capacity crowd of ten thousand people (mostly women) filling Wembley Arena for this afternoon’s Rock Choir Live event.

Plus, there’s breaking a Guinness World Record, recording a track to be released on a deluxe version of the existing Rock Choir: Vol1 album and not only that but it has all been filmed for a documentary to be broadcast on ITV later this year. Not bad going for one afternoon!

So, what’s the story? How did I come to end up on stage in front of that many people?

Read the rest of this entry »

Mojito Project

March 17th, 2011

I decided that home cocktail making is a skill that no gentleman should be without. The Mojito, seemed like an excellent place to start, bringing back happy memories of drinking cocktails on the beach in Mexico.

Mojito v2.1

Read on to find out what went into the making of the delicious looking concoction you see above…

Read the rest of this entry »

Banqueting House

February 23rd, 2011

This is Banqueting House in London, site of the execution of Charles I in 1649.

Banqueting House

I visited there by chance with my Mum as we were passing by on our way to see the Watercolours exhibition at Tate Britain. We received an impromptu history lesson plus the opportunity to take some photographs with my new Nikon D5000 DSLR camera. Hopefully the quality of the photography on this blog will be improving over the coming months.

Read the rest of this entry »

Weekend Art Project #001

January 20th, 2011

Weekend Art Project 001

I received a copy of this book for Christmas: The Weekend Artist: Creative Inspiration, Techniques and Simple Projects Designed to Unleash Your Inner Artist by Gerard Smith.

Above you can see the results of my first attempt at creating modern art, following one of the projects in the book. Read on to see what was involved in this project.

Read the rest of this entry »