Blogg

Flera av våra konsulter bloggar aktivt. Ta gärna del av deras kunnande och idéer.

Bloggande konsulter:

Roger Alsing

Sebastian Markbåge


  • 2010-07-30

    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 [...]

    Roger Alsing

  • 2010-07-29

    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 [...]

    Roger Alsing

  • 2010-06-17

    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 [...]

    Roger Alsing

  • 2010-05-22

    This is just a must see. Scientists have designed a DNA sequence in a computer and managed to create real, self replicating cell, with it’s own email address encoded in the DNA :-) http://www.ted.com/talks/craig_venter_unveils_synthetic_life.html

    Roger Alsing

  • 2010-04-17

    I’ve added some more features to my toy language “Plastic”. Partial application of function arguments. This is now used for generators. Yield is no longer a core function, instead, each generator takes a closure as its last argument which is then supplied by the foreach function. This way the foreach body don’t have to be stored [...]

    Roger Alsing

  • 2010-04-15

    I’ve added generator support to my toy language “Plastic”. It’s quite funny how easy it is to implement some language features once you understand how they work behind the scenes. At first, I thought generators would be extremely hard to implement, requiring AST transformations to build state machines a’la C# for enumerable methods. But my java [...]

    Roger Alsing

  • 2010-04-14

    As some of you might know, I’ve been fiddling with a generic DSL grammar, here and here. I figured that I should do some proof of concept on this and started to write a language using the grammar and parser. Since I’ve already created a LISP clone earlier, I thought I should go with something [...]

    Roger Alsing

  • 2010-04-01

    [EDIT] This was supposed to be my contribution to first of april (Sorry guys) But apparently people are already doing things similair to this, for real, which makes this post quite a bit less fun. So maybe aprils fool is on me if someone implements this :-) [/EDIT] Most samples of genetic/evolutionary programming evolve formulas, [...]

    Roger Alsing

  • 2010-03-28

    I’ve replicated my favorite Netbeans theme “Norway Today” to VS.NET 2010, I think it the dark blue bg works quite well with the blue VS2010 design. Download: HTTP://www.puzzleframework.com/Blog/netbeans-norwaytoday.zip

    Roger Alsing

  • 2010-03-26

    A few days ago I announced that I was working on a generic DSL parser : http://rogeralsing.com/2010/03/23/generic-dsl-grammar-and-parser/ I’m now porting the code to F# since it is more suited for AST traversal. So it will take a few days more before I publish any code, I want to see what I can accomplish with F# [...]

    Roger Alsing

  • 2010-03-07

    This is a follow up to my earlier post about the Reactive Extensions (Rx) for JavaScript by Microsoft’s DevLabs. This is also in response to Matthew Podwysocki’s post on jQuery integration (which deserves some credit for putting it out there). I will assume some familiarity with Rx. Just like any other DOM library, MooTools has a way of [...]

    Sebastian Markbåge

  • 2010-03-06

    I’ve been following the work on the Reactive Extensions for .NET (Rx) by Eric Meijer and others over at Microsoft. At first look I was intrigued but didn’t really understand the purpose of it. However, at a second look, I realized that it had the potential to solve every major problem I’ve had with advanced UI [...]

    Sebastian Markbåge

  • 2009-11-24

    I was researching various options of traversing nodes for Slick and the DOM Range for MooTools. I realized that the nodeName property is incredibly slow to access in WebKit browsers. This is because it is working with qualified names (with namespaces and stuff) internally. if (node.nodeName == 'A') // do something with anchor tag If you add [...]

    Sebastian Markbåge

  • 2009-07-25

    Let’s say I have a link (anchor tag with href), and I wish to attach an event listener to it. <ul> <li><a id="mylink" href="http://...">my link</a></li> </ul> document.id('mylink').addEvent('click', function(){ console.log('hello world'); }); Now, if I click the link it will log the message but the browser window will also visit the location of the link. There are a bunch [...]

    Sebastian Markbåge

  • 2009-05-30

    A common problem with DDD is the injection of services to your domain model. Sometimes your domain relies on external services to do it’s job. You could do that by injecting your services directly to your entities using NHibernate Interceptors or ObjectStateManager for Entity Framework v4. There are many design issues with the POCOness of Entities [...]

    Sebastian Markbåge