The "moving" truth behind std::optional

The class template std::optional manages an optional contained value, i.e. a value that may or may not be present[1]. It is a great alternative for std::unique_ptr, or raw pointer, when used solely to express that a value is indeed optional. The type of the variable explicitly states that a contained... [Read More]

Docker run/exec and carriage return

Recently, I was writing a script whose function was to retrieve and parse a list of processes that were running in a docker container. The script was based on another script that did the same by ssh-ing to a remote server. However, my grep/sed/awk command set did not work despite... [Read More]
Tags: #docker