Sweden in 3D

The foremost telephone number search service in Sweden, www.hitta.se , has launched a new service that displays maps of the four biggest cities in Sweden in 3D.

It is still in beta (and as such quite slow) but it’s really cool. Of course it’s a Google earth rip-off but it has a few advantages; it runs in the browser, its genuine pictures of the buildings and no models and it’s very high resolution.

Here you go - Sweden in 3D.

Read More

Creating link to TFS Reports in build script

For a few days (on and off, not continously) I’ve been searching the net for some way to present code coverage data in a nice way. That is - when our build script is running tests under code coverage we don’t present the code coverage result.

The code coverage data is located in the TRX-file generated by MSTest. And there is a great tool, trx2html, that I’ve already blogged about. But that tool doesn’t show the any code coverage result.

Here I must add that I know these two things:

  • firstly the main part of the code coverage data is only interesting to the developers and might not benefit from being shown to others. But I just want to show that 97% of our code is covered by out unit test. Calms the project management…
  • secondly - it might be a simple thing to tweak the internal...
Read More

Run as for MSI-files

I am hitting them as I go along - here is another tip that is very useful.

A .MSI-file cannot be executed under another account then the one you’re running with. There is no “Run as…” in the right-click menu for .MSI-file, in other words.

Here is the solution for Vista which works very good on XP also (I’ve tried). It is a reg-file that simply adds the “Run as …“-feature when right clicking .MSI-files

Read More

Getting dates automatic in Notepad

Just passed this “trick”. You’d think that everything that there is in notepad was known…

This is cool and could also be handy for creating a manual notebook or diary .

  1. Open a blank Notepad file
  2. Write .LOG (in uppercase) in the first line of the file, followed by Enter. Save the file and close it.
  3. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after.
  4. Type your notes and then save and close the file.
  5. Each time you open the file, Notepad repeats the process, appending the time and date to the end of the file and placing the cursor below it.

Check it out

Read More

TESTTOOLSTASK warning VSP1024 Unable to open file file for writing.

This warning occurs when doing testing with MSTest and running the test under code coverage. It is related to the warning “warning VSP2013: Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this.”

and has confused me a lot. Especially since, when running the tests in a build script, the warning seems to come and go.

No fear; the solution is quite simple (thanks to this excellent forum post); here is what you need to do:

  • Find the test configuration file you’re using for the test run under code coverage. It is usually called LocalTestRun.testrunconfig and resides in the solution root.
  • Open the file in a XML-editor
  • Find all the CodeCoverageItem-elements change (or add) the attribute instrumentInPlace from “true” to “false
  • Save and rerun -...
Read More

In Control II - Bobby McFerrin

Bobby McFerrin is known to a broader audience for the summer-hit “Don’t worry, be happy”. But that is such a little part of his work. And his real genius lies in his voice.

This guy has control, and loads of it. When I heard this clip yesterday I found myself with my mouth open through out the whole thing. And then I checked this out where he improvises over a Air by Bach. My good! He is the king!

Read More

The vacation - short recap

As I wrote earlier I’ve just spent four wonderful weeks on vacation. Great times and great feeling to do something completely different for a month.

First we went to Skåne and stayed for a week in Ystad, in this nice cottage.

Only about 1.90 m in height but it worked out alright. In the surrounding fields Elin took a Gladiator-inspired photo.

Then we went to Ängelholm at the other side of Skåne and stayed at a wonderful bed and breakfast, Galleri Grythyttan, with a very beautiful view from our bedroom window.S

Then we went to Denmark to visit my parents and sister. The Denmark visit included a short stop at Skagen where two oceans meet. Powerful stuff!

Finally back to Sweden and Hyppeln in the Gothenburg archipelago. Here we had ten super days that were all spent at the beach. Abbe took his first bath in the ocean. Loved it!

...
Read More

WCF, WSDL and differences from web services

I’m back after a four week vacation (oh yeah - us Swedes really has things going for us). More about the vacation later. First thing to learn this “season” is that the WSDL generated by WCF (Windows Communication Foundation) services differs from the one generated with ASMX web services.

The main difference is that the WSDL is generated with some kind of virtual links. That is; parts of the WSDL-file is retrieved using a different URL. For example: schemaLocation=”http://localhost:3236/Bokforing.svc?xsd=xsd0

This seems to be working fine in Visual Studio 2008 (and hopefully in 2005 also), since they are capable of navigating such references. But there are problems when you want to send the WSDL-file to someone as an attachment, or in other environment that can’t navigate such links.

Fortunally Christian Weyer has a suggestion on how to solve this. There are also some other very useful...

Read More