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

Lars Blixt

 


  • 2011-12-28

    The DateTime serialization format in the built-in JSON serializer in .NET is particularly inconvenient as it requires a regular expression to parse and is not human-readable which makes debugging a pain. ISO 8601 JSON doesn’t have a standard Date format per say. By design. Instead, the JavaScript defines toJSON methods so that objects can convert themselves to [...]

    Sebastian Markbåge

  • 2011-10-08

    TLDR This post is mainly a way for me to structure arguments and counter-arguments for various JavaScript module systems. You can jump to the bottom of the page for a matrix mapping features to various module systems. I’ll keep this page updated as new arguments are accepted or new module systems are invented, if they [...]

    Sebastian Markbåge

  • 2011-09-13

    For the conversion tool from SVG path to CSS animations I needed a selector for vendor prefixes. I decided to use the browser’s logos. High resolution and vector versions are readily available for all the browser logos. Unfortunately they don’t look very good in small icons. They’re also very colorful which tend to attract the eye [...]

    Sebastian Markbåge

  • 2011-09-12

    Click Here to Test The Tool It’s not easy to generate keyframes for CSS3 Animations. This new CSS Path Animation tool can help you convert SVG paths into CSS keyframes. SVG Using SVG you can use the animateMotion element to move and rotate content following along a complex curved path. However, some vendors have turned away from SVG for animation [...]

    Sebastian Markbåge

  • 2011-04-15

    This is another PoC, building recursive code with continuations using the Async CTP. The code creates a fake fiber, which can be suspended and resumed, thus allowing us to “step” through its actions. This technique could be useful when building an interpreting language where you might want to step through the expressions.

    Roger Alsing

  • 2011-04-15

    More info on TPL DataFlow can be found here : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d5b3e1f8-c672-48e8-baf8-94f05b431f5c Here is a (naive) F# style Mailbox / Agent using the C# async CTP : This way, we can spawn thousands of agents w/o allocating threads for each of them. The message loop is executed on the threadpool for each iteration and then suspended [...]

    Roger Alsing

  • 2011-04-14

    Here is a small sample of how you can consume WCF services using the new Async CTP features. Example, filling a listbox with categories of some sort.

    Roger Alsing

  • 2011-04-14

    This is just my first observations. nothing fancy.. I’ve just installed the new Async CTP (for C# 5 async features) The SP1 Refresh can be found here: http://msdn.microsoft.com/sv-se/vstudio/async/ The new async and await features makes async programming so much sweeter, it lets you write async code in a sequential manner. e.g. This code looks sequential, but the code will [...]

    Roger Alsing

  • 2011-04-12

    Essentials of Metaheuristics is now available on Amazon.com http://www.amazon.com/Essentials-Metaheuristics-Sean-Luke/dp/0557148596/ (Featuring EvoLisa inspired images ;-) )

    Roger Alsing

  • 2011-04-11

    Handen på hjärtat, visst har du både privat och professionellt ibland svårt att hitta rätt information? Du är inte ensam se DN artikeln kring att vi slösar bort vår arbetstid. Hur kunde det bli så här? Varför ska vi syssla med med dokumenthantering? Med dokumentering menar jag i stort sett samma sak som wikipedias definition, dvs [...]

    Lars Blixt

  • 2011-04-01

    One of the cons of O/R mapping is that the abstraction is a bit too high. You write object-oriented code and often forget about eventual performance problems. Take this (somewhat naive) example: For a given customer, we iterate over all the orders and all the details in those orders and calculate the sum of quantity multiplied [...]

    Roger Alsing

  • 2011-03-18

    I have blogged about this for quite a while now. Now I’ve finally cleaned up the code and published it at github:https://github.com/rogeralsing/Precio.Infrastructure This is a small framework for UoW/Workspace support in .NET with Linq support. The framework contains a Unit of Work implementation and providers for Entity Framework 4, NHibernate and MongoDB(using NoRM). There is [...]

    Roger Alsing

  • 2011-03-02

    An early alpha of Linq to SqlXml is now available on github: https://github.com/calyptus/linq-to-sqlxml There is no documentation nor setup scripts so you’re on your own if you try it. If you get it to run, be sure to add all indexes to the xml field – primary , secondary – path , secondary – value [...]

    Roger Alsing

  • 2011-03-02

    I’ve managed to add projection support to my Linq to Sql Server Xml column implementation. Executing this Linq query: Will yeild this Sql + XQuery:

    Roger Alsing

  • 2011-02-28

    I’m hacking along on my Document DB emulator ontop of Sql Server XML columns. I have some decent Linq support in place now. The following query: will yield the following Sql + XQuery to the Sql Server:

    Roger Alsing