All 2 Mp3

I for the first time in my life downloaded a little tool, loved it and payed for it. The name of the tool (and site is): All To MP3 Converter This tool lets you convert different music formats from and to each other. This is as easy as to right click a file and choose convert. There is also a nice little GUI that does the same thing but lets you decide more details. It opened up about 100 WMA-files that i could listen to since i am using [RockBox](http://www.rockbox.org/) on my H320 IRiver
Read More

Abbe - growing and growing

Albert (or Abbe for short) is growing and in equal parts impressing and driving us mad. This morning we’ve got the first ever laugh (a very short burst of: hehehe) which was very rewarding. We’re not quite sure on what we did to make him laugh but he has been in a excellent mood all weekend, so we’ll keep trying sounds and sights and see if the laugh can be lured out of him again. Above are some recent photos. I haven’t been able to catch a smile yet - but i am looking… watch this space
Read More

Great new euphonium work

Steven Mead has premiered a new work for euphonium and symphony orchestra that seems to become a classic. You can read about it here and also download it (1, 2 and 3 movements) and hear some contemporary euphonium playing at its best. I am humbled and will stay in my “neighbourhood” (Salvation Army music, Brass Band) for quite some time. It would be great fun to try something a bit easier with symphony orchestra… Thank you Steven - very, very good indeed.
Read More

Great project started

OK - this last two weeks has been intense. I’ve started a new project at my customer and it is wild; i am Scrum master (nothing new there;) it’s the only way to fly) in a pilot project to create a true [SOA](http://en.wikipedia.org/wiki/Service-oriented_architecture) (Service Oriented Architecture) at my customer (a big Swedish insurance company). I am very humbled by the magnitude of the project and where this can take us… At the same time it is so fun; we get to set stuff about the technology (SOA, WCF, Visual Studio 2008, TDD - the works) that i didn’t dream of just a few months back. Also it is great to see the true use of SCRUM - it is rocking, as it of course would. But it has come to my attention that readers of the blog are missing some personal comments on non-IT stuff. This is trademark Marcus Hammarberg...
Read More

TFS, Add solution to Source Control and some trouble along the way

OK - this is a question that keeps coming back to me. Again and again. When you add a solution to Source Control in Team Foundation Server (TFS) for the first time there are several ways with their respectively pros and cons. This is how i do it: ith Source Control - create a folder hiearchy that is applicable for your project. Say for example $\[ProjectName]\[SolutionName]\[Branch]. For example $\SakDotNet\BrevMallar\Main ow open the solution in Visual Studio igh-click the solution and choose Add Solution to Source control… (Note! If you don’t see that choice in the menu see below) se Source Control and Add file(s) for any additional files that not is included in the solution (or was missed by the way…) Well - the simplest case is easy enough but if something goes wrong (as it just now did for me) there are some troubles that needs to be solved....
Read More

How to get out of syntax highlighting in VB.NET

One of the most annoying thing with VB.NET is when it tries to help you with syntax highlighting, when using snippets. You know; you type “property” hit TAB and then the property is created for you. The things that you needs to “fill out” is highlighted with some scary green color (see picture above). In Vis After the snippet is filled out position the cursor after end property Hit ENTER The green coloring is gone If anyone know how to do this in Visual Studio 2005 i would love to know. I’ll buy you a cup of coffee at Lansforsakringar, level 4. I promise
Read More

Real answer - Type typename is not CLS-compliant, interface, tests and dependency injection

The previous post about CLS-compliant classes is right in a way but the real answer lies in that when you create a test project with Visual Studio, the created Assembly is marked as CLS-compliant. This is done in the AssemblyInfo.vb (or .cs depending on your choice). I am not quite sure on why this is done but can imagine that it has to do with that the test project wants to be open for calls on all lot of different classes and components. However in our case we only had to remove the CLSCompliant(true) from the AssemblyInfo.vb-file and everything was back to normal.
Read More

Type typename is not CLS-compliant, interface, tests and dependency injection

OK - here is a strange one… [UPDATE ON THIS POST - SEE http://www.marcusoft.net/2008/03/real-answere-type-typename-is-not-cls.html] We are using dependency injection to be able to inject mocked version of classes that the class we’re testing is using…. (oh, my god - requires another blog-post i think… i’ll get back). So the first thing we did was to extract interfaces for all the methods the implementation is using. So far so good. But when i mocked the implement ion of the interface we got a quite strange warning: Type ‘KodBenamning’ is not CLS-compliant. Apparently this occurs when a type is referenced by an interface (as parameter or return type) AND the type is not marked with CLSCompliant(true) which, by the way is NOT default, of course…. So - the solution is to mark all your classes used by interface with CLSCompliant(true) and it will work…
Read More

Show current file in solution

Ooooh - so nice. And so easy now when i know how to do it… When you get large solutions and there are loads and loads of files in the Solution Explorer you’ll sometimes (often, in my case) get confused on where you are… I organize my projects in Solution Folders but still get quite hard to follow, especially when you are the codriver… But it turns out to be easy to solve. There is a setting in the Options-dialog of the Studio (both 2005 and 2008, luckily) that is called Track Active item in Solution Explorer. When this is checked the file you currently is watching is found and highlighted the Solution Explorer which greatly reduces confusion on where you are. The setting is found under Tools->Options->Project and Solutions->General->Track Active item in Solution Explorer
Read More

code-tag in Firefox

I’ve been rightly informed, by several people that my postings with code in it messes up my complete site when viewed on Firefox. This has to do with the following issue http://unbecominglevity.blogharbor.com/blog/_archives/2006/9/10/2312849.html Should be fixed now…
Read More