news
today's howtos
-
TecMint ☛ How to Avoid Retyping Long Commands in Linux
Most Linux users know their shell saves command history, but the way they use it isn’t very efficient. You type a long command, memorize flags, re-enter file paths, and sometimes forget small details like a trailing slash, then you have to fix it and try again.
-
Mariusz Zaborski ☛ When resizing a gmirror gives you a hard time
I recently ran into an annoying problem on one of my FreeBSD machines: resizing a gmirror. Spoiler: it stops being annoying once I remember to enable the human built-in "thinking" feature.
To keep the example simple, imagine a setup with three partitions across two disks: system (UFS), swap, and data (ZFS). The system partitions are mirrored with GEOM Mirror.
-
University of Toronto ☛ If it's in JSON, it's not really a configuration file
JSON is a perfectly good format for your internal configuration data store, what you transform a configuration file into and then save for your software's future convenience. It's not a configuration file format, and if you use it as such, you're basically forcing people to write your compiled configuration storage format themselves. The result is a configuration file only in a narrow technical sense that it is a file you force people to supply to configure your software. You could tell them to compile C or their language of choice into a shared .so file that you will load as a plugin to configure things, or to write a Python, Perl, Lua, or JavaScript file (depending on your implementation language) that you will load and execute to create the configuration, and call all of those 'configuration files', and it would not be too far off from the JSON case.
-
ID Root ☛ How To Install Docker Swarm on Ubuntu 26.04 LTS
Running containers on a single Docker host works fine for local development. But in production, that single host is also a single point of failure.
-
ID Root ☛ How To Upgrade from Fedora 43 To Fedora 44