Back on the shelter

Another night on the shelter for the Salvation Army. Today it has been quite warm outside but for the men visiting the shelter that only means that they will arrive a bit later. Just think for yourself, when you walk home late a summer night, even if it is warm - would you trade that for a bed? I know i wouldn’t… I am always filled with some sort of sorrow when I see the guest here at the shelter. They are, many of them, younger than me. And already they are on the bottom of our society… Others have been there for years and years. We are so privileged in our daily lives and so seldom stop and appreciate it. Most of us have families, friends and co-workers that cares about how we are doing. We have stuff to do (work for example) - that’s another thing to ponder....
Read More

Way out book on Ruby

This is the most creative, flipped out, and maybe scary thing I’ve ever read on a technical subject - http://poignantguide.net/ruby/ It’s a online book about Ruby. But the guy who has written it seems a little…. odd to say the least. He has really taken the concept of learning to a whole new level. Bad or good - judge for yourselves.
Read More

Managing dynamic controls in an ASP.NET page

The last couple of days (well actually for my parts it’s more like months or years) we have been discussion the management of dynamic controls in ASP.NET pages. In my experience this is a very common scenario and i haven’t still found a great way to handling it. To explain better I’ll just a very simple fictive scenario; imagine that a page has a button “Create new control”. Next to the button is a textbox in which you can type the typename of the control to create (CheckBox, TextBox etc.). When you click the button the control, of the right type, is created. Now for the “hard” part. Below the created control is another button “What was entered?”. When that button is clicked the code should, of course, read the content of the dynamically created control and print the value that was entered. Pretty simple, eh? Well it’s not so...
Read More

Punk being nice

Yesterday I followed a few links from the “Go around twice if you are happy”-video and as it turns out there are a whole community doing these kind of “nice” punk actions. If you want to see some similar stuff try the WoosterCollective, especially the following categories (some are quite strong, you have been warned, but most are fun or just good): http://www.woostercollective.com/activism/ http://www.woostercollective.com/chalk/ http://www.woostercollective.com/fun/ http://www.woostercollective.com/3d/ Also be warned - it is almost impossible to stop browsing the site…
Read More

Made me smile

Here is two short videos that made me happy in the morning. The first is a song with Oh Laura. The lead is performed by a friend of mine, Jörgen Kjellgren. The second one is a ... well prank, maybe. Some people has put up some signs in a Arabic town which says things like "Stop here if you rather have been in bed" or "Turn around twice in the roundabout if your are happy". Then they have filmed the result. It's quite gratifying to watch. And no-one is getting hurt, no misfortune is happing to anyone. And still it's funny. Just think...
Read More

Avega - I like it!

My company, Avega, is back from a conference on Iceland. The conference in it self was a great success. Very well organised, good weather (which does NOT happen often at Iceland, from what i understand), great fun with great people. But once again I come to think about how blessed I am with my surroundings. I’ll give you an picture which I have experienced several times the last year or so: Think about when you have done something extra with others, for example went to a camp, a great vacation or some thing else of that kind. When you are traveling home you always get a strange feeling with a strong sense of wanting it to go on, don’t you? Well, for me, it does! This weekend i have had some great times with a great bunch of people. Lots of interesting, fun and engaging discussions and get togethers. Lots...
Read More

2008 European Championships - the results

The European is now to an end and some shocking results was delivered…. Here is the complete results, where you can note that the Oberoesterreich Brass Band were placed 10/11 which is really strange since they got some raving reviews. For our Swedish contender things didn’t work out to well. I think that the approach to a competition is shown very clear with the results. For band - with a lot of amateurs, like Stavanger, Cory or Willebroek - it’s life and death stuff. For bands with mostly pros things aren’t as serious. And then you don’t win any competitions against the other group. A 9 place for Stockholm Brass Band may have been a correct adjudication. And for me things went quite well. My predictions had the right three top bands, but not in the right order. I am not a big fan of Cory but apparently they kicked...
Read More

2008 European Championships - my predictions

It’s that great time of the year when the best brass band competition in world takes place - the European Brass Band Championships. Historically this is where the best bands plays at the very highest level. This year the event takes place in Norway, in Stavanger. We Swedes are of course strengthen by the win of WindCorp in Grenland, which from what i understand was a great display from the band. We’ve come to expect nothing less from that great band. The Swedish band competing in Stavanger is Stockholm Brass Band. I wish them all the best and really hope that they can impress the judges - they sure have all the potential to do so. I’ll be keeping my thumbs crossed all weekend. So how will it all go down? The test piece is quite modern and not very “brass bandy”. So that will probably promote that type of...
Read More

In control

You have to see this amazing performance…. Took me a while to understand but she is recording herself and the replaying it while continue to add voices, rhythm etc… and finally produces a wonderful sound and a quite catchy song. Don't try this at home, boys and girls. She is a professional
Read More

How to fail a tfs-build on test failing

One thing that really surprised me was that when tests fail in my build script the build script happily ran along after that!? Isn’t one of the ideas with Continuous Integration that the build script only will emit working versions? Well in this article Aaron Hallberg (Swedish relatives?) shows us how to handle this. What he basically does is to check the status of the test-run and then update the status of the complete build. I extended his code to use the test-status-flag on the tasks that follow the test, i.e. the publish task. This task deploys the executables to my test server, update the documentation etc. So now I’ve got my desired result which is that failing test leads to failing the whole build.
Read More