Category Archives: Howtos

Qt Data Visualization preview

In the Qt Roadmap for 2016 they say “In addition, Qt 5.7 includes a lot of modules that have been previously available only with the commercially licensed Qt: … Qt Data Visualization – Versatile set of chart types for 3D … Continue reading

Posted in C++, Howtos | Tagged , | Leave a comment

Making images responsive in your wordpress theme

It’s fashionable nowadays to have responsive websites, consequently you also end up with responsive wordpress themes, like the one used in this blog. In bootstrap 3 images can be made responsive-friendly via the addition of the img-responsive class. If you … Continue reading

Posted in Howtos | Tagged | Leave a comment

Automatic generation of C++ code for process models – 3 of 3

Here we are at the last installment of this series of posts on automatic code generation, which started out as a journey to make the workflow for coding process models in C++ with the LIBPF™ library easier and less boring. … Continue reading

Posted in C++, Chemeng, Howtos | Leave a comment

Automatic generation of C++ code for process models – 2 of 3

In this part two of the series of three posts we will leverage the techniques discussed in part one (command-line C++ code generation from the JSON representation of process models with the jinja2 template engine) to make the code generation … Continue reading

Posted in C++, Chemeng, Howtos | Tagged | Leave a comment

Automatic generation of C++ code for process models – 1 of 3

Coding process models in C++ with the help of LIBPF is easy (try one of our tutorials !), but it’s fair to say that it’s somewhat boring and error prone. For example if you add an integer parameter to your … Continue reading

Posted in C++, Chemeng, Howtos | Tagged | Leave a comment

Interpreting “The program can’t start errors” on Windows

Sometimes when you start an executable named say xxx.exe on Windows Desktop a modal pop-up may appear: with the message: The program can’t start because xxx.exe is missing from your computer. Try reinstalling the program to fix this problem. As … Continue reading

Posted in Howtos, Rants | Leave a comment

Automated bug finding with git bisect and boost::test

Here we use boost::test to write test programs for our C++ code, and git as a distributed version control system to track revisions. One day a test that used to pass stopped working so I decided to try git-bisect to … Continue reading

Posted in Howtos | Leave a comment

Using jshint on Debian jessie

tl;dr: If you wish to use jshint on Debian jessie, do this: sudo apt-get update sudo apt-get install nodejs nodejs-legacy npm sudo npm install jshint -g jshint Long story: this is difficult to get right if you read random posts … Continue reading

Posted in Howtos | Leave a comment

First try at webapp integration testing with capybara on debian

Capybara looks like a promising tecnology for integration testing of web applications, so we decided to give it a try on debian jessie workstation. There are some howtos around based on rails or other ruby-specific stuff, but what is required … Continue reading

Posted in Howtos, UI, Uncategorized | Leave a comment

Debian Wheezy with KDE

The right way to install KDE on Debian Wheezy is to start the right installer by choosing “KDE desktop” under Alternate Desktop Environments under Advanced Options in the CD boot menu. If you haven’t done that, you’ll end with Gnome. … Continue reading

Posted in Howtos, Uncategorized | Leave a comment