Easter in the archipelago

I spent the weekend in the archipelago of Gothenburg. It was great! Brilliant sunshine for one and a half day and then … games inside for the rest of the weekend. I am a bit worried though, after the gaming session, that my relatives might not like me as much. I didn’t swept the floor with them but i won the prematch-battering (you know, i talked the most about my own abilities etc.) :) Also we had a small scissors adventure as the before, during and after series shows above… I’ll add some more pictures later in the week. This week by the way is my last at one customer and i have to prepare some big talk at my next… Hectic week, now where have i heard that before
Read More

TDD - how is it done?

The next project will be done with Test Driven Development - i am really looking forward to this! We have all read about TDD, on this pros and cons and how it is done (red, green, refactor or first write the test, fail it, fix it…). But i haven’t seen to much on how to actual write the code. How do you start off? In other words - show me the code! But this article has some hints and tips on how to write test driven code for business and ui-layers. Especially from the Doing Test-Driven Development paragraph. The rest of the article is a very nice introduction to Nunit and other tools. I’ll get back to you all when i have got the pieces together surrounding this.
Read More

Bengt Eklund

This weekend a very inspirational and important brass teacher was taken home. Although i have known about his decease for quite some while now it’s always very sad when the end comes. Bengt was one of those people that stick in your conscience from the first time you meet him. For my first rehearsal with GBB i was actually scared of him, but that all went away after just meeting him outside the rehearsal room. Since then Bengt has continued to fascinate me, give me valuable tips (both for playing and life) and being a great friend. Some of the greatest things i have been doing with my instrument was through or via Bengt and GBB. I remember quite vivid some concerts from USA 2005, the amazing tour of New Zealand the same year or just some great rehearsals. Tips from Bengt help me each day in my playing. So...
Read More

Dependency Injection - explained

When I first read about Dependency Injection, i of course read the famous article by Martin Fowler… and to you i can say that i didn’t get it. At all. Please don’t tell anyone ;) But after the presentation at Avega by Niclas Nilsson i finally got it. And the exemple below is a small rip of the DI-part of the presentation but it works as a reminder for me anyway. Here we go: Lets say that we have a class called SalesController that managers the business logic for sales. In order to work it has to get some product information which is stored in a reposotory calles ItemInventory. Below is a example implementation of SalesController public class SalesController{ ItemInventory item; public SalesController() { ... } ...} This means that the SalesController is dependent to ItemInventory. That is not that good since: if you want to exchange ItemInventory for another...
Read More

Spring.NET

I realize, when skimming through my posts on the blog, that this happens from time to time … but i have learned some great programming skills the last week. At Avega, where I work, we gave a seminar on Spring.NET, Dependency Injection and Aspect Orientation… and once again - i think i am in love. For the first time i finally understood Dependency injection and then the pieces and beauty of Spring.NET was very obvious. Here are some links that might be useful: http://www.springframework.net/ http://www.martinfowler.com/articles/injection.html http://www.niclasnilsson.se/
Read More

Brassband radio

Every monday morning i start the day by listen in to Listen to the band which is a long running radioshow in UK, playing brass band music. It is a great oppurtunity to hear the best band in a more or less live situation. Now, i found out, there is a contender… World Of Brass also has its radio. It seems to be playing CD’s (that you can buy from World Of Brass, can you imagine? ;)) but there is some very good music to hear.
Read More

Pixar - again

OK - the last post made me think about another time when i was the only one laughing in the cinema. Really embarrassing - especially since all the other people in the saloon were children… max six years old..
Read More

Weekend to an end

After a really busy weekend i have just started a “get-back-into-shape-week”… That happens quite a lot to me - the weekends are more hectic than the weeks. So you need to shape up in the weeks. This weekend has been mainly coloured by the celebration of my Salvation Army Corps 40 years anniversary. This was a major success with a music festival with the band at the Saturday to a capacity audience - that was a very long time ago indeed. So fun, so blessed and a lot of warmth to be shared. The band played to its best even though i wrecked that last note of my duet… Well it happens, but not to often i hope. The Sunday was also great with a celebration with the whole corps, which include the string band (yes, they still hang around), a youth choir, the band and the great Vasa Gospel....
Read More