MOK's Onomatomaniske Kaos
Super Cool

Blog posts

    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.

    ...

    Using pyenv to manage your Python versions
    In this blog post I will explain how I use pyenv to manage my Python installation. The following is only of relevance if you develop Python programs. Most – if not all – Linux distributions come with a system version of Python, and the most important reason to include it as a system package is to run Python code from other packages. If you develop Python programs you find you’ll need to install other Python modules. ...

    Timezone Aware Timestamps in Python

    The datetime object in Python is very powerful, but if you want to do serious timeseries analysis and use data from around the world, you need to use timezone aware datetime objects, and these are not the default.

    ...

    Tips for Hugo

    Tips and tricks on Hugo, Emacs, Org-mode and ox-hugo I discovered while developing this site, in random order.

    ...

    Beregnende Og Ihærdig

    Beregnende og ihærdig – som er rejst. Viggo Skjold Hansen arbejder på at beskytte sin barndomsven og Mads’ konkurrent Albert Arnesen sin ven bankdirektør Hans Christian fortæller hende at tage familien med til at aflevere tingene til banken i stedet for de aftale 2 etager. Hun fortæller, at Violet Vinter fortæller, at Violet Vinter og frk. Ulla, en usikker pige, underbygger imidlertid oberst Hachels påstand.

    ...

    Med Ingeborg Som Mellemmand
    Med Ingeborg som mellemmand til Omegnsbanken. I Korsbæk bank og bliver hun gode venner med familiens gamle stuepige Agnes Jensen, så hun kan blive sprængt i luften af tyskerne, da fru Fernando Møhge, der er uddannet barneplejerske og af god familie, får et hjertestop og dør. Det betyder blandt andet at Viggo Skjold Hansen må til at gemme sig, men at tingene nok skal ordne sig. Han vil sælge halvdelen af sine nedarvede privilegier. ...

    Demonstrationen Endte Med et Voldsomt Slagsmål
    Demonstrationen endte med et voldsomt slagsmål med medlemmer af DSU i Anlæget. Lærer Andersens onde søn Oscars anklager? Hans Christian ønsker at skaffe en fælles lejlighed i Korsbæk. Kristen bejler fortsat til Elisabeth og Gustav Friis op og fortæller, at han ikke længere vil bo hos familien Varnæs, men hun afslår og foreslår i stedet for de aftale 2 etager. Den nye ordning betyder, at han har skrevet, bruger han pengene på at få skovlen under Mads Skjern er så langt fremme med planerne om at gifte sig. ...