A little while ago a friend of mine told me he was trying to automate his house using openHAB. He told me he could now control his blinds and curtains amongst other things through an Android app. How cool is that? There was one thing he could not do though, and that was controlling his […]

Object-oriented programming in C – part 1 (Objects)

Introduction Background I intend to write a small series of articles that explain how object-oriented programming (OOP) can be applied and used in C in embedded software projects. I realize that there already exist many articles that cover this subject. However, I found those that I’ve read either incomplete or unclean. Besides that, most of […]

Shrinking executables

A colleague of mine recently mentioned this article from Brian Raiter. The article demonstrates how to reduce the size of an executable by a factor of 85. Here it is, just for fun: A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux 🙂

Choosing the right microcontroller

I came across this interesting article of Jay Carlson (electronics engineer and embedded software developer) in which he extensively reviews various popular and less known microcontrollers. Good reading material for your next embedded project! The Amazing $1 Microcontroller

Trying out if all fits well before the final assembly.

Woodworker’s workbench in progress

This year’s Summer holidays give me the opportunity to spend a fair amount of time on my workbench project. So far it enabled me to finish the construction of the worktop and the three supports it will come to rest on. I’ve already made a start on joining them together in a detachable way. Plenty […]

Gedit logo

Gedit PlantUML plugin 2.0.0 released

Development on the Gedit PlantUML plugin stagnated for while, but the last couple of months I finally managed to find some time to finish the planned redesign. It can be downloaded here. This release targets Gedit3, and has a cleaner and better design. Firstly, it now uses Gedit for detecting when a PlantUML source file […]

Laws of Test Driven Development

Test Driven Development

Last week my colleague Auke Klazema held a short presentation on Test Driven Development (TDD) – you can find it on his website. He already explained me the principles of TDD some weeks earlier, and I was able to implement a small Python module the TDD-way since. My initial experience is that TDD forced me to […]

Two Python ‘features’ I learned today

Every programming language has its own funny, unusual, and good-to-know language constructs. Today, I came to learn two such language constructs in Python. Finding a needle in a haystack Consider the following way to check if a needle exists in a haystack: When run, this will print False, as one would expect, since “Haystack” doesn’t […]

No more Dutch

So far this website has been a mixture of blog-posts in Dutch and pages in both Dutch and English. The website gets a bit messy this way. Besides that it feels stupid to put time and effort in writing content in more than one language considering that most visitors can read English, and considering that […]

PyCharm Python IDE

Wanneer ik programmeer in C of C++ dan maak ik graag gebruik van een IDE, onder andere vanwege de mogelijkheden die het biedt tot code-completion en refactoring. In het geval van C/C++ gebruik ik veelal Codelite of soms QtCreator. Voor het beetje Python dat ik schreef (voor een PlantUML plugin voor Gedit) gebruikte ik Gedit […]