Playing Lotto with LINQ

30 Jan 2009 You know, they are once again going craazy in Germany - The Lotto jackpot has swollen to a whopping 35 million. That’s a lot of money, certainly enough to devote some of my time to the subject. I was looking around the Internet whether I could get my hand on...

Dependency Injection is not locating services

07 Jan 2009 The DI container StructureMap has been coming along nicely lately, with version 2.5.1 available as download. I have been following closely its recent development, since it is providing some core object wiring functionality to my current project. A rather inviting pattern one can be lured into in DI container usage...

Iterators do [1..]

08 Dec 2008 The following picture probably doesn’t surprise you But as you can see in what is commented out, you can indeed e.g. do DataSource.Take(10).ToList Such an iterator then has quite a similarity to Haskell’s [1..], the infinite list. Just make sure that you don’t pull all elements from the source…

Haven't digested C#3? Brace yourself for V4!

04 Nov 2008 After Microsoft’s PDC, a whole host of C# 4.0 infos are coming up. Many months ago we were already allowed to peek at Hejlsberg & Team sitting in an old meeting room, talking about what C# 4.0 would be all about (I have lost the link but you here’s his...

Update to Drupal6 - Commenting disabled

18 Oct 2008 There I go. I updated my CMS to Drupal 6, and with it I am using a new site template. Sadly, though, a couple of things are broken and just now I am being nastily spammed and all possible tools of defence won’t work as expected for now. I kind...