« July 2003 | August 2003 Archives | September 2003 »

FX refactoring

| 0 Comments
Bleugh! You are lost in a maze of crapy code, all alike (and much of it copy and pasted!). The last few days have been deep in the heart of darkness. Gently teasing the business logic and the display logic of the FX code apart so that we might one day be able to write tests for the business logic.…

The Black Stuff

| 0 Comments
We had a busy weekend. Michelle's brother Chris married Hilary in Dublin. Good fun was had by all and it was a wonderful few days. The wedding was in Castleknock and the reception was at The Four Seasons in Ballsbridge. It was a bit of a shock to have to come back home; I could quite happilly have stayed on a few days longer at the Four Seasons and spent the time drinking Guinness and watching the world go by...…

Skate Adicts

| 0 Comments
We couldn't skate last weekend as we were in Dublin at the wedding. This weekend was going to be really hot in London (35C+) which isn't ideal skating weather. We decided to get up a bit early and skate before it got too hot... So we both saw 7.30am on a Sunday morning for the first time in a long time and skated before it got too hot at Hyde Park. It was still pretty warm, but not too bad and it was very quiet which made skating along by the Serpentine very pleasant.…

The first FX test

| 0 Comments
On Friday we got to the point where the FX buiness logic code was suitably decoupled from the display logic that we could write our first test for the business logic. In the words of Homer Simpson, "Woo hoo!".…

Here comes the snow...

| 0 Comments
So, it's been 35c here in London for the last week and, strangely, my thoughts have turned to snow... We're off to Saas Fee in September and I'm starting to do the 'check the resort web cam daily' thing. Having never skiied in Europe this early in the season it's a bit nerve wracking. Still, Saas Fee has a good glacier and they are used to this kind of thing; so, finger's crossed. We're doing a course with Warren Smith's Ski Academy. Should be fun. The write up here has got me itching to get out there... I wonder if…

You'll tick when I say so and not before!

| 0 Comments
Today we wrote some complicated FX business logic tests. Things like making sure that the FX library can calculate a EURUSDCAD 1M rate - it can; or a USDCAD ON rate - it can't and nobody had spotted the fact that it was out because it's way down in the 0.00001's of the rate.…
I was working for my poker game client yesterday. This project now seems to be firmly test first. What was interesting with yesterday's work was how the tests drove the design and how when I finally came to integrate the tested code into the main body of code the required design changes weren't an issue as I had a whole load of tests to support the changes.…

FogBUGZ

| 0 Comments
We're approaching the end of this phase of the poker game project. The client has started reporting lots of little things that don't quite work how he'd like them to. Some are bugs, most are feature requests, either way there's suddenly more of them than I'm comfortable managing with lists on paper and email trails. I decided that I needed a proper way to track these things. I looked at Bugzilla but it looked like I had to invest thinking time in it; I looked at FogBUGZ and it didn't. I bought FogBUGZ early in the week and it installed…

FX Testing

| 0 Comments
By Friday our FX test harness was pretty much complete. We had coverage for all the nasty special cases that had caused us problems in the last few weeks. They were the hard things to write tests for so we wrote those tests first. If we can these these things we can test pretty much all of the FX engine's functionality. Now we just need to add back the functionality we removed when we were chainsawing the FX code out of the GUI code. Once that's done we'll merge this branch back into the main tree and test and release…

Art - by Catherine Purves

| 0 Comments
We first saw Catherine Purves' work at a Hoxton art show, both of us loved the colour and texture of the pieces. We saw more of her work whilst visiting other local art shows but none of the pieces were quite right for the spaces that we had. Eventually we decided to commission her to produce something to our specifications of size and colour. More pictures on the flat web site.…

Decoupling the FX GUI

| 0 Comments
The rates engine was now easy to test but the interaction between the engine and the user wasn't. This was unfortunate as the interaction is reasonably complex. We hadn't built and tests for any of the GUI code yet, last week we fixed that...…

You can lead a horse to water...

| 2 Comments
Although the other developers on the refactoring project agree that the code needs to be made better sometimes they don't seem to bother to make changes in a way that improves things... This week a major new piece of functionality was completed. I helped with merging the branch back onto main and started to sort out the release; then I realised none of the test harnesses compiled anymore...…
« July 2003 | August 2003 Archives | September 2003 »

About this Archive

This page is an archive of entries from August 2003 listed from newest to oldest.

July 2003 is the previous archive.

September 2003 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