How do you ensure that, for example, a database wrapper, only hands out one instance of any given data object?
Hi, my name is Jarle. I am a Freelance C++ developer. I have spent quality time with code for 30 years, and I still love it!
This is my professional blog, where I write about stuff I research or discover during my daily work on various projects.
How do we call a C++ std::function<> based callback from Android, in the simplest possible way?
How to install Docker Swarm on a Linux machine in a minute.
A very naive Ansible Playbook to install Docker and Docker Compose on CentOS.
Some times it's required to copy a docker container between machines, or even developers. One option is to use a hosted repository and pay some money for this opportunity. Another option is to use a machine that has a reachable IP address and Docker to run a private and secure Docker Registry.
Building something in Jenkins, using a declarative pipeline and deploying it to a Docker container is common, and you would expect it to be well documented and trivial to do right? Well, it is now.
C++ is a popular Object-oriented language. Json is a popular format for storage of Objects. Why is it so hard to make those two things play ball?
Restc-cpp is a REST client library for C++ projects.
I wasted quite some hours figuring out how to correctly insert new records in a QSqlTableModel derived class.
Jenkins' Declarative Pipelines are nice, but also very constrained. Here I show how to deal with failed tests.
Just some thoughts and lessons learned after I created a X-platform QT Desktop application
I set out to build a QT desktop application on Linux (several flavors of Debian and Ubuntu), macOS and Windows (64 bit builds) using Jenkins with slaves and Docker build-containers that is created on demand.
It's actually quite simple, once you figure out how to sign the package.
A bright new 20 years anniversary edition of my most useful software application ever; the definitive time tracking application for freelancers!