MOK's Onomatomaniske Kaos
Super Cool

Categories

    Revisiting the zstd compression algorithm
    A few days ago, I wrote about various compression algorithms and how they perform. Today, I am looking further into the 19 different compression levels available in zstd. I ran the experiment in exactly the same way, using the same cpio archive and the same computer. zstd has 19 different compression levels, and in the experiment detailed below they are named “zstd-1”, “zstd-2”, etc. up to “zstd-19”. For purposes of comparison, I have included results from gzip, bzip2 and xz from last time. ...

    Testing Compression Algorithms
    Today I tested out various compression programs that are available on macOS/Linux. The compression programs used TL;DR: Never mind, take me to Results! GNU gzip GNU Gzip is the most used and loved compression program in the Linux/macOS world. Originally written by Jean-loup Gailly and Mark Adler for the GNU project. It has been the standard compression program used for many years in the open source community, and is a well established standard, not least for tar. ...

    Install Arch Linux from scratch on Mac mini

    This is a description of how I installed Arch on my Mac mini (ultimo 2012) that I purchased very cheaply refurbished. This machine has 16 Gb of RAM and 128 Gb SSD and it was expensive when it was first purchased. It is not possible to upgrade this machine past macOS Catalina, but with Linux the support will continue forever, and this little computer can continue to run a modern, fully secure and updated operating system.

    ...

    Convert Launchpad repos to git

    This is a short guide on how to convert your Bazaar repos to git on Launchpad, which is Ubuntu’s development server. Bazaar was chosen by Ubuntu as their revision control system, and the developers did a lot of work on the Bazaar code, which is written in Python. However, development stopped several years ago, and Bazaar was no longer maintained. A spinoff project named Breezy took over, and is maintaining the code, now invoked by the commend brz (but with an alias to former ‘bzr’). Anyway, it’s time to convert my archives to git.

    ...

    Disk Quota Exceeded?

    The disk quota system in Linux is quite old, and if you have a distributed workstation environment with NFS mounted shares it is not possible in a convenient way to inform users that they have exceeded their disk limits.

    ...

    How to use ssh authentication keys
    If you have an account on a remote computer that you use very often, it is convienient if you do not have to type your password every time you log on to another host. You can achieve this by using ssh’s authorization keys. First, you need to generate a key-pair. A key-pair consists of two small files. One file contains your secret key, the other your public key. Your secret key is, as the name implies, secret. ...