Things I don’t like about TFS Source Control

16. February 2011 Uncategorized 0
I’ve been using TFS at work for about the past 8 months.  Prior to that, I’ve used other source controls such as Seapine’s Surround SCM, Visual Source Safe, and Git. I’ve used Surround and VSS in production environments, and Git for personal projects. So far, here are some areas that I think TFS is lacking ...

Visual Studio – Test fails when run, but not debug

02. February 2011 Uncategorized 0
I’ve been working on some tests today, nothing super fancy, just some basic null tests. I originally had the following code: if(actualEmployeeSize != null) l.EmployeeSize = actualEmployeeSize.Parse(default(int)); All I wanted to do was write 3 tests: Test if actualEmployeeSize is null, then l.EmployeeSize should be 0 If actualEmployeeSize can’t parse, then l.EmployeeSize should be 0 ...

Best Piece of Debugging Advice

02. February 2011 Uncategorized 0
The best advice I ever got for debugging came from my grandma. She never got on the internet. She never wrote a computer program, and to the best of my knowledge never touched a computer. About the closest she ever got was when she’d come visit, the guest bed was about 7 feet away from ...

EF Code First – Be careful how you define keys

25. January 2011 Uncategorized 0
Today I was working on a project that is using EF Code First for its DAL. I was moving records from one database to another, and there was one table in particular that I needed to update that had a compound key (GroupId and LeadId.) I created the object and then went into model builder ...

New Javascript Assertion Library

19. January 2011 Uncategorized 0
A coworker of mine has created a great new assertion library for Javascript based on the the .NET Should library.

Nuget “minVersion” attribute error

07. January 2011 Uncategorized 0
I just got moved to a new project, and as part of one of my first tasks I needed to add an assembly to the project.  I knew we had done some Nuget packages so I right clicked on my project and chose “Add Library Package Reference” When I clicked on this, after about 3 ...

Bible Reading ICal

06. January 2011 Uncategorized 0
I’m going to take a break from my normal tech blogs to post this. I’ve created an iCal file for reading the entire Bible in one year.  It’s based on Discipleship Journal’s Bible reading plan. First things first, here is the iCal file. You should be able to import it into any iCal capable calendar ...

Be careful when moving lines of code

22. December 2010 Uncategorized 0
Going from do { }while (x == true); to while(x == true) { } Should simply change it from always executing the first time, to only when the condition is true. However, going to while(x == true); { } will create an endless loop (notice the semicolon)

Chrome OS Cr-48 — First Impressions

21. December 2010 Uncategorized 0
A couple weeks ago I was on the Google Pilot website There was a form to fill out if you wanted to be part of the Chrome OS pilot project.  My first thought was “Hey, free laptop… let me fill that out.”  I honestly wasn’t thinking more than that.  I am a bit of a ...

Blackberry and the mysterious “verification error”

17. October 2010 Uncategorized 0
I’ve been working on a Blackberry project for the past few months.  I enjoy the challenge of learning a new language (J2me) and some new approaches.  Sometimes, however, I get stuck in a rut because I’m not used to the tools and language. The last week has been an example of this.  I had some ...