November 2006 Entries
Just my luck...

I think this is my 5th trip to Seattle this year and all has been good ... up to this one. 

What is it with people and snow? I live in Montreal and we have Snow, I mean real snow Meters of snow... and the world doesn't stop.  it goes on!

So I got to Sea-Tac at 10pm on Monday, from there going to Redmond is usually a 25min drive, it took me 3h!! there was cars littering the side of the highway, in the ditch, it was like they up and left!  The cars here are not equipped for this kind of weather, low hanging sports car just don't fare well in those conditions. 

Anyway it's actually fun to watch the news and see the reports of the weather here ... what 2 inches of snow can do ;-).

I have a few days to go still but the weather is not getting better, more flurries tonight so hopefully by Friday when I leave things will be better.

Ah the joy of winter ;-)

 

PS We don't even have snow in Montreal yet! What's up with that??

 

Cheers

ET

Team Foundation Version Control vs. VSS Get Latest on check-out

So I'd like to respond to Urig on his latest post  about the Get Latest on Check out. The reason why there isn't a get latest on check is quite simple actually. Let's look at VSS vs. TFS in the lifecycle of a change and see how both fare. Let's start with VSS

 

VSS

1. First thing in the morning, User does a get latest on all the files in the project and compiles to make sure the build is not broken.

2. User does a check-out on the file he wants to work with (and get's the latest of that one file).

3. User keeps working and in the afternoon checks-out a new file (and get's the latest of that one file).

- Where are we know, well user as all the files as of this morning files from this morning + 2 files (newer if they were modified by others during the day).  What does that mean? Well if the 2 files he checked out during the day where modified by others and those files depend on other files well he doesn't have those other dependency, only the 2 files the checked-out did the get latest operation.

This causes "working folders" to be out of sync unless you do a get latest all the time on all the files (and ask it to keep your local changed or checked-out copy alone).  Now lets look at TFS

 

TFS

1. Fist thing in the morning, User does a get latest on all the files in the project and compiles to make sure the build is not broken.

2. User does a check-out on the file he wants to work with (and does not get the latest version of it, only a RW version)

3. User keeps working and in the afternoon checks-out a new file (and does not get the latest version of it only a RW version)

- Where are we now, well we are in a much better place that VSS, now our "workspace" is in the same state as of the morning + we have only our changes to deal with (not others changes that might have been brought down by a 'get latest').

 

Now lets look at the check-in experience,

VSS

1. User now has made his changes and wants to check-in, first he does a get latest and makes sure his file is not overwritten with the latest version controlled one.

2. Build (and run test, etc)

3. If step 2 succeeds, he checks in (One file at a time in sequence, this can cause a whole lot of pain which I'll discuss after).

- So this is pretty simple (as long as you don't have problem or overwrite your changes).

 

TFS

1. User now has make his change and is ready to check-in, first he does a get latest.  This is where the rubber hits the road in TFS, all files that where changed (not be the user) come down, all files changed only by the user are not touched, all file modified by the user and others will need to be merged.  Now you might say, OMG merging that's bad it never worked in VSS. Well it works great in TFS and that way multiple people can work on a file and not have to wait for the exclusive lock (in VSS) to be released in order to do their change.

2. Build (and run test, etc)

3. If step 2 succeeds, he checks in (as an atomic operation all files go in or none)

- Now this is in my opinion a much better approach since it lets people work efficiently and you deal with merging and conflicts only once when you are ready to check-in.  Also in VSS since the check-in is not atomic, if you loose the network, or the operation fails for some reason in the middle of the check-in then other will have half your changes when they are getting latest, or if someone is doing a get latest as you are checking-in they only get a partial latest.  In TFS, since it's an atomic operation, it's all in or nothing.  So when people do a get latest they get the whole latest.

 

I hope this explains a bit of the mechanisms and why it's working this way.  I may be changed in the next release, but they will probably do a "get latest of all files in the workspace" on check-out (not just that one file) so that the whole workspace is in sync but I speculate.

 

Cheers,

ET

Technorati tags: vsts

It's official now we have a new OS to deal with!

http://www.microsoft.com/presspass/features/2006/nov06/11-08VistaRTM.mspx

 

Can't wait to install the final build and not have to flatten every other week.  Great job Microsoft.  This is going to be a great OS.

Cheers,

ET

Visual Studio Team System Chat - Wed, Nov 8th

Join members of the Visual Studio Team System product group to discuss features available in Visual Studio Team Foundation Server, Team Editions for Architects, Developers, Database Pros, and Testers. In addition, discuss what's new in the latest Community Technology Preview (CTP).

Join the chat on Wednesday, November 8th, 2006 from 10:00am - 11:00am Pacific Time.

Add to Calendar

Additional Time Zones

 

Cheers,

ET

Comments should now work

It was brought to my attention last night (Thanks Laurent) that no one could leave comments on my blog posts.  I was having the same problem myself trying to answer people but figured it was my build of vista or some glitch.  Well it was actually the little bit of JavaScript that the technorati folks want us to add to our blog that was causing the issue.  I may not know where to actually put that block and ended up blocking the comment by disabling the postback of the save comment button.  Anyway it's fixed now.  So please, if you wanted to leave me any feedback on my previous post (since that technorati post) feel free to contribute now.  Sorry about that

 

Cheers,

ET

Microsoft’s New Virtualization Program

Read all about it here

This is great news for everyone that have been installing base VMs for testing.  You now get four base (more to come I'm sure) to try out Microsoft technologies, best of all it's free (free Virtual PC, Virtual Server R2).  Get your VMs here

Don't forget when using those VMs mark them as read only and use them as differencing drives so you'll be able to build on top of them and install other things like say... Team Foundation Sever ;-).

 

Good stuff Microsoft... keep it up :-)

 

Cheers,

ET

Technorati tags: vpc

Top 10 VS 2005 Hotfix now available for download

This is great news Brian.  I know a lot of folk have been asking for this so DevDiv is coming through yet again.  I really feel you guys are listening to our dev community.

Get them here and also join up on the SP1 beta as well here

 

Very cool

ET

 

Technorati tags: vsts