Currently browsing category

Programming

Multi thread OpenGL and QtQuick

I quite like QtQuick even though there are elements of it that can be a little tedious at times. I’ll put that down to being a very young tool that needs some refinements, and some useful libraries to go with it. The biggest win for me though is how nicely …

Getting to grips with QML

In case you haven’t noticed QML is the big thing to come from Qt and it is being integrated into KDE plasma, BlackBerry, new Ubuntu mobile OS, etc. So, I figured I would give building some UI a go with it. Given how much I suck at UI design I …

Creating VMs

I’ve been working on packaging our application, which has been a bit of a nightmare since we want to package some extra third-party libraries with it and finding the dependencies is proving interesting. Testing the package is also a bit of challenge. If I install the package on my machine, …

Testing madness

In general I’m not really a fan of test driven development. Even in most cases I think unit tests are a waste of time. Too often they become a chore that you quickly bang out some basic tests, and then for the rest of their lifetime they are a pain …

Data pipeline

Interesting couple of days working on trying to introduce a clear distinction between generating data and actually displaying it in a legacy framework. Really helps to affirm the idea that a rendering engine should be treated as a pipeline. The idea is called data oriented programming andand is distinct from …

Nifty iterators

Couple of different ways of iterating over collections: The long way With template functions c++11 lambdas Or just over a collection Of these, the first one frustrates me sometimes since you need to know what type of collection you’re iterating over. Thankfully c++11 introduced type inference with the auto keyword. …