Blog Archives

aapt error for Android Studio on Ubuntu 13.04

While installing and trying to compile a “Hello World” program in Android Studio on Ubuntu 13.04 the following error occured: android-apt-compiler: Cannot run program “…/android-sdk-linux/platform-tools/aapt”: java.io.IOException: error=2, No such file or directory The reason is that aapt relies on some

Posted in Android, Linux, Programming, Tools

Approaches to refactoring using Gilded Rose kata

As part of our weekly hours worth of group practice we have been working on the Gilded Rose Kata. We worked with this kata for 5-6 weeks with different pairs. We found this a very interesting kata with a number

Posted in Dojo, Practice, Programming, Refactoring, TDD

Using Meld with Mercurial

A quick tooltip. Meld is a nice diff and file comparison tool. It can be used instead of WinMerge or the built in Mercurial diff tool – KDiff3. Where it improves upon WinMerge and KDiff3 is the visualization of differences between

Tagged with: , ,
Posted in Programming, Tools

Lessons learnt from facilitating dojos

Some lessons from facilitating coding dojos with both large ( >8 ) and smaller groups of developers. With the smaller group we aim to have a coding dojo every week using  cyber-dojo repeating the same kata (bowling game). – the aims

Posted in Practice, Programming, TDD

Know your IDE via Katas

More on practicing programming, I think this is a key part of a professional toolkit hence the focus. I have blogged about removing editor features to change the way you approach code, now in a contrarian move lets examine learning

Tagged with: , ,
Posted in Dojo, Practice, Programming

Turning off intellisense

Cyber-Dojo (http://www.cyber-dojo.com/) is a web based tool supporting many languages for practising TDD. Its a really cool tool for jumping in and practising katas with minimal fuss – I have blogged about it before. One of the ‘features’ that you

Posted in Practice, Programming, TDD

Hungarian Refactoring

When refactoring C++ Hungarian notation code base changes should look similar to the existing code base. Making changes (using TDD of course) can involve refactoring existing code into smaller functions and occasionally moving it to a new class. Hungarian notation

Posted in C++, Programming, Refactoring

Adding memory leak checking to GoogleTest on Windows

Google Test framework does not natively support memory leak checking. For Windows it is possible to use the CRT debugging tools  in order to take a snapshot of the memory before a test runs and then compare it to the memory

Posted in Google Test, Programming, TDD

Refactoring with GTest in Visual Studio

I have been using GoogleTest in Visual Studio 2010 for a few weeks now. I am fairly happy. I have the gtest libs built and it is pretty easy to setup a test project and start testing and reafctoring. I

Posted in Programming, Refactoring, TDD

Header only C++ unit tests

I am returning to TDD in C++. Through some recommendations I am using googletest and hippomocks as a unit test framework and mocking framework respectively. Previously, I have used CppUnitLite and briefly CppUTest (which appears to have grown out of

Posted in Programming, TDD