Browsed by
Year: 2009

Favoured podcasts

Favoured podcasts

I migrated my desktop PC to Windows 7 Professional. I didn’t choose the upgrade path, I install Windows 7 from scratch. So, after installing iTunes I had to register my favoured podcasts again: .Net .Net Rocks! Hanselminutes herding {code} Stackoverflow Polymorphic Podcast Alt.NET podcast Java The Java Posse Software engineering radio Currently I work in a .Net environment, so the list of .Net podcasts is a bit longer. If you are interested in more Java podcasts, there is a question…

Read More Read More

Kaizen and Software Engineering

Kaizen and Software Engineering

Kaizen is a very interesting approach, also in the software industry. On Wikipedia you’ll find the following description of Kaizen: Kaizen is a Japanese word adopted into English referring to a philosophy or practices focusing on continuous improvement in manufacturing activities, business activities in general, and even life in general, depending on interpretation and usage. Kaizen aims to eliminate waste, to improve the process or activities (techniques). I heard about Kaizen the first time at an economic course, and I…

Read More Read More

Fail Fast principle

Fail Fast principle

Recently I received a NullReference-Exception when I called another method from a foreign component. Fortunately I had the source code of this component and I found the following code: [code language=”csharp”] public class AgeValidator { public Dictionary Config { get; set; } public bool Validate(int nAge) { int nMinAge = FindValue(“MinAge”); return nAge > nMinAge; } private int FindValue(string strParameter) { int nValue = -1; if(this.Config.ContainsKey(strParameter)) nValue = this.Config[strParameter]; return nValue; } } [/code] There are several problems with this…

Read More Read More

To be a model

To be a model

Currently I study for a MAS-IT. Last semester came a photograph and asked if he could take some pictures. So I thought nothing of it and I continued discussing with my colleagues about a topic. Today I saw on the page of the Berner Fachhochschule, Technik und Informatik two images with me: And here: That’s funny. Normally I describe models, but now I’m the model.

NHibernate mapping possibilities

NHibernate mapping possibilities

I prepare currently a new talk about NHibernate. In this talk I’ll show the different mapping possibilities with NHibernate. To demonstrate the three possibilities (and a fourth one) I chose a quite simple model: I implement three classes Cat, Dog and Bird an for each one I chose a different mapping approach. For my little sample application I used NHibernate 2.1.0, NHibernate.Mapping.Attributes 2.1.0 and Fluent NHibernate 1.0.0.545. NHibernate classic style – XML-Files For the class Cat I chose to use…

Read More Read More