« April 2004 | May 2004 Archives | June 2004 »

Blog's a year old

| 1 Comment
Been a busy week, I meant to post this on The Day. I've been writing this stuff for just over a year now. I didn't really know what to expect when I started, I just wanted a place to ramble on about this and that. During the year I've learned a few things about blogging....…
I'm currently re-reading The Mythical Man Month 20th Aniversay Edition and I've just finished watching Apocolypse Now Redux. Both seem to have as much to say now about their respective subjects as they did in the day. Brooks' treatment of the "Joys" and "Woes" of The Craft as poignant as Coppola's tale of the lies and horror of war.…

The perils of premature "re-use"

| 0 Comments
Back in January I was writing a TCP/IP server for a client that acted as a connection gateway. Just as this project was coming to an end we started on another project which, at first, seemed quite similar; it was a TCP/IP server that provided gateway services. Just as we were starting out with this new project I made a fairly stupid decision and, well, four months later I've almost finished cleaning things up...…

Skate weekend

| 0 Comments
We managed to get in two skate sessions this weekend, which was nice. The weather was lovely and on Saturday we spent some time at Kensington Gardens. This was our third skate this year and we finally started to feel we'd got our legs back. On Sunday we were in Ilford, visiting my family, and just happened to have the skate gear in the car... We skated in Valentines Park for an hour or so; it was good. The path surfaces were pretty reasonable, better, in general, than Victoria Park. There was quite a lot of variety in paths, with…
I was discussing the performance of The Server Framework with someone the other day and realised that there was a reasonably easy way to speed up some types of servers. I coded a first cut of the solution last night and, so far, it shows a small, but noticeable performance gain for no changes to functionality or code outside of the framework.…

Practical Testing

| 0 Comments | 1 TrackBack
One of the common complaints about TDD and unit testing that I see is that the examples used aren't real. People often say that the examples used are toys and that writing such tests adds little or no value. To be honest, I often find myself agreeing with them. One of the problems of adding unit tests to an existing code-base or driving a new project with TDD is deciding exactly where to spend your testing efforts. This is more of an issue when adding tests to existing code as I personally find that the safety of TDD on new…

Practical Testing: 1 - Introduction

| 2 Comments | 1 TrackBack
I'm writing some blog entries that show how to write tests for non trivial pieces of code. This is part 1.…

Practical Testing: 2 - The first test

| 0 Comments
I'm writing some blog entries that show how to write tests for non trivial pieces of code. This is part 2.…

Monday Mornings

| 0 Comments | 1 TrackBack
Tell me about it. This morning I was shaving and thinking how I was actually early enough to be able to walk to Bank Tube station rather than jumping on the tube at Old Street. It looked like a nice morning and I had lots of plans for the code I was going to write today. It's a busy week, and I had spent an hour or so late on Sunday making sure I was in a position to hit the ground running.…
I'm writing some blog entries that show how to write tests for non trivial pieces of code. This is part 3.…

Practical Testing: 4 - Taking control of time

| 5 Comments
I'm writing some blog entries that show how to write tests for non trivial pieces of code. This is part 4.…

Mythical Man Month

| 1 Comment
I finished re-reading the Mythical Man Month today. It was a good read, and, just as when I read it just after the 20th anniversary edition came out, still very relevant to software development today. I found Brooks' enthusiasm and attitude to be quite compelling; it's so obvious that he loves his work. This quote from the epilogue sums it up and reminds me not to be so grouchy; "To only a fraction of the human race does God give the privilege of earning one's bread doing what one would have gladly pursued free, for passion. I am very thankful."…
I'm writing some blog entries that show how to write tests for non trivial pieces of code. This is part 5; the one where we find a bug we weren't expecting...…

Back with the refactoring project

| 0 Comments
I spent a little time with the guys on the refactoring project last week. Of course, as is the way, pressure from the business for more functionality has reduced the amount of clean up work that they've been able to do. The good news is that the builds are still repeatable and most of the tests pass. The bad news is only most of the tests pass.…

Practical Testing: 6 - Tests refactored

| 0 Comments
Previously on Practical Testing: The last entry ended with us having two tests, both of which were in need to a good refactoring. The second test had uncovered an unexpected bug... This time around we'll refactor the tests, fix the bug and finally write the test for the tick count wrap bug...…

Testing shouldn't be that hard

| 0 Comments
Yesterday's Practical Testing post was a bit of a mammoth testing exercise. The threaded nature of the component under test makes testing it harder than you'd think; and this is just a single worker thread that we have to worry about. The thing is, I expect that the component would have been designed slightly differently if it had been developed test first; using TDD, or even with just in time testing, (JITT?)...…
OK, so who was the bright spark that decided that when I click on a folder at the root level of a drive Explorer goes off and scans the entire folder tree from that point down before expanding the one folder I'm interested in? More importantly, can I turn it off? Surely the most you really need to do when I click on I:\Blah is list the files and directories in Blah and do a lazy directory content check in the background to see if you need to put a + next to any of the directories in Blah... At…
« April 2004 | May 2004 Archives | June 2004 »

About this Archive

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

April 2004 is the previous archive.

June 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