Chasing bugs

The last two days has been spent chasing bugs in production environment. For non-developers this is a bit like trying to fix a broken bridge with traffic still running, i.e. quite scary, stressful and with angry users thinking that you can go faster. We have now arrived to a solution on the bugs and the reflection phase sets in. Nice… On of the problems (non-production I’m glad to say) had to do with ASP.NET and Javascript. The customer wanted the ENTER-button to trigger a login-form to submit. But the page had some other parts in the form that also submitted. This has been troublesome to solve in ASP and ASP.NET for a long time but with ASP.NET 2.0 there is a very nice solution to this problem, an attribute called DefaultButton. Here is a nice article describing how to use it. Update: just after implementing this solution we found troubles...
Read More

Weddings...

This weekend i was guest on a wedding. It was all very nice but it struck me how hard it is to keep those kind of parties interesting for everybody. A quite natural focus is on two persons and if you don’t know them (as i didn’t do - and as often is the case) it will tend to get quite hard to follow. Then there is the thing with the people around your table. A strange tradition in Sweden is that you are placed with people you don’t know. And this only if you are married yourself - up to that point you are seated with your girlfriend. So that placed me next to the priests wife. She was quite nice but talked soft and also dozed of into sleep from time to time. This is not a very good grade for me I realize :). To my defense...
Read More

Linus on the line...

This was one of my favorite TV-programs when i was a kid. It quite sad when you think about the quality, but the character has become somewhat a legend in Sweden. And here you can find all the episodes http://www.tv5.org/TV5Site/la_linea/ Got the tip from my father, which is a first, but equally fun.
Read More

James Watson

I had the great opportunity to play and rehearse under Mr James Watson. He is really a great guy and a great band instructor. We have had a very nice (but exhausting) four days with him and the concert on Friday night went quite alright (the band had some odd moments in Couldcatcher Fells). Then on the Saturday morning we did a short but very rewarding rehearsal on the great Paganini Variations. The band has really been improving so that also went alright. It is within our reach i would say…
Read More

Useful YouTube - ExpertVillage.com

Got a tip of really fun site http://www.expertvillage.com/. Here there are a lot of experts uploading videos of how to do stuff. So if You wonder how a Sitar is played, how to build a new kitchen or how to throw a American football - here is the place. A lot of fun is guaranteed. I couldn’t find anything about the euphonium… yet. Might upload some stuff there if i dare
Read More

Coldness-trump

Today it is really cold in Stockholm, about -10 degrees Celsius. That’s nice i think, for a shorter time. This is what winter is all about. But today we will also see (i guarantee it) the famous Swedish Coldness-trump. This is an age old game that Swedes have been playing since the thermometer was invented. It is very easy to take part, and just listen people all around you and i promise that you will hear it played; you just make a very long and dramatic story about how cold it was at your very special whereabouts. The coldest place and/or most dramatic story wins. And if you don’t have the coldest place you always tell the story about “that time when it was REALLY cold… i mean this is not cold in comparison”. I am sure you understand the rules and objectives of the game by now. :)
Read More

You got talent?

Lets start this week with something really impressive and yet … sad. Look at this and then just for a while try to comprehend how much time that have been put into this act. Just finding the honks (?) in the right key and “composing” the songs must have taken forever…
Read More

NHibernate

OK - it is now official. I am in love! For sometime now i have had some ideas that the Hibernate framework is cool, but i have not seen it in action. But now I have and it is wonderful… so nice and cool. The Hibernate framework solves the tedious work of mapping your objects in C# (or Java as it is originally) to tables in the database. This is accomplished through mapping files in XML, so it is easy to maintain over time. It’s so clean and reduce the database coding to a mere minimum. Also this will make you focus on the right stuff, such as business logic. I am still a rookie (just playing around with it for a short while yet) but this will be my melody from now. Here is some code lines that convinced me: // Open a new session to retrieve the just...
Read More

Memories from the past

Got to listen in to a band that i loved as a teenager yesterday. Poison, which believe it or not was a hard rock band in the 80’s Here we have it all; long poodle hair, harmonically singing (several parts), the obligatorily guitar solo in each song and some really cheesy lyrics. Listen to them and let it take you back. Way back. src=”http://2.bp.blogspot.com/_kkDJOSPNTLs/RdAMWRNKkCI/AAAAAAAAAFI/fMTodQlknD8/s320/poison.jpg” id=”BLOGGER_PHOTO_ID_5030534360488120354” style=”CURSOR: hand” data-border=”0” />](http://2.bp.blogspot.com/_kkDJOSPNTLs/RdAMWRNKkCI/AAAAAAAAAFI/fMTodQlknD8/s1600-h/poison.jpg)
Read More