Linux 7.2 includes a series of patches on its MultiGen-LRU algorithm, allowing a MongoDB performance gain for free under some workloads. This post provides a brief explanation of how Linux memory pages work, as well as the MongoDB-related MGLRU changes. Linux Memory Pages Primer Warning: This is a simplified explanation, if you want to go deeper start from here . Reading files from disks is an…
This is a step-by-step guide to install Go in Linux user space and setting up Emacs development environment. It shows a user-scoped manual installation without relying on external tools. If you manage Go using dedicated tools or distribution-specific packages, skip the next section and go to the Emacs configuration one. Go installation Download latest Go version from its website and extract the…
Gnome 49 and systemd Gnome 49 switched from the builtin service manager to a systemd session startup . For this reason all the desktop-related services adapted their behaviour to work with systemd. Gnome Software switched too, and its .desktop file was replaced by a user service managed by systemd. Preventing Gnome Software service autostart The systemctl’s mask command can prevent a service…
While rewriting my Emacs configuration for a pure terminal usage (no X/Wayland) I discovered the ANSI escape sequence 52 to read-from and write-to the system clipboard. Soon after, I found out how such a simple feature was causing so much discussion in Linux terminal’s issues trackers and how scattered its support was. Copy & Paste Writing (copying to) and reading (pasting from) the system…
Docker does not support a direct method for updating environment variables for a running container. This is something you can not call “a bug” because it is consistent with the immutable way Docker runs application. For this reason, the common way to update an environment variable is to re-create the container from the image. Sometimes this can not be done because your container has a…
/etc/os-release The /etc/os-release file was introduced by Systemd but does not depend on it. It is “ a standardization of the various distribution ID files like /etc/fedora-release and similar ” and provides a common way to represent OS information . $ cat /etc/os-release NAME = 'Rocky Linux' VERSION = '9.7 (Blue Onyx)' ID = 'rocky' ID_LIKE = 'rhel centos fedora' VERSION_ID = '9.7'…
If you are struggling with a proxy_pass directive that throws a “502 Bad Gateway” error for no apparent reason, it could be cause by a SELinux setting . Security Enhanced Linux (SELinux) provides an additional layer of system security. SELinux fundamentally answers the question: “May [subject] do [action] to [object]”, for example: “May a web server access files in…
In early 2026, MongoDB stopped working with Linux kernels 6.19+, leading to a new kernel-drama . I discovered it by accident after a system update, trying to start my usual MongoDB container and receiving a exit 139 exit code. The cause of the issue was less trivial than I thought, and I had to do some digging to understand it and get it working again. What follows is the story of the incident (so…
A list of free monospaced programming fonts with ligatures. Fira Code Hasklig Cascadia Victor Mono Recursive Maple Mono Lilex Monocraft JetBrains Mono Iosevka Enable font ligatures in VSCode { // default for all file types 'editor.fontFamily' : 'Fira Code' , 'editor.fontLigatures' : true , // specific to a file type '[markdown]' : { 'editor.fontFamily' : 'Fira Code' , 'editor.fontLigatures' : true…
Tool required All you need is Imagemagick, so check if the imagemagick package is available in your Linux distribution or if it is already installed on you system. Otherwise download and install it from the official website (Linux, macOS and Windows). Depending on which package was installed, it can be executed as either magick montage or montage if the alias is available. A simple collage This…