This was one of the first projects I did for United Shore. It is an application where brokers who work for shore are ranked according to the amount and quality of the loans they deliver to Shore. Based on their ranking they receive varying compensation. It was a standard C# .Net MVC application with embedded SSRS for the reporting.
The Line-Side display was used to quickly display conformance to defined tolerances to assembly line workers. It consisted of two seperate programs; the Data Manager and the Graphical Annunciation Screen. The Data Manager received data from vision Gauges via OPC messages. It then sent that value and the current tolerances for the point to the Graphical Annunciator via Microsoft Message Queue. The Annuncuator then displayed the setting as red / Yellow / Green depending on how close the measurements was to the ideal value.
I have run across this problem often enough that it deserves to be written down. It seems that whenever SVN is interrupred during an update, even if you did it on purpose by hitting the “Cancel” button, it leaves your working copy in a unusable state. If you try and do the update, you get an error message that says the working copy is already locked, and looks something like this:
And if you then try and do a cleanup, you get essentially the same error:
So basically, you’re stuck. The solution to this that has always worked for me is to go to the highest level parent directory, in this case c:\dev, and do the cleanup on that directory. It can take a while if you have a lot of stuff in there, but that has always resolved the problem for me.
OK – I have always been a little lax in applying design patterns to my code. I know all the advantages of building on the backs of those who came before, but frankly my solutions were pretty good themselves. Having been a developer for quite some time I have internalized the most common patterns, so never really felt the need to do a systematic review of what is out there.
However recently I picked up the book Professional ASP.Net Design Patterns by Scott Miller and my opinion has done a 180. There are so many easily reusable solutions in this book I can’t wait to find problems to apply them to. Another excellent reference is Head First Design Patterns: A Brain-Friendly Guide. Both books are highly recommended.