Tags
ajax ant apache asp.net Automation blogging capistrano compact framework continuous integration cruisecontrol csharp database DOJO-Toolkit dsl erlang exercises firefox functional programming grails groovy hibernate hql HTML Java JSON Life mock-objects msbuild nunit ObjectBuilder oracle orm performance rails rest ruby-on-rails software-development spam sql subversion validation version-control WebDAV windows-mobile WordPress xmlAds
Archives
Category Archives: Code
Using Ruby Subversion Bindings to Create Repositories
Subversion has a default Web UI that is served up by Apache if you run Subversion that way. It is pretty boring and read-only. Then there are things like WebSVN that make it less boring, but still read-only. I got … Continue reading
DRY your CruiseControl.NET Configuration
Don’t Repeat Yourself (DRY) is one of the principles of good software development. The idea is that there should ideally be one and only one “source of knowledge” for a particular fact or calculation in a system. Basically it comes … Continue reading
StringBuilder and my Biggest Pet Peeve
What You Should Know About Strings In both Java and .NET (and other languages) String objects are immutable. They don’t change. Period. If you “change” a String, it creates a new String. That includes String concatenation using a + // … Continue reading
MSBuild Task for PartCover
<![Rant[ I continue to lament the dearth of option for Test Coverage in the .NET world. In the Java world you have open source tools like Emma and Cobertura that are widely used and supported (and many more) as well … Continue reading
Tracking Project Metrics
How do you track the health of your software projects? Ideally you could come up with few, easy to collect metrics and have your Continuous Integration system generate the information and maybe even graph it over time. What we track … Continue reading
Register and Unregister COM DLL from .NET Code
Background The command regsvr32 is used to register a native, unmanaged code DLL so that it is available via COM. With a registered DLL you can use COM Interop to call that code from .NET Managed code. Regsvr32 is unmanaged … Continue reading
Windows Subversion Maintenance Scripts
Previously I wrote about the Subversion Maintenance Scripts that I use for doing things like backups and upgrades. They were bash shell scripts that automated dealing with multiple Subversion repositories. The secret was that those guys were being run using … Continue reading
Swapping Values Without a Temp Variable
It’s been a long time since I’ve done any C programming (the only C I ever really did was in school 10+ years ago) and I’ve never done it outside of school. I figure since I look at and study … Continue reading
Scheme/HtDP Unit Testing Functions
How to Design Programs (HtDP) provides a series of unit testing functions that allow you to test the output of any kind of function. The current version talks about testing your code, but doesn’t offer a lot of guidance into … Continue reading
Studying HtDP
I haven’t posted in a while, but I’ve recently been studying How to Design Programs (HtDP). It’s really a book about teaching beginners how to program by following a series of recipes that tell you how to identify and solve … Continue reading