« August 2004 | September 2004 Archives | October 2004 »

Code coverage and testing

| 0 Comments
Recently I mentioned that we were in the process of adding additional tests to our code base. We'd been using JITT to reduce the number of tests that we wrote and now it was time to fill in some of the gaps. This week I started to use some code coverage tools to see how well we were doing with our tests...…

NFOFY JTDPN are the victim of spamy morons

| 5 Comments
[Updated:15th October - Original domain name hidden with a simple caesar cipher to stop them getting bad press via search engines...] [Updated: 6th September - It seems "NFOFY JT" were possibly the victim of a vindictive ex employee and that they didn't originate or approve of any of the recent comment spam in their name.] See comment on this entry from Jacob Jones. NFOFY JTDPN is a professional web design and consulting company for businesses, schools, churches, non-profits, and individuals. We provide full internet services to clients who are serious about having a successful online presence. Our services includes but…

LoadLibrary error

| 4 Comments
I need to dynamically load a dll, grab some function pointers and do stuff; simple stuff, done it 100s of times before. I decide that this time I'll wrap the HMODULE that I'll need in a class to make sure I can never forget to call FreeLibrary() on it - RAII is your friend. It's Sunday, I'm feeling righteous so I'm doing it in a TDD style. I write some tests, load a dll, load a bad dll to check error handling, load a dll that doesn't exist... So, what do you expect happens when you call LoadLibrary() on a…

WTF?

| 0 Comments
Ah, a place to keep all that bad code... The Daily WTF From Barry…
I've been splunking around Dll loading recently for a pet project. It's been an interesting journey and this evening I solved the final piece of the puzzle and, when I did, I suddenly wondered, not for the first time, why Windows holds the loader lock when calling DllMain()...…

They're learning

| 0 Comments
I'm back with the guys on the refactoring project for a couple of days. I got to my desk, updated my CVS tree and started to check my email. The first mail was from the boss man of the team; "I fixed a bug in the FX code earlier in the week, we need to write a test for it so it doesn't happen again", followed by "by the way, this time all the tests still run, I checked them all myself on Monday". This is considerably better than last time I visited them.…

The good thing about blogging is

| 0 Comments
It makes you think. I find that when I've done a brain dump post like last night's "loader lock" posting, all of the issues are fresh in my mind. Posting just before bed means that by the time I wake up I've usually come up with lots of new ideas about the thing I just posted about...…

How hand overs become hand offs

| 2 Comments
Being a consultant, I find that the start up and shut down of projects are usually the most stressful times. Start up is all about "hitting the ground running", learning lots of stuff really fast and making a good impression. Shut down is all about hand over. Shut down is the hardest because you need the cooperation of the people you're handing over to. Whilst you can pretty much deal with any issues during the start up phase just by digging deeper or working harder a hand over with no cooperation just becomes a hand off.…

Red sky in the morning

| 1 Comment
Looks like it's going to rain today...…

Yup, that's where the value is

| 0 Comments
Mats writes about how he finally got unit testing by realising that the value comes not when all your tests pass and you feel happy but when one of your tests fails and you feel sad...…

Could someone please

| 0 Comments
Could someone please write a Java based estimating package? I really want to be able to able to turn to a manager and say, with a straight face, that all of my estimates were done in JEst... Sorry, it's been a long day.…

Harvest for reuse

| 0 Comments
Jeff Atwood writes about the the delusion of reuse where he warns of the extra effort that's really required when writing for reuse: "I believe writing a truly reusable class is an order of magnitude harder than writing a single use class."…

Tests as tours

| 2 Comments
I've discovered something quite amazing this week; something quite simple that shouldn't really have been much of a surprise, but it was. If you have a substantial set of unit tests then you can use them as the backdrop for documentation that tours the code base in a controlled and manageable way. Kinda like a sing-along, the reader can be directed through several key tests in a debugger whilst the document describes what's going on and reasoning behind some of design decisions.…

Back from Saas-Fee - 2004

| 0 Comments
We've just got back from a week of early season ski training in Saas-Fee. We went with the Warren Smith Ski Academy, again, and had a great time. The weather (wind mainly) meant that we didn't ski as much as we'd hoped, but it was still a very good trip. I'll write a report later, for now, just holiday snaps...…
« August 2004 | September 2004 Archives | October 2004 »

About this Archive

This page is an archive of entries from September 2004 listed from newest to oldest.

August 2004 is the previous archive.

October 2004 is the next archive.

I usually write about C++ development on Windows platforms, but I often ramble on about other less technical stuff...

Find recent content on the main index or look in the archives to find all content.

I have other blogs...

Subscribe to feed The Server Framework - high performance server development
Subscribe to feed Lock Explorer - deadlock detection and multi-threaded performance tools
Subscribe to feed l'Hexapod - embedded electronics and robotics
Subscribe to feed MegèveSki - skiing