digital Utopia

'Programming' Category Archives

Evolution of code

Published by . Filed under C++, Programming. Total of no comments in the discussion.

A few years ago I worked on a project for a company that used a base64 class to encode a binary object into xml.  It was a class in that loosest of senses it being a simple wrapper around a pair of static C functions.  In fact it also made some assumptions which was painfully […]

Read More...

Improving Legacy Code

Published by . Filed under C++, Programming, Work. Total of 1 comment in the discussion.

My suggestions to a client on improving their legacy code. Initially: Move all source code from VSS into TFS. Ensure all code needed to compile is within the workspace. Ensure all dependencies are correct so compilation of any one module will automatically compile needed dependencies for that module. Add UnitTest++ (or CppUnit – whatever floats […]

Read More...

Long time…

Published by . Filed under Life, Misc. Total of 2 comments in the discussion.

It has been a long time since I posted. Mainly due to work and a lack of excitement to write about. I am writing this on my HTC Desire phone which less than 24 hours ago deleted all my text messages, some 6,000 in total. Most were boring ‘What time will you be home?’ type […]

Read More...

Crowd source pavements

Published by . Filed under Leisure, Life, Misc. Total of no comments in the discussion.

Just looking at where Google would have me walk to get to a local dry cleaners. It’s literally across the bridge an turn right and that isn’t taking into account turning off early and heading across the park. Surely some enterprising Googler could add a feature where pavements and cycle paths could be manually added […]

Read More...

Object of desire

Published by . Filed under Life, Misc. Total of no comments in the discussion.

This post and the one that came previously, were written on my HTC Desire. The WordPress app will allow me to write posts as and when they occur to me instead of what happens now which is they occur to me but are forgotten as I am not near a keyboard at the time. A […]

Read More...

C++ and Maven sitting in a tree

Published by . Filed under C++, Life, Programming, Work. Total of no comments in the discussion.

…but they definitely were not K-I-S-S-I-N-G. In fact they weren’t even holding hands. As a test at work for a new project I was asked to look at using Maven, which is currently being used to great effect by the Java programmers, with C++. A new project has arisen that requires proof that there is […]

Read More...

Creating directories

Published by . Filed under C++, Life, Work. Total of no comments in the discussion.

I recently had a problem at work where an application failed if the user tried to use UNC paths in a application that was ran as a service. This service was written in C# that called into C DLL. Not only that, but the DLL was written in VC6. So after confirming I could recreate […]

Read More...

Resize a VirtualPC disk

Published by . Filed under Life, Misc, Programming. Total of no comments in the discussion.

My 10GB disk on my VirtualPC was nearly full to overflowing so I went looking on how to resize the virtual disk. There’s a free product that does this for you, but to quote an old song “I waved that thing all over the place, my boomrang won’t come back”. In fact I was using […]

Read More...