From 73a66ce8c1eb27c74dbbedac97ee99dfde359f7a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:06:50 +0200 Subject: Update content for html --- gemfeed/2008-06-26-perl-poetry.html | 6 +- ...12-29-using-my-nokia-n95-for-fixing-my-mta.html | 2 +- gemfeed/2010-04-09-standard-ml-and-haskell.html | 2 +- ...010-05-07-lazy-evaluation-with-standarn-ml.html | 4 +- .../2010-05-09-the-fype-programming-language.html | 2 +- .../2011-05-07-perl-daemon-service-framework.html | 2 +- .../2014-03-24-the-fibonacci.pl.c-polyglot.html | 2 +- ...2-05-run-debian-on-your-phone-with-debroid.html | 2 +- gemfeed/2016-04-03-offsite-backup-with-zfs.html | 2 +- ...04-09-jails-and-zfs-on-freebsd-with-puppet.html | 2 +- .../2016-04-16-offsite-backup-with-zfs-part2.html | 2 +- ...inning-up-my-own-authoritative-dns-servers.html | 2 +- ...20-object-oriented-programming-with-ansi-c.html | 2 +- ...alistic-load-testing-with-ioriot-for-linux.html | 6 +- ...-22-dtail-the-distributed-log-tail-program.html | 2 +- gemfeed/2021-04-24-welcome-to-the-geminispace.html | 4 +- ...021-05-16-personal-bash-coding-style-guide.html | 2 +- ...5-gemtexter-one-bash-script-to-rule-it-all.html | 22 +- gemfeed/2021-07-04-the-well-grounded-rubyist.html | 2 +- ...-08-01-on-being-pedantic-about-open-source.html | 2 +- gemfeed/2021-09-12-keep-it-simple-and-stupid.html | 2 +- gemfeed/2021-10-22-defensive-devops.html | 2 +- gemfeed/2021-11-29-bash-golf-part-1.html | 2 +- ...-12-26-how-to-stay-sane-as-a-devops-person.html | 4 +- gemfeed/2022-01-01-bash-golf-part-2.html | 2 +- gemfeed/2022-01-23-welcome-to-the-foo.zone.html | 2 +- ...022-02-04-computer-operating-systems-i-use.html | 8 +- gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html | 4 +- gemfeed/2022-04-10-creative-universe.html | 2 +- .../2022-05-27-perl-is-still-a-great-choice.html | 20 +- gemfeed/2022-06-15-sweating-the-small-stuff.html | 2 +- ...22-07-30-lets-encrypt-with-openbsd-and-rex.html | 2 +- ...2-08-27-gemtexter-1.1.0-lets-gemtext-again.html | 4 +- gemfeed/2022-09-30-after-a-bad-nights-sleep.html | 6 +- .../2022-10-30-installing-dtail-on-openbsd.html | 8 +- ...-tried-emacs-but-i-switched-back-to-neovim.html | 148 +++++++++++ ...ried-doom-emacs-but-i-switched-back-to-vim.html | 52 ++++ gemfeed/atom.xml | 294 +++++++++++++++------ gemfeed/index.html | 1 + index.html | 1 + other-resources.html | 7 +- paul.jpg | Bin 639230 -> 0 bytes style.css | 19 +- 43 files changed, 508 insertions(+), 156 deletions(-) create mode 100644 gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html create mode 100644 gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html delete mode 100644 paul.jpg diff --git a/gemfeed/2008-06-26-perl-poetry.html b/gemfeed/2008-06-26-perl-poetry.html index 8ddb365d..549b9aab 100644 --- a/gemfeed/2008-06-26-perl-poetry.html +++ b/gemfeed/2008-06-26-perl-poetry.html @@ -9,7 +9,7 @@

Perl Poetry

-

Published by Paul at 2008-06-26, last updated at 2021-05-04

+

Published by Paul at 2008-06-26 23:43:51 CEST, last updated at 2021-05-04

  '\|/'                                  *
 -- * -----
@@ -19,11 +19,11 @@
    :         (   (        .-''`'.
    .          \   \      /       \
    .           \    \   /         \
-                \    -'           '.
+                \    `-'           `'.
                  \    . '        /    `.
                   \  ( \  )     (     .')
    ,,   t          '. |  /       |     (
-  '|`_/^\___        '|  |'-..-'|   ( ()
+  '|``_/^\___        '|  |`'-..-'|   ( ()
 _~~|~/_|_|__/|~~~~~~~ |  / ~~~~~ |   | ~~~~~~~~
  -_  |L[|]L|/         | |\ MJP   )   )
                       ( |(       /  /|
diff --git a/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html b/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html
index a8de5344..487e21ea 100644
--- a/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html
+++ b/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html
@@ -9,7 +9,7 @@
 
 
 

Using my Nokia N95 for fixing my MTA

-

Published by Paul at 2008-12-29, last updated at 2021-12-01

+

Published by Paul at 2008-12-29 11:10:41 CEST, last updated at 2021-12-01

 
            _
diff --git a/gemfeed/2010-04-09-standard-ml-and-haskell.html b/gemfeed/2010-04-09-standard-ml-and-haskell.html
index 816562b0..f70b7b8c 100644
--- a/gemfeed/2010-04-09-standard-ml-and-haskell.html
+++ b/gemfeed/2010-04-09-standard-ml-and-haskell.html
@@ -9,7 +9,7 @@
 
 
 

Standard ML and Haskell

-

Published by Paul at 2010-04-09

+

Published by Paul at 2010-04-10 00:57:36 CEST

I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already knew a little Haskell, I could not help myself, and I also implemented the same exercises in Haskell.

As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is a bit more "advanced". Haskell utilizes fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to write down the function types explicitly. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far, I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities.

Haskell is also a "pure functional" programming language, whereas SML also makes explicit use of imperative concepts. I am by far not a specialist in either of these languages, but here are a few functions implemented in both SML and Haskell:

diff --git a/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html b/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html index cecff8e6..b9df3ad5 100644 --- a/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html +++ b/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html @@ -9,7 +9,7 @@

Lazy Evaluation with Standard ML

-

Published by Paul at 2010-05-07

+

Published by Paul at 2010-05-07 10:17:59 CEST

 
       _____|~~\_____      _____________
@@ -19,7 +19,7 @@
   _-    | )     /    |--|      |  |
  __-_______________ /__/_______|  |_________
 (                |----         |  |
- ---------------'--\\\\      .--'          -Glyde-
+ `---------------'--\\\\      .`--'          -Glyde-
                               `||||
 

In contrast to Haskell, Standard SML does not use lazy evaluation by default but an eager evaluation.

diff --git a/gemfeed/2010-05-09-the-fype-programming-language.html b/gemfeed/2010-05-09-the-fype-programming-language.html index e0e64a10..89ea5caf 100644 --- a/gemfeed/2010-05-09-the-fype-programming-language.html +++ b/gemfeed/2010-05-09-the-fype-programming-language.html @@ -9,7 +9,7 @@

The Fype Programming Language

-

Published by Paul at 2010-05-09, last updated at 2021-05-05

+

Published by Paul at 2010-05-09 14:48:29 CEST, last updated at 2021-05-05

       ____                                      _        __       
      / / _|_   _ _ __   ___    _   _  ___  __ _| |__    / _|_   _ 
diff --git a/gemfeed/2011-05-07-perl-daemon-service-framework.html b/gemfeed/2011-05-07-perl-daemon-service-framework.html
index 42ea98a6..0823ee61 100644
--- a/gemfeed/2011-05-07-perl-daemon-service-framework.html
+++ b/gemfeed/2011-05-07-perl-daemon-service-framework.html
@@ -9,7 +9,7 @@
 
 
 

Perl Daemon (Service Framework)

-

Published by Paul at 2011-05-07, last updated at 2021-05-07

+

Published by Paul at 2011-05-08 00:26:02 CEST, last updated at 2021-05-07

    a'!   _,,_ a'!   _,,_     a'!   _,,_
      \\_/    \  \\_/    \      \\_/    \.-,
diff --git a/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html b/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html
index fb245bb7..d304c35f 100644
--- a/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html
+++ b/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html
@@ -9,7 +9,7 @@
 
 
 

The fibonacci.pl.raku.c Polyglot

-

Published by Paul at 2014-03-24, last updated 2022-04-23

+

Published by Paul at 2014-03-24 23:32:53 CEST, last updated at 2022-04-23

In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it.

https://en.wikipedia.org/wiki/Polyglot_(computing)

The Fibonacci numbers

diff --git a/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html b/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html index 5d1bf6d5..055e1c2d 100644 --- a/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html +++ b/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html @@ -9,7 +9,7 @@

Run Debian on your phone with Debroid

-

Published by Paul at 2015-12-05, last updated at 2021-05-16

+

Published by Paul at 2015-12-05 18:12:57 CEST, last updated at 2021-05-16

  ____       _               _     _ 
 |  _ \  ___| |__  _ __ ___ (_) __| |
diff --git a/gemfeed/2016-04-03-offsite-backup-with-zfs.html b/gemfeed/2016-04-03-offsite-backup-with-zfs.html
index a9453bab..47cf06b0 100644
--- a/gemfeed/2016-04-03-offsite-backup-with-zfs.html
+++ b/gemfeed/2016-04-03-offsite-backup-with-zfs.html
@@ -9,7 +9,7 @@
 
 
 

Offsite backup with ZFS

-

Published by Paul at 2016-04-03

+

Published by Paul at 2016-04-04 00:43:42 GMT

  ________________
 |# :           : #|
diff --git a/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html b/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html
index 6437b697..ea16fa4e 100644
--- a/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html
+++ b/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html
@@ -9,7 +9,7 @@
 
 
 

Jails and ZFS with Puppet on FreeBSD

-

Published by Paul at 2016-04-09

+

Published by Paul at 2016-04-09 20:29:47 GMT

             __     __
            (( \---/ ))
diff --git a/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html b/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html
index 4848ff22..4cd9fbf4 100644
--- a/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html
+++ b/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html
@@ -9,7 +9,7 @@
 
 
 

Offsite backup with ZFS (Part 2)

-

Published by Paul at 2016-04-16

+

Published by Paul at 2016-04-17 00:43:42 GMT

  ________________
 |# :           : #|
diff --git a/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html b/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html
index c03f76ec..2b231958 100644
--- a/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html
+++ b/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html
@@ -9,7 +9,7 @@
 
 
 

Spinning up my own authoritative DNS servers

-

Published by Paul at 2016-05-22

+

Published by Paul at 2016-05-22 20:59:01 GMT

Background

Finally, I had time to deploy my authoritative DNS servers (master and slave) for my domains "buetow.org" and "buetow.zone". My domain name provider is Schlund Technologies. They allow their customers to edit the DNS records (BIND files) manually. And they also allow you to set your authoritative DNS servers for your domains. From now, I am making use of that option.

Schlund Technologies
diff --git a/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html b/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html index 0662d1a1..3f08fc9e 100644 --- a/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html +++ b/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html @@ -9,7 +9,7 @@

Object oriented programming with ANSI C

-

Published by Paul at 2016-11-20, updated 2022-01-29

+

Published by Paul at 2016-11-21 00:10:57 GMT, updated 2022-01-29

   ___   ___  ____        ____ 
  / _ \ / _ \|  _ \      / ___|
diff --git a/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html b/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html
index f0fbbf96..46bad416 100644
--- a/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html
+++ b/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html
@@ -9,15 +9,15 @@
 
 
 

Realistic load testing with I/O Riot for Linux

-

Published by Paul at 2018-06-01, last updated at 2021-05-08

+

Published by Paul at 2018-06-01 16:50:29 GMT, last updated at 2021-05-08

        .---.
       /     \
       \.@-@./
-      /\_/\
+      /`\_/`\
      //  _  \\
     | \     )|_
-   /\_>  <_/ \
+   /`\_`>  <_/ \
 jgs\__/'---'\__/
 

Foreword

diff --git a/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html b/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html index 600f35e8..9722b50f 100644 --- a/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html +++ b/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html @@ -9,7 +9,7 @@

DTail - The distributed log tail program

-

Published by Paul at 2021-04-22, last updated at 2021-04-26

+

Published by Paul at 2021-04-22 21:28:41 GMT, last updated at 2021-04-26

DTail logo image

This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal internet site too.

Original Mimecast Engineering Blog post at Medium
diff --git a/gemfeed/2021-04-24-welcome-to-the-geminispace.html b/gemfeed/2021-04-24-welcome-to-the-geminispace.html index fa2738bb..72a0fb5b 100644 --- a/gemfeed/2021-04-24-welcome-to-the-geminispace.html +++ b/gemfeed/2021-04-24-welcome-to-the-geminispace.html @@ -9,7 +9,7 @@

Welcome to the Geminispace

-

Published by Paul at 2021-04-24, last updated at 2021-06-18, ASCII Art by Andy Hood

+

Published by Paul at 2021-04-24 21:28:41 GMT, last updated at 2021-06-18, ASCII Art by Andy Hood

Have you reached this article already via Gemini? It requires a Gemini client; web browsers such as Firefox, Chrome, Safari, etc., don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is:

gemini://foo.zone

However, if you still use HTTP, you are just surfing the fallback HTML version of this capsule. In that case, I suggest reading on what this is all about :-).

@@ -26,7 +26,7 @@ |Gemini| | | |______| - '-'- . + '-`'-` . / . \'\ . .' ''( .'\.' ' .;' '.;.;' ;'.;' ..;;' AsH diff --git a/gemfeed/2021-05-16-personal-bash-coding-style-guide.html b/gemfeed/2021-05-16-personal-bash-coding-style-guide.html index 24f826ab..2b7b165e 100644 --- a/gemfeed/2021-05-16-personal-bash-coding-style-guide.html +++ b/gemfeed/2021-05-16-personal-bash-coding-style-guide.html @@ -9,7 +9,7 @@

Personal Bash coding style guide

-

Published by Paul at 2021-05-16

+

Published by Paul at 2021-05-16 16:51:57 GMT

    .---------------------------.
   /,--..---..---..---..---..--. `.
diff --git a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
index c5b983fc..ea696e23 100644
--- a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
+++ b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
@@ -9,7 +9,7 @@
 
 
 

Gemtexter - One Bash script to rule it all

-

Published by Paul at 2021-06-05

+

Published by Paul at 2021-06-05 21:03:32 GMT

                                                                o .,<>., o
                                                                |\/\/\/\/|
@@ -31,23 +31,23 @@
                                                     _-'    |\  .        |
                                   _..--..   .  /"---\      | ` |      . |
           -=====================,' _     \=(*#(7.#####()   |  `/_..   , (
-                      _.-''`';'-''-) ,.  \ '  '+/// |   .'/   \  `-.) \
-                    ,'  _.-  ((    -'  ._\    ` \_/_.'  )    /-._  ) |
+                      _.-''``';'-''-) ,.  \ '  '+/// |   .'/   \  ``-.) \
+                    ,'  _.-  ((    `-'  `._\    `` \_/_.'  )    /`-._  ) |
                   ,'\ ,'  _.'.`:-.    \.-'                 /   <_L   )"  |
-                _/   ._,' ,');  -''                    |     L  /    /
+                _/   `._,' ,')`;  `-'`'                    |     L  /    /
                / `.   ,' ,|_/ / \                          (    <_-'     \
-               \ / ./  '  / /,' \                        /|         `. |
-               )\   /._   ,'._.-\                       |)            \'
-              /  .'    )-'.-,' )__)                      |\            |
-             : /. .._(--.':':/ \                      ) \             \
+               \ / `./  '  / /,' \                        /|`         `. |
+               )\   /`._   ,'`._.-\                       |)            \'
+              /  `.'    )-'.-,' )__)                      |\            `|
+             : /`. `.._(--.`':`':/ \                      ) \             \
              |::::\     ,'/::;-))  /                      ( )`.            |
              ||:::::  . .::':  :`-(                       |/    .          |
              ||::::|  . :|  |==[]=:                       .        -       \
              |||:::|  : ||  :  |  |                      /\           `     |
  ___ ___     '|;:::|  | |'   \=[]=|                     /  \                \
-|   /_  ||`|||:::::  | ;    | |  |                     \_.'\_               -.
-:   \_`[]--[]|::::'\_;'     )-'..._                 .-'\`::  .              \
- \___.>''-.||:.__,'     SSt |_______>              <_____:::.         . . \  _/
+|   /_  ||``|||:::::  | ;    | |  |                     \_.'\_               `-.
+:   \_``[]--[]|::::'\_;'     )-'..`._                 .-'\``:: ` .              \
+ \___.>`''-.||:.__,'     SSt |_______`>              <_____:::.         . . \  _/
                                                            `+a:f:......jrei'''
 

You might have read my previous blog post about entering the Geminispace, where I pointed out the benefits of having and maintaining an internet presence there. This whole site (the blog and all other pages) is composed in the Gemtext markup language.

diff --git a/gemfeed/2021-07-04-the-well-grounded-rubyist.html b/gemfeed/2021-07-04-the-well-grounded-rubyist.html index 6f603f81..db6a812e 100644 --- a/gemfeed/2021-07-04-the-well-grounded-rubyist.html +++ b/gemfeed/2021-07-04-the-well-grounded-rubyist.html @@ -9,7 +9,7 @@

The Well-Grounded Rubyist

-

Published by Paul at 2021-07-04

+

Published by Paul at 2021-07-04 12:51:23 GMT

When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I decided to give Ruby a go.

You should learn or try out one new programming language once yearly anyway. If you end up not using the new language, that's not a problem. You will learn new techniques with each new programming language and this also helps you to improve your overall programming skills even for other languages. Also, having some background in a similar programming language makes it reasonably easy to get started. Besides that, learning a new programming language is kick-a** fun!


diff --git a/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html b/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html index 287cacd9..752dab6a 100644 --- a/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html +++ b/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html @@ -9,7 +9,7 @@

On being Pedantic about Open-Source

-

Published by Paul at 2021-08-01

+

Published by Paul at 2021-08-01 10:37:58 GMT

                                            __
                                _____....--' .'
diff --git a/gemfeed/2021-09-12-keep-it-simple-and-stupid.html b/gemfeed/2021-09-12-keep-it-simple-and-stupid.html
index a67abb58..614aae46 100644
--- a/gemfeed/2021-09-12-keep-it-simple-and-stupid.html
+++ b/gemfeed/2021-09-12-keep-it-simple-and-stupid.html
@@ -9,7 +9,7 @@
 
 
 

Keep it simple and stupid

-

Published by Paul at 2021-09-12, last updated at 2022-04-21

+

Published by Paul at 2021-09-12 09:39:20 GMT, last updated at 2022-04-21

   _______________                        |*\_/*|_______
   |  ___________  |     .-.     .-.      ||_/-\_|______  |
diff --git a/gemfeed/2021-10-22-defensive-devops.html b/gemfeed/2021-10-22-defensive-devops.html
index 00e1ecfd..712e5d89 100644
--- a/gemfeed/2021-10-22-defensive-devops.html
+++ b/gemfeed/2021-10-22-defensive-devops.html
@@ -9,7 +9,7 @@
 
 
 

Defensive DevOps

-

Published by Paul at 2021-10-22

+

Published by Paul at 2021-10-22 10:02:46 GMT

                                                             c=====e
                                                                H
diff --git a/gemfeed/2021-11-29-bash-golf-part-1.html b/gemfeed/2021-11-29-bash-golf-part-1.html
index 0791e193..4b9d061e 100644
--- a/gemfeed/2021-11-29-bash-golf-part-1.html
+++ b/gemfeed/2021-11-29-bash-golf-part-1.html
@@ -9,7 +9,7 @@
 
 
 

Bash Golf Part 1

-

Published by Paul at 2021-11-29, last updated at 2022-01-05

+

Published by Paul at 2021-11-29 16:06:14 GMT, last updated at 2022-01-05

 
      '\                   .  .                        |>18>>
diff --git a/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html b/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html
index 03d921aa..cf8970ec 100644
--- a/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html
+++ b/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html
@@ -9,7 +9,7 @@
 
 
 

How to stay sane as a DevOps person

-

Published by Paul at 2021-12-26, last updated at 2022-01-12

+

Published by Paul at 2021-12-26 14:02:02 GMT, last updated at 2022-01-12

                                      )
                              )      ((     (
@@ -20,7 +20,7 @@
         | //  : | -__   ~__ o)____)),__ - '> >-  >
         | //  : |- \_ \ -\_\ -\ \ \ ~\_  \ ->> - ,  >>
         | //  : |_~_\ -\__\ \~'\ \ \, \__ . -<-  >>
-        -----._|   -__-- - ~~ --  --~> >
+        `-----._| `  -__`-- - ~~ -- ` --~> >
          _/___\_    //)_`//  | ||]
    _____[_______]_[~~-_ (.L_/  ||
   [____________________]' `\_,/'/
diff --git a/gemfeed/2022-01-01-bash-golf-part-2.html b/gemfeed/2022-01-01-bash-golf-part-2.html
index f9ea67f0..0f21efb6 100644
--- a/gemfeed/2022-01-01-bash-golf-part-2.html
+++ b/gemfeed/2022-01-01-bash-golf-part-2.html
@@ -9,7 +9,7 @@
 
 
 

Bash Golf Part 2

-

Published by Paul at 2022-01-01, last updated at 2022-01-05

+

Published by Paul at 2022-01-02 01:36:15 GMT, last updated at 2022-01-05

 
     '\       '\                   .  .                |>18>>
diff --git a/gemfeed/2022-01-23-welcome-to-the-foo.zone.html b/gemfeed/2022-01-23-welcome-to-the-foo.zone.html
index be57b061..69bec5e6 100644
--- a/gemfeed/2022-01-23-welcome-to-the-foo.zone.html
+++ b/gemfeed/2022-01-23-welcome-to-the-foo.zone.html
@@ -9,7 +9,7 @@
 
 
 

Welcome to the foo.zone

-

Published by Paul at 2022-01-23

+

Published by Paul at 2022-01-23 18:42:04 GMT

   __                                  
  / _| ___   ___   _______  _ __   ___ 
diff --git a/gemfeed/2022-02-04-computer-operating-systems-i-use.html b/gemfeed/2022-02-04-computer-operating-systems-i-use.html
index e6a2e598..ab3cba09 100644
--- a/gemfeed/2022-02-04-computer-operating-systems-i-use.html
+++ b/gemfeed/2022-02-04-computer-operating-systems-i-use.html
@@ -9,7 +9,7 @@
 
 
 

Computer operating systems I use(d)

-

Published by Paul at 2022-02-04, updated 2022-02-18

+

Published by Paul at 2022-02-04 11:58:22 GMT, updated 2022-02-18

               /(        )`
               \ \___   / |
@@ -17,13 +17,13 @@
              (/\/ \ \   /\
              / /   | `    \
              O O   ) /    |
-             -^--'<     '
+             `-^--'`<     '
             (_.)  _  )   /
-             .___/    /
+             `.___/`    /
                `-----' /
   <----.     __ / __   \
   <----|====O)))==) \) /====
-  <----'    --' .__,' \
+  <----'    `--' `.__,' \
                |        |
                 \       /
            ______( (_  / \______
diff --git a/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html b/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html
index 11d252b2..9ef03c9e 100644
--- a/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html
+++ b/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html
@@ -9,13 +9,13 @@
 
 
 

The release of DTail 4.0.0

-

Published by Paul at 2022-03-06

+

Published by Paul at 2022-03-06 20:11:39 GMT

                               ,_---~~~~~----._
                         _,,_,*^____      _____``*g*\"*,
   ____ _____     _ _   / __/ /'     ^.  /      \ ^@q   f
  |  _ \_   _|_ _(_) |   @f | @))    |  | @))   l  0 _/
- | | | || |/ _ | | |  \/   \~____ / __ \_____/    \
+ | | | || |/ _` | | |  \`/   \~____ / __ \_____/    \
  | |_| || | (_| | | |   |           _l__l_           I
  |____/ |_|\__,_|_|_|   }          [______]           I
                         ]            | | |            |
diff --git a/gemfeed/2022-04-10-creative-universe.html b/gemfeed/2022-04-10-creative-universe.html
index 9e6efec5..e09b1793 100644
--- a/gemfeed/2022-04-10-creative-universe.html
+++ b/gemfeed/2022-04-10-creative-universe.html
@@ -9,7 +9,7 @@
 
 
 

Creative universe

-

Published by Paul at 2022-04-10, last updated at 2022-04-18

+

Published by Paul at 2022-04-10 12:09:11 GMT, last updated at 2022-04-18

  .              +   .                .   . .     .  .
                    .                    .       .     *
diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
index db7efb49..ab0240b3 100644
--- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
+++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
@@ -9,12 +9,12 @@
 
 
 

Perl is still a great choice

-

Published by Paul at 2022-05-27, Comic source: XKCD

+

Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD


-

Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and "perl" the name of the interpreter or the interpreter command.

+

Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:


-

So why is that? Once the de-facto standard super-glue language for the web nowadays seems to have a bad repetition. Often, people state:

+

So why is that? Once the de-facto standard super-glue language for the web nowadays seems to have a bad reputation. Often, people state:

  • Perl is a write-only language. Nobody can read Perl code.
  • Perl? Isn't it abandoned? It's still at version 5!
  • @@ -53,13 +53,15 @@ Perl feature pragmas
    The OpenBSD Operating System
    Why does OpenBSD still include Perl in its base installation?
    -

    The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas "use strict; use warnings; use signatures;" and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) repetition.

    +

    The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas use strict;, use warnings;, use signatures; and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) reputation.

    +

    Update 2022-12-10: A reader pointed out, that use v5.36; already turns strict, warnings and signatures pragmas automatically on!

    Announcing Perl 7
    -What happened to Perl 7? (maybe have to use "use v7;")
    +What happened to Perl 7? (maybe have to use use v7;)
    +

    Update 2022-12-10: A reader pointed out, that Perl 7 needs to provide a big improvement to earn and keep the attention for a major version bump.

    Why use Perl as there are better alternatives?

    Here, common sense must be applied. I don't believe there is anything like "the perfect" programming language. Everyone has got his preferred (or a set of preferred) programming language to chose from. All programming languages come with their own set of strengths and weaknesses. These are the strengths making Perl shine, and you (technically) don't need to bother to look for "better" alternatives:

      -
    • Perl is better than Shell/awk/sed scripts. There's a point where shell scripts become fairly complex. The next step-up is to switch to Perl. There are many different versions of shells and awk and sed interpreters. Do you always know which versions (mawk, nawk, gawk, sed, gsed, ...) are currently installed? These commands aren't fully compatible to each other. However, there is only one Perl 5. Simply: Perl is faster, more powerful, more expressive than any shell script can ever be, and it is also extendible through CPAN. Perl can directly talk to databases, which shell scripts can't.
    • +
    • Perl is better than Shell/AWK/SED scripts. There's a point where shell scripts become fairly complex. The next step-up is to switch to Perl. There are many different versions of shells and AWK and SED interpreters. Do you always know which versions (mawk, nawk, gawk, sed, gsed, grep, ggrep...) are currently installed? These commands aren't fully compatible to each other. However, there is only one Perl 5. Simply: Perl is faster, more powerful, more expressive than any shell script can ever be, and it is also extendible through CPAN. Perl can directly talk to databases, which shell scripts can't.
    • Perl code tends to be compact so that it's much better suitable for "shell scripting" and quick "one-liners" than other languages. In my own experience: Ruby and Python code tends to blow up quickly. It doesn't mean that Ruby and Python are not suitable for this task, but I think Perl does much better.
    • Perl 5 has proven itself for decades and is a very stable/robust language. It is a battle-tested and mature as something can ever become.
    • Perl is the reference standard for regular expressions. Even so much that there is a PCRE library (Perl Compatible Regular Expressions) used by many other languages now. Perl fully integrates regular expression syntax into the language, which doesn't feel like an odd add-on like in most other languages.
    • @@ -78,10 +80,10 @@
    • It's possible to write large programs in Perl (make difficult things possible), but it might not be the best choice here. This also leads back to the clunky object system Perl has. You could write your projects in a procedural or functional style (Perl perfectly fits here), but OOP seems to be the gold standard for large projects nowadays. Functional programming requires a different mindset, and pure procedural programming lacks abstractions.
    • Apply common sense. What is the skill set your team has? What's already widely used and supported at work? Which languages comes with the best modules for the things you want to work on? Maybe Python is the answer (better machine learning modules). Maybe Perl is the better choice (better Bioinformatic modules). Perhaps Ruby is already the de-facto standard at work and everyone knows at least a little Ruby (as it happened to be at my workplace) and Ruby is "good enough" for all the tasks already. But that's not a hindrance to throw in a Perl one-liner once in a while :P.
    -Cor - A minimal object system for the Perl core - proposal
    +Cor - Bringing modern OOP to the Perl Core

    Why all the sigils? It looks like an exploding ASCII factory!!

    -

    The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

    -

    In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@ @@ an $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

    +

    The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

    +

    In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@, @@ and $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

    https://www.perl.com/article/on-sigils/

    Where do I personally still use perl?

      diff --git a/gemfeed/2022-06-15-sweating-the-small-stuff.html b/gemfeed/2022-06-15-sweating-the-small-stuff.html index 5304ec93..57bf7591 100644 --- a/gemfeed/2022-06-15-sweating-the-small-stuff.html +++ b/gemfeed/2022-06-15-sweating-the-small-stuff.html @@ -9,7 +9,7 @@

      Sweating the small stuff - Tiny projects of mine

      -

      Published by Paul at 2022-06-15, last updated at 2022-06-18

      +

      Published by Paul at 2022-06-15 10:47:44 GMT, last updated at 2022-06-18

                _
               /_/_      .'''.
      diff --git a/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html b/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html
      index a4331d9f..bfab32b1 100644
      --- a/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html
      +++ b/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html
      @@ -9,7 +9,7 @@
       
       
       

      Let's Encrypt with OpenBSD and Rex

      -

      Published by Paul at 2022-07-30

      +

      Published by Paul at 2022-07-30 14:14:31 EEST

                                                      /    _    \
         The Hebern Machine                            \ ." ". /
      diff --git a/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html b/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html
      index 9b09a5ef..2d4d3916 100644
      --- a/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html
      +++ b/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html
      @@ -9,7 +9,7 @@
       
       
       

      Gemtexter 1.1.0 - Let's Gemtext again

      -

      Published by Paul at 2022-08-27

      +

      Published by Paul at 2022-08-27 20:25:57 EEST

       -=[ typewriter ]=-  1/98
       
      @@ -19,7 +19,7 @@
             |:::::::::|
             |:::::::[]|
             |o=======.|
      - jgs  """""""""
      + jgs  `"""""""""`
       

      I am proud to announce that I've released Gemtexter version 1.1.0. What is Gemtexter? It's my static site generator written in GNU Bash:

      Gemtexter - One Bash script to rule it all
      diff --git a/gemfeed/2022-09-30-after-a-bad-nights-sleep.html b/gemfeed/2022-09-30-after-a-bad-nights-sleep.html index b8a9b2e0..b52aeee6 100644 --- a/gemfeed/2022-09-30-after-a-bad-nights-sleep.html +++ b/gemfeed/2022-09-30-after-a-bad-nights-sleep.html @@ -9,16 +9,16 @@

      After a bad night's sleep

      -

      Published by Paul at 2022-09-30, last updated 2022-10-12

      +

      Published by Paul at 2022-09-30 09:53:23 EEST, last updated at 2022-10-12

                      z
                       z
                        Z
              .--.  Z Z
             / _(c\   .-.     __
      -     | / /  '-;   \'-'  \______
      +     | / /  '-;   \'-'`  `\______
            \_\/'/ __/ )  /  )   |      \--,
      -     | \""__-/ .'--/   /--------\  \
      +     | \`""`__-/ .'--/   /--------\  \
             \\`  ///-\/   /   /---;-.    '-'
       jgs                (________\  \
                                    '-'
      diff --git a/gemfeed/2022-10-30-installing-dtail-on-openbsd.html b/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
      index ae19d152..e43c3378 100644
      --- a/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
      +++ b/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
      @@ -9,7 +9,7 @@
       
       
       

      Installing DTail on OpenBSD

      -

      Published by Paul at 2022-10-28

      +

      Published by Paul at 2022-10-30 11:03:19 EET

              ,_---~~~~~----._
        _,,_,*^____      _____``*g*\"*,
      @@ -25,7 +25,7 @@
         |                           |       A       ;
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~,--,-/ \---,-/|~~,~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  _|\,'. /|      /|   `/|-.
      -                       \.'    /|      ,            ;.
      +                       \`.'    /|      ,            `;.
                             ,'\   A     A         A   A _ /| `.;
                           ,/  _              A       _  / _   /|  ;
                          /\  / \   ,  ,           A  /    /     `/|
      @@ -38,11 +38,11 @@
                    /  |<--.__,->|       |  | .    `.        >  >    /   (
                   /_,' \\  ^  /  \     /  /   `.    >--            /^\   |
                         \\___/    \   /  /      \__'     \   \   \/   \  |
      -                   .   |/          ,  ,                  /\    \  )
      +                   `.   |/          ,  ,                  /`\    \  )
                            \  '  |/    ,       V    \          /        `-\
        OpenBSD Puffy --->   `|/  '  V      V           \    \.'            \_
                              '`-.       V       V        \./'\
      -                           |/-.      \ /   \ /,---\         kat
      +                           `|/-.      \ /   \ /,---`\         kat
                                   /   `._____V_____V'
                                              '     '
       

      diff --git a/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html b/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html new file mode 100644 index 00000000..c25399cd --- /dev/null +++ b/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html @@ -0,0 +1,148 @@ + + + + +I tried (Doom) Emacs, but I switched back to (Neo)Vim + + + + + +

      I tried (Doom) Emacs, but I switched back to (Neo)Vim

      +

      Published by Paul at 2022-11-24 11:17:15 EET, last updated at 2022-11-26

      +
      +             _/  \    _(\(o
      +             /     \  /  _  ^^^o
      +            /   !   \/  ! '!!!v'
      +           !  !  \ _' ( \____
      +           ! . \ _!\   \===^\)
      +Art by      \ \_!  / __!
      + Gunnar Z.   \!   /    \    <--- Emacs is a giant dragon
      +       (\_      _/   _\ )
      +        \ ^^--^^ __-^ /(__ 
      +         ^^----^^    "^--v'
      +

      +

      As a long-lasting user of Vim (and NeoVim), I always wondered what GNU Emacs is really about, so I decided to try it. I didn't try vanilla GNU Emacs, but Doom Emacs. I chose Doom Emacs as it is a neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings (so to speak, it's emulating Vim within Emacs), and I am pretty sure I won't be ready to give up all the muscle memory I have built over more than a decade.

      +GNU Emacs
      +Doom Emacs
      +

      I used Doom Emacs for around two months. Still, ultimately I decided to switch back to NeoVim as my primary editor and IDE and Vim (usually pre-installed on Linux-based systems) and Nvi (usually pre-installed on *BSD systems) as my "always available editor" for quick edits. (It is worth mentioning that I don't have a high opinion on whether Vim or NeoVim is the better editor, I prefer NeoVim as it comes with better defaults out of the box, but there is no real blocker to use Vim instead).

      +Vim
      +NeoVim
      +

      So why did I switch back to the Vi-family?

      +

      Emacs is a giant dragon

      +

      Emacs feels like a giant dragon as it is much more than an editor or an integrated development environment. Emacs is a whole platform on its own. There's an E-Mail client, an IRC client, or even games you can run within Emacs. And you can also change Emacs within Emacs using its own Lisp dialect, Emacs Lisp (Emacs is programmed in Emacs Lisp). Therefore, Emacs is also its own programming language. You can change every aspect of Emacs within Emacs itself. People jokingly state Emacs is an operating system and that you should directly use it as the init 1 process (if you don't know what the init 1 process is: Under UNIX and similar operating systems, it's the very first userland processed launched. That's usually systemd on Linux-based systems, launchd on macOS, or any other init script or init system used by the OS)!

      +

      In many aspects, Emacs is like shooting at everything with a bazooka! However, I prefer it simple. I only wanted Emacs to be a good editor (which it is, too), but there's too much other stuff in Emacs that I don't need to care about! Vim and NeoVim do one thing excellent: Being great text editors and, when loaded with plugins, decent IDEs, too.

      +

      Magit love

      +

      I almost fell in love with Magit, an integrated Git client for Emacs. But I think the best way to interact with Git is to use the git command line directly. I don't worry about typing out all the commands, as the most commonly used commands are in my shell history. Other useful Git programs I use frequently are bit and tig. Also, get a mechanical keyboard that makes hammering whole commands into the terminal even more enjoyable.

      +Magit
      +Tig
      +

      Magit is pretty neat for basic Git operations, but I found myself searching the internet for the correct sub-commands to do the things I wanted to do in Git. Mainly, the way how branches are managed is confusing. Often, I fell back to the command line to fix up the mess I produced with Magit (e.g. accidentally pushing to the wrong remote branch, so I found myself fixing things manually on the terminal with the git command with forced pushes....). Magit is hotkey driven, and common commands are quickly explorable through built-in hotkey menus. Still, I found it challenging to navigate to more advanced Git sub-commands that way which was much easier accomplished by using the git command directly.

      +

      Graphical UI

      +

      If there is one thing I envy about Emacs is that it's a graphical program, whereas the Vi-family of editors are purely terminal-based. I see the benefits of being a graphical program as this enables the use of multiple fonts simultaneously to embed pictures and graphs (that would be neat as a Markdown preview, for example). There's also GVim (Vim with GTK UI), but that's more of an afterthought.

      +

      There are now graphical front-end clients for NeoVim, but I still need to dig into them. Let me know your experience if you have one. Luckily, I don't rely on something graphical in my text editor, but it would improve how the editor looks and feels. UTF8 can already do a lot in the terminal, and terminal emulators also allow you to use TrueType fonts. Still, you will always be limited to one TTF font for the whole terminal, and it isn't possible to have, for example, a different font for headings, paragraphs, etc... you get the idea. TTF+UTF8 can't beat authentic graphics.

      +

      Scripting it

      +

      It is possible to customize every aspect of Emacs through Emacs Lisp. I have done some Elk Scheme programming in the past (a dialect of Lisp), but that was a long time ago, and I am not willing to dive here again to customize my environment. I would instead take the pragmatic approach and script what I need in VimScript (a terrible language, but it gets the job done!). I watched Damian Conway's VimScript course on O'Reilly Safari Books Online, which I greatly recommend. Yes, VimScript feels clunky, funky and weird and is far less elegant than Lisp, but it gets its job done - in most cases! (That reminds me that the Vim team has announced a new major version of VimScript with improvements and language changes made - I haven't gotten to it yet - but I assume that VimScript will always stay VimScript).

      +Emacs Lisp
      +Elk Scheme
      +VimScript
      +Scripting Vim by Damian Conway
      +

      NeoVim is also programmable with Lua, which seems to be a step up and Vim comes with a Perl plugin API (which was removed from NeoVim, but that is a different story - why would someone remove the most potent mature text manipulation programming language from one of the most powerful text editors?).

      +NeoVim Lua API
      +

      One example is my workflow of how I compose my blog articles (e.g. this one you are currently reading): I am writing everything in NeoVim, but I also want to have every paragraph checked against Grammarly (as English is not my first language). So I write a whole paragraph, then I select the entire paragraph via visual selection with SHIFT+v, and then I press ,y to yank the paragraph to the systems clipboard, then I paste the paragraph to Grammarly's browser window with CTRL+v, let Grammarly suggest the improvements, and then I copy the result back with CTRL+c to the system clipboard and in NeoVim I type ,i to insert the result back overriding the old paragraph (which is still selected in visual mode) with the new content. That all sounds a bit complicated, but it's surprisingly natural and efficient.

      +

      To come back to the example, for the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp or Perl for this:

      +
      +" Clipboard
      +vnoremap ,y !pbcopy<CR>ugv
      +vnoremap ,i !pbpaste<CR>
      +nmap ,i !wpbpaste<CR>
      +

      +

      That's only a very few lines and does precisely what I want. It's quick and dirty but get's the job done! If VimScript becomes too cumbersome, I can use Lua for NeoVim scripting.

      +

      The famous Emacs Org mode

      +

      Org-mode is an Emacs mode for keeping notes, authoring documents, computational notebooks, literate programming, maintaining to-do lists, planning projects, and more — in a fast and effective plain-text system. There's even a dedicated website for it:

      +https://orgmode.org/
      +

      In short, Org-mode is an "interactive markup language" that helps you organize everything mentioned above. I rarely touched the surface during my two-month experiment with Emacs, and I am impressed by it, so I see the benefits of having that. But it's not for me.

      +

      I use "Dead Tree Mode" to organize my work and notes. Dead tree? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured 0.5 Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is zathura, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).

      +Zathura
      +

      On the road, I also write some of my notes in Markdown format to NextCloud Notes, which is editable from my phone and via NeoVim on my computers. Markdown is much less powerful than Org-mode, but I prefer it the simple way. There's a neat terminal application, ranger, which I use to browse my NextCloud Notes when they are synced to a local folder on my machine. ranger is a file manager inspired by Vim and therefore makes use of Vim keybindings and it feels just natural to me.

      +Ranger - A Vim inspired file manager
      +

      Did I mention that I also use my zsh (my default shell) and my tmux (terminal multiplexer) in Vi-mode?

      +Z shell
      +tmux terminal multiplexer
      +

      Seeking simplicity

      +

      I am not ready to dive deep into the whole world of Emacs. I prefer small and simple tools as opposed to complex tools. Emacs comes with many features out of the box, whereas in Vim/NeoVim, you would need to install many plugins to replicate some of the behaviour. Yes, I need to invest time managing all the Vim/NeoVim plugins I use, but I feel more in control compared to Doom Emacs, where a framework around vanilla Emacs manages all the plugins. I could use vanilla Emacs and manage all my plugins the vanilla way, but for me, it's not worth the effort to learn and dive into that as all that I want to do I can already do with Vim/NeoVim.

      +

      I am not saying that Vim/NeoVim are simple programs, but they are much simpler than Emacs with much smaller footprints; furthermore, they appear to be more straightforward as I am used to them. I only need Vim/NeoVim to be an editor, an IDE (through some plugins), and nothing more.

      +

      Conclusion

      +

      I understand the Emacs users now. Emacs is an incredibly powerful platform for almost everything, not just text editing. With Emacs, you can do nearly everything (Writing, editing, programming, calendar scheduling and note taking, Jira integration, playing games, listening to music, reading/writing emails, browsing the web, using as a calculator, generating HTML pages, configuring interactive menus, jumping around between every feature and every file within one single session, chat on IRC, surf the Gopherspace, ... the options are endless....). If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs, and over time Emacs will become "your" Emacs, customized to your own needs and change the way it works, which makes the Emacs users stick even more to it.

      +

      Vim/NeoVim also comes with a very high degree of customization options, but to a lesser extreme than Emacs (but still, a much higher degree than most other editors out there). If you want the best text editor in the world, which can also be tweaked to be a decent IDE, you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but that's a little more straightforward, and the result is much more lightweight once you get used to the "Vi way of doing things" you never would want to change back. I haven't tried the Emacs vanilla keystrokes, but they are terrible (that's probably one of the reasons why Doom Emacs uses Vim keybindings by default).

      +

      Update: One reader recommended to have a look at NvChad. NvChad is a NeoVim config written in Lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around 0.02 secs ~ 0.07 secs). They tweak UI plugins such as telescope, nvim-tree, bufferline etc well to provide an aesthetic UI experience. That sounds interesting!

      +https://github.com/NvChad/NvChad
      +

      E-Mail your comments to paul at buetow dot org! :-)

      +Go back to the main site
      +

      Appendix

      +

      This is the VimScript I mentioned earlier, which parses a table of contents index of my scanned paper journals and opens the corresponding PDF at the right page in zathura:

      +
      +function! ReadJournalPageNumber()
      +    let page = expand("<cword>")
      +    if page !~# '^\d\+$'
      +        for str in split(getline("."), "[ ,]")
      +            if str =~# '^\d\+$'
      +                let page = str
      +                break
      +            end
      +        endfor
      +    endif
      +    return page
      +endfunction
      +
      +function! ReadJournalMeta()
      +    normal! mj
      +
      +    1/MetaFilePath:/
      +    normal! 3w
      +    let s:metaFilePath = expand("<cWORD>")
      +    echom s:metaFilePath
      +
      +    1/MetaOffset:/
      +    normal! 3w
      +    let s:metaOffset = expand("<cword>")
      +    echom s:metaOffset
      +
      +    1/MetaPageAtOffset:/
      +    normal! 3w
      +    let s:metaPageAtOffset = expand("<cword>")
      +    echom s:metaPageAtOffset
      +
      +    1/MetaPagesPerScan:/
      +    normal! 3w
      +    let s:metaPagesPerScan = expand("<cword>")
      +    echom s:metaPagesPerScan
      +
      +    normal! `j
      +endfunction
      +
      +function! GetPdfPage(page)
      +    return s:metaOffset + (a:page - s:metaPageAtOffset) / s:metaPagesPerScan
      +endfunction
      +
      +function! OpenJournalPage()
      +    let page = ReadJournalPageNumber()
      +    if page !~# '^\d\+$'
      +        echoerr "Could not identify Journal page number"
      +    end
      +    call ReadJournalMeta()
      +    let pdfPage = GetPdfPage(page)
      +    echon "Location is " . s:metaFilePath . ":" . pdfPage
      +    call system("zathura --mode fullscreen -P " . pdfPage . " " . s:metaFilePath)
      +    " call system("evince -p " . pdfPage . " " . s:metaFilePath)
      +endfunction
      +
      +nmap ,j :call OpenJournalPage()<CR>
      +

      +Go back to the main site
      + + + diff --git a/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html b/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html new file mode 100644 index 00000000..c06c7732 --- /dev/null +++ b/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html @@ -0,0 +1,52 @@ + + + + +I tried Doom Emacs, but I switched back to (Neo)Vim + + + + + +

      I tried Doom Emacs, but I switched back to (Neo)Vim

      +

      As a long-lasting user of Vim (and NeoVim), I always wondered what the fuzz about Emacs is about! So I decided to give Emacs a try. I tried out Emacs, but Doom Emacs and not vanilla Emacs. I chose Doom Emacs as it is a pretty neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings, and I am pretty sure I won't be ready to give up all the Vi muscle memory I have built over more than ten years.

      +

      I used Doom Emacs for around two months, but ultimately I decided to switch back to NeoVim as my primary editor and IDE and Vim as my "always available editor" for quick edits. So why is that?

      +

      Emacs is a monster

      +

      Emacs feels like a monster as it is much more than an editor or an integrated development environment. Emacs is a whole platform on its own. There's an E-Mail client, an IRC client, or even games you can run within Emacs. And you can also change Emacs within Emacs using its own Lisp dialect, Emacs Lisp. Therefore, Emacs is also its own programming language... You can change every aspect of Emacs within Emacs. People jokingly state Emacs is an operating system and that you should directly boot into Emacs as the init 1 process!

      +

      In many aspects, Emacs is like shooting at everything with a rail gun! However, I prefer it simple. I only wanted Emacs to be a good editor (which it is, too), but there's too much other stuff in Emacs that I, frankly, don't care about! Vim and NeoVim do one thing excellent: Being great text editors and, when loaded with plugins, a decent IDEs, too. Yes, VimScript, to program the editor, feels clunky and is by far not as elegant as Emacs Lisp, but it gets its job done! NeoVim is also programmable with Lua, which seems to be a step up.

      +

      Magit love

      +

      I almost fell in love with Magit, a fully integrated Git client for Emacs. But I think the best way to interact with Git is to use the git command line directly. I don't worry about typing out all the commands, as the most commonly used commands are in my shell history. Other useful Git programs I use frequently are bit and tig.

      +

      Magit is pretty neat for basic Git operations, but I found myself searching the internet for the correct sub-commands to do the things I wanted to do in Git. Mainly I found the way how branches are managed confusing. Often, I fell back to the command line to fix up the mess I produced with Magit (e.g. accidentally pushing to the wrong remote branch).

      +

      Seeking simplicity

      +

      I am not ready to dive deep into the whole world of Emacs. I prefer small and simple tools as opposed to complex tools. Emacs comes with many features out of the box, whereas in Vim/NeoVim, you would need to install many plugins to replicate the behaviour. Yes, I need to invest time managing all the Vim/NeoVim plugins I use, but I feel more in control compared to Doom Emacs, where a framework around vanilla Emacs manages all the plugins. I could use vanilla Emacs and manage all my plugins the vanilla way, but for me, it's not worth the effort to learn and dive into that as all that I want to do I can already do with Vim/NeoVim.

      +

      I am not saying that Vim/NeoVim are simple programs, but they are much simpler than Emacs with much smaller footprints; furthermore, they appear to be more straightforward as I am used to them. I only need Vim/NeoVim to be an editor, an IDE (through some plugins), and nothing more.

      +

      Scripting it

      +

      It is possible to customize every aspect of Emacs through Emacs Lisp. I have done some Elk Scheme programming in the past (a dialect of Lisp), but that was a long time ago, and I am not willing to dive here again to customize my environment. I would rather take the pragmatic approach and script what I need in VimScript (a terrible language, but it gets the job done!). I watched Damian Conway's VimScript course on O'Reilly Safari Books Online, which I greatly recommend.

      +Scripting Vim by Damian Conway
      +

      One example is my workflow of how I write blog articles. I am writing everything in NeoVim, but I also want to have every paragraph checked against Grammarly (as English is not my first language). So I write a whole paragraph, then I select the entire paragraph via visual selection with SHIFT+v, and then I press ,y to yank the paragraph to the systems clipboard, then I paste the paragraph to Grammarly's browser window, let Grammarly suggest the improvements, and then I copy the result back to the system clipboard and in NeoVim I type ,i to insert the result back overriding the old paragraph with the new content. That all sounds a bit complicated, but it's surprisingly natural and efficient.

      +

      For the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp for this:

      +
      +" Clipboard
      +
      +if uname != 'Darwin'
      +  vnoremap ,y !gpaste-client<CR>ugv
      +  vnoremap ,i !gpaste-client --use-index get 0<CR>
      +  nmap ,i !wgpaste-client --use-index get 0<CR>
      +else
      +  vnoremap ,y !pbcopy<CR>ugv
      +  vnoremap ,i !pbpaste<CR>
      +  nmap ,i !wpbpaste<CR>
      +endif
      +

      +

      The famous Org mode

      +

      Org mode: Ranger

      +

      Conclusion

      +

      I believe I started to understand the Emacs users now. Emacs is a incredible powerful platform for almost everything not just for text editing. If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs and over time Emacs will become "your" Emacs, customized to your own needs which makes the Emacs users stick even more to it. With Emacs you can do nearly everything (Editing, programming, calendar scheduling and note taking, Jira integration, play games, read/write emails, browse the web, use as a calculator, generate HTML pages, configure interactive menus, jump around between every feature and every file within one single session, chat on IRC, surf the Gotherspace, ... the options are endless....).

      +

      Vim/NeoVim comes also with a very high degree of customization options, but to a lesser extreme than Emacs. If you want to have the best editor of the world, which can also be tweaked to be a decent IDE, and that's you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but I think that's a little bit more straightforward and the end-result is much more lightweight.

      + + + diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 7053a4aa..80ce7de9 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,11 +1,155 @@ - 2022-10-28T11:05:23+03:00 + 2022-12-10T13:06:19+02:00 foo.zone feed To be in the .zone! https://foo.zone/ + + I tried Doom Emacs, but I switched back to (Neo)Vim + + https://foo.zone/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html + 2022-11-24T11:17:15+02:00 + + Paul C. Buetow + comments@mx.buetow.org + + As a long-lasting user of Vim (and NeoVim), I always wondered what GNU Emacs is really about, so I decided to try it. I didn't try vanilla GNU Emacs, but Doom Emacs. I chose Doom Emacs as it is a neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings (so to speak, it's emulating Vim within Emacs), and I am pretty sure I won't be ready to give up all the muscle memory I have built over more than a decade.. .....to read on please visit my site. + +
      +

      I tried (Doom) Emacs, but I switched back to (Neo)Vim

      +

      Published by Paul at 2022-11-24 11:17:15 EET, last updated at 2022-11-26

      +
      +             _/  \    _(\(o
      +             /     \  /  _  ^^^o
      +            /   !   \/  ! '!!!v'
      +           !  !  \ _' ( \____
      +           ! . \ _!\   \===^\)
      +Art by      \ \_!  / __!
      + Gunnar Z.   \!   /    \    <--- Emacs is a giant dragon
      +       (\_      _/   _\ )
      +        \ ^^--^^ __-^ /(__ 
      +         ^^----^^    "^--v'
      +

      +

      As a long-lasting user of Vim (and NeoVim), I always wondered what GNU Emacs is really about, so I decided to try it. I didn't try vanilla GNU Emacs, but Doom Emacs. I chose Doom Emacs as it is a neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings (so to speak, it's emulating Vim within Emacs), and I am pretty sure I won't be ready to give up all the muscle memory I have built over more than a decade.

      +GNU Emacs
      +Doom Emacs
      +

      I used Doom Emacs for around two months. Still, ultimately I decided to switch back to NeoVim as my primary editor and IDE and Vim (usually pre-installed on Linux-based systems) and Nvi (usually pre-installed on *BSD systems) as my "always available editor" for quick edits. (It is worth mentioning that I don't have a high opinion on whether Vim or NeoVim is the better editor, I prefer NeoVim as it comes with better defaults out of the box, but there is no real blocker to use Vim instead).

      +Vim
      +NeoVim
      +

      So why did I switch back to the Vi-family?

      +

      Emacs is a giant dragon

      +

      Emacs feels like a giant dragon as it is much more than an editor or an integrated development environment. Emacs is a whole platform on its own. There's an E-Mail client, an IRC client, or even games you can run within Emacs. And you can also change Emacs within Emacs using its own Lisp dialect, Emacs Lisp (Emacs is programmed in Emacs Lisp). Therefore, Emacs is also its own programming language. You can change every aspect of Emacs within Emacs itself. People jokingly state Emacs is an operating system and that you should directly use it as the init 1 process (if you don't know what the init 1 process is: Under UNIX and similar operating systems, it's the very first userland processed launched. That's usually systemd on Linux-based systems, launchd on macOS, or any other init script or init system used by the OS)!

      +

      In many aspects, Emacs is like shooting at everything with a bazooka! However, I prefer it simple. I only wanted Emacs to be a good editor (which it is, too), but there's too much other stuff in Emacs that I don't need to care about! Vim and NeoVim do one thing excellent: Being great text editors and, when loaded with plugins, decent IDEs, too.

      +

      Magit love

      +

      I almost fell in love with Magit, an integrated Git client for Emacs. But I think the best way to interact with Git is to use the git command line directly. I don't worry about typing out all the commands, as the most commonly used commands are in my shell history. Other useful Git programs I use frequently are bit and tig. Also, get a mechanical keyboard that makes hammering whole commands into the terminal even more enjoyable.

      +Magit
      +Tig
      +

      Magit is pretty neat for basic Git operations, but I found myself searching the internet for the correct sub-commands to do the things I wanted to do in Git. Mainly, the way how branches are managed is confusing. Often, I fell back to the command line to fix up the mess I produced with Magit (e.g. accidentally pushing to the wrong remote branch, so I found myself fixing things manually on the terminal with the git command with forced pushes....). Magit is hotkey driven, and common commands are quickly explorable through built-in hotkey menus. Still, I found it challenging to navigate to more advanced Git sub-commands that way which was much easier accomplished by using the git command directly.

      +

      Graphical UI

      +

      If there is one thing I envy about Emacs is that it's a graphical program, whereas the Vi-family of editors are purely terminal-based. I see the benefits of being a graphical program as this enables the use of multiple fonts simultaneously to embed pictures and graphs (that would be neat as a Markdown preview, for example). There's also GVim (Vim with GTK UI), but that's more of an afterthought.

      +

      There are now graphical front-end clients for NeoVim, but I still need to dig into them. Let me know your experience if you have one. Luckily, I don't rely on something graphical in my text editor, but it would improve how the editor looks and feels. UTF8 can already do a lot in the terminal, and terminal emulators also allow you to use TrueType fonts. Still, you will always be limited to one TTF font for the whole terminal, and it isn't possible to have, for example, a different font for headings, paragraphs, etc... you get the idea. TTF+UTF8 can't beat authentic graphics.

      +

      Scripting it

      +

      It is possible to customize every aspect of Emacs through Emacs Lisp. I have done some Elk Scheme programming in the past (a dialect of Lisp), but that was a long time ago, and I am not willing to dive here again to customize my environment. I would instead take the pragmatic approach and script what I need in VimScript (a terrible language, but it gets the job done!). I watched Damian Conway's VimScript course on O'Reilly Safari Books Online, which I greatly recommend. Yes, VimScript feels clunky, funky and weird and is far less elegant than Lisp, but it gets its job done - in most cases! (That reminds me that the Vim team has announced a new major version of VimScript with improvements and language changes made - I haven't gotten to it yet - but I assume that VimScript will always stay VimScript).

      +Emacs Lisp
      +Elk Scheme
      +VimScript
      +Scripting Vim by Damian Conway
      +

      NeoVim is also programmable with Lua, which seems to be a step up and Vim comes with a Perl plugin API (which was removed from NeoVim, but that is a different story - why would someone remove the most potent mature text manipulation programming language from one of the most powerful text editors?).

      +NeoVim Lua API
      +

      One example is my workflow of how I compose my blog articles (e.g. this one you are currently reading): I am writing everything in NeoVim, but I also want to have every paragraph checked against Grammarly (as English is not my first language). So I write a whole paragraph, then I select the entire paragraph via visual selection with SHIFT+v, and then I press ,y to yank the paragraph to the systems clipboard, then I paste the paragraph to Grammarly's browser window with CTRL+v, let Grammarly suggest the improvements, and then I copy the result back with CTRL+c to the system clipboard and in NeoVim I type ,i to insert the result back overriding the old paragraph (which is still selected in visual mode) with the new content. That all sounds a bit complicated, but it's surprisingly natural and efficient.

      +

      To come back to the example, for the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp or Perl for this:

      +
      +" Clipboard
      +vnoremap ,y !pbcopy<CR>ugv
      +vnoremap ,i !pbpaste<CR>
      +nmap ,i !wpbpaste<CR>
      +

      +

      That's only a very few lines and does precisely what I want. It's quick and dirty but get's the job done! If VimScript becomes too cumbersome, I can use Lua for NeoVim scripting.

      +

      The famous Emacs Org mode

      +

      Org-mode is an Emacs mode for keeping notes, authoring documents, computational notebooks, literate programming, maintaining to-do lists, planning projects, and more — in a fast and effective plain-text system. There's even a dedicated website for it:

      +https://orgmode.org/
      +

      In short, Org-mode is an "interactive markup language" that helps you organize everything mentioned above. I rarely touched the surface during my two-month experiment with Emacs, and I am impressed by it, so I see the benefits of having that. But it's not for me.

      +

      I use "Dead Tree Mode" to organize my work and notes. Dead tree? Yeah, I use an actual pen and a real paper journal (Leuchtturm or a Moleskine and a set of coloured 0.5 Muji Pens are excellent choices). That's far more immersive and flexible than a computer program can ever be. Yes, some automation and interaction with the computer (like calendar scheduling etc.) are missing. Still, an actual paper journal forces you to stay simple and focus on the actual work rather than tinkering with your computer program. (But I could not resist, and I wrote a VimScript which parses a table of contents page in Markdown format of my scanned paper journals, and NeoVim allows me to select a topic so that the corresponding PDF scan on the right journal page gets opened in an external PDF viewer (the PDF viewer is zathura, it uses Vi-keybindings, of course) :-). (See the appendix of this blog post for that script).

      +Zathura
      +

      On the road, I also write some of my notes in Markdown format to NextCloud Notes, which is editable from my phone and via NeoVim on my computers. Markdown is much less powerful than Org-mode, but I prefer it the simple way. There's a neat terminal application, ranger, which I use to browse my NextCloud Notes when they are synced to a local folder on my machine. ranger is a file manager inspired by Vim and therefore makes use of Vim keybindings and it feels just natural to me.

      +Ranger - A Vim inspired file manager
      +

      Did I mention that I also use my zsh (my default shell) and my tmux (terminal multiplexer) in Vi-mode?

      +Z shell
      +tmux terminal multiplexer
      +

      Seeking simplicity

      +

      I am not ready to dive deep into the whole world of Emacs. I prefer small and simple tools as opposed to complex tools. Emacs comes with many features out of the box, whereas in Vim/NeoVim, you would need to install many plugins to replicate some of the behaviour. Yes, I need to invest time managing all the Vim/NeoVim plugins I use, but I feel more in control compared to Doom Emacs, where a framework around vanilla Emacs manages all the plugins. I could use vanilla Emacs and manage all my plugins the vanilla way, but for me, it's not worth the effort to learn and dive into that as all that I want to do I can already do with Vim/NeoVim.

      +

      I am not saying that Vim/NeoVim are simple programs, but they are much simpler than Emacs with much smaller footprints; furthermore, they appear to be more straightforward as I am used to them. I only need Vim/NeoVim to be an editor, an IDE (through some plugins), and nothing more.

      +

      Conclusion

      +

      I understand the Emacs users now. Emacs is an incredibly powerful platform for almost everything, not just text editing. With Emacs, you can do nearly everything (Writing, editing, programming, calendar scheduling and note taking, Jira integration, playing games, listening to music, reading/writing emails, browsing the web, using as a calculator, generating HTML pages, configuring interactive menus, jumping around between every feature and every file within one single session, chat on IRC, surf the Gopherspace, ... the options are endless....). If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs, and over time Emacs will become "your" Emacs, customized to your own needs and change the way it works, which makes the Emacs users stick even more to it.

      +

      Vim/NeoVim also comes with a very high degree of customization options, but to a lesser extreme than Emacs (but still, a much higher degree than most other editors out there). If you want the best text editor in the world, which can also be tweaked to be a decent IDE, you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but that's a little more straightforward, and the result is much more lightweight once you get used to the "Vi way of doing things" you never would want to change back. I haven't tried the Emacs vanilla keystrokes, but they are terrible (that's probably one of the reasons why Doom Emacs uses Vim keybindings by default).

      +

      Update: One reader recommended to have a look at NvChad. NvChad is a NeoVim config written in Lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime (around 0.02 secs ~ 0.07 secs). They tweak UI plugins such as telescope, nvim-tree, bufferline etc well to provide an aesthetic UI experience. That sounds interesting!

      +https://github.com/NvChad/NvChad
      +

      E-Mail your comments to paul at buetow dot org! :-)

      +

      Appendix

      +

      This is the VimScript I mentioned earlier, which parses a table of contents index of my scanned paper journals and opens the corresponding PDF at the right page in zathura:

      +
      +function! ReadJournalPageNumber()
      +    let page = expand("<cword>")
      +    if page !~# '^\d\+$'
      +        for str in split(getline("."), "[ ,]")
      +            if str =~# '^\d\+$'
      +                let page = str
      +                break
      +            end
      +        endfor
      +    endif
      +    return page
      +endfunction
      +
      +function! ReadJournalMeta()
      +    normal! mj
      +
      +    1/MetaFilePath:/
      +    normal! 3w
      +    let s:metaFilePath = expand("<cWORD>")
      +    echom s:metaFilePath
      +
      +    1/MetaOffset:/
      +    normal! 3w
      +    let s:metaOffset = expand("<cword>")
      +    echom s:metaOffset
      +
      +    1/MetaPageAtOffset:/
      +    normal! 3w
      +    let s:metaPageAtOffset = expand("<cword>")
      +    echom s:metaPageAtOffset
      +
      +    1/MetaPagesPerScan:/
      +    normal! 3w
      +    let s:metaPagesPerScan = expand("<cword>")
      +    echom s:metaPagesPerScan
      +
      +    normal! `j
      +endfunction
      +
      +function! GetPdfPage(page)
      +    return s:metaOffset + (a:page - s:metaPageAtOffset) / s:metaPagesPerScan
      +endfunction
      +
      +function! OpenJournalPage()
      +    let page = ReadJournalPageNumber()
      +    if page !~# '^\d\+$'
      +        echoerr "Could not identify Journal page number"
      +    end
      +    call ReadJournalMeta()
      +    let pdfPage = GetPdfPage(page)
      +    echon "Location is " . s:metaFilePath . ":" . pdfPage
      +    call system("zathura --mode fullscreen -P " . pdfPage . " " . s:metaFilePath)
      +    " call system("evince -p " . pdfPage . " " . s:metaFilePath)
      +endfunction
      +
      +nmap ,j :call OpenJournalPage()<CR>
      +

      +
      +
      +
      Installing DTail on OpenBSD @@ -18,12 +162,8 @@ This will be a quick blog post, as I am busy with my personal life now. I have relocated to a different country and am still busy arranging things. So bear with me :-). .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 13433 Oct 28 11:02 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html ---- -> -rw-r--r--. 1 paul paul 13437 Oct 28 11:05 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html -

      Installing DTail on OpenBSD

      -

      Published by Paul at 2022-10-28

      +

      Installing DTail on OpenBSD

      +

      Published by Paul at 2022-10-30 11:03:19 EET

              ,_---~~~~~----._
        _,,_,*^____      _____``*g*\"*,
      @@ -39,7 +179,7 @@
         |                           |       A       ;
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~|~~~,--,-/ \---,-/|~~,~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  _|\,'. /|      /|   `/|-.
      -                       \.'    /|      ,            ;.
      +                       \`.'    /|      ,            `;.
                             ,'\   A     A         A   A _ /| `.;
                           ,/  _              A       _  / _   /|  ;
                          /\  / \   ,  ,           A  /    /     `/|
      @@ -52,11 +192,11 @@
                    /  |<--.__,->|       |  | .    `.        >  >    /   (
                   /_,' \\  ^  /  \     /  /   `.    >--            /^\   |
                         \\___/    \   /  /      \__'     \   \   \/   \  |
      -                   .   |/          ,  ,                  /\    \  )
      +                   `.   |/          ,  ,                  /`\    \  )
                            \  '  |/    ,       V    \          /        `-\
        OpenBSD Puffy --->   `|/  '  V      V           \    \.'            \_
                              '`-.       V       V        \./'\
      -                           |/-.      \ /   \ /,---\         kat
      +                           `|/-.      \ /   \ /,---`\         kat
                                   /   `._____V_____V'
                                              '     '
       

      @@ -318,16 +458,16 @@ REMOTE|fishfinger|100|7|fstab|093f510ec5c0f512.h /usr/local ffs rw,wxallowed,nod

      After a bad night's sleep

      -

      Published by Paul at 2022-09-30, last updated 2022-10-12

      +

      Published by Paul at 2022-09-30 09:53:23 EEST, last updated at 2022-10-12

                      z
                       z
                        Z
              .--.  Z Z
             / _(c\   .-.     __
      -     | / /  '-;   \'-'  \______
      +     | / /  '-;   \'-'`  `\______
            \_\/'/ __/ )  /  )   |      \--,
      -     | \""__-/ .'--/   /--------\  \
      +     | \`""`__-/ .'--/   /--------\  \
             \\`  ///-\/   /   /---;-.    '-'
       jgs                (________\  \
                                    '-'
      @@ -392,7 +532,7 @@ jgs                (________\  \
               
                   

      Gemtexter 1.1.0 - Let's Gemtext again

      -

      Published by Paul at 2022-08-27

      +

      Published by Paul at 2022-08-27 20:25:57 EEST

       -=[ typewriter ]=-  1/98
       
      @@ -402,7 +542,7 @@ jgs                (________\  \
             |:::::::::|
             |:::::::[]|
             |o=======.|
      - jgs  """""""""
      + jgs  `"""""""""`
       

      I am proud to announce that I've released Gemtexter version 1.1.0. What is Gemtexter? It's my static site generator written in GNU Bash:

      Gemtexter - One Bash script to rule it all
      @@ -468,7 +608,7 @@ check_dependencies () {

      Let's Encrypt with OpenBSD and Rex

      -

      Published by Paul at 2022-07-30

      +

      Published by Paul at 2022-07-30 14:14:31 EEST

                                                      /    _    \
         The Hebern Machine                            \ ." ". /
      @@ -1075,7 +1215,7 @@ rex commons
               
                   

      Sweating the small stuff - Tiny projects of mine

      -

      Published by Paul at 2022-06-15, last updated at 2022-06-18

      +

      Published by Paul at 2022-06-15 10:47:44 GMT, last updated at 2022-06-18

                _
               /_/_      .'''.
      @@ -1316,12 +1456,12 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
               
                   

      Perl is still a great choice

      -

      Published by Paul at 2022-05-27, Comic source: XKCD

      +

      Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD


      -

      Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and "perl" the name of the interpreter or the interpreter command.

      +

      Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

      Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:


      -

      So why is that? Once the de-facto standard super-glue language for the web nowadays seems to have a bad repetition. Often, people state:

      +

      So why is that? Once the de-facto standard super-glue language for the web nowadays seems to have a bad reputation. Often, people state:

      • Perl is a write-only language. Nobody can read Perl code.
      • Perl? Isn't it abandoned? It's still at version 5!
      • @@ -1360,13 +1500,15 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs Perl feature pragmas
        The OpenBSD Operating System
        Why does OpenBSD still include Perl in its base installation?
        -

        The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas "use strict; use warnings; use signatures;" and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) repetition.

        +

        The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas use strict;, use warnings;, use signatures; and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) reputation.

        +

        Update 2022-12-10: A reader pointed out, that use v5.36; already turns strict, warnings and signatures pragmas automatically on!

        Announcing Perl 7
        -What happened to Perl 7? (maybe have to use "use v7;")
        +What happened to Perl 7? (maybe have to use use v7;)
        +

        Update 2022-12-10: A reader pointed out, that Perl 7 needs to provide a big improvement to earn and keep the attention for a major version bump.

        Why use Perl as there are better alternatives?

        Here, common sense must be applied. I don't believe there is anything like "the perfect" programming language. Everyone has got his preferred (or a set of preferred) programming language to chose from. All programming languages come with their own set of strengths and weaknesses. These are the strengths making Perl shine, and you (technically) don't need to bother to look for "better" alternatives:

          -
        • Perl is better than Shell/awk/sed scripts. There's a point where shell scripts become fairly complex. The next step-up is to switch to Perl. There are many different versions of shells and awk and sed interpreters. Do you always know which versions (mawk, nawk, gawk, sed, gsed, ...) are currently installed? These commands aren't fully compatible to each other. However, there is only one Perl 5. Simply: Perl is faster, more powerful, more expressive than any shell script can ever be, and it is also extendible through CPAN. Perl can directly talk to databases, which shell scripts can't.
        • +
        • Perl is better than Shell/AWK/SED scripts. There's a point where shell scripts become fairly complex. The next step-up is to switch to Perl. There are many different versions of shells and AWK and SED interpreters. Do you always know which versions (mawk, nawk, gawk, sed, gsed, grep, ggrep...) are currently installed? These commands aren't fully compatible to each other. However, there is only one Perl 5. Simply: Perl is faster, more powerful, more expressive than any shell script can ever be, and it is also extendible through CPAN. Perl can directly talk to databases, which shell scripts can't.
        • Perl code tends to be compact so that it's much better suitable for "shell scripting" and quick "one-liners" than other languages. In my own experience: Ruby and Python code tends to blow up quickly. It doesn't mean that Ruby and Python are not suitable for this task, but I think Perl does much better.
        • Perl 5 has proven itself for decades and is a very stable/robust language. It is a battle-tested and mature as something can ever become.
        • Perl is the reference standard for regular expressions. Even so much that there is a PCRE library (Perl Compatible Regular Expressions) used by many other languages now. Perl fully integrates regular expression syntax into the language, which doesn't feel like an odd add-on like in most other languages.
        • @@ -1385,10 +1527,10 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
        • It's possible to write large programs in Perl (make difficult things possible), but it might not be the best choice here. This also leads back to the clunky object system Perl has. You could write your projects in a procedural or functional style (Perl perfectly fits here), but OOP seems to be the gold standard for large projects nowadays. Functional programming requires a different mindset, and pure procedural programming lacks abstractions.
        • Apply common sense. What is the skill set your team has? What's already widely used and supported at work? Which languages comes with the best modules for the things you want to work on? Maybe Python is the answer (better machine learning modules). Maybe Perl is the better choice (better Bioinformatic modules). Perhaps Ruby is already the de-facto standard at work and everyone knows at least a little Ruby (as it happened to be at my workplace) and Ruby is "good enough" for all the tasks already. But that's not a hindrance to throw in a Perl one-liner once in a while :P.
        -Cor - A minimal object system for the Perl core - proposal
        +Cor - Bringing modern OOP to the Perl Core

        Why all the sigils? It looks like an exploding ASCII factory!!

        -

        The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

        -

        In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@ @@ an $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

        +

        The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

        +

        In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@, @@ and $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

        https://www.perl.com/article/on-sigils/

        Where do I personally still use perl?

          @@ -1417,7 +1559,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs

          Creative universe

          -

          Published by Paul at 2022-04-10, last updated at 2022-04-18

          +

          Published by Paul at 2022-04-10 12:09:11 GMT, last updated at 2022-04-18

            .              +   .                .   . .     .  .
                              .                    .       .     *
          @@ -1524,13 +1666,13 @@ learn () {
                   
                       

          The release of DTail 4.0.0

          -

          Published by Paul at 2022-03-06

          +

          Published by Paul at 2022-03-06 20:11:39 GMT

                                         ,_---~~~~~----._
                                   _,,_,*^____      _____``*g*\"*,
             ____ _____     _ _   / __/ /'     ^.  /      \ ^@q   f
            |  _ \_   _|_ _(_) |   @f | @))    |  | @))   l  0 _/
          - | | | || |/ _ | | |  \/   \~____ / __ \_____/    \
          + | | | || |/ _` | | |  \`/   \~____ / __ \_____/    \
            | |_| || | (_| | | |   |           _l__l_           I
            |____/ |_|\__,_|_|_|   }          [______]           I
                                   ]            | | |            |
          @@ -1776,7 +1918,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
                   
                       

          Computer operating systems I use(d)

          -

          Published by Paul at 2022-02-04, updated 2022-02-18

          +

          Published by Paul at 2022-02-04 11:58:22 GMT, updated 2022-02-18

                         /(        )`
                         \ \___   / |
          @@ -1784,13 +1926,13 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
                        (/\/ \ \   /\
                        / /   | `    \
                        O O   ) /    |
          -             -^--'<     '
          +             `-^--'`<     '
                       (_.)  _  )   /
          -             .___/    /
          +             `.___/`    /
                          `-----' /
             <----.     __ / __   \
             <----|====O)))==) \) /====
          -  <----'    --' .__,' \
          +  <----'    `--' `.__,' \
                          |        |
                           \       /
                      ______( (_  / \______
          @@ -1942,7 +2084,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
                   
                       

          Welcome to the foo.zone

          -

          Published by Paul at 2022-01-23

          +

          Published by Paul at 2022-01-23 18:42:04 GMT

             __                                  
            / _| ___   ___   _______  _ __   ___ 
          @@ -1989,7 +2131,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
                   
                       

          Bash Golf Part 2

          -

          Published by Paul at 2022-01-01, last updated at 2022-01-05

          +

          Published by Paul at 2022-01-02 01:36:15 GMT, last updated at 2022-01-05

           
               '\       '\                   .  .                |>18>>
          @@ -2401,7 +2543,7 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
                   
                       

          How to stay sane as a DevOps person

          -

          Published by Paul at 2021-12-26, last updated at 2022-01-12

          +

          Published by Paul at 2021-12-26 14:02:02 GMT, last updated at 2022-01-12

                                                )
                                        )      ((     (
          @@ -2412,7 +2554,7 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
                   | //  : | -__   ~__ o)____)),__ - '> >-  >
                   | //  : |- \_ \ -\_\ -\ \ \ ~\_  \ ->> - ,  >>
                   | //  : |_~_\ -\__\ \~'\ \ \, \__ . -<-  >>
          -        -----._|   -__-- - ~~ --  --~> >
          +        `-----._| `  -__`-- - ~~ -- ` --~> >
                    _/___\_    //)_`//  | ||]
              _____[_______]_[~~-_ (.L_/  ||
             [____________________]' `\_,/'/
          @@ -2493,7 +2635,7 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
                   
                       

          Bash Golf Part 1

          -

          Published by Paul at 2021-11-29, last updated at 2022-01-05

          +

          Published by Paul at 2021-11-29 16:06:14 GMT, last updated at 2022-01-05

           
                '\                   .  .                        |>18>>
          @@ -2877,7 +3019,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                   
                       

          Defensive DevOps

          -

          Published by Paul at 2021-10-22

          +

          Published by Paul at 2021-10-22 10:02:46 GMT

                                                                       c=====e
                                                                          H
          @@ -2956,7 +3098,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                   
                       

          Keep it simple and stupid

          -

          Published by Paul at 2021-09-12, last updated at 2022-04-21

          +

          Published by Paul at 2021-09-12 09:39:20 GMT, last updated at 2022-04-21

             _______________                        |*\_/*|_______
             |  ___________  |     .-.     .-.      ||_/-\_|______  |
          @@ -3027,7 +3169,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                   
                       

          On being Pedantic about Open-Source

          -

          Published by Paul at 2021-08-01

          +

          Published by Paul at 2021-08-01 10:37:58 GMT

                                                      __
                                          _____....--' .'
          @@ -3107,7 +3249,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                   
                       

          The Well-Grounded Rubyist

          -

          Published by Paul at 2021-07-04

          +

          Published by Paul at 2021-07-04 12:51:23 GMT

          When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I decided to give Ruby a go.

          You should learn or try out one new programming language once yearly anyway. If you end up not using the new language, that's not a problem. You will learn new techniques with each new programming language and this also helps you to improve your overall programming skills even for other languages. Also, having some background in a similar programming language makes it reasonably easy to get started. Besides that, learning a new programming language is kick-a** fun!


          @@ -3188,7 +3330,7 @@ Hello World

          Gemtexter - One Bash script to rule it all

          -

          Published by Paul at 2021-06-05

          +

          Published by Paul at 2021-06-05 21:03:32 GMT

                                                                          o .,<>., o
                                                                          |\/\/\/\/|
          @@ -3210,23 +3352,23 @@ Hello World
                                                               _-'    |\  .        |
                                             _..--..   .  /"---\      | ` |      . |
                     -=====================,' _     \=(*#(7.#####()   |  `/_..   , (
          -                      _.-''`';'-''-) ,.  \ '  '+/// |   .'/   \  `-.) \
          -                    ,'  _.-  ((    -'  ._\    ` \_/_.'  )    /-._  ) |
          +                      _.-''``';'-''-) ,.  \ '  '+/// |   .'/   \  ``-.) \
          +                    ,'  _.-  ((    `-'  `._\    `` \_/_.'  )    /`-._  ) |
                             ,'\ ,'  _.'.`:-.    \.-'                 /   <_L   )"  |
          -                _/   ._,' ,');  -''                    |     L  /    /
          +                _/   `._,' ,')`;  `-'`'                    |     L  /    /
                          / `.   ,' ,|_/ / \                          (    <_-'     \
          -               \ / ./  '  / /,' \                        /|         `. |
          -               )\   /._   ,'._.-\                       |)            \'
          -              /  .'    )-'.-,' )__)                      |\            |
          -             : /. .._(--.':':/ \                      ) \             \
          +               \ / `./  '  / /,' \                        /|`         `. |
          +               )\   /`._   ,'`._.-\                       |)            \'
          +              /  `.'    )-'.-,' )__)                      |\            `|
          +             : /`. `.._(--.`':`':/ \                      ) \             \
                        |::::\     ,'/::;-))  /                      ( )`.            |
                        ||:::::  . .::':  :`-(                       |/    .          |
                        ||::::|  . :|  |==[]=:                       .        -       \
                        |||:::|  : ||  :  |  |                      /\           `     |
            ___ ___     '|;:::|  | |'   \=[]=|                     /  \                \
          -|   /_  ||`|||:::::  | ;    | |  |                     \_.'\_               -.
          -:   \_`[]--[]|::::'\_;'     )-'..._                 .-'\`::  .              \
          - \___.>''-.||:.__,'     SSt |_______>              <_____:::.         . . \  _/
          +|   /_  ||``|||:::::  | ;    | |  |                     \_.'\_               `-.
          +:   \_``[]--[]|::::'\_;'     )-'..`._                 .-'\``:: ` .              \
          + \___.>`''-.||:.__,'     SSt |_______`>              <_____:::.         . . \  _/
                                                                      `+a:f:......jrei'''
           

          You might have read my previous blog post about entering the Geminispace, where I pointed out the benefits of having and maintaining an internet presence there. This whole site (the blog and all other pages) is composed in the Gemtext markup language.

          @@ -3327,7 +3469,7 @@ assert::equals "$(generate::make_link md "$gemtext")" \

          Personal Bash coding style guide

          -

          Published by Paul at 2021-05-16

          +

          Published by Paul at 2021-05-16 16:51:57 GMT

              .---------------------------.
             /,--..---..---..---..---..--. `.
          @@ -3635,7 +3777,7 @@ fi
                   
                       

          Welcome to the Geminispace

          -

          Published by Paul at 2021-04-24, last updated at 2021-06-18, ASCII Art by Andy Hood

          +

          Published by Paul at 2021-04-24 21:28:41 GMT, last updated at 2021-06-18, ASCII Art by Andy Hood

          Have you reached this article already via Gemini? It requires a Gemini client; web browsers such as Firefox, Chrome, Safari, etc., don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is:

          https://foo.zone

          However, if you still use HTTP, you are just surfing the fallback HTML version of this capsule. In that case, I suggest reading on what this is all about :-).

          @@ -3652,7 +3794,7 @@ fi |Gemini| | | |______| - '-'- . + '-`'-` . / . \'\ . .' ''( .'\.' ' .;' '.;.;' ;'.;' ..;;' AsH @@ -3705,7 +3847,7 @@ fi

          DTail - The distributed log tail program

          -

          Published by Paul at 2021-04-22, last updated at 2021-04-26

          +

          Published by Paul at 2021-04-22 21:28:41 GMT, last updated at 2021-04-26

          DTail logo image

          This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal internet site too.

          Original Mimecast Engineering Blog post at Medium
          @@ -3786,15 +3928,15 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er

          Realistic load testing with I/O Riot for Linux

          -

          Published by Paul at 2018-06-01, last updated at 2021-05-08

          +

          Published by Paul at 2018-06-01 16:50:29 GMT, last updated at 2021-05-08

                  .---.
                 /     \
                 \.@-@./
          -      /\_/\
          +      /`\_/`\
                //  _  \\
               | \     )|_
          -   /\_>  <_/ \
          +   /`\_`>  <_/ \
           jgs\__/'---'\__/
           

          Foreword

          @@ -3925,7 +4067,7 @@ Total time: 1213.00s

          Object oriented programming with ANSI C

          -

          Published by Paul at 2016-11-20, updated 2022-01-29

          +

          Published by Paul at 2016-11-21 00:10:57 GMT, updated 2022-01-29

             ___   ___  ____        ____ 
            / _ \ / _ \|  _ \      / ___|
          @@ -4017,7 +4159,7 @@ mult.calculate(mult,a,b));
                   
                       

          Spinning up my own authoritative DNS servers

          -

          Published by Paul at 2016-05-22

          +

          Published by Paul at 2016-05-22 20:59:01 GMT

          Background

          Finally, I had time to deploy my authoritative DNS servers (master and slave) for my domains "buetow.org" and "buetow.zone". My domain name provider is Schlund Technologies. They allow their customers to edit the DNS records (BIND files) manually. And they also allow you to set your authoritative DNS servers for your domains. From now, I am making use of that option.

          Schlund Technologies
          @@ -4242,7 +4384,7 @@ apply Service "dig6" {

          Offsite backup with ZFS (Part 2)

          -

          Published by Paul at 2016-04-16

          +

          Published by Paul at 2016-04-17 00:43:42 GMT

            ________________
           |# :           : #|
          @@ -4279,7 +4421,7 @@ apply Service "dig6" {
                   
                       

          Jails and ZFS with Puppet on FreeBSD

          -

          Published by Paul at 2016-04-09

          +

          Published by Paul at 2016-04-09 20:29:47 GMT

                       __     __
                      (( \---/ ))
          @@ -4658,7 +4800,7 @@ Notice: Finished catalog run in 206.09 seconds
                   
                       

          Offsite backup with ZFS

          -

          Published by Paul at 2016-04-03

          +

          Published by Paul at 2016-04-04 00:43:42 GMT

            ________________
           |# :           : #|
          @@ -4701,7 +4843,7 @@ Notice: Finished catalog run in 206.09 seconds
                   
                       

          Run Debian on your phone with Debroid

          -

          Published by Paul at 2015-12-05, last updated at 2021-05-16

          +

          Published by Paul at 2015-12-05 18:12:57 CEST, last updated at 2021-05-16

            ____       _               _     _ 
           |  _ \  ___| |__  _ __ ___ (_) __| |
          @@ -4865,7 +5007,7 @@ exit
                   
                       

          The fibonacci.pl.raku.c Polyglot

          -

          Published by Paul at 2014-03-24, last updated 2022-04-23

          +

          Published by Paul at 2014-03-24 23:32:53 CEST, last updated at 2022-04-23

          In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it.

          https://en.wikipedia.org/wiki/Polyglot_(computing)

          The Fibonacci numbers

          @@ -5007,7 +5149,7 @@ fib(10) = 55

          Perl Daemon (Service Framework)

          -

          Published by Paul at 2011-05-07, last updated at 2021-05-07

          +

          Published by Paul at 2011-05-08 00:26:02 CEST, last updated at 2021-05-07

              a'!   _,,_ a'!   _,,_     a'!   _,,_
                \\_/    \  \\_/    \      \\_/    \.-,
          @@ -5153,7 +5295,7 @@ sub do ($) {
                   
                       

          The Fype Programming Language

          -

          Published by Paul at 2010-05-09, last updated at 2021-05-05

          +

          Published by Paul at 2010-05-09 14:48:29 CEST, last updated at 2021-05-05

                 ____                                      _        __       
                / / _|_   _ _ __   ___    _   _  ___  __ _| |__    / _|_   _ 
          @@ -5568,7 +5710,7 @@ BB
                   
                       

          Lazy Evaluation with Standard ML

          -

          Published by Paul at 2010-05-07

          +

          Published by Paul at 2010-05-07 10:17:59 CEST

           
                 _____|~~\_____      _____________
          @@ -5578,7 +5720,7 @@ BB
             _-    | )     /    |--|      |  |
            __-_______________ /__/_______|  |_________
           (                |----         |  |
          - ---------------'--\\\\      .--'          -Glyde-
          + `---------------'--\\\\      .`--'          -Glyde-
                                         `||||
           

          In contrast to Haskell, Standard SML does not use lazy evaluation by default but an eager evaluation.

          @@ -5668,7 +5810,7 @@ first 10 nat_pairs_not_null

          Standard ML and Haskell

          -

          Published by Paul at 2010-04-09

          +

          Published by Paul at 2010-04-10 00:57:36 CEST

          I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already knew a little Haskell, I could not help myself, and I also implemented the same exercises in Haskell.

          As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is a bit more "advanced". Haskell utilizes fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to write down the function types explicitly. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far, I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities.

          Haskell is also a "pure functional" programming language, whereas SML also makes explicit use of imperative concepts. I am by far not a specialist in either of these languages, but here are a few functions implemented in both SML and Haskell:

          @@ -5822,7 +5964,7 @@ my_filter f l = foldr (make_filter_fn f) [] l

          Using my Nokia N95 for fixing my MTA

          -

          Published by Paul at 2008-12-29, last updated at 2021-12-01

          +

          Published by Paul at 2008-12-29 11:10:41 CEST, last updated at 2021-12-01

           
                      _
          @@ -5868,7 +6010,7 @@ _jgs_\|//_\\|///_\V/_\|//__
                   
                       

          Perl Poetry

          -

          Published by Paul at 2008-06-26, last updated at 2021-05-04

          +

          Published by Paul at 2008-06-26 23:43:51 CEST, last updated at 2021-05-04

            '\|/'                                  *
           -- * -----
          @@ -5878,11 +6020,11 @@ _jgs_\|//_\\|///_\V/_\|//__
              :         (   (        .-''`'.
              .          \   \      /       \
              .           \    \   /         \
          -                \    -'           '.
          +                \    `-'           `'.
                            \    . '        /    `.
                             \  ( \  )     (     .')
              ,,   t          '. |  /       |     (
          -  '|`_/^\___        '|  |'-..-'|   ( ()
          +  '|``_/^\___        '|  |`'-..-'|   ( ()
           _~~|~/_|_|__/|~~~~~~~ |  / ~~~~~ |   | ~~~~~~~~
            -_  |L[|]L|/         | |\ MJP   )   )
                                 ( |(       /  /|
          diff --git a/gemfeed/index.html b/gemfeed/index.html
          index d207473f..85277f2d 100644
          --- a/gemfeed/index.html
          +++ b/gemfeed/index.html
          @@ -10,6 +10,7 @@
           
           

          Gemfeed of foo.zone

          To be in the .zone!

          +2022-11-24 - I tried (Doom) Emacs, but I switched back to (Neo)Vim
          2022-10-30 - Installing DTail on OpenBSD
          2022-09-30 - After a bad night's sleep
          2022-08-27 - Gemtexter 1.1.0 - Let's Gemtext again
          diff --git a/index.html b/index.html index 58e2d749..1a3c45ad 100644 --- a/index.html +++ b/index.html @@ -29,6 +29,7 @@ Subscribe to this blog's Atom feed
          Subscribe to this blog's Gemfeed

          Posts

          +2022-11-24 - I tried (Doom) Emacs, but I switched back to (Neo)Vim
          2022-10-30 - Installing DTail on OpenBSD
          2022-09-30 - After a bad night's sleep
          2022-08-27 - Gemtexter 1.1.0 - Let's Gemtext again
          diff --git a/other-resources.html b/other-resources.html index 407f2849..7de92629 100644 --- a/other-resources.html +++ b/other-resources.html @@ -18,10 +18,10 @@ ` ' . ' . ,'`. . . .." _.-;' `. . - _.-".##%"_.--" ,' . "#" ___,,od000 + _.-"`.##%"_.--" ,' `. "#" ___,,od000 ,'"-_ _.-.--"\ ,' `-_ '%#%',,/////00000HH - ,' |_.' )/- __..--""-_`-._ J L/////00000HHHHM - . + ,' _.-" / / _-"" -._-_/___\///0000HHHHMMM + ,' |_.' )`/- __..--""`-_`-._ J L/////00000HHHHM + . + ,' _.-" / / _-"" `-._`-_/___\///0000HHHHMMM .'_.-"" ' :_/_.-' _,`-/__V__\0000HHHHHMMMM . _-"" . ' _,////\ | /000HHHHHMMMMM _-" . ' + . . ,//////0\ | /00HHHHHHHMMMMM @@ -85,7 +85,6 @@ _-" . ' + . . ,//////0\ | /00HHHHHHHMMMMM

          Currently reading

          • 2003 - Absolution Gap (en) / Offenbarung (de) - Revelation Space Universe
          • -
          • 1990 - Use of Weapons (en) - Culture Book 3, Audio book

          Unread books already in my shelf

            diff --git a/paul.jpg b/paul.jpg deleted file mode 100644 index 5f73c0de..00000000 Binary files a/paul.jpg and /dev/null differ diff --git a/style.css b/style.css index eab41b78..8b74a0a4 100644 --- a/style.css +++ b/style.css @@ -35,7 +35,7 @@ body { display: block; border-style: solid; border-width: 1px; - border-color: #232323; + border-color: #eeeeee; margin-bottom: 50px; } @@ -110,6 +110,7 @@ ul { } li { + color: purple; margin-left: 1em; margin-bottom: 0.25em; } @@ -127,17 +128,23 @@ img { } pre { - color: #000000; + color: #ffa500; + background-color: #000000; font-family: monospace; padding: 0; overflow-x: auto; scrollbar-width: none; - padding-left: 12px; + margin-left: 23px; + margin-right: 23px; + padding: 23px; + border: 4px solid #aaaaaa; + border-style: ridge; } span.inlinecode { - color: #000000; font-family: monospace; - filter: invert(1) grayscale(1); - -webkit-filter: invert(1) grayscale(1); + border: 2px solid #aaaaaa; + color: #ffa500; + padding: 1px; + background-color: #000000; } -- cgit v1.2.3 From f58a040f185c177cb237c6a53e3d464207bd8669 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:08:00 +0200 Subject: Update content for html --- ...ried-doom-emacs-but-i-switched-back-to-vim.html | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100644 gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html diff --git a/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html b/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html deleted file mode 100644 index c06c7732..00000000 --- a/gemfeed/DRAFT-i-tried-doom-emacs-but-i-switched-back-to-vim.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -I tried Doom Emacs, but I switched back to (Neo)Vim - - - - - -

            I tried Doom Emacs, but I switched back to (Neo)Vim

            -

            As a long-lasting user of Vim (and NeoVim), I always wondered what the fuzz about Emacs is about! So I decided to give Emacs a try. I tried out Emacs, but Doom Emacs and not vanilla Emacs. I chose Doom Emacs as it is a pretty neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings, and I am pretty sure I won't be ready to give up all the Vi muscle memory I have built over more than ten years.

            -

            I used Doom Emacs for around two months, but ultimately I decided to switch back to NeoVim as my primary editor and IDE and Vim as my "always available editor" for quick edits. So why is that?

            -

            Emacs is a monster

            -

            Emacs feels like a monster as it is much more than an editor or an integrated development environment. Emacs is a whole platform on its own. There's an E-Mail client, an IRC client, or even games you can run within Emacs. And you can also change Emacs within Emacs using its own Lisp dialect, Emacs Lisp. Therefore, Emacs is also its own programming language... You can change every aspect of Emacs within Emacs. People jokingly state Emacs is an operating system and that you should directly boot into Emacs as the init 1 process!

            -

            In many aspects, Emacs is like shooting at everything with a rail gun! However, I prefer it simple. I only wanted Emacs to be a good editor (which it is, too), but there's too much other stuff in Emacs that I, frankly, don't care about! Vim and NeoVim do one thing excellent: Being great text editors and, when loaded with plugins, a decent IDEs, too. Yes, VimScript, to program the editor, feels clunky and is by far not as elegant as Emacs Lisp, but it gets its job done! NeoVim is also programmable with Lua, which seems to be a step up.

            -

            Magit love

            -

            I almost fell in love with Magit, a fully integrated Git client for Emacs. But I think the best way to interact with Git is to use the git command line directly. I don't worry about typing out all the commands, as the most commonly used commands are in my shell history. Other useful Git programs I use frequently are bit and tig.

            -

            Magit is pretty neat for basic Git operations, but I found myself searching the internet for the correct sub-commands to do the things I wanted to do in Git. Mainly I found the way how branches are managed confusing. Often, I fell back to the command line to fix up the mess I produced with Magit (e.g. accidentally pushing to the wrong remote branch).

            -

            Seeking simplicity

            -

            I am not ready to dive deep into the whole world of Emacs. I prefer small and simple tools as opposed to complex tools. Emacs comes with many features out of the box, whereas in Vim/NeoVim, you would need to install many plugins to replicate the behaviour. Yes, I need to invest time managing all the Vim/NeoVim plugins I use, but I feel more in control compared to Doom Emacs, where a framework around vanilla Emacs manages all the plugins. I could use vanilla Emacs and manage all my plugins the vanilla way, but for me, it's not worth the effort to learn and dive into that as all that I want to do I can already do with Vim/NeoVim.

            -

            I am not saying that Vim/NeoVim are simple programs, but they are much simpler than Emacs with much smaller footprints; furthermore, they appear to be more straightforward as I am used to them. I only need Vim/NeoVim to be an editor, an IDE (through some plugins), and nothing more.

            -

            Scripting it

            -

            It is possible to customize every aspect of Emacs through Emacs Lisp. I have done some Elk Scheme programming in the past (a dialect of Lisp), but that was a long time ago, and I am not willing to dive here again to customize my environment. I would rather take the pragmatic approach and script what I need in VimScript (a terrible language, but it gets the job done!). I watched Damian Conway's VimScript course on O'Reilly Safari Books Online, which I greatly recommend.

            -Scripting Vim by Damian Conway
            -

            One example is my workflow of how I write blog articles. I am writing everything in NeoVim, but I also want to have every paragraph checked against Grammarly (as English is not my first language). So I write a whole paragraph, then I select the entire paragraph via visual selection with SHIFT+v, and then I press ,y to yank the paragraph to the systems clipboard, then I paste the paragraph to Grammarly's browser window, let Grammarly suggest the improvements, and then I copy the result back to the system clipboard and in NeoVim I type ,i to insert the result back overriding the old paragraph with the new content. That all sounds a bit complicated, but it's surprisingly natural and efficient.

            -

            For the clipboard integration, I use this small VimScript snippet, and I didn't have to dig into any Lisp for this:

            -
            -" Clipboard
            -
            -if uname != 'Darwin'
            -  vnoremap ,y !gpaste-client<CR>ugv
            -  vnoremap ,i !gpaste-client --use-index get 0<CR>
            -  nmap ,i !wgpaste-client --use-index get 0<CR>
            -else
            -  vnoremap ,y !pbcopy<CR>ugv
            -  vnoremap ,i !pbpaste<CR>
            -  nmap ,i !wpbpaste<CR>
            -endif
            -

            -

            The famous Org mode

            -

            Org mode: Ranger

            -

            Conclusion

            -

            I believe I started to understand the Emacs users now. Emacs is a incredible powerful platform for almost everything not just for text editing. If you want to have one piece of software which rules it all and you are happy to invest a large part of your time in your platform: Pick Emacs and over time Emacs will become "your" Emacs, customized to your own needs which makes the Emacs users stick even more to it. With Emacs you can do nearly everything (Editing, programming, calendar scheduling and note taking, Jira integration, play games, read/write emails, browse the web, use as a calculator, generate HTML pages, configure interactive menus, jump around between every feature and every file within one single session, chat on IRC, surf the Gotherspace, ... the options are endless....).

            -

            Vim/NeoVim comes also with a very high degree of customization options, but to a lesser extreme than Emacs. If you want to have the best editor of the world, which can also be tweaked to be a decent IDE, and that's you are only looking for: Pick Vim or NeoVim! You would also need to invest a lot of time in learning, tweaking and customizing Vim/NeoVim, but I think that's a little bit more straightforward and the end-result is much more lightweight.

            - - - -- cgit v1.2.3 From dd7d6e3283cd82f726652851def0cef84b0d7398 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:09:53 +0200 Subject: Update content for html --- gemfeed/2022-05-27-perl-is-still-a-great-choice.html | 7 ------- gemfeed/atom.xml | 11 ----------- 2 files changed, 18 deletions(-) diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html index 14204e64..ab0240b3 100644 --- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html @@ -9,11 +9,7 @@

            Perl is still a great choice

            -<<<<<<< HEAD

            Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD

            -======= -

            Published by Paul at 2022-05-27 09:50:12 GMT, Comic source: XKCD

            ->>>>>>> 344c44a6a40e8e5a3073cc1cb3f3a64627188c73

            Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

            Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

            @@ -58,10 +54,7 @@ The OpenBSD Operating System
            Why does OpenBSD still include Perl in its base installation?

            The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas use strict;, use warnings;, use signatures; and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) reputation.

            -<<<<<<< HEAD

            Update 2022-12-10: A reader pointed out, that use v5.36; already turns strict, warnings and signatures pragmas automatically on!

            -======= ->>>>>>> 344c44a6a40e8e5a3073cc1cb3f3a64627188c73 Announcing Perl 7
            What happened to Perl 7? (maybe have to use use v7;)

            Update 2022-12-10: A reader pointed out, that Perl 7 needs to provide a big improvement to earn and keep the attention for a major version bump.

            diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index c1de19ee..80ce7de9 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,10 +1,6 @@ -<<<<<<< HEAD 2022-12-10T13:06:19+02:00 -======= - 2022-12-08T11:10:37+02:00 ->>>>>>> 344c44a6a40e8e5a3073cc1cb3f3a64627188c73 foo.zone feed To be in the .zone! @@ -1460,11 +1456,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs

            Perl is still a great choice

            -<<<<<<< HEAD

            Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD

            -======= -

            Published by Paul at 2022-05-27 09:50:12 GMT, Comic source: XKCD

            ->>>>>>> 344c44a6a40e8e5a3073cc1cb3f3a64627188c73

            Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

            Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

            @@ -1509,10 +1501,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs The OpenBSD Operating System
            Why does OpenBSD still include Perl in its base installation?

            The renaming of Perl 6 to Raku has now opened the door for a future Perl 7. As far as I understand, Perl 7 will be Perl 5 but with modern features enabled by default (e.g. pragmas use strict;, use warnings;, use signatures; and so on. Also, the hope is that a Perl 7 with modern standards will attract more beginners. There aren't many Perl jobs out there nowadays. That's mostly due to Perl's bad (bad for no real reasons) reputation.

            -<<<<<<< HEAD

            Update 2022-12-10: A reader pointed out, that use v5.36; already turns strict, warnings and signatures pragmas automatically on!

            -======= ->>>>>>> 344c44a6a40e8e5a3073cc1cb3f3a64627188c73 Announcing Perl 7
            What happened to Perl 7? (maybe have to use use v7;)

            Update 2022-12-10: A reader pointed out, that Perl 7 needs to provide a big improvement to earn and keep the attention for a major version bump.

            -- cgit v1.2.3 From 51c6a2ab15edfe2992af7f0ce69261d0c86faaeb Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:16:09 +0200 Subject: Update content for html --- gemfeed/2022-05-27-perl-is-still-a-great-choice.html | 4 ++-- gemfeed/atom.xml | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html index ab0240b3..3e61c85e 100644 --- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html @@ -9,7 +9,7 @@

            Perl is still a great choice

            -

            Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD

            +

            Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD


            Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

            Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

            @@ -44,7 +44,7 @@

            So it means that Perl and Raku now exist in parallel. They influence each other, but are different programming languages now. So why not just all use Raku instead of Perl? There are still a couple of reasons of why to choose Perl over Raku:

            • Many programmers already know Perl and many scripts are already written in Perl. It's possible to call Perl code from Raku (either inline or as a library) and it is also possible to auto-convert Perl code into Raku code, but that's either a workaround or involves some kind of additional work.
            • -
            • Perl 5 comes with a great backwards compatibility. Perl scripts from 5.000 will generally still work on a recent version of Perl. New features usually have to be enabled via a so-called "use pragmas". For example, in order to enable sub signatures, "use signatures;" has to be specified.
            • +
            • Perl 5 comes with a great backwards compatibility. Perl scripts from 5.000 will generally still work on a recent version of Perl. New features usually have to be enabled via a so-called "use pragmas". For example, in order to enable sub signatures, use signatures; has to be specified.
            • Perl is pre-installed almost everywhere. Fancy running a quick one-off script? In almost all cases, there's no need to install Perl first - it's already there on almost any Linux or *BSD or Unix or other Unix like operating system!
            • Perl has been ported to "zillions" of platforms. One day I found myself on a VMS box. Perl doesn't come installed by default on VMS, but the admin installed Perl there already. The whole operating system was very strange to me, but I was able to write "shell scripts" in Perl and became productive pretty quickly on VMS without knowing almost anything about VMS :-).
            • Perl is reliable. It has been proven itself "millions" of times, over and over again. Large enterprises, such as booking.com, heavily rely on Perl. Did you know that the package manager of the OpenBSD operating system is programmed in Perl, too?
            • diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 80ce7de9..df0810bb 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2022-12-10T13:06:19+02:00 + 2022-12-10T13:15:56+02:00 foo.zone feed To be in the .zone! @@ -1455,8 +1455,12 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. 'Perl' is the name of the language and 'perl' the name of the interpreter or the interpreter command.. .....to read on please visit my site.
              -

              Perl is still a great choice

              -

              Published by Paul at 2022-05-27, last updated at 2022-12-10 Comic source: XKCD

              + 1c1 +< -rw-r--r--. 1 paul paul 16466 Dec 10 13:03 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +--- +> -rw-r--r--. 1 paul paul 16467 Dec 10 13:15 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +

              Perl is still a great choice

              +

              Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD


              Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

              Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

              @@ -1491,7 +1495,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs

              So it means that Perl and Raku now exist in parallel. They influence each other, but are different programming languages now. So why not just all use Raku instead of Perl? There are still a couple of reasons of why to choose Perl over Raku:

              • Many programmers already know Perl and many scripts are already written in Perl. It's possible to call Perl code from Raku (either inline or as a library) and it is also possible to auto-convert Perl code into Raku code, but that's either a workaround or involves some kind of additional work.
              • -
              • Perl 5 comes with a great backwards compatibility. Perl scripts from 5.000 will generally still work on a recent version of Perl. New features usually have to be enabled via a so-called "use pragmas". For example, in order to enable sub signatures, "use signatures;" has to be specified.
              • +
              • Perl 5 comes with a great backwards compatibility. Perl scripts from 5.000 will generally still work on a recent version of Perl. New features usually have to be enabled via a so-called "use pragmas". For example, in order to enable sub signatures, use signatures; has to be specified.
              • Perl is pre-installed almost everywhere. Fancy running a quick one-off script? In almost all cases, there's no need to install Perl first - it's already there on almost any Linux or *BSD or Unix or other Unix like operating system!
              • Perl has been ported to "zillions" of platforms. One day I found myself on a VMS box. Perl doesn't come installed by default on VMS, but the admin installed Perl there already. The whole operating system was very strange to me, but I was able to write "shell scripts" in Perl and became productive pretty quickly on VMS without knowing almost anything about VMS :-).
              • Perl is reliable. It has been proven itself "millions" of times, over and over again. Large enterprises, such as booking.com, heavily rely on Perl. Did you know that the package manager of the OpenBSD operating system is programmed in Perl, too?
              • -- cgit v1.2.3 From 0b0649224940eed274131529028761ce832a8d64 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:17:37 +0200 Subject: Update content for html --- gemfeed/2022-05-27-perl-is-still-a-great-choice.html | 2 +- gemfeed/atom.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html index 3e61c85e..ca104da3 100644 --- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html @@ -75,7 +75,7 @@ Taint checking

                Here are some reasons why not to chose Perl and look for "better" alternatives:

                  -
                • If performance is your main objectives, then Perl might not be the language to use. Perl is a dynamic interpreted language, and it will generally never be as fast as statically typed languages compiled to native binaries (e.g. C/C++/Rust/Haskell) or statically typed languages run in a VM with JIT (e.g. Java) or gradually typed languages run in a VM (e.g. Raku) or languages like Golang (statically typed, compiled to a binary but still with a runtime in the binary). Perl might be still faster than the other language listed here in certain circumstances (e.g. faster startup time than Java), but usually it's not. It's not a problem of Perl, it's a problem of all dynamic scripting languages including Python, Ruby, ....
                • +
                • If performance is your main objectives, then Perl might not be the language to use. Perl is a dynamic interpreted language, and it will generally never be as fast as statically typed languages compiled to native binaries (e.g. C/C++/Rust/Haskell) or statically typed languages run in a VM with JIT (e.g. Java) or gradually typed languages run in a VM (e.g. Raku) or languages like Golang (statically typed, compiled to a binary but still with a runtime in the binary). Perl might be still faster than the other language listed here in certain circumstances (e.g. faster startup time than Java or faster regular expressions engine), but usually it's not. It's not a problem of Perl, it's a problem of all dynamic scripting languages including Python, Ruby, ....
                • Don't use Perl (just yet) if you want to code object-oriented. Perl supports OOP, but it feels clunky and odd to use (blessed references to any data types are objects) and doesn't support real encapsulation out of the box. There are many (many) extensions available on CPAN to make OOP better, but that's totally fragmented. The most popular extension, Moose, comes with a huge dependency tree. But wait for Perl 7. It will maybe come with a new object system (an object system inspired by Raku).
                • It's possible to write large programs in Perl (make difficult things possible), but it might not be the best choice here. This also leads back to the clunky object system Perl has. You could write your projects in a procedural or functional style (Perl perfectly fits here), but OOP seems to be the gold standard for large projects nowadays. Functional programming requires a different mindset, and pure procedural programming lacks abstractions.
                • Apply common sense. What is the skill set your team has? What's already widely used and supported at work? Which languages comes with the best modules for the things you want to work on? Maybe Python is the answer (better machine learning modules). Maybe Perl is the better choice (better Bioinformatic modules). Perhaps Ruby is already the de-facto standard at work and everyone knows at least a little Ruby (as it happened to be at my workplace) and Ruby is "good enough" for all the tasks already. But that's not a hindrance to throw in a Perl one-liner once in a while :P.
                • diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index df0810bb..c69fd75c 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2022-12-10T13:15:56+02:00 + 2022-12-10T13:17:18+02:00 foo.zone feed To be in the .zone! @@ -1456,9 +1456,9 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
                  1c1 -< -rw-r--r--. 1 paul paul 16466 Dec 10 13:03 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +< -rw-r--r--. 1 paul paul 16467 Dec 10 13:15 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html --- -> -rw-r--r--. 1 paul paul 16467 Dec 10 13:15 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +> -rw-r--r--. 1 paul paul 16504 Dec 10 13:17 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html

                  Perl is still a great choice

                  Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD


                  @@ -1526,7 +1526,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs Taint checking

                  Here are some reasons why not to chose Perl and look for "better" alternatives:

                    -
                  • If performance is your main objectives, then Perl might not be the language to use. Perl is a dynamic interpreted language, and it will generally never be as fast as statically typed languages compiled to native binaries (e.g. C/C++/Rust/Haskell) or statically typed languages run in a VM with JIT (e.g. Java) or gradually typed languages run in a VM (e.g. Raku) or languages like Golang (statically typed, compiled to a binary but still with a runtime in the binary). Perl might be still faster than the other language listed here in certain circumstances (e.g. faster startup time than Java), but usually it's not. It's not a problem of Perl, it's a problem of all dynamic scripting languages including Python, Ruby, ....
                  • +
                  • If performance is your main objectives, then Perl might not be the language to use. Perl is a dynamic interpreted language, and it will generally never be as fast as statically typed languages compiled to native binaries (e.g. C/C++/Rust/Haskell) or statically typed languages run in a VM with JIT (e.g. Java) or gradually typed languages run in a VM (e.g. Raku) or languages like Golang (statically typed, compiled to a binary but still with a runtime in the binary). Perl might be still faster than the other language listed here in certain circumstances (e.g. faster startup time than Java or faster regular expressions engine), but usually it's not. It's not a problem of Perl, it's a problem of all dynamic scripting languages including Python, Ruby, ....
                  • Don't use Perl (just yet) if you want to code object-oriented. Perl supports OOP, but it feels clunky and odd to use (blessed references to any data types are objects) and doesn't support real encapsulation out of the box. There are many (many) extensions available on CPAN to make OOP better, but that's totally fragmented. The most popular extension, Moose, comes with a huge dependency tree. But wait for Perl 7. It will maybe come with a new object system (an object system inspired by Raku).
                  • It's possible to write large programs in Perl (make difficult things possible), but it might not be the best choice here. This also leads back to the clunky object system Perl has. You could write your projects in a procedural or functional style (Perl perfectly fits here), but OOP seems to be the gold standard for large projects nowadays. Functional programming requires a different mindset, and pure procedural programming lacks abstractions.
                  • Apply common sense. What is the skill set your team has? What's already widely used and supported at work? Which languages comes with the best modules for the things you want to work on? Maybe Python is the answer (better machine learning modules). Maybe Perl is the better choice (better Bioinformatic modules). Perhaps Ruby is already the de-facto standard at work and everyone knows at least a little Ruby (as it happened to be at my workplace) and Ruby is "good enough" for all the tasks already. But that's not a hindrance to throw in a Perl one-liner once in a while :P.
                  • -- cgit v1.2.3 From f2a047e64b0c4758443c723d5d47945667c5e5b5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Dec 2022 13:22:01 +0200 Subject: Update content for html --- gemfeed/atom.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index c69fd75c..e47aae46 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2022-12-10T13:17:18+02:00 + 2022-12-10T13:21:22+02:00 foo.zone feed To be in the .zone! @@ -1455,11 +1455,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. 'Perl' is the name of the language and 'perl' the name of the interpreter or the interpreter command.. .....to read on please visit my site.
                    - 1c1 -< -rw-r--r--. 1 paul paul 16467 Dec 10 13:15 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html ---- -> -rw-r--r--. 1 paul paul 16504 Dec 10 13:17 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html -

                    Perl is still a great choice

                    +

                    Perl is still a great choice

                    Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD


                    Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

                    -- cgit v1.2.3 From b69cd0fb7288ac00f6eb1ae925363e5307a6ebee Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 17 Dec 2022 11:17:43 +0000 Subject: Update content for html --- .../2022-05-27-perl-is-still-a-great-choice.html | 6 +- gemfeed/atom.xml | 224 +++++++++++++++++---- 2 files changed, 189 insertions(+), 41 deletions(-) diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html index ca104da3..44e860db 100644 --- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html @@ -9,7 +9,7 @@

                    Perl is still a great choice

                    -

                    Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD

                    +

                    Published by Paul at 2022-05-27, last updated at 2022-12-17, Comic source: XKCD


                    Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

                    Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

                    @@ -82,7 +82,7 @@
                  Cor - Bringing modern OOP to the Perl Core

                  Why all the sigils? It looks like an exploding ASCII factory!!

                  -

                  The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

                  +

                  The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

                  In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@, @@ and $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

                  https://www.perl.com/article/on-sigils/

                  Where do I personally still use perl?

                  @@ -95,6 +95,8 @@

                Btw.: Did you know that the first version of PHP was a set of Perl snippets? Only later, PHP became an independent programming language.

                https://www.perl.org
                +

                Update 2022-12-17: The followingf is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

                +Why Perl is still relevant in 2022

                E-Mail your comments to paul at buetow dot org! :-)

                Go back to the main site
                As a long-lasting user of Vim (and NeoVim), I always wondered what GNU Emacs is really about, so I decided to try it. I didn't try vanilla GNU Emacs, but Doom Emacs. I chose Doom Emacs as it is a neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings (so to speak, it's emulating Vim within Emacs), and I am pretty sure I won't be ready to give up all the muscle memory I have built over more than a decade.. .....to read on please visit my site.
                -

                I tried (Doom) Emacs, but I switched back to (Neo)Vim

                + 1c1 +< -rw-r--r--. 1 paul paul 14674 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html +--- +> -rw-r--r--. 1 paul paul 14674 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html +

                I tried (Doom) Emacs, but I switched back to (Neo)Vim

                Published by Paul at 2022-11-24 11:17:15 EET, last updated at 2022-11-26

                              _/  \    _(\(o
                @@ -162,7 +166,11 @@ nmap ,j :call OpenJournalPage()<CR>
                         This will be a quick blog post, as I am busy with my personal life now. I have relocated to a different country and am still busy arranging things. So bear with me :-). .....to read on please visit my site.
                         
                             
                -

                Installing DTail on OpenBSD

                + 1c1 +< -rw-r--r--. 1 paul paul 13450 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html +--- +> -rw-r--r--. 1 paul paul 13450 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html +

                Installing DTail on OpenBSD

                Published by Paul at 2022-10-30 11:03:19 EET

                        ,_---~~~~~----._
                @@ -457,7 +465,11 @@ REMOTE|fishfinger|100|7|fstab|093f510ec5c0f512.h /usr/local ffs rw,wxallowed,nod
                         Everyone has it once a while: A bad night's sleep. Here I attempt to list useful tips how to deal with it.. .....to read on please visit my site.
                         
                             
                -

                After a bad night's sleep

                + 1c1 +< -rw-r--r--. 1 paul paul 6755 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html +--- +> -rw-r--r--. 1 paul paul 6755 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html +

                After a bad night's sleep

                Published by Paul at 2022-09-30 09:53:23 EEST, last updated at 2022-10-12

                                z
                @@ -531,7 +543,11 @@ jgs                (________\  \
                         I am proud to announce that I've released Gemtexter version `1.1.0`. What is Gemtexter? It's my static site generator written in GNU Bash:. .....to read on please visit my site.
                         
                             
                -

                Gemtexter 1.1.0 - Let's Gemtext again

                + 1c1 +< -rw-r--r--. 1 paul paul 4106 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html +--- +> -rw-r--r--. 1 paul paul 4106 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html +

                Gemtexter 1.1.0 - Let's Gemtext again

                Published by Paul at 2022-08-27 20:25:57 EEST

                 -=[ typewriter ]=-  1/98
                @@ -607,7 +623,11 @@ check_dependencies () {
                         I was amazed how easy it is to automatically generate and update Let's Encrypt certificates with OpenBSD.. .....to read on please visit my site.
                         
                             
                -

                Let's Encrypt with OpenBSD and Rex

                + 1c1 +< -rw-r--r--. 1 paul paul 21434 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html +--- +> -rw-r--r--. 1 paul paul 21434 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html +

                Let's Encrypt with OpenBSD and Rex

                Published by Paul at 2022-07-30 14:14:31 EEST

                                                                /    _    \
                @@ -1214,7 +1234,11 @@ rex commons
                         This blog post is a bit different from the others. It consists of multiple but smaller projects worth mentioning. I got inspired by Julia Evan's 'Tiny programs' blog post and the side projects of The Sephist, so I thought I would also write a blog posts listing a couple of small projects of mine:. .....to read on please visit my site.
                         
                             
                -

                Sweating the small stuff - Tiny projects of mine

                + 1c1 +< -rw-r--r--. 1 paul paul 20530 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-06-15-sweating-the-small-stuff.html +--- +> -rw-r--r--. 1 paul paul 20530 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-06-15-sweating-the-small-stuff.html +

                Sweating the small stuff - Tiny projects of mine

                Published by Paul at 2022-06-15 10:47:44 GMT, last updated at 2022-06-18

                          _
                @@ -1455,8 +1479,12 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
                         Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. 'Perl' is the name of the language and 'perl' the name of the interpreter or the interpreter command.. .....to read on please visit my site.
                         
                             
                -

                Perl is still a great choice

                -

                Published by Paul at 2022-05-27, last updated at 2022-12-10, Comic source: XKCD

                + 1c1 +< -rw-r--r--. 1 paul paul 16504 Dec 10 13:17 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +--- +> -rw-r--r--. 1 paul paul 16790 Dec 17 11:16 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +

                Perl is still a great choice

                +

                Published by Paul at 2022-05-27, last updated at 2022-12-17, Comic source: XKCD


                Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

                Unfortunately (it makes me sad), Perl's popularity has been declining over the last years as Google trends shows:

                @@ -1529,7 +1557,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
              Cor - Bringing modern OOP to the Perl Core

              Why all the sigils? It looks like an exploding ASCII factory!!

              -

              The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

              +

              The sigils $ @ % & (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. $scalar is a scalar variable (holding a single value), @array is an array (holding a list of values), %hash holds a list of key-value pairs and &sub is for subroutines. A given variable $ref can also hold reference to something. @$arrayref dereferences a reference to an array, %$hashref to a hash, $$scalarref to a scalar, &$subref dereferences a referene to a subroutine, etc. That can be encapsulated as deep as you want. (This paragraph only scratched the surface here of what Perl can do, and there is a lot of syntactic sugar not mentioned here).

              In most other programming languages, you won't know instantly what's the "basic type" of a given variable without looking at the variable declaration or the variable name (If named intelligently, e.g. a variable name containing a list of socks is "sock_list"). Even Ruby makes some use of sigils (@, @@ and $), but that's for a different purpose than in Perl (in Ruby it is about object scope, class scope and global scope). Raku uses all the sigils Perl uses plus an additional bunch of twigils, e.g. $.foo for a scalar object variable with public accessors, $!foo for a private scalar object variable, @.foo, @!foo, %.foo, %!foo and so on. Sigils (and twigils) are very convenient once you get used to them. Don't let them scare you off - they are there to help you!

              https://www.perl.com/article/on-sigils/

              Where do I personally still use perl?

              @@ -1542,6 +1570,8 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs

            Btw.: Did you know that the first version of PHP was a set of Perl snippets? Only later, PHP became an independent programming language.

            https://www.perl.org
            +

            Update 2022-12-17: The followingf is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

            +Why Perl is still relevant in 2022

            E-Mail your comments to paul at buetow dot org! :-)

            @@ -1558,7 +1588,11 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs I have been participating in an annual work-internal project contest (we call it Pet Project contest) since I moved to London and switched jobs to my current employer. I am very happy to say that I won a 'silver' prize last week here 🎆. Over the last couple of years I have been a finalist in this contest six times and won some kind of prize five times. Some of my projects were also released as open source software. One had a magazine article published, and for another one I wrote an article on my employer's engineering blog. If you have followed all my posts on this blog (the one you are currently reading), then you have probably figured out what these projects were:. .....to read on please visit my site.
            -

            Creative universe

            + 1c1 +< -rw-r--r--. 1 paul paul 14577 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-04-10-creative-universe.html +--- +> -rw-r--r--. 1 paul paul 14577 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-04-10-creative-universe.html +

            Creative universe

            Published by Paul at 2022-04-10 12:09:11 GMT, last updated at 2022-04-18

              .              +   .                .   . .     .  .
            @@ -1665,7 +1699,11 @@ learn () {
                     I have recently released DTail 4.0.0 and this blog post goes through all the new goodies. You can also read my previous post about DTail in case you wonder what DTail is:. .....to read on please visit my site.
                     
                         
            -

            The release of DTail 4.0.0

            + 1c1 +< -rw-r--r--. 1 paul paul 11948 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html +--- +> -rw-r--r--. 1 paul paul 11948 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html +

            The release of DTail 4.0.0

            Published by Paul at 2022-03-06 20:11:39 GMT

                                           ,_---~~~~~----._
            @@ -1917,7 +1955,11 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
                     This is a list of Operating Systems I currently use. This list is in no particular order and also will be updated over time. The very first operating system I used was MS-DOS (mainly for games) and the very first Unix like operating system I used was SuSE Linux 5.3. My first smartphone OS was Symbian on a clunky Sony Ericsson device.. .....to read on please visit my site.
                     
                         
            -

            Computer operating systems I use(d)

            + 1c1 +< -rw-r--r--. 1 paul paul 15975 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-02-04-computer-operating-systems-i-use.html +--- +> -rw-r--r--. 1 paul paul 15975 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-02-04-computer-operating-systems-i-use.html +

            Computer operating systems I use(d)

            Published by Paul at 2022-02-04 11:58:22 GMT, updated 2022-02-18

                           /(        )`
            @@ -2083,7 +2125,11 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
                     I don't count this as a real blog post, but more of an announcement (I aim to write one real post once monthly). From now on, 'foo.zone' is the new address of this site. All other addresses will still forward to it and eventually (based on the traffic still going through) will be deactivated.. .....to read on please visit my site.
                     
                         
            -

            Welcome to the foo.zone

            + 1c1 +< -rw-r--r--. 1 paul paul 3377 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-01-23-welcome-to-the-foo.zone.html +--- +> -rw-r--r--. 1 paul paul 3377 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-01-23-welcome-to-the-foo.zone.html +

            Welcome to the foo.zone

            Published by Paul at 2022-01-23 18:42:04 GMT

               __                                  
            @@ -2130,7 +2176,11 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
                     This is the second blog post about my Bash Golf series. This series is random Bash tips, tricks and weirdnesses I came across. It's a collection of smaller articles I wrote in an older (in German language) blog, which I translated and refreshed with some new content.. .....to read on please visit my site.
                     
                         
            -

            Bash Golf Part 2

            + 1c1 +< -rw-r--r--. 1 paul paul 13098 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-01-01-bash-golf-part-2.html +--- +> -rw-r--r--. 1 paul paul 13098 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-01-01-bash-golf-part-2.html +

            Bash Golf Part 2

            Published by Paul at 2022-01-02 01:36:15 GMT, last updated at 2022-01-05

             
            @@ -2542,7 +2592,11 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
                     Log4shell (CVE-2021-44228) made it clear, once again, that working in information technology is not an easy job (especially when you are a DevOps/SRE or a security engineer). I thought it would be interesting to summarize a few techniques to help you to relax.. .....to read on please visit my site.
                     
                         
            -

            How to stay sane as a DevOps person

            + 1c1 +< -rw-r--r--. 1 paul paul 13672 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html +--- +> -rw-r--r--. 1 paul paul 13672 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html +

            How to stay sane as a DevOps person

            Published by Paul at 2021-12-26 14:02:02 GMT, last updated at 2022-01-12

                                                  )
            @@ -2634,7 +2688,11 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
                     This is the first blog post about my Bash Golf series. This series is random Bash tips, tricks and weirdnesses I came across. It's a collection of smaller articles I wrote in an older (in German language) blog, which I translated and refreshed with some new content.. .....to read on please visit my site.
                     
                         
            -

            Bash Golf Part 1

            + 1c1 +< -rw-r--r--. 1 paul paul 14200 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-11-29-bash-golf-part-1.html +--- +> -rw-r--r--. 1 paul paul 14200 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-11-29-bash-golf-part-1.html +

            Bash Golf Part 1

            Published by Paul at 2021-11-29 16:06:14 GMT, last updated at 2022-01-05

             
            @@ -3018,7 +3076,11 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                     I have seen many different setups and infrastructures during my carreer. My roles always included front-line ad-hoc fire fighting production issues. This often involves identifying and fixing these under time pressure, without the comfort of 2-week-long SCRUM sprints and without an exhaustive QA process. I also wrote a lot of code (Bash, Ruby, Perl, Go, and a little Java), and I followed the typical software development process, but that did not always apply to critical production issues.. .....to read on please visit my site.
                     
                         
            -

            Defensive DevOps

            + 1c1 +< -rw-r--r--. 1 paul paul 13797 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-10-22-defensive-devops.html +--- +> -rw-r--r--. 1 paul paul 13797 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-10-22-defensive-devops.html +

            Defensive DevOps

            Published by Paul at 2021-10-22 10:02:46 GMT

                                                                         c=====e
            @@ -3097,7 +3159,11 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                     A robust computer system must be kept simple and stupid (KISS). The fancier the system is, the more can break. Unfortunately, most systems tend to become complex and challenging to maintain in today's world. In the early days, so I was told, engineers understood every part of the system, but nowadays, we see more of the 'lasagna' stack. One layer or framework is built on top of another layer, and in the end, nobody has got a clue what's going on.. .....to read on please visit my site.
                     
                         
            -

            Keep it simple and stupid

            + 1c1 +< -rw-r--r--. 1 paul paul 9425 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-09-12-keep-it-simple-and-stupid.html +--- +> -rw-r--r--. 1 paul paul 9425 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-09-12-keep-it-simple-and-stupid.html +

            Keep it simple and stupid

            Published by Paul at 2021-09-12 09:39:20 GMT, last updated at 2022-04-21

               _______________                        |*\_/*|_______
            @@ -3168,7 +3234,11 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                     I believe that it is essential to always have free and open-source alternatives to any kind of closed-source proprietary software available to choose from. But there are a couple of points you need to take into consideration. . .....to read on please visit my site.
                     
                         
            -

            On being Pedantic about Open-Source

            + 1c1 +< -rw-r--r--. 1 paul paul 17643 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html +--- +> -rw-r--r--. 1 paul paul 17643 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html +

            On being Pedantic about Open-Source

            Published by Paul at 2021-08-01 10:37:58 GMT

                                                        __
            @@ -3248,7 +3318,11 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
                     When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I then decided to give Ruby a go for all medium-sized programming and scripting projects.. .....to read on please visit my site.
                     
                         
            -

            The Well-Grounded Rubyist

            + 1c1 +< -rw-r--r--. 1 paul paul 12370 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-07-04-the-well-grounded-rubyist.html +--- +> -rw-r--r--. 1 paul paul 12370 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-07-04-the-well-grounded-rubyist.html +

            The Well-Grounded Rubyist

            Published by Paul at 2021-07-04 12:51:23 GMT

            When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I decided to give Ruby a go.

            You should learn or try out one new programming language once yearly anyway. If you end up not using the new language, that's not a problem. You will learn new techniques with each new programming language and this also helps you to improve your overall programming skills even for other languages. Also, having some background in a similar programming language makes it reasonably easy to get started. Besides that, learning a new programming language is kick-a** fun!

            @@ -3329,7 +3403,11 @@ Hello World You might have read my previous blog post about entering the Geminispace, where I pointed out the benefits of having and maintaining an internet presence there. This whole site (the blog and all other pages) is composed in the Gemtext markup language. . .....to read on please visit my site.
            -

            Gemtexter - One Bash script to rule it all

            + 1c1 +< -rw-r--r--. 1 paul paul 10698 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html +--- +> -rw-r--r--. 1 paul paul 10698 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html +

            Gemtexter - One Bash script to rule it all

            Published by Paul at 2021-06-05 21:03:32 GMT

                                                                            o .,<>., o
            @@ -3468,7 +3546,11 @@ assert::equals "$(generate::make_link md "$gemtext")" \
                     Lately, I have been polishing and writing a lot of Bash code. Not that I never wrote a lot of Bash, but now as I also looked through the 'Google Shell Style Guide' I thought it is time to also write my own thoughts on that. I agree to that guide in most, but not in all points. . .....to read on please visit my site.
                     
                         
            -

            Personal Bash coding style guide

            + 1c1 +< -rw-r--r--. 1 paul paul 13913 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-05-16-personal-bash-coding-style-guide.html +--- +> -rw-r--r--. 1 paul paul 13913 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-05-16-personal-bash-coding-style-guide.html +

            Personal Bash coding style guide

            Published by Paul at 2021-05-16 16:51:57 GMT

                .---------------------------.
            @@ -3776,7 +3858,11 @@ fi
                     Have you reached this article already via Gemini? You need a special client for that, web browsers such as Firefox, Chrome, Safari etc. don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is: ... to read on visit my site.
                     
                         
            -

            Welcome to the Geminispace

            + 1c1 +< -rw-r--r--. 1 paul paul 5001 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-04-24-welcome-to-the-geminispace.html +--- +> -rw-r--r--. 1 paul paul 5001 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-04-24-welcome-to-the-geminispace.html +

            Welcome to the Geminispace

            Published by Paul at 2021-04-24 21:28:41 GMT, last updated at 2021-06-18, ASCII Art by Andy Hood

            Have you reached this article already via Gemini? It requires a Gemini client; web browsers such as Firefox, Chrome, Safari, etc., don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is:

            https://foo.zone
            @@ -3846,7 +3932,11 @@ fi This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal Gemini capsule too. ...to read on visit my site.
            -

            DTail - The distributed log tail program

            + 1c1 +< -rw-r--r--. 1 paul paul 12960 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html +--- +> -rw-r--r--. 1 paul paul 12960 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html +

            DTail - The distributed log tail program

            Published by Paul at 2021-04-22 21:28:41 GMT, last updated at 2021-04-26

            DTail logo image

            This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal internet site too.

            @@ -3927,7 +4017,11 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er This text first was published in the german IT-Administrator computer Magazine. 3 years have passed since and I decided to publish it on my blog too. . .....to read on please visit my site.
            -

            Realistic load testing with I/O Riot for Linux

            + 1c1 +< -rw-r--r--. 1 paul paul 15262 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html +--- +> -rw-r--r--. 1 paul paul 15262 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html +

            Realistic load testing with I/O Riot for Linux

            Published by Paul at 2018-06-01 16:50:29 GMT, last updated at 2021-05-08

                    .---.
            @@ -4066,7 +4160,11 @@ Total time: 1213.00s
                     You can do a little of object-oriented programming in the C Programming Language. However, that is, in my humble opinion, limited. It's easier to use a different programming language than C for OOP. But still it's an interesting exercise to try using C for this.. .....to read on please visit my site.
                     
                         
            -

            Object oriented programming with ANSI C

            + 1c1 +< -rw-r--r--. 1 paul paul 3686 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html +--- +> -rw-r--r--. 1 paul paul 3686 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html +

            Object oriented programming with ANSI C

            Published by Paul at 2016-11-21 00:10:57 GMT, updated 2022-01-29

               ___   ___  ____        ____ 
            @@ -4158,7 +4256,11 @@ mult.calculate(mult,a,b));
                     Finally, I had time to deploy my own authoritative DNS servers (master and slave) for my domains 'buetow.org' and 'buetow.zone'. My domain name provider is Schlund Technologies. They allow their customers to manually edit the DNS records (BIND files). And they also give you the opportunity to set your own authoritative DNS servers for your domains. From now I am making use of that option.. .....to read on please visit my site.
                     
                         
            -

            Spinning up my own authoritative DNS servers

            + 1c1 +< -rw-r--r--. 1 paul paul 8280 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html +--- +> -rw-r--r--. 1 paul paul 8280 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html +

            Spinning up my own authoritative DNS servers

            Published by Paul at 2016-05-22 20:59:01 GMT

            Background

            Finally, I had time to deploy my authoritative DNS servers (master and slave) for my domains "buetow.org" and "buetow.zone". My domain name provider is Schlund Technologies. They allow their customers to edit the DNS records (BIND files) manually. And they also allow you to set your authoritative DNS servers for your domains. From now, I am making use of that option.

            @@ -4383,7 +4485,11 @@ apply Service "dig6" { I enhanced the procedure a bit. From now on I am having two external 2TB USB hard drives. Both are setup exactly the same way. To decrease the probability that they will not fail at about the same time both drives are of different brands. One drive is kept at the secret location. The other one is kept at home right next to my HP MicroServer. ...to read on visit my site.
            -

            Offsite backup with ZFS (Part 2)

            + 1c1 +< -rw-r--r--. 1 paul paul 1931 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html +--- +> -rw-r--r--. 1 paul paul 1931 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html +

            Offsite backup with ZFS (Part 2)

            Published by Paul at 2016-04-17 00:43:42 GMT

              ________________
            @@ -4420,7 +4526,11 @@ apply Service "dig6" {
                     Over the last couple of years I wrote quite a few Puppet modules in order to manage my personal server infrastructure. One of them manages FreeBSD Jails and another one ZFS file systems. I thought I would give a brief overview in how it looks and feels.. .....to read on please visit my site.
                     
                         
            -

            Jails and ZFS with Puppet on FreeBSD

            + 1c1 +< -rw-r--r--. 1 paul paul 16921 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html +--- +> -rw-r--r--. 1 paul paul 16921 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html +

            Jails and ZFS with Puppet on FreeBSD

            Published by Paul at 2016-04-09 20:29:47 GMT

                         __     __
            @@ -4799,7 +4909,11 @@ Notice: Finished catalog run in 206.09 seconds
                     When it comes to data storage and potential data loss I am a paranoid person. It is not just due to my job  but also due to a personal experience I encountered over 10 years ago: A single drive failure and loss of all my data (pictures, music, ....). ...to read on visit my site.
                     
                         
            -

            Offsite backup with ZFS

            + 1c1 +< -rw-r--r--. 1 paul paul 3788 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-03-offsite-backup-with-zfs.html +--- +> -rw-r--r--. 1 paul paul 3788 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-03-offsite-backup-with-zfs.html +

            Offsite backup with ZFS

            Published by Paul at 2016-04-04 00:43:42 GMT

              ________________
            @@ -4842,7 +4956,11 @@ Notice: Finished catalog run in 206.09 seconds
                     You can use the following tutorial to install a full blown Debian GNU/Linux Chroot on a LG G3 D855 CyanogenMod 13 (Android 6). First of all you need to have root permissions on your phone and you also need to have the developer mode activated. The following steps have been tested on Linux (Fedora 23). .....to read on please visit my site.
                     
                         
            -

            Run Debian on your phone with Debroid

            + 1c1 +< -rw-r--r--. 1 paul paul 5137 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html +--- +> -rw-r--r--. 1 paul paul 5137 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html +

            Run Debian on your phone with Debroid

            Published by Paul at 2015-12-05 18:12:57 CEST, last updated at 2021-05-16

              ____       _               _     _ 
            @@ -5006,7 +5124,11 @@ exit
                     In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it. .....to read on please visit my site.
                     
                         
            -

            The fibonacci.pl.raku.c Polyglot

            + 1c1 +< -rw-r--r--. 1 paul paul 2958 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html +--- +> -rw-r--r--. 1 paul paul 2958 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html +

            The fibonacci.pl.raku.c Polyglot

            Published by Paul at 2014-03-24 23:32:53 CEST, last updated at 2022-04-23

            In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it.

            https://en.wikipedia.org/wiki/Polyglot_(computing)
            @@ -5148,7 +5270,11 @@ fib(10) = 55 PerlDaemon is a minimal daemon for Linux and other Unix like operating systems programmed in Perl. It is a minimal but pretty functional and fairly generic service framework. This means that it does not do anything useful other than providing a framework for starting, stopping, configuring and logging. In order to do something a module (written in Perl) bust be provided.. .....to read on please visit my site.
            -

            Perl Daemon (Service Framework)

            + 1c1 +< -rw-r--r--. 1 paul paul 4860 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2011-05-07-perl-daemon-service-framework.html +--- +> -rw-r--r--. 1 paul paul 4860 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2011-05-07-perl-daemon-service-framework.html +

            Perl Daemon (Service Framework)

            Published by Paul at 2011-05-08 00:26:02 CEST, last updated at 2021-05-07

                a'!   _,,_ a'!   _,,_     a'!   _,,_
            @@ -5294,7 +5420,11 @@ sub do ($) {
                     Fype is an interpreted programming language created by me for learning and fun. The interpreter is written in C. It has been tested on FreeBSD and NetBSD and may also work on other Unix like operating systems such as Linux based ones. To be honest, besides learning and fun there is really no other use case of why Fype actually exists as many other programming languages are much faster and more powerful.. .....to read on please visit my site.
                     
                         
            -

            The Fype Programming Language

            + 1c1 +< -rw-r--r--. 1 paul paul 13077 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.html +--- +> -rw-r--r--. 1 paul paul 13077 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.html +

            The Fype Programming Language

            Published by Paul at 2010-05-09 14:48:29 CEST, last updated at 2021-05-05

                   ____                                      _        __       
            @@ -5709,7 +5839,11 @@ BB
                     In contrast to Haskell, Standard SML does not use lazy evaluation by default, but strict evaluation. . .....to read on please visit my site.
                     
                         
            -

            Lazy Evaluation with Standard ML

            + 1c1 +< -rw-r--r--. 1 paul paul 2864 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html +--- +> -rw-r--r--. 1 paul paul 2864 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html +

            Lazy Evaluation with Standard ML

            Published by Paul at 2010-05-07 10:17:59 CEST

             
            @@ -5809,7 +5943,11 @@ first 10 nat_pairs_not_null
                     I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already know a little Haskell, could I do not help myself and I implemented the same exercises in Haskell too.. .....to read on please visit my site.
                     
                         
            -

            Standard ML and Haskell

            + 1c1 +< -rw-r--r--. 1 paul paul 4897 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-04-09-standard-ml-and-haskell.html +--- +> -rw-r--r--. 1 paul paul 4897 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-04-09-standard-ml-and-haskell.html +

            Standard ML and Haskell

            Published by Paul at 2010-04-10 00:57:36 CEST

            I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already knew a little Haskell, I could not help myself, and I also implemented the same exercises in Haskell.

            As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is a bit more "advanced". Haskell utilizes fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to write down the function types explicitly. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far, I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities.

            @@ -5963,7 +6101,11 @@ my_filter f l = foldr (make_filter_fn f) [] l The last week I was in Vidin, Bulgaria with no internet access and I had to fix my MTA (Postfix) at. .....to read on please visit my site.
            -

            Using my Nokia N95 for fixing my MTA

            + 1c1 +< -rw-r--r--. 1 paul paul 1948 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html +--- +> -rw-r--r--. 1 paul paul 1948 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html +

            Using my Nokia N95 for fixing my MTA

            Published by Paul at 2008-12-29 11:10:41 CEST, last updated at 2021-12-01

             
            @@ -6009,7 +6151,11 @@ _jgs_\|//_\\|///_\V/_\|//__
                     Here are some Perl Poems I wrote. They don't do anything useful when you run them but they don't produce a compiler error either. They only exists for fun and demonstrate what you can do with Perl syntax.. .....to read on please visit my site.
                     
                         
            -

            Perl Poetry

            + 1c1 +< -rw-r--r--. 1 paul paul 4650 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2008-06-26-perl-poetry.html +--- +> -rw-r--r--. 1 paul paul 4650 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2008-06-26-perl-poetry.html +

            Perl Poetry

            Published by Paul at 2008-06-26 23:43:51 CEST, last updated at 2021-05-04

              '\|/'                                  *
            -- 
            cgit v1.2.3
            
            
            From 357c05cd6953446b7d6a8e7d3ca42bcc96bf306f Mon Sep 17 00:00:00 2001
            From: Paul Buetow 
            Date: Sat, 17 Dec 2022 11:20:04 +0000
            Subject: foo
            
            ---
             .../2022-05-27-perl-is-still-a-great-choice.html   |   2 +-
             gemfeed/atom.xml                                   | 218 ++++-----------------
             2 files changed, 40 insertions(+), 180 deletions(-)
            
            diff --git a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
            index 44e860db..fde4bcdc 100644
            --- a/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
            +++ b/gemfeed/2022-05-27-perl-is-still-a-great-choice.html
            @@ -95,7 +95,7 @@
             

          Btw.: Did you know that the first version of PHP was a set of Perl snippets? Only later, PHP became an independent programming language.

          https://www.perl.org
          -

          Update 2022-12-17: The followingf is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

          +

          Update 2022-12-17: The following is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

          Why Perl is still relevant in 2022

          E-Mail your comments to paul at buetow dot org! :-)

          Go back to the main site
          diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index e4553415..babda388 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2022-12-17T11:17:08+00:00 + 2022-12-17T11:19:13+00:00 foo.zone feed To be in the .zone! @@ -18,11 +18,7 @@ As a long-lasting user of Vim (and NeoVim), I always wondered what GNU Emacs is really about, so I decided to try it. I didn't try vanilla GNU Emacs, but Doom Emacs. I chose Doom Emacs as it is a neat distribution of Emacs with Evil mode enabled by default. Evil mode allows Vi(m) key bindings (so to speak, it's emulating Vim within Emacs), and I am pretty sure I won't be ready to give up all the muscle memory I have built over more than a decade.. .....to read on please visit my site.
          - 1c1 -< -rw-r--r--. 1 paul paul 14674 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html ---- -> -rw-r--r--. 1 paul paul 14674 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html -

          I tried (Doom) Emacs, but I switched back to (Neo)Vim

          +

          I tried (Doom) Emacs, but I switched back to (Neo)Vim

          Published by Paul at 2022-11-24 11:17:15 EET, last updated at 2022-11-26

                        _/  \    _(\(o
          @@ -166,11 +162,7 @@ nmap ,j :call OpenJournalPage()<CR>
                   This will be a quick blog post, as I am busy with my personal life now. I have relocated to a different country and am still busy arranging things. So bear with me :-). .....to read on please visit my site.
                   
                       
          - 1c1 -< -rw-r--r--. 1 paul paul 13450 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html ---- -> -rw-r--r--. 1 paul paul 13450 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-10-30-installing-dtail-on-openbsd.html -

          Installing DTail on OpenBSD

          +

          Installing DTail on OpenBSD

          Published by Paul at 2022-10-30 11:03:19 EET

                  ,_---~~~~~----._
          @@ -465,11 +457,7 @@ REMOTE|fishfinger|100|7|fstab|093f510ec5c0f512.h /usr/local ffs rw,wxallowed,nod
                   Everyone has it once a while: A bad night's sleep. Here I attempt to list useful tips how to deal with it.. .....to read on please visit my site.
                   
                       
          - 1c1 -< -rw-r--r--. 1 paul paul 6755 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html ---- -> -rw-r--r--. 1 paul paul 6755 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-09-30-after-a-bad-nights-sleep.html -

          After a bad night's sleep

          +

          After a bad night's sleep

          Published by Paul at 2022-09-30 09:53:23 EEST, last updated at 2022-10-12

                          z
          @@ -543,11 +531,7 @@ jgs                (________\  \
                   I am proud to announce that I've released Gemtexter version `1.1.0`. What is Gemtexter? It's my static site generator written in GNU Bash:. .....to read on please visit my site.
                   
                       
          - 1c1 -< -rw-r--r--. 1 paul paul 4106 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html ---- -> -rw-r--r--. 1 paul paul 4106 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html -

          Gemtexter 1.1.0 - Let's Gemtext again

          +

          Gemtexter 1.1.0 - Let's Gemtext again

          Published by Paul at 2022-08-27 20:25:57 EEST

           -=[ typewriter ]=-  1/98
          @@ -623,11 +607,7 @@ check_dependencies () {
                   I was amazed how easy it is to automatically generate and update Let's Encrypt certificates with OpenBSD.. .....to read on please visit my site.
                   
                       
          - 1c1 -< -rw-r--r--. 1 paul paul 21434 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html ---- -> -rw-r--r--. 1 paul paul 21434 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html -

          Let's Encrypt with OpenBSD and Rex

          +

          Let's Encrypt with OpenBSD and Rex

          Published by Paul at 2022-07-30 14:14:31 EEST

                                                          /    _    \
          @@ -1234,11 +1214,7 @@ rex commons
                   This blog post is a bit different from the others. It consists of multiple but smaller projects worth mentioning. I got inspired by Julia Evan's 'Tiny programs' blog post and the side projects of The Sephist, so I thought I would also write a blog posts listing a couple of small projects of mine:. .....to read on please visit my site.
                   
                       
          - 1c1 -< -rw-r--r--. 1 paul paul 20530 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-06-15-sweating-the-small-stuff.html ---- -> -rw-r--r--. 1 paul paul 20530 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-06-15-sweating-the-small-stuff.html -

          Sweating the small stuff - Tiny projects of mine

          +

          Sweating the small stuff - Tiny projects of mine

          Published by Paul at 2022-06-15 10:47:44 GMT, last updated at 2022-06-18

                    _
          @@ -1480,9 +1456,9 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
                   
                       
          1c1 -< -rw-r--r--. 1 paul paul 16504 Dec 10 13:17 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +< -rw-r--r--. 1 paul paul 16790 Dec 17 11:16 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html --- -> -rw-r--r--. 1 paul paul 16790 Dec 17 11:16 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html +> -rw-r--r--. 1 paul paul 16789 Dec 17 11:19 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html

          Perl is still a great choice

          Published by Paul at 2022-05-27, last updated at 2022-12-17, Comic source: XKCD


          @@ -1570,7 +1546,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs

        Btw.: Did you know that the first version of PHP was a set of Perl snippets? Only later, PHP became an independent programming language.

        https://www.perl.org
        -

        Update 2022-12-17: The followingf is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

        +

        Update 2022-12-17: The following is another related post. I don't agree to the statement made there, that Python code tends to be more compact than Perl code, though!

        Why Perl is still relevant in 2022

        E-Mail your comments to paul at buetow dot org! :-)

      @@ -1588,11 +1564,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs I have been participating in an annual work-internal project contest (we call it Pet Project contest) since I moved to London and switched jobs to my current employer. I am very happy to say that I won a 'silver' prize last week here 🎆. Over the last couple of years I have been a finalist in this contest six times and won some kind of prize five times. Some of my projects were also released as open source software. One had a magazine article published, and for another one I wrote an article on my employer's engineering blog. If you have followed all my posts on this blog (the one you are currently reading), then you have probably figured out what these projects were:. .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 14577 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-04-10-creative-universe.html ---- -> -rw-r--r--. 1 paul paul 14577 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-04-10-creative-universe.html -

      Creative universe

      +

      Creative universe

      Published by Paul at 2022-04-10 12:09:11 GMT, last updated at 2022-04-18

        .              +   .                .   . .     .  .
      @@ -1699,11 +1671,7 @@ learn () {
               I have recently released DTail 4.0.0 and this blog post goes through all the new goodies. You can also read my previous post about DTail in case you wonder what DTail is:. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 11948 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html ---- -> -rw-r--r--. 1 paul paul 11948 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html -

      The release of DTail 4.0.0

      +

      The release of DTail 4.0.0

      Published by Paul at 2022-03-06 20:11:39 GMT

                                     ,_---~~~~~----._
      @@ -1955,11 +1923,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
               This is a list of Operating Systems I currently use. This list is in no particular order and also will be updated over time. The very first operating system I used was MS-DOS (mainly for games) and the very first Unix like operating system I used was SuSE Linux 5.3. My first smartphone OS was Symbian on a clunky Sony Ericsson device.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 15975 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-02-04-computer-operating-systems-i-use.html ---- -> -rw-r--r--. 1 paul paul 15975 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-02-04-computer-operating-systems-i-use.html -

      Computer operating systems I use(d)

      +

      Computer operating systems I use(d)

      Published by Paul at 2022-02-04 11:58:22 GMT, updated 2022-02-18

                     /(        )`
      @@ -2125,11 +2089,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
               I don't count this as a real blog post, but more of an announcement (I aim to write one real post once monthly). From now on, 'foo.zone' is the new address of this site. All other addresses will still forward to it and eventually (based on the traffic still going through) will be deactivated.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 3377 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-01-23-welcome-to-the-foo.zone.html ---- -> -rw-r--r--. 1 paul paul 3377 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-01-23-welcome-to-the-foo.zone.html -

      Welcome to the foo.zone

      +

      Welcome to the foo.zone

      Published by Paul at 2022-01-23 18:42:04 GMT

         __                                  
      @@ -2176,11 +2136,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
               This is the second blog post about my Bash Golf series. This series is random Bash tips, tricks and weirdnesses I came across. It's a collection of smaller articles I wrote in an older (in German language) blog, which I translated and refreshed with some new content.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 13098 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2022-01-01-bash-golf-part-2.html ---- -> -rw-r--r--. 1 paul paul 13098 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2022-01-01-bash-golf-part-2.html -

      Bash Golf Part 2

      +

      Bash Golf Part 2

      Published by Paul at 2022-01-02 01:36:15 GMT, last updated at 2022-01-05

       
      @@ -2592,11 +2548,7 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
               Log4shell (CVE-2021-44228) made it clear, once again, that working in information technology is not an easy job (especially when you are a DevOps/SRE or a security engineer). I thought it would be interesting to summarize a few techniques to help you to relax.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 13672 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html ---- -> -rw-r--r--. 1 paul paul 13672 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html -

      How to stay sane as a DevOps person

      +

      How to stay sane as a DevOps person

      Published by Paul at 2021-12-26 14:02:02 GMT, last updated at 2022-01-12

                                            )
      @@ -2688,11 +2640,7 @@ PAUL:X:1000:1000:PAUL BUETOW:/HOME/PAUL:/BIN/BASH
               This is the first blog post about my Bash Golf series. This series is random Bash tips, tricks and weirdnesses I came across. It's a collection of smaller articles I wrote in an older (in German language) blog, which I translated and refreshed with some new content.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 14200 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-11-29-bash-golf-part-1.html ---- -> -rw-r--r--. 1 paul paul 14200 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-11-29-bash-golf-part-1.html -

      Bash Golf Part 1

      +

      Bash Golf Part 1

      Published by Paul at 2021-11-29 16:06:14 GMT, last updated at 2022-01-05

       
      @@ -3076,11 +3024,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
               I have seen many different setups and infrastructures during my carreer. My roles always included front-line ad-hoc fire fighting production issues. This often involves identifying and fixing these under time pressure, without the comfort of 2-week-long SCRUM sprints and without an exhaustive QA process. I also wrote a lot of code (Bash, Ruby, Perl, Go, and a little Java), and I followed the typical software development process, but that did not always apply to critical production issues.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 13797 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-10-22-defensive-devops.html ---- -> -rw-r--r--. 1 paul paul 13797 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-10-22-defensive-devops.html -

      Defensive DevOps

      +

      Defensive DevOps

      Published by Paul at 2021-10-22 10:02:46 GMT

                                                                   c=====e
      @@ -3159,11 +3103,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
               A robust computer system must be kept simple and stupid (KISS). The fancier the system is, the more can break. Unfortunately, most systems tend to become complex and challenging to maintain in today's world. In the early days, so I was told, engineers understood every part of the system, but nowadays, we see more of the 'lasagna' stack. One layer or framework is built on top of another layer, and in the end, nobody has got a clue what's going on.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 9425 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-09-12-keep-it-simple-and-stupid.html ---- -> -rw-r--r--. 1 paul paul 9425 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-09-12-keep-it-simple-and-stupid.html -

      Keep it simple and stupid

      +

      Keep it simple and stupid

      Published by Paul at 2021-09-12 09:39:20 GMT, last updated at 2022-04-21

         _______________                        |*\_/*|_______
      @@ -3234,11 +3174,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
               I believe that it is essential to always have free and open-source alternatives to any kind of closed-source proprietary software available to choose from. But there are a couple of points you need to take into consideration. . .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 17643 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html ---- -> -rw-r--r--. 1 paul paul 17643 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-08-01-on-being-pedantic-about-open-source.html -

      On being Pedantic about Open-Source

      +

      On being Pedantic about Open-Source

      Published by Paul at 2021-08-01 10:37:58 GMT

                                                  __
      @@ -3318,11 +3254,7 @@ bash: line 1: 1/10.0 : syntax error: invalid arithmetic operator (error token is
               When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I then decided to give Ruby a go for all medium-sized programming and scripting projects.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 12370 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-07-04-the-well-grounded-rubyist.html ---- -> -rw-r--r--. 1 paul paul 12370 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-07-04-the-well-grounded-rubyist.html -

      The Well-Grounded Rubyist

      +

      The Well-Grounded Rubyist

      Published by Paul at 2021-07-04 12:51:23 GMT

      When I was a Linux System Administrator, I have been programming in Perl for years. I still maintain some personal Perl programming projects (e.g. Xerl, guprecords, Loadbars). After switching jobs a couple of years ago (becoming a Site Reliability Engineer), I found Ruby (and some Python) widely used there. As I wanted to do something new, I decided to give Ruby a go.

      You should learn or try out one new programming language once yearly anyway. If you end up not using the new language, that's not a problem. You will learn new techniques with each new programming language and this also helps you to improve your overall programming skills even for other languages. Also, having some background in a similar programming language makes it reasonably easy to get started. Besides that, learning a new programming language is kick-a** fun!

      @@ -3403,11 +3335,7 @@ Hello World You might have read my previous blog post about entering the Geminispace, where I pointed out the benefits of having and maintaining an internet presence there. This whole site (the blog and all other pages) is composed in the Gemtext markup language. . .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 10698 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html ---- -> -rw-r--r--. 1 paul paul 10698 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html -

      Gemtexter - One Bash script to rule it all

      +

      Gemtexter - One Bash script to rule it all

      Published by Paul at 2021-06-05 21:03:32 GMT

                                                                      o .,<>., o
      @@ -3546,11 +3474,7 @@ assert::equals "$(generate::make_link md "$gemtext")" \
               Lately, I have been polishing and writing a lot of Bash code. Not that I never wrote a lot of Bash, but now as I also looked through the 'Google Shell Style Guide' I thought it is time to also write my own thoughts on that. I agree to that guide in most, but not in all points. . .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 13913 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-05-16-personal-bash-coding-style-guide.html ---- -> -rw-r--r--. 1 paul paul 13913 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-05-16-personal-bash-coding-style-guide.html -

      Personal Bash coding style guide

      +

      Personal Bash coding style guide

      Published by Paul at 2021-05-16 16:51:57 GMT

          .---------------------------.
      @@ -3858,11 +3782,7 @@ fi
               Have you reached this article already via Gemini? You need a special client for that, web browsers such as Firefox, Chrome, Safari etc. don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is: ... to read on visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 5001 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-04-24-welcome-to-the-geminispace.html ---- -> -rw-r--r--. 1 paul paul 5001 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-04-24-welcome-to-the-geminispace.html -

      Welcome to the Geminispace

      +

      Welcome to the Geminispace

      Published by Paul at 2021-04-24 21:28:41 GMT, last updated at 2021-06-18, ASCII Art by Andy Hood

      Have you reached this article already via Gemini? It requires a Gemini client; web browsers such as Firefox, Chrome, Safari, etc., don't support the Gemini protocol. The Gemini address of this site (or the address of this capsule as people say in Geminispace) is:

      https://foo.zone
      @@ -3932,11 +3852,7 @@ fi This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal Gemini capsule too. ...to read on visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 12960 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html ---- -> -rw-r--r--. 1 paul paul 12960 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html -

      DTail - The distributed log tail program

      +

      DTail - The distributed log tail program

      Published by Paul at 2021-04-22 21:28:41 GMT, last updated at 2021-04-26

      DTail logo image

      This article first appeared at the Mimecast Engineering Blog but I made it available here in my personal internet site too.

      @@ -4017,11 +3933,7 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er This text first was published in the german IT-Administrator computer Magazine. 3 years have passed since and I decided to publish it on my blog too. . .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 15262 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html ---- -> -rw-r--r--. 1 paul paul 15262 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html -

      Realistic load testing with I/O Riot for Linux

      +

      Realistic load testing with I/O Riot for Linux

      Published by Paul at 2018-06-01 16:50:29 GMT, last updated at 2021-05-08

              .---.
      @@ -4160,11 +4072,7 @@ Total time: 1213.00s
               You can do a little of object-oriented programming in the C Programming Language. However, that is, in my humble opinion, limited. It's easier to use a different programming language than C for OOP. But still it's an interesting exercise to try using C for this.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 3686 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html ---- -> -rw-r--r--. 1 paul paul 3686 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html -

      Object oriented programming with ANSI C

      +

      Object oriented programming with ANSI C

      Published by Paul at 2016-11-21 00:10:57 GMT, updated 2022-01-29

         ___   ___  ____        ____ 
      @@ -4256,11 +4164,7 @@ mult.calculate(mult,a,b));
               Finally, I had time to deploy my own authoritative DNS servers (master and slave) for my domains 'buetow.org' and 'buetow.zone'. My domain name provider is Schlund Technologies. They allow their customers to manually edit the DNS records (BIND files). And they also give you the opportunity to set your own authoritative DNS servers for your domains. From now I am making use of that option.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 8280 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html ---- -> -rw-r--r--. 1 paul paul 8280 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html -

      Spinning up my own authoritative DNS servers

      +

      Spinning up my own authoritative DNS servers

      Published by Paul at 2016-05-22 20:59:01 GMT

      Background

      Finally, I had time to deploy my authoritative DNS servers (master and slave) for my domains "buetow.org" and "buetow.zone". My domain name provider is Schlund Technologies. They allow their customers to edit the DNS records (BIND files) manually. And they also allow you to set your authoritative DNS servers for your domains. From now, I am making use of that option.

      @@ -4485,11 +4389,7 @@ apply Service "dig6" { I enhanced the procedure a bit. From now on I am having two external 2TB USB hard drives. Both are setup exactly the same way. To decrease the probability that they will not fail at about the same time both drives are of different brands. One drive is kept at the secret location. The other one is kept at home right next to my HP MicroServer. ...to read on visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 1931 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html ---- -> -rw-r--r--. 1 paul paul 1931 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html -

      Offsite backup with ZFS (Part 2)

      +

      Offsite backup with ZFS (Part 2)

      Published by Paul at 2016-04-17 00:43:42 GMT

        ________________
      @@ -4526,11 +4426,7 @@ apply Service "dig6" {
               Over the last couple of years I wrote quite a few Puppet modules in order to manage my personal server infrastructure. One of them manages FreeBSD Jails and another one ZFS file systems. I thought I would give a brief overview in how it looks and feels.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 16921 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html ---- -> -rw-r--r--. 1 paul paul 16921 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html -

      Jails and ZFS with Puppet on FreeBSD

      +

      Jails and ZFS with Puppet on FreeBSD

      Published by Paul at 2016-04-09 20:29:47 GMT

                   __     __
      @@ -4909,11 +4805,7 @@ Notice: Finished catalog run in 206.09 seconds
               When it comes to data storage and potential data loss I am a paranoid person. It is not just due to my job  but also due to a personal experience I encountered over 10 years ago: A single drive failure and loss of all my data (pictures, music, ....). ...to read on visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 3788 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2016-04-03-offsite-backup-with-zfs.html ---- -> -rw-r--r--. 1 paul paul 3788 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2016-04-03-offsite-backup-with-zfs.html -

      Offsite backup with ZFS

      +

      Offsite backup with ZFS

      Published by Paul at 2016-04-04 00:43:42 GMT

        ________________
      @@ -4956,11 +4848,7 @@ Notice: Finished catalog run in 206.09 seconds
               You can use the following tutorial to install a full blown Debian GNU/Linux Chroot on a LG G3 D855 CyanogenMod 13 (Android 6). First of all you need to have root permissions on your phone and you also need to have the developer mode activated. The following steps have been tested on Linux (Fedora 23). .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 5137 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html ---- -> -rw-r--r--. 1 paul paul 5137 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html -

      Run Debian on your phone with Debroid

      +

      Run Debian on your phone with Debroid

      Published by Paul at 2015-12-05 18:12:57 CEST, last updated at 2021-05-16

        ____       _               _     _ 
      @@ -5124,11 +5012,7 @@ exit
               In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 2958 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html ---- -> -rw-r--r--. 1 paul paul 2958 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html -

      The fibonacci.pl.raku.c Polyglot

      +

      The fibonacci.pl.raku.c Polyglot

      Published by Paul at 2014-03-24 23:32:53 CEST, last updated at 2022-04-23

      In computing, a polyglot is a computer program or script written in a valid form of multiple programming languages, which performs the same operations or output independent of the programming language used to compile or interpret it.

      https://en.wikipedia.org/wiki/Polyglot_(computing)
      @@ -5270,11 +5154,7 @@ fib(10) = 55 PerlDaemon is a minimal daemon for Linux and other Unix like operating systems programmed in Perl. It is a minimal but pretty functional and fairly generic service framework. This means that it does not do anything useful other than providing a framework for starting, stopping, configuring and logging. In order to do something a module (written in Perl) bust be provided.. .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 4860 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2011-05-07-perl-daemon-service-framework.html ---- -> -rw-r--r--. 1 paul paul 4860 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2011-05-07-perl-daemon-service-framework.html -

      Perl Daemon (Service Framework)

      +

      Perl Daemon (Service Framework)

      Published by Paul at 2011-05-08 00:26:02 CEST, last updated at 2021-05-07

          a'!   _,,_ a'!   _,,_     a'!   _,,_
      @@ -5420,11 +5300,7 @@ sub do ($) {
               Fype is an interpreted programming language created by me for learning and fun. The interpreter is written in C. It has been tested on FreeBSD and NetBSD and may also work on other Unix like operating systems such as Linux based ones. To be honest, besides learning and fun there is really no other use case of why Fype actually exists as many other programming languages are much faster and more powerful.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 13077 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.html ---- -> -rw-r--r--. 1 paul paul 13077 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-05-09-the-fype-programming-language.html -

      The Fype Programming Language

      +

      The Fype Programming Language

      Published by Paul at 2010-05-09 14:48:29 CEST, last updated at 2021-05-05

             ____                                      _        __       
      @@ -5839,11 +5715,7 @@ BB
               In contrast to Haskell, Standard SML does not use lazy evaluation by default, but strict evaluation. . .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 2864 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html ---- -> -rw-r--r--. 1 paul paul 2864 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html -

      Lazy Evaluation with Standard ML

      +

      Lazy Evaluation with Standard ML

      Published by Paul at 2010-05-07 10:17:59 CEST

       
      @@ -5943,11 +5815,7 @@ first 10 nat_pairs_not_null
               I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already know a little Haskell, could I do not help myself and I implemented the same exercises in Haskell too.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 4897 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2010-04-09-standard-ml-and-haskell.html ---- -> -rw-r--r--. 1 paul paul 4897 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2010-04-09-standard-ml-and-haskell.html -

      Standard ML and Haskell

      +

      Standard ML and Haskell

      Published by Paul at 2010-04-10 00:57:36 CEST

      I am currently looking into the functional programming language Standard ML (aka SML). The purpose is to refresh my functional programming skills and to learn something new too. Since I already knew a little Haskell, I could not help myself, and I also implemented the same exercises in Haskell.

      As you will see, SML and Haskell are very similar (at least when it comes to the basics). However, the syntax of Haskell is a bit more "advanced". Haskell utilizes fewer keywords (e.g. no val, end, fun, fn ...). Haskell also allows to write down the function types explicitly. What I have been missing in SML so far is the so-called pattern guards. Although this is a very superficial comparison for now, so far, I like Haskell more than SML. Nevertheless, I thought it would be fun to demonstrate a few simple functions of both languages to show off the similarities.

      @@ -6101,11 +5969,7 @@ my_filter f l = foldr (make_filter_fn f) [] l The last week I was in Vidin, Bulgaria with no internet access and I had to fix my MTA (Postfix) at. .....to read on please visit my site.
      - 1c1 -< -rw-r--r--. 1 paul paul 1948 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html ---- -> -rw-r--r--. 1 paul paul 1948 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html -

      Using my Nokia N95 for fixing my MTA

      +

      Using my Nokia N95 for fixing my MTA

      Published by Paul at 2008-12-29 11:10:41 CEST, last updated at 2021-12-01

       
      @@ -6151,11 +6015,7 @@ _jgs_\|//_\\|///_\V/_\|//__
               Here are some Perl Poems I wrote. They don't do anything useful when you run them but they don't produce a compiler error either. They only exists for fun and demonstrate what you can do with Perl syntax.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 4650 Dec 10 12:54 ../foo.zone-content/gemtext/gemfeed/2008-06-26-perl-poetry.html ---- -> -rw-r--r--. 1 paul paul 4650 Dec 10 10:54 ../foo.zone-content/gemtext/gemfeed/2008-06-26-perl-poetry.html -

      Perl Poetry

      +

      Perl Poetry

      Published by Paul at 2008-06-26 23:43:51 CEST, last updated at 2021-05-04

        '\|/'                                  *
      -- 
      cgit v1.2.3
      
      
      From 13b3146a0d5fcbd44e3e8908215e4d97dcf7ea1f Mon Sep 17 00:00:00 2001
      From: Paul Buetow 
      Date: Sat, 17 Dec 2022 11:20:40 +0000
      Subject: Update content for html
      
      ---
       gemfeed/atom.xml | 8 ++------
       1 file changed, 2 insertions(+), 6 deletions(-)
      
      diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml
      index babda388..bdff5a9c 100644
      --- a/gemfeed/atom.xml
      +++ b/gemfeed/atom.xml
      @@ -1,6 +1,6 @@
       
       
      -    2022-12-17T11:19:13+00:00
      +    2022-12-17T11:20:17+00:00
           foo.zone feed
           To be in the .zone!
           
      @@ -1455,11 +1455,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
               Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. 'Perl' is the name of the language and 'perl' the name of the interpreter or the interpreter command.. .....to read on please visit my site.
               
                   
      - 1c1 -< -rw-r--r--. 1 paul paul 16790 Dec 17 11:16 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html ---- -> -rw-r--r--. 1 paul paul 16789 Dec 17 11:19 ../foo.zone-content/gemtext/gemfeed/2022-05-27-perl-is-still-a-great-choice.html -

      Perl is still a great choice

      +

      Perl is still a great choice

      Published by Paul at 2022-05-27, last updated at 2022-12-17, Comic source: XKCD


      Perl (the Practical Extraction and Report Language) is a battle-tested, mature, multi-paradigm dynamic programming language. Note that it's not called PERL, neither P.E.R.L. nor Pearl. "Perl" is the name of the language and perl the name of the interpreter or the interpreter command.

      -- cgit v1.2.3