Visit of Ivar Jacobson
Last Thursday the day had finally arrived. From a not very well planned post after an article it has been quite a journey to finally get a visit from one of the IT-gigants – Ivar Jacobsson. I have made a short recap of what he said here (in Swedish), but the main thing for me was just to see and hear a man with that amount of experience, with all the enthusiasm still intact. Also I like the ideas on the computer industry being a fashion industry that chases trend after trend. Ivar has started to look away from the different processes and instead focus on the practices that is used and can be combined into great support for the organization. I really laughed hard at one of his statements: “We really has gone crazy with the documentation” (my translation). This said from the father of RUP that so many...
Powerpoint online – 280 slides
I found a cool tool that allows you to create, edit and show slide show
presentations online. The tool is called
280slides.com and is
It also allows you to upload presentations in Power Point format, to
“in the cloud” and also download the presentation in
several well-know formats (ppt(x) and pdf for example).
I like it!
BTW, this is my 600th post… It’s been a joy and I have no intention to
stop. But I never knew from
Although there is a some time since the vaccation I realized that I
haven’t posted photos from it. Here are a short summary of what we did
and went during those lovely summer months. Not too far away…
Albert enjoying himself on the seashore - he stayed here most days…
Here we are on our way into the water. Again.
Elin and I went to Liverpool for a short holiday without Albert. But
thogether with Kalle and Fanny. Here is a picture from the shores of the
Albert in Västra bodarna where his cousin Hilda is living. She wasn’t
born yet, but is now.
And one of those lovely barbecues on Hyppeln. Notice the Swedish summer
Reference work 3 – TDD by example
I have noticed that I’ve been reading some reference literature in the IT-department lately. I don’t know why but it’s a great way to get to know some of the giants that frequently is mentioned in current hot developer topics. So after Patterns of Enterprise Application Architecture and Clean Code the time had come to Test-driven development: by example (my good –Google Books is almost scary). This is was by far the funniest IT-book I ever read. I burst out laughing from time to other and found myself giggling through the whole thing. For example read this paragraph about the time when Kent Beck was young. The book itself is centered around two example that take you through a variety of disciplines in TDD. And then mr Beck talks about patterns in TDD; design patterns, testing patterns and refactoring pattern. Overall I felt that the book was more about the...
Pair programming benefits and arguments
As I wrote earlier I attended my first ever Alt.Net un-conference this weekend. It was very rewarding and great to meet fellow developers under such informal circumstances. The open spaces was the most rewarding part I think. One of the open spaces I took part in were about Pair Programming. It soon evolved to a session about how to convince developers / management and other that it’s a good idea. Here is a short recap of some of the good thoughts that emerged from that session. Good ideas Switch the keyboard often. I.e. one developer writes the test and one the implementation or use some kind of a pomodoro clock for ten mintues. Switch partners often – once a day for example Argument for the benefits of Pair Programming It’s fun! No more agrument should really be needed than this. You need fun at work or else you should work...
Marcus doing new stuff
Two big things will (or are in the progress of) happen this weekend. The first is that I have gone over to the dark side. Yes, I know, I couldn’t resists anymore. The temptation was to great. I have bought a Mac Book Pro. And have just installed it – that process was so smooth. I want to do it again! OK – the next thing is that I will speak at a conference for the first time ever. Actually it’s a Un-conference, for alt.net Sweden. And it’s a lightning talk but that only makes it harder I think. 10 minutes – it’s not much. The subject is “Let Fluent NHibernate test your mappings”. And it relates to some of my late findings. I know that I have spoken some bad words about Apple so I suspect some pretty harsh comments from some areas (Fredrik? Magnus? Svante?). Shoot! I am...
AutoMapping with FluentNHibernate
I ran across this post by Ayende and it pretty much sums up where I want to reach with my persistence ignorance efforts: “After that, you are done. Just create an entity in the proper place, hit the /database/create and have a lot of fun.” I of course like the fun-part of the quote the most. :) But seriously – that what I want to reach – to configure my conventions. And then simply code the model as I want it and let the framework (NHibernate in this case) figure out how to store it. Well, as it seems, the Fluent NHibernate framework has been updated since the Ayende post. So I’ve read, and read, and read and discovered some shortcuts. By the way – here is an article on how to make the transition from the “old” convention-style into the new. I have put together an updated sample for...
Pastie – your online clipboard
Here is a great
tool for sharing code without having to send mail or chat-messages –
Just go to the site, paste your code, optionally chose a language and
you’ll get a URL to the code.
Fluent NHibnerate CheckReference throws Expected ‘X’ but got ‘XProxy’
I have been playing around quite a lot with
NHibernate lately and ran into this problem a couple of times.
What happens is that when you set up a mapping test with PersistenceSpecification<T>
that tests a reference (with CheckReference for example), an exception
is throw like this:
System.ApplicationException: Expected ‘Marcusoft.Product’ but
got ‘ProductProxy…’ for Property ‘Product’
This has to do with that NHibernate creates a proxy-class and doing
Equality-test on that class. I have picked up a base class that “fix”
this problem from the Hibernating Rhinos (my god! what a name…)
You can read about it here or read
my code here.
Vasa Band and Saturday night success
This weekend the band I play in, the
Vasa Band, had an
opportunity to play at the Salvation Army regional congress in Örebro.
We were invited to play in the musical festival at Saturday.
When we learned about this a few of us started to think in how we could
make something new and different. And so we borrowed ideas from some
and put together a short program with music from our latest
It was very well received and we really made a big impact. But what felt
very good was many people felt the presence of God and his message to
them as we played. This is always our greatest hope and longing. And
this Saturday it was very obvious.
Feels really good to continue on that road with my fellow
I’ll try to upload some photos from the evening later