Today I attended one of Juval Löwy’s sessions on our inhouse conference. He argued that every object in .NET is a COM object behind the scenes, even Int32. Fair enough, Int32 is a type and it does have a Guid. The argument was an attempt to show that .NET is slow and that everything is pushed…More
Entity Framework 4 Enum support in Linq
As many of you might know, Entity Framework 4 still lacks support to map enum properties. There are countless of more or less worthless workarounds, everything from exposing constants integers in a static class to make it look like an enum to totally insane generics tricks with operator overloading. None of those are good enough…More
Evolutionary Algorithms – Directing the undirected
This is a followup to my previous post on the same topic : http://rogeralsing.com/2010/07/29/evolutionary-algorithms-problems-with-directed-evolution/ I started thinking about possible solutions after I published my last post, and I think I might have something that could work. In order to harness the full power of evolution, we need to be able to simulate undirected evolution. Undirected…More
Evolutionary Algorithms – Problems with Directed Evolution
Creationists often use “irreducible complexity” as an argument against evolution. e.g. you need all parts in place and functioning before the “whole” can do its work and thus reproduce and spread its features. The bacteria flangellum is one such feature that have been attributed with “irreducible complexity”. You need the “tail” and some “engine” parts…More
Plastic Language take 2
This is a follow-up on my earlier posts regarding my toy language plastic: http://rogeralsing.com/2010/04/14/playing-with-plastic/ http://rogeralsing.com/2010/04/17/more-on-plastic/ After some brain storming with my colleague Sebastian Markbåge, we’ve come up with some alternative approaches to chained method calls. Instead of chaining calls syntactically, I could instead chain them by passing the result of the last statement into the next…More
