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]

The switch from Vim

For the past five years, my go-to text editors have been Vim and gVim/MacVim. Currently, I work on macOS with Ubuntu, as a target OS, running on the local VMware Fusion virtual machine. Personally, I prefer to use the macOS GUI over Ubuntu and do not enjoy constantly switching between... [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