Last night was the November meetup of the AgileNorth group. It was kindly hosted by the computing department of the University of Central Lancashire, Preston. They provided a sizable room, with great presentation facilities and even sorted out some tea, coffee and cakes!
There were 10 attendees in total (which was double the size of the first meetup that I attended), and the session was run by Murray Tait & David Draper. The topic was "The Game of Life Kata".
So what is a code Kata?
A Kata is an exercise in karate where you repeat a form many, many times, making little improvements in each. The intent behind code Kata is similar. Each is a short exercise (perhaps 30 minutes to an hour long). Some involve programming, and can be coded in many different ways. Some are open ended, and involve thinking about the issues behind programming. These are unlikely to have a single correct answer. - Dave Thomas
A number of acceptance tests for the rules of the game were provided by Murray and a very bare-bones class that would make up the game itself. The aim was to pair-program the implementation of the game by making the tests pass, and swapping coding partners every 20 minutes or so.
The session went well, with everyone getting stuck in to the design of the game and what rule should be implemented next. Without internet access or a selection of Java in a Nutshell books some aspects of Java caused us to slow down at a number of points during the evening.
It was interesting to see a number of different viewpoints on how far you should implement the feature in question. If the test passes even with a trivial implementation that you know is not a full-blown solution is it ok to leave it at that?
Time passed very quickly and we stopped at one point for quite some time for a valuable discussion about the game board setup and what parts of it we were testing. We pressed on without really resolving the issue and it continued to cause us problems as we got further through the tests. This taught us that as soon as we have a question regarding the requirements we really should down tools and get with the (on-site) customer to get to the issue ironed out.
The end of the session was soon upon us and so we had a 5 minute wrap-up to discuss what we had learnt from the session. Most of that is covered above, but it was also mentioned that although the concept of the problem was simple to understand, due to the acceptance tests using arrays and ints, the implementation was bogged down in for loops, if statements, 1's & -1's rather than allowing us to progress at a higher level (and therefore faster) through the rules and complete the Kata in the time provided (7:00-9:30).
It was decided that we would continue with this Kata at the next meeting, maybe splitting the group into the two 'drivers' at the keyboard implementing the current feature whilst the rest of the group discusses the next step and any design decisions that may need to be made.
I'm looking forward to it already!
Technorati Tags: AgileNorth, Murray Tait, David Draper, Andrew Beacock
I've had a Yahoo! Mail account for years now, but I've never really been a fan of webmail, mainly due to the clunky slow interface that so many web-based email clients exhibit. Then everything changed when Google came along with GMail, I signed up for an account and love the interface, but still liked my Yahoo email address.
My main grip with Yahoo Mail is the time it takes to browse between multiple 'new' emails, I hate the page reloads for each one. Imagine my delight when I happened across a post on the Quick Online Tips blog talking about Ajax Enabled Yahoo Mail.
It mentions two ways to get a better Yahoo Mail experience, one is a firefox extension and the other is a firefox greasemonkey script. I'm a big fan of greasemonkey so I've opted for that version of AJAX Yahoo! mail by Viamatic Softwares.
Just install it like all the other Greasemonkey scripts and now in Yahoo Mail you get a little arrow at the side of each mail in the Inbox which when clicked expands to show the full email without doing a full page reload. Top one!
Technorati Tags: Firefox, Extension, Greasemonkey, Yahoo Mail, Viamatic Softwares, Andrew Beacock
In the true spirit of KISS (Keep It Simple, Stupid) here is a joke that had us all chuckling in the office this morning (well it is a Friday after all):
A man goes to the Zoo.
The only animal there was a dog.
It was a shitzu.
Technorati Tags: Keep It Simple Stupid, Joke, Andrew Beacock
I recently bought a new car which didn't have a tape deck so I couldn't plug my MP3 player into the car so that I could listen to my latest podcasts. I couldn't live with it like this so I started to research into FM transmitters for my player.
I had heard mixed reviews regarding these FM transmitters, quite a lot of people were reporting that although they were ok, but a large amount of interference was received when travelling in built up towns and cities. Most of these transmitters can only be configured for one, four, or maybe eight different frequencies, meaning that the choice you have is severely limited.
After quite a bit of surfing I managed to stumble upon the Digiana Audiax II. It supports tuning to around 200 different frequencies which covers the full UK radio range, it's really small and comes with a car charger and a battery.
It's incredibly easy to setup and tune, I have mine tuned to 106FM as there is very little around in that frequency range in my area. I've been using it now for about two weeks and it's brilliant, the sound quality is great and it's so small and neat - I can't fault it.
I bought mine from IntoMusic.co.uk for £28.95, I placed the order at lunchtime one day, it was sat waiting for me when I got home the next! Great price and fantastic delivery.
If you want to get you MP3 player working in your car (or anyone vehicle for that matter) then I think that this is the way to do it. I showed it to a colleague, and he bought one that very afternoon - what more can I say?
Technorati Tags: FM Transmitter, Digiana, Audiax, Andrew Beacock