Category Archives: Uncategorized

Real Time graphing

Real Time graphing Techniques for displaying real time graphs of data that update at 100Hz.

Posted in Uncategorized | Leave a comment

Into the Cloud

For nearly a decade now I have been developing high performance, elegant windows desktop applications. In the meantime the rest of the world as been moving ‘into the cloud’. Such web applications were once sluggish and clunky, but the simplicity … Continue reading

Posted in Uncategorized | 1 Comment

Stackoverflow Reputation

I have just reached 4,000 reputation points on stackoverflow – the coding question and answer site It took three years. Since one person upvoting an answer gives 10 points, this implies that on average someone liked one of my answers … Continue reading

Posted in Uncategorized | 1 Comment

Dilemma

When people co-operate, things usually turn out well. If no-one co-operates, then everyone usually suffers. So the game plan is obvious, right? Wrong! If everyone else is co-operating, then some clever fellow will come along and take advantage. So now … Continue reading

Posted in Uncategorized | 2 Comments

Database, tell me a little about yourself

Databases start off small.  Perhaps just a couple of tables with a few dozen columns.  What could be simpler or more obvious?  Then someone adds a feature or five, a few configuration options, ports the application to a new platform, … Continue reading

Posted in Uncategorized | Leave a comment

No to noncompete clauses

I never sign contracts that contain noncompete clauses. A noncompete contract prevents employees or consultants from working for a competitor to their employer or client for a period, often as long as two years, after the employment or contract ends.  … Continue reading

Posted in Uncategorized | 1 Comment

Designing a thread-safe copyable class

The straightforward way to make a class threadsafe is to add a mutex attribute and lock the mutex in the accessor methods The problem is that this makes the class non-copyable. This is important, especially if you want to store … Continue reading

Posted in Uncategorized | Leave a comment

In or Out?

Is a point in two dimensions inside or outside a polygon? Theoretically this question is dead simple. Start at the point and draw a line parallel to the x-axis and continue until you reach infinity ( or as near to … Continue reading

Posted in Uncategorized | Leave a comment

Configuration Management

Coders really prefer to re-invent the wheel.  They know they shouldn’t,  because there is so much really useful, complete and tested open source code available, but it always turns into a tedious hassle integrating other people’s code with your own. … Continue reading

Posted in Uncategorized | Leave a comment

Unit Testing

A Software Quality Assurance Process must be simple and fast, otherwise it will not be used. Nowehere is this more true than in unit testing and test driven development. The ideal is to write the tests before the code, which … Continue reading

Posted in Uncategorized | 1 Comment