String formatting tips for C#
Handy guide that I've perused once or twice for tips on formatting strings in C#.
String Formatting in C#
Michael Hall's Weblog
Handy guide that I've perused once or twice for tips on formatting strings in C#.
String Formatting in C#
Posted byMDH at Thursday, July 26, 2007 0comments
Labels: .net, c#, formatting, strings
A wealth of useful BizTalk 2004 information can be found at Gille's WebLog.
Another good resource that takes one of Gille's posts even further and demonstrates how to unit test a mapper.Automated Build & DeploymentPosted byMDH at Thursday, July 26, 2007 0comments
Labels: biztalk, tdd, unit testing
There are a lot of reasons typically given for software projects failing, poor management, lack of requirements, and lack (or excess) of talent are common reasons I've heard(used) for failed projects that I've witnessed(particpated in).
Coding Horror has an excellent article that presents 3 alternative reasons that projects may fail that might not be intuitive at first.
Will My Software Project Fail?
CH presents three new pillars of successful software projects.
Posted byMDH at Thursday, July 26, 2007 0comments
Labels: agile, automation, build management, source control
Regular expressions are great. Little strings of yummy helpfulness.
Here's a little regex that can be used to trim all some or all of your trailing whitespace.:b+$
Just pass nothing for the replacement.
Posted byMDH at Monday, July 23, 2007 0comments
Labels: regular expressions
Don't stay logged into shared machines, log off when you are done. The performance overhead of multiple logged in users is bad enough when we're all working, but do we really need 4 instances of ScrnSve.exe running too? Also, if you're logged in but unavailable then managing the machine is more difficult if a reboot needs to be done or other system maintenance. And for Knuth's sake, please don't stay logged in over night.
Sure, we can't be constantly logging in and out, there are times we will be working for extended periods of time on the shared server and may be pulled away during that time. No sense in running another application whose only purpose in life is to burn cycles and render pretty pictures when no one is looking.
Posted byMDH at Monday, July 23, 2007 0comments
Labels: remote desktop
TextPad is my text-editor of choice. It's simple, fast and lightweight. Plus it supports regular expressions and wildcard searches.
When preparing a post for upload onto the site I often need to replace the leading whitespace with HTML encoded whitespace. This replacement will have to be run for leading whitespace character you wish to replace, but don't worry TextPad will let you know when there are no more replacements to be made.
Inside the TextPad Replace dialog ... (Don't copy the quote marks!)
Find what: "^\(\( \;\)*\)[[:space:]]
"
Replace with: "\1\
"
To restore the whitespaces use the follow expression.
Find what: "^\(\([[:space:]]\)*\) \;
"
Replace with: "\1
" <-- Notice that there is a single space character after the \1.
Posted byMDH at Sunday, July 22, 2007 0comments
Labels: regular expressions, textpad