Building C++ containers using Docker and CMake
- by Jaakko Moisio
- June 1, 2020
The title says it all. A guide to building C++ applications with CMake and containerizing them.
The title says it all. A guide to building C++ applications with CMake and containerizing them.
Harvoin on saanut valtamediassa seurata raflaavampaa uutisointia ehdollisista todennäköisyyksistä kuin koronakriisin aikana. ”Millä todennäköisyydellä koronavirukselle immuunin henkilön vasta-ainetestin tulos on positiivinen?” on eri kysymys kuin ”Millä todennäköisyydellä positiivisen tuloksen vasta-ainetestissä saanut henkilö on immuuni koronavirukselle?”. Ero on merkittävä ja seuraukset väärinymmärryksestä voivat ovat vakavia.
Signal handling is notoriously hard to do correctly. Handling asynchronous events is a subtle business, and the POSIX signal API is complex. In this post, I’ll implement a simple server application that handles signals as correctly as possible. With Linux flavor.
A general wisdom is that overloading logical operators in C++ should be done with extreme caution, if at all. This blog post introduces boost::tribool: A rare example where logical operator overloading makes sense. Which is exactly why one must be cautious when using it.
A story about my grandfather, balloons and the applicability of physics education outside of basic research.
The C++20 standard is finished and brings lots of long awaited features to a C++ programmer's toolbox. In this post I introduce some of my favorite features, including concepts, ranges, coroutines and the new additions to compile time computation.
Writing unit tests for your code. Tedious waste of time or an awesome productivity tool? Depending on how unit testing is implemented in a project, it can be either. In this post I'm sharing three practices I've used to make unit testing more valuable.
The C standard library is essential when writing C programs, or almost anything in any language for that matter. But can you do without? Sure! In this post I'll show how to write hello world from scratch.
Programming languages are typically either compiled or interpreted. This distinction isn't absolute. In this post I'll blur the line by using C++ as interpreted language with standard tooling.
I haven't had a personal webpage for a long time. Lately I've had a few topics in mind I've wanted to write about, so I decided to give blogging a try. This first post is the story of how yet another tech blog became in existence.