Torbjörn Nomell

Written by: Torbjörn NomellAgile
Scrum + Kanban = ?
I just read the mini book 'Kanban and Scrum - making the most of both', written by Henrik Kniberg and Mattias Skarin.This book is available at InfoQ.

This is a good summary of how to combine scrum and kanban. The book starts with explaining scrum and kanban and what their differences and similarities are. The second half of the books shows some real world examples.
As a developer I don't have time to spend hours of reading books on agile methods. It's hard enough to be up to date with the technique so briefs like this one are most welcome.


0 Comments
Write new comment

Written by: Torbjörn Nomell.NET
Swedish week number extension method
As Joakim Sundén states in his blog (swedish) the .NET framework calculate US week numbers. For us in europe who use ISO 8601:2000 week numbers (not UK) there is a solution proposed by Joakim to use a custom function ISOWeek. My humble contribution is to take advantage of C# 3.0 extension methods and extend DateTime with a ISOWeek method.

public static int ISOWeek(this DateTime dt)
{
    GregorianCalendar calendar =
    new
GregorianCalendar();

    int dotNetWeek = calendar.GetWeekOfYear(dt,
        CalendarWeekRule.FirstFourDayWeek,
        DayOfWeek.Monday);


    if (dotNetWeek == 53)
    {
        dotNetWeek =
        calendar.GetWeekOfYear(dt.AddDays(7),
            CalendarWeekRule.FirstFourDayWeek,
            DayOfWeek.Monday) - 1;

        if (dotNetWeek == 0)
        {
            dotNetWeek = 53;
        }
    }
    return dotNetWeek;
}



0 Comments
Write new comment

Written by: Torbjörn Nomell.NET
All possible boolean binary operators
This is just for fun.

What binary operators do we need to satisfy all combinations of results. As implied we have two operands to play with, their input could be one of four combinations (0:0, 0:1, 1:0, 1:1). These four inputs can end in 16 different output combinations. If we assume that the input of 0:1 and 1:0 should produce the same result we only have 8 possible combinations left ie. 8 possible oparators. Let the operands be named A and B:



As you can see i've named the operands above and this is all operators we need.
Well, the four last operators is just the opposite of the others so if we use the boolean unary operator (not) on those the operators we need is:

-AlwaysFalse (ie. no operator needed)
-AND
-XOR
-OR
-And the unary NOT.

Ok, no news here, but as I said, just for fun...


0 Comments
Write new comment

Written by: Torbjörn Nomell.NET
Microsoft Sommarkollo 2009
For swedish readers. During the summer Microsoft will have some seminars about their current and forthcoming techniques and products. The seminars is free of cost and is held in Stockholm, Göteborg and Malmö. Link to Microsoft Sommarkollo 2009

There is alot of seminars I'd like to attend to. For example Visual Studio 2010, Team Foundation Server 2010, Windows 7, Windows Azure or Business Intelligence but after some thinking I narrowed down my selection to Silverlight 3 (with .NET RIA Services) and ASP.NET MVC.

I just printed the Microsoft .NET RIA Services document of May 2009, and I haven't read it yet but it looks really interesting. I'm working with ASP.NET webforms using a MVP pattern in my current project and is curious about the MVC technique which would be interesting to know more about.

Hope to see you there!


0 Comments
Write new comment

Written by: Torbjörn Nomell.NET
Silverlight 3 seminar at eWork
Last night I went to a Silverlight 3 seminar at eWork held by Anders Bursjöö, dotway.
Anders started to talk about the Silverlight history in general and then proceeded with the V3 news. I've read about the V3 features (here) but it's nice to see some demos and explanations. Well, my first thought was that the 3D feature is the coolest addition, but it's all about rotating a plane, not an object.
The other features, on the other hand, shows us that Silverlight has grown to become a more mature product. I hope that the frequent releases of major versions doesn't scare off people or customers to build richer user interfaces in Silverlight, because we're done with the old html and there's no new independent technology to replace it. And as a .NET devloper it's easy to adopt this technology.

Thanks to eWork and Anders for the presentation!


0 Comments
Write new comment



TalkActive Blog - Copyright 2008 - Talkactive ApS - all rights reserved.