2010-12-23

2010-11-28

Peter Toft: Finde C/C++ fejl med valgrind -> massif finder fejl i allokering/deallokering

Peter Toft: Finde C/C++ fejl med valgrind -> massif finder fejl i allokering/deallokering: "Jeg har haft meget travlt på arbejdet de sidste par uger, især med at få releaset en stor klump kode, hvor mange har deltaget i af kode. Det kommer fra tid til anden fejl ind. Vi diskuterer langt over…"

2010-11-14

Solid principle for SW structuring

Some solid principle for SW structuring: Solid (object-oriented design)

2010-10-05

The internal variable $! in Bash

Great use of a Internal variable in Bash

Using $! for job control:
possibly_hanging_job & { sleep ${TIMEOUT}; eval 'kill -9 $!' &> /dev/null; }
# Forces completion of an ill-behaved program.
# Useful, for example, in init scripts. 

2010-09-22

Eclipse encoding problems in c-build console

Jeg had the problem a bow with eclipse c-build console. I found a solution in this post

The solution is to set the LANG environment variable for gcc to en_US.ISO-8859-1.