summaryrefslogtreecommitdiff
path: root/gemfeed
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-24 19:42:38 +0300
committerPaul Buetow <paul@buetow.org>2024-08-24 19:42:38 +0300
commite1ef1b5f3e21e84fcca29bedee6d1af154d61169 (patch)
treed3873e7e9fb474c99dc2a71ed9bc90f82cba4481 /gemfeed
parent1891cb99a0eff5fd497edb44c435acdcaf5d8299 (diff)
Update content for html
Diffstat (limited to 'gemfeed')
-rw-r--r--gemfeed/2008-06-26-perl-poetry.html4
-rw-r--r--gemfeed/2008-12-29-using-my-nokia-n95-for-fixing-my-mta.html2
-rw-r--r--gemfeed/2010-04-09-standard-ml-and-haskell.html14
-rw-r--r--gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html6
-rw-r--r--gemfeed/2010-05-09-the-fype-programming-language.html50
-rw-r--r--gemfeed/2011-05-07-perl-daemon-service-framework.html20
-rw-r--r--gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html8
-rw-r--r--gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html18
-rw-r--r--gemfeed/2016-04-03-offsite-backup-with-zfs.html10
-rw-r--r--gemfeed/2016-04-09-jails-and-zfs-on-freebsd-with-puppet.html10
-rw-r--r--gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html2
-rw-r--r--gemfeed/2016-05-22-spinning-up-my-own-authoritative-dns-servers.html16
-rw-r--r--gemfeed/2016-11-20-object-oriented-programming-with-ansi-c.html10
-rw-r--r--gemfeed/2018-06-01-realistic-load-testing-with-ioriot-for-linux.html28
-rw-r--r--gemfeed/2021-04-22-dtail-the-distributed-log-tail-program.html20
-rw-r--r--gemfeed/2021-04-24-welcome-to-the-geminispace.html16
-rw-r--r--gemfeed/2021-05-16-personal-bash-coding-style-guide.html36
-rw-r--r--gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html26
-rw-r--r--gemfeed/2021-07-04-the-well-grounded-rubyist.html22
-rw-r--r--gemfeed/2021-08-01-on-being-pedantic-about-open-source.html30
-rw-r--r--gemfeed/2021-09-12-keep-it-simple-and-stupid.html28
-rw-r--r--gemfeed/2021-10-22-defensive-devops.html18
-rw-r--r--gemfeed/2021-11-29-bash-golf-part-1.html18
-rw-r--r--gemfeed/2021-12-26-how-to-stay-sane-as-a-devops-person.html30
-rw-r--r--gemfeed/2022-01-01-bash-golf-part-2.html14
-rw-r--r--gemfeed/2022-01-23-welcome-to-the-foo.zone.html8
-rw-r--r--gemfeed/2022-02-04-computer-operating-systems-i-use.html42
-rw-r--r--gemfeed/2022-03-06-the-release-of-dtail-4.0.0.html28
-rw-r--r--gemfeed/2022-04-10-creative-universe.html22
-rw-r--r--gemfeed/2022-05-27-perl-is-still-a-great-choice.html12
-rw-r--r--gemfeed/2022-06-15-sweating-the-small-stuff.html42
-rw-r--r--gemfeed/2022-07-30-lets-encrypt-with-openbsd-and-rex.html24
-rw-r--r--gemfeed/2022-08-27-gemtexter-1.1.0-lets-gemtext-again.html20
-rw-r--r--gemfeed/2022-09-30-after-a-bad-nights-sleep.html32
-rw-r--r--gemfeed/2022-10-30-installing-dtail-on-openbsd.html22
-rw-r--r--gemfeed/2022-11-24-i-tried-emacs-but-i-switched-back-to-neovim.html16
-rw-r--r--gemfeed/2022-12-24-ultrarelearning-java-my-takeaways.html24
-rw-r--r--gemfeed/2023-01-23-why-grapheneos-rox.html18
-rw-r--r--gemfeed/2023-02-26-how-to-shut-down-after-work.html16
-rw-r--r--gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.html8
-rw-r--r--gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html14
-rw-r--r--gemfeed/2023-04-01-never-split-the-difference-book-notes.html24
-rw-r--r--gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html12
-rw-r--r--gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.html10
-rw-r--r--gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.html26
-rw-r--r--gemfeed/2023-06-01-kiss-server-monitoring-with-gogios.html30
-rw-r--r--gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.html58
-rw-r--r--gemfeed/2023-07-21-gemtexter-2.1.0-lets-gemtext-again-3.html16
-rw-r--r--gemfeed/2023-08-18-site-reliability-engineering-part-1.html6
-rw-r--r--gemfeed/2023-09-25-dtail-usage-examples.html20
-rw-r--r--gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html18
-rw-r--r--gemfeed/2023-11-11-mind-management-book-notes.html18
-rw-r--r--gemfeed/2023-11-19-site-reliability-engineering-part-2.html8
-rw-r--r--gemfeed/2023-12-10-bash-golf-part-3.html18
-rw-r--r--gemfeed/2024-01-09-site-reliability-engineering-part-3.html6
-rw-r--r--gemfeed/2024-01-13-one-reason-why-i-love-openbsd.html2
-rw-r--r--gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html12
-rw-r--r--gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html4
-rw-r--r--gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html52
-rw-r--r--gemfeed/2024-05-01-slow-productivity-book-notes.html12
-rw-r--r--gemfeed/2024-05-03-projects-i-currently-dont-have-time-for.html148
-rw-r--r--gemfeed/2024-06-23-terminal-multiplexing-with-tmux.html76
-rw-r--r--gemfeed/2024-07-05-random-weird-things.html24
-rw-r--r--gemfeed/2024-07-07-the-stoic-challenge-book-notes.html6
-rw-r--r--gemfeed/2024-08-05-typing-127.1-words-per-minute.html50
-rw-r--r--gemfeed/DRAFT-site-reliability-engineering.html18
-rw-r--r--gemfeed/atom.xml720
-rw-r--r--gemfeed/index.html4
68 files changed, 1095 insertions, 1107 deletions
diff --git a/gemfeed/2008-06-26-perl-poetry.html b/gemfeed/2008-06-26-perl-poetry.html
index 7b6130aa..8b70f76c 100644
--- a/gemfeed/2008-06-26-perl-poetry.html
+++ b/gemfeed/2008-06-26-perl-poetry.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='PerlPoetry'>Perl Poetry</h1><br />
+<h1 style='display: inline' id='perl-poetry'>Perl Poetry</h1><br />
<br />
<span class='quote'>Published at 2008-06-26T21:43:51+01:00; Updated at 2021-05-04</span><br />
<br />
@@ -174,7 +174,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">This is perl</font><font color="#F3E651">,</font><font color="#ff0000"> v5</font><font color="#F3E651">.</font><font color="#bb00ff">8.8</font><font color="#ff0000"> built </font><b><font color="#ffffff">for</font></b><font color="#ff0000"> i386</font><font color="#F3E651">-</font><font color="#ff0000">freebsd</font><font color="#F3E651">-</font><font color="#ff0000">64int</font>
</pre>
<br />
-<h2 style='display: inline' id='More'>More...</h2><br />
+<h2 style='display: inline' id='more'>More...</h2><br />
<br />
<span>Did you like what you saw? Have a look at Codeberg to see my other poems too:</span><br />
<br />
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 feb8a4b0..e60330f6 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='UsingmyNokiaN95forfixingmyMTA'>Using my Nokia N95 for fixing my MTA</h1><br />
+<h1 style='display: inline' id='using-my-nokia-n95-for-fixing-my-mta'>Using my Nokia N95 for fixing my MTA</h1><br />
<br />
<span class='quote'>Published at 2008-12-29T09:10:41+00:00; Updated at 2021-12-01</span><br />
<br />
diff --git a/gemfeed/2010-04-09-standard-ml-and-haskell.html b/gemfeed/2010-04-09-standard-ml-and-haskell.html
index 6b3b5e89..89c1b5f0 100644
--- a/gemfeed/2010-04-09-standard-ml-and-haskell.html
+++ b/gemfeed/2010-04-09-standard-ml-and-haskell.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='StandardMLandHaskell'>Standard ML and Haskell</h1><br />
+<h1 style='display: inline' id='standard-ml-and-haskell'>Standard ML and Haskell</h1><br />
<br />
<span class='quote'>Published at 2010-04-09T22:57:36+01:00</span><br />
<br />
@@ -18,7 +18,7 @@
<br />
<span>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:</span><br />
<br />
-<h2 style='display: inline' id='Definingamultidatatype'>Defining a multi-data type</h2><br />
+<h2 style='display: inline' id='defining-a-multi-data-type'>Defining a multi-data type</h2><br />
<br />
<span>Standard ML:</span><br />
<br />
@@ -45,7 +45,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> </font><b><font color="#ffffff">deriving</font></b><font color="#ff0000"> </font><b><font color="#F35E1E">Show</font></b>
</pre>
<br />
-<h2 style='display: inline' id='Processingamulti'>Processing a multi</h2><br />
+<h2 style='display: inline' id='processing-a-multi'>Processing a multi</h2><br />
<br />
<span>Standard ML:</span><br />
<br />
@@ -74,7 +74,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Union</font></b><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Union</font></b><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Elem</font></b><font color="#ff0000"> </font><font color="#bb00ff">4</font><font color="#F3E651">)</font><font color="#ff0000"> </font><font color="#F3E651">(</font><b><font color="#F35E1E">Elem</font></b><font color="#ff0000"> </font><font color="#bb00ff">4</font><font color="#F3E651">))</font><font color="#ff0000"> </font><b><font color="#F35E1E">Empty</font></b><font color="#F3E651">))))</font><font color="#ff0000"> w</font>
</pre>
<br />
-<h2 style='display: inline' id='Simplifyfunction'>Simplify function</h2><br />
+<h2 style='display: inline' id='simplify-function'>Simplify function</h2><br />
<br />
<span>Standard ML:</span><br />
<br />
@@ -116,7 +116,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">simplify x </font><font color="#F3E651">=</font><font color="#ff0000"> x</font>
</pre>
<br />
-<h2 style='display: inline' id='Deleteall'>Delete all</h2><br />
+<h2 style='display: inline' id='delete-all'>Delete all</h2><br />
<br />
<span>Standard ML:</span><br />
<br />
@@ -145,7 +145,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> delete_all’ x </font><font color="#F3E651">=</font><font color="#ff0000"> x</font>
</pre>
<br />
-<h2 style='display: inline' id='Deleteone'>Delete one</h2><br />
+<h2 style='display: inline' id='delete-one'>Delete one</h2><br />
<br />
<span>Standard ML:</span><br />
<br />
@@ -191,7 +191,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> delete_one’ x </font><font color="#F3E651">=</font><font color="#ff0000"> </font><font color="#F3E651">(</font><font color="#ff0000">x</font><font color="#F3E651">,</font><font color="#ff0000"> </font><b><font color="#F35E1E">False</font></b><font color="#F3E651">)</font>
</pre>
<br />
-<h2 style='display: inline' id='Higherorderfunctions'>Higher-order functions</h2><br />
+<h2 style='display: inline' id='higher-order-functions'>Higher-order functions</h2><br />
<br />
<span>The first line is always the SML code, the second line the Haskell variant:</span><br />
<br />
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 7dcabdaf..4ab0e0d1 100644
--- a/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html
+++ b/gemfeed/2010-05-07-lazy-evaluation-with-standarn-ml.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='LazyEvaluationwithStandardML'>Lazy Evaluation with Standard ML</h1><br />
+<h1 style='display: inline' id='lazy-evaluation-with-standard-ml'>Lazy Evaluation with Standard ML</h1><br />
<br />
<span class='quote'>Published at 2010-05-07T08:17:59+01:00</span><br />
<br />
@@ -32,7 +32,7 @@
<br />
<span>You can solve specific problems with lazy evaluation easier than with eager evaluation. For example, you might want to list the number Pi or another infinite list of something. With the help of lazy evaluation, each element of the list is calculated when it is accessed first, but not earlier.</span><br />
<br />
-<h2 style='display: inline' id='EmulatinglazyevaluationinSML'>Emulating lazy evaluation in SML</h2><br />
+<h2 style='display: inline' id='emulating-lazy-evaluation-in-sml'>Emulating lazy evaluation in SML</h2><br />
<br />
<span>However, it is possible to emulate lazy evaluation in most eager evaluation languages. This is how it is done with Standard ML (with some play with an infinite list of natural number tuples filtering out 0 elements):</span><br />
<br />
@@ -78,7 +78,7 @@ val test = first 10 (nat_pairs_not_null ());
<br />
<a class='textlink' href='http://smlnj.org/'>http://smlnj.org/</a><br />
<br />
-<h2 style='display: inline' id='ReallazinesswithHaskell'>Real laziness with Haskell </h2><br />
+<h2 style='display: inline' id='real-laziness-with-haskell-'>Real laziness with Haskell </h2><br />
<br />
<span>As Haskell already uses lazy evaluation by default, there is no need to construct a new data type. Lists in Haskell are lazy by default. You will notice that the code is also much shorter and easier to understand than the SML version. </span><br />
<br />
diff --git a/gemfeed/2010-05-09-the-fype-programming-language.html b/gemfeed/2010-05-09-the-fype-programming-language.html
index 4f9ab23c..bc691e1c 100644
--- a/gemfeed/2010-05-09-the-fype-programming-language.html
+++ b/gemfeed/2010-05-09-the-fype-programming-language.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='TheFypeProgrammingLanguage'>The Fype Programming Language</h1><br />
+<h1 style='display: inline' id='the-fype-programming-language'>The Fype Programming Language</h1><br />
<br />
<span class='quote'>Published at 2010-05-09T12:48:29+01:00; Updated at 2021-05-05</span><br />
<br />
@@ -27,7 +27,7 @@
<br />
<span>Fype is a recursive acronym and means "Fype is For Your Program Execution" or "Fype is Free Yak Programmed for ELF". You could also say, "It&#39;s not a hype - it&#39;s Fype!".</span><br />
<br />
-<h2 style='display: inline' id='ObjectorientedCstyle'>Object-oriented C style</h2><br />
+<h2 style='display: inline' id='object-oriented-c-style'>Object-oriented C style</h2><br />
<br />
<span>The Fype interpreter is written in an object-oriented style of C. Each "main component" has its own .h and .c file. There is a struct type for each (most components at least) component, which can be initialized using a "COMPONENT_new" function and destroyed using a "COMPONENT_delete" function. Method calls follow the same schema, e.g. "COMPONENT_METHODNAME". There is no such as class inheritance and polymorphism involved. </span><br />
<br />
@@ -100,7 +100,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#F3E651">}</font>
</pre>
<br />
-<h2 style='display: inline' id='Datatypes'>Data types</h2><br />
+<h2 style='display: inline' id='data-types'>Data types</h2><br />
<br />
<span>Fype uses auto type conversion. However, if you want to know what&#39;s going on, you may take a look at the following basic data types:</span><br />
<ul>
@@ -114,13 +114,13 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>There is no boolean type, but we can use the integer values 0 for false and 1 for true. There is support for explicit type casting too.</span><br />
<br />
-<h2 style='display: inline' id='Syntax'>Syntax</h2><br />
+<h2 style='display: inline' id='syntax'>Syntax</h2><br />
<br />
-<h3 style='display: inline' id='Comments'>Comments</h3><br />
+<h3 style='display: inline' id='comments'>Comments</h3><br />
<br />
<span>Text from a # character until the end of the current line is considered being a comment. Multi-line comments may start with an #* and with a *# anywhere. Exceptions are if those signs are inside of strings.</span><br />
<br />
-<h3 style='display: inline' id='Variables'>Variables</h3><br />
+<h3 style='display: inline' id='variables'>Variables</h3><br />
<br />
<span>Variables are defined with the "my" keyword (inspired by Perl :-). If you don&#39;t assign a value during declaration, it uses the default integer value 0. Variables may be changed during program runtime. Variables may be deleted using the "undef" keyword! Example:</span><br />
<br />
@@ -151,7 +151,7 @@ if defined foo {
}
</pre>
<br />
-<h3 style='display: inline' id='Synonyms'>Synonyms</h3><br />
+<h3 style='display: inline' id='synonyms'>Synonyms</h3><br />
<br />
<span>Each variable can have as many synonyms as wished. A synonym is another name to access the content of a specific variable. Here is an example of how to use it:</span><br />
<br />
@@ -193,7 +193,7 @@ undef baz;
say syms foo; # Prints 1
</pre>
<br />
-<h2 style='display: inline' id='Statementsandexpressions'>Statements and expressions</h2><br />
+<h2 style='display: inline' id='statements-and-expressions'>Statements and expressions</h2><br />
<br />
<span>A Fype program is a list of statements. Each keyword, expression or function call is part of a statement. Each statement is ended with a semicolon. Example:</span><br />
<br />
@@ -203,11 +203,11 @@ say foo;
exit foo - bar;
</pre>
<br />
-<h3 style='display: inline' id='Parenthesis'>Parenthesis</h3><br />
+<h3 style='display: inline' id='parenthesis'>Parenthesis</h3><br />
<br />
<span>All parenthesis for function arguments is optional. They help to make the code better readable. They also help to force the precedence of expressions.</span><br />
<br />
-<h3 style='display: inline' id='Basicexpressions'>Basic expressions</h3><br />
+<h3 style='display: inline' id='basic-expressions'>Basic expressions</h3><br />
<br />
<span>Any "any" value holding a string will be automatically converted to an integer value.</span><br />
<br />
@@ -225,7 +225,7 @@ exit foo - bar;
(integer) not &lt;any&gt;
</pre>
<br />
-<h3 style='display: inline' id='Bitwiseexpressions'>Bitwise expressions</h3><br />
+<h3 style='display: inline' id='bitwise-expressions'>Bitwise expressions</h3><br />
<br />
<pre>
(integer) &lt;any&gt; :&lt; &lt;any&gt;
@@ -235,7 +235,7 @@ exit foo - bar;
(integer) &lt;any&gt; xor &lt;any&gt;
</pre>
<br />
-<h3 style='display: inline' id='Numericexpressions'>Numeric expressions</h3><br />
+<h3 style='display: inline' id='numeric-expressions'>Numeric expressions</h3><br />
<br />
<pre>
(number) neg &lt;number&gt;
@@ -260,7 +260,7 @@ exit foo - bar;
if yes { say no defined foo; }
</pre>
<br />
-<h2 style='display: inline' id='Controlstatements'>Control statements</h2><br />
+<h2 style='display: inline' id='control-statements'>Control statements</h2><br />
<br />
<span>Control statements available in Fype:</span><br />
<br />
@@ -288,7 +288,7 @@ until &lt;expression&gt; { &lt;statements&gt; }
<br />
<span>... runs the statements as long as the expression evaluates to a false value.</span><br />
<br />
-<h2 style='display: inline' id='Scopes'>Scopes</h2><br />
+<h2 style='display: inline' id='scopes'>Scopes</h2><br />
<br />
<span>A new scope starts with an { and ends with an }. An exception is a procedure, which does not use its own scope (see later in this manual). Control statements and functions support scopes. The "scope" function prints out all available symbols at the current scope. Here is a small example:</span><br />
<br />
@@ -339,7 +339,7 @@ SYM_VARIABLE: var4 (id=00035, line=-0001, pos=-001, type=TT_INTEGER, dval=0.0000
SYM_FUNCTION: bar
</pre>
<br />
-<h2 style='display: inline' id='Definedness'>Definedness </h2><br />
+<h2 style='display: inline' id='definedness-'>Definedness </h2><br />
<br />
<pre>
(integer) defined &lt;identifier&gt;
@@ -353,7 +353,7 @@ SYM_FUNCTION: bar
<br />
<span>... tries to undefine/delete the "identifier". Returns 1 if it succeeded, otherwise 0 is returned.</span><br />
<br />
-<h2 style='display: inline' id='System'>System </h2><br />
+<h2 style='display: inline' id='system-'>System </h2><br />
<br />
<span>These are some system and interpreter specific built-in functions supported:</span><br />
<br />
@@ -395,7 +395,7 @@ if pid {
<br />
<span>It returns the number of items freed! You may wonder why most of the time, it will produce a value of 0! Fype tries to free not needed memory ASAP. This may change in future versions to gain faster execution speed!</span><br />
<br />
-<h3 style='display: inline' id='IO'>I/O </h3><br />
+<h3 style='display: inline' id='io-'>I/O </h3><br />
<br />
<pre>
(any) put &lt;any&gt;
@@ -415,9 +415,9 @@ if pid {
<br />
<span>... just prints a new line.</span><br />
<br />
-<h2 style='display: inline' id='Proceduresandfunctions'>Procedures and functions</h2><br />
+<h2 style='display: inline' id='procedures-and-functions'>Procedures and functions</h2><br />
<br />
-<h3 style='display: inline' id='Procedures'>Procedures</h3><br />
+<h3 style='display: inline' id='procedures'>Procedures</h3><br />
<br />
<span>A procedure can be defined with the "proc" keyword and deleted with the "undef" keyword. A procedure does not return any value and does not support parameter passing. It&#39;s using already defined variables (e.g. global variables). A procedure does not have its own namespace. It&#39;s using the calling namespace. It is possible to define new variables inside of a procedure in the current namespace.</span><br />
<br />
@@ -433,7 +433,7 @@ foo; # Run the procedure. Print out "11\n"
say c; # Print out "6\n";
</pre>
<br />
-<h3 style='display: inline' id='Nestedprocedures'>Nested procedures</h3><br />
+<h3 style='display: inline' id='nested-procedures'>Nested procedures</h3><br />
<br />
<span>It&#39;s possible to define procedures inside of procedures. Since procedures don&#39;t have their own scope, nested procedures will be available to the current scope as soon as the main procedure has run the first time. You may use the "defined" keyword to check if a procedure has been defined or not.</span><br />
<br />
@@ -456,7 +456,7 @@ bar; # Now the procedure bar is defined!
foo; # Here the procedure foo will redefine bar again!
</pre>
<br />
-<h3 style='display: inline' id='Functions'>Functions</h3><br />
+<h3 style='display: inline' id='functions'>Functions</h3><br />
<br />
<span>A function can be defined with the "func" keyword and deleted with the "undef" keyword. Function do not yet return values and do not yet supports parameter passing. It&#39;s using local (lexical scoped) variables. If a certain variable does not exist, when It&#39;s using already defined variables (e.g. one scope above). </span><br />
<br />
@@ -472,7 +472,7 @@ foo; # Run the procedure. Print out "11\n"
say c; # Will produce an error because c is out of scope!
</pre>
<br />
-<h3 style='display: inline' id='Nestedfunctions'>Nested functions</h3><br />
+<h3 style='display: inline' id='nested-functions'>Nested functions</h3><br />
<br />
<span>Nested functions work the same way the nested procedures work, except that nested functions will not be available anymore after the function has been left!</span><br />
<br />
@@ -489,7 +489,7 @@ foo;
bar; # Will produce an error because bar is out of scope!
</pre>
<br />
-<h2 style='display: inline' id='Arrays'>Arrays</h2><br />
+<h2 style='display: inline' id='arrays'>Arrays</h2><br />
<br />
<span>Some progress on arrays has been made too. The following example creates a multidimensional array "foo". Its first element is the return value of the func which is "bar". The fourth value is a string" 3" converted to a double number. The last element is an anonymous array which itself contains another anonymous array as its final element:</span><br />
<br />
@@ -512,11 +512,11 @@ BA
BB
</pre>
<br />
-<h2 style='display: inline' id='Fancystuff'>Fancy stuff</h2><br />
+<h2 style='display: inline' id='fancy-stuff'>Fancy stuff</h2><br />
<br />
<span>Fancy stuff like OOP or Unicode or threading is not planed. But fancy stuff like function pointers and closures may be considered.:) </span><br />
<br />
-<h2 style='display: inline' id='Maythesourcebewithyou'>May the source be with you</h2><br />
+<h2 style='display: inline' id='may-the-source-be-with-you'>May the source be with you</h2><br />
<br />
<span>You can find all of this on the GitHub page. There is also an "examples" folders containing some Fype scripts!</span><br />
<br />
diff --git a/gemfeed/2011-05-07-perl-daemon-service-framework.html b/gemfeed/2011-05-07-perl-daemon-service-framework.html
index 3e5d08c1..62b8b8a0 100644
--- a/gemfeed/2011-05-07-perl-daemon-service-framework.html
+++ b/gemfeed/2011-05-07-perl-daemon-service-framework.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='PerlDaemonServiceFramework'>Perl Daemon (Service Framework)</h1><br />
+<h1 style='display: inline' id='perl-daemon-service-framework'>Perl Daemon (Service Framework)</h1><br />
<br />
<span class='quote'>Published at 2011-05-07T22:26:02+01:00; Updated at 2021-05-07</span><br />
<br />
@@ -21,7 +21,7 @@
<br />
<span>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. To do something useful, a module (written in Perl) must be provided.</span><br />
<br />
-<h2 style='display: inline' id='Features'>Features</h2><br />
+<h2 style='display: inline' id='features'>Features</h2><br />
<br />
<span>PerlDaemon supports:</span><br />
<br />
@@ -35,7 +35,7 @@
<li>Easy to extend</li>
<li>Multi-instance support (just use a different directory for each instance).</li>
</ul><br />
-<h2 style='display: inline' id='QuickGuide'>Quick Guide</h2><br />
+<h2 style='display: inline' id='quick-guide'>Quick Guide</h2><br />
<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
@@ -53,7 +53,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>To stop a daemon from running in foreground mode, "Ctrl+C" must be hit. To see more available startup options run "./control" without any argument.</span><br />
<br />
-<h2 style='display: inline' id='Howtoconfigure'>How to configure</h2><br />
+<h2 style='display: inline' id='how-to-configure'>How to configure</h2><br />
<br />
<span>The daemon instance can be configured in "./conf/perldaemon.conf". If you want to change a property only once, it is also possible to specify it on the command line (which will take precedence over the config file). All available config properties can be displayed via "./control keys":</span><br />
<br />
@@ -87,7 +87,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">daemon</font><font color="#F3E651">.</font><font color="#ff0000">wd</font><font color="#F3E651">=./</font>
</pre>
<br />
-<h2 style='display: inline' id='Example'>Example </h2><br />
+<h2 style='display: inline' id='example-'>Example </h2><br />
<br />
<span>So let&#39;s start the daemon with a loop interval of 10 seconds:</span><br />
<br />
@@ -117,13 +117,13 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#ff0000">$ </font><font color="#F3E651">.</font><font color="#ff0000">/control keys daemon</font><font color="#F3E651">.</font><font color="#ff0000">loopinterval</font><font color="#F3E651">=</font><font color="#bb00ff">10</font><font color="#ff0000"> </font><font color="#F3E651">&gt;</font><font color="#ff0000"> new</font><font color="#F3E651">.</font><font color="#ff0000">conf</font><font color="#F3E651">;</font><font color="#ff0000"> mv new</font><font color="#F3E651">.</font><font color="#ff0000">conf conf/perldaemon</font><font color="#F3E651">.</font><font color="#ff0000">conf</font>
</pre>
<br />
-<h2 style='display: inline' id='HiReseventloop'>HiRes event loop</h2><br />
+<h2 style='display: inline' id='hires-event-loop'>HiRes event loop</h2><br />
<br />
<span>PerlDaemon uses <span class='inlinecode'>Time::HiRes</span> to make sure that all the events run incorrect intervals. For each loop run, a time carry value is recorded and added to the next loop run to catch up on lost time.</span><br />
<br />
-<h2 style='display: inline' id='Writingyourownmodules'>Writing your own modules</h2><br />
+<h2 style='display: inline' id='writing-your-own-modules'>Writing your own modules</h2><br />
<br />
-<h3 style='display: inline' id='Examplemodule'>Example module</h3><br />
+<h3 style='display: inline' id='example-module'>Example module</h3><br />
<br />
<span>This is one of the example modules you will find in the source code. It should be pretty self-explanatory if you know Perl :-).</span><br />
<br />
@@ -162,7 +162,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#bb00ff">1</font><font color="#F3E651">;</font>
</pre>
<br />
-<h3 style='display: inline' id='Yourownmodule'>Your own module</h3><br />
+<h3 style='display: inline' id='your-own-module'>Your own module</h3><br />
<br />
<span>Want to give it some better use? It&#39;s just as easy as:</span><br />
<br />
@@ -181,7 +181,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>BTW: You can install as many modules within the same instance as desired. But they are run in sequential order (in future, they can also run in parallel using several threads or processes).</span><br />
<br />
-<h2 style='display: inline' id='Maythesourcebewithyou'>May the source be with you</h2><br />
+<h2 style='display: inline' id='may-the-source-be-with-you'>May the source be with you</h2><br />
<br />
<span>You can find PerlDaemon (including the examples) at:</span><br />
<br />
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 dd5e921d..59e8494e 100644
--- a/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html
+++ b/gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ThefibonacciplrakucPolyglot'>The fibonacci.pl.raku.c Polyglot</h1><br />
+<h1 style='display: inline' id='the-fibonacciplrakuc-polyglot'>The fibonacci.pl.raku.c Polyglot</h1><br />
<br />
<span class='quote'>Published at 2014-03-24T21:32:53+00:00; Updated at 2022-04-23</span><br />
<br />
@@ -16,7 +16,7 @@
<br />
<a class='textlink' href='https://en.wikipedia.org/wiki/Polyglot_(computing)'>https://en.wikipedia.org/wiki/Polyglot_(computing)</a><br />
<br />
-<h2 style='display: inline' id='TheFibonaccinumbers'>The Fibonacci numbers</h2><br />
+<h2 style='display: inline' id='the-fibonacci-numbers'>The Fibonacci numbers</h2><br />
<br />
<span>For fun, I programmed my own Polyglot, which is both valid Perl, Raku, C and C++ code (I have added C++ and Raku support in 2022). The exciting part about C and C++ is that $ is a valid character to start variable names with:</span><br />
<br />
@@ -71,7 +71,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://codeberg.org/snonux/perl-c-fibonacci'>https://codeberg.org/snonux/perl-c-fibonacci</a><br />
<br />
-<h3 style='display: inline' id='LetsrunitwithCandC'>Let&#39;s run it with C and C++</h3><br />
+<h3 style='display: inline' id='lets-run-it-with-c-and-c'>Let&#39;s run it with C and C++</h3><br />
<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
@@ -114,7 +114,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">fib</font><font color="#F3E651">(</font><font color="#bb00ff">10</font><font color="#F3E651">)</font><font color="#ff0000"> </font><font color="#F3E651">=</font><font color="#ff0000"> </font><font color="#bb00ff">55</font>
</pre>
<br />
-<h3 style='display: inline' id='LetsrunitwithPerlandRaku'>Let&#39;s run it with Perl and Raku</h3><br />
+<h3 style='display: inline' id='lets-run-it-with-perl-and-raku'>Let&#39;s run it with Perl and Raku</h3><br />
<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
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 3cb5fe45..6cdbea03 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='RunDebianonyourphonewithDebroid'>Run Debian on your phone with Debroid</h1><br />
+<h1 style='display: inline' id='run-debian-on-your-phone-with-debroid'>Run Debian on your phone with Debroid</h1><br />
<br />
<span class='quote'>Published at 2015-12-05T16:12:57+00:00; Updated at 2021-05-16</span><br />
<br />
@@ -25,17 +25,17 @@
<br />
<a href='./run-debian-on-your-phone-with-debroid/Deboroid.png'><img src='./run-debian-on-your-phone-with-debroid/Deboroid.png' /></a><br />
<br />
-<h2 style='display: inline' id='Foreword'>Foreword</h2><br />
+<h2 style='display: inline' id='foreword'>Foreword</h2><br />
<br />
<span>A couple of years have passed since I last worked on Debroid. Currently, I am using the Termux app on Android, which is less sophisticated than a fully blown Debian installation but sufficient for my current requirements. The content of this site may be still relevant, and it would also work with more recent versions of Debian and Android. I would expect that some minor modifications need to be made, though. </span><br />
<br />
-<h2 style='display: inline' id='Stepbystepguide'>Step by step guide</h2><br />
+<h2 style='display: inline' id='step-by-step-guide'>Step by step guide</h2><br />
<br />
<span>All scripts mentioned here can be found on GitHub at:</span><br />
<br />
<a class='textlink' href='https://codeberg.org/snonux/debroid'>https://codeberg.org/snonux/debroid</a><br />
<br />
-<h3 style='display: inline' id='Firstdebootstrapstage'>First debootstrap stage</h3><br />
+<h3 style='display: inline' id='first-debootstrap-stage'>First debootstrap stage</h3><br />
<br />
<span>This is to be performed on a Fedora Linux machine (could work on a Debian too, but Fedora is just what I use on my Laptop). The following steps prepare an initial Debian base image, which can then be transferred to the phone.</span><br />
<br />
@@ -63,7 +63,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">sudo umount jessie</font>
</pre>
<br />
-<h3 style='display: inline' id='CopyDebianimagetothephone'>Copy Debian image to the phone</h3><br />
+<h3 style='display: inline' id='copy-debian-image-to-the-phone'>Copy Debian image to the phone</h3><br />
<br />
<span>Now setup the Debian image on an external SD card on the Phone via Android Debugger as follows:</span><br />
<br />
@@ -109,7 +109,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">mount </font><font color="#F3E651">|</font><font color="#ff0000"> grep jessie</font>
</pre>
<br />
-<h3 style='display: inline' id='Seconddebootstrapstage'>Second debootstrap stage</h3><br />
+<h3 style='display: inline' id='second-debootstrap-stage'>Second debootstrap stage</h3><br />
<br />
<span>This is to be performed on the Android phone itself (inside a Debian chroot):</span><br />
<br />
@@ -124,7 +124,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">exit</font></b><font color="#ff0000"> </font><i><font color="#ababab"># Leave adb shell</font></i>
</pre>
<br />
-<h3 style='display: inline' id='Setupofvariousscripts'>Setup of various scripts</h3><br />
+<h3 style='display: inline' id='setup-of-various-scripts'>Setup of various scripts</h3><br />
<br />
<span>jessie.sh deals with all the loopback mount magic and so on. It will be run later every time you start Debroid on your phone.</span><br />
<br />
@@ -164,7 +164,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">exit</font></b><font color="#ff0000"> </font><i><font color="#ababab"># Exit chroot</font></i>
</pre>
<br />
-<h3 style='display: inline' id='EnteringDebroidandenableaservice'>Entering Debroid and enable a service</h3><br />
+<h3 style='display: inline' id='entering-debroid-and-enable-a-service'>Entering Debroid and enable a service</h3><br />
<br />
<span>This enters Debroid on your phone and starts the example service uptimed:</span><br />
<br />
@@ -187,7 +187,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">exit</font></b><font color="#ff0000"> </font><i><font color="#ababab"># Exit adb shell</font></i>
</pre>
<br />
-<h3 style='display: inline' id='IncludetoAndroidstartup'>Include to Android startup:</h3><br />
+<h3 style='display: inline' id='include-to-android-startup'>Include to Android startup:</h3><br />
<br />
<span>If you want to start Debroid automatically whenever your phone starts, then do the following:</span><br />
<br />
diff --git a/gemfeed/2016-04-03-offsite-backup-with-zfs.html b/gemfeed/2016-04-03-offsite-backup-with-zfs.html
index c7a5bee8..4fe140cc 100644
--- a/gemfeed/2016-04-03-offsite-backup-with-zfs.html
+++ b/gemfeed/2016-04-03-offsite-backup-with-zfs.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='OffsitebackupwithZFS'>Offsite backup with ZFS</h1><br />
+<h1 style='display: inline' id='offsite-backup-with-zfs'>Offsite backup with ZFS</h1><br />
<br />
<span class='quote'>Published at 2016-04-03T22:43:42+01:00</span><br />
<br />
@@ -28,25 +28,25 @@
<a class='textlink' href='./2016-04-03-offsite-backup-with-zfs.html'>Offsite backup with ZFS Part 1 (you are reading this atm.)</a><br />
<a class='textlink' href='./2016-04-16-offsite-backup-with-zfs-part2.html'>Offsite backup with ZFS Part 2</a><br />
<br />
-<h2 style='display: inline' id='Pleasedontloseallmypicturesagain'>Please don&#39;t lose all my pictures again!</h2><br />
+<h2 style='display: inline' id='please-dont-lose-all-my-pictures-again'>Please don&#39;t lose all my pictures again!</h2><br />
<br />
<span>When it comes to data storage and potential data loss, I am a paranoid person. It is due to my job and a personal experience I encountered over ten years ago: A single drive failure and loss of all my data (pictures, music, etc.).</span><br />
<br />
<span>A little about my personal infrastructure: I am running my own (mostly FreeBSD based) root servers (across several countries: Two in Germany, one in Canada, one in Bulgaria) which store all my online data (E-Mail and my Git repositories). I am syncing incremental (and encrypted) ZFS snapshots between these servers forth and back so either data can be recovered from the other server.</span><br />
<br />
-<h2 style='display: inline' id='Localstorageboxforofflinedata'>Local storage box for offline data</h2><br />
+<h2 style='display: inline' id='local-storage-box-for-offline-data'>Local storage box for offline data</h2><br />
<br />
<span>Also, I am operating a local server (an HP MicroServer) at home in my apartment. Full snapshots of all ZFS volumes are pulled from the "online" servers to the local server every other week and the incremental ZFS snapshots every day. That local server has a ZFS ZMIRROR with three disks configured (local triple redundancy). I keep up to half a year worth of ZFS snapshots of all volumes. That local server also contains all my offline data such as pictures, private documents, videos, books, various other backups, etc.</span><br />
<br />
<span>Once weekly, all the local server data is copied to two external USB drives as a backup (without the historic snapshots). For simplicity, these USB drives are not formatted with ZFS but with good old UFS. This gives me a chance to recover from a (potential) ZFS disaster. ZFS is a complex thing. Sometimes it is good not to trust complicated things!</span><br />
<br />
-<h2 style='display: inline' id='Storingitatmyapartmentisnotenough'>Storing it at my apartment is not enough</h2><br />
+<h2 style='display: inline' id='storing-it-at-my-apartment-is-not-enough'>Storing it at my apartment is not enough</h2><br />
<br />
<span>Now I am thinking about an offsite backup of all this local data. The problem is that all the data remains on a single physical location: My local MicroServer. What happens when the house burns or my server, including the internal disks and the attached USB drives, gets stolen? My first thought was to back up everything to the "cloud". However, the significant issue here is the limited amount of available upload bandwidth (only 1MBit/s).</span><br />
<br />
<span>The solution is adding another USB drive (2TB) with an encryption container (GELI) and a ZFS pool. The GELI encryption requires a secret key and a secret passphrase. I am updating the data to that drive once every three months (my calendar is reminding me about it), and afterwards, I keep that drive at a secret location outside of my apartment. All the information needed to decrypt (mounting the GELI container) is stored at another (secure) place. Key and passphrase are kept at different sites, though. Even if someone knew of it, he would not be able to decrypt it as some additional insider knowledge would be required as well.</span><br />
<br />
-<h2 style='display: inline' id='Walkingoneroundless'>Walking one round less</h2><br />
+<h2 style='display: inline' id='walking-one-round-less'>Walking one round less</h2><br />
<br />
<span>I am thinking of buying a second 2TB USB drive and setting it up the same way as the first one. So I could alternate the backups. One drive would be at the secret location, and the other drive would be at home. And these drives would swap place after each cycle. This would give some security about the failure of that drive, and I would have to go to the secret location only once (swapping the drives) instead of twice (picking that drive up to update the data + bringing it back to the remote location).</span><br />
<br />
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 3393e028..62d6265b 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='JailsandZFSwithPuppetonFreeBSD'>Jails and ZFS with Puppet on FreeBSD</h1><br />
+<h1 style='display: inline' id='jails-and-zfs-with-puppet-on-freebsd'>Jails and ZFS with Puppet on FreeBSD</h1><br />
<br />
<span class='quote'>Published at 2016-04-09T18:29:47+01:00</span><br />
<br />
@@ -34,7 +34,7 @@
<br />
<span>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.</span><br />
<br />
-<h2 style='display: inline' id='ZFS'>ZFS</h2><br />
+<h2 style='display: inline' id='zfs'>ZFS</h2><br />
<br />
<span>The ZFS module is a pretty basic one. It does not manage ZFS pools yet as I am not creating them often enough which would justify implementing an automation. But let&#39;s see how we can create a ZFS file system (on an already given ZFS pool named ztank):</span><br />
<br />
@@ -105,7 +105,7 @@ zsh: done df |
zsh: exit 1 grep foo
</pre>
<br />
-<h2 style='display: inline' id='Jails'>Jails</h2><br />
+<h2 style='display: inline' id='jails'>Jails</h2><br />
<br />
<span>Here is an example in how a FreeBSD Jail can be created. The Jail will have its own public IPv6 address. And it will have its own internal IPv4 address with IPv4 NAT to the internet (this is due to the limitation that the host server only got one public IPv4 address which requires sharing between all the Jails).</span><br />
<br />
@@ -242,7 +242,7 @@ lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu 16384
nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;
</pre>
<br />
-<h2 style='display: inline' id='InsideJailPuppet'>Inside-Jail Puppet</h2><br />
+<h2 style='display: inline' id='inside-jail-puppet'>Inside-Jail Puppet</h2><br />
<br />
<span>To automatically setup the applications running in the Jail I am using Puppet as well. I wrote a few scripts which bootstrap Puppet inside of a newly created Jail. It is doing the following:</span><br />
<br />
@@ -383,7 +383,7 @@ Notice: /Stage[main]/S_user::Root_files/S_user::My_files[root]/File[/root/.task]
Notice: Finished catalog run in 206.09 seconds
</pre>
<br />
-<h2 style='display: inline' id='ManagingmultipleJails'>Managing multiple Jails</h2><br />
+<h2 style='display: inline' id='managing-multiple-jails'>Managing multiple Jails</h2><br />
<br />
<span>Of course I am operating multiple Jails on the same host this way with Puppet:</span><br />
<br />
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 ce199ab8..d50c1425 100644
--- a/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html
+++ b/gemfeed/2016-04-16-offsite-backup-with-zfs-part2.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='OffsitebackupwithZFSPart2'>Offsite backup with ZFS (Part 2)</h1><br />
+<h1 style='display: inline' id='offsite-backup-with-zfs-part-2'>Offsite backup with ZFS (Part 2)</h1><br />
<br />
<span class='quote'>Published at 2016-04-16T22:43:42+01:00</span><br />
<br />
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 9dcafdfc..ec0c59ea 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
@@ -8,17 +8,17 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SpinningupmyownauthoritativeDNSservers'>Spinning up my own authoritative DNS servers</h1><br />
+<h1 style='display: inline' id='spinning-up-my-own-authoritative-dns-servers'>Spinning up my own authoritative DNS servers</h1><br />
<br />
<span class='quote'>Published at 2016-05-22T18:59:01+01:00</span><br />
<br />
-<h2 style='display: inline' id='Background'>Background</h2><br />
+<h2 style='display: inline' id='background'>Background</h2><br />
<br />
<span>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.</span><br />
<br />
<a class='textlink' href='http://www.schlundtech.de'>Schlund Technologies</a><br />
<br />
-<h2 style='display: inline' id='AllFreeBSDJails'>All FreeBSD Jails</h2><br />
+<h2 style='display: inline' id='all-freebsd-jails'>All FreeBSD Jails</h2><br />
<br />
<span>To set up my authoritative DNS servers, I installed a FreeBSD Jail dedicated for DNS with Puppet on my root machine as follows:</span><br />
<br />
@@ -55,7 +55,7 @@ class { &#39;jail&#39;:
}
</pre>
<br />
-<h2 style='display: inline' id='PFfirewall'>PF firewall</h2><br />
+<h2 style='display: inline' id='pf-firewall'>PF firewall</h2><br />
<br />
<span>Please note that "dns.ian.buetow.org" is just the Jail name of the master DNS server (and "caprica.ian.buetow.org" the name of the Jail for the slave DNS server) and that I am using the DNS names "dns1.buetow.org" (master) and "dns2.buetow.org" (slave) for the actual service names (these are the DNS servers visible to the public). Please also note that the IPv4 address is an internal one. I have a PF to use NAT and PAT. The DNS ports are being forwarded (TCP and UDP) to that Jail. By default, all ports are blocked, so I am adding an exception rule for the IPv6 address. These are the PF rules in use:</span><br />
<br />
@@ -72,7 +72,7 @@ pass in on re0 inet6 proto udp from any to 2a01:4f8:120:30e8::15 port {53} flags
.
</pre>
<br />
-<h2 style='display: inline' id='PuppetmanagedBINDzonefiles'>Puppet managed BIND zone files</h2><br />
+<h2 style='display: inline' id='puppet-managed-bind-zone-files'>Puppet managed BIND zone files</h2><br />
<br />
<span>In "manifests/dns.pp" (the Puppet manifest for the Master DNS Jail itself), I configured the BIND DNS server this way:</span><br />
<br />
@@ -146,7 +146,7 @@ zone "buetow.zone" {
};
</pre>
<br />
-<h2 style='display: inline' id='Theresult'>The result</h2><br />
+<h2 style='display: inline' id='the-result'>The result</h2><br />
<br />
<span>The result looks like this now:</span><br />
<br />
@@ -206,7 +206,7 @@ dns2.buetow.org. 86400 IN AAAA 2a03:2500:1:6:20::
;; MSG SIZE rcvd: 322
</pre>
<br />
-<h2 style='display: inline' id='Monitoring'>Monitoring</h2><br />
+<h2 style='display: inline' id='monitoring'>Monitoring</h2><br />
<br />
<span>For monitoring, I am using Icinga2 (I am operating two Icinga2 instances in two different DCs). I may have to post another blog article about Icinga2, but to get the idea, these were the snippets added to my Icinga2 configuration:</span><br />
<br />
@@ -233,7 +233,7 @@ apply Service "dig6" {
}
</pre>
<br />
-<h2 style='display: inline' id='DNSupdateworkflow'>DNS update workflow</h2><br />
+<h2 style='display: inline' id='dns-update-workflow'>DNS update workflow</h2><br />
<br />
<span>Whenever I have to change a DNS entry, all I have to do is:</span><br />
<br />
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 82302e43..7c501d60 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ObjectorientedprogrammingwithANSIC'>Object oriented programming with ANSI C</h1><br />
+<h1 style='display: inline' id='object-oriented-programming-with-ansi-c'>Object oriented programming with ANSI C</h1><br />
<br />
<span class='quote'>Published at 2016-11-20T22:10:57+00:00; Updated at 2022-01-29</span><br />
<br />
@@ -23,7 +23,7 @@
<br />
<span>You can do a little of object-oriented programming in the C Programming Language. However, that is, in my humble opinion, limited. It&#39;s easier to use a different programming language than C for OOP. But still it&#39;s an interesting exercise to try using C for this.</span><br />
<br />
-<h2 style='display: inline' id='Functionpointers'>Function pointers</h2><br />
+<h2 style='display: inline' id='function-pointers'>Function pointers</h2><br />
<br />
<span>Let&#39;s have a look at the following sample program. All you have to do is to add a function pointer such as "calculate" to the definition of struct "something_s". Later, during the struct initialization, assign a function address to that function pointer:</span><br />
<br />
@@ -98,7 +98,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Not complicated at all, but nice to know and helps to make the code easier to read!</span><br />
<br />
-<h2 style='display: inline' id='ThatsnotOOPthough'>That&#39;s not OOP, though</h2><br />
+<h2 style='display: inline' id='thats-not-oop-though'>That&#39;s not OOP, though</h2><br />
<br />
<span>However, that&#39;s not really how it works in object-oriented languages such as Java and C++. The method call in this example is not a method call as "mult" and "div" in this example are not "message receivers". I mean that the functions can not access the state of the "mult" and "div" struct objects. In C, you would need to do something like this instead if you wanted to access the state of "mult" from within the calculate function, you would have to pass it as an argument:</span><br />
<br />
@@ -109,13 +109,13 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#ff0000">mult</font><font color="#F3E651">.</font><font color="#7bc710">calculate</font><font color="#F3E651">(</font><font color="#ff0000">mult</font><font color="#F3E651">,</font><font color="#ff0000">a</font><font color="#F3E651">,</font><font color="#ff0000">b</font><font color="#F3E651">));</font>
</pre>
<br />
-<h2 style='display: inline' id='RealobjectorientedprogrammingwithC'>Real object oriented programming with C</h2><br />
+<h2 style='display: inline' id='real-object-oriented-programming-with-c'>Real object oriented programming with C</h2><br />
<br />
<span>If you want to take it further, hit "Object-Oriented Programming with ANSI-C" into your favourite internet search engine or follow the link below. It goes as far as writing a C preprocessor in AWK, which takes some object-oriented pseudo-C and transforms it to plain C so that the C compiler can compile it to machine code. This is similar to how the C++ language had its origins.</span><br />
<br />
<a class='textlink' href='https://www.cs.rit.edu/~ats/books/ooc.pdf'>https://www.cs.rit.edu/~ats/books/ooc.pdf</a><br />
<br />
-<h2 style='display: inline' id='OOPdesignpatternsintheLinuxKernel'>OOP design patterns in the Linux Kernel</h2><br />
+<h2 style='display: inline' id='oop-design-patterns-in-the-linux-kernel'>OOP design patterns in the Linux Kernel</h2><br />
<br />
<span>Big C software projects, like Linux, also follow some OOP techniques:</span><br />
<br />
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 4c593556..911931bd 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='RealisticloadtestingwithIORiotforLinux'>Realistic load testing with I/O Riot for Linux</h1><br />
+<h1 style='display: inline' id='realistic-load-testing-with-io-riot-for-linux'>Realistic load testing with I/O Riot for Linux</h1><br />
<br />
<span class='quote'>Published at 2018-06-01T14:50:29+01:00; Updated at 2021-05-08</span><br />
<br />
@@ -23,7 +23,7 @@
jgs\__/&#39;---&#39;\__/
</pre>
<br />
-<h2 style='display: inline' id='Foreword'>Foreword</h2><br />
+<h2 style='display: inline' id='foreword'>Foreword</h2><br />
<br />
<span>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. </span><br />
<br />
@@ -35,13 +35,13 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>Pleace notice that some of the screenshots show the command "ioreplay" instead of "ioriot". That&#39;s because the name has changed after taking those.</span><br />
<br />
-<h1 style='display: inline' id='Thearticle'>The article</h1><br />
+<h1 style='display: inline' id='the-article'>The article</h1><br />
<br />
<span>With I/O Riot IT administrators can load test and optimize the I/O subsystem of Linux-based operating systems. The tool makes it possible to record I/O patterns and replay them at a later time as often as desired. This means bottlenecks can be reproduced and eradicated. </span><br />
<br />
<span>When storing huge amounts of data, such as more than 200 billion archived emails at Mimecast, it&#39;s not only the available storage capacity that matters, but also the data throughput and latency. At the same time, operating costs must be kept as low as possible. The more systems involved, the more important it is to optimize the hardware, the operating system and the applications running on it.</span><br />
<br />
-<h2 style='display: inline' id='BackgroundExistingTechniques'>Background: Existing Techniques</h2><br />
+<h2 style='display: inline' id='background-existing-techniques'>Background: Existing Techniques</h2><br />
<br />
<span>Conventional I/O benchmarking: Administrators usually use open source benchmarking tools like IOZone and bonnie++. Available database systems such as Redis and MySQL come with their own benchmarking tools. The common problem with these tools is that they work with prescribed artificial I/O patterns. Although this can test both sequential and randomized data access, the patterns do not correspond to what can be found on production systems.</span><br />
<br />
@@ -49,17 +49,17 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>Testing in the production environment: For these reasons, benchmarks are often carried out in the production environment. In order to derive value from this such tests are especially performed during peak hours when systems are under high load. However, testing on production systems is associated with risks and can lead to failure or loss of data without adequate protection.</span><br />
<br />
-<h2 style='display: inline' id='BenchmarkingtheEmailCloudatMimecast'>Benchmarking the Email Cloud at Mimecast</h2><br />
+<h2 style='display: inline' id='benchmarking-the-email-cloud-at-mimecast'>Benchmarking the Email Cloud at Mimecast</h2><br />
<br />
<span>For email archiving, Mimecast uses an internally developed microservice, which is operated directly on Linux-based storage systems. A storage cluster is divided into several replication volumes. Data is always replicated three times across two secure data centers. Customer data is automatically allocated to one or more volumes, depending on throughput, so that all volumes are automatically assigned the same load. Customer data is archived on conventional, but inexpensive hard disks with several terabytes of storage capacity each. I/O benchmarking proved difficult for all the reasons mentioned above. Furthermore, there are no ready-made tools for this purpose in the case of self-developed software. The service operates on many block devices simultaneously, which can make the RAID controller a bottleneck. None of the freely available benchmarking tools can test several block devices at the same time without extra effort. In addition, emails typically consist of many small files. Randomized access to many small files is particularly inefficient. In addition to many software adaptations, the hardware and operating system must also be optimized.</span><br />
<br />
<span>Mimecast encourages employees to be innovative and pursue their own ideas in the form of an internal competition, Pet Project. The goal of the pet project I/O Riot was to simplify OS and hardware level I/O benchmarking. The first prototype of I/O Riot was awarded an internal roadmap prize in the spring of 2017. A few months later, I/O Riot was used to reduce write latency in the storage clusters by about 50%. The improvement was first verified by I/O replay on a test system and then successively applied to all storage systems. I/O Riot was also used to resolve a production incident caused by disk I/O load.</span><br />
<br />
-<h2 style='display: inline' id='UsingIORiot'>Using I/O Riot</h2><br />
+<h2 style='display: inline' id='using-io-riot'>Using I/O Riot</h2><br />
<br />
<span>First, all I/O events are logged to a file on a production system with I/O Riot. It is then copied to a test system where all events are replayed in the same way. The crucial point here is that you can reproduce I/O patterns as they are found on a production system as often as you like on a test system. This results in the possibility of optimizing the set screws on the system after each run.</span><br />
<br />
-<h3 style='display: inline' id='Installation'>Installation</h3><br />
+<h3 style='display: inline' id='installation'>Installation</h3><br />
<br />
<span>I/O Riot was tested under CentOS 7.2 x86_64. For compiling, the GNU C compiler and Systemtap including kernel debug information are required. Other Linux distributions are theoretically compatible but untested. First of all, you should update the systems involved as follows:</span><br />
<br />
@@ -81,7 +81,7 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>Note: It is not best practice to install any compilers on production systems. For further information please have a look at the enclosed README.md.</span><br />
<br />
-<h3 style='display: inline' id='RecordingofIOevents'>Recording of I/O events</h3><br />
+<h3 style='display: inline' id='recording-of-io-events'>Recording of I/O events</h3><br />
<br />
<span>All I/O events are kernel related. If a process wants to perform an I/O operation, such as opening a file, it must inform the kernel of this by a system call (short syscall). I/O Riot relies on the Systemtap tool to record I/O syscalls. Systemtap, available for all popular Linux distributions, helps you to take a look at the running kernel in productive environments, which makes it predestined to monitor all I/O-relevant Linux syscalls and log them to a file. Other tools, such as strace, are not an alternative because they slow down the system too much.</span><br />
<br />
@@ -95,7 +95,7 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>A Ctrl-C (SIGINT) stops recording prematurely. Otherwise, ioriot terminates itself automatically after 1 hour. Depending on the system load, the output file can grow to several gigabytes. Only metadata is logged, not the read and written data itself. When replaying later, only random data is used. Under certain circumstances, Systemtap may omit some system calls and issue warnings. This is to ensure that Systemtap does not consume too many resources.</span><br />
<br />
-<h3 style='display: inline' id='Testpreparation'>Test preparation</h3><br />
+<h3 style='display: inline' id='test-preparation'>Test preparation</h3><br />
<br />
<span>Then copy io.capture to a test system. The log also contains all accesses to the pseudo file systems devfs, sysfs and procfs. This makes little sense, which is why you must first generate a cleaned and playable version io.replay from io.capture as follows:</span><br />
<br />
@@ -105,7 +105,7 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>The parameter -n allows you to assign a freely selectable test name. An arbitrary system user under which the test is to be played is specified via paramater -u.</span><br />
<br />
-<h3 style='display: inline' id='TestInitialization'>Test Initialization</h3><br />
+<h3 style='display: inline' id='test-initialization'>Test Initialization</h3><br />
<br />
<span>The test will most likely want to access existing files. These are files the test wants to read but does not create by itself. The existence of these must be ensured before the test. You can do this as follows:</span><br />
<br />
@@ -119,7 +119,7 @@ jgs\__/&#39;---&#39;\__/
<br />
<span>You must re-initialize the environment before each run. Data from previous tests will be moved to a trash directory automatically, which can be finally deleted with "sudo ioriot -P".</span><br />
<br />
-<h3 style='display: inline' id='Replay'>Replay</h3><br />
+<h3 style='display: inline' id='replay'>Replay</h3><br />
<br />
<span>After initialization, you can replay the log with -r. You can use -R to initiate both test initialization and replay in a single command and -S can be used to specify a file in which statistics are written after the test run.</span><br />
<br />
@@ -175,13 +175,13 @@ Total time: 1213.00s
<br />
<a href='./realistic-load-testing-with-ioriot-for-linux/figure6-iostat.png'><img alt='Output of iostat. The block device sdy seems to be almost fully utilized by 99%.' title='Output of iostat. The block device sdy seems to be almost fully utilized by 99%.' src='./realistic-load-testing-with-ioriot-for-linux/figure6-iostat.png' /></a><br />
<br />
-<h2 style='display: inline' id='IORiotisOpenSource'>I/O Riot is Open Source</h2><br />
+<h2 style='display: inline' id='io-riot-is-open-source'>I/O Riot is Open Source</h2><br />
<br />
<span>The tool has already proven to be very useful and will continue to be actively developed as time and priority permits. Mimecast intends to be an ongoing contributor to Open Source. You can find I/O Riot at:</span><br />
<br />
<a class='textlink' href='https://github.com/mimecast/ioriot'>https://github.com/mimecast/ioriot</a><br />
<br />
-<h2 style='display: inline' id='Systemtap'>Systemtap</h2><br />
+<h2 style='display: inline' id='systemtap'>Systemtap</h2><br />
<br />
<span>Systemtap is a tool for the instrumentation of the Linux kernel. The tool provides an AWK-like programming language. Programs written in it are compiled from Systemtap to C- and then into a dynamically loadable kernel module. Loaded into the kernel, the program has access to Linux internals. A Systemtap program written for I/O Riot monitors when, with which parameters, at which time, and from which process I/O syscalls take place and their return values.</span><br />
<br />
@@ -189,7 +189,7 @@ Total time: 1213.00s
<br />
<a class='textlink' href='https://sourceware.org/systemtap/'>https://sourceware.org/systemtap/</a><br />
<br />
-<h2 style='display: inline' id='Morerefereces'>More refereces</h2><br />
+<h2 style='display: inline' id='more-refereces'>More refereces</h2><br />
<br />
<a class='textlink' href='http://www.iozone.org/'>IOZone</a><br />
<a class='textlink' href='https://www.coker.com.au/bonnie++/'>Bonnie++</a><br />
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 1ab48576..744dd1cd 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='DTailThedistributedlogtailprogram'>DTail - The distributed log tail program</h1><br />
+<h1 style='display: inline' id='dtail---the-distributed-log-tail-program'>DTail - The distributed log tail program</h1><br />
<br />
<span class='quote'>Published at 2021-04-22T19:28:41+01:00; Updated at 2021-04-26</span><br />
<br />
@@ -26,7 +26,7 @@
<br />
<span>Think of DTail as a distributed version of the tail program which is very useful when you have a distributed application running on many servers. DTail is an Open-Source, cross-platform, fairly easy to use, support and maintain log file analysis &amp; statistics gathering tool designed for Engineers and Systems Administrators. It is programmed in Google Go.</span><br />
<br />
-<h2 style='display: inline' id='AMimecastPetProject'>A Mimecast Pet Project</h2><br />
+<h2 style='display: inline' id='a-mimecast-pet-project'>A Mimecast Pet Project</h2><br />
<br />
<span>DTail got its inspiration from public domain tools available already in this area but it is a blue sky from-scratch development which was first presented at Mimecast’s annual internal Pet Project competition (awarded with a Bronze prize). It has gained popularity since and is one of the most widely deployed DevOps tools at Mimecast (reaching nearly 10k server installations) and many engineers use it on a regular basis. The Open-Source version of DTail is available at:</span><br />
<br />
@@ -34,7 +34,7 @@
<br />
<span>Try it out — We would love any feedback. But first, read on…</span><br />
<br />
-<h2 style='display: inline' id='Differentiatingfromlogmanagementsystems'>Differentiating from log management systems</h2><br />
+<h2 style='display: inline' id='differentiating-from-log-management-systems'>Differentiating from log management systems</h2><br />
<br />
<span>Why not just use a full-blown log management system? There are various Open-Source and commercial log management solutions available on the market you could choose from (e.g. the ELK stack). Most of them store the logs in a centralized location and are fairly complex to set up and operate. Possibly they are also pretty expensive to operate if you have to buy dedicated hardware (or pay fees to your cloud provider) and have to hire support staff for it.</span><br />
<br />
@@ -44,7 +44,7 @@
<br />
<span>As a downside, you won’t be able to access any logs with DTail when the server is down. Furthermore, a server can store logs only up to a certain capacity as disks will fill up. For the purpose of ad-hoc debugging, these are not typically issues. Usually, it’s the application you want to debug and not the server. And disk space is rarely an issue for bare metal and VM-based systems these days, with sufficient space for several weeks’ worth of log storage being available. DTail also supports reading compressed logs. The currently supported compression algorithms are gzip and zstd.</span><br />
<br />
-<h2 style='display: inline' id='Combiningsimplicitysecurityandefficiency'>Combining simplicity, security and efficiency</h2><br />
+<h2 style='display: inline' id='combining-simplicity-security-and-efficiency'>Combining simplicity, security and efficiency</h2><br />
<br />
<span>DTail also has a client component that connects to multiple servers concurrently for log files (or any other text files).</span><br />
<br />
@@ -54,7 +54,7 @@
<br />
<span>Recent log files are very likely still in the file system caches on the servers. Therefore, there tends to be a minimal I/O overhead involved.</span><br />
<br />
-<h2 style='display: inline' id='TheDTailfamilyofcommands'>The DTail family of commands</h2><br />
+<h2 style='display: inline' id='the-dtail-family-of-commands'>The DTail family of commands</h2><br />
<br />
<span>Following the UNIX philosophy, DTail includes multiple command-line commands each of them for a different purpose:</span><br />
<br />
@@ -67,7 +67,7 @@
</ul><br />
<a href='./dtail-the-distributed-log-tail-program/dgrep.gif'><img alt='DGrep sample session animated gif' title='DGrep sample session animated gif' src='./dtail-the-distributed-log-tail-program/dgrep.gif' /></a><br />
<br />
-<h2 style='display: inline' id='Usageexample'>Usage example</h2><br />
+<h2 style='display: inline' id='usage-example'>Usage example</h2><br />
<br />
<span>The use of these commands is almost self-explanatory for a person already used to the standard command line in Unix systems. One of the main goals is to make DTail easy to use. A tool that is too complicated to use under high-pressure scenarios (e.g., during an incident) can be quite detrimental.</span><br />
<br />
@@ -85,11 +85,11 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er
<br />
<span>You could also provide a comma-separated list of servers as opposed to a text file. There are many more options you could use. The ones listed here are just the very basic ones. There are more instructions and usage examples on the GitHub page. Also, you can study even more of the available options via the –help switch (some real treasures might be hidden there).</span><br />
<br />
-<h2 style='display: inline' id='Fittingitin'>Fitting it in</h2><br />
+<h2 style='display: inline' id='fitting-it-in'>Fitting it in</h2><br />
<br />
<span>DTail integrates nicely into the user management of existing infrastructure. It follows normal system permissions and does not open new “holes” on the server which helps to keep security departments happy. The user would not have more or less file read permissions than he would have via a regular SSH login shell. There is a full SSH key, traditional UNIX permissions, and Linux ACL support. There is also a very low resource footprint involved. On average for tailing and searching log files less than 100MB RAM and less than a quarter of a CPU core per participating server are required. Complex map-reduce queries on big data sets will require more resources accordingly.</span><br />
<br />
-<h2 style='display: inline' id='Advancedfeatures'>Advanced features</h2><br />
+<h2 style='display: inline' id='advanced-features'>Advanced features</h2><br />
<br />
<span>The features listed here are out of the scope of this blog post but are worthwhile to mention:</span><br />
<br />
@@ -100,7 +100,7 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er
<li>Server-side stats streaming with continuous map-reduce queries. This for example can be used to periodically generate stats from the logs at a configured interval, e.g., log error counts by the minute. These then can be sent to a time-series database (e.g., Graphite) and then plotted in a Grafana dashboard.</li>
<li>Support for custom extensions. E.g., for different server discovery methods (so you don’t have to rely on plain server lists) and log file formats (so that map-reduce queries can parse more stats from the logs).</li>
</ul><br />
-<h2 style='display: inline' id='Forthefuture'>For the future</h2><br />
+<h2 style='display: inline' id='for-the-future'>For the future</h2><br />
<br />
<span>There are various features we want to see in the future.</span><br />
<br />
@@ -110,7 +110,7 @@ dtail –servers serverlist.txt –files ‘/var/log/*.log’ –regex ‘(?i:er
<li>A more complex change would be the support of federated queries. You can connect to thousands of servers from a single client running on a laptop. But does it scale to 100k of servers? Some of the servers could be used as middleware for connecting to even more servers.</li>
<li>Another aspect is to extend the documentation. Especially the advanced features such as map-reduce query language and how to configure the server-side queries currently do require more documentation. For now, you can read the code, sample config files or just ask the author for that! But this will be certainly addressed in the future.</li>
</ul><br />
-<h2 style='display: inline' id='OpenSource'>Open Source</h2><br />
+<h2 style='display: inline' id='open-source'>Open Source</h2><br />
<br />
<span>Mimecast highly encourages you to have a look at DTail and submit an issue for any features you would like to see. Have you found a bug? Maybe you just have a question or comment? If you want to go a step further: We would also love to see pull requests for any features or improvements. Either way, if in doubt just contact us via the DTail GitHub page.</span><br />
<br />
diff --git a/gemfeed/2021-04-24-welcome-to-the-geminispace.html b/gemfeed/2021-04-24-welcome-to-the-geminispace.html
index 7d8fff9b..07a172fd 100644
--- a/gemfeed/2021-04-24-welcome-to-the-geminispace.html
+++ b/gemfeed/2021-04-24-welcome-to-the-geminispace.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='WelcometotheGeminispace'>Welcome to the Geminispace</h1><br />
+<h1 style='display: inline' id='welcome-to-the-geminispace'>Welcome to the Geminispace</h1><br />
<br />
<span class='quote'>Published at 2021-04-24T19:28:41+01:00; Updated at 2021-06-18</span><br />
<br />
@@ -39,19 +39,19 @@
</pre>
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
-<h3 style='display: inline' id='Myurgetorevampmypersonalwebsite'>My urge to revamp my personal website</h3><br />
+<h3 style='display: inline' id='my-urge-to-revamp-my-personal-website'>My urge to revamp my personal website</h3><br />
<br />
<span>For some time, I had to urge to revamp my personal website. Not to update the technology and its design but to update all the content (+ keep it current) and start a small tech blog again. So unconsciously, I began to search for an excellent platform to do all of that in a KISS (keep it simple &amp; stupid) way.</span><br />
<br />
-<h3 style='display: inline' id='MystillgreatLaptoprunninghot'>My still great Laptop running hot</h3><br />
+<h3 style='display: inline' id='my-still-great-laptop-running-hot'>My still great Laptop running hot</h3><br />
<br />
<span>Earlier this year (2021), I noticed that my almost seven-year-old but still great Laptop started to become hot and slowed down while surfing the web. Also, the Laptop&#39;s fan became quite noisy. This was all due to the additional bloat such as JavaScript, excessive use of CSS, tracking cookies+pixels, ads, and so on there was on the website. </span><br />
<br />
<span>All I wanted was to read an interesting article, but after a big advertising pop-up banner appeared and made everything worse, I gave up and closed the browser tab.</span><br />
<br />
-<h2 style='display: inline' id='DiscoveringtheGeminiinternetprotocol'>Discovering the Gemini internet protocol</h2><br />
+<h2 style='display: inline' id='discovering-the-gemini-internet-protocol'>Discovering the Gemini internet protocol</h2><br />
<br />
<span>Around the same time, I discovered a relatively new, more lightweight protocol named Gemini, which does not support all these CPU-intensive features like HTML, JavaScript, and CSS. Also, tracking and ads are unsupported by the Gemini protocol.</span><br />
<br />
@@ -62,7 +62,7 @@
<br />
<span>Why is there a need for a new protocol? As the modern web is a superset of Gemini, can&#39;t we use simple HTML 1.0 instead? That&#39;s a good and valid question. It is not a technical problem but a human problem. We tend to abuse the features once they are available. You can ensure that things stay efficient and straightforward as long as you are using the Gemini protocol. On the other hand, you can&#39;t force every website on the modern web to only create plain and straightforward-looking HTML pages.</span><br />
<br />
-<h2 style='display: inline' id='MyownGeminicapsule'>My own Gemini capsule</h2><br />
+<h2 style='display: inline' id='my-own-gemini-capsule'>My own Gemini capsule</h2><br />
<br />
<span>As it is effortless to set up and maintain your own Gemini capsule (Gemini server + content composed via the Gemtext markup language), I decided to create my own. What I like about Gemini is that I can use my favourite text editor and get typing. I don&#39;t need to worry about the style and design of the presence, and I also don&#39;t have to test anything in ten different web browsers. I can only focus on the content! As a matter of fact, I am using the Vim editor + its spellchecker + auto word completion functionality to write this. </span><br />
<br />
@@ -70,7 +70,7 @@
<br />
<a class='textlink' href='./2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html'>Gemtexter - One Bash script to rule it all</a><br />
<br />
-<h2 style='display: inline' id='Geminiadvantagessummarised'>Gemini advantages summarised</h2><br />
+<h2 style='display: inline' id='gemini-advantages-summarised'>Gemini advantages summarised</h2><br />
<br />
<ul>
<li>Supports an alternative to the modern bloated web</li>
@@ -81,7 +81,7 @@
<li>Supports privacy (no cookies, no request header fingerprinting, TLS encryption)</li>
<li>Fun to play with (it&#39;s a bit geeky, yes, but a lot of fun!)</li>
</ul><br />
-<h2 style='display: inline' id='DiveintodeepGeminispace'>Dive into deep Gemini space</h2><br />
+<h2 style='display: inline' id='dive-into-deep-gemini-space'>Dive into deep Gemini space</h2><br />
<br />
<span>Check out one of the following links for more information about Gemini. For example, you will find a FAQ that explains why the protocol is named Gemini. Many Gemini capsules are dual-hosted via Gemini and HTTP(S) so that people new to Gemini can sneak peek at the content with a regular web browser. Some people go as far as tri-hosting all their content via HTTP(S), Gemini and Gopher.</span><br />
<br />
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 408b3c65..22593a8c 100644
--- a/gemfeed/2021-05-16-personal-bash-coding-style-guide.html
+++ b/gemfeed/2021-05-16-personal-bash-coding-style-guide.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='PersonalBashcodingstyleguide'>Personal Bash coding style guide</h1><br />
+<h1 style='display: inline' id='personal-bash-coding-style-guide'>Personal Bash coding style guide</h1><br />
<br />
<span class='quote'>Published at 2021-05-16T14:51:57+01:00</span><br />
<br />
@@ -29,11 +29,11 @@
<br />
<a class='textlink' href='https://google.github.io/styleguide/shellguide.html'>Google Shell Style Guide</a><br />
<br />
-<h2 style='display: inline' id='Mymodifications'>My modifications</h2><br />
+<h2 style='display: inline' id='my-modifications'>My modifications</h2><br />
<br />
<span>These are my modifications to the Google Guide.</span><br />
<br />
-<h3 style='display: inline' id='Shebang'>Shebang</h3><br />
+<h3 style='display: inline' id='shebang'>Shebang</h3><br />
<br />
<span>Google recommends using always...</span><br />
<br />
@@ -53,7 +53,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><i><font color="#ababab">#!/usr/bin/env bash</font></i>
</pre>
<br />
-<h3 style='display: inline' id='Twospacesofttabsindentation'>Two space soft-tabs indentation</h3><br />
+<h3 style='display: inline' id='two-space-soft-tabs-indentation'>Two space soft-tabs indentation</h3><br />
<br />
<span>I know there have been many tab- and soft-tab wars on this planet. Google recommends using two space soft-tabs for Bash scripts. </span><br />
<br />
@@ -63,7 +63,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I hit the 80 character line length quicker with the four spaces than with two spaces, but that makes me refactor the Bash code more aggressively, which is a good thing. </span><br />
<br />
-<h3 style='display: inline' id='Breakinglongpipes'>Breaking long pipes</h3><br />
+<h3 style='display: inline' id='breaking-long-pipes'>Breaking long pipes</h3><br />
<br />
<span>Google recommends breaking up long pipes like this:</span><br />
<br />
@@ -96,7 +96,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span class='quote'>Update: It&#39;s 2023 now, and I have changed my mind. I think Google&#39;s way is the better one. It may be a bit more to type, but the leading <span class='inlinecode'>|</span> are a nice eye catcher, so you know immediately what is going on!</span><br />
<br />
-<h3 style='display: inline' id='Quotingyourvariables'>Quoting your variables</h3><br />
+<h3 style='display: inline' id='quoting-your-variables'>Quoting your variables</h3><br />
<br />
<span>Google recommends always quote your variables. Generally, it would be best if you did that only for variables where you are unsure about the content/values of the variables (e.g., content is from an external input source and may contain whitespace or other special characters). In my opinion, the code will become quite noisy when you always quote your variables like this:</span><br />
<br />
@@ -137,7 +137,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>A few more words on always quoting the variables: For the sake of consistency (and for making ShellCheck happy), I am not against quoting everything I encounter. I also think that the larger the Bash script becomes, the more critical it becomes always to quote variables. That&#39;s because it will be more likely that you might not remember that some of the functions don&#39;t work on values with spaces in them, for example. It&#39;s just that I won&#39;t quote everything in every small script I write. </span><br />
<br />
-<h3 style='display: inline' id='Preferbuiltincommandsoverexternalcommands'>Prefer built-in commands over external commands</h3><br />
+<h3 style='display: inline' id='prefer-built-in-commands-over-external-commands'>Prefer built-in commands over external commands</h3><br />
<br />
<span>Google recommends using the built-in commands over available external commands where possible:</span><br />
<br />
@@ -162,9 +162,9 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I even didn&#39;t get started with what you can do with awk (especially GNU Awk), a fully-fledged programming language. Tiny Awk snippets tend to be used quite often in Shell scripts without honouring the real power of Awk. But if you did everything in Perl or Awk or another scripting language, then it wouldn&#39;t be a Bash script anymore, wouldn&#39;t it? ;-)</span><br />
<br />
-<h2 style='display: inline' id='Myadditions'>My additions</h2><br />
+<h2 style='display: inline' id='my-additions'>My additions</h2><br />
<br />
-<h3 style='display: inline' id='Useofyesandno'>Use of &#39;yes&#39; and &#39;no&#39;</h3><br />
+<h3 style='display: inline' id='use-of-yes-and-no'>Use of &#39;yes&#39; and &#39;no&#39;</h3><br />
<br />
<span>Bash does not support a boolean type. I tend just to use the strings &#39;yes&#39; and &#39;no&#39; here. I used 0 for false and 1 for true for some time, but I think that the yes/no strings are easier to read. Yes, the Bash script would need to perform string comparisons on every check, but if performance is crucial to you, you wouldn&#39;t want to use a Bash script anyway, correct?</span><br />
<br />
@@ -188,7 +188,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">buy_soda </font><font color="#ff0000">$I_NEED_THE_BUZZ</font>
</pre>
<br />
-<h3 style='display: inline' id='Nonevilalternativetovariableassignmentsviaeval'>Non-evil alternative to variable assignments via eval</h3><br />
+<h3 style='display: inline' id='non-evil-alternative-to-variable-assignments-via-eval'>Non-evil alternative to variable assignments via eval</h3><br />
<br />
<span>Google is in the opinion that eval should be avoided. I think so too. They list these examples in their guide:</span><br />
<br />
@@ -232,7 +232,7 @@ Hello paul, it is Sat 15 May 19:21:12 BST 2021
<br />
<span>The downside is that ShellCheck won&#39;t be able to follow the dynamic sourcing anymore.</span><br />
<br />
-<h3 style='display: inline' id='Preferpipesoverarraysforlistprocessing'>Prefer pipes over arrays for list processing</h3><br />
+<h3 style='display: inline' id='prefer-pipes-over-arrays-for-list-processing'>Prefer pipes over arrays for list processing</h3><br />
<br />
<span>When I do list processing in Bash, I prefer to use pipes. You can chain them through Bash functions as well, which is pretty neat. Usually, my list processing scripts are of a structure like this:</span><br />
<br />
@@ -277,7 +277,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The stdout is always passed as a pipe to the next following stage. The stderr is used for info logging.</span><br />
<br />
-<h3 style='display: inline' id='Assignthenshift'>Assign-then-shift</h3><br />
+<h3 style='display: inline' id='assign-then-shift'>Assign-then-shift</h3><br />
<br />
<span>I often refactor existing Bash code. That leads me to add and removing function arguments quite often. It&#39;s pretty repetitive work changing the $1, $2.... function argument numbers every time you change the order or add/remove possible arguments.</span><br />
<br />
@@ -329,7 +329,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>As you can see, I didn&#39;t need to change any other assignments within the function. Of course, you would also need to change the function argument lists at every occasion where the function is invoked - you would do that within the same refactoring session.</span><br />
<br />
-<h3 style='display: inline' id='Paranoidmode'>Paranoid mode</h3><br />
+<h3 style='display: inline' id='paranoid-mode'>Paranoid mode</h3><br />
<br />
<span>I call this the paranoid mode. The Bash will stop executing when a command exits with a status not equal to 0:</span><br />
<br />
@@ -370,11 +370,11 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">}</font>
</pre>
<br />
-<h2 style='display: inline' id='Learned'>Learned</h2><br />
+<h2 style='display: inline' id='learned'>Learned</h2><br />
<br />
<span>There are also a couple of things I&#39;ve learned from Google&#39;s guide.</span><br />
<br />
-<h3 style='display: inline' id='Unintendedlexicographicalcomparison'>Unintended lexicographical comparison.</h3><br />
+<h3 style='display: inline' id='unintended-lexicographical-comparison'>Unintended lexicographical comparison.</h3><br />
<br />
<span>The following looks like a valid Bash code:</span><br />
<br />
@@ -410,7 +410,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">fi</font></b>
</pre>
<br />
-<h3 style='display: inline' id='PIPESTATUS'>PIPESTATUS</h3><br />
+<h3 style='display: inline' id='pipestatus'>PIPESTATUS</h3><br />
<br />
<span>I have never used the PIPESTATUS variable before. I knew that it&#39;s there, but I never bothered to understand how it works until now thoroughly.</span><br />
<br />
@@ -442,7 +442,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">fi</font></b>
</pre>
<br />
-<h2 style='display: inline' id='UsecommonsenseandBECONSISTENT'>Use common sense and BE CONSISTENT.</h2><br />
+<h2 style='display: inline' id='use-common-sense-and-be-consistent'>Use common sense and BE CONSISTENT.</h2><br />
<br />
<span>The following two paragraphs are thoroughly quoted from the Google guidelines. But they hit the hammer on the head:</span><br />
<br />
@@ -451,7 +451,7 @@ http://www.gnu.org/software/src-highlite -->
<span class='quote'>The point of having style guidelines is to have a common vocabulary of coding so people can concentrate on what you are saying rather than on how you are saying it. We present global style rules here, so people know the vocabulary. But local style is also important. If the code you add to a file looks drastically different from the existing code around it, the discontinuity throws readers out of their rhythm when they go to read it. Try to avoid this.</span><br />
<br />
<br />
-<h2 style='display: inline' id='AdvancedBashlearningprotip'>Advanced Bash learning pro tip</h2><br />
+<h2 style='display: inline' id='advanced-bash-learning-pro-tip'>Advanced Bash learning pro tip</h2><br />
<br />
<span>I also highly recommend having a read through the "Advanced Bash-Scripting Guide" (not from Google). I use it as the universal Bash reference and learn something new every time I look at it.</span><br />
<br />
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 ff9e212c..a618aee1 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='GemtexterOneBashscripttoruleitall'>Gemtexter - One Bash script to rule it all</h1><br />
+<h1 style='display: inline' id='gemtexter---one-bash-script-to-rule-it-all'>Gemtexter - One Bash script to rule it all</h1><br />
<br />
<span class='quote'>Published at 2021-06-05T19:03:32+01:00</span><br />
<br />
@@ -57,7 +57,7 @@
<br />
<span>This comes with the benefit that I can write content in my favourite text editor (Vim). </span><br />
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
<span>Another benefit of using Gemini is that the Gemtext markup language is easy to parse. As my site is dual-hosted (Gemini+HTTP), I could, in theory, just write a shell script to deal with the conversion from Gemtext to HTML; there is no need for a full-featured programming language here. I have done a lot of Bash in the past, but I am also often revisiting old tools and techniques for refreshing and keeping the knowledge up to date here.</span><br />
<br />
@@ -69,7 +69,7 @@
<br />
<span>In short, Gemtexter is a static site generator and blogging engine that uses Gemtext as its input format.</span><br />
<br />
-<h2 style='display: inline' id='Outputformats'>Output formats</h2><br />
+<h2 style='display: inline' id='output-formats'>Output formats</h2><br />
<br />
<span>Gemtexter takes the Gemtext Markup files as the input and generates the following outputs from it (you find examples for each of these output formats on the Gemtexter GitHub page):</span><br />
<br />
@@ -82,11 +82,11 @@
</ul><br />
<span>I could have done all of that with a more robust language than Bash (such as Perl, Ruby, Go...), but I didn&#39;t. The purpose of this exercise was to challenge what I can do with a "simple" Bash script and learn new things.</span><br />
<br />
-<h2 style='display: inline' id='TakingitasfarasIshouldbutnofarther'>Taking it as far as I should, but no farther</h2><br />
+<h2 style='display: inline' id='taking-it-as-far-as-i-should-but-no-farther'>Taking it as far as I should, but no farther</h2><br />
<br />
<span>The Bash is suitable very well for small scripts and ad-hoc automation on the command line. But it is for sure not a robust programming language. Writing this blog post, Gemtexter is nearing 1000 lines of code, which is actually a pretty large Bash script.</span><br />
<br />
-<h3 style='display: inline' id='Modularization'>Modularization </h3><br />
+<h3 style='display: inline' id='modularization-'>Modularization </h3><br />
<br />
<span>I modularized the code so that each core functionality has its own file in ./lib. All the modules are included from the main Gemtexter script. For example, there is one module for HTML generation, one for Markdown generation, and so on. </span><br />
<br />
@@ -110,7 +110,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>This way, the script could grow far beyond 1000 lines of code and still be maintainable. With more features, execution speed may slowly become a problem, though. I already notice that Gemtexter doesn&#39;t produce results instantly but requires few seconds of runtime already. That&#39;s not a problem yet, though. </span><br />
<br />
-<h3 style='display: inline' id='BashbestpractisesandShellCheck'>Bash best practises and ShellCheck</h3><br />
+<h3 style='display: inline' id='bash-best-practises-and-shellcheck'>Bash best practises and ShellCheck</h3><br />
<br />
<span>While working on Gemtexter, I also had a look at the Google Shell Style Guide and wrote a blog post on that:</span><br />
<br />
@@ -126,7 +126,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://shellcheck.net'>https://shellcheck.net</a><br />
<br />
-<h3 style='display: inline' id='Unittesting'>Unit testing</h3><br />
+<h3 style='display: inline' id='unit-testing'>Unit testing</h3><br />
<br />
<span>There is a basic unit test module in ./lib/assert.source.sh, which is used for unit testing. I found this to be very beneficial for cross-platform development. For example, I noticed that some unit tests failed on macOS while everything still worked fine on my Fedora Linux laptop. </span><br />
<br />
@@ -134,7 +134,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>It has been proven quite helpful to have unit tests in place for the HTML part already when working on the Markdown generator part. To test the Markdown part, I copied the HTML unit tests and changed the expected outcome in the assertions. This way, I could implement the Markdown generator in a test-driven way (writing the test first and afterwards the implementation).</span><br />
<br />
-<h3 style='display: inline' id='HTMLunittestexample'>HTML unit test example</h3><br />
+<h3 style='display: inline' id='html-unit-test-example'>HTML unit test example</h3><br />
<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
@@ -145,7 +145,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> </font><font color="#bb00ff">'&lt;a class="textlink" href="http://example.org"&gt;Description of the link&lt;/a&gt;&lt;br /&gt;'</font>
</pre>
<br />
-<h3 style='display: inline' id='Markdownunittestexample'>Markdown unit test example</h3><br />
+<h3 style='display: inline' id='markdown-unit-test-example'>Markdown unit test example</h3><br />
<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
@@ -156,7 +156,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> </font><font color="#bb00ff">'[Description of the link](http://example.org) '</font>
</pre>
<br />
-<h2 style='display: inline' id='HandcraftedHTMLstyles'>Handcrafted HTML styles</h2><br />
+<h2 style='display: inline' id='handcrafted-html-styles'>Handcrafted HTML styles</h2><br />
<br />
<span>I had a look at some ready off the shelf CSS styles, but they all seemed too bloated. There is a whole industry selling CSS styles on the interweb. I preferred an effortless and minimalist style for the HTML site. So I handcrafted the Cascading Style Sheets manually with love and included them in the HTML header template. </span><br />
<br />
@@ -164,11 +164,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>It&#39;s worth mentioning that all generated HTML files and Atom feeds pass the W3C validation tests.</span><br />
<span> </span><br />
-<h2 style='display: inline' id='Configurability'>Configurability</h2><br />
+<h2 style='display: inline' id='configurability'>Configurability</h2><br />
<br />
<span>In case someone else than me wants to use Gemtexter for his own site, it is pretty much configurable. It is possible to specify your own configuration file and your own HTML templates. Have a look at the GitHub page for examples.</span><br />
<br />
-<h2 style='display: inline' id='Futurefeatures'>Future features</h2><br />
+<h2 style='display: inline' id='future-features'>Future features</h2><br />
<br />
<span>I could think of the following features added to a future version of Gemtexter:</span><br />
<br />
@@ -178,7 +178,7 @@ http://www.gnu.org/software/src-highlite -->
<li>External CSS file for HTML.</li>
<li>Improve speed by introducing parallelism and/or concurrency and/or better caching.</li>
</ul><br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>It was quite a lot of fun writing Gemtexter. It&#39;s a relatively small project, but given that I worked on that in my spare time once in a while, it kept me busy for several weeks. </span><br />
<br />
diff --git a/gemfeed/2021-07-04-the-well-grounded-rubyist.html b/gemfeed/2021-07-04-the-well-grounded-rubyist.html
index e7017f37..0df3f333 100644
--- a/gemfeed/2021-07-04-the-well-grounded-rubyist.html
+++ b/gemfeed/2021-07-04-the-well-grounded-rubyist.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='TheWellGroundedRubyist'>The Well-Grounded Rubyist</h1><br />
+<h1 style='display: inline' id='the-well-grounded-rubyist'>The Well-Grounded Rubyist</h1><br />
<br />
<span class='quote'>Published at 2021-07-04T10:51:23+01:00</span><br />
<br />
@@ -24,7 +24,7 @@
<br />
<span>Yukihiro Matsumoto, the inventor of Ruby, said: "I wanted a scripting language that was more powerful than Perl and more object-oriented than Python" - So I can see where some of the similarities come from. I personally don&#39;t believe that Ruby is more powerful than Perl, though, especially when you take CPAN and/or Perl 6 (now known as Raku) into the equation. Well, it all depends on what you mean with "more powerful". But I want to stay pragmatic and use what&#39;s already used at my workplace.</span><br />
<br />
-<h2 style='display: inline' id='MyRubyproblemdomain'>My Ruby problem domain</h2><br />
+<h2 style='display: inline' id='my-ruby-problem-domain'>My Ruby problem domain</h2><br />
<br />
<span>I wrote a lot of Ruby code over the last couple of years. There were many small to medium-sized tools and other projects such as Nagios monitoring checks, even an internal monitoring &amp; reporting site based on Sinatra. All Ruby scripts I wrote do their work well; I didn&#39;t encounter any significant problems using Ruby for any of these tasks. Of course, there&#39;s nothing that couldn&#39;t be written in Perl (or Python), though, after all, these languages are all Turing-complete and all these languages also come with a huge set of 3rd party libraries :-).</span><br />
<br />
@@ -42,7 +42,7 @@
<br />
<span>For all other in-between tasks I mainly use the Ruby programming language (unless I decide to give something new a shot once in a while).</span><br />
<br />
-<h2 style='display: inline' id='BeingstuckinRubymediocrity'>Being stuck in Ruby-mediocrity</h2><br />
+<h2 style='display: inline' id='being-stuck-in-ruby-mediocrity'>Being stuck in Ruby-mediocrity</h2><br />
<br />
<span>As a Site Reliability Engineer there were many tasks and problems to be solved as efficiently and quickly as possible and, of course, without bugs. So I learned Ruby relatively fast by doing and the occasional web search for "how to do thing X". I always was eager to get the problem at hand solved and as long as the code solved the problem I usually was happy.</span><br />
<br />
@@ -50,7 +50,7 @@
<br />
<span>An unexpected benefit was that most of my Ruby code (probably not all, there are always dark corners in some old code bases lurking around) was easy to follow and extend or fix, even by people who usually don&#39;t speak Ruby, as there wasn&#39;t too much magic involved in my code - However, I could have done better still. Looking at other Ruby projects, I noticed over time that there is so much more to the language I wanted to explore. For example new techniques and the Ruby best practise, and much more about how things work under the hood, I wanted to learn about.</span><br />
<br />
-<h2 style='display: inline' id='OReillySafariBooksOnline'>O&#39;Reilly Safari Books Online</h2><br />
+<h2 style='display: inline' id='oreilly-safari-books-online'>O&#39;Reilly Safari Books Online</h2><br />
<br />
<span>I do have an O&#39;Reilly Safari Online subscription (thank you, employer). To my liking, I found the "The Well-Grounded Rubyist" book there (the text version and also the video version of it). I watched the video version for a couple of weeks, chunking the content into small pieces so it was able to fit into my schedule, increasing the playback speed for the topics I knew already well enough and slowed it down to actual pace when there was something new to learn and occasionally jumped back to the text book to review what I just learned. To my satisfaction, I was already familiar with over half of the language. But there was still the big chunk, especially how the magic happens under the hood in Ruby, which I missed out on, but I am happy now to be aware of it now.</span><br />
<br />
@@ -58,25 +58,25 @@
<br />
<span>Will I rewrite and refactor all of my existing Ruby programs? Probably not, as they all do their work as intended. Some of these scripts will be eventually replaced or retired. But depending on the situation, I might refactor a module, class or a method or two once in a while. I already knew how to program in an object-oriented style from other languages (e.g. Java, C++, Perl Moose and plain) before I started Ruby, so my existing Ruby code is not as bad as you might assume after reading this article :-). In contrast to Java/C++, Ruby is a dynamic language, and the idiomatic ways of doing things differs from statically typed languages.</span><br />
<br />
-<h2 style='display: inline' id='Keytakeaways'>Key takeaways</h2><br />
+<h2 style='display: inline' id='key-takeaways'>Key takeaways</h2><br />
<br />
<span>These are my key takeaways. These only point out some specific things I have learned, and represent, by far, not everything I&#39;ve learned from the book.</span><br />
<br />
-<h3 style='display: inline' id='Everythingisanobject'>"Everything" is an object</h3><br />
+<h3 style='display: inline' id='everything-is-an-object'>"Everything" is an object</h3><br />
<br />
<span>In Ruby, everything is an object. However, Ruby is not Smalltalk. It depends on what you mean by "everything". Fixnums are objects. Classes also are, as instances of class Class. Methods, operators and blocks aren&#39;t but can be wrapped by objects via a "Proc". A simple assignment is not and can&#39;t. Statements like "while" also aren&#39;t and can&#39;t. Comments obviously also fall in the latter group. Ruby is more object-oriented than everything else I have ever seen, except for Smalltalk.</span><br />
<br />
<span>In Ruby, like in Java/C++, classes are classes, objects are instances of classes, and there are class inheritances. There is single inheritance in Ruby, but with the power of mixing in modules, you can extend your classes in a better way than multiple class inheritances (like in C++) would allow. It&#39;s also different to Java interfaces, as interfaces in Java only come with the method prototypes and not with the actual method implementations like Ruby modules.</span><br />
<br />
-<h3 style='display: inline' id='Normalobjectsandsingletonobjects'>"Normal" objects and singleton objects</h3><br />
+<h3 style='display: inline' id='normal-objects-and-singleton-objects'>"Normal" objects and singleton objects</h3><br />
<br />
<span>In Ruby, you can also have singleton objects. A singleton object can be an instance of a class but be modified after its creation (e.g. a method added to only this particular instance after its instantiation). Or, another variant of a singleton object is a class (yes, classes are also objects in Ruby). All of that is way better described in the book, so have a read by yourself if you are confused now; just remember: Rubys object system is very dynamic and flexible. At runtime, you can add and modify classes, objects of classes, singleton objects and modules. You don&#39;t need to restart the Ruby interpreter; you can change the code during runtime dynamically through Ruby code.</span><br />
<br />
-<h3 style='display: inline' id='Domainspecificlanguages'>Domain specific languages</h3><br />
+<h3 style='display: inline' id='domain-specific-languages'>Domain specific languages</h3><br />
<br />
<span>Due to Ruby&#39;s flexibility through object individualization (e.g. adding methods at runtime, or changing the core behaviour of classes, catching unknown method calls and dynamically dispatch and/or generate the missing methods via the "method_missing" method), Ruby is a very good language to write your own small domain specific language (DSL) on top of Ruby syntax. I only noticed that after reading this book. Maybe, this is one of the reasons why even the configuration management system Puppet once tried to use a Ruby DSL instead of the Puppet DSL for its manifests. I am not sure why the project got abandoned though, probably it has to do with performance. Do be honest, Ruby is not the fastest language, but it is fast enough for most use cases. And, especially from Ruby 3, performance is one of the main things being worked on currently. If I want performance, I can always use another programming language.</span><br />
<br />
-<h3 style='display: inline' id='Rubyisselfish'>Ruby is "self-ish"</h3><br />
+<h3 style='display: inline' id='ruby-is-self-ish'>Ruby is "self-ish"</h3><br />
<br />
<span>Ruby will fall back to the default "self" object if you don&#39;t specify an object method receiver. To give you an example, some more explanation is needed: There is the "Kernel" module mixed into almost every Ruby object. For example, "puts" is just a method of module "Kernel". When you write "puts :foo", Ruby sends the message "puts" to the current object "self". The class of object "self" is "Object". Class Object has module "Kernel" mixed in, and "Kernel" defines the method "puts". </span><br />
<br />
@@ -101,7 +101,7 @@ Hello World
<br />
<span>Ruby offers a lot of syntactic sugar and seemingly magic, but it all comes back to objects and messages to objects under the hood. As all is hidden in objects, you can unwrap and even change the magic and see what&#39;s happening under the hood. Then, suddenly everything makes so much sense.</span><br />
<br />
-<h3 style='display: inline' id='Functionalprogramming'>Functional programming</h3><br />
+<h3 style='display: inline' id='functional-programming'>Functional programming</h3><br />
<br />
<span>Ruby embraces an object-oriented programming style. But there is good news for fans of the functional programming paradigm: From immutable data (frozen objects), pure functions, lambdas and higher-order functions, lazy evaluation, tail-recursion optimization, method chaining, currying and partial function application, all of that is there. I am delighted about that, as I am a big fan of functional programming (having played with Haskell and Standard ML before).</span><br />
<br />
@@ -109,7 +109,7 @@ Hello World
<br />
<span>I liked this book so much so that I even bought myself a (used) paper copy of it. To my delight, there was also a free eBook version in ePub format included, which I now have on my Kobo Forma eBook reader. :-)</span><br />
<br />
-<h2 style='display: inline' id='Perl'>Perl</h2><br />
+<h2 style='display: inline' id='perl'>Perl</h2><br />
<br />
<span>Will I abandon my beloved Perl? Probably not. There are also some Perl scripts I use at work. But unfortunately I only have a limited amount of time and I have to use it wisely. I might look into Raku (formerly known as Perl 6) next year and use it for a personal pet project, who knows. :-). I also highly recommend reading the two Perl books "Modern Perl" and "Higher-Order Perl".</span><br />
<br />
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 9ea2f11c..7efcbbdc 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='OnbeingPedanticaboutOpenSource'>On being Pedantic about Open-Source</h1><br />
+<h1 style='display: inline' id='on-being-pedantic-about-open-source'>On being Pedantic about Open-Source</h1><br />
<br />
<span class='quote'>Published at 2021-08-01T10:37:58+03:00; Updated at 2023-01-23</span><br />
<br />
@@ -26,19 +26,19 @@
<br />
<span>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. </span><br />
<br />
-<h2 style='display: inline' id='Thecostsofopensource'>The costs of open-source</h2><br />
+<h2 style='display: inline' id='the-costs-of-open-source'>The costs of open-source</h2><br />
<br />
<span>One benefit of using open-source software is that it doesn&#39;t cost anything, right? That&#39;s correct in many cases. However, in some cases you still need to spend a significant amount of time configuring the software to work for you. It will be more expensive to use open-source software than proprietary commercial one if you aren&#39;t careful. </span><br />
<br />
<span>Not to say that I haven&#39;t seen the same effect with commercial software where people had to, after buying it, put a bunch of effort to make it work due to the lack of quality or due to high complexity. But that&#39;s either bad luck or bad decision-making. Most commercial providers I have worked with try to make it work for you, so you also will buy other products and services from them later on and don&#39;t lose you as a happy customer.</span><br />
<br />
-<h2 style='display: inline' id='Commercialproviders'>Commercial providers</h2><br />
+<h2 style='display: inline' id='commercial-providers'>Commercial providers</h2><br />
<br />
<span>Producers of commercial software want to earn money after all. This is to grow their businesses and also to be able to pay their employees, who also need to care for their families. Employees build up their careers, build houses, and are proud of their accomplishments in the company.</span><br />
<br />
<span>So per se, commercial software is not a bad thing. Right? At least, commercial closed-source software is not a bad thing in its heart. Unfortunately, some companies have to keep their software closed-source to not lose their competitive edge over other competitors. </span><br />
<br />
-<h2 style='display: inline' id='Earningonopensource'>Earning on open-source</h2><br />
+<h2 style='display: inline' id='earning-on-open-source'>Earning on open-source</h2><br />
<br />
<span>There are also companies that earn on open-source software. All the code they write is free for download and use, but you, as a customer, could pay for service and support if you are not an expert and can&#39;t manage it by yourself. </span><br />
<br />
@@ -46,25 +46,25 @@
<br />
<span>Also, once an open-source project reached a certain size, it is unlikely to be abandoned one day. As long as at least one person is willing to be the open-source maintainer, the project won&#39;t die. Whereas commercial providers can decide from today to tomorrow to retire software or go bankrupt (unless you purchase Microsoft Word, I don&#39;t believe it will die anytime soon). </span><br />
<br />
-<h2 style='display: inline' id='Opensourceorganizationsandindividualcontributors'>Open-source organizations and individual contributors</h2><br />
+<h2 style='display: inline' id='open-source-organizations-and-individual-contributors'>Open-source organizations and individual contributors</h2><br />
<br />
<span>Besides corporations, millions of individual open-source contributors write free and open-source software not for money but for pleasure. Often, they are organized in non-profit organizations, working together to reach a common goal (it is worth mentioning that there are also many professionals, payed by large corporations, working full-time for non-profit open-source projects in order to push the features and reach the goals of the corporations). Sometimes, people don&#39;t agree on the project goal, so it gets forked, which can be a good thing. The more diversity, the better, as this is where competition and innovation happens. Also, the end user will end up with more choices. </span><br />
<br />
<span>These open-source projects are of a very high quality standard and are rock-solid, if not better, alternatives to proprietary counterparts. If the project isn&#39;t backed by a large corporation already, you should donate to these open-source organizations and/or individual contributors. I have donated to some projects I use personally. Do you learn a foreign language and use Anki flashcards? It&#39;s entirely free and open-source, and they happily accept donations ensuring future maintenance and development.</span><br />
<br />
-<h2 style='display: inline' id='Lesserknownprojectsandthecharmofclunkiness'>Lesser known projects and the charm of clunkiness</h2><br />
+<h2 style='display: inline' id='lesser-known-projects-and-the-charm-of-clunkiness'>Lesser known projects and the charm of clunkiness</h2><br />
<br />
<span>Looking at the smaller, lesser-known open-source projects (not talking about established open-source projects like FreeBSD and Linux): You can&#39;t, however, expect the software to be perfect and bug-free. After all, most of the code is written for pleasure and fun in the developers&#39; free time. Besides the developer himself, you might be the only user of the project. The software may be a bit clunky to use, and probably bugs are lurking around, and it might only work for a very specific use case.</span><br />
<br />
<span>Clunkiness can be charmful, though. And it can also encourage you to contribute code to make it better. There is a lot of such code in personal GitHub and GitLab repositories. The quality of such small open-source projects varies drastically. Many hobbyist programmers see programming as an art and put tons of effort into their projects. Others upload broken crap, which is dangerous to use. So have a look at the code before you use it!</span><br />
<br />
-<h2 style='display: inline' id='Thesecurityaspect'>The security aspect</h2><br />
+<h2 style='display: inline' id='the-security-aspect'>The security aspect</h2><br />
<br />
<span>One of the main conceptions about open-source software is that it is more secure than closed-source software because everybody can read and fix the code. Is that actually true? You can only be sure when you audit the code by yourself. If you are like me, you won&#39;t have time to audit all the open-source software you use. It&#39;s impossible to audit more than 100 million lines of Linux kernel code. Static code analysis tools come in handy here, but they still require humans to look at the results.</span><br />
<br />
<span>Security bugs in open-source projects are exposed to the public and fixed quickly, while we don&#39;t know exactly what happens to security bugs in closed-source ones. Still, hackers and security specialists can find them through reverse engineering and penetration testing. Overall, thinking of security, In my opinion it is still better to prefer open-source software because the more significant the project, the higher the probability that security bugs are found and fixed as more parties are looking into it. Furthermore, provided you have the necessary resources, you could still deduct an audit by yourself. The latter especially happens when companies with its own security and penetration testing departments are evaluating the use of open-source. This is something not every company can afford though.</span><br />
<br />
-<h2 style='display: inline' id='Alwayswatchoutforopensourcealternatives'>Always watch out for open-source alternatives</h2><br />
+<h2 style='display: inline' id='always-watch-out-for-open-source-alternatives'>Always watch out for open-source alternatives</h2><br />
<br />
<span>Do you need Microsoft Word? Why don&#39;t you just use the Vim text editor or GNU Emacs to write your letters? If that&#39;s too nerdy, you can still use open-source alternatives such as AbiWord or LibreOffice. Larger organizations have the tendency to standardize the software their employees have to use. Unfortunately, as Microsoft Word is the de-facto standard text processing program, most companies prefer Word over LibreOffice. Same with Microsoft Excel vs LibreOffice Calc or other spreadsheet alternatives like Gnumeric. I don&#39;t know why that is; please....</span><br />
<br />
@@ -72,7 +72,7 @@
<br />
<span>I only use free and open-source operating systems on my personal Laptops, Desktop PCs and servers (FreeBSD and Linux based ones). Most of the programs and apps I use on them are free and open-source as well, and I am comfortable with it for over twenty years. Exceptions are the BIOSes and some firmwares of my devices. I also use Skype as most of my friends and family are using it. They are, unfortunately, proprietary software still. But I will be looking into Matrix as a Skype alternative when I have time. There are also open BIOS alternatives, but they usually don&#39;t work on my devices.</span><br />
<br />
-<h2 style='display: inline' id='Whataboutmobile'>What about mobile?</h2><br />
+<h2 style='display: inline' id='what-about-mobile'>What about mobile?</h2><br />
<br />
<span class='quote'>Update 2023-01-21: Check out my newer post about GrapheneOS, which solves some of my dilemmas</span><br />
<br />
@@ -82,19 +82,19 @@
<br />
<span>I could get a LineageOS based phone to get rid of the proprietary Android parts (I tried that out a couple of times in the past). But then a couple of convenient apps, such as Google Maps or Banking or Skype or the E-Ticket apps of various Airlines, various review apps when searching for restaurants, Audible (I think Audible offers an excellent service), etc., won&#39;t work anymore. The proprietary Google Maps is still the best maps app, even though there are open alternatives available. It&#39;s not that I couldn&#39;t live without these apps, but they make life a lot more convenient.</span><br />
<br />
-<h2 style='display: inline' id='Knowthealternatives'>Know the alternatives</h2><br />
+<h2 style='display: inline' id='know-the-alternatives'>Know the alternatives</h2><br />
<br />
<span>Thinking about alternative solutions is always a good idea. My advice is never to be entirely dependant on any proprietary software. Before you decide to use proprietary software, try to find alternatives in the open-source world. You might need to invest some time playing around with the options available. Maybe they are good enough for you, or maybe not.</span><br />
<br />
<span>If you still want to use proprietary software, use it with caution. Have a look at the recent change at Google Photos: For a long time, "high quality" photos could be uploaded there quota-less for free. However, Google recently changed the model so that people exceeding a quota have to start paying for the extra space consumed. I am not against Google&#39;s decision, but it shows you that a provider can always change its direction. So you can&#39;t entirely rely on these. I repeat myself: Don&#39;t fully rely on anything proprietary, but you might still use proprietary software or services for your own convenience.</span><br />
<br />
-<h2 style='display: inline' id='Youcantcontrolitall'>You can&#39;t control it all</h2><br />
+<h2 style='display: inline' id='you-cant-control-it-all'>You can&#39;t control it all</h2><br />
<br />
<span>The biggest problem I have with going 100% open-source is actually time. You can&#39;t control all the software you use or might be using in the future. You have only a finite amount of time available in your life. So you have to decide what&#39;s more important: Investigate and use an open-source alternative of every program and app you have installed, or rather spend quality time with your family and have a nice walk in the park or go to a sports class or cook a nice meal? You can&#39;t control it all in today&#39;s world of tech, not as a user and even not as a tech worker. There&#39;s a great blog post worth reading: </span><br />
<br />
<a class='textlink' href='https://unixsheikh.com/articles/how-to-stay-sane-in-todays-world-of-tech.html'>https://unixsheikh.com/articles/how-to-stay-sane-in-todays-world-of-tech.html</a><br />
<br />
-<h2 style='display: inline' id='Themiddleway'>The middle way</h2><br />
+<h2 style='display: inline' id='the-middle-way'>The middle way</h2><br />
<br />
<span>Regarding my personal Smartphone dilemma: I guess the middle way is to use two phones: </span><br />
<br />
@@ -109,17 +109,17 @@
<br />
<span>Anyhow, any gadgets, including your phone, should be a tool you use. Don&#39;t let the phone use you!</span><br />
<br />
-<h2 style='display: inline' id='Thedownsideofbeinganobody'>The downside of being a nobody</h2><br />
+<h2 style='display: inline' id='the-downside-of-being-a-nobody'>The downside of being a nobody</h2><br />
<br />
<span>Be aware that it might be to your disadvantage if you manage to go completely under cover without anyone collecting data from you. Suppose you are a nobody on the web (no social media profiles, no tracking history, etc.). In that case, you aren&#39;t behaving like the mass, and therefore you are suspicious. So it might be even a good thing to leave your marks here and there once in a while. You aren&#39;t hiding anything anyway, correct? Just be mindful what you are sharing about yourself. I share personal things very rarely on Facebook for example. And I only share a small subset of my personal life on my personal homepage and this blog and on all of my social media accounts. Nobody is interested in what I have for breakfast anyway I guess. Write me an E-Mail if you are interested in what I am having for breakfast.</span><br />
<br />
-<h2 style='display: inline' id='MobileopensourceOSesarestillevolving'>Mobile open-source OSes are still evolving</h2><br />
+<h2 style='display: inline' id='mobile-open-source-oses-are-still-evolving'>Mobile open-source OSes are still evolving</h2><br />
<br />
<span>You might have noticed that I wrote a lot about Smartphones in this article. The reason is that free and open-source software for Smartphones is still evolving. In contrast, for Laptops and Desktop PCs, it&#39;s already there. There is no reason to use proprietary operating systems such as Windows or macOS on your computers unless your employer forces you to use one of these. Why would they force you? It has to do with standardization again. The IT department only can manage so many platforms. It wouldn&#39;t be manageable by IT if every employee would install their own Linux distribution or one of the *BSDs. That might work for small startups but not for larger companies, especially not for a security-focused companies.</span><br />
<br />
<span>I would love a standardized Linux at work, though. Dell and Lenovo also officially support Linux on their notebooks. The culprit may be knowledgeable IT staff maintaining and giving support to the Desktop Linux users. Not all colleagues are Linux geeks like you and me. I am using macOS for work, but I am not an Apple expert. Occasionally I have to contact IT support regarding some issues I have. I don&#39;t use the macOS GUI a lot; I mainly live in the terminal so I can run the same tools I also use on Linux.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>Should you be pedantic about open-source software? It depends. It depends on your fundamental values and how much time you are ready to invest. Open-source software is not just free as in money, but also free as in freedom. You will gain back complete control of your personal data. Unfortunately, installing ready proprietary apps from the Play Store is much more convenient than building up a trustworthy open-source-based infrastructure by yourself. As a guideline, use proprietary software and services with caution. Be mindful about your choices and where you leave your digital fingerprints. In doubt, think less is more. Do you really need this new shiny app? What benefit does it provide to you? Probably you don&#39;t really need that shiny new app.</span><br />
<br />
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 977edd8e..27c15bb4 100644
--- a/gemfeed/2021-09-12-keep-it-simple-and-stupid.html
+++ b/gemfeed/2021-09-12-keep-it-simple-and-stupid.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Keepitsimpleandstupid'>Keep it simple and stupid</h1><br />
+<h1 style='display: inline' id='keep-it-simple-and-stupid'>Keep it simple and stupid</h1><br />
<br />
<span class='quote'>Published at 2021-09-12T09:39:20+03:00; Updated at 2023-03-23</span><br />
<br />
@@ -29,23 +29,23 @@
<br />
<span>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&#39;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&#39;s going on.</span><br />
<br />
-<h1 style='display: inline' id='Needfasterhardware'>Need faster hardware</h1><br />
+<h1 style='display: inline' id='need-faster-hardware'>Need faster hardware</h1><br />
<br />
<span>This not just makes the system much more complex, difficult to maintain and challenging to troubleshoot, but also slow. So more experts are needed to support it. Also, newer and faster hardware is required to make it run smoothly. Often, it&#39;s so much easier to buy speedier hardware than rewrite a whole system from scratch from the bottom-up. The latter would require much more resources in the short run, but in the long run, it should pay off. Unfortunately, many project owners scare away from it as they only want to get their project done and then move on.</span><br />
<br />
-<h1 style='display: inline' id='Toocomplextobereplaced'>Too complex to be replaced</h1><br />
+<h1 style='display: inline' id='too-complex-to-be-replaced'>Too complex to be replaced</h1><br />
<br />
-<h2 style='display: inline' id='OnCOBOL'>On COBOL</h2><br />
+<h2 style='display: inline' id='on-cobol'>On COBOL</h2><br />
<br />
<span>Have a look at COBOL, a prevalent programming language of the past. No one is learning COBOL in college or university anymore, but many legacy systems still require COBOL experts. Why is this? It&#39;s just too scary to write everything from scratch. There&#39;s too much COBOL code out there that can&#39;t be replaced from today to tomorrow. </span><br />
<br />
<a class='textlink' href='https://nymag.com/intelligencer/2020/04/what-is-cobol-what-does-it-have-to-do-with-the-coronavirus.html'>https://nymag.com/intelligencer/2020/04/what-is-cobol-what-does-it-have-to-do-with-the-coronavirus.html</a><br />
<br />
-<h2 style='display: inline' id='OnKubernetes'>On Kubernetes</h2><br />
+<h2 style='display: inline' id='on-kubernetes'>On Kubernetes</h2><br />
<br />
<span>Now have a look at Kubernetes (k8s), the current trendy infrastructure thing to use nowadays. Of course, there are many benefits of using k8s (auto-scaling, reproducible deployments, dynamic resource allocation and resource sharing, saving of hardware costs, good commercial for potential employees as it is the current hot sauce of infrastructure). But all of this also comes with costs: You need experts operating the k8s cluster (or you need to pay extra for a managed cluster in the cloud), increased complexity of the system (k8s comes with a steep learning curve). The latter not only applies to the engineers managing the k8s cluster - it also applies to the software engineers, who now have to develop &#39;cloud native&#39; applications and, therefore, have to change how they developed software how they used to. They all need to be re-educated on what cloud-native means, and they also need to understand the key concepts of k8s for writing optimal software for it.</span><br />
<br />
-<h2 style='display: inline' id='TheyoungergenerationofITprofessionals'>The younger generation of IT professionals</h2><br />
+<h2 style='display: inline' id='the-younger-generation-of-it-professionals'>The younger generation of IT professionals</h2><br />
<br />
<span>Maybe the younger generation knows all of this already after graduation, but then they are missing other critical parts of the system for sure. I have seen engineers who knew about containers and how to configure resource restrictions for a Docker container managed via k8s but have never heard the terms Linux control groups and Linux namespaces. So obviously, there is some knowledge gap of the underlying architecture. This can be a big problem when you have to troubleshoot such a system during a production incident and k8s adds a lot of abstraction to the mix which doesn&#39;t make it easier. </span><br />
<br />
@@ -61,7 +61,7 @@
<br />
<a class='textlink' href='https://christine.website/blog/theres-a-node-2021-10-02'>https://christine.website/blog/theres-a-node-2021-10-02</a><br />
<br />
-<h1 style='display: inline' id='Thebloatedweb'>The bloated web</h1><br />
+<h1 style='display: inline' id='the-bloated-web'>The bloated web</h1><br />
<br />
<span>Another example is the modern web. Have you ever wondered why the internet becomes slower and slower nowadays? The modern web is so much like lasagna that I decided to use Gemini to be the primary protocol of my website. The HTML version of this website is just a fallback as many visitors don&#39;t know what Gemini is and don&#39;t have any compatible software installed for surfing the Geminispace:</span><br />
<br />
@@ -69,7 +69,7 @@
<br />
<span>The Gemtext protocol is KISS. There&#39;s no way to do other formattings than headings, links, paragraphs, lists, quotes, and bare text blocks (e.g., ASCII art or code snippets). There&#39;s no way to create bloated Gemini sites, and due to its limited capabilities, there&#39;s also no way to commercialise it (e.g. there&#39;s no good way to track the site visitors as things like cookies don&#39;t exist). By design, the Gemini protocol can&#39;t be extended, so there is no chance to abuse it even in the future. Gemini sites will stay KISS forever, and there won&#39;t be any fancy HTML/JavaScript frameworks like we see on the modern web.</span><br />
<br />
-<h1 style='display: inline' id='Fancylogmanagementsolutions'>Fancy log-management solutions</h1><br />
+<h1 style='display: inline' id='fancy-log-management-solutions'>Fancy log-management solutions</h1><br />
<br />
<span>Yet another example I want to bring up is DTail, the distributed log tail program I wrote. There are many great and fancy log-management solutions available to choose from, and they all seem complex to set up and maintain. The ELK stack, for example, requires you to operate an ElasticSearch cluster (or multiple, if you are geo-redundant), Logstash (different configurations and instances, depending on your infrastructure) and a Kibana web-frontend (which also needs to be highly available). I have operated ElasticSearch clusters on multiple occasions, and I must say that it is not an easy task to optimise it for the particular workload you might encounter. I also have seen many ES clusters operated by other people, and I have seen these clusters failing a lot (so it&#39;s not just me). The reduced complexity of DTail also makes it more robust against outages. You won&#39;t troubleshoot your distributed application very well if the log management infrastructure isn&#39;t working either.</span><br />
<br />
@@ -77,27 +77,27 @@
<br />
<span>I don&#39;t say that the ELK stack doesn&#39;t work, but it requires experts and additional hardware resources to support it. But instead, if you keep your infrastructure simple (e.g. only use DTail), it will maintain pretty much by itself. </span><br />
<br />
-<h1 style='display: inline' id='MoreKISS'>More KISS</h1><br />
+<h1 style='display: inline' id='more-kiss'>More KISS</h1><br />
<br />
-<h2 style='display: inline' id='TheAdslowbePDFReader'>The Adslowbe PDF Reader</h2><br />
+<h2 style='display: inline' id='the-adslowbe-pdf-reader'>The Adslowbe PDF Reader</h2><br />
<br />
<span>Another perfect example is the Adobe PDF reader. How can it be that the inventor of the PDF format creates such a terrible user experience with its official reader? The reader is awful bloated, and slow. There are much better alternatives around (especially for Linux and other UNIX like operating systems, look at Zathura for example). I believe the reason Adobe&#39;s reader is like this is featuritis, and 90% of the users don&#39;t use 90% of all available features. Less is more; keep it simple and stupid. </span><br />
<br />
-<h2 style='display: inline' id='Thepowerofplaintextfiles'>The power of plain text files</h2><br />
+<h2 style='display: inline' id='the-power-of-plain-text-files'>The power of plain text files</h2><br />
<br />
<span>Speaking of file formats, never underestimate the power of plain text files. Plain text files don&#39;t require any special software to be opened, and they outlive the software which created them in the first place. You will still be able to read a plain text file on a modern computer system ten (or twenty) years from now, but you probably won&#39;t be able to read such an old version of an Adobe Photoshop image file if the software required for reading that format isn&#39;t supported anymore and doesn&#39;t run anymore on modern computers.</span><br />
<br />
-<h2 style='display: inline' id='KISSforprogrammers'>KISS for programmers</h2><br />
+<h2 style='display: inline' id='kiss-for-programmers'>KISS for programmers</h2><br />
<br />
<span>Not to mention, keeping things simple and stupid also reduces the potential malicious attack surface. It&#39;s not just about the software and services you use and operate. It&#39;s also about the software you write. Here is a nice article about the KISS principle in software development:</span><br />
<br />
<a class='textlink' href='https://thevaluable.dev/kiss-principle-explained/'>https://thevaluable.dev/kiss-principle-explained/</a><br />
<br />
-<h1 style='display: inline' id='WhenKISSisnotKISSanymore'>When KISS is not KISS anymore</h1><br />
+<h1 style='display: inline' id='when-kiss-is-not-kiss-anymore'>When KISS is not KISS anymore</h1><br />
<br />
<span>There is, however, a trap. The more you spend time with things, the more these things feel natural to you and you become an expert. The more you become an expert, the more you introduce more abstractions and other clever ways of doing things. For you, things seem to be KISS still, but another person may not be an expert and might not understand what you do. One of the fundamental challenges is to keep things really KISS. You might add abstraction upon abstraction to a system and don&#39;t even notice it until it is too late.</span><br />
<br />
-<h2 style='display: inline' id='Otherrelevantreadings'>Other relevant readings</h2><br />
+<h2 style='display: inline' id='other-relevant-readings'>Other relevant readings</h2><br />
<br />
<a class='textlink' href='https://unixsheikh.com/articles/is-the-madness-ever-going-to-end.html'>Is the madness ever going to end?</a><br />
<a class='textlink' href='https://sive.rs/plaintext'>Write plain text files</a><br />
diff --git a/gemfeed/2021-10-22-defensive-devops.html b/gemfeed/2021-10-22-defensive-devops.html
index 398b0629..b5ca5d09 100644
--- a/gemfeed/2021-10-22-defensive-devops.html
+++ b/gemfeed/2021-10-22-defensive-devops.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='DefensiveDevOps'>Defensive DevOps</h1><br />
+<h1 style='display: inline' id='defensive-devops'>Defensive DevOps</h1><br />
<br />
<span class='quote'>Published at 2021-10-22T10:02:46+03:00</span><br />
<br />
@@ -32,7 +32,7 @@
<br />
<span>Over time, I have compiled a list of fire-fighting automation strategies, which I would like to share here. </span><br />
<br />
-<h2 style='display: inline' id='MeetDefensiveDevOps'>Meet Defensive DevOps</h2><br />
+<h2 style='display: inline' id='meet-defensive-devops'>Meet Defensive DevOps</h2><br />
<br />
<span>Defensive DevOps is a term I invented by myself. I define it this way:</span><br />
<br />
@@ -45,7 +45,7 @@
</ul><br />
<span>That sounds a bit crazy, but this is, unfortunately, in rare occasions the reality. As the question is not whether production issues will happen, the question is WHEN they will happen. Every large provider, such as Google, Netflix, and so on, suffered significant outages before, and I firmly believe that their engineers know what they are doing. But you can prepare for the unexpected only to a certain degree.</span><br />
<br />
-<h2 style='display: inline' id='Dontfullyautomatefromthebeginning'>Don&#39;t fully automate from the beginning</h2><br />
+<h2 style='display: inline' id='dont-fully-automate-from-the-beginning'>Don&#39;t fully automate from the beginning</h2><br />
<br />
<span>Do you have to solve problem X? The best solution would be to fully automate it away, correct? No, the best way is to fix problem X manually first. Does the problem appear on one server or on thousand servers? The scale does not matter here. The point is that you should fix the problem at least once manually, so you understand the problem and how to solve it before implementing automation around it.</span><br />
<br />
@@ -53,7 +53,7 @@
<br />
<span>Once you understand the problem, fix it on a different server again. This time maybe write a small program or script. Semi-automate the process, but don&#39;t fully automate it yet. Start the semi-automated solution manually on a couple of more servers and observe the result. You want to gain more confidence that this really solved the problem. This can take a couple of hours manually running it over and over again. During that process, you will improve your script iteratively.</span><br />
<br />
-<h2 style='display: inline' id='Developcodedirectlyonproductionsystems'>Develop code directly on production systems</h2><br />
+<h2 style='display: inline' id='develop-code-directly-on-production-systems'>Develop code directly on production systems</h2><br />
<br />
<span>You have to develop code directly on a production system. This sounds a bit controversial, but you want to get a working solution ASAP, and there is a very high chance that you can&#39;t reproduce problem X in a development or QA environment. Or at least it will consume significant effort and time to reproduce the problem, and by the time your code is ready, it&#39;s already too late. So the most practical solution is to directly develop your solution against a production system with the problem at hand. </span><br />
<br />
@@ -61,7 +61,7 @@
<br />
<span>Unfortunately, it will be a bit more complicated when you rely on code reviews (e.g. in a FIPS environment). Pair-programming could be the solution here.</span><br />
<br />
-<h3 style='display: inline' id='Dontmakeitworse'>Don&#39;t make it worse</h3><br />
+<h3 style='display: inline' id='dont-make-it-worse'>Don&#39;t make it worse</h3><br />
<br />
<span>You want to triple-check that your script is not damaging your system even further. You might introduce a bug to the code, so there should always be a way to roll back any permanent change it causes. You have to program it in a defensive style:</span><br />
<br />
@@ -75,7 +75,7 @@
</ul><br />
<span>Furthermore, when you write Bash script, always run the tool ShellSheck (https://shellshock.io/) on it. This helps to catch many potential issues before applying it in production. </span><br />
<br />
-<h2 style='display: inline' id='Testyourcode'>Test your code</h2><br />
+<h2 style='display: inline' id='test-your-code'>Test your code</h2><br />
<br />
<span>You probably won&#39;t have time for writing unit tests. But what you can do is to pedantically test your code manually. But you have to do the testing on a production machine. So how can you test your code in production without causing more damage? </span><br />
<br />
@@ -85,7 +85,7 @@
<br />
<span>By following these principles, you test every line of code while you are developing on it. </span><br />
<br />
-<h2 style='display: inline' id='Automation'>Automation</h2><br />
+<h2 style='display: inline' id='automation'>Automation</h2><br />
<br />
<span>At one point, you will be tired of manually running your script and also confident enough to automate it. You could deploy it with a configuration management system such as puppet Puppet and schedule a periodic execution via cron, a systemd timer or even a separate background daemon process. You have to be extremely careful here. The more you automate, the more damage you can cause. You don&#39;t want to automate it on all servers involved at once, but you want to slowly ramp up the automation. </span><br />
<br />
@@ -99,13 +99,13 @@
<br />
<span>Remember, whenever something goes wrong, you will have plenty of logs and backup files available. The disaster recovery would involve extending your script to take care of that too or writing a new script for rolling back the backups. </span><br />
<br />
-<h2 style='display: inline' id='Outofofficehours'>Out of office hours</h2><br />
+<h2 style='display: inline' id='out-of-office-hours'>Out of office hours</h2><br />
<br />
<span>If possible, don&#39;t deploy any automation shortly before out of office hours, such as in the evening, before holidays or weekends. The only exception would be that you, or someone else, will be available to monitor the automation out of office hours. If it is a critical issue, someone, for example, the on-call person, could take over. Or ask your boss to work now but to take off another day to compensate.</span><br />
<br />
<span>You should add an easy off-switch to your automation so that everyone from your team knows how to pause it if something goes wrong in order to adjust the automation accordingly. Of course, you should still follow all the principles mentioned in this blog post when making any changes. </span><br />
<br />
-<h2 style='display: inline' id='Retrospective'>Retrospective</h2><br />
+<h2 style='display: inline' id='retrospective'>Retrospective</h2><br />
<br />
<span>For every major incident, you need to follow up with an incident retrospective. A blame-free, detailed description of exactly what went wrong to cause the incident, along with a list of steps to take to prevent a similar incident from occurring again in the future.</span><br />
<br />
diff --git a/gemfeed/2021-11-29-bash-golf-part-1.html b/gemfeed/2021-11-29-bash-golf-part-1.html
index 9fc99072..ef00e6f4 100644
--- a/gemfeed/2021-11-29-bash-golf-part-1.html
+++ b/gemfeed/2021-11-29-bash-golf-part-1.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='BashGolfPart1'>Bash Golf Part 1</h1><br />
+<h1 style='display: inline' id='bash-golf-part-1'>Bash Golf Part 1</h1><br />
<br />
<span class='quote'>Published at 2021-11-29T14:06:14+00:00; Updated at 2022-01-05</span><br />
<br />
@@ -29,7 +29,7 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<a class='textlink' href='./2022-01-01-bash-golf-part-2.html'>2022-01-01 Bash Golf Part 2</a><br />
<a class='textlink' href='./2023-12-10-bash-golf-part-3.html'>2023-12-10 Bash Golf Part 3</a><br />
<br />
-<h2 style='display: inline' id='TCPIPnetworking'>TCP/IP networking</h2><br />
+<h2 style='display: inline' id='tcpip-networking'>TCP/IP networking</h2><br />
<br />
<span>You probably know the Netcat tool, which is a swiss army knife for TCP/IP networking on the command line. But did you know that the Bash natively supports TCP/IP networking?</span><br />
<br />
@@ -63,7 +63,7 @@ X-Frame-Options: SAMEORIGIN
<br />
<span>You would assume that this also works with the ZSH, but it doesn&#39;t. This is one of the few things which don&#39;t work with the ZSH but in the Bash. There might be plugins you could use for ZSH to do something similar, though.</span><br />
<br />
-<h2 style='display: inline' id='Processsubstitution'>Process substitution</h2><br />
+<h2 style='display: inline' id='process-substitution'>Process substitution</h2><br />
<br />
<span>The idea here is, that you can read the output (stdout) of a command from a file descriptor:</span><br />
<br />
@@ -143,7 +143,7 @@ foo bar baz
<br />
<span>Just think a while and see whether you understand fully what is happening here.</span><br />
<br />
-<h2 style='display: inline' id='Grouping'>Grouping</h2><br />
+<h2 style='display: inline' id='grouping'>Grouping</h2><br />
<br />
<span>Command grouping can be quite useful for combining the output of multiple commands:</span><br />
<br />
@@ -210,7 +210,7 @@ $ Expands to the process ID of the shell. In a () subshell, it expands to
1028739
</pre>
<br />
-<h2 style='display: inline' id='Expansions'>Expansions</h2><br />
+<h2 style='display: inline' id='expansions'>Expansions</h2><br />
<br />
<span>Let&#39;s start with simple examples:</span><br />
<br />
@@ -267,7 +267,7 @@ one:A one:B one:C two:A two:B two:C
Linux-one:A-FreeBSD Linux-one:B-FreeBSD Linux-one:C-FreeBSD Linux-two:A-FreeBSD Linux-two:B-FreeBSD Linux-two:C-FreeBSD Linux-three:A-FreeBSD Linux-three:B-FreeBSD Linux-three:C-FreeBSD
</pre>
<br />
-<h2 style='display: inline' id='akastdinandstdoutplaceholder'>- aka stdin and stdout placeholder</h2><br />
+<h2 style='display: inline' id='--aka-stdin-and-stdout-placeholder'>- aka stdin and stdout placeholder</h2><br />
<br />
<span>Some commands and Bash builtins use "-" as a placeholder for stdin and stdout:</span><br />
<br />
@@ -318,7 +318,7 @@ $ file -
/dev/stdin: Perl script text executable
</pre>
<br />
-<h2 style='display: inline' id='Alternativeargumentpassing'>Alternative argument passing</h2><br />
+<h2 style='display: inline' id='alternative-argument-passing'>Alternative argument passing</h2><br />
<br />
<span>This is a quite unusual way of passing arguments to a Bash script:</span><br />
<br />
@@ -360,7 +360,7 @@ paul:secret
<br />
<span>But the downside of it is that the variables will also be defined in your current shell environment and not just in the scripts sub-process.</span><br />
<br />
-<h2 style='display: inline' id='akathenullcommand'>: aka the null command</h2><br />
+<h2 style='display: inline' id='-aka-the-null-command'>: aka the null command</h2><br />
<br />
<span>First, let&#39;s use the "help" Bash built-in to see what it says about the null command:</span><br />
<br />
@@ -447,7 +447,7 @@ bash: 1: command not found...
4
</pre>
<br />
-<h2 style='display: inline' id='Nofloatingpointsupport'>(No) floating point support</h2><br />
+<h2 style='display: inline' id='no-floating-point-support'>(No) floating point support</h2><br />
<br />
<span>I have to give a plus-point to the ZSH here. As the ZSH supports floating point calculation, whereas the Bash doesn&#39;t:</span><br />
<br />
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 c1b670b8..11cd4f0d 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='HowtostaysaneasaDevOpsperson'>How to stay sane as a DevOps person </h1><br />
+<h1 style='display: inline' id='how-to-stay-sane-as-a-devops-person-'>How to stay sane as a DevOps person </h1><br />
<br />
<span class='quote'>Published at 2021-12-26T12:02:02+00:00; Updated at 2022-01-12</span><br />
<br />
@@ -40,7 +40,7 @@
<br />
<a class='textlink' href='https://en.wikipedia.org/wiki/Log4Shell'>https://en.wikipedia.org/wiki/Log4Shell</a><br />
<br />
-<h2 style='display: inline' id='Setclearexpectations'>Set clear expectations</h2><br />
+<h2 style='display: inline' id='set-clear-expectations'>Set clear expectations</h2><br />
<br />
<span>It&#39;s important to set clear expectations. It can be difficult to guess what others expect or don&#39;t expect from you. If you know exactly what you are supposed to do, you can work towards a specific goal and don&#39;t worry about all the other noise so much.</span><br />
<br />
@@ -48,21 +48,21 @@
<br />
<span>Due to politeness, many people are not setting clear expectations. I personally may sound sometimes "too German" when setting expectations, but so far nobody complained, and I have even received positive feedback about it.</span><br />
<br />
-<h2 style='display: inline' id='Alwaysrespondtorequestsbutsetexpectationsandboundaries'>Always respond to requests but set expectations and boundaries</h2><br />
+<h2 style='display: inline' id='always-respond-to-requests-but-set-expectations-and-boundaries'>Always respond to requests but set expectations and boundaries</h2><br />
<br />
<span>There are many temptations to get side-tracked by other projects and/or issues. It is important to set boundaries here. But always answer to all requests as nothing is more frustrating than asking a person and never getting any answer back. This is especially the case when everyone is working form home where people are using tools such as Slack and E-Mail for most of their communications.</span><br />
<br />
-<h3 style='display: inline' id='Dealingwithrequests'>Dealing with requests</h3><br />
+<h3 style='display: inline' id='dealing-with-requests'>Dealing with requests</h3><br />
<br />
<span>If the request is urgent, and you have the capacity to help, probably you should help. If it&#39;s not urgent, maybe ask to pospone the request (e.g. ask to create a ticket, so that someone from your team can work on it later).</span><br />
<br />
<span>If the request is urgent, but you don&#39;t have the knowledge or the capacity to help, try to defer to a colleague who might be able to help. You could also provide some quick tips and hints, so that the requester can resolve the issue by himself. Make it transparent why you might not have the time right now, as this can help the person to review his own priorities or to escalate. </span><br />
<br />
-<h3 style='display: inline' id='Escalationisonlyatool'>Escalation is only a tool</h3><br />
+<h3 style='display: inline' id='escalation-is-only-a-tool'>Escalation is only a tool</h3><br />
<br />
<span>Never make or take an escalation personally. The only forms of escalation should be due to technical issues or lack of resources. An escalation then becomes like a math equation and does not need human resources involved. So de-facto, an escalation is nothing negative, but just a process people can follow to form decision-making. In a good company escalations tend to be an exception, though. Staff knows how to deal with the things by themselves without bothering management too much. </span><br />
<br />
-<h2 style='display: inline' id='Thinkpositively'>Think positively</h2><br />
+<h2 style='display: inline' id='think-positively'>Think positively</h2><br />
<br />
<span>If times are very stressful, think that it could always be worse:</span><br />
<br />
@@ -72,17 +72,17 @@
<li>You probably will never run out of work in the IT sector. So you will always be able to make a living.</li>
<li>Your IT job and life is actually pretty good (compared to a homeless person for example). You are probably part of the world&#39;s top 1% regarding life standard.</li>
</ul><br />
-<h2 style='display: inline' id='Goslowerevenifyoucouldgofaster'>Go slower even if you could go faster</h2><br />
+<h2 style='display: inline' id='go-slower-even-if-you-could-go-faster'>Go slower even if you could go faster</h2><br />
<br />
<span>When working in a team, you may feel that you could get done things faster when you just did everything by yourself. This can be a bit frustrating at times, as you might need to work late hours and also might need to explain things over and over again to others. Also, you could be the one who needs to get things explained over and over again as you are not so familiar with the topic (yet). You will appreciate it if the other person is slowing down for you a bit.</span><br />
<br />
-<h3 style='display: inline' id='Youworkinateam'>You work in a team</h3><br />
+<h3 style='display: inline' id='you-work-in-a-team'>You work in a team</h3><br />
<br />
<span>Security is a team sport. So slow down and make sure that everyone is on track with the goals. You can go full-speed with your very own subtasks, though. Not everyone knows how to use all the tools so well like a full-time DevOps person. As a DevOps person, you are not a security expert, though. Security experts are different people in your company, but DevOps will be the main tribe deploying mitigations (following the security recommendations) and management will be the main tribe coordinating all the efforts. </span><br />
<br />
<span>So even if you think that you can do everything faster by your own, can you really? You probably don&#39;t know what you don&#39;t know about IT security. The more you know about it, the more you know about what you don&#39;t know.</span><br />
<br />
-<h3 style='display: inline' id='Dontrush'>Don&#39;t rush</h3><br />
+<h3 style='display: inline' id='dont-rush'>Don&#39;t rush</h3><br />
<br />
<span>Slowing down also helps to prevent errors. Don&#39;t rush your tasks, even if they are urgent. Try to be quick, but don&#39;t rush them. Maybe you are writing a script to mitigate a production issue. You could others peer review that script, for example. Their primary programming language may not be the same (e.g. Golang vs Perl), but they would understand the logic. Or ask another DevOps person from your company with good scripting skills review your mitigation, but he then may lack the domain knowledge of the software you are patching. So in either case, the review will take a bit longer as the reviewer might not be an expert in everything.</span><br />
<br />
@@ -90,7 +90,7 @@
<br />
<a class='textlink' href='./2021-10-22-defensive-devops.html'>Read also "Defensive DevOps" about deploying mitigation scripts.</a><br />
<br />
-<h2 style='display: inline' id='Youarenotasuperhero'>You are not a superhero</h2><br />
+<h2 style='display: inline' id='you-are-not-a-superhero'>You are not a superhero</h2><br />
<br />
<span>Always keep that in mind. You can&#39;t solve all problems by your own. Maybe you could, but that would be a lot of additional stress (and this will reflect to your personal life). Also, Superman and Wonder Woman receive much higher salaries than you will ever do ;-).</span><br />
<br />
@@ -98,7 +98,7 @@
<br />
<span>This doesn&#39;t mean, that you shouldn&#39;t try your best. But you don&#39;t need to try to be the superhero. Maybe someone else will be the superhero, but that&#39;s OK as long as it&#39;s not always the same person every time. Everyone can have a good day after all. If I could choose between being a superhero or having a good night sleep, I would probably prefer the sleep. </span><br />
<br />
-<h3 style='display: inline' id='Giveawaysomeofyoursuperpowers'>Give away some of your superpowers</h3><br />
+<h3 style='display: inline' id='give-away-some-of-your-superpowers'>Give away some of your superpowers</h3><br />
<br />
<span>If you are a superhero, try to give away some of your superpowers, so that you can relax in the evening knowing that others (e.g. the current on-call engineers) know how to tackle things. Every member of the team needs to do DevOps (even the team managers, in my humble opinion). Some may be less experienced than others or have other expertises, but to counteract this you could document the recurring tasks so that they are easy to follow (which then later could be either automated away or, even better, fully fixed).</span><br />
<br />
@@ -106,7 +106,7 @@
<br />
<span>So you are not a superhero. Or, if you are a superhero, then all colleagues should be superheroes too.</span><br />
<br />
-<h2 style='display: inline' id='Dontjumponallproblemsimmediately'>Don&#39;t jump on all problems immediately</h2><br />
+<h2 style='display: inline' id='dont-jump-on-all-problems-immediately'>Don&#39;t jump on all problems immediately</h2><br />
<br />
<span>In a perfect world, every member of a team comes along with the same strengths and skills. But in reality, everyone is different. </span><br />
<br />
@@ -116,19 +116,19 @@
<br />
<span>If the issue is a very critical one, then you might better off trying to resolve it as fast as possible with your full powers in order to avoid any major damage to the company. This, of course, only works if you know how to resolve it quickly. So, don&#39;t leave others with not much experience yet looking at it. If possible, work with the team to resolve the issue. Unfortunately, solving it with the team is not always the fastest way. So in this particular circumstance, the company may be better off being saved by a single superhero. Make sure that the problem will not occur again or, at least, that others can fix it the next time without Superman flying by.</span><br />
<br />
-<h2 style='display: inline' id='Forcebreaksandshutdownnow'>Force breaks; and shutdown now</h2><br />
+<h2 style='display: inline' id='force-breaks-and-shutdown-now'>Force breaks; and shutdown now</h2><br />
<br />
<span>Be strict about your time off. Nowadays, tech workers check their messages also out of office hours and are reachable 24/7. This really should only be the case when you are on-call, to be honest (or if you work for a startup). All other out-of-office time is owned by you and not your employer. You have signed an 40 hour/week and not 7 days/week contract. Of course, there will be always some sort of flexibility and exceptions. You might need to work over the weekend to get a migration done or a problem solved. But to balance it out, you should have other days off as substitutes.</span><br />
<br />
<span>It&#39;s important to shut down your brain from work during your breaks (be strict with your breaks, leave your desk for lunch or for a walk early afternoon and if you aren&#39;t on-call also don&#39;t take your work-phone with you). You will be happier and also much more energized and productive in the afternoon. Also, when you are reachable 24/7, your colleagues will start thinking that you don&#39;t have anything more important to do than work.</span><br />
<br />
-<h2 style='display: inline' id='Blocktimeeverydayforpersonaladvance'>Block time every day for personal advance</h2><br />
+<h2 style='display: inline' id='block-time-every-day-for-personal-advance'>Block time every day for personal advance</h2><br />
<br />
<span>It does not matter how many tasks are in your backlog or how many issues are to be tackled. *Always* find time for personal advance. The most issues aren&#39;t critical anyway and can wait a bit. At the end of the day, you will have a nice feeling that you have accomplished something meaningful. This can be an interesting project or learning a new technology you are interested in. Of course, there must be consensus with your manager (unless you do that kind of thing in your personal time of course). </span><br />
<br />
<span>If you are too busy at work and just can&#39;t block time, then maybe it&#39;s time to think about alternatives. But before you do that, probably there is something else you can do. Perhaps you just think you can&#39;t block time, but you would be positively surprised to hear from your manager that he will fully support you. Of course, he won&#39;t agree to you working full-time on your pet projects. But a certain portion of your time should be allocated for personal advance. After all, your employer also want&#39;s you to stay happy so that you don&#39;t look for alternatives. It&#39;s of everyone&#39;s interest that you like your job and stay motivated. The more you are motivated, the more productive you are. The more productive you are, the more valuable you are for the company.</span><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Another blog post worth reading:</span><br />
<br />
diff --git a/gemfeed/2022-01-01-bash-golf-part-2.html b/gemfeed/2022-01-01-bash-golf-part-2.html
index 1456d14c..978b9ef8 100644
--- a/gemfeed/2022-01-01-bash-golf-part-2.html
+++ b/gemfeed/2022-01-01-bash-golf-part-2.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='BashGolfPart2'>Bash Golf Part 2</h1><br />
+<h1 style='display: inline' id='bash-golf-part-2'>Bash Golf Part 2</h1><br />
<br />
<span class='quote'>Published at 2022-01-01T23:36:15+00:00; Updated at 2022-01-05</span><br />
<br />
@@ -29,7 +29,7 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<a class='textlink' href='./2022-01-01-bash-golf-part-2.html'>2022-01-01 Bash Golf Part 2 (You are currently reading this)</a><br />
<a class='textlink' href='./2023-12-10-bash-golf-part-3.html'>2023-12-10 Bash Golf Part 3</a><br />
<br />
-<h2 style='display: inline' id='Redirection'>Redirection</h2><br />
+<h2 style='display: inline' id='redirection'>Redirection</h2><br />
<br />
<span>Let&#39;s have a closer look at Bash redirection. As you might already know that there are 3 standard file descriptors:</span><br />
<br />
@@ -161,7 +161,7 @@ First line: Learn You a Haskell
Second line: for Great Good
</pre>
<br />
-<h2 style='display: inline' id='HERE'>HERE</h2><br />
+<h2 style='display: inline' id='here'>HERE</h2><br />
<br />
<span>I have mentioned HERE-documents and HERE-strings already in this post. Let&#39;s do some more examples. The following "cat" receives a multi line string from stdin. In this case, the input multi line string is a HERE-document. As you can see, it also interpolates variables (in this case the output of "date" running in a subshell).</span><br />
<br />
@@ -244,7 +244,7 @@ Learn you a Golang for Great Good
I like Perl too
</pre>
<br />
-<h2 style='display: inline' id='RANDOM'>RANDOM</h2><br />
+<h2 style='display: inline' id='random'>RANDOM</h2><br />
<br />
<span>Random is a special built-in variable containing a different pseudo random number each time it&#39;s used.</span><br />
<br />
@@ -289,11 +289,11 @@ Delaying script execution for 42 seconds...
Continuing script execution...
</pre>
<br />
-<h2 style='display: inline' id='setxandseteandpipefile'>set -x and set -e and pipefile</h2><br />
+<h2 style='display: inline' id='set--x-and-set--e-and-pipefile'>set -x and set -e and pipefile</h2><br />
<br />
<span>In my opinion, -x and -e and pipefile are the most useful Bash options. Let&#39;s have a look at them one after another.</span><br />
<br />
-<h3 style='display: inline' id='x'>-x</h3><br />
+<h3 style='display: inline' id='-x'>-x</h3><br />
<br />
<span>-x prints commands and their arguments as they are executed. This helps to develop and debug your Bash code:</span><br />
<br />
@@ -335,7 +335,7 @@ Second line: for Great Good
</pre>
<br />
-<h3 style='display: inline' id='e'>-e</h3><br />
+<h3 style='display: inline' id='-e'>-e</h3><br />
<br />
<span>This is a very important option you want to use when you are paranoid. This means, you should always "set -e" in your scripts when you need to make absolutely sure that your script runs successfully (with that I mean that no command should exit with an unexpected status code).</span><br />
<br />
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 c043d308..7aaed8bd 100644
--- a/gemfeed/2022-01-23-welcome-to-the-foo.zone.html
+++ b/gemfeed/2022-01-23-welcome-to-the-foo.zone.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Welcometothefoozone'>Welcome to the foo.zone</h1><br />
+<h1 style='display: inline' id='welcome-to-the-foozone'>Welcome to the foo.zone</h1><br />
<br />
<span class='quote'>Published at 2022-01-23T16:42:04+00:00</span><br />
<br />
@@ -27,7 +27,7 @@
<br />
<a class='textlink' href='https://en.wikipedia.org/wiki/Metasyntactic_variable'>https://en.wikipedia.org/wiki/Metasyntactic_variable</a><br />
<br />
-<h2 style='display: inline' id='Whatisthefoozone'>What is the foo zone?</h2><br />
+<h2 style='display: inline' id='what-is-the-foo-zone'>What is the foo zone?</h2><br />
<br />
<span>It&#39;s my personal internet site and blog. Everything you read on this site is my personal opinion and experience. It&#39;s not intended to be anything professional. If you want my professional background, then go to my LinkedIn profile.</span><br />
<br />
@@ -45,13 +45,13 @@
</ul><br />
<span>So I think that foo.zone is the perfect match. It&#39;s a bit geeky, but so is this site. The meta-syntactic variable relates to computer science and programming, so does this site. Other than that, staying in this sphere, it&#39;s a pretty generic name.</span><br />
<br />
-<h2 style='display: inline' id='Tobeinthezoneandnotinasurfclub'>To be in the .zone and not in a .surf club</h2><br />
+<h2 style='display: inline' id='to-be-in-the-zone-and-not-in-a-surf-club'>To be in the .zone and not in a .surf club</h2><br />
<br />
<span>I was pretty happy finding out that foo.zone was still available for registration. I stumbled across it just yesterday while I was playing around with my new authoritative DNS servers. I was actually quite surprised as usually such short SLDs (second level domains), especially "foo", are all taken already.</span><br />
<br />
<span>As a funny bit, I almost chose "foo.surf" over "foo.zone" as in "surfing this site", but then decided against it as I would have to tell everyone that I am not into water sports so much. Well, on the other hand, I now may have to explain to non-programmers that I am not a fan of the rock band "Foo Fighters". But that will be acceptable, as I don&#39;t expect "normal" people visiting the foo zone as much anyway. If you reached as far, I have to congratulate you. You are not a normal person.</span><br />
<br />
-<h2 style='display: inline' id='Whataboutmyoldhosts'>What about my old hosts</h2><br />
+<h2 style='display: inline' id='what-about-my-old-hosts'>What about my old hosts</h2><br />
<br />
<span>The host buetow.org will stay. However, not as the primary address for this site. I will keep using it for my personal internet infrastructure as well as for most of my E-Mail addresses. I used buetow.org for that over the past 10 years already anyway and that won&#39;t change any time soon. I don&#39;t know what I am going to do with snonux.de in the long run. A .de SLD (for Germany) is pretty cheap, so I might just keep it for now. </span><br />
<br />
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 f5c8840c..44ce1f47 100644
--- a/gemfeed/2022-02-04-computer-operating-systems-i-use.html
+++ b/gemfeed/2022-02-04-computer-operating-systems-i-use.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ComputeroperatingsystemsIused'>Computer operating systems I use(d)</h1><br />
+<h1 style='display: inline' id='computer-operating-systems-i-used'>Computer operating systems I use(d)</h1><br />
<br />
<span class='quote'>Published at 2022-02-04T09:58:22+00:00; Updated at 2022-02-18</span><br />
<br />
@@ -35,7 +35,7 @@
<br />
<span>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.</span><br />
<br />
-<h2 style='display: inline' id='FedoraLinux'>Fedora Linux</h2><br />
+<h2 style='display: inline' id='fedora-linux'>Fedora Linux</h2><br />
<br />
<span>Fedora Linux is the operating system I use on my primary (personal) laptop. It&#39;s a ThinkPad X1 Carbon Gen. 9. Lenovo which comes along with official Lenovo Linux support. I already noticed hardware firmware updates being installed directly through Fedora from Lenovo. Fedora is a real powerhouse, cutting-edge and reasonably stable at the same time. It&#39;s baked by Red Hat.</span><br />
<br />
@@ -43,7 +43,7 @@
<br />
<span>I use the GNOME Desktop on my Fedora boxes. I have memorized and customized a bunch of keyboard shortcuts. But the fact that I mostly work in the terminal (with tmux) makes the Desktop environment I use only secondary.</span><br />
<br />
-<h2 style='display: inline' id='EndeavourOS'>EndeavourOS</h2><br />
+<h2 style='display: inline' id='endeavouros'>EndeavourOS</h2><br />
<br />
<span>I installed EndeavourOS on my (older) ThinkPad X240 to try out an Arch based Linux distribution. I also could have installed plain Arch, but I don&#39;t see the point when there is EndeavourOS. EndeavourOS is as close as you can get to the plain Arch experience but with an easy installer. I am not saying that it&#39;s difficult to install plain Arch but it&#39;s, unless you are new to Linux and want to learn about the installation procedure, just waste of time in my humble opinion. Give Linux From Scratch a shot instead if you really want to learn about Linux.</span><br />
<br />
@@ -59,7 +59,7 @@
<br />
<a class='textlink' href='https://endeavouros.com/'>https://endeavouros.com/</a><br />
<br />
-<h2 style='display: inline' id='FreeBSD'>FreeBSD</h2><br />
+<h2 style='display: inline' id='freebsd'>FreeBSD</h2><br />
<br />
<span>I have run FreeBSD in many occasions. Right after SuSE Linux, FreeBSD (around 4.x) was the second open source system I used in my life on regular basis. I didn&#39;t even go to university yet then I started using it :-). Also, a former employer of mine even allowed me to install FreeBSD on my main workstation (which I actually did and used it for a couple of years). </span><br />
<br />
@@ -92,7 +92,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<br />
<a class='textlink' href='https://www.FreeBSD.org'>https://www.FreeBSD.org</a><br />
<br />
-<h2 style='display: inline' id='CentOS7'>CentOS 7</h2><br />
+<h2 style='display: inline' id='centos-7'>CentOS 7</h2><br />
<br />
<span>While CentOS 8 is already out of support, I still use CentOS 7 (which will receive security updates until 2024). CentOS 7 runs in a cloud VM and is the home to my personal NextCloud and Wallabag installations. You probably know already NextCloud. About Wallabag: It is a great free and open source alternative to Pocket (for reading articles from the web offline later). Yes, you can pay for a Wallabag subscription, but you can also host it for free on your own server.</span><br />
<br />
@@ -105,7 +105,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<br />
<a class='textlink' href='https://www.centos.org'>https://www.centos.org</a><br />
<br />
-<h2 style='display: inline' id='OpenBSD'>OpenBSD</h2><br />
+<h2 style='display: inline' id='openbsd'>OpenBSD</h2><br />
<br />
<span>I use two small OpenBSD "cloud" boxes for my "public facing internet front-ends". The services I run here are:</span><br />
<br />
@@ -122,7 +122,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<br />
<a class='textlink' href='https://www.openbsd.org'>https://www.openbsd.org</a><br />
<br />
-<h2 style='display: inline' id='macOSproprietary'>macOS (proprietary)</h2><br />
+<h2 style='display: inline' id='macos-proprietary'>macOS (proprietary)</h2><br />
<br />
<span>I have to use a MacBook Pro with macOS for work. What else can I say but that this would have never been my personal choice. At least macOS is a UNIX under the hood and comes with a decent terminal and there are plenty of terminal apps available via Brew. Some of the inner workings of macOS were actually forked from the FreeBSD project. </span><br />
<br />
@@ -130,7 +130,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<br />
<span>I find the macOS UI rather confusing.</span><br />
<br />
-<h2 style='display: inline' id='LineageOSmobile'>LineageOS (mobile)</h2><br />
+<h2 style='display: inline' id='lineageos-mobile'>LineageOS (mobile)</h2><br />
<br />
<span>At some point I got fed up with big tech, like Google and Samsung (or Apple, but personally I don&#39;t use Apple), spying on me. So I purchased a Google phone (a midrange Pixel phone) and installed LineageOS, a free and open source distribution of Android, on it. I don&#39;t have anything from Google installed on it (not even the play store, I install my apps from F-Droid). It&#39;s my daily driver since mid 2021 now. </span><br />
<br />
@@ -143,33 +143,33 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<a class='textlink' href='https://lineageos.org/'>https://lineageos.org/</a><br />
<a class='textlink' href='https://termux.com/'>https://termux.com/</a><br />
<br />
-<h2 style='display: inline' id='SamsungsStockAndroidmobileproprietary'>Samsung&#39;s Stock Android (mobile proprietary)</h2><br />
+<h2 style='display: inline' id='samsungs-stock-android-mobile-proprietary'>Samsung&#39;s Stock Android (mobile proprietary)</h2><br />
<br />
<span>Unfortunatley, I still have to keep my proprietary Android phone around. Sometimes, I really need to use some proprietary apps which are only available form the Google play store and also require the Google services installed on the phone. I don&#39;t carry this phone around all the time and I only use it intentionally for very specific use cases. I think this is the best compromise I can make.</span><br />
<br />
-<h2 style='display: inline' id='iOSmobileproprietary'>iOS (mobile proprietary)</h2><br />
+<h2 style='display: inline' id='ios-mobile-proprietary'>iOS (mobile proprietary)</h2><br />
<br />
<span>I have to use an iPhone for work. I like the hardware but I hate the OS (you can also call it spyOS), but it&#39;s the necessarries evil, unfortunately. Apple is even worse than Google here (despite claiming for themselves to produce the most secure phone(s)). I don&#39;t have it with me all the time or switched off when I don&#39;t need it. I also find iOS quite unintuitive to use.</span><br />
<br />
<span>Being on-call for work means to to be reachable 24/7. This implies that the phone is carried around all the time (in an switched-on state). 1984 is now.</span><br />
<a class='textlink' href='https://en.wikipedia.org/wiki/Nineteen_Eighty-Four'>https://en.wikipedia.org/wiki/Nineteen_Eighty-Four</a><br />
<br />
-<h2 style='display: inline' id='OtherOSes'>Other OSes</h2><br />
+<h2 style='display: inline' id='other-oses'>Other OSes</h2><br />
<br />
-<h3 style='display: inline' id='InfinyTimesmartwatch'>InfinyTime (smartwatch)</h3><br />
+<h3 style='display: inline' id='infinytime-smartwatch'>InfinyTime (smartwatch)</h3><br />
<br />
<span>I use it on my PineTime smartwatch. Other than checking the time and my step count, I really don&#39;t do anything else fancy with it (yet). </span><br />
<br />
<a class='textlink' href='https://www.pine64.org/pinetime/'>https://www.pine64.org/pinetime/</a><br />
<a class='textlink' href='https://infinitime.io/'>https://infinitime.io/</a><br />
<br />
-<h3 style='display: inline' id='motionEyeOS'>motionEyeOS</h3><br />
+<h3 style='display: inline' id='motioneyeos'>motionEyeOS</h3><br />
<br />
<span>I usually install an army of RaspberryPi 3&#39;s in my house before I travel for a prolonged amount of time. All Pi&#39;s are equipped with an camera and have motionEyeOS (Linux based video surveillance system) installed. There&#39;s a neat Android app in the F-Droid store which let&#39;s me keep an eye on everything. I make the Pi&#39;s accessible from the internet via reverse SSH tunnels through one of my frontend servers.</span><br />
<br />
<a class='textlink' href='https://github.com/ccrisan/motioneyeos'>https://github.com/ccrisan/motioneyeos</a><br />
<br />
-<h3 style='display: inline' id='KoboOSproprietary'>Kobo OS (proprietary)</h3><br />
+<h3 style='display: inline' id='kobo-os-proprietary'>Kobo OS (proprietary)</h3><br />
<br />
<span>I use a Kobo Forma as my e-reader device. I have started to switch off the Wifi and to only sideload DRM free ePubs on it. Even offline, it&#39;s a fully capable reader device. I wouldn&#39;t like the Kobo to call home to Rakuten. I would love to replace it one day with an open source e-reader alternative like the PineNote. There are also some interesting attempts installing postmarketOS Linux on Kobo devices. The latter boots already, but is far from being usable as a normal e-reader.</span><br />
<br />
@@ -178,28 +178,28 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<br />
<span>But as a fall-back, someone could still use the good old dead tree format!</span><br />
<br />
-<h3 style='display: inline' id='AndroidTVproprietary'>Android TV (proprietary)</h3><br />
+<h3 style='display: inline' id='android-tv-proprietary'>Android TV (proprietary)</h3><br />
<br />
<span>An Android TV box is used for watching movies and series on Netflix and Amazon Prime video (yes, I am human too and rely once in a while on big tech streaming services). The Android TV box is currently in the process of being replaced by OSMC, though. Most services seem to work fine with OSMC, but didn&#39;t get around tinkering with Netflix and Amazon there yet.</span><br />
<br />
<a class='textlink' href='https://osmc.tv/'>https://osmc.tv/</a><br />
<br />
-<h2 style='display: inline' id='OtherOSes'>Other OSes..</h2><br />
+<h2 style='display: inline' id='other-oses'>Other OSes..</h2><br />
<br />
<span>This section is just for the sake of having a complete list of all OSes I used for some significant amount of time. I might not use all of them any more...</span><br />
<br />
-<h3 style='display: inline' id='NetBSD'>NetBSD</h3><br />
+<h3 style='display: inline' id='netbsd'>NetBSD</h3><br />
<br />
<span>I have been using NetBSD on an old Sun Sparcstation 10 as a student. I also have run NetBSD on a very old ThinkPad with 96MB!!! of RAM (even with X/evilWM). I also installed (but never really used) NetBSD on an HP Jornada 680. But that&#39;s all more than 10 years ago. I haven&#39;t looked at NetBSD for long time. I want to revive it on an "old" ThinkPad T450 of mine which I currently don&#39;t use.</span><br />
<br />
<a class='textlink' href='https://netbsd.org'>https://netbsd.org</a><br />
<br />
-<h3 style='display: inline' id='OtherOSesinuse'>Other OSes in use...</h3><br />
+<h3 style='display: inline' id='other-oses-in-use'>Other OSes in use...</h3><br />
<br />
<a class='textlink' href='https://sailfish.org'>SailfishOS - Nice mobile OS, but unfortunately includes proprietary components</a><br />
<a class='textlink' href='https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux'>Red Hat Enterprise Linux - Only for some work stuff</a><br />
<br />
-<h3 style='display: inline' id='OtherOSesnotusedanymore'>Other OSes not used any more...</h3><br />
+<h3 style='display: inline' id='other-oses-not-used-any-more'>Other OSes not used any more...</h3><br />
<br />
<a class='textlink' href='https://en.opensuse.org/Archive:S.u.S.E._Linux_5.3'>SuSE Linux 5.3 - The first Linux OS I used</a><br />
<a class='textlink' href='https://en.wikipedia.org/wiki/IRIX'>SGI&#39;s IRIX - On a SGI Onyx 3200</a><br />
@@ -213,7 +213,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<a class='textlink' href='https://www.linuxfromscratch.org/'>Linux from scratch - The best way to learn Linux</a><br />
<a class='textlink' href='https://www.suse.com/products/server/'>SUSE Linux Enterprise - Only for some work stuff</a><br />
<br />
-<h3 style='display: inline' id='OtherOSesIonlyhadaglanceat'>Other OSes I only had a glance at...</h3><br />
+<h3 style='display: inline' id='other-oses-i-only-had-a-glance-at'>Other OSes I only had a glance at...</h3><br />
<br />
<a class='textlink' href='https://archiveos.org/opensolaris/'>OpenSolaris - Continuation of the open source version of Solaris</a><br />
<a class='textlink' href='https://archlinuxarm.org/'>Arch Linux ARM</a><br />
@@ -231,7 +231,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<a class='textlink' href='https://www.oracle.com/solaris/solaris11/'>Sun Solaris (now owned by Oracle)</a><br />
<a class='textlink' href='https://www.puredarwin.org/'>OpenDarwin ("now" PureDarwin) - Open source operating system based on the open parts of macOS</a><br />
<br />
-<h3 style='display: inline' id='OtherOSeswhichseeminteresting'>Other OSes which seem interesting...</h3><br />
+<h3 style='display: inline' id='other-oses-which-seem-interesting'>Other OSes which seem interesting...</h3><br />
<br />
<a class='textlink' href='https://asteroidos.org/'>Asteroids OS - Open source smartphone OS</a><br />
<a class='textlink' href='https://www.dragonflybsd.org/'>DragonFly BSD - Fork of FreeBSD 4</a><br />
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 9b3576ab..63d1aa60 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ThereleaseofDTail400'>The release of DTail 4.0.0</h1><br />
+<h1 style='display: inline' id='the-release-of-dtail-400'>The release of DTail 4.0.0</h1><br />
<br />
<span class='quote'>Published at 2022-03-06T18:11:39+00:00</span><br />
<br />
@@ -30,9 +30,9 @@
<br />
<a class='textlink' href='https://dtail.dev'>https://dtail.dev</a><br />
<br />
-<h2 style='display: inline' id='Sowhatsnewin400'>So, what&#39;s new in 4.0.0?</h2><br />
+<h2 style='display: inline' id='so-whats-new-in-400'>So, what&#39;s new in 4.0.0?</h2><br />
<br />
-<h3 style='display: inline' id='Rewrittenlogging'>Rewritten logging</h3><br />
+<h3 style='display: inline' id='rewritten-logging'>Rewritten logging</h3><br />
<br />
<span>For DTail 4, logging has been completely rewritten. The new package name is "internal/io/dlog". I rewrote the logging because DTail is a special case here: There are logs processed by DTail, there are logs produced by the DTail server itself, there are logs produced by a DTail client itself, there are logs only logged by a DTail client, there are logs only logged by the DTail server, and there are logs logged by both, server and client. There are also different logging levels and outputs involved.</span><br />
<br />
@@ -59,7 +59,7 @@ const (
<br />
<span>DTail also supports multiple log outputs (e.g. to file or to stdout). More are now easily pluggable with the new logging package. The output can also be "enriched" (default) or "plain" (read more about that further below).</span><br />
<br />
-<h3 style='display: inline' id='Configurableterminalcolorcodes'>Configurable terminal color codes</h3><br />
+<h3 style='display: inline' id='configurable-terminal-color-codes'>Configurable terminal color codes</h3><br />
<br />
<span>A complaint I received from the users of DTail 3 were the terminal colors used for the output. Under some circumstances (terminal configuration) it made the output difficult to read so that users defaulted to "--noColor" (disabling colored output completely). I toke it by heart and also rewrote the color handling. It&#39;s now possible to configure the foreground and background colors and an attribute (e.g. dim, bold, ...).</span><br />
<br />
@@ -175,7 +175,7 @@ const (
jsonschema -i dtail.json schemas/dtail.schema.json
</pre>
<br />
-<h3 style='display: inline' id='Serverlessmode'>Serverless mode</h3><br />
+<h3 style='display: inline' id='serverless-mode'>Serverless mode</h3><br />
<br />
<span>All DTail commands can now operate on log files (and other text files) directly without any DTail server running. So there isn&#39;t a need anymore to install a DTail server when you are on the target server already anyway, like the following example shows:</span><br />
<br />
@@ -191,7 +191,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>The way it works in Go code is that a connection to a server is managed through an interface and in serverless mode DTail calls through that interface to the server code directly without any TCP/IP and SSH connection made in the background. This means, that the binaries are a bit larger (also ship with the code which normally would be executed by the server) but the increase of binary size is not much.</span><br />
<br />
-<h3 style='display: inline' id='Shorthandflags'>Shorthand flags</h3><br />
+<h3 style='display: inline' id='shorthand-flags'>Shorthand flags</h3><br />
<br />
<span>The "--files" from the previous example is now redundant. As a shorthand, It is now possible to do the following instead:</span><br />
<br />
@@ -201,7 +201,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>Of course, this also works with all other DTail client commands (dgrep, dcat, ... etc).</span><br />
<br />
-<h3 style='display: inline' id='Spartanakaplainmode'>Spartan (aka plain) mode</h3><br />
+<h3 style='display: inline' id='spartan-aka-plain-mode'>Spartan (aka plain) mode</h3><br />
<br />
<span>There&#39;s a plain mode, which makes DTail only print out the "plain" text of the files operated on (without any DTail specific enriched output). E.g.:</span><br />
<br />
@@ -212,7 +212,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>This might be useful if you wanted to post-process the output. </span><br />
<br />
-<h3 style='display: inline' id='Standardinputpipe'>Standard input pipe</h3><br />
+<h3 style='display: inline' id='standard-input-pipe'>Standard input pipe</h3><br />
<br />
<span>In serverless mode, you might want to process your data in a pipeline. You can do that now too through an input pipe:</span><br />
<br />
@@ -227,7 +227,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
% awk &#39;.....&#39; &lt; /some/file | dtail ....
</pre>
<br />
-<h3 style='display: inline' id='Newcommanddtailhealth'>New command dtailhealth</h3><br />
+<h3 style='display: inline' id='new-command-dtailhealth'>New command dtailhealth</h3><br />
<br />
<span>Prior to DTail 4, there was a flag for the "dtail" command to check the health of a remote DTail server (for use with monitoring system such as Nagios). That has been moved out to a separate binary to reduce complexity of the "dtail" command. The following checks whether DTail is operational on the current machine (you could also check a remote instance of DTail server, just adjust the server address).</span><br />
<br />
@@ -238,7 +238,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
exec /usr/local/bin/dtailhealth --server localhost:2222
</pre>
<br />
-<h3 style='display: inline' id='Improveddocumentation'>Improved documentation</h3><br />
+<h3 style='display: inline' id='improved-documentation'>Improved documentation</h3><br />
<br />
<span>Some features, such as custom log formats and the map-reduce query language, are now documented. Also, the examples have been updated to reflect the new features added. This also includes the new animated example Gifs (plus documentation how they were created).</span><br />
<br />
@@ -252,7 +252,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
</ul><br />
<span>That will be added in one of the future releases. </span><br />
<br />
-<h3 style='display: inline' id='Integrationtestingsuite'>Integration testing suite</h3><br />
+<h3 style='display: inline' id='integration-testing-suite'>Integration testing suite</h3><br />
<br />
<span>DTail comes already with some unit tests, but what&#39;s new is a full integration testing suite which covers all common use cases of all the commands (dtail, dcat, dgrep, dmap) with a server backend and also in serverless mode.</span><br />
<br />
@@ -273,7 +273,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
% go test -race -v ./integrationtests
</pre>
<br />
-<h3 style='display: inline' id='Improvedcode'>Improved code</h3><br />
+<h3 style='display: inline' id='improved-code'>Improved code</h3><br />
<br />
<span>Not that the code quality of DTail has been bad (I have been using Go vet and Go lint for previous releases and will keep using these), but this time I had new tools (such as SonarQube and BlackDuck) in my arsenal to:</span><br />
<br />
@@ -283,11 +283,11 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
</ul><br />
<span>Other than that, a lot of other code has been refactored as I saw fit.</span><br />
<br />
-<h3 style='display: inline' id='Useofmemorypools'>Use of memory pools</h3><br />
+<h3 style='display: inline' id='use-of-memory-pools'>Use of memory pools</h3><br />
<br />
<span>DTail makes excessive use of string builder and byte buffer objects. For performance reasons, those are now re-used from memory pools.</span><br />
<br />
-<h2 style='display: inline' id='Whatsnext'>What&#39;s next</h2><br />
+<h2 style='display: inline' id='whats-next'>What&#39;s next</h2><br />
<br />
<span>DTail 5 won&#39;t be released any time soon I guess, but some 4.x.y releases will follow this year fore sure. I can think of:</span><br />
<br />
diff --git a/gemfeed/2022-04-10-creative-universe.html b/gemfeed/2022-04-10-creative-universe.html
index ff4fb550..c97fe5ad 100644
--- a/gemfeed/2022-04-10-creative-universe.html
+++ b/gemfeed/2022-04-10-creative-universe.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Creativeuniverse'>Creative universe</h1><br />
+<h1 style='display: inline' id='creative-universe'>Creative universe</h1><br />
<br />
<span class='quote'>Published at 2022-04-10T10:09:11+01:00; Updated at 2022-04-18</span><br />
<br />
@@ -33,7 +33,7 @@
- the universe
</pre>
<br />
-<h2 style='display: inline' id='Prelude'>Prelude</h2><br />
+<h2 style='display: inline' id='prelude'>Prelude</h2><br />
<br />
<span>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&#39;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:</span><br />
<br />
@@ -52,17 +52,17 @@
<li>I want to learn new technologies or to deepen my knowledge of a given technology. I want to have a personal benefit from the project, even when I don&#39;t win any prize. So when the company is offering a contest, why not use it as a motivational trampoline? It&#39;s good to have a hard deadline for a project. And the project will also benefit the company in some way. So it&#39;s a win-win.</li>
<li>I love the idea of combining several old things into a new thing. You can call this creativity. At work, we call this sometimes Lego: Building new things from given blocks. But I also love to add something new and unique to the mix, something that didn&#39;t exist as a Lego block before and could not be built by using only the already existing blocks.</li>
</ul><br />
-<h2 style='display: inline' id='Howtobecreative'>How to be creative</h2><br />
+<h2 style='display: inline' id='how-to-be-creative'>How to be creative</h2><br />
<br />
<span>How did I manage to be creative with all these Pet Projects? Unfortunately, there is no step-by-step guide I could point you to. But what I want to do in this blog post is share my personal experience so far.</span><br />
<br />
-<h3 style='display: inline' id='Knowwhichproblemyouwanttosolve'>Know which problem you want to solve</h3><br />
+<h3 style='display: inline' id='know-which-problem-you-want-to-solve'>Know which problem you want to solve</h3><br />
<br />
<span>There must be a problem to be solved or a thing to be improved. It makes no sense to have a project without a goal. A problem might be obvious to you, and you don&#39;t even need to think about it. In that case, you are all set, and you can immerse yourself with the problem.</span><br />
<br />
<span>If, however, you don&#39;t know what problem you want to solve: Do you really need to be creative? All problems are solved anyway, correct? In that case, just go on with your work. As you immerse yourself with your daily work, you will find a project naturally after a while. I don&#39;t believe you should artificially find a project. It should come naturally to you. You should have an interest in the problem domain and a strong desire to find a proper solution for the problem. Artificially created projects come with the catch that you might give up on it rather sooner than later due to lack of motivation and desire.</span><br />
<br />
-<h3 style='display: inline' id='Immersedeepdive'>Immerse / deep dive</h3><br />
+<h3 style='display: inline' id='immerse--deep-dive'>Immerse / deep dive</h3><br />
<br />
<span>If you want to be creative in a field, you must know a lot about it. The more you know about it, the more dots you can connect. When you are learning a new technology or if you are thinking about a tough problem, do it thoroughly. Don&#39;t let anything distract you. Read books, watch lectures, listen to podcasts or audiobooks about the topic, talk to other people working on similar topics. Immerse yourself for multiple hours per day, multiple days per week, multiple weeks and maybe even months. Create your own inner universe.</span><br />
<br />
@@ -72,7 +72,7 @@
<br />
<span>Sometimes, depending on how deeply you were immersed, you may need to let the problem go for a couple of days (e.g. over a weekend) before you can download a new insight.</span><br />
<br />
-<h3 style='display: inline' id='Alwayshaveanotebookwithyou'>Always have a notebook with you</h3><br />
+<h3 style='display: inline' id='always-have-a-notebook-with-you'>Always have a notebook with you</h3><br />
<br />
<span>Wherever you go, ensure that you always have something to take notes with you. Once you have an idea from nowhere (or from your unconscious but volatile brain), you really want to write it down to persistent storage. It doesn&#39;t matter what kind of note-taking device you use here. It can be a paper journal, or it can be your smartphone. </span><br />
<br />
@@ -80,13 +80,13 @@
<br />
<span>I prefer taking notes on paper, as it gives you more freedom of how to structure it. You can use any colour, and you can also quickly create diagrams without the use of any complex computer program.</span><br />
<br />
-<h3 style='display: inline' id='Whenyoudidntsleepenough'>When you didn&#39;t sleep enough</h3><br />
+<h3 style='display: inline' id='when-you-didnt-sleep-enough'>When you didn&#39;t sleep enough</h3><br />
<br />
<span>I noticed while being sleep-deprived I am (obviously) unable to concentrate so much, and it is difficult to be immersed in a focused way. But on the other hand, I am a lot more creative compared to when I am not sleep-deprived. Then, my brain suddenly presents me with connections I have not thought of before. Here, I usually write any idea I have down on a sheet of paper or in my journal, so I can pick it up later. I then often continue to philosophise about a possible solution. Sometimes to the absurd, and sometimes to something pretty useful.</span><br />
<br />
<span>I am not saying that you should skip sleep. By all means, if you can sleep, then sleep. But there are some days when you don&#39;t manage to sleep (e.g. think too much about a project and didn&#39;t manage to hit the off switch). This is, where you can take advantage of your current state of mind. Disclaimer: Skipping sleep damages your health. So, please don&#39;t try this out on purpose. But in case you had a bad night, remember this trick.</span><br />
<br />
-<h3 style='display: inline' id='Haveregularbreaksandrelax'>Have regular breaks and relax</h3><br />
+<h3 style='display: inline' id='have-regular-breaks-and-relax'>Have regular breaks and relax</h3><br />
<br />
<span>Have regular breaks. Don&#39;t skip your lunch break. Best, have a walk during lunchtime. And after work, do some kind of workout or visit a sports class. Do something completely unrelated to work before going to sleep (e.g. visit a parallel universe and read a Science Fiction novel). In short: Totally hit the off-switch after your work for the day is finished. You will be much more energised and motivated the next time you open your work laptop.</span><br />
<br />
@@ -96,7 +96,7 @@
<br />
<span>It also helps a lot eat healthy. Healthy food makes your brain work more efficiently. But I won&#39;t go into more details here, as nothing is as contradictory as the health and food industry. Conduct your own research. Your opinion may be different from mine anyway, and everyone&#39;s body reacts to certain foods differently. What for one person works may not work for another person. But be aware that you will find a lot of wrong and also conflicting information on the internet. So always use multiple resources for your research.</span><br />
<br />
-<h3 style='display: inline' id='Upsidedownapproach'>Upside-down approach</h3><br />
+<h3 style='display: inline' id='upside-down-approach'>Upside-down approach</h3><br />
<br />
<span>It&#39;s easy to fall into the habit of "boxed" thinking, but creativity is exactly the opposite. Once in a while, make yourself think "Is A really required to do B?". Many assumptions are believed to be true. But are they really? A concrete example: "At work we only use the programming language L and framework F" and therefore, it is the standard we must use.</span><br />
<br />
@@ -110,7 +110,7 @@
<br />
<span>A small additional trick: you can train yourself to generate new and unconventional ideas. Just write down 20 random ideas every day. It doesn&#39;t matter what the ideas are about and whether they are useful or not. The purpose of this exercise is to make your brain think about something new and unconventional. These can be absurd ideas such as "Jump out of the window naked in the morning in order to wake up faster". Of course, you would never do that, but at least you had an idea and made your brain generate something.</span><br />
<br />
-<h3 style='display: inline' id='Dontbebusyallthetime'>Don&#39;t be busy all the time</h3><br />
+<h3 style='display: inline' id='dont-be-busy-all-the-time'>Don&#39;t be busy all the time</h3><br />
<br />
<span>Especially as a DevOps Engineer, you could be busy all the time with small, but frequent, ad hoc tasks. Don&#39;t lose yourself here. Yes, you should pay attention to your job and those tasks, but you should also make some room for creativity. Don&#39;t schedule meeting after ad hoc work after meeting after Jira ticket work after another Jira ticket. There should also be some "free" space in your calendar.</span><br />
<br />
@@ -130,7 +130,7 @@ learn () {
timedatectl - Control the system time and date
</pre>
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>This all summarises advice I have, really.  I hope this was interesting and helpful for you.</span><br />
<br />
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 4d6a9f4d..e2a9ea45 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Perlisstillagreatchoice'>Perl is still a great choice</h1><br />
+<h1 style='display: inline' id='perl-is-still-a-great-choice'>Perl is still a great choice</h1><br />
<br />
<span class='quote'>Published at 2022-05-27T07:50:12+01:00; Updated at 2023-01-28</span><br />
<br />
@@ -28,7 +28,7 @@
<li>Why use Perl as there are better alternatives?</li>
<li>Why all the sigils? It looks like an exploding ASCII factory!!</li>
</ul><br />
-<h2 style='display: inline' id='Writeonlylanguage'>Write-only language</h2><br />
+<h2 style='display: inline' id='write-only-language'>Write-only language</h2><br />
<br />
<span>Is Perl really a write-only language? You have to understand that Perl 5 was released in 1994 (28 years ago as of this writing) and when we refer to Perl we usually mean Perl 5. That&#39;s many years, and there are many old scripts not following the modern Perl best practices (as they didn&#39;t exist yet). So yes, legacy scripts may be difficult to read. Japanese may be difficult to read too if you don&#39;t know Japanese, though.</span><br />
<br />
@@ -54,7 +54,7 @@
<br />
<span>This all doesn&#39;t mean that you can&#39;t "get things done" with Perl. Quite the opposite is the case. Perl is a very pragmatic programming language and is suitable very well for rapid prototyping and any kind of small to medium-sized scripts and programs. You can write large enterprise scale application in Perl too, but that wasn&#39;t the original intend of why Perl was invented (more on that later).</span><br />
<br />
-<h2 style='display: inline' id='IsPerlabandoned'>Is Perl abandoned?</h2><br />
+<h2 style='display: inline' id='is-perl-abandoned'>Is Perl abandoned?</h2><br />
<br />
<span>As I pointed out in the previous section, Perl 5 is around for quite some time without any new major version released. This can lead to the impression that development is not progressing and that the project is abandoned. Nothing can be further from the truth. Perl 5.000 was released in 1994 and the latest version (as of this writing) Perl 5.34.1 was released two months ago in 2022. You can check the version history on Wikipedia. You will notice releases being made regularly:</span><br />
<br />
@@ -95,7 +95,7 @@
<br />
<a class='textlink' href='https://www.leanpub.com/perl_new_features'>Perl New Features</a><br />
<br />
-<h2 style='display: inline' id='WhyusePerlastherearebetteralternatives'>Why use Perl as there are better alternatives?</h2><br />
+<h2 style='display: inline' id='why-use-perl-as-there-are-better-alternatives'>Why use Perl as there are better alternatives?</h2><br />
<br />
<span>Here, common sense must be applied. I don&#39;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&#39;t need to bother to look for "better" alternatives:</span><br />
<br />
@@ -124,7 +124,7 @@
</ul><br />
<a class='textlink' href='https://github.com/Ovid/Cor'>Cor - Bringing modern OOP to the Perl Core</a><br />
<br />
-<h2 style='display: inline' id='WhyallthesigilsItlookslikeanexplodingASCIIfactory'>Why all the sigils? It looks like an exploding ASCII factory!!</h2><br />
+<h2 style='display: inline' id='why-all-the-sigils-it-looks-like-an-exploding-ascii-factory'>Why all the sigils? It looks like an exploding ASCII factory!!</h2><br />
<br />
<span>The sigils <span class='inlinecode'>$ @ % &amp;</span> (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. <span class='inlinecode'>$scalar</span> is a scalar variable (holding a single value), <span class='inlinecode'>@array</span> is an array (holding a list of values), <span class='inlinecode'>%hash</span> holds a list of key-value pairs and <span class='inlinecode'>&amp;sub</span> is for subroutines. A given variable <span class='inlinecode'>$ref</span> can also hold reference to something. <span class='inlinecode'>@$arrayref</span> dereferences a reference to an array, <span class='inlinecode'>%$hashref</span> to a hash, <span class='inlinecode'>$$scalarref</span> to a scalar, <span class='inlinecode'>&amp;$subref</span> 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).</span><br />
<br />
@@ -132,7 +132,7 @@
<br />
<a class='textlink' href='https://www.perl.com/article/on-sigils/'>https://www.perl.com/article/on-sigils/</a><br />
<br />
-<h2 style='display: inline' id='WheredoIpersonallystilluseperl'>Where do I personally still use perl?</h2><br />
+<h2 style='display: inline' id='where-do-i-personally-still-use-perl'>Where do I personally still use perl?</h2><br />
<br />
<ul>
<li>I use Rexify for my OpenBSD server automation. Rexify is a configuration management system developed in Perl with similar features to Ansible but less bloated. It suits my personal needs perfectly.</li>
diff --git a/gemfeed/2022-06-15-sweating-the-small-stuff.html b/gemfeed/2022-06-15-sweating-the-small-stuff.html
index e39ab33c..cb70c528 100644
--- a/gemfeed/2022-06-15-sweating-the-small-stuff.html
+++ b/gemfeed/2022-06-15-sweating-the-small-stuff.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SweatingthesmallstuffTinyprojectsofmine'>Sweating the small stuff - Tiny projects of mine</h1><br />
+<h1 style='display: inline' id='sweating-the-small-stuff---tiny-projects-of-mine'>Sweating the small stuff - Tiny projects of mine</h1><br />
<br />
<span class='quote'>Published at 2022-06-15T08:47:44+01:00; Updated at 2022-06-18</span><br />
<br />
@@ -29,7 +29,7 @@
<br />
<span>But before going through the tiny projects let&#39;s take a paragraph for the <span class='inlinecode'>1y</span> anniversary retrospective.</span><br />
<br />
-<h2 style='display: inline' id='1yanniversary'><span class='inlinecode'>1y</span> anniversary</h2><br />
+<h2 style='display: inline' id='1y-anniversary'><span class='inlinecode'>1y</span> anniversary</h2><br />
<br />
<span>It has been one year since I started posting regularly (at least once monthly) on this blog again. It has been a lot of fun (and work) doing so for various reasons:</span><br />
<br />
@@ -48,13 +48,13 @@
<br />
<span>But now, let&#39;s continue with the small projects worth mentioning :-)</span><br />
<br />
-<h2 style='display: inline' id='Staticphotoalbumgenerator'>Static photo album generator</h2><br />
+<h2 style='display: inline' id='static-photo-album-generator'>Static photo album generator</h2><br />
<br />
<span><span class='inlinecode'>photoalbum.sh</span> is a minimal static HTML photo album generator. I use it to drive "The Irregular Ninja" site and for some ad-hoc (personal) albums to share photos with the family and friends.</span><br />
<br />
<a class='textlink' href='https://codeberg.org/snonux/photoalbum'>https://codeberg.org/snonux/photoalbum</a><br />
<br />
-<h3 style='display: inline' id='TheIrregularNinja'>The Irregular Ninja</h3><br />
+<h3 style='display: inline' id='the-irregular-ninja'>The Irregular Ninja</h3><br />
<br />
<span>Photography is one of my casual hobbies. I love to capture interesting perspectives and motifs. I love to walk new streets and neighbourhoods I never walked before so I can capture those unexpected motifs, colours and moments. Unfortunately, because of time constraints (and sometime weather constraints), I do that on a pretty infrequent basis.</span><br />
<br />
@@ -72,7 +72,7 @@
<br />
<span>I hope you like this photo site. It&#39;s worth checking it out again around once every other month!</span><br />
<br />
-<h2 style='display: inline' id='Randomjournalpageextractor'>Random journal page extractor</h2><br />
+<h2 style='display: inline' id='random-journal-page-extractor'>Random journal page extractor</h2><br />
<br />
<span>I bullet journal. I write my notes into a Leuchtturm paper notebook. Once full, I am scanning it to a PDF file and archive it. As of writing this, I am at journal #7 (each from 123 up to 251 pages in A5). It means that there is a lot of material already.</span><br />
<br />
@@ -82,7 +82,7 @@
<br />
<span>There&#39;s also a weekly <span class='inlinecode'>CRON</span> job on my servers to send me a reminder that I might want to read in my old journals again. My laptop also runs this script each time it boots and saves the output to a NextCloud folder. From there, it&#39;s synchronized to the NextCloud server so I can pick it up from there with my smartphone later when I am "on the road".</span><br />
<br />
-<h2 style='display: inline' id='Globaluptimerecordsstatisticgenerator'>Global uptime records statistic generator</h2><br />
+<h2 style='display: inline' id='global-uptime-records-statistic-generator'>Global uptime records statistic generator</h2><br />
<br />
<span><span class='inlinecode'>guprecords</span> is a Perl script which reads multiple <span class='inlinecode'>uprecord</span> files (produced by <span class='inlinecode'>uptimed</span> - a widely available daemon for recording server uptimes) and generates uptime statistics of multiple hosts combined. I keep all the record files of all my personal computers in a Git repository (I even keep the records of the boxes I don&#39;t own or use anymore) and there&#39;s already quite a collection of it. It looks like this:</span><br />
<br />
@@ -142,7 +142,7 @@ Pos | System | Kernel | Uptime |
<br />
<span>This all is of no real practical use but fun!</span><br />
<br />
-<h2 style='display: inline' id='Serverconfigurationmanagement'>Server configuration management</h2><br />
+<h2 style='display: inline' id='server-configuration-management'>Server configuration management</h2><br />
<br />
<span>The <span class='inlinecode'>rexfiles</span> project contains all Rex files for my (personal) server setup automation. A <span class='inlinecode'>Rexfile</span> is written in a Perl DSL run by the Rex configuration management system. It&#39;s pretty much KISS and that&#39;s why I love it. It suits my personal needs perfectly. </span><br />
<br />
@@ -153,7 +153,7 @@ Pos | System | Kernel | Uptime |
<br />
<span class='quote'>Hi there! I was searching for a simple way to automate my personal OpenBSD setup. I found that configuration management systems like Puppet, Salt, Chef, etc.. were too bloated for my personal needs. So for a while I was configuring everything by hand. At one point I got fed up and started writing Shell scripts. But that was not the holy grail so that I looked at Ansible. I found that Ansible had some dependencies on Python on the target machine when you want to use all the features. Furthermore, I am not really familiar with Python. But then I remembered that there was also Rex. It&#39;s written in my beloved Perl. Also, OpenBSD comes with Perl in the base system out of the box which makes it integrate better than all my scripts (automation and also scripts deployed via the automation to the system) are all in the same language. Rex may not have all the features like other configuration management systems, but its easy to work-around or extend when you know Perl. Thanks!</span><br />
<br />
-<h2 style='display: inline' id='FancySSHexecutionloop'>Fancy SSH execution loop</h2><br />
+<h2 style='display: inline' id='fancy-ssh-execution-loop'>Fancy SSH execution loop</h2><br />
<br />
<span><span class='inlinecode'>rubyfy</span> is a fancy SSH loop wrapper written in Ruby for running shell commands on multiple remote servers at once. I also forked this project for work (under a different name) where I added even more features such as automatic server discovery. It&#39;s used by many colleagues on a frequent basis. Here are some examples:</span><br />
<br />
@@ -178,7 +178,7 @@ echo foo.example.com |
<br />
<a class='textlink' href='https://codeberg.org/snonux/rubyfy'>https://codeberg.org/snonux/rubyfy</a><br />
<br />
-<h2 style='display: inline' id='AKISSdynamicDNSsolution'>A KISS dynamic DNS solution</h2><br />
+<h2 style='display: inline' id='a-kiss-dynamic-dns-solution'>A KISS dynamic DNS solution</h2><br />
<br />
<span><span class='inlinecode'>dyndns</span> is a tiny shell script which implements "your" own DynDNS service. It relies on SSH access to the authoritative DNS server and the <span class='inlinecode'>nsupdate</span> command. There is really no need to use any of the "other" free DynDNS services out there.</span><br />
<br />
@@ -198,7 +198,7 @@ ssh dyndns@dyndnsserver /path/to/dyndns-update \
<br />
<a class='textlink' href='https://codeberg.org/snonux/dyndns'>https://codeberg.org/snonux/dyndns</a><br />
<br />
-<h2 style='display: inline' id='CPUinformationgathererforLinux'>CPU information gatherer for Linux</h2><br />
+<h2 style='display: inline' id='cpu-information-gatherer-for-linux'>CPU information gatherer for Linux</h2><br />
<br />
<span>This is a tiny GNU Awk script for Linux which displays information about the CPU. All what it does is presenting <span class='inlinecode'>/proc/cpuinfo</span> in an easier to read way. The output is somewhat more compact than the standard <span class='inlinecode'>lscpu</span> command you find commonly on Linux distributions.</span><br />
<br />
@@ -222,7 +222,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<a class='textlink' href='https://codeberg.org/snonux/cpuinfo'>https://codeberg.org/snonux/cpuinfo</a><br />
<br />
-<h2 style='display: inline' id='Showdifferencesoftwofilesoverthenetwork'>Show differences of two files over the network</h2><br />
+<h2 style='display: inline' id='show-differences-of-two-files-over-the-network'>Show differences of two files over the network</h2><br />
<br />
<span>This is a shell wrapper to use the standard diff tool over the network to compare a file between two computers. It uses NetCat for the network part and also encrypts all traffic using OpenSSL. This is how its used:</span><br />
<br />
@@ -230,13 +230,13 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<a class='textlink' href='https://codeberg.org/snonux/netdiff'>https://codeberg.org/snonux/netdiff</a><br />
<br />
-<h2 style='display: inline' id='DelaysendingoutEMailswithMutt'>Delay sending out E-Mails with Mutt</h2><br />
+<h2 style='display: inline' id='delay-sending-out-e-mails-with-mutt'>Delay sending out E-Mails with Mutt</h2><br />
<br />
<span>This is a shell script for the Mutt email client for delaying sending out E-Mails. For example, you want to write an email on Saturday but don&#39;t want to bother the recipient earlier than Monday. It relies on CRON.</span><br />
<br />
<a class='textlink' href='https://codeberg.org/snonux/muttdelay'>https://codeberg.org/snonux/muttdelay</a><br />
<br />
-<h2 style='display: inline' id='GraphicalUIforsendingtextmessages'>Graphical UI for sending text messages</h2><br />
+<h2 style='display: inline' id='graphical-ui-for-sending-text-messages'>Graphical UI for sending text messages</h2><br />
<br />
<span><span class='inlinecode'>jsmstrade</span> is a minimalistic graphical Java swing client for sending SMS messages over the SMStrade service.</span><br />
<br />
@@ -245,19 +245,19 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<a class='textlink' href='https://codeberg.org/snonux/jsmstrade'>https://codeberg.org/snonux/jsmstrade</a><br />
<a class='textlink' href='https://smstrade.de'>https://smstrade.de</a><br />
<br />
-<h2 style='display: inline' id='IPv6andIPv4connectivitytestingsite'>IPv6 and IPv4 connectivity testing site</h2><br />
+<h2 style='display: inline' id='ipv6-and-ipv4-connectivity-testing-site'>IPv6 and IPv4 connectivity testing site</h2><br />
<br />
<span><span class='inlinecode'>ipv6test</span> is a quick and dirty Perl CGI script for testing whether your browser connects via IPv4 or IPv6. It requires you to setup three sub-domains: One reachable only via IPv4 (e.g. <span class='inlinecode'>test4.ipv6.buetow.org</span>), another reachable only via IPv6 (e.g. <span class='inlinecode'>test6.ipv6.buetow.org</span>) and the main one reachable through both protocols (e.g. <span class='inlinecode'>ipv6.buetow.org</span>).</span><br />
<br />
<span>I don&#39;t have it running on any of my servers at the moment. This means that there is no demo to show now. Sorry!</span><br />
<br />
-<h2 style='display: inline' id='ListopenJiraticketsintheterminal'>List open Jira tickets in the terminal</h2><br />
+<h2 style='display: inline' id='list-open-jira-tickets-in-the-terminal'>List open Jira tickets in the terminal</h2><br />
<br />
<span><span class='inlinecode'>japi</span> s a small Perl script for listing open Jira issues. It might be broken by now as the Jira APIs may have changed. Sorry! But feel free to fork and modernize it. :-)</span><br />
<br />
<a class='textlink' href='https://codeberg.org/snonux/jsmstrade'>https://codeberg.org/snonux/jsmstrade</a><br />
<span> </span><br />
-<h2 style='display: inline' id='DebianrunningonyourAndroidphone'>Debian running on "your" Android phone</h2><br />
+<h2 style='display: inline' id='debian-running-on-your-android-phone'>Debian running on "your" Android phone</h2><br />
<br />
<span>Debroid is a tutorial and a set of scripts to install and to run a Debian <span class='inlinecode'>chroot</span> on an Android phone.</span><br />
<br />
@@ -267,17 +267,17 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<a class='textlink' href='https://termux.com'>https://termux.com</a><br />
<br />
-<h2 style='display: inline' id='Perlserviceframework'>Perl service framework</h2><br />
+<h2 style='display: inline' id='perl-service-framework'>Perl service framework</h2><br />
<br />
<span>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. To do something useful, a module (written in Perl) must be provided.</span><br />
<br />
<a class='textlink' href='./2011-05-07-perl-daemon-service-framework.html'>Checkout my previous post about it</a><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>There are more projects on my Codeberg page but they aren&#39;t as tiny as the ones mentioned in this post or aren&#39;t finished yet so I won&#39;t bother listing them here. However, there also a few more scripts used frequently by me (not publicly accessible (yet?)) which I would like to mention here:</span><br />
<br />
-<h3 style='display: inline' id='Worktimetracker'>Work time tracker</h3><br />
+<h3 style='display: inline' id='work-time-tracker'>Work time tracker</h3><br />
<br />
<span><span class='inlinecode'>worktime.rb</span>, for example, is a command line Ruby script I use to track my time spent working. This is to make sure that I don&#39;t overwork (in particular useful when working from home). It also generates some daily and weekly stats and carries over work time (surpluses or minuses) to the next work day, week or even year.</span><br />
<br />
@@ -299,13 +299,13 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<span>All I do when I start work is to run the <span class='inlinecode'>wtlogin</span> command and after finishing work to run the <span class='inlinecode'>wtlogout</span> command. My shell will remind me when I work without having logged in. It uses a simple JSON database which is editable with <span class='inlinecode'>wtedit</span> (this opens the JSON in Vim). The report shown above can be generated with <span class='inlinecode'>wtreport</span>. Any out-of-bounds reporting can be added with the <span class='inlinecode'>wtadd</span> command.</span><br />
<br />
-<h3 style='display: inline' id='Passwordanddocumentstore'>Password and document store</h3><br />
+<h3 style='display: inline' id='password-and-document-store'>Password and document store</h3><br />
<br />
<span><span class='inlinecode'>geheim.rb</span> is my personal password and document store ("geheim" is the German word for secret). It&#39;s written in Ruby and heavily relies on Git, FZF (for search), Vim and standard encryption algorithms. Other than the standard <span class='inlinecode'>pass</span> Unix password manager, <span class='inlinecode'>geheim</span> also encrypts the file names and password titles.</span><br />
<br />
<span>The tool is command line driven but also provides an interactive shell when invoked with <span class='inlinecode'>geheim shell</span>. It also works on my Android phone via Termux so I have all my documents and passwords always with me. </span><br />
<br />
-<h3 style='display: inline' id='Backupprocedure'>Backup procedure</h3><br />
+<h3 style='display: inline' id='backup-procedure'>Backup procedure</h3><br />
<br />
<span><span class='inlinecode'>backup</span> is a Bash script which does run once daily (or every time on boot) on my home FreeBSD NAS server and performs backup related tasks such as creating a local backup of my remote NextCloud instance, creating encrypted (incremental) ZFS snapshots of everything what&#39;s stored on the NAS and synchronizes (via <span class='inlinecode'>rsync</span>) backups to a remote cloud storage. It also can synchronize backups to a local external USB drive.</span><br />
<br />
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 82832338..b9461ac3 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='LetsEncryptwithOpenBSDandRex'>Let&#39;s Encrypt with OpenBSD and Rex</h1><br />
+<h1 style='display: inline' id='lets-encrypt-with-openbsd-and-rex'>Let&#39;s Encrypt with OpenBSD and Rex</h1><br />
<br />
<span class='quote'>Published at 2022-07-30T12:14:31+01:00</span><br />
<br />
@@ -41,7 +41,7 @@
<br />
<span>I was amazed at how easy it is to automatically generate and update Let&#39;s Encrypt certificates with OpenBSD.</span><br />
<br />
-<h2 style='display: inline' id='WhatsLetsEncrypt'>What&#39;s Let&#39;s Encrypt?</h2><br />
+<h2 style='display: inline' id='whats-lets-encrypt'>What&#39;s Let&#39;s Encrypt?</h2><br />
<br />
<span class='quote'>Let&#39;s Encrypt is a non-profit certificate authority run by Internet Security Research Group that provides X.509 certificates for Transport Layer Security (TLS) encryption at no charge. It is the world&#39;s largest certificate authority, used by more than 265 million websites, with the goal of all websites being secure and using HTTPS.</span><br />
<br />
@@ -49,7 +49,7 @@
<br />
<span>In short, it gives away TLS certificates for your website - for free! The catch is, that the certificates are only valid for three months. So it is better to automate certificate generation and renewals.</span><br />
<br />
-<h2 style='display: inline' id='Meetacmeclient'>Meet <span class='inlinecode'>acme-client</span></h2><br />
+<h2 style='display: inline' id='meet-acme-client'>Meet <span class='inlinecode'>acme-client</span></h2><br />
<br />
<span><span class='inlinecode'>acme-client</span> is the default Automatic Certifcate Management Environment (ACME) client on OpenBSD and part of the OpenBSD base system. </span><br />
<br />
@@ -69,11 +69,11 @@
<li>Let&#39;s Encrypt then will contact the hostname for the certificate through a particular URL (e.g. <span class='inlinecode'>http://foo.zone/.well-known/acme-challenge/...</span>) to verify that the requester is the valid owner of the host.</li>
<li>Let&#39;s Encrypt generates a certificate, which then is downloaded to <span class='inlinecode'>/etc/ssl/...</span>.</li>
</ul><br />
-<h2 style='display: inline' id='Configuration'>Configuration</h2><br />
+<h2 style='display: inline' id='configuration'>Configuration</h2><br />
<br />
<span>There is some (but easy) configuration required to make that all work on OpenBSD.</span><br />
<br />
-<h3 style='display: inline' id='acmeclientconf'>acme-client.conf</h3><br />
+<h3 style='display: inline' id='acme-clientconf'>acme-client.conf</h3><br />
<br />
<span>This is how my <span class='inlinecode'>/etc/acme-client.conf</span> looks like (I copied a template from <span class='inlinecode'>/etc/examples/acme-client.conf</span> to <span class='inlinecode'>/etc/acme-client.conf</span> and added my domains to the bottom:</span><br />
<br />
@@ -172,7 +172,7 @@ server "foo.zone" {
<br />
<span>It is worth noticing that <span class='inlinecode'>httpd</span> will start without the certificates being present. This will cause a certificate error when you try to reach the HTTPS endpoint, but it helps to bootstrap Let&#39;s Encrypt. As you saw in the config snippet above, Let&#39;s Encrypt only requests the plain HTTP endpoint for the verification process, so HTTPS doesn&#39;t need to be operational yet at this stage. But once the certificates are generated, you will have to reload or restart <span class='inlinecode'>httpd</span> to use any new certificate.</span><br />
<br />
-<h3 style='display: inline' id='CRONjob'>CRON job</h3><br />
+<h3 style='display: inline' id='cron-job'>CRON job</h3><br />
<br />
<span>You could now run <span class='inlinecode'>doas acme-client foo.zone</span> to generate the certificate or to renew it. Or you could automate it with CRON.</span><br />
<br />
@@ -250,11 +250,11 @@ acme-client: /etc/ssl/irregular.ninja.fullchain.pem: certificate valid: 80 days
acme-client: /etc/ssl/snonux.land.fullchain.pem: certificate valid: 79 days left
</pre>
<br />
-<h2 style='display: inline' id='relaydconfandsmtpdconf'>relayd.conf and smtpd.conf</h2><br />
+<h2 style='display: inline' id='relaydconf-and-smtpdconf'>relayd.conf and smtpd.conf</h2><br />
<br />
<span>Besides <span class='inlinecode'>httpd</span>, <span class='inlinecode'>relayd</span> (mainly for Gemini) and <span class='inlinecode'>smtpd</span> (for mail, of course) also use TLS certificates. And as you can see in <span class='inlinecode'>acme.sh</span>, the services are reloaded or restarted (<span class='inlinecode'>smtpd</span> doesn&#39;t support reload) whenever a certificate is generated or updated.</span><br />
<br />
-<h2 style='display: inline' id='Rexification'>Rexification</h2><br />
+<h2 style='display: inline' id='rexification'>Rexification</h2><br />
<br />
<span>I didn&#39;t write all these configuration files by hand. As a matter of fact, everything is automated with the Rex configuration management system.</span><br />
<br />
@@ -266,7 +266,7 @@ acme-client: /etc/ssl/snonux.land.fullchain.pem: certificate valid: 79 days left
our @acme_hosts = qw/buetow.org paul.buetow.org tmp.buetow.org dtail.dev foo.zone irregular.ninja snonux.land/;
</pre>
<br />
-<h3 style='display: inline' id='GeneralACMEclientconfiguration'>General ACME client configuration</h3><br />
+<h3 style='display: inline' id='general-acme-client-configuration'>General ACME client configuration</h3><br />
<br />
<span>ACME will be installed into the frontend group of hosts. Here, blowfish is the primary, and twofish is the secondary OpenBSD box.</span><br />
<br />
@@ -418,7 +418,7 @@ if [ $has_update = yes ]; then
fi
</pre>
<br />
-<h3 style='display: inline' id='Servicerexification'>Service rexification </h3><br />
+<h3 style='display: inline' id='service-rexification-'>Service rexification </h3><br />
<br />
<span>These are the Rex tasks setting up <span class='inlinecode'>httpd</span>, <span class='inlinecode'>relayd</span> and <span class='inlinecode'>smtpd</span> services:</span><br />
<br />
@@ -646,7 +646,7 @@ match from local for local action localmail
match from local for any action outbound
</pre>
<br />
-<h2 style='display: inline' id='Allpiecestogether'>All pieces together</h2><br />
+<h2 style='display: inline' id='all-pieces-together'>All pieces together</h2><br />
<br />
<span>For the complete <span class='inlinecode'>Rexfile</span> example and all the templates, please look at the Git repository:</span><br />
<br />
@@ -660,7 +660,7 @@ rex commons
<br />
<span>The <span class='inlinecode'>commons</span> is a group of tasks I specified which combines a set of common tasks I always want to execute on all frontend machines. This also includes the ACME tasks mentioned in this article!</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>ACME and Let&#39;s Encrypt greatly help reduce recurring manual maintenance work (creating and renewing certificates). Furthermore, all the certificates are free of cost! I love to use OpenBSD and Rex to automate all of this.</span><br />
<br />
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 ab84385c..e22b8f2d 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Gemtexter110LetsGemtextagain'>Gemtexter 1.1.0 - Let&#39;s Gemtext again</h1><br />
+<h1 style='display: inline' id='gemtexter-110---lets-gemtext-again'>Gemtexter 1.1.0 - Let&#39;s Gemtext again</h1><br />
<br />
<span class='quote'>Published at 2022-08-27T18:25:57+01:00</span><br />
<br />
@@ -30,9 +30,9 @@
<br />
<span>It has been around a year since I released the first version <span class='inlinecode'>1.0.0</span>. Although, there aren&#39;t any groundbreaking changes, there have been a couple of smaller commits and adjustments. I was quite surprised that I received a bunch of feedback and requests about Gemtexter so it means that I am not the only person in the universe actually using it.</span><br />
<br />
-<h2 style='display: inline' id='Whatsnew'>What&#39;s new?</h2><br />
+<h2 style='display: inline' id='whats-new'>What&#39;s new?</h2><br />
<br />
-<h3 style='display: inline' id='AutomaticcheckforGNUversionrequirements'>Automatic check for GNU version requirements</h3><br />
+<h3 style='display: inline' id='automatic-check-for-gnu-version-requirements'>Automatic check for GNU version requirements</h3><br />
<br />
<span>Gemtexter relies on the GNU versions of the tools <span class='inlinecode'>grep</span>, <span class='inlinecode'>sed</span> and <span class='inlinecode'>date</span> and it also requires the Bash shell in version 5 at least. That&#39;s now done in the <span class='inlinecode'>check_dependencies()</span> function:</span><br />
<br />
@@ -61,15 +61,15 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Especially macOS users didn&#39;t read the <span class='inlinecode'>README</span> carefully enough to install GNU Grep, GNU Sed and GNU Date before using Gemtexter.</span><br />
<br />
-<h3 style='display: inline' id='BackticksnowproduceinlinecodeblocksintheHTMLoutput'>Backticks now produce <span class='inlinecode'>inline code blocks</span> in the HTML output</h3><br />
+<h3 style='display: inline' id='backticks-now-produce-inline-code-blocks-in-the-html-output'>Backticks now produce <span class='inlinecode'>inline code blocks</span> in the HTML output</h3><br />
<br />
<span>The Gemtext format doesn&#39;t support inline code blocks, but Gemtexter now produces <span class='inlinecode'>inline code blocks</span> (means, small code fragments can be placed in the middle of a paragraph) in the HTML output when the code block is enclosed with Backticks. There were no adjustments required for the Markdown output format, because Markdown supports it already out of the box.</span><br />
<br />
-<h3 style='display: inline' id='CacheforAtomfeedgeneration'>Cache for Atom feed generation</h3><br />
+<h3 style='display: inline' id='cache-for-atom-feed-generation'>Cache for Atom feed generation</h3><br />
<br />
<span>The Bash is not the most performant language. Gemtexter already takes a couple of seconds only to generate the Atom feed for around two hand full of articles on my slightly underpowered Surface Go 2 Linux tablet. Therefore, I introduced a cache, so that subsequent Atom feed generation runs finish much quicker. The cache uses a checksum of the Gemtext <span class='inlinecode'>.gmi</span> file to decide whether anything of the content has changed or not.</span><br />
<br />
-<h3 style='display: inline' id='Inputfiltersupport'>Input filter support</h3><br />
+<h3 style='display: inline' id='input-filter-support'>Input filter support</h3><br />
<br />
<span>Once your capsule reaches a certain size, it can become annoying to re-generate everything if you only want to preview the HTML or Markdown output of one single content file. The following will add a filter to only generate the files matching a regular expression:</span><br />
<br />
@@ -80,22 +80,22 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">.</font><font color="#ff0000">/gemtexter --generate </font><font color="#bb00ff">'.*hello.*'</font>
</pre>
<br />
-<h3 style='display: inline' id='Revampedgitsupport'>Revamped <span class='inlinecode'>git</span> support</h3><br />
+<h3 style='display: inline' id='revamped-git-support'>Revamped <span class='inlinecode'>git</span> support</h3><br />
<br />
<span>The Git support has been completely rewritten. It&#39;s now more reliable and faster too. Have a look at the <span class='inlinecode'>README</span> for more information.</span><br />
<br />
-<h3 style='display: inline' id='Additionofhtmlextrasandwebfontsupport'>Addition of <span class='inlinecode'>htmlextras</span> and web font support</h3><br />
+<h3 style='display: inline' id='addition-of-htmlextras-and-web-font-support'>Addition of <span class='inlinecode'>htmlextras</span> and web font support</h3><br />
<br />
<span>The <span class='inlinecode'>htmlextras</span> folder now contains all extra files required for the HTML output format such as cascading style sheet (CSS) files and web fonts.</span><br />
<br />
-<h3 style='display: inline' id='Subsectionsupport'>Sub-section support</h3><br />
+<h3 style='display: inline' id='sub-section-support'>Sub-section support</h3><br />
<br />
<span>It&#39;s now possible to define sub-sections within a Gemtexter capsule. For the HTML output, each sub-section can use its own CSS and web font definitions. E.g.:</span><br />
<br />
<a class='textlink' href='https://foo.zone'>The foo.zone main site</a><br />
<a class='textlink' href='https://foo.zone/notes'>The notes sub-section (with different fonts)</a><br />
<br />
-<h3 style='display: inline' id='More'>More</h3><br />
+<h3 style='display: inline' id='more'>More</h3><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
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 28a4e485..48ec84ee 100644
--- a/gemfeed/2022-09-30-after-a-bad-nights-sleep.html
+++ b/gemfeed/2022-09-30-after-a-bad-nights-sleep.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Afterabadnightssleep'>After a bad night&#39;s sleep</h1><br />
+<h1 style='display: inline' id='after-a-bad-nights-sleep'>After a bad night&#39;s sleep</h1><br />
<br />
<span class='quote'>Published at 2022-09-30T09:53:23+03:00; Updated at 2022-10-12</span><br />
<br />
@@ -28,15 +28,15 @@ jgs (________\ \
<br />
<span>Everyone has it once in a while: A bad night&#39;s sleep. Here I attempt to list valuable tips on how to deal with it.</span><br />
<br />
-<h2 style='display: inline' id='Donttakethedayoff'>Don&#39;t take the day off.</h2><br />
+<h2 style='display: inline' id='dont-take-the-day-off'>Don&#39;t take the day off.</h2><br />
<br />
<span>Don&#39;t take a day off after not sleeping enough the previous night. That would be wasting the holiday allowance. It wouldn&#39;t be possible to enjoy my free time anyway, so why not just work? There&#39;s still a way for an IT Engineer to be productive (sometimes even more) with half or less of the concentration power available!</span><br />
<br />
-<h2 style='display: inline' id='Startworkearly'>Start work early</h2><br />
+<h2 style='display: inline' id='start-work-early'>Start work early</h2><br />
<br />
<span>Probably I am already awake early and am unable to fall asleep again. My strategy here is to "attack" the day: Start work early and finish early. The early bird will also encounter fewer distractions from colleagues.</span><br />
<br />
-<h2 style='display: inline' id='Sweatthesmallstuff'>Sweat the small stuff</h2><br />
+<h2 style='display: inline' id='sweat-the-small-stuff'>Sweat the small stuff</h2><br />
<br />
<span>There&#39;s never a shortage of small items to hook off my list. Most of these items don&#39;t require my full concentration power, and I will be happy to get them off my list so that the next day, after a good night&#39;s sleep, I can immerse myself again in focused, deep work with all concentration powers at hand.</span><br />
<br />
@@ -50,57 +50,57 @@ jgs (________\ \
<li>Going through any tedious paperwork.</li>
<li>Catch up with the journal and mark off all trivial action items.</li>
</ul><br />
-<h2 style='display: inline' id='Entertheflowstate'>Enter the flow state</h2><br />
+<h2 style='display: inline' id='enter-the-flow-state'>Enter the flow state</h2><br />
<br />
<span>I find it easy to enter the "flow state" after a bad night&#39;s sleep. All I need to do is to put on some ambient music (preferably instrumental chill house) and start to work on a not-too-difficult ticket.</span><br />
<br />
<span>Usually, the "flow state" is associated with deep-focused work, but deep-focused work isn&#39;t easily possible under sleep deprivation. It&#39;s still possible to be in the flow by working on more manageable tasks and leaving the difficult ones for the next day.</span><br />
<br />
-<h2 style='display: inline' id='Reschedulemeetings'>Reschedule meetings</h2><br />
+<h2 style='display: inline' id='reschedule-meetings'>Reschedule meetings</h2><br />
<br />
<span>I find engaging in discussions and demanding meetings challenging after a lousy night&#39;s sleep. I still attend the sessions I am invited to as "only" a participant, but I prefer to reschedule all meetings I am the primary driver of.</span><br />
<br />
<span>This, unfortunately, also includes interviews. Interviews require full concentration power. So for interviews, I would find a colleague to step in for me or ask to reschedule the interview altogether. Everything else wouldn&#39;t make it justice and would waste everyone&#39;s time!</span><br />
<br />
-<h2 style='display: inline' id='Invent'>Invent</h2><br />
+<h2 style='display: inline' id='invent'>Invent</h2><br />
<br />
<span>The mind works differently under sleep deprivation: It&#39;s easier to invent new stuff as it&#39;s easier to have a look at things from different perspectives. Until an hour ago, I didn&#39;t know yet what I would be blogging about for this month, and then I just started writing this, and it took me only half an hour to write the first draft of this blog post!</span><br />
<br />
-<h2 style='display: inline' id='Fast'>Fast</h2><br />
+<h2 style='display: inline' id='fast'>Fast</h2><br />
<br />
<span>I don&#39;t eat breakfast, and I don&#39;t eat lunch on these days. I only have dinner. Not eating means my mind doesn&#39;t get foggy, and I keep up the work momentum. This is called intermittent fasting, which not only generally helps to keep the weight under control and boosts the concentration power. Furthermore, intermittent fasting is healthy. You should include it in your routine, even after a good night&#39;s sleep.</span><br />
<br />
-<h2 style='display: inline' id='Stretch'>Stretch</h2><br />
+<h2 style='display: inline' id='stretch'>Stretch</h2><br />
<br />
<span>I won&#39;t have enough energy for strenuous physical exercise on those days, but a 30 to a 60-minute stretching session can make the day. Stretching will even hurt less under sleep deprivation! The stretching could also be substituted with a light Yoga session.</span><br />
<br />
-<h2 style='display: inline' id='Walk'>Walk</h2><br />
+<h2 style='display: inline' id='walk'>Walk</h2><br />
<br />
<span>Walking is healthy, and the time can be used to listen to interesting podcasts. The available concentration power might not be enough for more sophisticated audio literature. I will have enough energy for one or two daily walks (~10k steps for the day in total). Sometimes, I listen to music during walks. I also try to catch the bright sunlight.</span><br />
<br />
-<h2 style='display: inline' id='RedBull'>Red Bull</h2><br />
+<h2 style='display: inline' id='red-bull'>Red Bull</h2><br />
<br />
<span>I don&#39;t think that Red Bull is a healthy drink. But once in a while, a can in the early afternoon brings wonders, and productivity will skyrocket. Other than Red Bull, drink a lot of water throughout the day. Don&#39;t forget to drink the sugar-free version; otherwise, your intermittent fast will be broken.</span><br />
<br />
-<h2 style='display: inline' id='Powernap'>Power nap</h2><br />
+<h2 style='display: inline' id='power-nap'>Power nap</h2><br />
<br />
<span>I don&#39;t know how to "enforce" a nap, but sometimes I manage to power nap, and it helps wonders. A 30-minute nap sometimes brings me back to normal. If you don&#39;t tend to fast as you are too hungry, it helps to try to nap approximately 30 minutes after eating something.</span><br />
<br />
-<h2 style='display: inline' id='Donttakeanythingpersonally'>Don&#39;t take anything personally.</h2><br />
+<h2 style='display: inline' id='dont-take-anything-personally'>Don&#39;t take anything personally.</h2><br />
<br />
<span>It&#39;s much more challenging to keep the mind "under control" in this state. Every annoyance can potentially upset, which could reflect on the work colleagues. It is wise to attempt to go with a positive attitude into the day, always smile and be polite to the family and colleagues at work. Don&#39;t let anything drop out to the people next; they don&#39;t deserve it as they didn&#39;t do anything wrong! Also, remember, it can&#39;t be controlled at all. It&#39;s time to let go of the annoyances for the day.</span><br />
<br />
-<h2 style='display: inline' id='Meditate'>Meditate</h2><br />
+<h2 style='display: inline' id='meditate'>Meditate</h2><br />
<br />
<span>To keep the good vibe, it helps to meditate for 10 minutes. Meditation must nothing be fancy. It can be just lying on the sofa and observing your thoughts as they come and go. Don&#39;t judge your thoughts, as that could put you in a negative mood. It&#39;s not necessary to sit in an uncomfortable Yoga pose, and it is not required to chant "Ohhmmmmm".</span><br />
<br />
-<h2 style='display: inline' id='Writethingsdown'>Write things down</h2><br />
+<h2 style='display: inline' id='write-things-down'>Write things down</h2><br />
<br />
<span>Sometimes something requiring more concentration power demands time. This is where it helps to write a note in a journal and return to it another day. This doesn&#39;t mean slacking off but managing the rarely available concentration power for the day. I might repeat myself: Today, sweat all the small stuff. Tomorrow, do the deep-focused work on that crucial project again.</span><br />
<br />
<span>It&#39;s easier to forget things on those days, so everything should be written down so that it can be worked off later. Things written down will not be overlooked!</span><br />
<br />
-<h2 style='display: inline' id='Socialmedia'>Social media</h2><br />
+<h2 style='display: inline' id='social-media'>Social media</h2><br />
<br />
<span>I wouldn&#39;t say I like checking social media, as it can consume a lot of time and can become addictive. But once in a while, I want to catch up with my "networks". After a bad night&#39;s sleep, it&#39;s the perfect time to check your social media. Once done, you don&#39;t have to do it anymore for the next couple of days!</span><br />
<br />
diff --git a/gemfeed/2022-10-30-installing-dtail-on-openbsd.html b/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
index 22df6000..844a3a2e 100644
--- a/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
+++ b/gemfeed/2022-10-30-installing-dtail-on-openbsd.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='InstallingDTailonOpenBSD'>Installing DTail on OpenBSD</h1><br />
+<h1 style='display: inline' id='installing-dtail-on-openbsd'>Installing DTail on OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2022-10-30T11:03:19+02:00</span><br />
<br />
@@ -61,7 +61,7 @@
<br />
<span>I will also mention some relevant <span class='inlinecode'>Rexfile</span> snippets in this post!</span><br />
<br />
-<h2 style='display: inline' id='Compileit'>Compile it</h2><br />
+<h2 style='display: inline' id='compile-it'>Compile it</h2><br />
<br />
<span>First of all, DTail needs to be downloaded and compiled. For that, <span class='inlinecode'>git</span>, <span class='inlinecode'>go</span>, and <span class='inlinecode'>gmake</span> are required:</span><br />
<br />
@@ -96,7 +96,7 @@ $ doas pkg_delete git go gmake
<br />
<span>One day I shall create an official OpenBSD port for DTail.</span><br />
<br />
-<h2 style='display: inline' id='Installit'>Install it</h2><br />
+<h2 style='display: inline' id='install-it'>Install it</h2><br />
<br />
<span>Installing the binaries is now just a matter of copying them to <span class='inlinecode'>/usr/local/bin</span> as follows:</span><br />
<br />
@@ -138,7 +138,7 @@ END
$ doas chmod 755 /etc/rc.d/dserver
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>This is the task for setting it up via Rex. Note the <span class='inlinecode'>. . . .</span>, that&#39;s a placeholder which we will fill up more and more during this blog post:</span><br />
<br />
@@ -165,7 +165,7 @@ task &#39;dtail&#39;, group =&gt; &#39;frontends&#39;,
};
</pre>
<br />
-<h2 style='display: inline' id='Configureit'>Configure it</h2><br />
+<h2 style='display: inline' id='configure-it'>Configure it</h2><br />
<br />
<span>Now, DTail is fully installed but still needs to be configured. Grab the default config file from GitHub ...</span><br />
<br />
@@ -188,7 +188,7 @@ $ curl https://raw.githubusercontent.com/mimecast/dtail/master/examples/dtail.js
}
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>That&#39;s as simple as adding the following to the Rex task:</span><br />
<br />
@@ -204,7 +204,7 @@ file &#39;/etc/dserver/dtail.json&#39;,
on_change =&gt; sub { $restart = TRUE };
</pre>
<br />
-<h2 style='display: inline' id='Updatethekeycacheforit'>Update the key cache for it</h2><br />
+<h2 style='display: inline' id='update-the-key-cache-for-it'>Update the key cache for it</h2><br />
<br />
<span>DTail relies on SSH for secure authentication and communication. However, the system user <span class='inlinecode'>_dserver</span> has no permission to read the SSH public keys from the user&#39;s home directories, so the DTail server also checks for available public keys in an alternative path <span class='inlinecode'>/var/run/dserver/cache</span>. </span><br />
<br />
@@ -257,7 +257,7 @@ $ echo /usr/local/bin/dserver-update-key-cache.sh | doas tee -a /etc/daily.local
/usr/local/bin/dserver-update-key-cache.sh
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>That&#39;s done by adding ...</span><br />
<br />
@@ -273,7 +273,7 @@ append_if_no_such_line &#39;/etc/daily.local&#39;, &#39;/usr/local/bin/dserver-u
<br />
<span>... to the Rex task!</span><br />
<br />
-<h2 style='display: inline' id='Startit'>Start it</h2><br />
+<h2 style='display: inline' id='start-it'>Start it</h2><br />
<br />
<span>Now, it&#39;s time to enable and start the DTail server:</span><br />
<br />
@@ -313,7 +313,7 @@ Caching /home/rex/.ssh/authorized_keys -&gt; /var/cache/dserver/rex.authorized_k
All set...
</pre>
<br />
-<h2 style='display: inline' id='Useit'>Use it</h2><br />
+<h2 style='display: inline' id='use-it'>Use it</h2><br />
<br />
<span>The DTail server is now ready to serve connections. You can use any DTail commands, such as <span class='inlinecode'>dtail</span>, <span class='inlinecode'>dgrep</span>, <span class='inlinecode'>dmap</span>, <span class='inlinecode'>dcat</span>, <span class='inlinecode'>dtailhealth</span>, to do so. Checkout out all the usage examples on the official DTail page.</span><br />
<br />
@@ -339,7 +339,7 @@ REMOTE|blowfish|100|7|fstab|31bfd9d9a6788844.h /usr/local ffs rw,wxallowed,nodev
REMOTE|fishfinger|100|7|fstab|093f510ec5c0f512.h /usr/local ffs rw,wxallowed,nodev 1 2
</pre>
<br />
-<h2 style='display: inline' id='Conclusions'>Conclusions</h2><br />
+<h2 style='display: inline' id='conclusions'>Conclusions</h2><br />
<br />
<span>It&#39;s a bit of manual work, but it&#39;s ok on this small scale! I shall invest time in creating an official OpenBSD port, though. That would render most of the manual steps obsolete, as outlined in this post!</span><br />
<br />
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
index 05bde577..595e0589 100644
--- 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
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ItriedDoomEmacsbutIswitchedbacktoNeoVim'>I tried (Doom) Emacs, but I switched back to (Neo)Vim</h1><br />
+<h1 style='display: inline' id='i-tried-doom-emacs-but-i-switched-back-to-neovim'>I tried (Doom) Emacs, but I switched back to (Neo)Vim</h1><br />
<br />
<span class='quote'>Published at 2022-11-24T11:17:15+02:00; Updated at 2022-11-26</span><br />
<br />
@@ -37,13 +37,13 @@ Art by \ \_! / __!
<br />
<span>So why did I switch back to the Vi-family?</span><br />
<br />
-<h2 style='display: inline' id='Emacsisagiantdragon'>Emacs is a giant dragon</h2><br />
+<h2 style='display: inline' id='emacs-is-a-giant-dragon'>Emacs is a giant dragon</h2><br />
<br />
<span>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&#39;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 <span class='inlinecode'>init 1</span> process (if you don&#39;t know what the <span class='inlinecode'>init 1</span> process is: Under UNIX and similar operating systems, it&#39;s the very first userland processed launched. That&#39;s usually <span class='inlinecode'>systemd</span> on Linux-based systems, <span class='inlinecode'>launchd</span> on macOS, or any other init script or init system used by the OS)!</span><br />
<br />
<span>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&#39;s too much other stuff in Emacs that I don&#39;t need to care about! Vim and NeoVim do one thing excellent: Being great text editors and, when loaded with plugins, decent IDEs, too. </span><br />
<br />
-<h2 style='display: inline' id='Magitlove'>Magit love</h2><br />
+<h2 style='display: inline' id='magit-love'>Magit love</h2><br />
<br />
<span>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 <span class='inlinecode'>git</span> command line directly. I don&#39;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 <span class='inlinecode'>bit</span> and <span class='inlinecode'>tig</span>. Also, get a mechanical keyboard that makes hammering whole commands into the terminal even more enjoyable.</span><br />
<br />
@@ -52,13 +52,13 @@ Art by \ \_! / __!
<br />
<span>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 <span class='inlinecode'>git</span> 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 <span class='inlinecode'>git</span> command directly.</span><br />
<br />
-<h2 style='display: inline' id='GraphicalUI'>Graphical UI</h2><br />
+<h2 style='display: inline' id='graphical-ui'>Graphical UI</h2><br />
<br />
<span>If there is one thing I envy about Emacs is that it&#39;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&#39;s also GVim (Vim with GTK UI), but that&#39;s more of an afterthought.</span><br />
<br />
<span>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&#39;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&#39;t possible to have, for example, a different font for headings, paragraphs, etc... you get the idea. TTF+UTF8 can&#39;t beat authentic graphics. </span><br />
<br />
-<h2 style='display: inline' id='Scriptingit'>Scripting it</h2><br />
+<h2 style='display: inline' id='scripting-it'>Scripting it</h2><br />
<br />
<span>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&#39;s VimScript course on O&#39;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&#39;t gotten to it yet - but I assume that VimScript will always stay VimScript).</span><br />
<br />
@@ -87,7 +87,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>That&#39;s only a very few lines and does precisely what I want. It&#39;s quick and dirty but get&#39;s the job done! If VimScript becomes too cumbersome, I can use Lua for NeoVim scripting.</span><br />
<br />
-<h2 style='display: inline' id='ThefamousEmacsOrgmode'>The famous Emacs Org mode</h2><br />
+<h2 style='display: inline' id='the-famous-emacs-org-mode'>The famous Emacs Org mode</h2><br />
<br />
<span>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&#39;s even a dedicated website for it:</span><br />
<br />
@@ -107,13 +107,13 @@ http://www.gnu.org/software/src-highlite -->
<a class='textlink' href='https://zsh.sourceforge.io/'>Z shell</a><br />
<a class='textlink' href='https://github.com/tmux/tmux'>tmux terminal multiplexer</a><br />
<br />
-<h2 style='display: inline' id='Seekingsimplicity'>Seeking simplicity</h2><br />
+<h2 style='display: inline' id='seeking-simplicity'>Seeking simplicity</h2><br />
<br />
<span>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&#39;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.</span><br />
<br />
<span>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.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>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.</span><br />
<br />
diff --git a/gemfeed/2022-12-24-ultrarelearning-java-my-takeaways.html b/gemfeed/2022-12-24-ultrarelearning-java-my-takeaways.html
index 498bdb5c..30a24079 100644
--- a/gemfeed/2022-12-24-ultrarelearning-java-my-takeaways.html
+++ b/gemfeed/2022-12-24-ultrarelearning-java-my-takeaways.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='RelearningJavaMytakeaways'>(Re)learning Java - My takeaways</h1><br />
+<h1 style='display: inline' id='relearning-java---my-takeaways'>(Re)learning Java - My takeaways</h1><br />
<br />
<span class='quote'>Published at 2022-12-24T23:18:40+02:00</span><br />
<br />
@@ -26,13 +26,13 @@
<br />
<span>At my workplace, as an SRE, I don&#39;t do Java a lot. I have been reading Java code to understand the software better so I can apply and suggest workarounds or fixes to existing issues and bugs. However, most of our stack is in Java, and our Software Engineers use Java as their primary programming language.</span><br />
<br />
-<h2 style='display: inline' id='StuckatJava14'>Stuck at Java 1.4</h2><br />
+<h2 style='display: inline' id='stuck-at-java-14'>Stuck at Java 1.4</h2><br />
<br />
<span>Over time, I had been missing out on many new features that were added to the language since Java 1.4, so I decided to implement my next Pet Project in Java and learn every further aspect of the language as my main goal. Of course, I still liked the idea of winning a Pet Project Prize, but my main objective was to level up my Java skills.</span><br />
<br />
-<h2 style='display: inline' id='RelearningupskillingtoJava18'>(Re)learning &amp; upskilling to Java 18</h2><br />
+<h2 style='display: inline' id='relearning--upskilling-to-java-18'>(Re)learning &amp; upskilling to Java 18</h2><br />
<br />
-<h3 style='display: inline' id='EffectiveJava'>Effective Java</h3><br />
+<h3 style='display: inline' id='effective-java'>Effective Java</h3><br />
<br />
<span>This book was recommended by my brother and also by at least another colleague at work to be one of the best, if not the best, book about Java programming. I read the whole book from the beginning to the end and immersed myself in it. I fully agree; this is a great book. Every Java developer or Java software engineer should read it!</span><br />
<br />
@@ -42,30 +42,30 @@
<br />
<a class='textlink' href='https://dev.to/kylec32/series/2292'>Kyle Carter&#39;s 90-part Effective Java Series </a><br />
<br />
-<h3 style='display: inline' id='JavaPubHouse'>Java Pub House</h3><br />
+<h3 style='display: inline' id='java-pub-house'>Java Pub House</h3><br />
<br />
<span>During my lunch breaks, I usually have a walk around the block or in a nearby park. I used that time to listen to the Java Pub House podcast. I listened to *every* episode and learned tons of new stuff. I can highly recommend this podcast. Especially GraalVM, a high-performance JDK distribution written for Java and other JVM languages, captured my attention. GraalVM can compile Java code into native binaries, improving performance and easing the distribution of Java programs. Because of the latter, I should release a VS-Sim GraalVM edition one day through a Linux AppImage ;-).</span><br />
<br />
<a class='textlink' href='https://www.javapubhouse.com'>https://www.javapubhouse.com</a><br />
<a class='textlink' href='https://www.graalvm.org'>https://www.graalvm.org</a><br />
<br />
-<h3 style='display: inline' id='JavaConcurrencycourse'>Java Concurrency course</h3><br />
+<h3 style='display: inline' id='java-concurrency-course'>Java Concurrency course</h3><br />
<br />
<span>I also watched a course on O&#39;Reilly Safari Books online about Java Concurrency. That gave an excellent refresher on how the Java thread pools work and what were the concurrency primitives available in the standard library.</span><br />
<br />
-<h3 style='display: inline' id='ReadalotofJavacode'>Read a lot of Java code</h3><br />
+<h3 style='display: inline' id='read-a-lot-of-java-code'>Read a lot of Java code</h3><br />
<br />
<span>First, the source code is often the best documentation (if programmed nicely), and second, it helps to get the hang of the language and standard practices. I started to read more and more Java code at work. I did that whenever I had to understand how something, in particular, worked (e.g. while troubleshooting and debugging an issue). </span><br />
<br />
-<h3 style='display: inline' id='ObservedJavacodereviews'>Observed Java code reviews</h3><br />
+<h3 style='display: inline' id='observed-java-code-reviews'>Observed Java code reviews</h3><br />
<br />
<span>Another great way to get the hang of Java again was to sneak into the code reviews of the Software Engineer colleagues. They are the expert on the matter and are a great source to copy knowledge. It&#39;s OK to stay passive and only follow the reviews. Sometimes, it&#39;s OK to step up and take ownership of the review. The developers will also always be happy to answer any naive questions which come up.</span><br />
<br />
-<h3 style='display: inline' id='TookownershipofaroadmapJavaproject'>Took ownership of a roadmap-Java project</h3><br />
+<h3 style='display: inline' id='took-ownership-of-a-roadmap-java-project'>Took ownership of a roadmap-Java project</h3><br />
<br />
<span>Besides my Pet Project, I also took ownership of a regular roadmap Java project at work, making an internal Java service capable of running in Kubernetes. This was a bunch of minor changes and adding a bunch of classes and unit tests dealing with the statelessness and a persistent job queue in Redis. The job also involved reading and understanding a lot of already existing Java code. It wasn&#39;t part of my job description, but it was fun, and I learned a lot. The service runs smoothly in production now. Of course, all of my code got reviewed by my Software Engineering colleagues.</span><br />
<br />
-<h2 style='display: inline' id='Thegood'>The good</h2><br />
+<h2 style='display: inline' id='the-good'>The good</h2><br />
<br />
<span>From the new language features and syntaxes, there are many personal takeaways, and I can&#39;t possibly list them all, but here are some of my personal highlights:</span><br />
<br />
@@ -86,7 +86,7 @@
<li>Lambdas are much cleaner, shorter and easier to read than anonymous classes. Many Java libraries require passing instances of (anonymous) classes (e.g. in Swing) to other objects. Lambdas are so lovely because they are primarily compatible with the passing of anonymous classes, so they are a 1:1 replacement in many instances. Lambdas also play very nicely together with the Java functional interfaces, as each Lambda got a type, and the type can be an already existing functional interface (or, if you got a particular case, you could define your custom functional interface for your own set of Lambdas, of course).</li>
<li>I love the concept of Java records. You can think of a record as an immutable object holding some data (as members). They are ideal for pipe and stream processing. They are much easier to define (with much less boilerplate) and come with write protection out of the box.</li>
</ul><br />
-<h2 style='display: inline' id='Thebadandtheugly'>The bad and the ugly</h2><br />
+<h2 style='display: inline' id='the-bad-and-the-ugly'>The bad and the ugly</h2><br />
<br />
<span>There are also many ugly corners in Java. Many are doomed to stay there forever due to historical decisions and ensuring backward compatibility with older versions of the Java language and the Java standard library. </span><br />
<br />
@@ -100,7 +100,7 @@
<li>Being a bit spoiled by Golang&#39;s Goroutines, I was shocked about the limitations of the Java threads. They are resource hungry, and you can&#39;t just spin up millions of them as you would with Goroutines. I knew this limitation of threads already (as it&#39;s not a problem of the language but of how threads work in the OS), but still, I was pretty shocked when I got reminded of them again. Of course, there&#39;s a workaround: Use asynchronous sockets so that you don&#39;t waste a whole thread on a single I/O operation (in my case, waiting for a network response). Golang&#39;s runtime does that automatically for you: An OS thread will be re-used for other tasks until the network socket unblocks. Every modern programming language should support lightweight threads or Coroutines like Go&#39;s Goroutines. </li>
</ul><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>While (re)learning Java, I felt like a student again and was quite enthusiastic about it initially. I invested around half a year, immersing myself intensively in Java (again). The last time I did that was many years ago as a university student. I even won a Silver Prize at work, implementing a project this year (2022 as of writing this). I feel confident now with understanding, debugging and patching Java code at work, which boosted my debugging and troubleshooting skills. </span><br />
<br />
diff --git a/gemfeed/2023-01-23-why-grapheneos-rox.html b/gemfeed/2023-01-23-why-grapheneos-rox.html
index 367cb01c..a0b0522e 100644
--- a/gemfeed/2023-01-23-why-grapheneos-rox.html
+++ b/gemfeed/2023-01-23-why-grapheneos-rox.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='WhyGrapheneOSrox'>Why GrapheneOS rox</h1><br />
+<h1 style='display: inline' id='why-grapheneos-rox'>Why GrapheneOS rox</h1><br />
<br />
<span class='quote'>Published at 2023-01-23T15:31:52+02:00</span><br />
<br />
@@ -48,7 +48,7 @@ Art by Joan Stark
<a class='textlink' href='https://GrapheneOS.org'>https://GrapheneOS.org</a><br />
<a class='textlink' href='https://LineageOS.org'>https://LineageOS.org</a><br />
<br />
-<h2 style='display: inline' id='UserProfiles'>User Profiles</h2><br />
+<h2 style='display: inline' id='user-profiles'>User Profiles</h2><br />
<br />
<span>GrapheneOS allows configuring up to 32 user profiles (including a guest profile) on a single phone. A profile is a completely different environment within the phone, and it is possible to switch between them instantly. Sessions of a profile can continue running in the background or be fully terminated. Each profile can have completely different settings and different applications installed.</span><br />
<br />
@@ -58,7 +58,7 @@ Art by Joan Stark
<br />
<span>You notice how much longer (multiple days) your phone can be on a single charge when Google Play Services isn&#39;t running in the background. This tells a lot about the background activities and indicates that using Google Play shouldn&#39;t be the norm.</span><br />
<br />
-<h2 style='display: inline' id='ProxyingsomeoftheGoogleofferings'>Proxying some of the Google offerings </h2><br />
+<h2 style='display: inline' id='proxying-some-of-the-google-offerings-'>Proxying some of the Google offerings </h2><br />
<br />
<span>There&#39;s also the case that I am using an app from the Google Play store (as the app isn&#39;t available from F-Droid), which doesn&#39;t require Google Play Services to run in the background. Here&#39;s where I use the Aurora Android store. The Aurora store can be installed through F-Droid. Aurora acts as an anonymous proxy from your phone to the Google Play Store and lets you install apps from there. No Google credentials are required for that!</span><br />
<br />
@@ -66,7 +66,7 @@ Art by Joan Stark
<br />
<span>There&#39;s a similar solution for watching videos on YouTube. You can use the NewPipe app (also from F-Droid), which acts as an anonymous proxy for watching videos from YouTube. So there isn&#39;t any need to install the official YouTube app, and there isn&#39;t any need to login to your Google account. What&#39;s so bad about the official app? You don&#39;t know which data it is sending about you to Google, so it is a privacy concern. </span><br />
<br />
-<h2 style='display: inline' id='GooglePlaySandboxing'>Google Play Sandboxing </h2><br />
+<h2 style='display: inline' id='google-play-sandboxing-'>Google Play Sandboxing </h2><br />
<br />
<span>Before switching to GrapheneOS, I had been using LineageOS on one of my phones for a couple of years. Still, I always had to have a secondary personal phone with all of these proprietary apps which (partially) only work with Google Play on the phone (e.g. Banking, Navigation, various travel apps from various Airlines, etc.) somewhere around as I didn&#39;t install Google Play on my LineageOS phone due to privacy concerns and only installed apps from the F-Droid store on it. When travelling, I always had to carry around a second phone with Google Play on it, as without it; life would become inconvenient pretty soon. </span><br />
<br />
@@ -84,7 +84,7 @@ Art by Joan Stark
<br />
<span>It is great to have the flexibility to use any proprietary Android app when needed. That only applies to around 1% of my phone usage time, but you often don&#39;t always know when you need "that one app now". So it&#39;s perfect that it&#39;s covered with the phone you always have with you. </span><br />
<br />
-<h2 style='display: inline' id='Thecameraandthecloud'>The camera and the cloud </h2><br />
+<h2 style='display: inline' id='the-camera-and-the-cloud-'>The camera and the cloud </h2><br />
<br />
<span>I really want my phone to shoot good looking pictures, so that I can later upload them to the Irregular Ninja:</span><br />
<br />
@@ -104,7 +104,7 @@ Art by Joan Stark
<br />
<span>I also use NextCloud to synchronize my notes (NextCloud Notes), my RSS news feeds (NextCloud News) and contacts (DAVx5). All apps required are available in the F-Droid store.</span><br />
<br />
-<h2 style='display: inline' id='Finegranularpermissions'>Fine granular permissions</h2><br />
+<h2 style='display: inline' id='fine-granular-permissions'>Fine granular permissions</h2><br />
<br />
<span>Another great thing about GrapheneOS is that, besides putting your apps into different profiles, you can also restrict network access and configure storage scopes per app individually.</span><br />
<br />
@@ -112,7 +112,7 @@ Art by Joan Stark
<br />
<span>The app also wants to store and read some data from your phone (e.g. it could be a proprietary app for enhancing photos, and therefore storage access to a photo folder would be required). In GrapheneOS, you can configure a storage scope for that particular app, e.g. only read and write from one folder but still forbid access to all other folders on your phone.</span><br />
<br />
-<h2 style='display: inline' id='Termux'>Termux</h2><br />
+<h2 style='display: inline' id='termux'>Termux</h2><br />
<br />
<span>Termux can be installed on any Android phone through F-Droid, so it doesn&#39;t need to be a GrapheneOS phone. But I have to mention Termux here as it significantly adds value to my phone experience. </span><br />
<br />
@@ -124,7 +124,7 @@ Art by Joan Stark
<br />
<span>There are Pixel phones with a screen size of 6", and that&#39;s decent enough for occasional use like that, and everything (the phone, the BT keyboard, maybe an external battery pack) all fit nicely in a small travel pocket.</span><br />
<br />
-<h2 style='display: inline' id='SowhynotuseapureLinuxphone'>So, why not use a pure Linux phone?</h2><br />
+<h2 style='display: inline' id='so-why-not-use-a-pure-linux-phone'>So, why not use a pure Linux phone?</h2><br />
<br />
<span>Strictly speaking, an Android phone is a Linux phone, but it&#39;s heavily modified and customized. For me, a "pure" Linux phone is a more streamlined Linux kernel running in a distribution like Ubuntu Touch or Mobian. </span><br />
<br />
@@ -139,7 +139,7 @@ Art by Joan Stark
<br />
<a class='textlink' href='https://sailfishos.org'>SailfishOS</a><br />
<br />
-<h2 style='display: inline' id='SmallGrapheneOSdownsides'>Small GrapheneOS downsides </h2><br />
+<h2 style='display: inline' id='small-grapheneos-downsides-'>Small GrapheneOS downsides </h2><br />
<br />
<span>Sometimes, switching a profile to use a different app is annoying, and you can&#39;t copy and paste from the system clipboard from one profile to another. But that&#39;s a small price I am willing to pay!</span><br />
<br />
diff --git a/gemfeed/2023-02-26-how-to-shut-down-after-work.html b/gemfeed/2023-02-26-how-to-shut-down-after-work.html
index a56770ae..a7c9ef35 100644
--- a/gemfeed/2023-02-26-how-to-shut-down-after-work.html
+++ b/gemfeed/2023-02-26-how-to-shut-down-after-work.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Howtoshutdownafterwork'>How to shut down after work</h1><br />
+<h1 style='display: inline' id='how-to-shut-down-after-work'>How to shut down after work</h1><br />
<br />
<span class='quote'>Published at 2023-02-26T23:48:01+02:00</span><br />
<br />
@@ -29,13 +29,13 @@
<br />
<span>Do you need help fully discharging from work in the evenings or for the weekend? Shutting down from work won&#39;t just improve your work-life balance; it will also significantly improve the quality of your personal life and work. After a restful weekend, you will be much more energized and productive the next working day. So it should not just be in your own, but also your employers&#39; interest that you fully relax and shut down after work. </span><br />
<br />
-<h2 style='display: inline' id='Haveashutdownroutine'>Have a shutdown routine</h2><br />
+<h2 style='display: inline' id='have-a-shutdown-routine'>Have a shutdown routine</h2><br />
<br />
<span>Have a routine. Try to finish work around the same time every day. Write any outstanding tasks down for the next day, so you are sure you will remember them. Writing them down brings wonders as you can remove them from your mind for the remainder of the day (or the upcoming weekend) as you know you will surely pick them up the next working day. Tidying up your workplace could also count toward your daily shutdown routine. </span><br />
<br />
<span>A commute home from the office also greatly helps, as it disconnects your work from your personal life. Don&#39;t work on your commute home, though! If you don&#39;t commute but work from home, then it helps to walk around the block or in a nearby park to disconnect from work. </span><br />
<br />
-<h2 style='display: inline' id='Dontworkwhenyouofficiallydontwork'>Don&#39;t work when you officially don&#39;t work</h2><br />
+<h2 style='display: inline' id='dont-work-when-you-officially-dont-work'>Don&#39;t work when you officially don&#39;t work</h2><br />
<br />
<span>Unless you are self-employed, you have likely signed an N-hour per week contract with your employer, and your regular working times are from X o&#39;clock in the morning to Y o&#39;clock in the evening (with M minutes lunch break in the middle). And there might be some flexibility in your working times, too. But that kind of flexibility (e.g. extending the lunch break so that there is time to pick up a family member from the airport) will be agreed upon, and you will counteract it, for example, by starting working earlier the next day or working late, that one exception. But overall, your weekly working time will stay N hours. </span><br />
<br />
@@ -49,7 +49,7 @@
<br />
<span>Checking for your messages constantly outside of regular office times makes it impossible to shut down and relax from work altogether. </span><br />
<br />
-<h2 style='display: inline' id='Distractyourmind'>Distract your mind</h2><br />
+<h2 style='display: inline' id='distract-your-mind'>Distract your mind</h2><br />
<br />
<span>Often, your mind goes back to work-related stuff even after work. That&#39;s normal as you concentrated highly on your work throughout the day. The brain unconsciously continues to work and will automatically present you with random work-related thoughts. You can counteract this by focusing on non-work stuff, which may include:</span><br />
<br />
@@ -62,23 +62,23 @@
</ul><br />
<span>Some of these can be habit-stacked: Exercise could be combined with watching videos about your passion project (e.g. watching lectures about that new programming language you are currently learning for fun). With walking, for example, you could combine listening to an Audiobook or music, or you could also think about your passion project during that walk. </span><br />
<br />
-<h2 style='display: inline' id='Getapet'>Get a pet</h2><br />
+<h2 style='display: inline' id='get-a-pet'>Get a pet</h2><br />
<br />
<span>Even if you have children, it helps wonders to get a pet. My cat, for example, will remind me a few times daily to take a few minute&#39;s breaks to pet, play or give food. So my cat not only helps me after work but throughout the day.</span><br />
<br />
<span>My neighbour also works from home, and he has dogs, which he regularly has to take out to the park.</span><br />
<br />
-<h2 style='display: inline' id='Journalyourday'>Journal your day</h2><br />
+<h2 style='display: inline' id='journal-your-day'>Journal your day</h2><br />
<br />
<span>If you are upset about something, making it impossible to shut down from work, write down everything (e.g., with a pen in a paper journal). Writing things down helps you to "get rid" of the negative. Especially after conflicts with colleagues or company decisions, you don&#39;t agree on. This kind of self-therapy is excellent. Brainstorm all your emotions and (even if opinionated) opinions so you have everything on paper. Once done, you don&#39;t think about it so much anymore, as you know you can access that information if required. But stopping ruminating about it will be much easier now. You will likely never access that information again, though. But at least writing the thoughts down saved your day. </span><br />
<br />
<span>Write down three things which went well for the day. This helps you to appreciate the day. </span><br />
<br />
-<h2 style='display: inline' id='Dontstressaboutwhatyouremployerexpectsfromyou'>Don&#39;t stress about what your employer expects from you</h2><br />
+<h2 style='display: inline' id='dont-stress-about-what-your-employer-expects-from-you'>Don&#39;t stress about what your employer expects from you</h2><br />
<br />
<span>Think about what&#39;s fun and motivates you. Maybe the next promotion to Principal or a Manager role isn&#39;t for you. Many fall into the trap of stressing themselves out to satisfy the employer so that the next upgrade will happen and think about it constantly, even after work. But it is more important that you enjoy your craftsmanship. Work on what you expect from yourself. Ideally, your goals should be aligned with your employer. I am not saying you should abandon everything what your manager is asking you to do, but it is, after all, your life. And you have to decide where and on what you want to work. But don&#39;t sell yourself short. Keep track of your accomplishments.</span><br />
<br />
-<h2 style='display: inline' id='Callitaday'>Call it a day</h2><br />
+<h2 style='display: inline' id='call-it-a-day'>Call it a day</h2><br />
<br />
<span>Every day you gave your best was good; the day&#39;s outcome doesn&#39;t matter. What matters is that you know you gave your best and are closer to your goals than the previous day. This gives you a sense of progress and accomplishment.</span><br />
<br />
diff --git a/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.html b/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.html
index 35bac871..6f29eb39 100644
--- a/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.html
+++ b/gemfeed/2023-03-16-the-pragmatic-programmer-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ThePragmaticProgrammerbooknotes'>"The Pragmatic Programmer" book notes</h1><br />
+<h1 style='display: inline' id='the-pragmatic-programmer-book-notes'>"The Pragmatic Programmer" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-03-16T00:55:20+02:00</span><br />
<br />
@@ -59,7 +59,7 @@
<br />
<span>Do what works and not what&#39;s fashionable. E.g. does SCRUM make sense? The goal is to deliver deliverables and not to "become" agile.</span><br />
<br />
-<h2 style='display: inline' id='Continuouslearning'>Continuous learning</h2><br />
+<h2 style='display: inline' id='continuous-learning'>Continuous learning</h2><br />
<br />
<span>Add new tools to your repertoire every day and keep the momentum up. Learning new things is your most crucial aspect. Invest regularly in your knowledge portfolio. The learning process extends your thinking. It does not matter if you will never use it.</span><br />
<br />
@@ -70,7 +70,7 @@
</ul><br />
<span>Think critically about everything you learn. Use paper for your notes. There is something special about it.</span><br />
<br />
-<h2 style='display: inline' id='Stayconnected'>Stay connected</h2><br />
+<h2 style='display: inline' id='stay-connected'>Stay connected</h2><br />
<br />
<span>It&#39;s your life, and you own it. Bruce Lee once said: </span><br />
<br />
@@ -83,7 +83,7 @@
</ul><br />
<span>It&#39;s your life. Share it, celebrate it, be proud and have fun.</span><br />
<br />
-<h2 style='display: inline' id='Thestoryofstonesoup'>The story of stone soup</h2><br />
+<h2 style='display: inline' id='the-story-of-stone-soup'>The story of stone soup</h2><br />
<br />
<span>How to motivate others to contribute something (e.g. ideas to a startup):</span><br />
<br />
diff --git a/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html b/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html
index 4b8a9c74..61ee1838 100644
--- a/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html
+++ b/gemfeed/2023-03-25-gemtexter-2.0.0-lets-gemtext-again-2.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Gemtexter200LetsGemtextagain'>Gemtexter 2.0.0 - Let&#39;s Gemtext again²</h1><br />
+<h1 style='display: inline' id='gemtexter-200---lets-gemtext-again'>Gemtexter 2.0.0 - Let&#39;s Gemtext again²</h1><br />
<br />
<span class='quote'>Published at 2023-03-25T17:50:32+02:00</span><br />
<br />
@@ -33,7 +33,7 @@
<br />
<span>Let&#39;s list what&#39;s new!</span><br />
<br />
-<h2 style='display: inline' id='Minimaltemplateengine'>Minimal template engine</h2><br />
+<h2 style='display: inline' id='minimal-template-engine'>Minimal template engine</h2><br />
<br />
<span>Gemtexter now supports templating, enabling dynamically generated content to <span class='inlinecode'>.gmi</span> files before converting anything to any output format like HTML and Markdown.</span><br />
<br />
@@ -99,7 +99,7 @@ See more entries about DTail and Golang:
Blablabla...
</pre>
<br />
-<h2 style='display: inline' id='Addedhooks'>Added hooks</h2><br />
+<h2 style='display: inline' id='added-hooks'>Added hooks</h2><br />
<br />
<span>You can configure <span class='inlinecode'>PRE_GENERATE_HOOK</span> and <span class='inlinecode'>POST_PUBLISH_HOOK</span> to point to scripts to be executed before running <span class='inlinecode'>--generate</span>, or after running <span class='inlinecode'>--publish</span>. E.g. you could populate some of the content by an external script before letting Gemtexter do its thing or you could automatically deploy the site after running <span class='inlinecode'>--publish</span>.</span><br />
<br />
@@ -113,11 +113,11 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">declare</font></b><font color="#ff0000"> -xr </font><font color="#ff0000">POST_PUBLISH_HOOK</font><font color="#F3E651">=.</font><font color="#ff0000">/post_publish_hook</font><font color="#F3E651">.</font><font color="#ff0000">sh</font>
</pre>
<br />
-<h2 style='display: inline' id='UseofsaferBashoptions'>Use of safer Bash options</h2><br />
+<h2 style='display: inline' id='use-of-safer-bash-options'>Use of safer Bash options</h2><br />
<br />
<span>Gemtexter now does <span class='inlinecode'>set -euf -o pipefile</span>, which helps to eliminate bugs and to catch scripting errors sooner. Previous versions only <span class='inlinecode'>set -e</span>.</span><br />
<br />
-<h2 style='display: inline' id='Metacachemadeobsolete'>Meta cache made obsolete</h2><br />
+<h2 style='display: inline' id='meta-cache-made-obsolete'>Meta cache made obsolete</h2><br />
<br />
<span>Here is the breaking change to older versions of Gemtexter. The <span class='inlinecode'>$BASE_CONTENT_DIR/meta</span> directory was made obsolete. <span class='inlinecode'>meta</span> was used to store various information about all the blog post entries to make generating an Atom feed in Bash easier. Especially the publishing dates of each post were stored there. Instead, the publishing date is now encoded in the <span class='inlinecode'>.gmi</span> file. And if it is missing, Gemtexter will set it to the current date and time at first run.</span><br />
<br />
@@ -147,11 +147,11 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">The remaining content of the Gemtext file</font><font color="#F3E651">...</font>
</pre>
<br />
-<h2 style='display: inline' id='XMLLintsupport'>XMLLint support</h2><br />
+<h2 style='display: inline' id='xmllint-support'>XMLLint support</h2><br />
<br />
<span>Optionally, when the <span class='inlinecode'>xmllint</span> binary is installed, Gemtexter will perform a simple XML lint check against the Atom feed generated. This is a double-check of whether the Atom feed is a valid XML.</span><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
diff --git a/gemfeed/2023-04-01-never-split-the-difference-book-notes.html b/gemfeed/2023-04-01-never-split-the-difference-book-notes.html
index 8325d18f..f96c498b 100644
--- a/gemfeed/2023-04-01-never-split-the-difference-book-notes.html
+++ b/gemfeed/2023-04-01-never-split-the-difference-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Neversplitthedifferencebooknotes'>"Never split the difference" book notes</h1><br />
+<h1 style='display: inline' id='never-split-the-difference-book-notes'>"Never split the difference" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-04-01T20:00:17+03:00</span><br />
<br />
@@ -26,7 +26,7 @@
&#39;&#39;&#39;
</pre>
<br />
-<h2 style='display: inline' id='Tacticallisteningspreadingempathy'>Tactical listening, spreading empathy</h2><br />
+<h2 style='display: inline' id='tactical-listening-spreading-empathy'>Tactical listening, spreading empathy</h2><br />
<br />
<span>Be a mirror, copy each other to be comfy with each other to build up trust. Mirroring is mainly body language. A mirror is to repeat the words the other just said. Simple but effective.</span><br />
<br />
@@ -37,7 +37,7 @@
</ul><br />
<span>Mirror training is like Jedi training. Simple but effective. A mirror needs space. Be silent after "you want this?" </span><br />
<br />
-<h2 style='display: inline' id='Mindsetofdiscovery'>Mindset of discovery</h2><br />
+<h2 style='display: inline' id='mindset-of-discovery'>Mindset of discovery</h2><br />
<br />
<span>Try to have multiple realities in your mind and use facts to distinguish between real and false.</span><br />
<br />
@@ -49,7 +49,7 @@
</ul><br />
<span>Try: to put a label on someone&#39;s emotion and then be silent. Wait for the other to reveal himself. "You seem unhappy about this?"</span><br />
<br />
-<h3 style='display: inline' id='Moretips'>More tips </h3><br />
+<h3 style='display: inline' id='more-tips-'>More tips </h3><br />
<br />
<ul>
<li>Put on a poker face and don&#39;t show emotions.</li>
@@ -58,7 +58,7 @@
<li>Being right is not the key to successful negotiation; being mindful is.</li>
<li>Be in the safe zone of empathy and acknowledge bad news.</li>
</ul><br />
-<h2 style='display: inline' id='Nostartstheconversation'>"No" starts the conversation</h2><br />
+<h2 style='display: inline' id='no-starts-the-conversation'>"No" starts the conversation</h2><br />
<br />
<span>When the opponent starts with a "no", he feels in control and comfortable. That&#39;s why he has to start with "no".</span><br />
<br />
@@ -71,11 +71,11 @@
</ul><br />
<span>Get a "That&#39;s right" when negotiating. Don&#39;t get a "you&#39;re right". You can summarise the opponent to get a "that&#39;s right".</span><br />
<br />
-<h2 style='display: inline' id='Winwin'>Win-win</h2><br />
+<h2 style='display: inline' id='win-win'>Win-win</h2><br />
<br />
<span>Win-win is a naive approach when encountering the win-lose counterpart, but always cooperate. Don&#39;t compromise, and don&#39;t split the difference. We don&#39;t compromise because it&#39;s right; we do it because it is easy. You must embrace the hard stuff; that&#39;s where the great deals are.</span><br />
<br />
-<h2 style='display: inline' id='OnDeadlines'>On Deadlines</h2><br />
+<h2 style='display: inline' id='on-deadlines'>On Deadlines</h2><br />
<br />
<ul>
<li>All deadlines are imaginary.</li>
@@ -83,7 +83,7 @@
<li>They push a deal to a conclusion.</li>
<li>They rush the counterpart to cause pressure and anxiety.</li>
</ul><br />
-<h2 style='display: inline' id='Analysetheopponent'>Analyse the opponent</h2><br />
+<h2 style='display: inline' id='analyse-the-opponent'>Analyse the opponent</h2><br />
<br />
<ul>
<li>Understand the motivation of people behind the table as well.</li>
@@ -93,7 +93,7 @@
</ul><br />
<span>The person on the other side is never the issue; the problem is the issue. Keep this in mind to avoid emotional issues with the person and focus on the problem, not the person. The bond is essential; never create an enemy.</span><br />
<br />
-<h2 style='display: inline' id='Usedifferentwaysofsayingno'>Use different ways of saying "no."</h2><br />
+<h2 style='display: inline' id='use-different-ways-of-saying-no'>Use different ways of saying "no."</h2><br />
<br />
<span class='quote'>I had paid my rent always in time. I had positive experiences with the building and would be sad for the landlord to lose a good tenant. I am looking for a win-win agreement between us. Pulling out the research, other neighbours offer much lower prices even if your building is a better location and services. How can I effort 200 more.... </span><br />
<br />
@@ -101,7 +101,7 @@
<br />
<span>You always have to embrace thoughtful confrontation for good negotiation and life. Don&#39;t avoid honest, clear conflict. It will give you the best deals. Compromises are mostly bad deals for both sides. Most people don&#39;t negotiate a win-win but a win-lose. Know the best and worst outcomes and what is acceptable for you.</span><br />
<br />
-<h2 style='display: inline' id='Calibratedquestion'>Calibrated question</h2><br />
+<h2 style='display: inline' id='calibrated-question'>Calibrated question</h2><br />
<br />
<span>Calibrated questions. Give the opponent a sense of power. Ask open-how questions to get the opponent to solve your problem and move him in your direction. Calibrated questions are the best tools. Summarise everything, and then ask, "how I am supposed to do that?". Asking for help this way with a calibrated question is a powerful tool for joint problem solving</span><br />
<br />
@@ -117,11 +117,11 @@
</ul><br />
<span>Prepare 3 to 5 calibrated questions for your counterpart. Be curious what is really motivating the other side. You can get out the "Black Swan".</span><br />
<br />
-<h2 style='display: inline' id='Theblackswan'>The black swan </h2><br />
+<h2 style='display: inline' id='the-black-swan-'>The black swan </h2><br />
<br />
<span>What we don&#39;t know can break our deal. Uncovering it can bring us unexpected success. You get what you ask for in this world, but you must learn to ask correctly. Reveal the black swan by asking questions.</span><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Establish a range at top places like corp. I get... (e.g. remote London on a project basis). Set a high salary range and not a number. Also, check on LinkedIn premium for the salaries.</span><br />
<br />
diff --git a/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html b/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
index 389b9b6f..64ef2c1e 100644
--- a/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
+++ b/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='AlgorithmsandDataStructuresinGoPart1'>Algorithms and Data Structures in Go - Part 1</h1><br />
+<h1 style='display: inline' id='algorithms-and-data-structures-in-go---part-1'>Algorithms and Data Structures in Go - Part 1</h1><br />
<br />
<span class='quote'>Published at 2023-04-09T22:31:42+03:00</span><br />
<br />
@@ -32,7 +32,7 @@
<br />
<span>This post is about setting up some basic data structures and methods for this blog series. I promise, everything will be easy to follow in this post. It will become more interesting later in this series.</span><br />
<br />
-<h2 style='display: inline' id='Typeconstraints'>Type constraints</h2><br />
+<h2 style='display: inline' id='type-constraints'>Type constraints</h2><br />
<br />
<span>First, the package <span class='inlinecode'>ds</span> (data structures) defines the <span class='inlinecode'>types.go</span>. All examples will either operate on the <span class='inlinecode'>Integer</span> or <span class='inlinecode'>Number</span> type:</span><br />
<br />
@@ -56,7 +56,7 @@ http://www.gnu.org/software/src-highlite -->
</pre>
<br />
-<h2 style='display: inline' id='ArrayList'>ArrayList</h2><br />
+<h2 style='display: inline' id='arraylist'>ArrayList</h2><br />
<br />
<span>Next comes the <span class='inlinecode'>arraylist.go</span>, which defines the underlying data structure all the algorithms of this series will use. <span class='inlinecode'>ArrayList</span> is just a type alias of a Go array (or slice) with custom methods on it:</span><br />
<br />
@@ -116,7 +116,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#F3E651">}</font>
</pre>
<br />
-<h2 style='display: inline' id='Helpermethods'>Helper methods</h2><br />
+<h2 style='display: inline' id='helper-methods'>Helper methods</h2><br />
<br />
<span>The <span class='inlinecode'>FirstN</span> method only returns the first N elements of the <span class='inlinecode'>ArrayList</span>. This is useful for printing out only parts of the data structure:</span><br />
<br />
@@ -175,7 +175,7 @@ http://www.gnu.org/software/src-highlite -->
</pre>
<br />
-<h2 style='display: inline' id='Sleepsort'>Sleep sort</h2><br />
+<h2 style='display: inline' id='sleep-sort'>Sleep sort</h2><br />
<br />
<span>Let&#39;s implement our first algorithm, sleep sort. Sleep sort is a non-traditional and unconventional sorting algorithm based on the idea of waiting a certain amount of time corresponding to the value of each element in the input <span class='inlinecode'>ArrayList</span>. It&#39;s more of a fun, creative concept rather than an efficient or practical sorting technique. This is not a sorting algorithm you would use in any production code. As you can imagine, it is quite an inefficient sorting algorithm (it&#39;s only listed here as a warm-up exercise). This sorting method may also return false results depending on how the Goroutines are scheduled by the Go runtime. </span><br />
<br />
@@ -222,7 +222,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>This Go code implements the sleep sort algorithm using generics and goroutines. The main function <span class='inlinecode'>Sleep[V ds.Integer](a ds.ArrayList[V]) ds.ArrayList[V]</span> takes a generic <span class='inlinecode'>ArrayList</span> as input and returns a sorted <span class='inlinecode'>ArrayList</span>. The code creates a separate goroutine for each element in the input array, sleeps for a duration proportional to the element&#39;s value, and then sends the element to a channel. Another goroutine waits for all the sleeping goroutines to finish and then closes the channel. The sorted result <span class='inlinecode'>ArrayList</span> is constructed by appending the elements received from the channel in the order they arrive. The <span class='inlinecode'>sync.WaitGroup</span> is used to synchronize goroutines and ensure that all of them have completed before closing the channel.</span><br />
<br />
-<h3 style='display: inline' id='Testing'>Testing</h3><br />
+<h3 style='display: inline' id='testing'>Testing</h3><br />
<br />
<span>For testing, we only allow values up to 10, as otherwise, it would take too long to finish:</span><br />
<br />
diff --git a/gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.html b/gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.html
index 2afa6d09..8b5e51fd 100644
--- a/gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.html
+++ b/gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='UnveilingguprecordsrakuGlobalUptimeRecordswithRaku'>Unveiling <span class='inlinecode'>guprecords.raku</span>: Global Uptime Records with Raku</h1><br />
+<h1 style='display: inline' id='unveiling-guprecordsraku-global-uptime-records-with-raku'>Unveiling <span class='inlinecode'>guprecords.raku</span>: Global Uptime Records with Raku</h1><br />
<br />
<span class='quote'>Published at 2023-04-30T13:10:26+03:00</span><br />
<br />
@@ -29,7 +29,7 @@
+-----+-----------------+-----------------------------+
</pre>
<br />
-<h1 style='display: inline' id='Introduction'>Introduction</h1><br />
+<h1 style='display: inline' id='introduction'>Introduction</h1><br />
<br />
<span>For fun, I am tracking the uptime of various personal machines (servers, laptops, workstations...). I have been doing this for over ten years now, so I have a lot of statistics collected.</span><br />
<br />
@@ -52,7 +52,7 @@
</ul><br />
<span>And I have been following the Raku newsletter, and sometimes I have been lurking around in the IRC channels, too. Watching Raku coding challenges on YouTube was pretty fun, too. However, nothing beats actually using Raku to learn the language. After reading all of these resources, I may have a good idea about the features and paradigms, but I am by far not an expert.</span><br />
<br />
-<h2 style='display: inline' id='HowGuprecordsworks'>How Guprecords works</h2><br />
+<h2 style='display: inline' id='how-guprecords-works'>How Guprecords works</h2><br />
<br />
<span>Guprecords works in three stages:</span><br />
<br />
@@ -78,7 +78,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Output formats available: Plaintext, Markdown, and Gemtext</li>
<li>Provides top entries based on the specified limit</li>
</ul><br />
-<h2 style='display: inline' id='Example'>Example</h2><br />
+<h2 style='display: inline' id='example'>Example</h2><br />
<br />
<span>You have already seen an example at the very top of this post, where the hosts were grouped by their total lifespans (uptime+downtime). Here&#39;s an example of what the global uptime report (grouped by total host uptimes) might look like:</span><br />
<br />
@@ -149,7 +149,7 @@ no1 in 455 days, 18:52:44 | at Sun Jul 21 07:37:51 2024
%up 99.997 | since Tue Dec 18 10:16:08 2018
</pre>
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>Guprecords is a small, yet powerful tool for analyzing uptime statistics. While developing Guprecords, I have come to truly appreciate and love Raku&#39;s expressiveness. The language is designed to be both powerful and flexible, allowing developers to express their intentions and logic more clearly and concisely.</span><br />
<br />
diff --git a/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.html b/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.html
index 49e87198..48bc5d56 100644
--- a/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.html
+++ b/gemfeed/2023-05-06-the-obstacle-is-the-way-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='TheObstacleistheWaybooknotes'>"The Obstacle is the Way" book notes</h1><br />
+<h1 style='display: inline' id='the-obstacle-is-the-way-book-notes'>"The Obstacle is the Way" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-05-06T17:23:16+03:00</span><br />
<br />
@@ -29,7 +29,7 @@
<br />
<span>"The obstacle is the way" is a powerful statement that encapsulates the wisdom of turning challenges into opportunities for growth and success. We will explore using obstacles as fuel, transforming weaknesses into strengths, and adopting a mindset that allows us to be creative and persistent in the face of adversity.</span><br />
<br />
-<h2 style='display: inline' id='Reframeyourperspective'>Reframe your perspective</h2><br />
+<h2 style='display: inline' id='reframe-your-perspective'>Reframe your perspective</h2><br />
<br />
<span>The obstacle in your path can become your path to success. Instead of being paralyzed by challenges, see them as opportunities to learn and grow. Remember, the things that hurt us often instruct us. </span><br />
<br />
@@ -38,37 +38,37 @@
<span>Don&#39;t always try to use the front door; a backdoor could open. It&#39;s nonsense. Don&#39;t fight the judo master with judo. Non-action can be action, exposing the weaknesses of others.</span><br />
<br />
<br />
-<h2 style='display: inline' id='Embracerationality'>Embrace rationality</h2><br />
+<h2 style='display: inline' id='embrace-rationality'>Embrace rationality</h2><br />
<br />
<span>It is a superpower to see things rationally when others are fearful. Focus on the reality of the situation without letting emotions, such as anger, cloud your judgment. This ability will enable you to make better decisions in adversity. Ability to see things what they really are. E.g. wine is old fermented grapes, or other people behaving like animals during a fight. Show the middle finger if someone persists on the stupid rules occasionally.</span><br />
<br />
-<h2 style='display: inline' id='Controlyourresponse'>Control your response</h2><br />
+<h2 style='display: inline' id='control-your-response'>Control your response</h2><br />
<br />
<span>You can choose how you respond to obstacles. Focus on what you can control, and don&#39;t let yourself feel harmed by external circumstances. Remember, you decide how things affect you; nobody else does. Choose to feel good in response to any situation. Embrace the challenges and obstacles that come your way, as they are opportunities for growth and learning.</span><br />
<br />
-<h2 style='display: inline' id='Practiceemotionalandphysicalresilience'>Practice emotional and physical resilience</h2><br />
+<h2 style='display: inline' id='practice-emotional-and-physical-resilience'>Practice emotional and physical resilience</h2><br />
<br />
<span>Martial artists know the importance of developing physical and emotional strength. Cultivate the art of not panicking; it will help you avoid making mistakes during high-pressure situations.</span><br />
<br />
<span>Focus on what you can control. Don&#39;t choose to feel harmed, and then you won&#39;t be harmed. I decide things that affect me; nobody else does. E.g., in prison, your mind stays your own. Don&#39;t ignore fear but explain it away, have a different view.</span><br />
<br />
-<h2 style='display: inline' id='Persistenceandpatience'>Persistence and patience</h2><br />
+<h2 style='display: inline' id='persistence-and-patience'>Persistence and patience</h2><br />
<br />
<span>Practice persistence and patience in your pursuits. Focus on the process rather than the prize and take one step at a time. Remember, the journey is about finishing tasks, projects, or workouts to the best of your ability. Never be in a hurry and never be desperate. There is no reason to be rushed; there are all in the long haul. Follow the process and not the price. Take it one step at a time. The process is about finishing (workout, task, project, etc.).</span><br />
<br />
-<h2 style='display: inline' id='Embracefailure'>Embrace failure</h2><br />
+<h2 style='display: inline' id='embrace-failure'>Embrace failure</h2><br />
<br />
<span>Failure is a natural part of life and can make us stronger. Treat defeat as a stepping stone to success and education. What is defeat? The first step to education. Failure makes you stronger. If we do our best, we can be proud of it, regardless of the result. Do your job, but do it right. Only an asshole thinks he is too good at the things he does. Also, asking for forgiveness is easier than asking for permission. </span><br />
<br />
-<h2 style='display: inline' id='Beadaptable'>Be adaptable</h2><br />
+<h2 style='display: inline' id='be-adaptable'>Be adaptable</h2><br />
<br />
<span>There are many ways to achieve your goals; sometimes, unconventional methods are necessary. Feel free to break the rules or go off the beaten path if it will lead to better results. Transform weaknesses into strengths. We have a choice of how to respond to things. It&#39;s not about being positive but to be creative. Aim high, but stuff will happen; E.g., surprises will always happen.</span><br />
<br />
-<h2 style='display: inline' id='Embracenonaction'>Embrace non-action</h2><br />
+<h2 style='display: inline' id='embrace-non-action'>Embrace non-action</h2><br />
<br />
<span>We constantly push to the next thing. Sometimes the best course of action is standing still or even going backwards. Obstacles might resolve by themselves. Or going sideways. Sometimes, the best action is to stand still, go sideways, or even go backwards. Obstacles may resolve themselves or present new opportunities if you&#39;re patient and observant. People always want your input before you have all the facts. They want you to play after their rules. The question is, do you let them? The English call it the cool head. Being in control of Stress; requires practice. Appear, the absence of fear (Greek). When all others do it one way, it does not mean it is the correct or best practice.</span><br />
<br />
-<h2 style='display: inline' id='Leveragecrisis'>Leverage crisis</h2><br />
+<h2 style='display: inline' id='leverage-crisis'>Leverage crisis</h2><br />
<br />
<span>In times of crisis, seize the chance to do things never done before. Great people use negative situations to their advantage and become the most effective in challenging circumstances.</span><br />
<br />
@@ -76,19 +76,19 @@
<br />
<span>Be prepared for nothing to work. Problems are an opportunity to do your best, not to do miracles. Always manage your expectations. It will suck, but it will be ok. Be prepared to begin from the beginning. Be cheerful and eagerly work on the next obstacle. Each time you become better. Life is not a sprint but a marathon. After each obstacle lies another obstacle, there won&#39;t be anything without obstacles. Passing one means you are ready for the next.</span><br />
<br />
-<h2 style='display: inline' id='Buildyourinnercitadel'>Build your inner citadel</h2><br />
+<h2 style='display: inline' id='build-your-inner-citadel'>Build your inner citadel</h2><br />
<br />
<span>Develop your inner strength during good times so you can rely on it in bad times. Always prepare for adversity and face it with calmness and resilience. Be humble enough that things which happen will happen. Build your inner citadel. In good times strengthen it. In bad times rely on it.</span><br />
<br />
<span>We should always prepare for things to get tough. Your house burns down: no worries, we eliminated much rubbish. Imagine what can go wrong before things go wrong. We are prepared for adversity; it&#39;s other people who aren&#39;t. Phil Jackson&#39;s hip problem example. To receive unexpected benefits, you must first accept the unexpected obstacles. Meditate on death. It&#39;s a universal obstacle. Use it as a reminder to do your best.</span><br />
<br />
-<h2 style='display: inline' id='Loveeverythingthathappens'>Love everything that happens</h2><br />
+<h2 style='display: inline' id='love-everything-that-happens'>Love everything that happens</h2><br />
<br />
<span>Turn an obstacle the other way around for your benefit. Use it at fuel. It&#39;s simple but challenging. Most are paralyzed instead. The obstacle in the path becomes the path. Obstacles are neither good nor bad. The things which hurt, instruct.</span><br />
<br />
<span>Should I hate people who hate me? That&#39;s their problem and not mine. Be always calm and relaxed during the fight. The story of the battle is the story of the smile. Cheerfulness in all situations, especially the bad ones. Love for everything that happens; if it happens, it was meant to happen. We can choose how we react to things, so why not choose to feel good? I love everything that happens. You must never lower yourself to the person you don&#39;t like.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>Life is a marathon, not a sprint. Each obstacle we overcome prepares us for the next one. Remember, the obstacle is not just a barrier to be turned upside down; it can also be used as a catapult to propel us forward. By embracing challenges and using them as opportunities for growth, we become stronger, more adaptable, and, ultimately, more successful.</span><br />
<br />
diff --git a/gemfeed/2023-06-01-kiss-server-monitoring-with-gogios.html b/gemfeed/2023-06-01-kiss-server-monitoring-with-gogios.html
index f0824de9..240aa81e 100644
--- a/gemfeed/2023-06-01-kiss-server-monitoring-with-gogios.html
+++ b/gemfeed/2023-06-01-kiss-server-monitoring-with-gogios.html
@@ -8,13 +8,13 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='KISSservermonitoringwithGogios'>KISS server monitoring with Gogios</h1><br />
+<h1 style='display: inline' id='kiss-server-monitoring-with-gogios'>KISS server monitoring with Gogios</h1><br />
<br />
<span class='quote'>Published at 2023-06-01T21:10:17+03:00</span><br />
<br />
<a href='./kiss-server-monitoring-with-gogios/gogios-small.png'><img alt='Gogios logo' title='Gogios logo' src='./kiss-server-monitoring-with-gogios/gogios-small.png' /></a><br />
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Gogios is a minimalistic and easy-to-use monitoring tool I programmed in Google Go designed specifically for small-scale self-hosted servers and virtual machines. The primary purpose of Gogios is to monitor my personal server infrastructure for <span class='inlinecode'>foo.zone</span>, my MTAs, my authoritative DNS servers, my NextCloud, Wallabag and Anki sync server installations, etc.</span><br />
<br />
@@ -45,7 +45,7 @@ The original can be found at
https://asciiart.website/index.php?art=objects/computers
</pre>
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
<span>With experience in monitoring solutions like Nagios, Icinga, Prometheus and OpsGenie, these tools often came with many features that I didn&#39;t necessarily need for personal use. Contact groups, host groups, check clustering, and the requirement of operating a DBMS and a WebUI added complexity and bloat to my monitoring setup.</span><br />
<br />
@@ -53,7 +53,7 @@ https://asciiart.website/index.php?art=objects/computers
<br />
<span>This led me to create Gogios, a lightweight monitoring tool tailored to my specific needs. I chose the Go programming language for this project as it comes, in my opinion, with the best balance of ease to use and performance.</span><br />
<br />
-<h2 style='display: inline' id='Features'>Features</h2><br />
+<h2 style='display: inline' id='features'>Features</h2><br />
<br />
<ul>
<li>Compatible with Nagios Check scripts: Gogios leverages the widely-used Nagios Check API, allowing to use existing Nagios plugins.</li>
@@ -64,7 +64,7 @@ https://asciiart.website/index.php?art=objects/computers
<li>Email Notifications: Gogios can send email notifications regarding the status of monitored services, ensuring you stay informed about potential issues.</li>
<li>CRON-based Execution: Gogios can be quickly scheduled to run periodically via CRON, allowing you to automate monitoring without needing a complex setup.</li>
</ul><br />
-<h2 style='display: inline' id='Examplealert'>Example alert</h2><br />
+<h2 style='display: inline' id='example-alert'>Example alert</h2><br />
<br />
<span>This is an example alert report received via E-Mail. Whereas, <span class='inlinecode'>[C:2 W:0 U:0 OK:51]</span> means that we&#39;ve got two alerts in status critical, 0 warnings, 0 unknowns and 51 OKs.</span><br />
<br />
@@ -86,9 +86,9 @@ CRITICAL: Check ICMP6 vulcan.buetow.org: Check command timed out
Have a nice day!
</pre>
<br />
-<h2 style='display: inline' id='Installation'>Installation</h2><br />
+<h2 style='display: inline' id='installation'>Installation</h2><br />
<br />
-<h3 style='display: inline' id='CompilingandinstallingGogios'>Compiling and installing Gogios</h3><br />
+<h3 style='display: inline' id='compiling-and-installing-gogios'>Compiling and installing Gogios</h3><br />
<br />
<span>This document is primarily written for OpenBSD, but applying the corresponding steps to any Unix-like (e.g. Linux-based) operating system should be easy. On systems other than OpenBSD, you may always have to replace <span class='inlinecode'>does</span> with the <span class='inlinecode'>sudo</span> command and replace the <span class='inlinecode'>/usr/local/bin</span> path with <span class='inlinecode'>/usr/bin</span>.</span><br />
<br />
@@ -120,7 +120,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://www.rexify.org'>https://www.rexify.org</a><br />
<br />
-<h3 style='display: inline' id='Settingupusergroupanddirectories'>Setting up user, group and directories</h3><br />
+<h3 style='display: inline' id='setting-up-user-group-and-directories'>Setting up user, group and directories</h3><br />
<br />
<span>It is best to create a dedicated system user and group for Gogios to ensure proper isolation and security. Here are the steps to create the <span class='inlinecode'>_gogios</span> user and group under OpenBSD:</span><br />
<br />
@@ -137,7 +137,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Please note that creating a user and group might differ depending on your operating system. For other operating systems, consult their documentation for creating system users and groups.</span><br />
<br />
-<h3 style='display: inline' id='Installingmonitoringplugins'>Installing monitoring plugins</h3><br />
+<h3 style='display: inline' id='installing-monitoring-plugins'>Installing monitoring plugins</h3><br />
<br />
<span>Gogios relies on external Nagios or Icinga monitoring plugin scripts. On OpenBSD, you can install the <span class='inlinecode'>monitoring-plugins</span> package with Gogios. The monitoring-plugins package is a collection of monitoring plugins, similar to Nagios plugins, that can be used to monitor various services and resources:</span><br />
<br />
@@ -151,9 +151,9 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Once the installation is complete, you can find the monitoring plugins in the <span class='inlinecode'>/usr/local/libexec/nagios</span> directory, which then can be configured to be used in <span class='inlinecode'>gogios.json</span>.</span><br />
<br />
-<h2 style='display: inline' id='Configuration'>Configuration</h2><br />
+<h2 style='display: inline' id='configuration'>Configuration</h2><br />
<br />
-<h3 style='display: inline' id='MTA'>MTA</h3><br />
+<h3 style='display: inline' id='mta'>MTA</h3><br />
<br />
<span>Gogios requires a local Mail Transfer Agent (MTA) such as Postfix or OpenBSD SMTPD running on the same server where the CRON job (see about the CRON job further below) is executed. The local MTA handles email delivery, allowing Gogios to send email notifications to monitor status changes. Before using Gogios, ensure that you have a properly configured MTA installed and running on your server to facilitate the sending of emails. Once the MTA is set up and functioning correctly, Gogios can leverage it to send email notifications.</span><br />
<br />
@@ -165,7 +165,7 @@ echo &#39;This is a test email from OpenBSD.&#39; | mail -s &#39;Test Email&#39;
<br />
<span>Check the recipient&#39;s inbox to confirm the delivery of the test email. If the email is delivered successfully, it indicates that your email server is configured correctly and functioning. Please check your MTA logs in case of issues.</span><br />
<br />
-<h3 style='display: inline' id='ConfiguringGogios'>Configuring Gogios</h3><br />
+<h3 style='display: inline' id='configuring-gogios'>Configuring Gogios</h3><br />
<br />
<span>To configure Gogios, create a JSON configuration file (e.g., <span class='inlinecode'>/etc/gogios.json</span>). Here&#39;s an example configuration:</span><br />
<br />
@@ -228,7 +228,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The <span class='inlinecode'>state.json</span> file mentioned above keeps track of the monitoring state and check results between Gogios runs, enabling Gogios only to send email notifications when there are changes in the check status.</span><br />
<br />
-<h2 style='display: inline' id='RunningGogios'>Running Gogios</h2><br />
+<h2 style='display: inline' id='running-gogios'>Running Gogios</h2><br />
<br />
<span>Now it is time to give it a first run. On OpenBSD, do:</span><br />
<br />
@@ -250,7 +250,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Gogios is now configured to run every five minutes from 8 am to 10 pm via CRON as the <span class='inlinecode'>_gogios</span> user. It will execute the checks and send monitoring status whenever a check status changes via email according to your configuration. Also, Gogios will run once at 7 am every morning and re-notify all unhandled alerts as a reminder.</span><br />
<br />
-<h3 style='display: inline' id='Highavailability'>High-availability</h3><br />
+<h3 style='display: inline' id='high-availability'>High-availability</h3><br />
<br />
<span>To create a high-availability Gogios setup, you can install Gogios on two servers that will monitor each other using the NRPE (Nagios Remote Plugin Executor) plugin. By running Gogios in alternate CRON intervals on both servers, you can ensure that even if one server goes down, the other will continue monitoring your infrastructure and sending notifications.</span><br />
<br />
@@ -263,7 +263,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>There are plans to make it possible to execute certain checks only on certain nodes (e.g. on elected leader or master nodes). This is still in progress (check out my Gorum Git project).</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion:</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion:</h2><br />
<br />
<span>Gogios is a lightweight and straightforward monitoring tool that is perfect for small-scale environments. With its compatibility with the Nagios Check API, email notifications, and CRON-based scheduling, Gogios offers an easy-to-use solution for those looking to monitor a limited number of resources. I personally use it to execute around 500 checks on my personal server infrastructure. I am very happy with this solution.</span><br />
<br />
diff --git a/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.html b/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.html
index 9c0efc01..7bd2e98b 100644
--- a/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.html
+++ b/gemfeed/2023-07-17-career-guide-and-soft-skills-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SoftwareDevelopmersCareerGuideandSoftSkillsbooknotes'>"Software Developmers Career Guide and Soft Skills" book notes</h1><br />
+<h1 style='display: inline' id='software-developmers-career-guide-and-soft-skills-book-notes'>"Software Developmers Career Guide and Soft Skills" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-07-17T04:56:20+03:00</span><br />
<br />
@@ -26,9 +26,9 @@
&#39;&#39;&#39;
</pre>
<br />
-<h1 style='display: inline' id='Improve'>Improve</h1><br />
+<h1 style='display: inline' id='improve'>Improve</h1><br />
<br />
-<h2 style='display: inline' id='Alwayslearnnewthings'>Always learn new things</h2><br />
+<h2 style='display: inline' id='always-learn-new-things'>Always learn new things</h2><br />
<br />
<span>When you learn something new, e.g. a programming language, first gather an overview, learn from multiple sources, play around and learn by doing and not consuming and form your own questions. Don&#39;t read too much upfront. A large amount of time is spent in learning technical skills which were never use. You want to have a practical set of skills you are actually using. You need to know 20 percent to get out 80 percent of the results.</span><br />
<br />
@@ -46,11 +46,11 @@
<br />
<span>Boot camps: The advantage of a boot camp is to pragmatically learn things fast. We almost always overestimate what we can do in a day. Especially during boot camps. Connect to others during the boot camps</span><br />
<br />
-<h2 style='display: inline' id='Setgoals'>Set goals</h2><br />
+<h2 style='display: inline' id='set-goals'>Set goals</h2><br />
<br />
<span>Your own goals are important but the manager also looks at how the team performs and how someone can help the team perform better. Check whether you are on track with your goals every 2 weeks in order to avoid surprises for the annual review. Make concrete goals for next review. Track and document your progress. Invest in your education. Make your goals known. If you want something, then ask for it. Nobody but you knows what you want.</span><br />
<br />
-<h2 style='display: inline' id='Ratings'>Ratings</h2><br />
+<h2 style='display: inline' id='ratings'>Ratings</h2><br />
<br />
<span>That&#39;s a trap: If you have to rate yourself, that&#39;s a trap. That never works in an unbiased way. Rate yourself always the best way but rate your weakest part as high as possible minus one point. Rate yourself as good as you can otherwise. Nobody is putting for fun a gun on his own head. </span><br />
<br />
@@ -58,7 +58,7 @@
<li>Don&#39;t do peer rating, it can fire back on you. What if the colleague becomes your new boss?</li>
<li>Cooperate rankings are unfortunately HR guidelines and politics and only mirror a little your actual performance.</li>
</ul><br />
-<h2 style='display: inline' id='Promotions'>Promotions</h2><br />
+<h2 style='display: inline' id='promotions'>Promotions</h2><br />
<br />
<span>The most valuable employees are the ones who make themselves obsolete and automate all away. Keep a safety net of 3 to 6 months of finances. Safe at least 10 percent of your earnings. Also, if you make money it does not mean that you have to spent more money. Is a new car better than a used car which both can bring you from A to B? Liability vs assets.</span><br />
<br />
@@ -71,7 +71,7 @@
<li>If you want a raise be specific how much and know to back your demands. Don&#39;t make a thread and no ultimatums.</li>
<li>Best way for a promotion is to switch jobs. You can even switch back with a better salary.</li>
</ul><br />
-<h2 style='display: inline' id='Finishthings'>Finish things</h2><br />
+<h2 style='display: inline' id='finish-things'>Finish things</h2><br />
<br />
<span>Hard work is necessary for accomplish results. However, work smarter not harder. Furthermore, working smart is not a substitute for working hard. Work both, hard and smart.</span><br />
<br />
@@ -86,7 +86,7 @@
<br />
<span>Defeat is finally give up. Failure is the road to success, embrace it. Failure does not define you but how you respond to it. Events don&#39;t make your unhappy, but how you react to events do.</span><br />
<br />
-<h2 style='display: inline' id='Expandtheempire'>Expand the empire</h2><br />
+<h2 style='display: inline' id='expand-the-empire'>Expand the empire</h2><br />
<br />
<span>The larger your empire is, the larger your circle of influence is. The larger the circle of influence is, the more opportunities you have.</span><br />
<br />
@@ -97,7 +97,7 @@
</ul><br />
<span>Become visible, keep track that you accomplishments. E.g. write a weekly summary. Do presentations, be seen. Learn new things and share your learnings. Be the problem solver and not the blamer.</span><br />
<br />
-<h2 style='display: inline' id='Bepragmaticandalsomanageyourtime'>Be pragmatic and also manage your time</h2><br />
+<h2 style='display: inline' id='be-pragmatic-and-also-manage-your-time'>Be pragmatic and also manage your time</h2><br />
<br />
<span>Make use of time boxing via the Pomodoro technique: Set a target of rounds and track the rounds. That give you exact focused work time. That&#39;s really the trick. For example set a goal of 6 daily pomodores.</span><br />
<br />
@@ -107,7 +107,7 @@
</ul><br />
<span>You should feel good of the work done even if you don&#39;t finished the task. You will feel good about pomodoro wise even you don&#39;t finish the task on hand yet. Helps you to enjoy time off more. Working longer may not sell anything.</span><br />
<br />
-<h3 style='display: inline' id='Thequotasystem'>The quota system</h3><br />
+<h3 style='display: inline' id='the-quota-system'>The quota system</h3><br />
<br />
<span>Defined quota of things done. E.g. N runs per week or M Blog posts per month or O pomodoros per week. This helps with consistency. Truly commit to these quotas. Failure is not an option. Start with small commitments. Don&#39;t commit to something you can&#39;t fulfill otherwise you set yourself up for failure.</span><br />
<br />
@@ -116,7 +116,7 @@
<li>Internal motivation is more important over external motivation. Check out Daniels book drive.</li>
<li>Multitasking: Batching is effective. E.g. emails twice daily at pre-set times..</li>
</ul><br />
-<h3 style='display: inline' id='Dontwastetime'>Don&#39;t waste time</h3><br />
+<h3 style='display: inline' id='dont-waste-time'>Don&#39;t waste time</h3><br />
<br />
<span>The biggest time waster is TV watching. The TV is programming you. It&#39;s insane that Americans watch so much TV as they work full time. Schedule one show at a time and watch it when you want to watch it. Most movies are crap anyways. The good movies will come to you as people will talk about them.</span><br />
<br />
@@ -125,7 +125,7 @@
<li>Meetings can waste time as well. Simply don&#39;t go to them. Try to cancel meeting if it can be dealt with via email.</li>
<li>Enjoying things is not a waste of time. E.g. you could still play a game once in a while. It is important not to cut away all you enjoy from your life.</li>
</ul><br />
-<h3 style='display: inline' id='Habits'>Habits</h3><br />
+<h3 style='display: inline' id='habits'>Habits</h3><br />
<br />
<span>Try to have as many good habits as possible. Start with easy habits, and make them a little bit more challenging over time. Set ankers and rewards. Over time the routines will become habits naturally.</span><br />
<br />
@@ -135,7 +135,7 @@
<li>We don&#39;t have control over our habits but our own routines.</li>
<li>Routines help to form the habits, though.</li>
</ul><br />
-<h1 style='display: inline' id='Worklifebalance'>Work-life balance</h1><br />
+<h1 style='display: inline' id='work-life-balance'>Work-life balance</h1><br />
<br />
<span>Avoid overwork hours. That&#39;s not as beneficial as you might think and comes only with very small rewards. Invest rather in yourself and not in your employer.</span><br />
<br />
@@ -147,7 +147,7 @@
</ul><br />
<span>Use your most productive hours to work on you. Make that your priority. Take care of yourself a priority (E.g. do workouts or learn a new language). You can always workout 2 or 1 hour per day, but will you pay the price?</span><br />
<br />
-<h2 style='display: inline' id='Mentalhealth'>Mental health</h2><br />
+<h2 style='display: inline' id='mental-health'>Mental health</h2><br />
<br />
<ul>
<li>Friendships and positive thinking help to have and maintain better health, longer Life, better productivity and increased happiness.</li>
@@ -158,7 +158,7 @@
<br />
<span>In most cases burnout is just an illusion. If you don&#39;t have motivation push through the wall. People usually don&#39;t pass the wall as they feel they are burned out. After pushing through the wall you will have the most fun, for example you will be able playing the guitar greatly.</span><br />
<br />
-<h2 style='display: inline' id='Physicalhealth'>Physical health</h2><br />
+<h2 style='display: inline' id='physical-health'>Physical health</h2><br />
<br />
<span>Utilise a standing desk and treadmill (you could walk and type at the same time). Increase the incline in order to burn more calories. Even on the standing desk you burn more calories than sitting. When you use pomodoro then you can use the small breaks for push-ups (maybe won&#39;t do as good when you are in a fasted state).</span><br />
<br />
@@ -170,7 +170,7 @@
</ul><br />
<span>Intermittent fasting is an effective method to maintain weight and health. But it does not mean that you can only eat junk food in the feeding windows. Also, diet and nutrition is the most important for health and fitness. They make it also easier to stay focused and positive.</span><br />
<br />
-<h2 style='display: inline' id='Nodrama'>No drama</h2><br />
+<h2 style='display: inline' id='no-drama'>No drama</h2><br />
<br />
<span>Avoid drama at work. Where are humans there is drama. You can decide where to spent your energy in. But don&#39;t avoid conflict. Conflict is healthy in any kind of relationship. Be tactful and state your opinion. The goal is to find the best solution to the problem.</span><br />
<br />
@@ -186,13 +186,13 @@
</ul><br />
<span>You have to learn how to work in a team. Be honest but tactful. It&#39;s not too be the loudest but about selling your ideas. Don&#39;t argue otherwise you won&#39;t sell anything. Be persuasive by finding the common ground. Or lead the colleagues to your idea and don&#39;t sell it upfront. Communicate clearly.</span><br />
<br />
-<h1 style='display: inline' id='Personalbrand'>Personal brand</h1><br />
+<h1 style='display: inline' id='personal-brand'>Personal brand</h1><br />
<br />
<ul>
<li>Invest your value outside the company. Build your personal brand. Show how valuable you are, also to other companies. Become an asset.</li>
<li>Invest in your education. Make your goals known. If you want something ask for it (see also the sections about goals in this document).</li>
</ul><br />
-<h2 style='display: inline' id='Marketyourself'>Market yourself</h2><br />
+<h2 style='display: inline' id='market-yourself'>Market yourself</h2><br />
<br />
<ul>
<li>The best way to market yourself is to make you usable.</li>
@@ -205,11 +205,11 @@
<li>Have an elevator pitch: "buetow.org - Having fun with computers!"</li>
<li>Have social media accounts, especially the ones which are more tech related.</li>
</ul><br />
-<h2 style='display: inline' id='Networking'>Networking</h2><br />
+<h2 style='display: inline' id='networking'>Networking</h2><br />
<br />
<span>Ask people so they talk about themselves. They are not really interested in you. Use meetup.com to find groups you are interested and build up the network over time. Don&#39;t drink on social networking events even when others do. Talking to other people at events only has upsides. Just saying "hi" and introducing yourself is enough. What worse can happen? If the person rejects you so what, life goes on. Ask open questions and no "yes" and "no" questions. E.g.: "What is your story, why are you here?".</span><br />
<br />
-<h2 style='display: inline' id='Publicspeaking'>Public speaking</h2><br />
+<h2 style='display: inline' id='public-speaking'>Public speaking</h2><br />
<br />
<span>Before your talk go on stage 10 minutes in advance. Introduce yourself to the front row people. During the talk they will smile at you and encourage you during your talk.</span><br />
<br />
@@ -219,9 +219,9 @@
</ul><br />
<span>Just do it. Just go to conferences. Even if you are not speaking. Sell your boss what you would learn and "this and that" and you would present the learnings to the team afterwards.</span><br />
<br />
-<h1 style='display: inline' id='Newjob'>New job</h1><br />
+<h1 style='display: inline' id='new-job'>New job</h1><br />
<br />
-<h2 style='display: inline' id='Fortheinterview'>For the interview</h2><br />
+<h2 style='display: inline' id='for-the-interview'>For the interview</h2><br />
<br />
<ul>
<li>Build up a network before the interview. E.g., follow and comment blogs. Or go to meet-ups and conferences. Join user groups.</li>
@@ -230,7 +230,7 @@
</ul><br />
<span>If you are specialized then there is a better chance to get a fitting job. No one will hire a general lawyer if there are specialized lawyers available. Even if you are specialized, you will have a wide range of skills (T-shape knowledge).</span><br />
<br />
-<h2 style='display: inline' id='Findtherighttypeofcompany'>Find the right type of company</h2><br />
+<h2 style='display: inline' id='find-the-right-type-of-company'>Find the right type of company</h2><br />
<br />
<span>Not all companies are equal. They have individual cultures and guidelines.</span><br />
<br />
@@ -242,7 +242,7 @@
</ul><br />
<span>Work in a tech. company if you want to work on/with cutting edge technologies.</span><br />
<br />
-<h2 style='display: inline' id='Applyforthenewjob'>Apply for the new job</h2><br />
+<h2 style='display: inline' id='apply-for-the-new-job'>Apply for the new job</h2><br />
<br />
<span>Get a professional resume writer. Get referrals of writers and get samples from there. Get sufficient with algorithm and data structures interview questions. Cracking the coding interview book and blog </span><br />
<br />
@@ -255,7 +255,7 @@
</ul><br />
<span>Invest in your dress code as appearance masters. It does make sense to invest in your style. You could even hire a professional stylist (not my personal way though).</span><br />
<br />
-<h2 style='display: inline' id='Negotiation'>Negotiation</h2><br />
+<h2 style='display: inline' id='negotiation'>Negotiation</h2><br />
<br />
<ul>
<li>Whoever names the number first loses. You don&#39;t know what someone else is expecting unless told. Low ball number may be an issue but you have to know the market.</li>
@@ -273,21 +273,21 @@
<ul>
<li>Never spilt the difference is the best book for learning negotiation techniques..</li>
</ul><br />
-<h2 style='display: inline' id='Leavingtheoldjob'>Leaving the old job</h2><br />
+<h2 style='display: inline' id='leaving-the-old-job'>Leaving the old job</h2><br />
<br />
<span>When leaving a job make a clean and non personal as possible. Never complain and never explain. Don&#39;t worry about abandonment of the team. Everybody is replacement and you make a business decision. Don&#39;t threaten to quit as you are replaceable.</span><br />
<br />
-<h1 style='display: inline' id='Otherthings'>Other things</h1><br />
+<h1 style='display: inline' id='other-things'>Other things</h1><br />
<br />
<ul>
<li>As a leader lead by example and don&#39;t lead from the Eiffel tower.</li>
<li>As a leader you are responsible for the team. If the team fails then it&#39;s your fault only.</li>
</ul><br />
-<h2 style='display: inline' id='Testing'>Testing</h2><br />
+<h2 style='display: inline' id='testing'>Testing</h2><br />
<br />
<span>Unit testing Vs regression testing: Unit tests test the smallest possible unit and get rewritten if the unit gets changed. It&#39;s like programming against a specification n. Regression tests test whether the software still works after the change. Now you know more than most software engineers.</span><br />
<br />
-<h2 style='display: inline' id='Bookstoread'>Books to read</h2><br />
+<h2 style='display: inline' id='books-to-read'>Books to read</h2><br />
<br />
<ul>
<li>Clean Code</li>
diff --git a/gemfeed/2023-07-21-gemtexter-2.1.0-lets-gemtext-again-3.html b/gemfeed/2023-07-21-gemtexter-2.1.0-lets-gemtext-again-3.html
index 76372e00..b0091a33 100644
--- a/gemfeed/2023-07-21-gemtexter-2.1.0-lets-gemtext-again-3.html
+++ b/gemfeed/2023-07-21-gemtexter-2.1.0-lets-gemtext-again-3.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Gemtexter210LetsGemtextagain'>Gemtexter 2.1.0 - Let&#39;s Gemtext again³</h1><br />
+<h1 style='display: inline' id='gemtexter-210---lets-gemtext-again'>Gemtexter 2.1.0 - Let&#39;s Gemtext again³</h1><br />
<br />
<span class='quote'>Published at 2023-07-21T10:19:31+03:00</span><br />
<br />
@@ -29,17 +29,17 @@
<br />
<a class='textlink' href='https://codeberg.org/snonux/gemtexter'>https://codeberg.org/snonux/gemtexter</a><br />
<br />
-<h2 style='display: inline' id='WhyBash'>Why Bash?</h2><br />
+<h2 style='display: inline' id='why-bash'>Why Bash?</h2><br />
<br />
<span>This project is too complex for a Bash script. Writing it in Bash was to try out how maintainable a "larger" Bash script could be. It&#39;s still pretty maintainable and helps me try new Bash tricks here and then!</span><br />
<br />
<span>Let&#39;s list what&#39;s new!</span><br />
<br />
-<h2 style='display: inline' id='SwitchtoGPL3license'>Switch to GPL3 license</h2><br />
+<h2 style='display: inline' id='switch-to-gpl3-license'>Switch to GPL3 license</h2><br />
<br />
<span>Many (almost all) of the tools and commands (GNU Bash, GMU Sed, GNU Date, GNU Grep, GNU Source Highlight) used by <span class='inlinecode'>Gemtexter</span> are licensed under the GPL anyway. So why not use the same? This was an easy switch, as I was the only code contributor so far!</span><br />
<br />
-<h2 style='display: inline' id='Sourcecodehighlightingsupport'>Source code highlighting support</h2><br />
+<h2 style='display: inline' id='source-code-highlighting-support'>Source code highlighting support</h2><br />
<br />
<span>The HTML output now supports source code highlighting, which is pretty neat if your site is about programming. The requirement is to have the <span class='inlinecode'>source-highlight</span> command, which is GNU Source Highlight, to be installed. Once done, you can annotate a bare block with the language to be highlighted. E.g.:</span><br />
<br />
@@ -64,11 +64,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Please run <span class='inlinecode'>source-highlight --lang-list</span> for a list of all supported languages.</span><br />
<br />
-<h2 style='display: inline' id='HTMLexactvariant'>HTML exact variant</h2><br />
+<h2 style='display: inline' id='html-exact-variant'>HTML exact variant</h2><br />
<br />
<span>Gemtexter is there to convert your Gemini Capsule into other formats, such as HTML and Markdown. An HTML exact variant can now be enabled in the <span class='inlinecode'>gemtexter.conf</span> by adding the line <span class='inlinecode'>declare -rx HTML_VARIANT=exact</span>. The HTML/CSS output changed to reflect a more exact Gemtext appearance and to respect the same spacing as you would see in the Geminispace. </span><br />
<br />
-<h2 style='display: inline' id='UseofHackwebfontbydefault'>Use of Hack webfont by default</h2><br />
+<h2 style='display: inline' id='use-of-hack-webfont-by-default'>Use of Hack webfont by default</h2><br />
<br />
<span>The Hack web font is a typeface designed explicitly for source code. It&#39;s a derivative of the Bitstream Vera and DejaVu Mono lineage, but it features many improvements and refinements that make it better suited to reading and writing code.</span><br />
<br />
@@ -76,7 +76,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Hack is open-source and freely available for use and modification under the MIT License.</span><br />
<br />
-<h2 style='display: inline' id='HTMLMastodonverificationsupport'>HTML Mastodon verification support</h2><br />
+<h2 style='display: inline' id='html-mastodon-verification-support'>HTML Mastodon verification support</h2><br />
<br />
<span>The following link explains how URL verification works in Mastodon:</span><br />
<br />
@@ -106,7 +106,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><b><font color="#ffffff">&lt;a</font></b><font color="#ff0000"> </font><b><font color="#F35E1E">href</font></b><font color="#F3E651">=</font><font color="#bb00ff">'https://fosstodon.org/@snonux'</font><font color="#ff0000"> </font><b><font color="#F35E1E">rel</font></b><font color="#F3E651">=</font><font color="#bb00ff">'me'</font><b><font color="#ffffff">&gt;</font></b><font color="#ff0000">Me at Mastodon</font><b><font color="#ffffff">&lt;/a&gt;</font></b>
</pre>
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
diff --git a/gemfeed/2023-08-18-site-reliability-engineering-part-1.html b/gemfeed/2023-08-18-site-reliability-engineering-part-1.html
index 5b4227c1..699c81ab 100644
--- a/gemfeed/2023-08-18-site-reliability-engineering-part-1.html
+++ b/gemfeed/2023-08-18-site-reliability-engineering-part-1.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SiteReliabilityEngineeringPart1SREandOrganizationalCulture'>Site Reliability Engineering - Part 1: SRE and Organizational Culture</h1><br />
+<h1 style='display: inline' id='site-reliability-engineering---part-1-sre-and-organizational-culture'>Site Reliability Engineering - Part 1: SRE and Organizational Culture</h1><br />
<br />
<span class='quote'>Published at 2023-08-18T22:43:47+03:00</span><br />
<br />
@@ -16,7 +16,7 @@
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture (You are currently reading this)</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<pre>
▓▓▓▓░░
@@ -40,7 +40,7 @@ DC on fire:
░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░
</pre>
<br />
-<h2 style='display: inline' id='SREandOrganizationalCultureNavigatingtheNexus'>SRE and Organizational Culture: Navigating the Nexus</h2><br />
+<h2 style='display: inline' id='sre-and-organizational-culture-navigating-the-nexus'>SRE and Organizational Culture: Navigating the Nexus</h2><br />
<br />
<span>At the core of SRE is the principle of "prevention over cure." Unlike traditional IT setups that mostly react to problems, SRE focuses on spotting issues before they happen. This proactive approach involves using Service Level Indicators (SLIs) and Service Level Objectives (SLOs). These tools give teams specific metrics and targets to aim for, helping them keep systems reliable and users happy. It&#39;s all about creating a culture that prioritizes user experience and makes sure everything runs smoothly to meet their needs.</span><br />
<br />
diff --git a/gemfeed/2023-09-25-dtail-usage-examples.html b/gemfeed/2023-09-25-dtail-usage-examples.html
index e66dcf82..373b0fd1 100644
--- a/gemfeed/2023-09-25-dtail-usage-examples.html
+++ b/gemfeed/2023-09-25-dtail-usage-examples.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='DTailusageexamples'>DTail usage examples</h1><br />
+<h1 style='display: inline' id='dtail-usage-examples'>DTail usage examples</h1><br />
<br />
<span class='quote'>Published at 2023-09-25T14:57:42+03:00</span><br />
<br />
@@ -42,7 +42,7 @@
<li>Use <span class='inlinecode'>dmap</span> to aggregate logs and other text files already written</li>
<li><span class='inlinecode'>dserver</span> is the DTail server, where all the clients can connect to</li>
</ul><br />
-<h2 style='display: inline' id='Followinglogs'>Following logs</h2><br />
+<h2 style='display: inline' id='following-logs'>Following logs</h2><br />
<br />
<span>The following example demonstrates how to follow logs of several servers at once. The server list is provided as a flat text file. The example filters all records containing the string <span class='inlinecode'>INFO</span>. Any other Go compatible regular expression can also be used instead of <span class='inlinecode'>INFO</span>.</span><br />
<br />
@@ -66,7 +66,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">%</font><font color="#ff0000"> dtail --servers serverlist</font><font color="#F3E651">.</font><font color="#ff0000">txt --grep INFO </font><font color="#bb00ff">"/var/log/dserver/*.log"</font>
</pre>
<br />
-<h2 style='display: inline' id='Aggregatinglogs'>Aggregating logs</h2><br />
+<h2 style='display: inline' id='aggregating-logs'>Aggregating logs</h2><br />
<br />
<span>To run ad-hoc map-reduce aggregations on newly written log lines you must add a query. The following example follows all remote log lines and prints out every few seconds the result to standard output.</span><br />
<br />
@@ -123,7 +123,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> --query </font><font color="#bb00ff">'from STATS select ... outfile append result.csv'</font>
</pre>
<br />
-<h2 style='display: inline' id='Howtousedcat'>How to use <span class='inlinecode'>dcat</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dcat'>How to use <span class='inlinecode'>dcat</span></h2><br />
<br />
<span>The following example demonstrates how to cat files (display the full content of the files) on several servers at once.</span><br />
<br />
@@ -147,7 +147,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">%</font><font color="#ff0000"> dcat --servers serverlist</font><font color="#F3E651">.</font><font color="#ff0000">txt /etc/hostname</font>
</pre>
<br />
-<h2 style='display: inline' id='Howtousedgrep'>How to use <span class='inlinecode'>dgrep</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dgrep'>How to use <span class='inlinecode'>dgrep</span></h2><br />
<br />
<span>The following example demonstrates how to grep files (display only the lines which match a given regular expression) of multiple servers at once. In this example, we look after some entries in <span class='inlinecode'>/etc/passwd</span>. This time, we don&#39;t provide the server list via an file but rather via a comma separated list directly on the command line. We also explore the <span class='inlinecode'>-before</span>, <span class='inlinecode'>-after</span> and <span class='inlinecode'>-max</span> flags (see animation).</span><br />
<br />
@@ -166,7 +166,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span class='quote'>Hint: <span class='inlinecode'>-regex</span> is an alias for <span class='inlinecode'>-grep</span>.</span><br />
<br />
-<h2 style='display: inline' id='Howtousedmap'>How to use <span class='inlinecode'>dmap</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dmap'>How to use <span class='inlinecode'>dmap</span></h2><br />
<br />
<span>To run a map-reduce aggregation over logs written in the past, the <span class='inlinecode'>dmap</span> command can be used. The following example aggregates all map-reduce fields <span class='inlinecode'>dmap</span> will print interim results every few seconds. You can also write the result to an CSV file by adding <span class='inlinecode'>outfile result.csv</span> to the query.</span><br />
<br />
@@ -184,7 +184,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./dtail-usage-examples/dmap.gif'><img alt='DMap example' title='DMap example' src='./dtail-usage-examples/dmap.gif' /></a><br />
<br />
-<h2 style='display: inline' id='HowtousetheDTailserverlessmode'>How to use the DTail serverless mode</h2><br />
+<h2 style='display: inline' id='how-to-use-the-dtail-serverless-mode'>How to use the DTail serverless mode</h2><br />
<br />
<span>Until now, all examples so far required to have remote server(s) to connect to. That makes sense, as after all DTail is a *distributed* tool. However, there are circumstances where you don&#39;t really need to connect to a server remotely. For example, you already have a login shell open to the server an all what you want is to run some queries directly on local log files.</span><br />
<br />
@@ -192,7 +192,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>All commands shown so far also work in a serverless mode. All what needs to be done is to omit a server list. The DTail client then starts in serverless mode.</span><br />
<br />
-<h3 style='display: inline' id='Serverlessmapreducequery'>Serverless map-reduce query</h3><br />
+<h3 style='display: inline' id='serverless-map-reduce-query'>Serverless map-reduce query</h3><br />
<br />
<span>The following <span class='inlinecode'>dmap</span> example is the same as the previously shown one, but the difference is that it operates on a local log file directly:</span><br />
<br />
@@ -227,7 +227,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#bb00ff"> lifetimeConnections group by $hostname order by max($cgocalls)'</font>
</pre>
<br />
-<h3 style='display: inline' id='AggregatingCSVfiles'>Aggregating CSV files</h3><br />
+<h3 style='display: inline' id='aggregating-csv-files'>Aggregating CSV files</h3><br />
<br />
<span>In essence, this works exactly like aggregating logs. All files operated on must be valid CSV files and the first line of the CSV must be the header. E.g.:</span><br />
<br />
@@ -249,7 +249,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>DMap can also be used to query and aggregate CSV files from remote servers.</span><br />
<br />
-<h3 style='display: inline' id='Otherserverlesscommands'>Other serverless commands</h3><br />
+<h3 style='display: inline' id='other-serverless-commands'>Other serverless commands</h3><br />
<br />
<span>The serverless mode works transparently with all other DTail commands. Here are some examples:</span><br />
<br />
diff --git a/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html b/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
index 0e3b8396..5e60c9ad 100644
--- a/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
+++ b/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='KISSstaticwebphotoalbumswithphotoalbumsh'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></h1><br />
+<h1 style='display: inline' id='kiss-static-web-photo-albums-with-photoalbumsh'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></h1><br />
<br />
<span class='quote'>Published at 2023-10-29T22:25:04+02:00</span><br />
<br />
@@ -29,7 +29,7 @@
&#39;._____________________________________________.&#39;
</pre>
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
<span>Once in a while, I share photos on the inter-web with either family and friends or on my The Irregular Ninja photo site. One hobby of mine is photography (even though I don&#39;t have enough time for it - so I am primarily a point-and-shoot photographer).</span><br />
<br />
@@ -37,11 +37,11 @@
<br />
<span>I value KISS (keep it simple and stupid) and simplicity. All that&#39;s required for a web photo album is some simple HTML and spice it up with CSS. No need for JavaScript, no need for a complex dynamic website. </span><br />
<br />
-<h2 style='display: inline' id='Introducingphotoalbumsh'>Introducing <span class='inlinecode'>photoalbum.sh</span></h2><br />
+<h2 style='display: inline' id='introducing-photoalbumsh'>Introducing <span class='inlinecode'>photoalbum.sh</span></h2><br />
<br />
<span><span class='inlinecode'>photoalbum.sh</span> is a minimal Bash (Bourne Again Shell) script for Unix-like operating systems (such as Linux) to generate static web photo albums. The resulting static photo album is pure HTML+CSS (without any JavaScript!). It is specially designed to be as simple as possible.</span><br />
<br />
-<h2 style='display: inline' id='Installation'>Installation</h2><br />
+<h2 style='display: inline' id='installation'>Installation</h2><br />
<br />
<span>Installation is straightforward. All required is a recent version of GNU Bash, GNU Make, Git and ImageMagick. On Fedora, the dependencies are installed with:</span><br />
<br />
@@ -84,7 +84,7 @@ cp ./src/photoalbum.default.conf /etc/default/photoalbum
This is Photoalbum Version 0.5.1
</pre>
<br />
-<h2 style='display: inline' id='Settingitup'>Setting it up</h2><br />
+<h2 style='display: inline' id='setting-it-up'>Setting it up</h2><br />
<br />
<span>Now, it&#39;s time to set up the Irregular Ninja static web photo album (or any other web photo album you may be setting up!)! Create a directory (here: <span class='inlinecode'>irregular.ninja</span> for the Irregular Ninja Photo site - or any oter sub-directory reflecting your album&#39;s name), and inside of that directory, create an <span class='inlinecode'>incoming</span> directory. The <span class='inlinecode'>incoming</span> directory. Copy all photos to be part of the album there.</span><br />
<br />
@@ -197,7 +197,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>So I changed the album title, adjusted some image and thumbnail dimensions, and I want all images to be randomly shuffled every time the album is generated! I also have all my photos in my Nextcloud Photo directory and don&#39;t want to copy them to the local <span class='inlinecode'>incoming</span> directory. Also, a tarball containing the whole album as a download isn&#39;t provided.</span><br />
<br />
-<h2 style='display: inline' id='Generatingthestaticphotoalbum'>Generating the static photo album</h2><br />
+<h2 style='display: inline' id='generating-the-static-photo-album'>Generating the static photo album</h2><br />
<br />
<span>Let&#39;s generate it. Depending on the image sizes and count, the following step may take a while. </span><br />
<br />
@@ -260,15 +260,15 @@ blurs html index.html photos thumbs
<br />
<span class='quote'>PS: There&#39;s also a server-side synchronisation script mirroring the same content to another server for high availability reasons (out of scope for this blog post).</span><br />
<br />
-<h2 style='display: inline' id='Cleaningitup'>Cleaning it up</h2><br />
+<h2 style='display: inline' id='cleaning-it-up'>Cleaning it up</h2><br />
<br />
<span>A simple <span class='inlinecode'>make clean</span> will clean up the <span class='inlinecode'>./dist</span> directory and all other (if any) temp files created.</span><br />
<br />
-<h2 style='display: inline' id='HTMLtemplates'>HTML templates</h2><br />
+<h2 style='display: inline' id='html-templates'>HTML templates</h2><br />
<br />
<span>Poke around in this source directory. You will find a bunch of Bash-HTML template files. You could tweak them to your liking. </span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>A decent looking (in my opinion, at least) in less than 500 (273 as of this writing, to be precise) lines of Bash code and with minimal dependencies; what more do you want? How many LOCs would this be in Raku with the same functionality (can it be sub-100?). </span><br />
<br />
diff --git a/gemfeed/2023-11-11-mind-management-book-notes.html b/gemfeed/2023-11-11-mind-management-book-notes.html
index 7dbd1ae5..dca860af 100644
--- a/gemfeed/2023-11-11-mind-management-book-notes.html
+++ b/gemfeed/2023-11-11-mind-management-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='MindManagementbooknotes'>"Mind Management" book notes</h1><br />
+<h1 style='display: inline' id='mind-management-book-notes'>"Mind Management" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-11-11T22:21:47+02:00</span><br />
<br />
@@ -32,11 +32,11 @@
<li>The point of diminishing returns</li>
<li>The point of negative return</li>
</ul><br />
-<h2 style='display: inline' id='Emptyslotsinthecalendar'>Empty slots in the calendar</h2><br />
+<h2 style='display: inline' id='empty-slots-in-the-calendar'>Empty slots in the calendar</h2><br />
<br />
<span>If we do more things in less time and use all possible slots, speed read, etc., we are more productive. But in reality, that&#39;s not the entire truth. You also exchange one thing against everything else.... You cut out too much from your actual life.</span><br />
<br />
-<h2 style='display: inline' id='Whenyousafetime'>When you safe time...</h2><br />
+<h2 style='display: inline' id='when-you-safe-time'>When you safe time...</h2><br />
<br />
<span>...keep it.</span><br />
<br />
@@ -45,7 +45,7 @@
<li>Creative thinking needs space. It will pay dividends tomorrow.</li>
<li>You will be rewarded with the "Eureka effect" - a sudden new insight.</li>
</ul><br />
-<h2 style='display: inline' id='Followyourmood'>Follow your mood</h2><br />
+<h2 style='display: inline' id='follow-your-mood'>Follow your mood</h2><br />
<br />
<span>Ask yourself: what is my mood now? We never have the energy to do anything, so the better strategy is to follow your current mode and energy. E.g.:</span><br />
<br />
@@ -53,7 +53,7 @@
<li>Didn&#39;t sleep enough today? Then, do simple, non-demanding tasks at work</li>
<li>Had a great sleep, and there is even time before work starts? Pull in a workout...</li>
</ul><br />
-<h2 style='display: inline' id='Boostingcreativity'>Boosting creativity</h2><br />
+<h2 style='display: inline' id='boosting-creativity'>Boosting creativity</h2><br />
<br />
<span>The morning without coffee is a gift for creativity, but you often get distracted. Minimize distractions, too. I have no window to stare out but a plain blank wall.</span><br />
<br />
@@ -63,7 +63,7 @@
<li>Don&#39;t race with time but walk alongside it as rough time lines.</li>
<li>Don&#39;t judge every day after the harvest, but the seed you lay</li>
</ul><br />
-<h2 style='display: inline' id='Therightmoodforthetaskathand'>The right mood for the task at hand</h2><br />
+<h2 style='display: inline' id='the-right-mood-for-the-task-at-hand'>The right mood for the task at hand</h2><br />
<br />
<span>We need to try many different combinations. Limiting ourselves and trying too hard makes us frustrated and burn out. Creativity requires many iterations.</span><br />
<br />
@@ -77,7 +77,7 @@
<br />
<span>It gives you pleasure and is in a good mood. This increases creativity if you do what you want to do.</span><br />
<br />
-<h2 style='display: inline' id='Creativityhacks'>Creativity hacks</h2><br />
+<h2 style='display: inline' id='creativity-hacks'>Creativity hacks</h2><br />
<br />
<ul>
<li>Coffee can cause anxiety.</li>
@@ -88,7 +88,7 @@
<li>Go to open spaces for creativity.</li>
<li>Go to closed spaces for polishing.</li>
</ul><br />
-<h2 style='display: inline' id='Planningandstrategizing'>Planning and strategizing</h2><br />
+<h2 style='display: inline' id='planning-and-strategizing'>Planning and strategizing</h2><br />
<br />
<span>Minds work better in sprints and not in marathons. Have a weekly plan, not a daily one.</span><br />
<br />
@@ -101,7 +101,7 @@
<br />
<span>You could schedule exploratory tasks when you are under grief. Sound systems should create slack for creativity. Plan only for a few minutes.</span><br />
<br />
-<h2 style='display: inline' id='Fakeituntilyoumakeit'>Fake it until you make it. </h2><br />
+<h2 style='display: inline' id='fake-it-until-you-make-it-'>Fake it until you make it. </h2><br />
<br />
<ul>
<li>E.g. act calm if you want to be calm.</li>
diff --git a/gemfeed/2023-11-19-site-reliability-engineering-part-2.html b/gemfeed/2023-11-19-site-reliability-engineering-part-2.html
index 3a7d7864..10431716 100644
--- a/gemfeed/2023-11-19-site-reliability-engineering-part-2.html
+++ b/gemfeed/2023-11-19-site-reliability-engineering-part-2.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SiteReliabilityEngineeringPart2OperationalBalanceinSRE'>Site Reliability Engineering - Part 2: Operational Balance in SRE</h1><br />
+<h1 style='display: inline' id='site-reliability-engineering---part-2-operational-balance-in-sre'>Site Reliability Engineering - Part 2: Operational Balance in SRE</h1><br />
<br />
<span class='quote'>Published at 2023-11-19T00:18:18+03:00</span><br />
<br />
@@ -16,7 +16,7 @@
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE (You are currently reading this)</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<pre>
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
@@ -33,7 +33,7 @@
⠀⠀⠀⠀⠀⠀⠴⠶⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠶⠦⠀⠀
</pre>
<br />
-<h2 style='display: inline' id='OperationalBalanceinSREStrikingtheRightBalanceBetweenReliabilityandSpeed'>Operational Balance in SRE: Striking the Right Balance Between Reliability and Speed</h2><br />
+<h2 style='display: inline' id='operational-balance-in-sre-striking-the-right-balance-between-reliability-and-speed'>Operational Balance in SRE: Striking the Right Balance Between Reliability and Speed</h2><br />
<br />
<span>Site Reliability Engineering is more than just a bunch of best practices or methods. It&#39;s a guiding light for engineering teams, helping them navigate the tricky waters of modern software development and system management.</span><br />
<span>In the world of software production, there are two big forces that often clash: the push for fast feature releases (velocity) and the need for reliable systems. Traditionally, moving faster meant more risk. SRE helps balance these opposing goals with things like error budgets and SLIs/SLOs. These tools give teams a clear way to measure how much they can push changes without hurting system health. So, the error budget becomes a balancing act, helping teams trade off between innovation and reliability.</span><br />
@@ -52,7 +52,7 @@
<br />
<span>Continue with the third part of this series:</span><br />
<br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<span>E-Mail your comments to <span class='inlinecode'>paul@nospam.buetow.org</span> :-)</span><br />
<br />
diff --git a/gemfeed/2023-12-10-bash-golf-part-3.html b/gemfeed/2023-12-10-bash-golf-part-3.html
index bf31b66c..dc1a95f3 100644
--- a/gemfeed/2023-12-10-bash-golf-part-3.html
+++ b/gemfeed/2023-12-10-bash-golf-part-3.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='BashGolfPart3'>Bash Golf Part 3</h1><br />
+<h1 style='display: inline' id='bash-golf-part-3'>Bash Golf Part 3</h1><br />
<br />
<span class='quote'>Published at 2023-12-10T11:35:54+02:00</span><br />
<br />
@@ -29,7 +29,7 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<a class='textlink' href='./2022-01-01-bash-golf-part-2.html'>2022-01-01 Bash Golf Part 2</a><br />
<a class='textlink' href='./2023-12-10-bash-golf-part-3.html'>2023-12-10 Bash Golf Part 3 (You are currently reading this)</a><br />
<br />
-<h2 style='display: inline' id='FUNCNAME'><span class='inlinecode'>FUNCNAME</span></h2><br />
+<h2 style='display: inline' id='funcname'><span class='inlinecode'>FUNCNAME</span></h2><br />
<br />
<span><span class='inlinecode'>FUNCNAME</span> is an array you are looking for a way to dynamically determine the name of the current function (which could be considered the callee in the context of its own execution), you can use the special variable <span class='inlinecode'>FUNCNAME</span>. This is an array variable that contains the names of all shell functions currently in the execution call stack. The element <span class='inlinecode'>FUNCNAME[0]</span> holds the name of the currently executing function, <span class='inlinecode'>FUNCNAME[1]</span> the name of the function that called that, and so on.</span><br />
<br />
@@ -69,7 +69,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">INFO</font><font color="#F3E651">|</font><font color="#bb00ff">20231210</font><font color="#ff0000">-</font><font color="#bb00ff">082732</font><font color="#F3E651">|</font><font color="#bb00ff">123002</font><font color="#F3E651">|</font><font color="#ff0000">at_home_friday_evening</font><font color="#F3E651">|</font><font color="#ff0000">One Peperoni Pizza</font><font color="#F3E651">,</font><font color="#ff0000"> please</font>
</pre>
<br />
-<h2 style='display: inline' id=''><span class='inlinecode'>:(){ :|:&amp; };:</span></h2><br />
+<h2 style='display: inline' id='--'><span class='inlinecode'>:(){ :|:&amp; };:</span></h2><br />
<br />
<span>This one may be widely known already, but I am including it here as I found a cute image illustrating it. But to break <span class='inlinecode'>:(){ :|:&amp; };:</span> down:</span><br />
<br />
@@ -92,7 +92,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./bash-golf-part-3/bash-fork-bomb.jpg'><img alt='Bash fork bomb' title='Bash fork bomb' src='./bash-golf-part-3/bash-fork-bomb.jpg' /></a><br />
<br />
-<h2 style='display: inline' id='Innerfunctions'>Inner functions</h2><br />
+<h2 style='display: inline' id='inner-functions'>Inner functions</h2><br />
<br />
<span>Bash defines variables as it is interpreting the code. The same applies to function declarations. Let&#39;s consider this code:</span><br />
<br />
@@ -161,7 +161,7 @@ Wintel inside!
Wintel inside!
</pre>
<br />
-<h2 style='display: inline' id='Exportingfunctions'>Exporting functions</h2><br />
+<h2 style='display: inline' id='exporting-functions'>Exporting functions</h2><br />
<br />
<span>Have you ever wondered how to execute a shell function in parallel through <span class='inlinecode'>xargs</span>? The problem is that this won&#39;t work:</span><br />
<br />
@@ -251,7 +251,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>... because <span class='inlinecode'>some_other_function</span> isn&#39;t exported! You will also need to add an <span class='inlinecode'>export -f some_other_function</span>!</span><br />
<br />
-<h2 style='display: inline' id='Dynamicvariableswithlocal'>Dynamic variables with <span class='inlinecode'>local</span></h2><br />
+<h2 style='display: inline' id='dynamic-variables-with-local'>Dynamic variables with <span class='inlinecode'>local</span></h2><br />
<br />
<span>You may know that <span class='inlinecode'>local</span> is how to declare local variables in a function. Most don&#39;t know that those variables actually have dynamic scope. Let&#39;s consider the following example:</span><br />
<br />
@@ -291,7 +291,7 @@ foo
<span>What happened? The variable <span class='inlinecode'>foo</span> (declared with <span class='inlinecode'>local</span>) is available in the function it was declared in and in all other functions down the call stack! We can even modify the value of <span class='inlinecode'>foo</span>, and the change will be visible up the call stack. It&#39;s not a global variable; on the last line, <span class='inlinecode'>echo "$foo"</span> echoes the global variable content.</span><br />
<br />
<br />
-<h2 style='display: inline' id='ifconditionals'><span class='inlinecode'>if</span> conditionals</h2><br />
+<h2 style='display: inline' id='if-conditionals'><span class='inlinecode'>if</span> conditionals</h2><br />
<br />
<span>Consider all variants here more or less equivalent:</span><br />
<br />
@@ -342,7 +342,7 @@ ok4a
ok4b
</pre>
<br />
-<h2 style='display: inline' id='Multilinecomments'>Multi-line comments</h2><br />
+<h2 style='display: inline' id='multi-line-comments'>Multi-line comments</h2><br />
<br />
<span>You all know how to comment. Put a <span class='inlinecode'>#</span> in front of it. You could use multiple single-line comments or abuse heredocs and redirect it to the <span class='inlinecode'>:</span> no-op command to emulate multi-line comments. </span><br />
<br />
@@ -366,7 +366,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I will not demonstrate the execution of this script, as it won&#39;t print anything! It&#39;s obviously not the most pretty way of commenting on your code, but it could sometimes be handy!</span><br />
<br />
-<h2 style='display: inline' id='Dontchangeitwhileitsexecuted'>Don&#39;t change it while it&#39;s executed</h2><br />
+<h2 style='display: inline' id='dont-change-it-while-its-executed'>Don&#39;t change it while it&#39;s executed</h2><br />
<br />
<span>Consider this script:</span><br />
<br />
diff --git a/gemfeed/2024-01-09-site-reliability-engineering-part-3.html b/gemfeed/2024-01-09-site-reliability-engineering-part-3.html
index dafb0433..460d6f0d 100644
--- a/gemfeed/2024-01-09-site-reliability-engineering-part-3.html
+++ b/gemfeed/2024-01-09-site-reliability-engineering-part-3.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SiteReliabilityEngineeringPart3OnCallCultureandtheHumanSide'>Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</h1><br />
+<h1 style='display: inline' id='site-reliability-engineering---part-3-on-call-culture-and-the-human-side'>Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</h1><br />
<br />
<span class='quote'>Published at 2024-01-09T18:35:48+02:00</span><br />
<br />
@@ -16,7 +16,7 @@
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect (You are currently reading this)</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side (You are currently reading this)</a><br />
<br />
<pre>
..--""""----..
@@ -44,7 +44,7 @@
</pre>
<br />
-<h2 style='display: inline' id='OnCallCultureandtheHumanSidePuttingWellbeingFirstintheWorldofReliability'>On-Call Culture and the Human Side: Putting Well-being First in the World of Reliability</h2><br />
+<h2 style='display: inline' id='on-call-culture-and-the-human-side-putting-well-being-first-in-the-world-of-reliability'>On-Call Culture and the Human Side: Putting Well-being First in the World of Reliability</h2><br />
<br />
<span>Site Reliability Engineering is all about keeping systems reliable, but we often forget how important the human side is. A healthy on-call culture is just as crucial as any technical fix. The well-being of the engineers really matters.</span><br />
<br />
diff --git a/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.html b/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.html
index 0ab47be0..80e12ca5 100644
--- a/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.html
+++ b/gemfeed/2024-01-13-one-reason-why-i-love-openbsd.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='OnereasonwhyIloveOpenBSD'>One reason why I love OpenBSD</h1><br />
+<h1 style='display: inline' id='one-reason-why-i-love-openbsd'>One reason why I love OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2024-01-13T22:55:33+02:00</span><br />
<br />
diff --git a/gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html b/gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html
index db7cc6c0..3714025a 100644
--- a/gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html
+++ b/gemfeed/2024-02-04-from-babylon5.buetow.org-to-.cloud.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Frombabylon5buetoworgtobuetowcloud'>From <span class='inlinecode'>babylon5.buetow.org</span> to <span class='inlinecode'>*.buetow.cloud</span></h1><br />
+<h1 style='display: inline' id='from-babylon5buetoworg-to-buetowcloud'>From <span class='inlinecode'>babylon5.buetow.org</span> to <span class='inlinecode'>*.buetow.cloud</span></h1><br />
<br />
<span class='quote'>Published at 2024-02-04T00:50:50+02:00</span><br />
<br />
@@ -18,7 +18,7 @@
<br />
<a href='./from-.org-to-.cloud/old-man-yells-at-cloud.jpg'><img alt='Old man yells at cloud' title='Old man yells at cloud' src='./from-.org-to-.cloud/old-man-yells-at-cloud.jpg' /></a><br />
<br />
-<h2 style='display: inline' id='Theoldbuetoworgway'>The old <span class='inlinecode'>*.buetow.org</span> way</h2><br />
+<h2 style='display: inline' id='the-old-buetoworg-way'>The old <span class='inlinecode'>*.buetow.org</span> way</h2><br />
<br />
<span>Before the migration, all those services were reachable through <span class='inlinecode'>buetow.org</span>-subdomains (Buetow is my last name) and ran on Docker containers on a single Rocky Linux 9 VM at Hetzner. And there was a Nginx reverse proxy with TLS offloading (with Let&#39;s Encrypt certificates). The Rocky Linux 9&#39;s hostname was <span class='inlinecode'>babylon5.buetow.org</span> (based on the Science Fiction series). </span><br />
<br />
@@ -38,7 +38,7 @@
<li>KISS (Keep it Simple Stupid)</li>
<li>Cheap</li>
</ul><br />
-<h2 style='display: inline' id='IkeptmybuetoworgOpenBSDboxesalive'>I kept my <span class='inlinecode'>buetow.org</span> OpenBSD boxes alive</h2><br />
+<h2 style='display: inline' id='i-kept-my-buetoworg-openbsd-boxes-alive'>I kept my <span class='inlinecode'>buetow.org</span> OpenBSD boxes alive</h2><br />
<br />
<span>As pointed out, I only migrated the Docker-based self-hosted services (which run on the Babylon 5 Rocky Linux box) to AWS. Many self-hostable apps come with ready-to-use container images, making deploying them easy.</span><br />
<br />
@@ -59,7 +59,7 @@
<a class='textlink' href='./2023-06-01-kiss-server-monitoring-with-gogios.html'>KISS server monitoring with Gogios</a><br />
<a class='textlink' href='./2022-07-30-lets-encrypt-with-openbsd-and-rex.html'>Let&#39;s encrypt with OpenBSD and Rex</a><br />
<br />
-<h2 style='display: inline' id='Thenewbuetowcloudway'>The new <span class='inlinecode'>*.buetow.cloud</span> way</h2><br />
+<h2 style='display: inline' id='the-new-buetowcloud-way'>The new <span class='inlinecode'>*.buetow.cloud</span> way</h2><br />
<br />
<span>With AWS, I decided to get myself a new domain name, as I could fully separate my AWS setup from my conventional setup and give Route 53 as an authoritative DNS a spin.</span><br />
<br />
@@ -89,7 +89,7 @@
<li><span class='inlinecode'>org-buetow-elb</span> sets up the Elastic Load Balancer, a prerequisite for any service running in ECS Fargate.</li>
<li><span class='inlinecode'>org-buetow-ecs</span> finally sets up and deploys all the Docker apps mentioned above. Any apps can be turned on or off via the <span class='inlinecode'>variables.tf</span> file.</li>
</ul><br />
-<h2 style='display: inline' id='Thecontainerapps'>The container apps</h2><br />
+<h2 style='display: inline' id='the-container-apps'>The container apps</h2><br />
<br />
<span>And here, finally, is the list of all the container apps my Terraform manifests deploy. The FQDNs here may not be reachable. I spin them up only on demand (for cost reasons). All services are fully dual-stacked (IPv4 &amp; IPv6). </span><br />
<br />
@@ -160,7 +160,7 @@
<br />
<span>This is a tiny ARM-based Amazon Linux EC2 instance, which I sometimes spin up for investigation or manual work on my EFS file system in AWS.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>I have learned a lot about AWS and Terraform during this migration. This was actually my first AWS hands-on project with practical use.</span><br />
<br />
diff --git a/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html
index cfdcfbc7..dc40f443 100644
--- a/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html
+++ b/gemfeed/2024-03-03-a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-golang.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='AfineFyneAndroidappforquicklyloggingideasprogrammedinGo'>A fine Fyne Android app for quickly logging ideas programmed in Go</h1><br />
+<h1 style='display: inline' id='a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-go'>A fine Fyne Android app for quickly logging ideas programmed in Go</h1><br />
<br />
<span class='quote'>Published at 2024-03-03T00:07:21+02:00</span><br />
<br />
@@ -40,7 +40,7 @@
<br />
<span>My Android apps will never be polished, but they will get the job done, and this is precisely how I want them to be. Minimalistic but functional. I could spend more time polishing Quick logger, but my Quick logger app then may be the same as any other notes app out there (complicated or bloated).</span><br />
<br />
-<h2 style='display: inline' id='Alleasypeasy'>All easy-peasy?</h2><br />
+<h2 style='display: inline' id='all-easy-peasy'>All easy-peasy?</h2><br />
<br />
<span>I did have some issues with the app logo for Android, though. Android always showed the default app icon and not my custom icon whenever I used a custom <span class='inlinecode'>AndroidManifest.xml</span> for custom app storage permissions. Without a custom <span class='inlinecode'>AndroidAmnifest.xml</span> the app icon would be displayed under Android, but then the app would not have the <span class='inlinecode'>MANAGE_EXTERNAL_STORAGE</span> permission, which is required for Quick logger to write to a custom directory. I found a workaround, which I commented on here at Github:</span><br />
<br />
diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
index c142a1a3..f1fa34d8 100644
--- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
+++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='KISShighavailabilitywithOpenBSD'>KISS high-availability with OpenBSD</h1><br />
+<h1 style='display: inline' id='kiss-high-availability-with-openbsd'>KISS high-availability with OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2024-03-30T22:12:56+02:00</span><br />
<br />
@@ -37,23 +37,21 @@ _____|_:_:_| (o)-(o) |_:_:_|--&#39;`-. ,--. ksh under-water (((\&#39;/
</pre>
<br />
-<pre>
-Table of contents
-=================
-
-KISS high-availability with OpenBSD
- My auto-failover requirements
- My HA solution
- Only OpenBSD base installation required
- Fairly cheap and geo-redundant
- Failover time and split-brain
- Failover support for multiple protocols
- Let&#39;s encrypt TLS certificates
- Monitoring
- Rex automation
- More HA
-</pre>
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
<br />
+<ul>
+<li><a href='#kiss-high-availability-with-openbsd'>KISS high-availability with OpenBSD</a></li>
+<li>⇢ <a href='#my-auto-failover-requirements'>My auto-failover requirements</a></li>
+<li>⇢ <a href='#my-ha-solution'>My HA solution</a></li>
+<li>⇢ ⇢ <a href='#only-openbsd-base-installation-required'>Only OpenBSD base installation required</a></li>
+<li>⇢ ⇢ <a href='#fairly-cheap-and-geo-redundant'>Fairly cheap and geo-redundant</a></li>
+<li>⇢ ⇢ <a href='#failover-time-and-split-brain'>Failover time and split-brain</a></li>
+<li>⇢ ⇢ <a href='#failover-support-for-multiple-protocols'>Failover support for multiple protocols</a></li>
+<li>⇢ ⇢ <a href='#lets-encrypt-tls-certificates'>Let&#39;s encrypt TLS certificates</a></li>
+<li>⇢ ⇢ <a href='#monitoring'>Monitoring</a></li>
+<li>⇢ ⇢ <a href='#rex-automation'>Rex automation</a></li>
+<li>⇢ <a href='#more-ha'>More HA</a></li>
+</ul><br />
<span>I have always wanted a highly available setup for my personal websites. I could have used off-the-shelf hosting solutions or hosted my sites in an AWS S3 bucket. I have used technologies like (in unsorted and slightly unrelated order) BGP, LVS/IPVS, ldirectord, Pacemaker, STONITH, scripted VIP failover via ARP, heartbeat, heartbeat2, Corosync, keepalived, DRBD, and commercial F5 Load Balancers for high availability at work. </span><br />
<br />
<span>But still, my personal sites were never highly available. All those technologies are great for professional use, but I was looking for something much more straightforward for my personal space - something as KISS (keep it simple and stupid) as possible.</span><br />
@@ -62,7 +60,7 @@ KISS high-availability with OpenBSD
<br />
<span class='quote'>PS: ASCII-art reflects an OpenBSD under-water world with all the tools available in the base system.</span><br />
<br />
-<h2 style='display: inline' id='Myautofailoverrequirements'>My auto-failover requirements</h2><br />
+<h2 style='display: inline' id='my-auto-failover-requirements'>My auto-failover requirements</h2><br />
<br />
<ul>
<li>Be OpenBSD-based (I prefer OpenBSD because of the cleanliness and good documentation) and rely on as few external packages as possible. </li>
@@ -75,9 +73,9 @@ KISS high-availability with OpenBSD
<li>Have good monitoring in place so I know when a failover was performed and when something went wrong with the failover.</li>
<li>Don&#39;t configure everything manually. The configuration should be automated and reproducible.</li>
</ul><br />
-<h2 style='display: inline' id='MyHAsolution'>My HA solution</h2><br />
+<h2 style='display: inline' id='my-ha-solution'>My HA solution</h2><br />
<br />
-<h3 style='display: inline' id='OnlyOpenBSDbaseinstallationrequired'>Only OpenBSD base installation required</h3><br />
+<h3 style='display: inline' id='only-openbsd-base-installation-required'>Only OpenBSD base installation required</h3><br />
<br />
<span>My HA solution for Web and Gemini is based on DNS (OpenBSD&#39;s <span class='inlinecode'>nsd</span>) and a simple shell script (OpenBSD&#39;s <span class='inlinecode'>ksh</span> and some little <span class='inlinecode'>sed</span> and <span class='inlinecode'>awk</span> and <span class='inlinecode'>grep</span>). All software used here is part of the OpenBSD base system and no external package needs to be installed - OpenBSD is a complete operating system.</span><br />
<br />
@@ -233,7 +231,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://codeberg.org/snonux/rexfiles/src/branch/master/frontends/scripts/dns-failover.ksh'>dns-failover.ksh</a><br />
<br />
-<h3 style='display: inline' id='Fairlycheapandgeoredundant'>Fairly cheap and geo-redundant</h3><br />
+<h3 style='display: inline' id='fairly-cheap-and-geo-redundant'>Fairly cheap and geo-redundant</h3><br />
<br />
<span>I am renting two small OpenBSD VMs: One at OpenBSD Amsterdam and the other at Hetzner Cloud. So, both VMs are hosted at another provider, in different IP subnets, and in different countries (the Netherlands and Germany).</span><br />
<br />
@@ -244,13 +242,13 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>A DNS-based failover is cheap, as there isn&#39;t any BGP or fancy load balancer to pay for. Small VMs also cost less than millions.</span><br />
<br />
-<h3 style='display: inline' id='Failovertimeandsplitbrain'>Failover time and split-brain</h3><br />
+<h3 style='display: inline' id='failover-time-and-split-brain'>Failover time and split-brain</h3><br />
<br />
<span>A DNS failover doesn&#39;t happen immediately. I&#39;ve configured a DNS TTL of <span class='inlinecode'>300</span> seconds, and the failover script checks once per minute whether to perform a failover or not. So, in total, a failover can take six minutes (not including other DNS caching servers somewhere in the interweb, but that&#39;s fine - eventually, all requests will resolve to the new master after a failover).</span><br />
<br />
<span>A split-brain scenario between the old master and the new master might happen. That&#39;s OK, as my sites are static, and there&#39;s no database to synchronise other than HTML, CSS, and images when the site is updated.</span><br />
<br />
-<h3 style='display: inline' id='Failoversupportformultipleprotocols'>Failover support for multiple protocols</h3><br />
+<h3 style='display: inline' id='failover-support-for-multiple-protocols'>Failover support for multiple protocols</h3><br />
<br />
<span>With the DNS failover, HTTP, HTTPS, and Gemini protocols are failovered. This works because all domain virtual hosts are configured on either VM&#39;s <span class='inlinecode'>httpd</span> (OpenBSD&#39;s HTTP server) and <span class='inlinecode'>relayd</span> (it&#39;s also part of OpenBSD and I use it to TLS offload the Gemini protocol). So, both VMs accept requests for all the hosts. It&#39;s just a matter of the DNS entries, which VM receives the requests.</span><br />
<br />
@@ -261,7 +259,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>On DNS failover, master and standby swap roles without config changes other than the DNS entries. That&#39;s KISS (keep it simple and stupid)!</span><br />
<br />
-<h3 style='display: inline' id='LetsencryptTLScertificates'>Let&#39;s encrypt TLS certificates</h3><br />
+<h3 style='display: inline' id='lets-encrypt-tls-certificates'>Let&#39;s encrypt TLS certificates</h3><br />
<br />
<span>All my hosts use TLS certificates from Let&#39;s Encrypt. The ACME automation for requesting and keeping the certificates valid (up to date) requires that the host requesting a certificate from Let&#39;s Encrypt is also the host using that certificate.</span><br />
<br />
@@ -298,7 +296,7 @@ http://www.gnu.org/software/src-highlite -->
<a class='textlink' href='https://man.OpenBSD.org/acme-client.1'>https://man.OpenBSD.org/acme-client.1</a><br />
<a class='textlink' href='./2022-07-30-lets-encrypt-with-openbsd-and-rex.html'>Let&#39;s Encrypt with OpenBSD and Rex</a><br />
<br />
-<h3 style='display: inline' id='Monitoring'>Monitoring</h3><br />
+<h3 style='display: inline' id='monitoring'>Monitoring</h3><br />
<br />
<span>CRON is sending me an E-Mail whenever a failover is performed (or whenever a failover failed). Furthermore, I am monitoring my DNS servers and hosts through Gogios, the monitoring system I have developed. </span><br />
<br />
@@ -307,7 +305,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Gogios, as I developed it by myself, isn&#39;t part of the OpenBSD base system. </span><br />
<br />
-<h3 style='display: inline' id='Rexautomation'>Rex automation</h3><br />
+<h3 style='display: inline' id='rex-automation'>Rex automation</h3><br />
<br />
<span>I use Rexify, a friendly configuration management system that allows automatic deployment and configuration.</span><br />
<br />
@@ -316,7 +314,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Rex isn&#39;t part of the OpenBSD base system, but I didn&#39;t need to install any external software on OpenBSD either as Rex is invoked from my Laptop!</span><br />
<br />
-<h2 style='display: inline' id='MoreHA'>More HA</h2><br />
+<h2 style='display: inline' id='more-ha'>More HA</h2><br />
<br />
<span>Other high-available services running on my OpenBSD VMs are my MTAs for mail forwarding (OpenSMTPD - also part of the OpenBSD base system) and the authoritative DNS servers (<span class='inlinecode'>nsd</span>) for all my domains. No particular HA setup is required, though, as the protocols (SMTP and DNS) already take care of the failover to the next available host! </span><br />
<br />
diff --git a/gemfeed/2024-05-01-slow-productivity-book-notes.html b/gemfeed/2024-05-01-slow-productivity-book-notes.html
index 2354d337..055f9585 100644
--- a/gemfeed/2024-05-01-slow-productivity-book-notes.html
+++ b/gemfeed/2024-05-01-slow-productivity-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='SlowProductivitybooknotes'>"Slow Productivity" book notes</h1><br />
+<h1 style='display: inline' id='slow-productivity-book-notes'>"Slow Productivity" book notes</h1><br />
<br />
<span class='quote'>Published at 2024-04-27T14:18:51+03:00</span><br />
<br />
@@ -32,7 +32,7 @@
<br />
<span>"Slow productivity" does not mean being less productive. Cal Newport wants to point out that you can be much more productive with "slow productivity" than you would be without it. It is a different way of working than most of us are used to in the modern workplace, which is hyper-connected and always online.</span><br />
<br />
-<h2 style='display: inline' id='PseudoproductivityandShallowwork'>Pseudo-productivity and Shallow work</h2><br />
+<h2 style='display: inline' id='pseudo-productivity-and-shallow-work'>Pseudo-productivity and Shallow work</h2><br />
<br />
<span>People use visible activity instead of real productivity because it&#39;s easier to measure. This is called pseudo-productivity.</span><br />
<span>Pseudo-productivity is used as a proxy for real productivity. If you don&#39;t look busy, you are dismissed as lazy or lacking a work ethic.</span><br />
@@ -41,7 +41,7 @@
<br />
<span>Shallow work usually doesn&#39;t help you to accomplish big things. Always have the big picture in mind. Shallow work can&#39;t be entirely eliminated, but it can be managed—for example, plan dedicated time slots for certain types of shallow work.</span><br />
<br />
-<h2 style='display: inline' id='Accomplishmentswithoutburnout'>Accomplishments without burnout</h2><br />
+<h2 style='display: inline' id='accomplishments-without-burnout'>Accomplishments without burnout</h2><br />
<br />
<span>The overall perception is that if you want to accomplish something, you must put yourself on the verge of burnout. Cal Newport writes about "The lost Art of Accomplishments without Burnouts", where you can accomplish big things without all the stress usually involved.</span><br />
<br />
@@ -52,7 +52,7 @@
<li>Work at a natural pace</li>
<li>Obsess over quality</li>
</ul><br />
-<h2 style='display: inline' id='Dofewerthings'>Do fewer things</h2><br />
+<h2 style='display: inline' id='do-fewer-things'>Do fewer things</h2><br />
<br />
<span>There will always be more work. The faster you finish it, the quicker you will have something new on your plate.</span><br />
<br />
@@ -86,7 +86,7 @@
<br />
<span>Put tasks on autopilot (regular recurring tasks).</span><br />
<br />
-<h2 style='display: inline' id='Workatanaturalpace'>Work at a natural pace</h2><br />
+<h2 style='display: inline' id='work-at-a-natural-pace'>Work at a natural pace</h2><br />
<br />
<span>We suffer from overambitious timelines, task lists, and business. Focus on what matters. Don&#39;t rush your most important work to achieve better results.</span><br />
<br />
@@ -102,7 +102,7 @@
<br />
<span>Schedule slow seasons (e.g., when on vacation). Disconnect in the slow season. Doing nothing will not satisfy your mind, though. You could read a book on your subject matter to counteract that.</span><br />
<br />
-<h2 style='display: inline' id='Obsessoverquality'>Obsess over quality </h2><br />
+<h2 style='display: inline' id='obsess-over-quality-'>Obsess over quality </h2><br />
<br />
<span>Obsess over quality even if you lose short-term opportunities by rejecting other projects. Quality demands you slow down. The two previous two principles (do fewer things and work at a natural pace) are mandatory for this principle to work:</span><br />
<br />
diff --git a/gemfeed/2024-05-03-projects-i-currently-dont-have-time-for.html b/gemfeed/2024-05-03-projects-i-currently-dont-have-time-for.html
index 9b6358cb..90b52a85 100644
--- a/gemfeed/2024-05-03-projects-i-currently-dont-have-time-for.html
+++ b/gemfeed/2024-05-03-projects-i-currently-dont-have-time-for.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='ProjectsIcurrentlydonthavetimefor'>Projects I currently don&#39;t have time for</h1><br />
+<h1 style='display: inline' id='projects-i-currently-dont-have-time-for'>Projects I currently don&#39;t have time for</h1><br />
<br />
<span class='quote'>Published at 2024-05-03T16:23:03+03:00</span><br />
<br />
@@ -25,58 +25,56 @@ Art by Laura Brown
</pre>
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Over the years, I have collected many ideas for my personal projects and noted them down. I am currently in the process of cleaning up all my notes and reviewing those ideas. I don’t have time for the ones listed here and won’t have any soon due to other commitments and personal projects. So, in order to "get rid of them" from my notes folder, I decided to simply put them in this blog post so that those ideas don&#39;t get lost. Maybe I will pick up one or another idea someday in the future, but for now, they are all put on ice in favor of other personal projects or family time.</span><br />
<br />
-<pre>
-Table of contents
-=================
-
-Projects I currently don&#39;t have time for
- Introduction
- Hardware projects I don&#39;t have time for
- I use Arch, btw!
- OpenBSD home router
- Pi-Hole server
- Infodash
- Reading station
- Retro station
- Sound server
- Project Freekat
- Programming projects I don&#39;t have time for
- CLI-HIVE
- Enhanced KISS home photo albums
- KISS file sync server with end-to-end encryption
- A language that compiles to `bash`
- A language that compiles to `sed`
- Renovate VS-Sim
- KISS ticketing system
- A domain-specific language (DSL) for work
- Self-hosting projects I don&#39;t have time for
- My own Matrix server
- Ampache music server
- Librum eBook reader
- Memos - Note-taking service
- Bepasty server
- Books I don&#39;t have time to read
- Fluent Python
- Programming Ruby
- Peter F. Hamilton science fiction books
- New websites I don&#39;t have time for
- Create a "Why Raku Rox" site
- Research projects I don&#39;t have time for
- Project secure
- CPU utilisation is all wrong
-</pre>
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
<br />
-<h2 style='display: inline' id='HardwareprojectsIdonthavetimefor'>Hardware projects I don&#39;t have time for</h2><br />
+<ul>
+<li><a href='#projects-i-currently-dont-have-time-for'>Projects I currently don&#39;t have time for</a></li>
+<li>⇢ <a href='#introduction'>Introduction</a></li>
+<li>⇢ <a href='#hardware-projects-i-dont-have-time-for'>Hardware projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#i-use-arch-btw'>I use Arch, btw!</a></li>
+<li>⇢ ⇢ <a href='#openbsd-home-router'>OpenBSD home router</a></li>
+<li>⇢ ⇢ <a href='#pi-hole-server'>Pi-Hole server</a></li>
+<li>⇢ ⇢ <a href='#infodash'>Infodash</a></li>
+<li>⇢ ⇢ <a href='#reading-station'>Reading station</a></li>
+<li>⇢ ⇢ <a href='#retro-station'>Retro station</a></li>
+<li>⇢ ⇢ <a href='#sound-server'>Sound server</a></li>
+<li>⇢ ⇢ <a href='#project-freekat'>Project Freekat</a></li>
+<li>⇢ <a href='#programming-projects-i-dont-have-time-for'>Programming projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#cli-hive'>CLI-HIVE</a></li>
+<li>⇢ ⇢ <a href='#enhanced-kiss-home-photo-albums'>Enhanced KISS home photo albums</a></li>
+<li>⇢ ⇢ <a href='#kiss-file-sync-server-with-end-to-end-encryption'>KISS file sync server with end-to-end encryption</a></li>
+<li>⇢ ⇢ <a href='#a-language-that-compiles-to-bash'>A language that compiles to <span class='inlinecode'>bash</span></a></li>
+<li>⇢ ⇢ <a href='#a-language-that-compiles-to-sed'>A language that compiles to <span class='inlinecode'>sed</span></a></li>
+<li>⇢ ⇢ <a href='#renovate-vs-sim'>Renovate VS-Sim</a></li>
+<li>⇢ ⇢ <a href='#kiss-ticketing-system'>KISS ticketing system</a></li>
+<li>⇢ ⇢ <a href='#a-domain-specific-language-dsl-for-work'>A domain-specific language (DSL) for work</a></li>
+<li>⇢ <a href='#self-hosting-projects-i-dont-have-time-for'>Self-hosting projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#my-own-matrix-server'>My own Matrix server</a></li>
+<li>⇢ ⇢ <a href='#ampache-music-server'>Ampache music server</a></li>
+<li>⇢ ⇢ <a href='#librum-ebook-reader'>Librum eBook reader</a></li>
+<li>⇢ ⇢ <a href='#memos---note-taking-service'>Memos - Note-taking service</a></li>
+<li>⇢ ⇢ <a href='#bepasty-server'>Bepasty server</a></li>
+<li>⇢ <a href='#books-i-dont-have-time-to-read'>Books I don&#39;t have time to read</a></li>
+<li>⇢ ⇢ <a href='#fluent-python'>Fluent Python</a></li>
+<li>⇢ ⇢ <a href='#programming-ruby'>Programming Ruby</a></li>
+<li>⇢ ⇢ <a href='#peter-f-hamilton-science-fiction-books'>Peter F. Hamilton science fiction books</a></li>
+<li>⇢ <a href='#new-websites-i-dont-have-time-for'>New websites I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#create-a-why-raku-rox-site'>Create a "Why Raku Rox" site</a></li>
+<li>⇢ <a href='#research-projects-i-dont-have-time-for'>Research projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#project-secure'>Project secure</a></li>
+<li>⇢ ⇢ <a href='#cpu-utilisation-is-all-wrong'>CPU utilisation is all wrong</a></li>
+</ul><br />
+<h2 style='display: inline' id='hardware-projects-i-dont-have-time-for'>Hardware projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='IuseArchbtw'>I use Arch, btw!</h3><br />
+<h3 style='display: inline' id='i-use-arch-btw'>I use Arch, btw!</h3><br />
<br />
<span>The idea was to build the ultimate Arch Linux setup on an old ThinkPad X200 booting with the open-source LibreBoot firmware, complete with a tiling window manager, dmenu, and all the elite tools. This is mainly for fun, as I am pretty happy (and productive) with my Fedora Linux setup. I ran EndeavourOS (close enough to Arch) on an old ThinkPad for a while, but then I switched back to Fedora because the rolling releases were annoying (there were too many updates).</span><br />
<br />
-<h3 style='display: inline' id='OpenBSDhomerouter'>OpenBSD home router</h3><br />
+<h3 style='display: inline' id='openbsd-home-router'>OpenBSD home router</h3><br />
<br />
<span>In my student days, I operated a 486DX PC with OpenBSD as my home DSL internet router. I bought the setup from my brother back then. The router&#39;s hostname was <span class='inlinecode'>fishbone</span>, and it performed very well until it became too slow for larger broadband bandwidth after a few years of use.</span><br />
<br />
@@ -91,23 +89,23 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='https://OpenWRT.org/'>https://OpenWRT.org/</a><br />
<br />
-<h3 style='display: inline' id='PiHoleserver'>Pi-Hole server</h3><br />
+<h3 style='display: inline' id='pi-hole-server'>Pi-Hole server</h3><br />
<br />
<span>Install Pi-hole on one of my Pis or run it in a container on Freekat. For now, I am putting this on hold as the primary use for this would be ad-blocking, and I am avoiding surfing ad-heavy sites anyway. So there&#39;s no significant use for me personally at the moment.</span><br />
<br />
<a class='textlink' href='https://pi-hole.net/'>https://pi-hole.net/</a><br />
<br />
-<h3 style='display: inline' id='Infodash'>Infodash</h3><br />
+<h3 style='display: inline' id='infodash'>Infodash</h3><br />
<br />
<span>The idea was to implement my smart info screen using purely open-source software. It would display information such as the health status of my personal infrastructure, my current work tracker balance (I track how much I work to prevent overworking), and my sports balance (I track my workouts to stay within my quotas for general health). The information would be displayed on a small screen in my home office, on my Pine watch, or remotely from any terminal window.</span><br />
<br />
<span>I don&#39;t have this, and I haven&#39;t missed having it, so I guess it would have been nice to have it but not provide any value other than the "fun of tinkering."</span><br />
<br />
-<h3 style='display: inline' id='Readingstation'>Reading station</h3><br />
+<h3 style='display: inline' id='reading-station'>Reading station</h3><br />
<br />
<span>I wanted to create the most comfortable setup possible for reading digital notes, articles, and books. This would include a comfy armchair, a silent barebone PC or Raspberry Pi computer running either Linux or *BSD, and an e-Ink display mounted on a flexible arm/stand. There would also be a small table for my paper journal for occasional note-taking. There are a bunch of open-source software available for PDF and ePub reading. It would have been neat, but I am currently using the most straightforward solution: a Kobo Elipsa 2E, which I can use on my sofa.</span><br />
<br />
-<h3 style='display: inline' id='Retrostation'>Retro station</h3><br />
+<h3 style='display: inline' id='retro-station'>Retro station</h3><br />
<br />
<span>I had an idea to build a computer infused with retro elements. It wouldn&#39;t use actual retro hardware but would look and feel like a retro machine. I would call this machine HAL or Retron.</span><br />
<br />
@@ -119,14 +117,14 @@ Projects I currently don&#39;t have time for
<br />
<span>The computer would occasionally be used to surf the Gemini space, take notes, blog, or do light coding. However, I have abandoned the project for now because there isn&#39;t enough space in my apartment, as my daughter will have a room for herself.</span><br />
<br />
-<h3 style='display: inline' id='Soundserver'>Sound server</h3><br />
+<h3 style='display: inline' id='sound-server'>Sound server</h3><br />
<br />
<span>My idea involved using a barebone mini PC running FreeBSD with the Navidrome sound server software. I could remotely connect to it from my phone, workstation/laptop to listen to my music collection. The storage would be based on ZFS with at least two drives for redundancy. The app would run in a Linux Docker container under FreeBSD via Bhyve.</span><br />
<br />
<a class='textlink' href='https://github.com/navidrome/navidrome'>https://github.com/navidrome/navidrome</a><br />
<a class='textlink' href='https://wiki.freebsd.org/bhyve'>https://wiki.freebsd.org/bhyve</a><br />
<br />
-<h3 style='display: inline' id='ProjectFreekat'>Project Freekat</h3><br />
+<h3 style='display: inline' id='project-freekat'>Project Freekat</h3><br />
<br />
<span>My idea involved purchasing the Meerkat mini PC from System76 and installing FreeBSD. Like the sound-server idea (see previous idea), it would run Linux Docker through Bhyve. I would self-host a bunch of applications on it:</span><br />
<br />
@@ -150,15 +148,15 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='./2024-02-04-from-babylon5.buetow.org-to-.cloud.html'>My personal AWS setup</a><br />
<br />
-<h2 style='display: inline' id='ProgrammingprojectsIdonthavetimefor'>Programming projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='programming-projects-i-dont-have-time-for'>Programming projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='CLIHIVE'>CLI-HIVE</h3><br />
+<h3 style='display: inline' id='cli-hive'>CLI-HIVE</h3><br />
<br />
<span>This was a pet project idea that my brother and I had. The concept was to collect all shell history of all servers at work in a central place, apply ML/AI, and return suggestions for commands to type or allow a fuzzy search on all the commands in the history. The recommendations for the commands on a server could be context-based (e.g., past occurrences on the same server type). </span><br />
<br />
<span>You could decide whether to share your command history with others so they would receive better suggestions depending on which server they are on, or you could keep all the history private and secure. The plan was to add hooks into zsh and bash shells so that all commands typed would be pushed to the central location for data mining.</span><br />
<br />
-<h3 style='display: inline' id='EnhancedKISShomephotoalbums'>Enhanced KISS home photo albums</h3><br />
+<h3 style='display: inline' id='enhanced-kiss-home-photo-albums'>Enhanced KISS home photo albums</h3><br />
<br />
<span>I don&#39;t use third-party cloud providers such as Google Photos to store/archive my photos. Instead, they are all on a ZFS volume on my home NAS, with regular offsite backups taken. Thus, my project would involve implementing the features I miss most or finding a solution simple enough to host on my LAN:</span><br />
<br />
@@ -170,7 +168,7 @@ Projects I currently don&#39;t have time for
</ul><br />
<a class='textlink' href='./2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></a><br />
<br />
-<h3 style='display: inline' id='KISSfilesyncserverwithendtoendencryption'>KISS file sync server with end-to-end encryption</h3><br />
+<h3 style='display: inline' id='kiss-file-sync-server-with-end-to-end-encryption'>KISS file sync server with end-to-end encryption</h3><br />
<br />
<span>I aimed to have a simple server to which I could sync notes and other documents, ensuring that the data is fully end-to-end encrypted. This way, only the clients could decrypt the data, while an encrypted copy of all the data would be stored on the server side. There are a few solutions (e.g., NextCloud), but they are bloated or complex to set up. </span><br />
<br />
@@ -180,7 +178,7 @@ Projects I currently don&#39;t have time for
<br />
<span>I also had the idea of using this as a pet project for work and naming it <span class='inlinecode'>Cryptolake</span>, utilizing post-quantum-safe encryption algorithms and a distributed data store.</span><br />
<br />
-<h3 style='display: inline' id='Alanguagethatcompilestobash'>A language that compiles to <span class='inlinecode'>bash</span></h3><br />
+<h3 style='display: inline' id='a-language-that-compiles-to-bash'>A language that compiles to <span class='inlinecode'>bash</span></h3><br />
<br />
<span>I had an idea to implement a higher-level language with strong typing that could be compiled into native Bash code. This would make all resulting Bash scripts more robust and secure by default. The project would involve developing a parser, lexer, and a Bash code generator. I planned to implement this in Go.</span><br />
<br />
@@ -188,11 +186,11 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='./2010-05-09-the-fype-programming-language.html'>The Fype Programming Language</a><br />
<br />
-<h3 style='display: inline' id='Alanguagethatcompilestosed'>A language that compiles to <span class='inlinecode'>sed</span></h3><br />
+<h3 style='display: inline' id='a-language-that-compiles-to-sed'>A language that compiles to <span class='inlinecode'>sed</span></h3><br />
<br />
<span>This is similar to the previous idea, but the difference is that the language would compile into a sed script. Sed has many features, but the brief syntax makes scripts challenging to read. The higher-level language would mimic sed but in a form that is easier for humans to read.</span><br />
<br />
-<h3 style='display: inline' id='RenovateVSSim'>Renovate VS-Sim</h3><br />
+<h3 style='display: inline' id='renovate-vs-sim'>Renovate VS-Sim</h3><br />
<br />
<span>VS-Sim is an open-source simulator programmed in Java for distributed systems. VS-Sim stands for "Verteilte Systeme Simulator," the German translation for "Distributed Systems Simulator." The VS-Sim project was my diploma thesis at Aachen University of Applied Sciences.</span><br />
<br />
@@ -208,13 +206,13 @@ Projects I currently don&#39;t have time for
</ul><br />
<span>I have put this project on hold for now, as I want to do more things in Go and fewer in Java in my personal time.</span><br />
<br />
-<h3 style='display: inline' id='KISSticketingsystem'>KISS ticketing system</h3><br />
+<h3 style='display: inline' id='kiss-ticketing-system'>KISS ticketing system</h3><br />
<br />
<span>My idea was to program a KISS (Keep It Simple, Stupid) ticketing system for my personal use. However, I am abandoning this project because I now use the excellent Taskwarrior software. You can learn more about it at:</span><br />
<br />
<a class='textlink' href='https://taskwarrior.org/'>https://taskwarrior.org/</a><br />
<br />
-<h3 style='display: inline' id='AdomainspecificlanguageDSLforwork'>A domain-specific language (DSL) for work</h3><br />
+<h3 style='display: inline' id='a-domain-specific-language-dsl-for-work'>A domain-specific language (DSL) for work</h3><br />
<br />
<span>At work, an internal service allocates storage space for our customers on our storage clusters. It automates many tasks, but many tweaks are accessible through APIs. I had the idea to implement a Ruby-based DSL that would make using all those APIs for ad-hoc changes effortless, e.g.:</span><br />
<br />
@@ -234,19 +232,19 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='./2022-04-10-creative-universe.html'>Creative universe (Work pet project contests)</a><br />
<br />
-<h2 style='display: inline' id='SelfhostingprojectsIdonthavetimefor'>Self-hosting projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='self-hosting-projects-i-dont-have-time-for'>Self-hosting projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='MyownMatrixserver'>My own Matrix server</h3><br />
+<h3 style='display: inline' id='my-own-matrix-server'>My own Matrix server</h3><br />
<br />
<span>I value privacy. It would be great to run my own Matrix server for communication within my family. I have yet to have time to look into this more closely.</span><br />
<br />
<a class='textlink' href='https://matrix.org'>https://matrix.org</a><br />
<br />
-<h3 style='display: inline' id='Ampachemusicserver'>Ampache music server</h3><br />
+<h3 style='display: inline' id='ampache-music-server'>Ampache music server</h3><br />
<br />
<span>Ampache is an open-source music streaming server that allows you to host and manage your music collection online, accessible via a web interface. Setting it up involves configuring a web server, installing Ampache, and organising your music files, which can be time-consuming. </span><br />
<br />
-<h3 style='display: inline' id='LibrumeBookreader'>Librum eBook reader</h3><br />
+<h3 style='display: inline' id='librum-ebook-reader'>Librum eBook reader</h3><br />
<br />
<span>Librum is a self-hostable e-book reader that allows users to manage and read their e-book collection from a web interface. Designed to be a self-contained platform where users can upload, organise, and access their e-books, Librum emphasises privacy and control over one&#39;s digital library.</span><br />
<br />
@@ -254,7 +252,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am using my Kobo devices or my laptop to read these kinds of things for now.</span><br />
<br />
-<h3 style='display: inline' id='MemosNotetakingservice'>Memos - Note-taking service</h3><br />
+<h3 style='display: inline' id='memos---note-taking-service'>Memos - Note-taking service</h3><br />
<br />
<span>Memos is a note-taking service that simplifies and streamlines information capture and organisation. It focuses on providing users with a minimalistic and intuitive interface, aiming to enhance productivity without the clutter commonly associated with more complex note-taking apps.</span><br />
<br />
@@ -262,27 +260,27 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am abandoning this idea for now, as I am currently using plain Markdown files for notes and syncing them with Syncthing across my devices.</span><br />
<br />
-<h3 style='display: inline' id='Bepastyserver'>Bepasty server</h3><br />
+<h3 style='display: inline' id='bepasty-server'>Bepasty server</h3><br />
<br />
<span>Bepasty is like a Pastebin for all kinds of files (text, image, audio, video, documents, binary, etc.). It seems very neat, but I only share a little nowadays. When I do, I upload files via SCP to one of my OpenBSD VMs and serve them via vanilla httpd there, keeping it KISS.</span><br />
<br />
<a class='textlink' href='https://github.com/bepasty/bepasty-server'>https://github.com/bepasty/bepasty-server</a><br />
<br />
-<h2 style='display: inline' id='BooksIdonthavetimetoread'>Books I don&#39;t have time to read</h2><br />
+<h2 style='display: inline' id='books-i-dont-have-time-to-read'>Books I don&#39;t have time to read</h2><br />
<br />
-<h3 style='display: inline' id='FluentPython'>Fluent Python</h3><br />
+<h3 style='display: inline' id='fluent-python'>Fluent Python</h3><br />
<br />
<span>I consider myself an advanced programmer in Ruby, Bash, and Perl. However, Python seems to be ubiquitous nowadays, and most of my colleagues prefer Python over any other languages. Thus, it makes sense for me to also learn and use Python. After conducting some research, "Fluent Python" appears to be the best book for this purpose.</span><br />
<br />
<span>I don&#39;t have time to read this book at the moment, as I am focusing more on Go (Golang) and I know just enough Python to get by (e.g., for code reviews). Additionally, there are still enough colleagues around who can review my Ruby or Bash code.</span><br />
<br />
-<h3 style='display: inline' id='ProgrammingRuby'>Programming Ruby</h3><br />
+<h3 style='display: inline' id='programming-ruby'>Programming Ruby</h3><br />
<br />
<span>I&#39;ve read a couple of Ruby books already, but "Programming Ruby," which covers up to Ruby 3.2, was just recently released. I would like to read this to deepen my Ruby knowledge further and to revisit some concepts that I may have forgotten.</span><br />
<br />
<span>As stated in this blog post, I am currently more eager to focus on Go, so I&#39;ve put the Ruby book on hold. Additionally, there wouldn&#39;t be enough colleagues who could "understand" my advanced Ruby skills anyway, as most of them are either Java developers or SREs who don&#39;t code a lot.</span><br />
<br />
-<h3 style='display: inline' id='PeterFHamiltonsciencefictionbooks'>Peter F. Hamilton science fiction books</h3><br />
+<h3 style='display: inline' id='peter-f-hamilton-science-fiction-books'>Peter F. Hamilton science fiction books</h3><br />
<br />
<span>I am a big fan of science fiction, but my reading list is currently too long anyway. So, I&#39;ve put the Hamilton books on the back burner for now. You can see all the novels I&#39;ve read here:</span><br />
<br />
@@ -290,9 +288,9 @@ http://www.gnu.org/software/src-highlite -->
<a class='textlink' href='gemini://paul.buetow.org/novels.gmi'>gemini://paul.buetow.org/novels.gmi</a><br />
<br />
<br />
-<h2 style='display: inline' id='NewwebsitesIdonthavetimefor'>New websites I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='new-websites-i-dont-have-time-for'>New websites I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='CreateaWhyRakuRoxsite'>Create a "Why Raku Rox" site</h3><br />
+<h3 style='display: inline' id='create-a-why-raku-rox-site'>Create a "Why Raku Rox" site</h3><br />
<br />
<span>The website "Why Raku Rox" would showcase the unique features and benefits of the Raku programming language and highlight why it is an exceptional choice for developers. Raku, originally known as Perl 6, is a dynamic, expressive language designed for flexible and powerful software development.</span><br />
<br />
@@ -303,9 +301,9 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am not working on this for now, as I currently don’t even have time to program in Raku.</span><br />
<br />
-<h2 style='display: inline' id='ResearchprojectsIdonthavetimefor'>Research projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='research-projects-i-dont-have-time-for'>Research projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='Projectsecure'>Project secure</h3><br />
+<h3 style='display: inline' id='project-secure'>Project secure</h3><br />
<br />
<span>For work: Implement a PoC that dumps Java heaps to extract secrets from memory. Based on the findings, write a Java program that encrypts secrets in the kernel using the <span class='inlinecode'>memfd_secret()</span> syscall to make it even more secure.</span><br />
<br />
@@ -313,7 +311,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Due to other priorities, I am putting this on hold for now. The software we have built is pretty damn secure already!</span><br />
<br />
-<h3 style='display: inline' id='CPUutilisationisallwrong'>CPU utilisation is all wrong</h3><br />
+<h3 style='display: inline' id='cpu-utilisation-is-all-wrong'>CPU utilisation is all wrong</h3><br />
<br />
<span>This research project, based on Brendan Gregg&#39;s blog post, could potentially significantly impact my work.</span><br />
<br />
diff --git a/gemfeed/2024-06-23-terminal-multiplexing-with-tmux.html b/gemfeed/2024-06-23-terminal-multiplexing-with-tmux.html
index 21c38590..5ce4cff9 100644
--- a/gemfeed/2024-06-23-terminal-multiplexing-with-tmux.html
+++ b/gemfeed/2024-06-23-terminal-multiplexing-with-tmux.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Terminalmultiplexingwithtmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></h1><br />
+<h1 style='display: inline' id='terminal-multiplexing-with-tmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></h1><br />
<br />
<span class='quote'>Published at 2024-06-23T22:41:59+03:00</span><br />
<br />
@@ -24,30 +24,28 @@ jgs `-=========-`()
mod. by Paul B.
</pre>
<br />
-<pre>
-Table of contents
-=================
-
-Terminal multiplexing with `tmux`
- Introduction
- Shell aliases
- The `tn` alias - Creating a new session
- Cleaning up default sessions automatically
- Renaming sessions
- The `ta` alias - Attaching to a session
- The `tr` alias - For a nested remote session
- Change of the Tmux prefix for better nesting
- The `ts` alias - Searching sessions with fuzzy finder
- The `tssh` alias - Cluster SSH replacement
- The `tmux::tssh_from_argument` helper
- The `tmux::tssh_from_file` helper
- `tssh` examples
- Common Tmux commands I use in `tssh`
- Copy and paste workflow
- Tmux configurations
-</pre>
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<ul>
+<li><a href='#terminal-multiplexing-with-tmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></a></li>
+<li>⇢ <a href='#introduction'>Introduction</a></li>
+<li>⇢ <a href='#shell-aliases'>Shell aliases</a></li>
+<li>⇢ <a href='#the-tn-alias---creating-a-new-session'>The <span class='inlinecode'>tn</span> alias - Creating a new session</a></li>
+<li>⇢ ⇢ <a href='#cleaning-up-default-sessions-automatically'>Cleaning up default sessions automatically</a></li>
+<li>⇢ ⇢ <a href='#renaming-sessions'>Renaming sessions</a></li>
+<li>⇢ <a href='#the-ta-alias---attaching-to-a-session'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</a></li>
+<li>⇢ <a href='#the-tr-alias---for-a-nested-remote-session'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</a></li>
+<li>⇢ ⇢ <a href='#change-of-the-tmux-prefix-for-better-nesting'>Change of the Tmux prefix for better nesting</a></li>
+<li>⇢ <a href='#the-ts-alias---searching-sessions-with-fuzzy-finder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</a></li>
+<li>⇢ <a href='#the-tssh-alias---cluster-ssh-replacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</a></li>
+<li>⇢ ⇢ <a href='#the-tmuxtsshfromargument-helper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</a></li>
+<li>⇢ ⇢ <a href='#the-tmuxtsshfromfile-helper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</a></li>
+<li>⇢ ⇢ <a href='#tssh-examples'><span class='inlinecode'>tssh</span> examples</a></li>
+<li>⇢ ⇢ <a href='#common-tmux-commands-i-use-in-tssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></a></li>
+<li>⇢ <a href='#copy-and-paste-workflow'>Copy and paste workflow</a></li>
+<li>⇢ <a href='#tmux-configurations'>Tmux configurations</a></li>
+</ul><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Tmux (Terminal Multiplexer) is a powerful, terminal-based tool that manages multiple terminal sessions within a single window. Here are some of its primary features and functionalities:</span><br />
<br />
@@ -73,7 +71,7 @@ Terminal multiplexing with `tmux`
<br />
<span>Tmux is highly configurable, and I think I am only scratching the surface of what is possible with it. Nevertheless, it may still be useful for you. I also love that Tmux is part of the OpenBSD base system!</span><br />
<br />
-<h2 style='display: inline' id='Shellaliases'>Shell aliases</h2><br />
+<h2 style='display: inline' id='shell-aliases'>Shell aliases</h2><br />
<br />
<span>I am a user of the Z-Shell (<span class='inlinecode'>zsh</span>), but I believe all the snippets mentioned in this blog post also work with Bash. </span><br />
<br />
@@ -98,7 +96,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The first two are pretty straightforward. <span class='inlinecode'>tm</span> is simply a shorthand for <span class='inlinecode'>tmux</span>, so I have to type less, and <span class='inlinecode'>tl</span> lists all Tmux sessions that are currently open. No magic here.</span><br />
<br />
-<h2 style='display: inline' id='ThetnaliasCreatinganewsession'>The <span class='inlinecode'>tn</span> alias - Creating a new session</h2><br />
+<h2 style='display: inline' id='the-tn-alias---creating-a-new-session'>The <span class='inlinecode'>tn</span> alias - Creating a new session</h2><br />
<br />
<span>The <span class='inlinecode'>tn</span> alias is referencing this function:</span><br />
<br />
@@ -129,7 +127,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>First, a Tmux session name can be passed to the function as a first argument. That session name is only optional. Without it, Tmux will select a session named <span class='inlinecode'>T$($date +%s)</span> as a default. Which is T followed by the UNIX epoch, e.g. <span class='inlinecode'>T1717133796</span>.</span><br />
<br />
-<h3 style='display: inline' id='Cleaningupdefaultsessionsautomatically'>Cleaning up default sessions automatically</h3><br />
+<h3 style='display: inline' id='cleaning-up-default-sessions-automatically'>Cleaning up default sessions automatically</h3><br />
<br />
<span>Note also the call to <span class='inlinecode'>tmux::cleanup_default</span>; it would clean up all already opened default sessions if they aren&#39;t attached. Those sessions were only temporary, and I had too many flying around after a while. So, I decided to auto-delete the sessions if they weren&#39;t attached. If I want to keep sessions around, I will rename them with the Tmux command <span class='inlinecode'>prefix-key $</span>. This is the cleanup function:</span><br />
<br />
@@ -149,11 +147,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The cleanup function kills all open Tmux sessions that haven&#39;t been renamed properly yet—but only if they aren&#39;t attached (e.g., don&#39;t run in the foreground in any terminal). Cleaning them up automatically keeps my Tmux sessions as neat and tidy as possible. </span><br />
<br />
-<h3 style='display: inline' id='Renamingsessions'>Renaming sessions</h3><br />
+<h3 style='display: inline' id='renaming-sessions'>Renaming sessions</h3><br />
<br />
<span>Whenever I am in a temporary session (named <span class='inlinecode'>T....</span>), I may decide that I want to keep this session around. I have to rename the session to prevent the cleanup function from doing its thing. That&#39;s, as mentioned already, easily accomplished with the standard <span class='inlinecode'>prefix-key $</span> Tmux command.</span><br />
<br />
-<h2 style='display: inline' id='ThetaaliasAttachingtoasession'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</h2><br />
+<h2 style='display: inline' id='the-ta-alias---attaching-to-a-session'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</h2><br />
<br />
<span>This alias refers to the following function, which tries to attach to an already-running Tmux session.</span><br />
<br />
@@ -175,7 +173,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>If no session is specified (as the argument of the function), it will try to attach to the first open session. If no Tmux server is running, it will create a new one with <span class='inlinecode'>tmux::new</span>. Otherwise, with a session name given as the argument, it will attach to it. If unsuccessful (e.g., the session doesn&#39;t exist), it will be created and attached to.</span><br />
<br />
-<h2 style='display: inline' id='ThetraliasForanestedremotesession'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</h2><br />
+<h2 style='display: inline' id='the-tr-alias---for-a-nested-remote-session'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</h2><br />
<br />
<span>This SSHs into the remote server specified and then, remotely on the server itself, starts a nested Tmux session. So we have one Tmux session on the local computer and, inside of it, an SSH connection to a remote server with a Tmux session running again. The benefit of this is that, in case my network connection breaks down, the next time I connect, I can continue my work on the remote server exactly where I left off. The session name is the name of the server being SSHed into. If a session like this already exists, it simply attaches to it.</span><br />
<br />
@@ -191,7 +189,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">alias</font></b><font color="#ff0000"> </font><font color="#ff0000">tr</font><font color="#F3E651">=</font><font color="#ff0000">tmux</font><font color="#F3E651">::</font><font color="#ff0000">remote</font>
</pre>
<br />
-<h3 style='display: inline' id='ChangeoftheTmuxprefixforbetternesting'>Change of the Tmux prefix for better nesting</h3><br />
+<h3 style='display: inline' id='change-of-the-tmux-prefix-for-better-nesting'>Change of the Tmux prefix for better nesting</h3><br />
<br />
<span>To make nested Tmux sessions work smoothly, one must change the Tmux prefix key locally or remotely. By default, the Tmux prefix key is <span class='inlinecode'>Ctrl-b</span>, so <span class='inlinecode'>Ctrl-b $</span>, for example, renames the current session. To change the prefix key from the standard <span class='inlinecode'>Ctrl-b</span> to, for example, <span class='inlinecode'>Ctrl-g</span>, you must add this to the <span class='inlinecode'>tmux.conf</span>:</span><br />
<br />
@@ -203,7 +201,7 @@ set-option -g prefix C-g
<br />
<span>There might also be another way around this (without reconfiguring the prefix key), but that is cumbersome to use, as far as I remember. </span><br />
<br />
-<h2 style='display: inline' id='ThetsaliasSearchingsessionswithfuzzyfinder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</h2><br />
+<h2 style='display: inline' id='the-ts-alias---searching-sessions-with-fuzzy-finder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</h2><br />
<br />
<span>Despite the fact that with <span class='inlinecode'>tmux::cleanup_default</span>, I don&#39;t leave a huge mess with trillions of Tmux sessions flying around all the time, at times, it can become challenging to find exactly the session I am currently interested in. After a busy workday, I often end up with around twenty sessions on my laptop. This is where fuzzy searching for session names comes in handy, as I often don&#39;t remember the exact session names.</span><br />
<br />
@@ -228,7 +226,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./terminal-multiplexing-with-tmux/tmux-session-fzf.png'><img alt='Tmux session fuzzy finder' title='Tmux session fuzzy finder' src='./terminal-multiplexing-with-tmux/tmux-session-fzf.png' /></a><br />
<br />
-<h2 style='display: inline' id='ThetsshaliasClusterSSHreplacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</h2><br />
+<h2 style='display: inline' id='the-tssh-alias---cluster-ssh-replacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</h2><br />
<br />
<span>Before I used Tmux, I was a heavy user of ClusterSSH, which allowed me to log in to multiple servers at once in a single terminal window and type and run commands on all of them in parallel.</span><br />
<br />
@@ -259,7 +257,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>This function is just a wrapper around the more complex <span class='inlinecode'>tmux::tssh_from_file</span> and <span class='inlinecode'>tmux::tssh_from_argument</span> functions, as you have learned already. Most of the magic happens there.</span><br />
<br />
-<h3 style='display: inline' id='Thetmuxtsshfromargumenthelper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</h3><br />
+<h3 style='display: inline' id='the-tmuxtsshfromargument-helper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</h3><br />
<br />
<span>This is the most magic helper function we will cover in this post. It looks like this:</span><br />
<br />
@@ -295,7 +293,7 @@ bind-key p setw synchronize-panes off
bind-key P setw synchronize-panes on
</pre>
<br />
-<h3 style='display: inline' id='Thetmuxtsshfromfilehelper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</h3><br />
+<h3 style='display: inline' id='the-tmuxtsshfromfile-helper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</h3><br />
<br />
<span>This one sets the session name to the file name and then reads a list of servers from that file, passing the list of servers to <span class='inlinecode'>tmux::tssh_from_argument</span> as the arguments. So, this is a neat little wrapper that also enables me to open clustered SSH sessions from an input file.</span><br />
<br />
@@ -311,7 +309,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">}</font>
</pre>
<br />
-<h3 style='display: inline' id='tsshexamples'><span class='inlinecode'>tssh</span> examples</h3><br />
+<h3 style='display: inline' id='tssh-examples'><span class='inlinecode'>tssh</span> examples</h3><br />
<br />
<span>To open a new session named <span class='inlinecode'>fish</span> and log in to 4 remote hosts, run this command (Note that it is also possible to specify the remote user):</span><br />
<br />
@@ -326,7 +324,7 @@ $ tssh fish blowfish.buetow.org fishfinger.buetow.org \
$ tssh manyservers.txt
</pre>
<br />
-<h3 style='display: inline' id='CommonTmuxcommandsIuseintssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></h3><br />
+<h3 style='display: inline' id='common-tmux-commands-i-use-in-tssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></h3><br />
<br />
<span>These are default Tmux commands that I make heavy use of in a <span class='inlinecode'>tssh</span> session:</span><br />
<br />
@@ -335,7 +333,7 @@ $ tssh manyservers.txt
<li>Press <span class='inlinecode'>prefix-key &lt;space&gt;</span> to change the pane layout (can be pressed multiple times to cycle through them).</li>
<li>Press <span class='inlinecode'>prefix-key z</span> to zoom in and out of the current active pane.</li>
</ul><br />
-<h2 style='display: inline' id='Copyandpasteworkflow'>Copy and paste workflow</h2><br />
+<h2 style='display: inline' id='copy-and-paste-workflow'>Copy and paste workflow</h2><br />
<br />
<span>As you will see later in this blog post, I have configured a history limit of 1 million items in Tmux so that I can scroll back quite far. One main workflow of mine is to search for text in the Tmux history, select and copy it, and then switch to another window or session and paste it there (e.g., into my text editor to do something with it).</span><br />
<br />
@@ -354,7 +352,7 @@ bind-key -T copy-mode-vi &#39;y&#39; send -X copy-selection-and-cancel
<br />
<span>Once the text is yanked, I switch to another Tmux window or session where, for example, a text editor is running and paste the yanked text from Tmux into the editor with <span class='inlinecode'>prefix-key ]</span>. Note that when pasting into a modal text editor like Vi or Helix, you would first need to enter insert mode before <span class='inlinecode'>prefix-key ]</span> would paste anything.</span><br />
<br />
-<h2 style='display: inline' id='Tmuxconfigurations'>Tmux configurations</h2><br />
+<h2 style='display: inline' id='tmux-configurations'>Tmux configurations</h2><br />
<br />
<span>Some features I have configured directly in Tmux don&#39;t require an external shell alias to function correctly. Let&#39;s walk line by line through my local <span class='inlinecode'>~/.config/tmux/tmux.conf</span>:</span><br />
<br />
diff --git a/gemfeed/2024-07-05-random-weird-things.html b/gemfeed/2024-07-05-random-weird-things.html
index f2a439f3..6fd87238 100644
--- a/gemfeed/2024-07-05-random-weird-things.html
+++ b/gemfeed/2024-07-05-random-weird-things.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='RandomWeirdThings'>Random Weird Things</h1><br />
+<h1 style='display: inline' id='random-weird-things'>Random Weird Things</h1><br />
<br />
<span class='quote'>Published at 2024-07-05T10:59:59+03:00</span><br />
<br />
@@ -23,7 +23,7 @@ WHOA!! ( o.o )
/______\ \
</pre>
<br />
-<h2 style='display: inline' id='1badhorsetraceroute'>1. <span class='inlinecode'>bad.horse</span> traceroute</h2><br />
+<h2 style='display: inline' id='1-badhorse-traceroute'>1. <span class='inlinecode'>bad.horse</span> traceroute</h2><br />
<br />
<span>Run traceroute to get the poem (or song).</span><br />
<br />
@@ -65,13 +65,13 @@ http://www.gnu.org/software/src-highlite -->
<font color="#bb00ff">30</font><font color="#ff0000"> bad</font><font color="#F3E651">.</font><font color="#ff0000">horse </font><font color="#F3E651">(</font><font color="#bb00ff">162.252</font><font color="#F3E651">.</font><font color="#bb00ff">205.143</font><font color="#F3E651">)</font><font color="#ff0000"> </font><font color="#bb00ff">187.731</font><font color="#ff0000"> ms </font><font color="#bb00ff">187.416</font><font color="#ff0000"> ms </font><font color="#bb00ff">187.532</font><font color="#ff0000"> ms</font>
</pre>
<br />
-<h2 style='display: inline' id='2ASCIIcinema'>2. ASCII cinema</h2><br />
+<h2 style='display: inline' id='2-ascii-cinema'>2. ASCII cinema</h2><br />
<br />
<span>Fancy watching Star Wars Episode IV in ASCII? Head to the ASCII cinema:</span><br />
<br />
<a class='textlink' href='https://asciinema.org/a/569727'>https://asciinema.org/a/569727</a><br />
<br />
-<h2 style='display: inline' id='3NetflixsHelloWorldapplication'>3. Netflix&#39;s Hello World application</h2><br />
+<h2 style='display: inline' id='3-netflixs-hello-world-application'>3. Netflix&#39;s Hello World application</h2><br />
<br />
<span>Netflix has got the Hello World application run in production 😱</span><br />
<br />
@@ -80,9 +80,9 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span class='quote'>By the time this is posted, it seems that Netflix has taken it offline... I should have created a screenshot!</span><br />
<br />
-<h2 style='display: inline' id='Cprogramming'>C programming</h2><br />
+<h2 style='display: inline' id='c-programming'>C programming</h2><br />
<br />
-<h3 style='display: inline' id='4Indexinganarray'>4. Indexing an array</h3><br />
+<h3 style='display: inline' id='4-indexing-an-array'>4. Indexing an array</h3><br />
<br />
<span>In C, you can index an array like this: <span class='inlinecode'>array[i]</span> (not surprising). But this works as well and is valid C code: <span class='inlinecode'>i[array]</span>, 🤯 It&#39;s because after the spec <span class='inlinecode'>A[B]</span> is equivalent to <span class='inlinecode'>*(A + B)</span> and the ordering doesn&#39;t matter for the <span class='inlinecode'>+</span> operator. All 3 loops are producing the same output. Would be funny to use <span class='inlinecode'>i[array]</span> in a merge request of some code base on April Fool&#39;s day!</span><br />
<br />
@@ -106,7 +106,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#F3E651">}</font>
</pre>
<br />
-<h3 style='display: inline' id='5Variableswithprefix'>5. Variables with prefix <span class='inlinecode'>$</span></h3><br />
+<h3 style='display: inline' id='5-variables-with-prefix-'>5. Variables with prefix <span class='inlinecode'>$</span></h3><br />
<br />
<span>In C you can prefix variables with <span class='inlinecode'>$</span>! E.g. the following is valid C code 🫠:</span><br />
<br />
@@ -130,7 +130,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#F3E651">}</font>
</pre>
<br />
-<h2 style='display: inline' id='6Objectorientedshellscriptsusingksh'>6. Object oriented shell scripts using <span class='inlinecode'>ksh</span></h2><br />
+<h2 style='display: inline' id='6-object-oriented-shell-scripts-using-ksh'>6. Object oriented shell scripts using <span class='inlinecode'>ksh</span></h2><br />
<br />
<span>Experienced software developers are aware that scripting languages like Python, Perl, Ruby, and JavaScript support object-oriented programming (OOP) concepts such as classes and inheritance. However, many might be surprised to learn that the latest version of the Korn shell (Version 93t+) also supports OOP. In ksh93, OOP is implemented using user-defined types:</span><br />
<br />
@@ -176,7 +176,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://blog.fpmurphy.com/2010/05/ksh93-using-types-to-create-object-orientated-scripts.html'>Using types to create object oriented Korn shell 93 scripts</a><br />
<br />
-<h2 style='display: inline' id='7ThisworksinGo'>7. This works in Go</h2><br />
+<h2 style='display: inline' id='7-this-works-in-go'>7. This works in Go</h2><br />
<br />
<span>There is no pointer arithmetic in Go like in C, but it is still possible to do some brain teasers with pointers 😧:</span><br />
<br />
@@ -200,13 +200,13 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://go.dev/play/p/sPRdyDvXefK?__s=mk8u899owb9yurl256gw'>Go playground</a><br />
<br />
-<h2 style='display: inline' id='8IamaTeapotHTTPresponsecode'>8. "I am a Teapot" HTTP response code</h2><br />
+<h2 style='display: inline' id='8-i-am-a-teapot-http-response-code'>8. "I am a Teapot" HTTP response code</h2><br />
<br />
<span>Defined in 1998 as one of the IETF&#39;s traditional April Fools&#39; jokes (RFC 2324), the Hyper Text Coffee Pot Control Protocol specifies an HTTP status code that is not intended for actual HTTP server implementation. According to the RFC, this code should be returned by teapots when asked to brew coffee. This status code also serves as an Easter egg on some websites, such as Google.com&#39;s "I&#39;m a teapot" feature. Occasionally, it is used to respond to a blocked request, even though the more appropriate response would be the 403 Forbidden status code.</span><br />
<br />
<a class='textlink' href='https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#418'>https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#418</a><br />
<br />
-<h2 style='display: inline' id='9jqisafunctionalprogramminglanguage'>9. <span class='inlinecode'>jq</span> is a functional programming language</h2><br />
+<h2 style='display: inline' id='9-jq-is-a-functional-programming-language'>9. <span class='inlinecode'>jq</span> is a functional programming language</h2><br />
<br />
<span>Many know of <span class='inlinecode'>jq</span>, the handy small tool and swiss army knife for JSON parsing. </span><br />
<br />
@@ -260,7 +260,7 @@ def _token:
.
</pre>
<br />
-<h2 style='display: inline' id='10Regularexpressiontoverifyemailaddresses'>10. Regular expression to verify email addresses</h2><br />
+<h2 style='display: inline' id='10-regular-expression-to-verify-email-addresses'>10. Regular expression to verify email addresses</h2><br />
<br />
<span>This is a pretty old meme, but still worth posting here (as some may be unaware). The RFC822 Perl regex to validate email addresses is 😱:</span><br />
<br />
diff --git a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.html b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.html
index c559bd43..786a27cd 100644
--- a/gemfeed/2024-07-07-the-stoic-challenge-book-notes.html
+++ b/gemfeed/2024-07-07-the-stoic-challenge-book-notes.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='TheStoicChallengebooknotes'>"The Stoic Challenge" book notes</h1><br />
+<h1 style='display: inline' id='the-stoic-challenge-book-notes'>"The Stoic Challenge" book notes</h1><br />
<br />
<span class='quote'>Published at 2024-07-07T12:46:55+03:00</span><br />
<br />
@@ -36,7 +36,7 @@
<br />
<span>Stoics are thankful that they are mortal. As then you can get reminded of how great it is to be alive at all. In dying we are more alive we have ever been as every thing you do could be the last time you do it. Rather than fighting your death you should embrace it if there are no workarounds. Embrace a good death.</span><br />
<br />
-<h2 style='display: inline' id='Negativevisualization'>Negative visualization</h2><br />
+<h2 style='display: inline' id='negative-visualization'>Negative visualization</h2><br />
<br />
<span>It is easy what we have to take for granted.</span><br />
<br />
@@ -46,7 +46,7 @@
<li>Now close your eyes for a minute and imagine you would be blind, so that you will never be able to experience the world again and let it sink in. When you open your eyes again you will feel a lot of gratefulness.</li>
<li>Last time meditation. Lets you appreciate the life as it is now. Life gets vitalised again.</li>
</ul><br />
-<h2 style='display: inline' id='Ohnicetrickyoustoicgod'>Oh, nice trick, you stoic "god"! ;-)</h2><br />
+<h2 style='display: inline' id='oh-nice-trick-you-stoic-god--'>Oh, nice trick, you stoic "god"! ;-)</h2><br />
<br />
<span>Take setbacks as a challenge. Also take it with some humor.</span><br />
<br />
diff --git a/gemfeed/2024-08-05-typing-127.1-words-per-minute.html b/gemfeed/2024-08-05-typing-127.1-words-per-minute.html
index f5b50b02..4c6e5403 100644
--- a/gemfeed/2024-08-05-typing-127.1-words-per-minute.html
+++ b/gemfeed/2024-08-05-typing-127.1-words-per-minute.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Typing1271wordsperminute100wpmaverage'>Typing <span class='inlinecode'>127.1</span> words per minute (<span class='inlinecode'>&gt;100wpm average</span>)</h1><br />
+<h1 style='display: inline' id='typing-1271-words-per-minute-100wpm-average'>Typing <span class='inlinecode'>127.1</span> words per minute (<span class='inlinecode'>&gt;100wpm average</span>)</h1><br />
<br />
<span class='quote'>Published at 2024-08-05T17:39:30+03:00</span><br />
<br />
@@ -36,23 +36,23 @@
</ul><br />
<span>After discovering ThePrimagen (I found him long ago, but I never bothered buying the same keyboard he is on) on YouTube and reading/watching a couple of reviews, I thought that as a computer professional, the equipment could be expensive anyway (laptop, adjustable desk, comfortable chair), so why not invest a bit more into the keyboard? I purchased myself the Kinesis Advantage360 Professional keyboard. </span><br />
<br />
-<h2 style='display: inline' id='Kinesisreview'>Kinesis review</h2><br />
+<h2 style='display: inline' id='kinesis-review'>Kinesis review</h2><br />
<br />
<span>For an in-depth review, have a look at this great article:</span><br />
<br />
<a class='textlink' href='https://arslan.io/2022/10/22/review-of-the-kinesis-advantage360-professional'>Review of the Kinesis Advantage360 Professional keyboard</a><br />
<br />
-<h3 style='display: inline' id='Topbuildquality'>Top build quality</h3><br />
+<h3 style='display: inline' id='top-build-quality'>Top build quality</h3><br />
<br />
<span>Overall, the keyboard feels excellent quality and robust. It has got some weight to it. Because of that, it is not ideally suited for travel, though. But I have a different keyboard to solve this (see later in this post). Overall, I love how it is built and how it feels.</span><br />
<br />
<a href='./typing-127.1-words-per-minute/kinesis2.jpg'><img alt='Kinesis Adv.360 Pro at home' title='Kinesis Adv.360 Pro at home' src='./typing-127.1-words-per-minute/kinesis2.jpg' /></a><br />
<br />
-<h3 style='display: inline' id='Bluetoothconnectivity'>Bluetooth connectivity</h3><br />
+<h3 style='display: inline' id='bluetooth-connectivity'>Bluetooth connectivity</h3><br />
<br />
<span>Despite encountering concerns about Bluetooth connectivity issues with the Kinesis keyboard during my research, I purchased one anyway as I intended to use it only via USB. However, I discovered that the firmware updates available afterwards had addressed these reported Bluetooth issues, and as a result, I did not experience any difficulties with the Bluetooth functionality. This positive outcome allowed me to enjoy using the keyboard also wirelessly.</span><br />
<br />
-<h3 style='display: inline' id='GateronBrownkeyswitches'>Gateron Brown key switches</h3><br />
+<h3 style='display: inline' id='gateron-brown-key-switches'>Gateron Brown key switches</h3><br />
<br />
<span>Many voices on the internet seem to dislike the Gateron Brown switches, the only official choice for non-clicky tactile switches in the Kinesis, so I was also a bit concerned. I almost went with Cherry MX Browns for my Kinesis (a custom build from a 3rd party provider that is partnershipping with Kinesis). Still, I decided on Gateron Browns to try different switches than the Cherry MX Browns I already have on my ZSA Moonlander keyboard (another ortho-linear split keyboard, but without a concave keycap layout). </span><br />
<br />
@@ -60,7 +60,7 @@
<br />
<span>So, the Cherry MX feel sharper but are more tiring in the long run, and the Gaterons are easier to write on and the tactile Feedback is slightly less pronounced. </span><br />
<br />
-<h3 style='display: inline' id='Keycaps'>Keycaps</h3><br />
+<h3 style='display: inline' id='keycaps'>Keycaps</h3><br />
<br />
<span>If you ever purchase a Kinesis keyboard, go with the PCB keycaps. They upgrade the typing experience a lot. The only thing you will lose is that the backlighting won&#39;t shine through them. But that is a reasonable tradeoff. When do I need backlighting? I am supposed to look at the screen and not the keyboard while typing. </span><br />
<br />
@@ -68,7 +68,7 @@
<br />
<a href='./typing-127.1-words-per-minute/kinesis1.jpg'><img alt='Kinesis Adv.360 Pro at home' title='Kinesis Adv.360 Pro at home' src='./typing-127.1-words-per-minute/kinesis1.jpg' /></a><br />
<br />
-<h3 style='display: inline' id='Keymapeditor'>Keymap editor</h3><br />
+<h3 style='display: inline' id='keymap-editor'>Keymap editor</h3><br />
<br />
<span>There is no official keymap editor. You have to edit a configuration file manually, build the firmware from scratch, and upload the firmware with the new keymap to both keyboard halves. The Professional version of his keyboard, by the way, runs on the ZMK open-source firmware.</span><br />
<br />
@@ -76,7 +76,7 @@
<br />
<span>There is a 3rd party solution which is supposed to configure the keymap for the Professional model as bliss, but I have never used it. As a part-time programmer and full-time Site Reliability Engineer, I am okay configuring the keymap in my text editor and building it in a local docker container. This is one of the standard ways of doing it here. You could also use a GitHub pipeline for the firmware build, but I prefer building it locally on my machine. This all seems natural to me, but this may be an issue for "the average Joe" user.</span><br />
<br />
-<h2 style='display: inline' id='Firststeps'>First steps</h2><br />
+<h2 style='display: inline' id='first-steps'>First steps</h2><br />
<br />
<span>I didn&#39;t measure the usual words per minute (wpm) on my previous keyboard, the ZSA Moonlander, but I guess that it was around 40-50wpm. Once the Kinesis arrived, I started practising. The experience was quite different due to the concave keycaps, so I barely managed 10wpm on the first day.</span><br />
<br />
@@ -88,7 +88,7 @@
<br />
<span>I also had a problem with the left pinky finger, where I could not comfortably reach the <span class='inlinecode'>p</span> key. This involved moving the whole hand. An easy fix was to swap <span class='inlinecode'>p</span> with <span class='inlinecode'>;</span> on the keyboard layout.</span><br />
<br />
-<h2 style='display: inline' id='Consideringalternatelayouts'>Considering alternate layouts</h2><br />
+<h2 style='display: inline' id='considering-alternate-layouts'>Considering alternate layouts</h2><br />
<br />
<span>As I was going to learn 10-finger touch typing from scratch, I also played with the thought of switching from the Qwerty to the Dvorak or Colemak keymap, but after reading some comments on the internet, I decided against it: </span><br />
<br />
@@ -98,9 +98,9 @@
<li>There are also many applications and websites with keyboard shortcuts and are Qwerty-optimized.</li>
<li>You won&#39;t be able to use someone else&#39;s computer as there will be likely Qwerty. Some report that after using an alternative layout for a while, they forget how to use Qwerty.</li>
</ul><br />
-<h2 style='display: inline' id='Traininghowtotype'>Training how to type</h2><br />
+<h2 style='display: inline' id='training-how-to-type'>Training how to type</h2><br />
<br />
-<h3 style='display: inline' id='Tools'>Tools</h3><br />
+<h3 style='display: inline' id='tools'>Tools</h3><br />
<br />
<span>One of the most influential tools in my touch typing journey has been <span class='inlinecode'>keybr.com</span>. This site/app helped me learn 10-finger touch typing, and I practice daily for 30 minutes (in the first two weeks, up to an hour every day). The key is persistence and focus on technique rather than speed; the latter naturally improves with regular practice. Precision matters, too, so I always correct my errors using the backspace key.</span><br />
<br />
@@ -112,7 +112,7 @@
<br />
<span>I wrote myself a small Ruby script that would randomly select a paragraph from one of my eBooks or book notes and pipe it to <span class='inlinecode'>tt</span>. This helped me remember some of the books I read and also practice touch typing.</span><br />
<br />
-<h2 style='display: inline' id='Mykeybrcomstatistics'>My <span class='inlinecode'>keybr.com</span> statistics</h2><br />
+<h2 style='display: inline' id='my-keybrcom-statistics'>My <span class='inlinecode'>keybr.com</span> statistics</h2><br />
<br />
<span>Overall, I trained for around 4 months in more than 5,000 sessions. My top speed in a session was 127.1wpm (up from barely 10wpm at the beginning).</span><br />
<br />
@@ -124,26 +124,26 @@
<br />
<span>Around the middle, you see a break-in of the wpm average value. This was where I swapped the <span class='inlinecode'>p</span> and <span class='inlinecode'>;</span> keys, but after some retraining, I came back to the previous level and beyond.</span><br />
<br />
-<h2 style='display: inline' id='Tipsandtricks'>Tips and tricks</h2><br />
+<h2 style='display: inline' id='tips-and-tricks'>Tips and tricks</h2><br />
<br />
<span>These are some tips and tricks I learned along the way to improve my typing speed:</span><br />
<br />
-<h3 style='display: inline' id='Relax'>Relax</h3><br />
+<h3 style='display: inline' id='relax'>Relax</h3><br />
<br />
<span>It&#39;s easy to get cramped when trying to hit this new wpm mark, but this is just holding you back. Relax and type at a natural pace. Now I also understand why my Katate Sensei back in London kept screaming "RELAAAX" at me during practice.... It didn&#39;t help much back then, though, as it is difficult to relax while someone screams at you! </span><br />
-<h3 style='display: inline' id='Focusonaccuracyfirst'>Focus on accuracy first</h3><br />
+<h3 style='display: inline' id='focus-on-accuracy-first'>Focus on accuracy first</h3><br />
<br />
<span>This goes with the previous point. Instead of trying to speed through sessions as quickly as possible, slow down and try to type the words correctly—so don&#39;t rush it. If you aren&#39;t fast yet, the reason is that your brain hasn&#39;t trained enough. It will come over time, and you will be faster.</span><br />
<br />
-<h3 style='display: inline' id='Chording'>Chording</h3><br />
+<h3 style='display: inline' id='chording'>Chording</h3><br />
<br />
<span>A trick to getting faster is to type by word and pause between each word so you learn the words by chords. From 80wpm and beyond, this makes a real difference. </span><br />
<br />
-<h3 style='display: inline' id='PunctuationandCapitalization'>Punctuation and Capitalization</h3><br />
+<h3 style='display: inline' id='punctuation-and-capitalization'>Punctuation and Capitalization</h3><br />
<br />
<span>I included 10% punctuation and 20% capital letters in my <span class='inlinecode'>keybr.com</span> practice sessions to simulate real typing conditions, which improved my overall working efficiency. I guess I would have gone to 120wpm in average if I didn&#39;t include this options...</span><br />
<br />
-<h3 style='display: inline' id='Reverseshifting'>Reverse shifting</h3><br />
+<h3 style='display: inline' id='reverse-shifting'>Reverse shifting</h3><br />
<br />
<span>Reverse shifting aka left-right shifting is to... </span><br />
<br />
@@ -153,24 +153,24 @@
</ul><br />
<span>This makes using the shift key a blaze.</span><br />
<br />
-<h3 style='display: inline' id='Entertheflowstate'>Enter the flow state</h3><br />
+<h3 style='display: inline' id='enter-the-flow-state'>Enter the flow state</h3><br />
<br />
<span>Listening to music helps me enter a flow state during practice sessions, which makes typing training a bit addictive (which is good, or isn&#39;t it?).</span><br />
<br />
-<h3 style='display: inline' id='Repeateveryword'>Repeat every word</h3><br />
+<h3 style='display: inline' id='repeat-every-word'>Repeat every word</h3><br />
<br />
<span>There&#39;s a setting on <span class='inlinecode'>keybr.com</span> that makes it so that every word is always repeated, having you type every word twice in a row. I liked this feature very much, and I think it also helped to improve my practice.</span><br />
<br />
-<h3 style='display: inline' id='Dontusethesamefingerfortwoconsecutivekeystrokes'>Don&#39;t use the same finger for two consecutive keystrokes</h3><br />
+<h3 style='display: inline' id='dont-use-the-same-finger-for-two-consecutive-keystrokes'>Don&#39;t use the same finger for two consecutive keystrokes</h3><br />
<br />
<span>Apparently, if you want to type fast, avoid using the same finger for two consecutive keystrokes. This means you don&#39;t always need to use the same finger for the same keys. </span><br />
<span>However, there are no hard and fast rules. Thus, everyone develops their system for typing word combinations. An exception would be if you are typing the very same letter in a row (e.g., t in letter)—here, you are using the same finger for both ts.</span><br />
<br />
-<h3 style='display: inline' id='Warmup'>Warm-up</h3><br />
+<h3 style='display: inline' id='warm-up'>Warm-up</h3><br />
<br />
<span>You can&#39;t reach your average typing speed first ting the morning. It would help if you warmed up before the exercise or practice later during the day. Also, some days are good, others not so, e.g., after a bad night&#39;s sleep. What matters is the mid- and long-term trend, not the fluctuations here, though.</span><br />
<br />
-<h2 style='display: inline' id='Travelkeyboard'>Travel keyboard</h2><br />
+<h2 style='display: inline' id='travel-keyboard'>Travel keyboard</h2><br />
<br />
<span>As mentioned, the Kinesis is a great keyboard, but it is not meant for travel.</span><br />
<br />
@@ -190,11 +190,11 @@
<br />
<a class='textlink' href='https://arslan.io/2024/04/22/review-of-the-moergo-glove80-keyboard/'>Review of the Glove80 keyboard</a><br />
<br />
-<h2 style='display: inline' id='UpcomingcustomKinesisbuild'>Upcoming custom Kinesis build</h2><br />
+<h2 style='display: inline' id='upcoming-custom-kinesis-build'>Upcoming custom Kinesis build</h2><br />
<br />
<span>As I mentioned, keyboards will remain an expensive hobby of mine. I don&#39;t regret anything here, though. After all, I use keyboards at my day job. I&#39;ve ordered a Kinesis custom build with the Gateron Kangaroo switches, and I&#39;m excited to see how that compares to my current setup. I&#39;m still deciding whether to keep my Gateron Brown-equipped Kinesis as a secondary keyboard or possibly leave it at my in-laws for use when visiting or to sell it.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>When I traveled with the Glove80 for work to the London office, a colleague stared at my keyboard and made jokes that it might be broken (split into two halves). But other than that... </span><br />
<br />
diff --git a/gemfeed/DRAFT-site-reliability-engineering.html b/gemfeed/DRAFT-site-reliability-engineering.html
index dd1b42fd..310a99fe 100644
--- a/gemfeed/DRAFT-site-reliability-engineering.html
+++ b/gemfeed/DRAFT-site-reliability-engineering.html
@@ -8,7 +8,7 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h2 style='display: inline' id='SystemDesignandIncidentAnalysisBuildingResilienceintheSRELandscape'>System Design and Incident Analysis: Building Resilience in the SRE Landscape</h2><br />
+<h2 style='display: inline' id='system-design-and-incident-analysis-building-resilience-in-the-sre-landscape'>System Design and Incident Analysis: Building Resilience in the SRE Landscape</h2><br />
<br />
<span>A significant portion of the work revolves around system design and incident analysis.</span><br />
<br />
@@ -28,7 +28,7 @@
<br />
<a class='textlink' href='add'>6 minutes to wt.</a><br />
<br />
-<h2 style='display: inline' id='TheHeroicFacadeandTeamDynamicsRethinkingSuccessinSRE'>The Heroic Facade and Team Dynamics: Rethinking Success in SRE</h2><br />
+<h2 style='display: inline' id='the-heroic-facade-and-team-dynamics-rethinking-success-in-sre'>The Heroic Facade and Team Dynamics: Rethinking Success in SRE</h2><br />
<br />
<span>The realm of Site Reliability Engineering is punctuated by the constant ebb and flow of system challenges. While individual excellence is commendable, the overarching belief in the SRE culture should be that true success lies in cohesive teamwork and not in individual heroics.</span><br />
<br />
@@ -79,7 +79,7 @@
<br />
<span>To conclude, while the heroics in SRE can often be the stuff of legends, it&#39;s vital to see beyond this facade. The countless hours of teamwork, collaboration, and shared responsibility lie in the shadows of these heroic acts. The future of SRE lies not in individual heroics but in teams that operate like well-oiled machines, with every cog, big or small, playing its part to perfection.</span><br />
<br />
-<h2 style='display: inline' id='MonitoringObservabilityandtheSREArsenalNavigatingtheNuancesofSystemReliability'>Monitoring, Observability, and the SRE Arsenal: Navigating the Nuances of System Reliability</h2><br />
+<h2 style='display: inline' id='monitoring-observability-and-the-sre-arsenal-navigating-the-nuances-of-system-reliability'>Monitoring, Observability, and the SRE Arsenal: Navigating the Nuances of System Reliability</h2><br />
<br />
<span>Site Reliability Engineering is characterised by a relentless quest for reliability, uptime, and seamless user experiences. Within this universe, the notions of monitoring and observability emerge not as mere tools but as critical lifelines that guide decision-making, error diagnosis, and preventive strategies.</span><br />
<br />
@@ -93,7 +93,7 @@
<br />
<span>To sum it up, monitoring and observability play pivotal roles in the intricate dance of system reliability. They are the compass and map, guiding SREs through the labyrinthine challenges of modern systems. By leveraging them effectively and in conjunction with other SRE methodologies, organisations can achieve the zenith of reliability, ensuring that their services remain robust, resilient, and remarkably user-centric.</span><br />
<br />
-<h2 style='display: inline' id='TheEverevolvingLandscapeofSRE'>The Ever-evolving Landscape of SRE</h2><br />
+<h2 style='display: inline' id='the-ever-evolving-landscape-of-sre'>The Ever-evolving Landscape of SRE</h2><br />
<br />
<span>To begin, the very fabric of SRE is interwoven with organisational culture. Successful SRE adoption transcends the mere automation of software operations—it is deeply cultural. It demands a seismic shift in how organisations perceive failures, value preventative work, and prioritise communication. In such an environment, writing is not just a skill but a critical tool for reliability. Precise communication enhances clarity, mitigates risks, and facilitates collaboration.</span><br />
<br />
@@ -105,7 +105,7 @@
<br />
<span>In conclusion, as a discipline, SRE is a beacon of continuous evolution. As systems grow more complex and user expectations rise, the SRE landscape will inevitably shift, demanding adaptability, resilience, and foresight from its practitioners. But in this ever-changing terrain, the core tenets remain—balancing innovation with reliability, valuing human well-being, and leveraging tools and data for informed decision-making. In the grand tapestry of engineering, SRE stands out as a dynamic, challenging, yet immensely rewarding realm, ever-responsive to the rhythms of technology and human ingenuity.</span><br />
<br />
-<h2 style='display: inline' id='EffectiveCommunicationandCollaborationinSRE'>Effective Communication and Collaboration in SRE</h2><br />
+<h2 style='display: inline' id='effective-communication-and-collaboration-in-sre'>Effective Communication and Collaboration in SRE</h2><br />
<br />
<span>Site Reliability Engineering is not merely a technical discipline. At its core, SRE underscores the importance of effective communication and collaboration as critical tenets of a resilient and efficient system. </span><br />
<br />
@@ -121,7 +121,7 @@
<br />
<span>In conclusion, while SRE is deeply technical, its efficacy is intertwined with the soft skills of communication and collaboration. As systems grow more intricate and the stakes rise, the ability to communicate clearly and collaborate effectively will distinguish successful SRE teams from the rest. It&#39;s a reminder that there are people at the heart of every machine, every line of code, and nurturing human connections is paramount to ensuring machine efficiency.</span><br />
<br />
-<h2 style='display: inline' id='InherentCuriosityandContinualLearninginSRE'>Inherent Curiosity and Continual Learning in SRE</h2><br />
+<h2 style='display: inline' id='inherent-curiosity-and-continual-learning-in-sre'>Inherent Curiosity and Continual Learning in SRE</h2><br />
<br />
<span>The realm of Site Reliability Engineering is expansive, dynamic, and deeply integrated with the ever-evolving technological landscape. It&#39;s evident that an essential trait underpinning successful SRE practice combines inherent curiosity and an unwavering commitment to continual learning.</span><br />
<br />
@@ -135,7 +135,7 @@
<br />
<span>In conclusion, the world of Site Reliability Engineering is not for the complacent. It&#39;s a domain that rewards the curious, the seekers, and those with an insatiable appetite for knowledge. As systems grow in complexity and the stakes become higher, this inherent curiosity and dedication to continual learning will define the success and resilience of SRE endeavours. The journey of an SRE, thus, is one of perpetual exploration, driven by the quest to know more and do better.</span><br />
<br />
-<h2 style='display: inline' id='TheIterativeSpiritofSRE'>The Iterative Spirit of SRE</h2><br />
+<h2 style='display: inline' id='the-iterative-spirit-of-sre'>The Iterative Spirit of SRE</h2><br />
<br />
<span>Site Reliability Engineering is more than just a technical discipline; it embodies a mindset that embraces iteration, proactive problem-solving, and continuous enhancement. </span><br />
<br />
@@ -149,9 +149,9 @@
<br />
<span>In summary, the essence of Site Reliability Engineering is characterised by an iterative spirit, a recognition that perfection is a journey, not a destination. Whether refining system designs, enhancing tooling or fostering collaborative dialogues, SREs are always looking for the next improvement, refinement, and iteration. It&#39;s this spirit that ensures systems are reliable and continually evolving to meet the ever-changing demands of the digital age.</span><br />
<br />
-<h2 style='display: inline' id='TheroleofsimplicitySimplicity'>The role of simplicity Simplicity</h2><br />
+<h2 style='display: inline' id='the-role-of-simplicity-simplicity'>The role of simplicity Simplicity</h2><br />
<br />
-<h2 style='display: inline' id='Booktips'>Book tips</h2><br />
+<h2 style='display: inline' id='book-tips'>Book tips</h2><br />
<br />
<ul>
<li>97 Things Every SRE Should Know: Collective Wisdom from the Experts by Emily Stolarsky and Jaime Woo</li>
diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml
index 664bece8..9f6f992a 100644
--- a/gemfeed/atom.xml
+++ b/gemfeed/atom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <updated>2024-08-18T22:23:22+03:00</updated>
+ <updated>2024-08-24T19:37:43+03:00</updated>
<title>foo.zone feed</title>
<subtitle>To be in the .zone!</subtitle>
<link href="https://foo.zone/gemfeed/atom.xml" rel="self" />
@@ -234,7 +234,7 @@
<summary>These are my personal takeaways after reading 'The Stoic Challenge: A Philosopher's Guide to Becoming Tougher, Calmer, and More Resilient' by William B. Irvine. </summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='TheStoicChallengebooknotes'>"The Stoic Challenge" book notes</h1><br />
+ <h1 style='display: inline' id='the-stoic-challenge-book-notes'>"The Stoic Challenge" book notes</h1><br />
<br />
<span class='quote'>Published at 2024-07-07T12:46:55+03:00</span><br />
<br />
@@ -262,7 +262,7 @@
<br />
<span>Stoics are thankful that they are mortal. As then you can get reminded of how great it is to be alive at all. In dying we are more alive we have ever been as every thing you do could be the last time you do it. Rather than fighting your death you should embrace it if there are no workarounds. Embrace a good death.</span><br />
<br />
-<h2 style='display: inline' id='Negativevisualization'>Negative visualization</h2><br />
+<h2 style='display: inline' id='negative-visualization'>Negative visualization</h2><br />
<br />
<span>It is easy what we have to take for granted.</span><br />
<br />
@@ -272,7 +272,7 @@
<li>Now close your eyes for a minute and imagine you would be blind, so that you will never be able to experience the world again and let it sink in. When you open your eyes again you will feel a lot of gratefulness.</li>
<li>Last time meditation. Lets you appreciate the life as it is now. Life gets vitalised again.</li>
</ul><br />
-<h2 style='display: inline' id='Ohnicetrickyoustoicgod'>Oh, nice trick, you stoic "god"! ;-)</h2><br />
+<h2 style='display: inline' id='oh-nice-trick-you-stoic-god--'>Oh, nice trick, you stoic "god"! ;-)</h2><br />
<br />
<span>Take setbacks as a challenge. Also take it with some humor.</span><br />
<br />
@@ -671,10 +671,10 @@ r\\]|\\.)*\](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()&lt;&gt;@,;:\\".\
<name>Paul Buetow aka snonux</name>
<email>paul@dev.buetow.org</email>
</author>
- <summary>Table of contents</summary>
+ <summary>Tmux (Terminal Multiplexer) is a powerful, terminal-based tool that manages multiple terminal sessions within a single window. Here are some of its primary features and functionalities:</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Terminalmultiplexingwithtmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></h1><br />
+ <h1 style='display: inline' id='terminal-multiplexing-with-tmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></h1><br />
<br />
<span class='quote'>Published at 2024-06-23T22:41:59+03:00</span><br />
<br />
@@ -690,30 +690,28 @@ jgs `-=========-`()
mod. by Paul B.
</pre>
<br />
-<pre>
-Table of contents
-=================
-
-Terminal multiplexing with `tmux`
- Introduction
- Shell aliases
- The `tn` alias - Creating a new session
- Cleaning up default sessions automatically
- Renaming sessions
- The `ta` alias - Attaching to a session
- The `tr` alias - For a nested remote session
- Change of the Tmux prefix for better nesting
- The `ts` alias - Searching sessions with fuzzy finder
- The `tssh` alias - Cluster SSH replacement
- The `tmux::tssh_from_argument` helper
- The `tmux::tssh_from_file` helper
- `tssh` examples
- Common Tmux commands I use in `tssh`
- Copy and paste workflow
- Tmux configurations
-</pre>
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<ul>
+<li><a href='#terminal-multiplexing-with-tmux'>Terminal multiplexing with <span class='inlinecode'>tmux</span></a></li>
+<li>⇢ <a href='#introduction'>Introduction</a></li>
+<li>⇢ <a href='#shell-aliases'>Shell aliases</a></li>
+<li>⇢ <a href='#the-tn-alias---creating-a-new-session'>The <span class='inlinecode'>tn</span> alias - Creating a new session</a></li>
+<li>⇢ ⇢ <a href='#cleaning-up-default-sessions-automatically'>Cleaning up default sessions automatically</a></li>
+<li>⇢ ⇢ <a href='#renaming-sessions'>Renaming sessions</a></li>
+<li>⇢ <a href='#the-ta-alias---attaching-to-a-session'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</a></li>
+<li>⇢ <a href='#the-tr-alias---for-a-nested-remote-session'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</a></li>
+<li>⇢ ⇢ <a href='#change-of-the-tmux-prefix-for-better-nesting'>Change of the Tmux prefix for better nesting</a></li>
+<li>⇢ <a href='#the-ts-alias---searching-sessions-with-fuzzy-finder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</a></li>
+<li>⇢ <a href='#the-tssh-alias---cluster-ssh-replacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</a></li>
+<li>⇢ ⇢ <a href='#the-tmuxtsshfromargument-helper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</a></li>
+<li>⇢ ⇢ <a href='#the-tmuxtsshfromfile-helper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</a></li>
+<li>⇢ ⇢ <a href='#tssh-examples'><span class='inlinecode'>tssh</span> examples</a></li>
+<li>⇢ ⇢ <a href='#common-tmux-commands-i-use-in-tssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></a></li>
+<li>⇢ <a href='#copy-and-paste-workflow'>Copy and paste workflow</a></li>
+<li>⇢ <a href='#tmux-configurations'>Tmux configurations</a></li>
+</ul><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Tmux (Terminal Multiplexer) is a powerful, terminal-based tool that manages multiple terminal sessions within a single window. Here are some of its primary features and functionalities:</span><br />
<br />
@@ -739,7 +737,7 @@ Terminal multiplexing with `tmux`
<br />
<span>Tmux is highly configurable, and I think I am only scratching the surface of what is possible with it. Nevertheless, it may still be useful for you. I also love that Tmux is part of the OpenBSD base system!</span><br />
<br />
-<h2 style='display: inline' id='Shellaliases'>Shell aliases</h2><br />
+<h2 style='display: inline' id='shell-aliases'>Shell aliases</h2><br />
<br />
<span>I am a user of the Z-Shell (<span class='inlinecode'>zsh</span>), but I believe all the snippets mentioned in this blog post also work with Bash. </span><br />
<br />
@@ -764,7 +762,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The first two are pretty straightforward. <span class='inlinecode'>tm</span> is simply a shorthand for <span class='inlinecode'>tmux</span>, so I have to type less, and <span class='inlinecode'>tl</span> lists all Tmux sessions that are currently open. No magic here.</span><br />
<br />
-<h2 style='display: inline' id='ThetnaliasCreatinganewsession'>The <span class='inlinecode'>tn</span> alias - Creating a new session</h2><br />
+<h2 style='display: inline' id='the-tn-alias---creating-a-new-session'>The <span class='inlinecode'>tn</span> alias - Creating a new session</h2><br />
<br />
<span>The <span class='inlinecode'>tn</span> alias is referencing this function:</span><br />
<br />
@@ -795,7 +793,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>First, a Tmux session name can be passed to the function as a first argument. That session name is only optional. Without it, Tmux will select a session named <span class='inlinecode'>T$($date +%s)</span> as a default. Which is T followed by the UNIX epoch, e.g. <span class='inlinecode'>T1717133796</span>.</span><br />
<br />
-<h3 style='display: inline' id='Cleaningupdefaultsessionsautomatically'>Cleaning up default sessions automatically</h3><br />
+<h3 style='display: inline' id='cleaning-up-default-sessions-automatically'>Cleaning up default sessions automatically</h3><br />
<br />
<span>Note also the call to <span class='inlinecode'>tmux::cleanup_default</span>; it would clean up all already opened default sessions if they aren&#39;t attached. Those sessions were only temporary, and I had too many flying around after a while. So, I decided to auto-delete the sessions if they weren&#39;t attached. If I want to keep sessions around, I will rename them with the Tmux command <span class='inlinecode'>prefix-key $</span>. This is the cleanup function:</span><br />
<br />
@@ -815,11 +813,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The cleanup function kills all open Tmux sessions that haven&#39;t been renamed properly yet—but only if they aren&#39;t attached (e.g., don&#39;t run in the foreground in any terminal). Cleaning them up automatically keeps my Tmux sessions as neat and tidy as possible. </span><br />
<br />
-<h3 style='display: inline' id='Renamingsessions'>Renaming sessions</h3><br />
+<h3 style='display: inline' id='renaming-sessions'>Renaming sessions</h3><br />
<br />
<span>Whenever I am in a temporary session (named <span class='inlinecode'>T....</span>), I may decide that I want to keep this session around. I have to rename the session to prevent the cleanup function from doing its thing. That&#39;s, as mentioned already, easily accomplished with the standard <span class='inlinecode'>prefix-key $</span> Tmux command.</span><br />
<br />
-<h2 style='display: inline' id='ThetaaliasAttachingtoasession'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</h2><br />
+<h2 style='display: inline' id='the-ta-alias---attaching-to-a-session'>The <span class='inlinecode'>ta</span> alias - Attaching to a session</h2><br />
<br />
<span>This alias refers to the following function, which tries to attach to an already-running Tmux session.</span><br />
<br />
@@ -841,7 +839,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>If no session is specified (as the argument of the function), it will try to attach to the first open session. If no Tmux server is running, it will create a new one with <span class='inlinecode'>tmux::new</span>. Otherwise, with a session name given as the argument, it will attach to it. If unsuccessful (e.g., the session doesn&#39;t exist), it will be created and attached to.</span><br />
<br />
-<h2 style='display: inline' id='ThetraliasForanestedremotesession'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</h2><br />
+<h2 style='display: inline' id='the-tr-alias---for-a-nested-remote-session'>The <span class='inlinecode'>tr</span> alias - For a nested remote session</h2><br />
<br />
<span>This SSHs into the remote server specified and then, remotely on the server itself, starts a nested Tmux session. So we have one Tmux session on the local computer and, inside of it, an SSH connection to a remote server with a Tmux session running again. The benefit of this is that, in case my network connection breaks down, the next time I connect, I can continue my work on the remote server exactly where I left off. The session name is the name of the server being SSHed into. If a session like this already exists, it simply attaches to it.</span><br />
<br />
@@ -857,7 +855,7 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">alias</font></b><font color="#ff0000"> </font><font color="#ff0000">tr</font><font color="#F3E651">=</font><font color="#ff0000">tmux</font><font color="#F3E651">::</font><font color="#ff0000">remote</font>
</pre>
<br />
-<h3 style='display: inline' id='ChangeoftheTmuxprefixforbetternesting'>Change of the Tmux prefix for better nesting</h3><br />
+<h3 style='display: inline' id='change-of-the-tmux-prefix-for-better-nesting'>Change of the Tmux prefix for better nesting</h3><br />
<br />
<span>To make nested Tmux sessions work smoothly, one must change the Tmux prefix key locally or remotely. By default, the Tmux prefix key is <span class='inlinecode'>Ctrl-b</span>, so <span class='inlinecode'>Ctrl-b $</span>, for example, renames the current session. To change the prefix key from the standard <span class='inlinecode'>Ctrl-b</span> to, for example, <span class='inlinecode'>Ctrl-g</span>, you must add this to the <span class='inlinecode'>tmux.conf</span>:</span><br />
<br />
@@ -869,7 +867,7 @@ set-option -g prefix C-g
<br />
<span>There might also be another way around this (without reconfiguring the prefix key), but that is cumbersome to use, as far as I remember. </span><br />
<br />
-<h2 style='display: inline' id='ThetsaliasSearchingsessionswithfuzzyfinder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</h2><br />
+<h2 style='display: inline' id='the-ts-alias---searching-sessions-with-fuzzy-finder'>The <span class='inlinecode'>ts</span> alias - Searching sessions with fuzzy finder</h2><br />
<br />
<span>Despite the fact that with <span class='inlinecode'>tmux::cleanup_default</span>, I don&#39;t leave a huge mess with trillions of Tmux sessions flying around all the time, at times, it can become challenging to find exactly the session I am currently interested in. After a busy workday, I often end up with around twenty sessions on my laptop. This is where fuzzy searching for session names comes in handy, as I often don&#39;t remember the exact session names.</span><br />
<br />
@@ -894,7 +892,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./terminal-multiplexing-with-tmux/tmux-session-fzf.png'><img alt='Tmux session fuzzy finder' title='Tmux session fuzzy finder' src='./terminal-multiplexing-with-tmux/tmux-session-fzf.png' /></a><br />
<br />
-<h2 style='display: inline' id='ThetsshaliasClusterSSHreplacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</h2><br />
+<h2 style='display: inline' id='the-tssh-alias---cluster-ssh-replacement'>The <span class='inlinecode'>tssh</span> alias - Cluster SSH replacement</h2><br />
<br />
<span>Before I used Tmux, I was a heavy user of ClusterSSH, which allowed me to log in to multiple servers at once in a single terminal window and type and run commands on all of them in parallel.</span><br />
<br />
@@ -925,7 +923,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>This function is just a wrapper around the more complex <span class='inlinecode'>tmux::tssh_from_file</span> and <span class='inlinecode'>tmux::tssh_from_argument</span> functions, as you have learned already. Most of the magic happens there.</span><br />
<br />
-<h3 style='display: inline' id='Thetmuxtsshfromargumenthelper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</h3><br />
+<h3 style='display: inline' id='the-tmuxtsshfromargument-helper'>The <span class='inlinecode'>tmux::tssh_from_argument</span> helper</h3><br />
<br />
<span>This is the most magic helper function we will cover in this post. It looks like this:</span><br />
<br />
@@ -961,7 +959,7 @@ bind-key p setw synchronize-panes off
bind-key P setw synchronize-panes on
</pre>
<br />
-<h3 style='display: inline' id='Thetmuxtsshfromfilehelper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</h3><br />
+<h3 style='display: inline' id='the-tmuxtsshfromfile-helper'>The <span class='inlinecode'>tmux::tssh_from_file</span> helper</h3><br />
<br />
<span>This one sets the session name to the file name and then reads a list of servers from that file, passing the list of servers to <span class='inlinecode'>tmux::tssh_from_argument</span> as the arguments. So, this is a neat little wrapper that also enables me to open clustered SSH sessions from an input file.</span><br />
<br />
@@ -977,7 +975,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">}</font>
</pre>
<br />
-<h3 style='display: inline' id='tsshexamples'><span class='inlinecode'>tssh</span> examples</h3><br />
+<h3 style='display: inline' id='tssh-examples'><span class='inlinecode'>tssh</span> examples</h3><br />
<br />
<span>To open a new session named <span class='inlinecode'>fish</span> and log in to 4 remote hosts, run this command (Note that it is also possible to specify the remote user):</span><br />
<br />
@@ -992,7 +990,7 @@ $ tssh fish blowfish.buetow.org fishfinger.buetow.org \
$ tssh manyservers.txt
</pre>
<br />
-<h3 style='display: inline' id='CommonTmuxcommandsIuseintssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></h3><br />
+<h3 style='display: inline' id='common-tmux-commands-i-use-in-tssh'>Common Tmux commands I use in <span class='inlinecode'>tssh</span></h3><br />
<br />
<span>These are default Tmux commands that I make heavy use of in a <span class='inlinecode'>tssh</span> session:</span><br />
<br />
@@ -1001,7 +999,7 @@ $ tssh manyservers.txt
<li>Press <span class='inlinecode'>prefix-key &lt;space&gt;</span> to change the pane layout (can be pressed multiple times to cycle through them).</li>
<li>Press <span class='inlinecode'>prefix-key z</span> to zoom in and out of the current active pane.</li>
</ul><br />
-<h2 style='display: inline' id='Copyandpasteworkflow'>Copy and paste workflow</h2><br />
+<h2 style='display: inline' id='copy-and-paste-workflow'>Copy and paste workflow</h2><br />
<br />
<span>As you will see later in this blog post, I have configured a history limit of 1 million items in Tmux so that I can scroll back quite far. One main workflow of mine is to search for text in the Tmux history, select and copy it, and then switch to another window or session and paste it there (e.g., into my text editor to do something with it).</span><br />
<br />
@@ -1020,7 +1018,7 @@ bind-key -T copy-mode-vi &#39;y&#39; send -X copy-selection-and-cancel
<br />
<span>Once the text is yanked, I switch to another Tmux window or session where, for example, a text editor is running and paste the yanked text from Tmux into the editor with <span class='inlinecode'>prefix-key ]</span>. Note that when pasting into a modal text editor like Vi or Helix, you would first need to enter insert mode before <span class='inlinecode'>prefix-key ]</span> would paste anything.</span><br />
<br />
-<h2 style='display: inline' id='Tmuxconfigurations'>Tmux configurations</h2><br />
+<h2 style='display: inline' id='tmux-configurations'>Tmux configurations</h2><br />
<br />
<span>Some features I have configured directly in Tmux don&#39;t require an external shell alias to function correctly. Let&#39;s walk line by line through my local <span class='inlinecode'>~/.config/tmux/tmux.conf</span>:</span><br />
<br />
@@ -1113,7 +1111,7 @@ bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf re
<summary>Art by Laura Brown</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='ProjectsIcurrentlydonthavetimefor'>Projects I currently don&#39;t have time for</h1><br />
+ <h1 style='display: inline' id='projects-i-currently-dont-have-time-for'>Projects I currently don&#39;t have time for</h1><br />
<br />
<span class='quote'>Published at 2024-05-03T16:23:03+03:00</span><br />
<br />
@@ -1130,58 +1128,56 @@ Art by Laura Brown
</pre>
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Over the years, I have collected many ideas for my personal projects and noted them down. I am currently in the process of cleaning up all my notes and reviewing those ideas. I don’t have time for the ones listed here and won’t have any soon due to other commitments and personal projects. So, in order to "get rid of them" from my notes folder, I decided to simply put them in this blog post so that those ideas don&#39;t get lost. Maybe I will pick up one or another idea someday in the future, but for now, they are all put on ice in favor of other personal projects or family time.</span><br />
<br />
-<pre>
-Table of contents
-=================
-
-Projects I currently don&#39;t have time for
- Introduction
- Hardware projects I don&#39;t have time for
- I use Arch, btw!
- OpenBSD home router
- Pi-Hole server
- Infodash
- Reading station
- Retro station
- Sound server
- Project Freekat
- Programming projects I don&#39;t have time for
- CLI-HIVE
- Enhanced KISS home photo albums
- KISS file sync server with end-to-end encryption
- A language that compiles to `bash`
- A language that compiles to `sed`
- Renovate VS-Sim
- KISS ticketing system
- A domain-specific language (DSL) for work
- Self-hosting projects I don&#39;t have time for
- My own Matrix server
- Ampache music server
- Librum eBook reader
- Memos - Note-taking service
- Bepasty server
- Books I don&#39;t have time to read
- Fluent Python
- Programming Ruby
- Peter F. Hamilton science fiction books
- New websites I don&#39;t have time for
- Create a "Why Raku Rox" site
- Research projects I don&#39;t have time for
- Project secure
- CPU utilisation is all wrong
-</pre>
-<br />
-<h2 style='display: inline' id='HardwareprojectsIdonthavetimefor'>Hardware projects I don&#39;t have time for</h2><br />
-<br />
-<h3 style='display: inline' id='IuseArchbtw'>I use Arch, btw!</h3><br />
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
+<br />
+<ul>
+<li><a href='#projects-i-currently-dont-have-time-for'>Projects I currently don&#39;t have time for</a></li>
+<li>⇢ <a href='#introduction'>Introduction</a></li>
+<li>⇢ <a href='#hardware-projects-i-dont-have-time-for'>Hardware projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#i-use-arch-btw'>I use Arch, btw!</a></li>
+<li>⇢ ⇢ <a href='#openbsd-home-router'>OpenBSD home router</a></li>
+<li>⇢ ⇢ <a href='#pi-hole-server'>Pi-Hole server</a></li>
+<li>⇢ ⇢ <a href='#infodash'>Infodash</a></li>
+<li>⇢ ⇢ <a href='#reading-station'>Reading station</a></li>
+<li>⇢ ⇢ <a href='#retro-station'>Retro station</a></li>
+<li>⇢ ⇢ <a href='#sound-server'>Sound server</a></li>
+<li>⇢ ⇢ <a href='#project-freekat'>Project Freekat</a></li>
+<li>⇢ <a href='#programming-projects-i-dont-have-time-for'>Programming projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#cli-hive'>CLI-HIVE</a></li>
+<li>⇢ ⇢ <a href='#enhanced-kiss-home-photo-albums'>Enhanced KISS home photo albums</a></li>
+<li>⇢ ⇢ <a href='#kiss-file-sync-server-with-end-to-end-encryption'>KISS file sync server with end-to-end encryption</a></li>
+<li>⇢ ⇢ <a href='#a-language-that-compiles-to-bash'>A language that compiles to <span class='inlinecode'>bash</span></a></li>
+<li>⇢ ⇢ <a href='#a-language-that-compiles-to-sed'>A language that compiles to <span class='inlinecode'>sed</span></a></li>
+<li>⇢ ⇢ <a href='#renovate-vs-sim'>Renovate VS-Sim</a></li>
+<li>⇢ ⇢ <a href='#kiss-ticketing-system'>KISS ticketing system</a></li>
+<li>⇢ ⇢ <a href='#a-domain-specific-language-dsl-for-work'>A domain-specific language (DSL) for work</a></li>
+<li>⇢ <a href='#self-hosting-projects-i-dont-have-time-for'>Self-hosting projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#my-own-matrix-server'>My own Matrix server</a></li>
+<li>⇢ ⇢ <a href='#ampache-music-server'>Ampache music server</a></li>
+<li>⇢ ⇢ <a href='#librum-ebook-reader'>Librum eBook reader</a></li>
+<li>⇢ ⇢ <a href='#memos---note-taking-service'>Memos - Note-taking service</a></li>
+<li>⇢ ⇢ <a href='#bepasty-server'>Bepasty server</a></li>
+<li>⇢ <a href='#books-i-dont-have-time-to-read'>Books I don&#39;t have time to read</a></li>
+<li>⇢ ⇢ <a href='#fluent-python'>Fluent Python</a></li>
+<li>⇢ ⇢ <a href='#programming-ruby'>Programming Ruby</a></li>
+<li>⇢ ⇢ <a href='#peter-f-hamilton-science-fiction-books'>Peter F. Hamilton science fiction books</a></li>
+<li>⇢ <a href='#new-websites-i-dont-have-time-for'>New websites I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#create-a-why-raku-rox-site'>Create a "Why Raku Rox" site</a></li>
+<li>⇢ <a href='#research-projects-i-dont-have-time-for'>Research projects I don&#39;t have time for</a></li>
+<li>⇢ ⇢ <a href='#project-secure'>Project secure</a></li>
+<li>⇢ ⇢ <a href='#cpu-utilisation-is-all-wrong'>CPU utilisation is all wrong</a></li>
+</ul><br />
+<h2 style='display: inline' id='hardware-projects-i-dont-have-time-for'>Hardware projects I don&#39;t have time for</h2><br />
+<br />
+<h3 style='display: inline' id='i-use-arch-btw'>I use Arch, btw!</h3><br />
<br />
<span>The idea was to build the ultimate Arch Linux setup on an old ThinkPad X200 booting with the open-source LibreBoot firmware, complete with a tiling window manager, dmenu, and all the elite tools. This is mainly for fun, as I am pretty happy (and productive) with my Fedora Linux setup. I ran EndeavourOS (close enough to Arch) on an old ThinkPad for a while, but then I switched back to Fedora because the rolling releases were annoying (there were too many updates).</span><br />
<br />
-<h3 style='display: inline' id='OpenBSDhomerouter'>OpenBSD home router</h3><br />
+<h3 style='display: inline' id='openbsd-home-router'>OpenBSD home router</h3><br />
<br />
<span>In my student days, I operated a 486DX PC with OpenBSD as my home DSL internet router. I bought the setup from my brother back then. The router&#39;s hostname was <span class='inlinecode'>fishbone</span>, and it performed very well until it became too slow for larger broadband bandwidth after a few years of use.</span><br />
<br />
@@ -1196,23 +1192,23 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='https://OpenWRT.org/'>https://OpenWRT.org/</a><br />
<br />
-<h3 style='display: inline' id='PiHoleserver'>Pi-Hole server</h3><br />
+<h3 style='display: inline' id='pi-hole-server'>Pi-Hole server</h3><br />
<br />
<span>Install Pi-hole on one of my Pis or run it in a container on Freekat. For now, I am putting this on hold as the primary use for this would be ad-blocking, and I am avoiding surfing ad-heavy sites anyway. So there&#39;s no significant use for me personally at the moment.</span><br />
<br />
<a class='textlink' href='https://pi-hole.net/'>https://pi-hole.net/</a><br />
<br />
-<h3 style='display: inline' id='Infodash'>Infodash</h3><br />
+<h3 style='display: inline' id='infodash'>Infodash</h3><br />
<br />
<span>The idea was to implement my smart info screen using purely open-source software. It would display information such as the health status of my personal infrastructure, my current work tracker balance (I track how much I work to prevent overworking), and my sports balance (I track my workouts to stay within my quotas for general health). The information would be displayed on a small screen in my home office, on my Pine watch, or remotely from any terminal window.</span><br />
<br />
<span>I don&#39;t have this, and I haven&#39;t missed having it, so I guess it would have been nice to have it but not provide any value other than the "fun of tinkering."</span><br />
<br />
-<h3 style='display: inline' id='Readingstation'>Reading station</h3><br />
+<h3 style='display: inline' id='reading-station'>Reading station</h3><br />
<br />
<span>I wanted to create the most comfortable setup possible for reading digital notes, articles, and books. This would include a comfy armchair, a silent barebone PC or Raspberry Pi computer running either Linux or *BSD, and an e-Ink display mounted on a flexible arm/stand. There would also be a small table for my paper journal for occasional note-taking. There are a bunch of open-source software available for PDF and ePub reading. It would have been neat, but I am currently using the most straightforward solution: a Kobo Elipsa 2E, which I can use on my sofa.</span><br />
<br />
-<h3 style='display: inline' id='Retrostation'>Retro station</h3><br />
+<h3 style='display: inline' id='retro-station'>Retro station</h3><br />
<br />
<span>I had an idea to build a computer infused with retro elements. It wouldn&#39;t use actual retro hardware but would look and feel like a retro machine. I would call this machine HAL or Retron.</span><br />
<br />
@@ -1224,14 +1220,14 @@ Projects I currently don&#39;t have time for
<br />
<span>The computer would occasionally be used to surf the Gemini space, take notes, blog, or do light coding. However, I have abandoned the project for now because there isn&#39;t enough space in my apartment, as my daughter will have a room for herself.</span><br />
<br />
-<h3 style='display: inline' id='Soundserver'>Sound server</h3><br />
+<h3 style='display: inline' id='sound-server'>Sound server</h3><br />
<br />
<span>My idea involved using a barebone mini PC running FreeBSD with the Navidrome sound server software. I could remotely connect to it from my phone, workstation/laptop to listen to my music collection. The storage would be based on ZFS with at least two drives for redundancy. The app would run in a Linux Docker container under FreeBSD via Bhyve.</span><br />
<br />
<a class='textlink' href='https://github.com/navidrome/navidrome'>https://github.com/navidrome/navidrome</a><br />
<a class='textlink' href='https://wiki.freebsd.org/bhyve'>https://wiki.freebsd.org/bhyve</a><br />
<br />
-<h3 style='display: inline' id='ProjectFreekat'>Project Freekat</h3><br />
+<h3 style='display: inline' id='project-freekat'>Project Freekat</h3><br />
<br />
<span>My idea involved purchasing the Meerkat mini PC from System76 and installing FreeBSD. Like the sound-server idea (see previous idea), it would run Linux Docker through Bhyve. I would self-host a bunch of applications on it:</span><br />
<br />
@@ -1255,15 +1251,15 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='./2024-02-04-from-babylon5.buetow.org-to-.cloud.html'>My personal AWS setup</a><br />
<br />
-<h2 style='display: inline' id='ProgrammingprojectsIdonthavetimefor'>Programming projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='programming-projects-i-dont-have-time-for'>Programming projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='CLIHIVE'>CLI-HIVE</h3><br />
+<h3 style='display: inline' id='cli-hive'>CLI-HIVE</h3><br />
<br />
<span>This was a pet project idea that my brother and I had. The concept was to collect all shell history of all servers at work in a central place, apply ML/AI, and return suggestions for commands to type or allow a fuzzy search on all the commands in the history. The recommendations for the commands on a server could be context-based (e.g., past occurrences on the same server type). </span><br />
<br />
<span>You could decide whether to share your command history with others so they would receive better suggestions depending on which server they are on, or you could keep all the history private and secure. The plan was to add hooks into zsh and bash shells so that all commands typed would be pushed to the central location for data mining.</span><br />
<br />
-<h3 style='display: inline' id='EnhancedKISShomephotoalbums'>Enhanced KISS home photo albums</h3><br />
+<h3 style='display: inline' id='enhanced-kiss-home-photo-albums'>Enhanced KISS home photo albums</h3><br />
<br />
<span>I don&#39;t use third-party cloud providers such as Google Photos to store/archive my photos. Instead, they are all on a ZFS volume on my home NAS, with regular offsite backups taken. Thus, my project would involve implementing the features I miss most or finding a solution simple enough to host on my LAN:</span><br />
<br />
@@ -1275,7 +1271,7 @@ Projects I currently don&#39;t have time for
</ul><br />
<a class='textlink' href='./2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></a><br />
<br />
-<h3 style='display: inline' id='KISSfilesyncserverwithendtoendencryption'>KISS file sync server with end-to-end encryption</h3><br />
+<h3 style='display: inline' id='kiss-file-sync-server-with-end-to-end-encryption'>KISS file sync server with end-to-end encryption</h3><br />
<br />
<span>I aimed to have a simple server to which I could sync notes and other documents, ensuring that the data is fully end-to-end encrypted. This way, only the clients could decrypt the data, while an encrypted copy of all the data would be stored on the server side. There are a few solutions (e.g., NextCloud), but they are bloated or complex to set up. </span><br />
<br />
@@ -1285,7 +1281,7 @@ Projects I currently don&#39;t have time for
<br />
<span>I also had the idea of using this as a pet project for work and naming it <span class='inlinecode'>Cryptolake</span>, utilizing post-quantum-safe encryption algorithms and a distributed data store.</span><br />
<br />
-<h3 style='display: inline' id='Alanguagethatcompilestobash'>A language that compiles to <span class='inlinecode'>bash</span></h3><br />
+<h3 style='display: inline' id='a-language-that-compiles-to-bash'>A language that compiles to <span class='inlinecode'>bash</span></h3><br />
<br />
<span>I had an idea to implement a higher-level language with strong typing that could be compiled into native Bash code. This would make all resulting Bash scripts more robust and secure by default. The project would involve developing a parser, lexer, and a Bash code generator. I planned to implement this in Go.</span><br />
<br />
@@ -1293,11 +1289,11 @@ Projects I currently don&#39;t have time for
<br />
<a class='textlink' href='./2010-05-09-the-fype-programming-language.html'>The Fype Programming Language</a><br />
<br />
-<h3 style='display: inline' id='Alanguagethatcompilestosed'>A language that compiles to <span class='inlinecode'>sed</span></h3><br />
+<h3 style='display: inline' id='a-language-that-compiles-to-sed'>A language that compiles to <span class='inlinecode'>sed</span></h3><br />
<br />
<span>This is similar to the previous idea, but the difference is that the language would compile into a sed script. Sed has many features, but the brief syntax makes scripts challenging to read. The higher-level language would mimic sed but in a form that is easier for humans to read.</span><br />
<br />
-<h3 style='display: inline' id='RenovateVSSim'>Renovate VS-Sim</h3><br />
+<h3 style='display: inline' id='renovate-vs-sim'>Renovate VS-Sim</h3><br />
<br />
<span>VS-Sim is an open-source simulator programmed in Java for distributed systems. VS-Sim stands for "Verteilte Systeme Simulator," the German translation for "Distributed Systems Simulator." The VS-Sim project was my diploma thesis at Aachen University of Applied Sciences.</span><br />
<br />
@@ -1313,13 +1309,13 @@ Projects I currently don&#39;t have time for
</ul><br />
<span>I have put this project on hold for now, as I want to do more things in Go and fewer in Java in my personal time.</span><br />
<br />
-<h3 style='display: inline' id='KISSticketingsystem'>KISS ticketing system</h3><br />
+<h3 style='display: inline' id='kiss-ticketing-system'>KISS ticketing system</h3><br />
<br />
<span>My idea was to program a KISS (Keep It Simple, Stupid) ticketing system for my personal use. However, I am abandoning this project because I now use the excellent Taskwarrior software. You can learn more about it at:</span><br />
<br />
<a class='textlink' href='https://taskwarrior.org/'>https://taskwarrior.org/</a><br />
<br />
-<h3 style='display: inline' id='AdomainspecificlanguageDSLforwork'>A domain-specific language (DSL) for work</h3><br />
+<h3 style='display: inline' id='a-domain-specific-language-dsl-for-work'>A domain-specific language (DSL) for work</h3><br />
<br />
<span>At work, an internal service allocates storage space for our customers on our storage clusters. It automates many tasks, but many tweaks are accessible through APIs. I had the idea to implement a Ruby-based DSL that would make using all those APIs for ad-hoc changes effortless, e.g.:</span><br />
<br />
@@ -1339,19 +1335,19 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='./2022-04-10-creative-universe.html'>Creative universe (Work pet project contests)</a><br />
<br />
-<h2 style='display: inline' id='SelfhostingprojectsIdonthavetimefor'>Self-hosting projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='self-hosting-projects-i-dont-have-time-for'>Self-hosting projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='MyownMatrixserver'>My own Matrix server</h3><br />
+<h3 style='display: inline' id='my-own-matrix-server'>My own Matrix server</h3><br />
<br />
<span>I value privacy. It would be great to run my own Matrix server for communication within my family. I have yet to have time to look into this more closely.</span><br />
<br />
<a class='textlink' href='https://matrix.org'>https://matrix.org</a><br />
<br />
-<h3 style='display: inline' id='Ampachemusicserver'>Ampache music server</h3><br />
+<h3 style='display: inline' id='ampache-music-server'>Ampache music server</h3><br />
<br />
<span>Ampache is an open-source music streaming server that allows you to host and manage your music collection online, accessible via a web interface. Setting it up involves configuring a web server, installing Ampache, and organising your music files, which can be time-consuming. </span><br />
<br />
-<h3 style='display: inline' id='LibrumeBookreader'>Librum eBook reader</h3><br />
+<h3 style='display: inline' id='librum-ebook-reader'>Librum eBook reader</h3><br />
<br />
<span>Librum is a self-hostable e-book reader that allows users to manage and read their e-book collection from a web interface. Designed to be a self-contained platform where users can upload, organise, and access their e-books, Librum emphasises privacy and control over one&#39;s digital library.</span><br />
<br />
@@ -1359,7 +1355,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am using my Kobo devices or my laptop to read these kinds of things for now.</span><br />
<br />
-<h3 style='display: inline' id='MemosNotetakingservice'>Memos - Note-taking service</h3><br />
+<h3 style='display: inline' id='memos---note-taking-service'>Memos - Note-taking service</h3><br />
<br />
<span>Memos is a note-taking service that simplifies and streamlines information capture and organisation. It focuses on providing users with a minimalistic and intuitive interface, aiming to enhance productivity without the clutter commonly associated with more complex note-taking apps.</span><br />
<br />
@@ -1367,27 +1363,27 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am abandoning this idea for now, as I am currently using plain Markdown files for notes and syncing them with Syncthing across my devices.</span><br />
<br />
-<h3 style='display: inline' id='Bepastyserver'>Bepasty server</h3><br />
+<h3 style='display: inline' id='bepasty-server'>Bepasty server</h3><br />
<br />
<span>Bepasty is like a Pastebin for all kinds of files (text, image, audio, video, documents, binary, etc.). It seems very neat, but I only share a little nowadays. When I do, I upload files via SCP to one of my OpenBSD VMs and serve them via vanilla httpd there, keeping it KISS.</span><br />
<br />
<a class='textlink' href='https://github.com/bepasty/bepasty-server'>https://github.com/bepasty/bepasty-server</a><br />
<br />
-<h2 style='display: inline' id='BooksIdonthavetimetoread'>Books I don&#39;t have time to read</h2><br />
+<h2 style='display: inline' id='books-i-dont-have-time-to-read'>Books I don&#39;t have time to read</h2><br />
<br />
-<h3 style='display: inline' id='FluentPython'>Fluent Python</h3><br />
+<h3 style='display: inline' id='fluent-python'>Fluent Python</h3><br />
<br />
<span>I consider myself an advanced programmer in Ruby, Bash, and Perl. However, Python seems to be ubiquitous nowadays, and most of my colleagues prefer Python over any other languages. Thus, it makes sense for me to also learn and use Python. After conducting some research, "Fluent Python" appears to be the best book for this purpose.</span><br />
<br />
<span>I don&#39;t have time to read this book at the moment, as I am focusing more on Go (Golang) and I know just enough Python to get by (e.g., for code reviews). Additionally, there are still enough colleagues around who can review my Ruby or Bash code.</span><br />
<br />
-<h3 style='display: inline' id='ProgrammingRuby'>Programming Ruby</h3><br />
+<h3 style='display: inline' id='programming-ruby'>Programming Ruby</h3><br />
<br />
<span>I&#39;ve read a couple of Ruby books already, but "Programming Ruby," which covers up to Ruby 3.2, was just recently released. I would like to read this to deepen my Ruby knowledge further and to revisit some concepts that I may have forgotten.</span><br />
<br />
<span>As stated in this blog post, I am currently more eager to focus on Go, so I&#39;ve put the Ruby book on hold. Additionally, there wouldn&#39;t be enough colleagues who could "understand" my advanced Ruby skills anyway, as most of them are either Java developers or SREs who don&#39;t code a lot.</span><br />
<br />
-<h3 style='display: inline' id='PeterFHamiltonsciencefictionbooks'>Peter F. Hamilton science fiction books</h3><br />
+<h3 style='display: inline' id='peter-f-hamilton-science-fiction-books'>Peter F. Hamilton science fiction books</h3><br />
<br />
<span>I am a big fan of science fiction, but my reading list is currently too long anyway. So, I&#39;ve put the Hamilton books on the back burner for now. You can see all the novels I&#39;ve read here:</span><br />
<br />
@@ -1395,9 +1391,9 @@ http://www.gnu.org/software/src-highlite -->
<a class='textlink' href='https://paul.buetow.org/novels.gmi'>https://paul.buetow.org/novels.gmi</a><br />
<br />
<br />
-<h2 style='display: inline' id='NewwebsitesIdonthavetimefor'>New websites I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='new-websites-i-dont-have-time-for'>New websites I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='CreateaWhyRakuRoxsite'>Create a "Why Raku Rox" site</h3><br />
+<h3 style='display: inline' id='create-a-why-raku-rox-site'>Create a "Why Raku Rox" site</h3><br />
<br />
<span>The website "Why Raku Rox" would showcase the unique features and benefits of the Raku programming language and highlight why it is an exceptional choice for developers. Raku, originally known as Perl 6, is a dynamic, expressive language designed for flexible and powerful software development.</span><br />
<br />
@@ -1408,9 +1404,9 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I am not working on this for now, as I currently don’t even have time to program in Raku.</span><br />
<br />
-<h2 style='display: inline' id='ResearchprojectsIdonthavetimefor'>Research projects I don&#39;t have time for</h2><br />
+<h2 style='display: inline' id='research-projects-i-dont-have-time-for'>Research projects I don&#39;t have time for</h2><br />
<br />
-<h3 style='display: inline' id='Projectsecure'>Project secure</h3><br />
+<h3 style='display: inline' id='project-secure'>Project secure</h3><br />
<br />
<span>For work: Implement a PoC that dumps Java heaps to extract secrets from memory. Based on the findings, write a Java program that encrypts secrets in the kernel using the <span class='inlinecode'>memfd_secret()</span> syscall to make it even more secure.</span><br />
<br />
@@ -1418,7 +1414,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Due to other priorities, I am putting this on hold for now. The software we have built is pretty damn secure already!</span><br />
<br />
-<h3 style='display: inline' id='CPUutilisationisallwrong'>CPU utilisation is all wrong</h3><br />
+<h3 style='display: inline' id='cpu-utilisation-is-all-wrong'>CPU utilisation is all wrong</h3><br />
<br />
<span>This research project, based on Brendan Gregg&#39;s blog post, could potentially significantly impact my work.</span><br />
<br />
@@ -1448,7 +1444,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>These are my personal takeaways after reading 'Slow Productivity - The lost Art of Accomplishment Without Burnout' by Cal Newport.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='SlowProductivitybooknotes'>"Slow Productivity" book notes</h1><br />
+ <h1 style='display: inline' id='slow-productivity-book-notes'>"Slow Productivity" book notes</h1><br />
<br />
<span class='quote'>Published at 2024-04-27T14:18:51+03:00</span><br />
<br />
@@ -1472,7 +1468,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>"Slow productivity" does not mean being less productive. Cal Newport wants to point out that you can be much more productive with "slow productivity" than you would be without it. It is a different way of working than most of us are used to in the modern workplace, which is hyper-connected and always online.</span><br />
<br />
-<h2 style='display: inline' id='PseudoproductivityandShallowwork'>Pseudo-productivity and Shallow work</h2><br />
+<h2 style='display: inline' id='pseudo-productivity-and-shallow-work'>Pseudo-productivity and Shallow work</h2><br />
<br />
<span>People use visible activity instead of real productivity because it&#39;s easier to measure. This is called pseudo-productivity.</span><br />
<span>Pseudo-productivity is used as a proxy for real productivity. If you don&#39;t look busy, you are dismissed as lazy or lacking a work ethic.</span><br />
@@ -1481,7 +1477,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Shallow work usually doesn&#39;t help you to accomplish big things. Always have the big picture in mind. Shallow work can&#39;t be entirely eliminated, but it can be managed—for example, plan dedicated time slots for certain types of shallow work.</span><br />
<br />
-<h2 style='display: inline' id='Accomplishmentswithoutburnout'>Accomplishments without burnout</h2><br />
+<h2 style='display: inline' id='accomplishments-without-burnout'>Accomplishments without burnout</h2><br />
<br />
<span>The overall perception is that if you want to accomplish something, you must put yourself on the verge of burnout. Cal Newport writes about "The lost Art of Accomplishments without Burnouts", where you can accomplish big things without all the stress usually involved.</span><br />
<br />
@@ -1492,7 +1488,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Work at a natural pace</li>
<li>Obsess over quality</li>
</ul><br />
-<h2 style='display: inline' id='Dofewerthings'>Do fewer things</h2><br />
+<h2 style='display: inline' id='do-fewer-things'>Do fewer things</h2><br />
<br />
<span>There will always be more work. The faster you finish it, the quicker you will have something new on your plate.</span><br />
<br />
@@ -1526,7 +1522,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Put tasks on autopilot (regular recurring tasks).</span><br />
<br />
-<h2 style='display: inline' id='Workatanaturalpace'>Work at a natural pace</h2><br />
+<h2 style='display: inline' id='work-at-a-natural-pace'>Work at a natural pace</h2><br />
<br />
<span>We suffer from overambitious timelines, task lists, and business. Focus on what matters. Don&#39;t rush your most important work to achieve better results.</span><br />
<br />
@@ -1542,7 +1538,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Schedule slow seasons (e.g., when on vacation). Disconnect in the slow season. Doing nothing will not satisfy your mind, though. You could read a book on your subject matter to counteract that.</span><br />
<br />
-<h2 style='display: inline' id='Obsessoverquality'>Obsess over quality </h2><br />
+<h2 style='display: inline' id='obsess-over-quality-'>Obsess over quality </h2><br />
<br />
<span>Obsess over quality even if you lose short-term opportunities by rejecting other projects. Quality demands you slow down. The two previous two principles (do fewer things and work at a natural pace) are mandatory for this principle to work:</span><br />
<br />
@@ -1606,7 +1602,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>Art by Michael J. Penick (mod. by Paul B.)</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='KISShighavailabilitywithOpenBSD'>KISS high-availability with OpenBSD</h1><br />
+ <h1 style='display: inline' id='kiss-high-availability-with-openbsd'>KISS high-availability with OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2024-03-30T22:12:56+02:00</span><br />
<br />
@@ -1635,23 +1631,21 @@ _____|_:_:_| (o)-(o) |_:_:_|--&#39;`-. ,--. ksh under-water (((\&#39;/
</pre>
<br />
-<pre>
-Table of contents
-=================
-
-KISS high-availability with OpenBSD
- My auto-failover requirements
- My HA solution
- Only OpenBSD base installation required
- Fairly cheap and geo-redundant
- Failover time and split-brain
- Failover support for multiple protocols
- Let&#39;s encrypt TLS certificates
- Monitoring
- Rex automation
- More HA
-</pre>
+<h2 style='display: inline' id='table-of-contents'>Table of Contents</h2><br />
<br />
+<ul>
+<li><a href='#kiss-high-availability-with-openbsd'>KISS high-availability with OpenBSD</a></li>
+<li>⇢ <a href='#my-auto-failover-requirements'>My auto-failover requirements</a></li>
+<li>⇢ <a href='#my-ha-solution'>My HA solution</a></li>
+<li>⇢ ⇢ <a href='#only-openbsd-base-installation-required'>Only OpenBSD base installation required</a></li>
+<li>⇢ ⇢ <a href='#fairly-cheap-and-geo-redundant'>Fairly cheap and geo-redundant</a></li>
+<li>⇢ ⇢ <a href='#failover-time-and-split-brain'>Failover time and split-brain</a></li>
+<li>⇢ ⇢ <a href='#failover-support-for-multiple-protocols'>Failover support for multiple protocols</a></li>
+<li>⇢ ⇢ <a href='#lets-encrypt-tls-certificates'>Let&#39;s encrypt TLS certificates</a></li>
+<li>⇢ ⇢ <a href='#monitoring'>Monitoring</a></li>
+<li>⇢ ⇢ <a href='#rex-automation'>Rex automation</a></li>
+<li>⇢ <a href='#more-ha'>More HA</a></li>
+</ul><br />
<span>I have always wanted a highly available setup for my personal websites. I could have used off-the-shelf hosting solutions or hosted my sites in an AWS S3 bucket. I have used technologies like (in unsorted and slightly unrelated order) BGP, LVS/IPVS, ldirectord, Pacemaker, STONITH, scripted VIP failover via ARP, heartbeat, heartbeat2, Corosync, keepalived, DRBD, and commercial F5 Load Balancers for high availability at work. </span><br />
<br />
<span>But still, my personal sites were never highly available. All those technologies are great for professional use, but I was looking for something much more straightforward for my personal space - something as KISS (keep it simple and stupid) as possible.</span><br />
@@ -1660,7 +1654,7 @@ KISS high-availability with OpenBSD
<br />
<span class='quote'>PS: ASCII-art reflects an OpenBSD under-water world with all the tools available in the base system.</span><br />
<br />
-<h2 style='display: inline' id='Myautofailoverrequirements'>My auto-failover requirements</h2><br />
+<h2 style='display: inline' id='my-auto-failover-requirements'>My auto-failover requirements</h2><br />
<br />
<ul>
<li>Be OpenBSD-based (I prefer OpenBSD because of the cleanliness and good documentation) and rely on as few external packages as possible. </li>
@@ -1673,9 +1667,9 @@ KISS high-availability with OpenBSD
<li>Have good monitoring in place so I know when a failover was performed and when something went wrong with the failover.</li>
<li>Don&#39;t configure everything manually. The configuration should be automated and reproducible.</li>
</ul><br />
-<h2 style='display: inline' id='MyHAsolution'>My HA solution</h2><br />
+<h2 style='display: inline' id='my-ha-solution'>My HA solution</h2><br />
<br />
-<h3 style='display: inline' id='OnlyOpenBSDbaseinstallationrequired'>Only OpenBSD base installation required</h3><br />
+<h3 style='display: inline' id='only-openbsd-base-installation-required'>Only OpenBSD base installation required</h3><br />
<br />
<span>My HA solution for Web and Gemini is based on DNS (OpenBSD&#39;s <span class='inlinecode'>nsd</span>) and a simple shell script (OpenBSD&#39;s <span class='inlinecode'>ksh</span> and some little <span class='inlinecode'>sed</span> and <span class='inlinecode'>awk</span> and <span class='inlinecode'>grep</span>). All software used here is part of the OpenBSD base system and no external package needs to be installed - OpenBSD is a complete operating system.</span><br />
<br />
@@ -1831,7 +1825,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://codeberg.org/snonux/rexfiles/src/branch/master/frontends/scripts/dns-failover.ksh'>dns-failover.ksh</a><br />
<br />
-<h3 style='display: inline' id='Fairlycheapandgeoredundant'>Fairly cheap and geo-redundant</h3><br />
+<h3 style='display: inline' id='fairly-cheap-and-geo-redundant'>Fairly cheap and geo-redundant</h3><br />
<br />
<span>I am renting two small OpenBSD VMs: One at OpenBSD Amsterdam and the other at Hetzner Cloud. So, both VMs are hosted at another provider, in different IP subnets, and in different countries (the Netherlands and Germany).</span><br />
<br />
@@ -1842,13 +1836,13 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>A DNS-based failover is cheap, as there isn&#39;t any BGP or fancy load balancer to pay for. Small VMs also cost less than millions.</span><br />
<br />
-<h3 style='display: inline' id='Failovertimeandsplitbrain'>Failover time and split-brain</h3><br />
+<h3 style='display: inline' id='failover-time-and-split-brain'>Failover time and split-brain</h3><br />
<br />
<span>A DNS failover doesn&#39;t happen immediately. I&#39;ve configured a DNS TTL of <span class='inlinecode'>300</span> seconds, and the failover script checks once per minute whether to perform a failover or not. So, in total, a failover can take six minutes (not including other DNS caching servers somewhere in the interweb, but that&#39;s fine - eventually, all requests will resolve to the new master after a failover).</span><br />
<br />
<span>A split-brain scenario between the old master and the new master might happen. That&#39;s OK, as my sites are static, and there&#39;s no database to synchronise other than HTML, CSS, and images when the site is updated.</span><br />
<br />
-<h3 style='display: inline' id='Failoversupportformultipleprotocols'>Failover support for multiple protocols</h3><br />
+<h3 style='display: inline' id='failover-support-for-multiple-protocols'>Failover support for multiple protocols</h3><br />
<br />
<span>With the DNS failover, HTTP, HTTPS, and Gemini protocols are failovered. This works because all domain virtual hosts are configured on either VM&#39;s <span class='inlinecode'>httpd</span> (OpenBSD&#39;s HTTP server) and <span class='inlinecode'>relayd</span> (it&#39;s also part of OpenBSD and I use it to TLS offload the Gemini protocol). So, both VMs accept requests for all the hosts. It&#39;s just a matter of the DNS entries, which VM receives the requests.</span><br />
<br />
@@ -1859,7 +1853,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>On DNS failover, master and standby swap roles without config changes other than the DNS entries. That&#39;s KISS (keep it simple and stupid)!</span><br />
<br />
-<h3 style='display: inline' id='LetsencryptTLScertificates'>Let&#39;s encrypt TLS certificates</h3><br />
+<h3 style='display: inline' id='lets-encrypt-tls-certificates'>Let&#39;s encrypt TLS certificates</h3><br />
<br />
<span>All my hosts use TLS certificates from Let&#39;s Encrypt. The ACME automation for requesting and keeping the certificates valid (up to date) requires that the host requesting a certificate from Let&#39;s Encrypt is also the host using that certificate.</span><br />
<br />
@@ -1896,7 +1890,7 @@ http://www.gnu.org/software/src-highlite -->
<a class='textlink' href='https://man.OpenBSD.org/acme-client.1'>https://man.OpenBSD.org/acme-client.1</a><br />
<a class='textlink' href='./2022-07-30-lets-encrypt-with-openbsd-and-rex.html'>Let&#39;s Encrypt with OpenBSD and Rex</a><br />
<br />
-<h3 style='display: inline' id='Monitoring'>Monitoring</h3><br />
+<h3 style='display: inline' id='monitoring'>Monitoring</h3><br />
<br />
<span>CRON is sending me an E-Mail whenever a failover is performed (or whenever a failover failed). Furthermore, I am monitoring my DNS servers and hosts through Gogios, the monitoring system I have developed. </span><br />
<br />
@@ -1905,7 +1899,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Gogios, as I developed it by myself, isn&#39;t part of the OpenBSD base system. </span><br />
<br />
-<h3 style='display: inline' id='Rexautomation'>Rex automation</h3><br />
+<h3 style='display: inline' id='rex-automation'>Rex automation</h3><br />
<br />
<span>I use Rexify, a friendly configuration management system that allows automatic deployment and configuration.</span><br />
<br />
@@ -1914,7 +1908,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Rex isn&#39;t part of the OpenBSD base system, but I didn&#39;t need to install any external software on OpenBSD either as Rex is invoked from my Laptop!</span><br />
<br />
-<h2 style='display: inline' id='MoreHA'>More HA</h2><br />
+<h2 style='display: inline' id='more-ha'>More HA</h2><br />
<br />
<span>Other high-available services running on my OpenBSD VMs are my MTAs for mail forwarding (OpenSMTPD - also part of the OpenBSD base system) and the authoritative DNS servers (<span class='inlinecode'>nsd</span>) for all my domains. No particular HA setup is required, though, as the protocols (SMTP and DNS) already take care of the failover to the next available host! </span><br />
<br />
@@ -1952,7 +1946,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>I am an ideas person. I find myself frequently somewhere on the streets with an idea in my head but no paper journal noting it down. </summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='AfineFyneAndroidappforquicklyloggingideasprogrammedinGo'>A fine Fyne Android app for quickly logging ideas programmed in Go</h1><br />
+ <h1 style='display: inline' id='a-fine-fyne-android-app-for-quickly-logging-ideas-programmed-in-go'>A fine Fyne Android app for quickly logging ideas programmed in Go</h1><br />
<br />
<span class='quote'>Published at 2024-03-03T00:07:21+02:00</span><br />
<br />
@@ -1984,7 +1978,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>My Android apps will never be polished, but they will get the job done, and this is precisely how I want them to be. Minimalistic but functional. I could spend more time polishing Quick logger, but my Quick logger app then may be the same as any other notes app out there (complicated or bloated).</span><br />
<br />
-<h2 style='display: inline' id='Alleasypeasy'>All easy-peasy?</h2><br />
+<h2 style='display: inline' id='all-easy-peasy'>All easy-peasy?</h2><br />
<br />
<span>I did have some issues with the app logo for Android, though. Android always showed the default app icon and not my custom icon whenever I used a custom <span class='inlinecode'>AndroidManifest.xml</span> for custom app storage permissions. Without a custom <span class='inlinecode'>AndroidAmnifest.xml</span> the app icon would be displayed under Android, but then the app would not have the <span class='inlinecode'>MANAGE_EXTERNAL_STORAGE</span> permission, which is required for Quick logger to write to a custom directory. I found a workaround, which I commented on here at Github:</span><br />
<br />
@@ -2201,7 +2195,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>HKISSFISHKISSFISHKISSFISHKISSFISH KISS</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='OnereasonwhyIloveOpenBSD'>One reason why I love OpenBSD</h1><br />
+ <h1 style='display: inline' id='one-reason-why-i-love-openbsd'>One reason why I love OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2024-01-13T22:55:33+02:00</span><br />
<br />
@@ -2282,7 +2276,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>Welcome to Part 3 of my Site Reliability Engineering (SRE) series. I'm currently working as a Site Reliability Engineer, and I’m here to share what SRE is all about in this blog series.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='SiteReliabilityEngineeringPart3OnCallCultureandtheHumanSide'>Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</h1><br />
+ <h1 style='display: inline' id='site-reliability-engineering---part-3-on-call-culture-and-the-human-side'>Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</h1><br />
<br />
<span class='quote'>Published at 2024-01-09T18:35:48+02:00</span><br />
<br />
@@ -2290,7 +2284,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect (You are currently reading this)</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side (You are currently reading this)</a><br />
<br />
<pre>
..--""""----..
@@ -2318,7 +2312,7 @@ http://www.gnu.org/software/src-highlite -->
</pre>
<br />
-<h2 style='display: inline' id='OnCallCultureandtheHumanSidePuttingWellbeingFirstintheWorldofReliability'>On-Call Culture and the Human Side: Putting Well-being First in the World of Reliability</h2><br />
+<h2 style='display: inline' id='on-call-culture-and-the-human-side-putting-well-being-first-in-the-world-of-reliability'>On-Call Culture and the Human Side: Putting Well-being First in the World of Reliability</h2><br />
<br />
<span>Site Reliability Engineering is all about keeping systems reliable, but we often forget how important the human side is. A healthy on-call culture is just as crucial as any technical fix. The well-being of the engineers really matters.</span><br />
<br />
@@ -2356,7 +2350,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>This is the third blog post about my Bash Golf series. This series is random Bash tips, tricks, and weirdnesses I have encountered over time. </summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='BashGolfPart3'>Bash Golf Part 3</h1><br />
+ <h1 style='display: inline' id='bash-golf-part-3'>Bash Golf Part 3</h1><br />
<br />
<span class='quote'>Published at 2023-12-10T11:35:54+02:00</span><br />
<br />
@@ -2377,7 +2371,7 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<a class='textlink' href='./2022-01-01-bash-golf-part-2.html'>2022-01-01 Bash Golf Part 2</a><br />
<a class='textlink' href='./2023-12-10-bash-golf-part-3.html'>2023-12-10 Bash Golf Part 3 (You are currently reading this)</a><br />
<br />
-<h2 style='display: inline' id='FUNCNAME'><span class='inlinecode'>FUNCNAME</span></h2><br />
+<h2 style='display: inline' id='funcname'><span class='inlinecode'>FUNCNAME</span></h2><br />
<br />
<span><span class='inlinecode'>FUNCNAME</span> is an array you are looking for a way to dynamically determine the name of the current function (which could be considered the callee in the context of its own execution), you can use the special variable <span class='inlinecode'>FUNCNAME</span>. This is an array variable that contains the names of all shell functions currently in the execution call stack. The element <span class='inlinecode'>FUNCNAME[0]</span> holds the name of the currently executing function, <span class='inlinecode'>FUNCNAME[1]</span> the name of the function that called that, and so on.</span><br />
<br />
@@ -2417,7 +2411,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">INFO</font><font color="#F3E651">|</font><font color="#bb00ff">20231210</font><font color="#ff0000">-</font><font color="#bb00ff">082732</font><font color="#F3E651">|</font><font color="#bb00ff">123002</font><font color="#F3E651">|</font><font color="#ff0000">at_home_friday_evening</font><font color="#F3E651">|</font><font color="#ff0000">One Peperoni Pizza</font><font color="#F3E651">,</font><font color="#ff0000"> please</font>
</pre>
<br />
-<h2 style='display: inline' id=''><span class='inlinecode'>:(){ :|:&amp; };:</span></h2><br />
+<h2 style='display: inline' id='--'><span class='inlinecode'>:(){ :|:&amp; };:</span></h2><br />
<br />
<span>This one may be widely known already, but I am including it here as I found a cute image illustrating it. But to break <span class='inlinecode'>:(){ :|:&amp; };:</span> down:</span><br />
<br />
@@ -2440,7 +2434,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./bash-golf-part-3/bash-fork-bomb.jpg'><img alt='Bash fork bomb' title='Bash fork bomb' src='./bash-golf-part-3/bash-fork-bomb.jpg' /></a><br />
<br />
-<h2 style='display: inline' id='Innerfunctions'>Inner functions</h2><br />
+<h2 style='display: inline' id='inner-functions'>Inner functions</h2><br />
<br />
<span>Bash defines variables as it is interpreting the code. The same applies to function declarations. Let&#39;s consider this code:</span><br />
<br />
@@ -2509,7 +2503,7 @@ Wintel inside!
Wintel inside!
</pre>
<br />
-<h2 style='display: inline' id='Exportingfunctions'>Exporting functions</h2><br />
+<h2 style='display: inline' id='exporting-functions'>Exporting functions</h2><br />
<br />
<span>Have you ever wondered how to execute a shell function in parallel through <span class='inlinecode'>xargs</span>? The problem is that this won&#39;t work:</span><br />
<br />
@@ -2599,7 +2593,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>... because <span class='inlinecode'>some_other_function</span> isn&#39;t exported! You will also need to add an <span class='inlinecode'>export -f some_other_function</span>!</span><br />
<br />
-<h2 style='display: inline' id='Dynamicvariableswithlocal'>Dynamic variables with <span class='inlinecode'>local</span></h2><br />
+<h2 style='display: inline' id='dynamic-variables-with-local'>Dynamic variables with <span class='inlinecode'>local</span></h2><br />
<br />
<span>You may know that <span class='inlinecode'>local</span> is how to declare local variables in a function. Most don&#39;t know that those variables actually have dynamic scope. Let&#39;s consider the following example:</span><br />
<br />
@@ -2639,7 +2633,7 @@ foo
<span>What happened? The variable <span class='inlinecode'>foo</span> (declared with <span class='inlinecode'>local</span>) is available in the function it was declared in and in all other functions down the call stack! We can even modify the value of <span class='inlinecode'>foo</span>, and the change will be visible up the call stack. It&#39;s not a global variable; on the last line, <span class='inlinecode'>echo "$foo"</span> echoes the global variable content.</span><br />
<br />
<br />
-<h2 style='display: inline' id='ifconditionals'><span class='inlinecode'>if</span> conditionals</h2><br />
+<h2 style='display: inline' id='if-conditionals'><span class='inlinecode'>if</span> conditionals</h2><br />
<br />
<span>Consider all variants here more or less equivalent:</span><br />
<br />
@@ -2690,7 +2684,7 @@ ok4a
ok4b
</pre>
<br />
-<h2 style='display: inline' id='Multilinecomments'>Multi-line comments</h2><br />
+<h2 style='display: inline' id='multi-line-comments'>Multi-line comments</h2><br />
<br />
<span>You all know how to comment. Put a <span class='inlinecode'>#</span> in front of it. You could use multiple single-line comments or abuse heredocs and redirect it to the <span class='inlinecode'>:</span> no-op command to emulate multi-line comments. </span><br />
<br />
@@ -2714,7 +2708,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I will not demonstrate the execution of this script, as it won&#39;t print anything! It&#39;s obviously not the most pretty way of commenting on your code, but it could sometimes be handy!</span><br />
<br />
-<h2 style='display: inline' id='Dontchangeitwhileitsexecuted'>Don&#39;t change it while it&#39;s executed</h2><br />
+<h2 style='display: inline' id='dont-change-it-while-its-executed'>Don&#39;t change it while it&#39;s executed</h2><br />
<br />
<span>Consider this script:</span><br />
<br />
@@ -2773,7 +2767,7 @@ echo baz
<summary>This is the second part of my Site Reliability Engineering (SRE) series. I am currently employed as a Site Reliability Engineer and will try to share what SRE is about in this blog series.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='SiteReliabilityEngineeringPart2OperationalBalanceinSRE'>Site Reliability Engineering - Part 2: Operational Balance in SRE</h1><br />
+ <h1 style='display: inline' id='site-reliability-engineering---part-2-operational-balance-in-sre'>Site Reliability Engineering - Part 2: Operational Balance in SRE</h1><br />
<br />
<span class='quote'>Published at 2023-11-19T00:18:18+03:00</span><br />
<br />
@@ -2781,7 +2775,7 @@ echo baz
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE (You are currently reading this)</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<pre>
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
@@ -2798,7 +2792,7 @@ echo baz
⠀⠀⠀⠀⠀⠀⠴⠶⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠶⠦⠀⠀
</pre>
<br />
-<h2 style='display: inline' id='OperationalBalanceinSREStrikingtheRightBalanceBetweenReliabilityandSpeed'>Operational Balance in SRE: Striking the Right Balance Between Reliability and Speed</h2><br />
+<h2 style='display: inline' id='operational-balance-in-sre-striking-the-right-balance-between-reliability-and-speed'>Operational Balance in SRE: Striking the Right Balance Between Reliability and Speed</h2><br />
<br />
<span>Site Reliability Engineering is more than just a bunch of best practices or methods. It&#39;s a guiding light for engineering teams, helping them navigate the tricky waters of modern software development and system management.</span><br />
<span>In the world of software production, there are two big forces that often clash: the push for fast feature releases (velocity) and the need for reliable systems. Traditionally, moving faster meant more risk. SRE helps balance these opposing goals with things like error budgets and SLIs/SLOs. These tools give teams a clear way to measure how much they can push changes without hurting system health. So, the error budget becomes a balancing act, helping teams trade off between innovation and reliability.</span><br />
@@ -2817,7 +2811,7 @@ echo baz
<br />
<span>Continue with the third part of this series:</span><br />
<br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<span>E-Mail your comments to <span class='inlinecode'>paul@nospam.buetow.org</span> :-)</span><br />
<br />
@@ -2837,7 +2831,7 @@ echo baz
<summary>These are my personal takeaways after reading 'Mind Management' by David Kadavy. Note that the book contains much more knowledge wisdom and that these notes only contain points I personally found worth writing down. This is mainly for my own use, but you might find it helpful too.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='MindManagementbooknotes'>"Mind Management" book notes</h1><br />
+ <h1 style='display: inline' id='mind-management-book-notes'>"Mind Management" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-11-11T22:21:47+02:00</span><br />
<br />
@@ -2861,11 +2855,11 @@ echo baz
<li>The point of diminishing returns</li>
<li>The point of negative return</li>
</ul><br />
-<h2 style='display: inline' id='Emptyslotsinthecalendar'>Empty slots in the calendar</h2><br />
+<h2 style='display: inline' id='empty-slots-in-the-calendar'>Empty slots in the calendar</h2><br />
<br />
<span>If we do more things in less time and use all possible slots, speed read, etc., we are more productive. But in reality, that&#39;s not the entire truth. You also exchange one thing against everything else.... You cut out too much from your actual life.</span><br />
<br />
-<h2 style='display: inline' id='Whenyousafetime'>When you safe time...</h2><br />
+<h2 style='display: inline' id='when-you-safe-time'>When you safe time...</h2><br />
<br />
<span>...keep it.</span><br />
<br />
@@ -2874,7 +2868,7 @@ echo baz
<li>Creative thinking needs space. It will pay dividends tomorrow.</li>
<li>You will be rewarded with the "Eureka effect" - a sudden new insight.</li>
</ul><br />
-<h2 style='display: inline' id='Followyourmood'>Follow your mood</h2><br />
+<h2 style='display: inline' id='follow-your-mood'>Follow your mood</h2><br />
<br />
<span>Ask yourself: what is my mood now? We never have the energy to do anything, so the better strategy is to follow your current mode and energy. E.g.:</span><br />
<br />
@@ -2882,7 +2876,7 @@ echo baz
<li>Didn&#39;t sleep enough today? Then, do simple, non-demanding tasks at work</li>
<li>Had a great sleep, and there is even time before work starts? Pull in a workout...</li>
</ul><br />
-<h2 style='display: inline' id='Boostingcreativity'>Boosting creativity</h2><br />
+<h2 style='display: inline' id='boosting-creativity'>Boosting creativity</h2><br />
<br />
<span>The morning without coffee is a gift for creativity, but you often get distracted. Minimize distractions, too. I have no window to stare out but a plain blank wall.</span><br />
<br />
@@ -2892,7 +2886,7 @@ echo baz
<li>Don&#39;t race with time but walk alongside it as rough time lines.</li>
<li>Don&#39;t judge every day after the harvest, but the seed you lay</li>
</ul><br />
-<h2 style='display: inline' id='Therightmoodforthetaskathand'>The right mood for the task at hand</h2><br />
+<h2 style='display: inline' id='the-right-mood-for-the-task-at-hand'>The right mood for the task at hand</h2><br />
<br />
<span>We need to try many different combinations. Limiting ourselves and trying too hard makes us frustrated and burn out. Creativity requires many iterations.</span><br />
<br />
@@ -2906,7 +2900,7 @@ echo baz
<br />
<span>It gives you pleasure and is in a good mood. This increases creativity if you do what you want to do.</span><br />
<br />
-<h2 style='display: inline' id='Creativityhacks'>Creativity hacks</h2><br />
+<h2 style='display: inline' id='creativity-hacks'>Creativity hacks</h2><br />
<br />
<ul>
<li>Coffee can cause anxiety.</li>
@@ -2917,7 +2911,7 @@ echo baz
<li>Go to open spaces for creativity.</li>
<li>Go to closed spaces for polishing.</li>
</ul><br />
-<h2 style='display: inline' id='Planningandstrategizing'>Planning and strategizing</h2><br />
+<h2 style='display: inline' id='planning-and-strategizing'>Planning and strategizing</h2><br />
<br />
<span>Minds work better in sprints and not in marathons. Have a weekly plan, not a daily one.</span><br />
<br />
@@ -2930,7 +2924,7 @@ echo baz
<br />
<span>You could schedule exploratory tasks when you are under grief. Sound systems should create slack for creativity. Plan only for a few minutes.</span><br />
<br />
-<h2 style='display: inline' id='Fakeituntilyoumakeit'>Fake it until you make it. </h2><br />
+<h2 style='display: inline' id='fake-it-until-you-make-it-'>Fake it until you make it. </h2><br />
<br />
<ul>
<li>E.g. act calm if you want to be calm.</li>
@@ -2966,7 +2960,7 @@ echo baz
<summary>Once in a while, I share photos on the inter-web with either family and friends or on my The Irregular Ninja photo site. One hobby of mine is photography (even though I don't have enough time for it - so I am primarily a point-and-shoot photographer).</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='KISSstaticwebphotoalbumswithphotoalbumsh'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></h1><br />
+ <h1 style='display: inline' id='kiss-static-web-photo-albums-with-photoalbumsh'>KISS static web photo albums with <span class='inlinecode'>photoalbum.sh</span></h1><br />
<br />
<span class='quote'>Published at 2023-10-29T22:25:04+02:00</span><br />
<br />
@@ -2987,7 +2981,7 @@ echo baz
&#39;._____________________________________________.&#39;
</pre>
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
<span>Once in a while, I share photos on the inter-web with either family and friends or on my The Irregular Ninja photo site. One hobby of mine is photography (even though I don&#39;t have enough time for it - so I am primarily a point-and-shoot photographer).</span><br />
<br />
@@ -2995,11 +2989,11 @@ echo baz
<br />
<span>I value KISS (keep it simple and stupid) and simplicity. All that&#39;s required for a web photo album is some simple HTML and spice it up with CSS. No need for JavaScript, no need for a complex dynamic website. </span><br />
<br />
-<h2 style='display: inline' id='Introducingphotoalbumsh'>Introducing <span class='inlinecode'>photoalbum.sh</span></h2><br />
+<h2 style='display: inline' id='introducing-photoalbumsh'>Introducing <span class='inlinecode'>photoalbum.sh</span></h2><br />
<br />
<span><span class='inlinecode'>photoalbum.sh</span> is a minimal Bash (Bourne Again Shell) script for Unix-like operating systems (such as Linux) to generate static web photo albums. The resulting static photo album is pure HTML+CSS (without any JavaScript!). It is specially designed to be as simple as possible.</span><br />
<br />
-<h2 style='display: inline' id='Installation'>Installation</h2><br />
+<h2 style='display: inline' id='installation'>Installation</h2><br />
<br />
<span>Installation is straightforward. All required is a recent version of GNU Bash, GNU Make, Git and ImageMagick. On Fedora, the dependencies are installed with:</span><br />
<br />
@@ -3042,7 +3036,7 @@ cp ./src/photoalbum.default.conf /etc/default/photoalbum
This is Photoalbum Version 0.5.1
</pre>
<br />
-<h2 style='display: inline' id='Settingitup'>Setting it up</h2><br />
+<h2 style='display: inline' id='setting-it-up'>Setting it up</h2><br />
<br />
<span>Now, it&#39;s time to set up the Irregular Ninja static web photo album (or any other web photo album you may be setting up!)! Create a directory (here: <span class='inlinecode'>irregular.ninja</span> for the Irregular Ninja Photo site - or any oter sub-directory reflecting your album&#39;s name), and inside of that directory, create an <span class='inlinecode'>incoming</span> directory. The <span class='inlinecode'>incoming</span> directory. Copy all photos to be part of the album there.</span><br />
<br />
@@ -3155,7 +3149,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>So I changed the album title, adjusted some image and thumbnail dimensions, and I want all images to be randomly shuffled every time the album is generated! I also have all my photos in my Nextcloud Photo directory and don&#39;t want to copy them to the local <span class='inlinecode'>incoming</span> directory. Also, a tarball containing the whole album as a download isn&#39;t provided.</span><br />
<br />
-<h2 style='display: inline' id='Generatingthestaticphotoalbum'>Generating the static photo album</h2><br />
+<h2 style='display: inline' id='generating-the-static-photo-album'>Generating the static photo album</h2><br />
<br />
<span>Let&#39;s generate it. Depending on the image sizes and count, the following step may take a while. </span><br />
<br />
@@ -3218,15 +3212,15 @@ blurs html index.html photos thumbs
<br />
<span class='quote'>PS: There&#39;s also a server-side synchronisation script mirroring the same content to another server for high availability reasons (out of scope for this blog post).</span><br />
<br />
-<h2 style='display: inline' id='Cleaningitup'>Cleaning it up</h2><br />
+<h2 style='display: inline' id='cleaning-it-up'>Cleaning it up</h2><br />
<br />
<span>A simple <span class='inlinecode'>make clean</span> will clean up the <span class='inlinecode'>./dist</span> directory and all other (if any) temp files created.</span><br />
<br />
-<h2 style='display: inline' id='HTMLtemplates'>HTML templates</h2><br />
+<h2 style='display: inline' id='html-templates'>HTML templates</h2><br />
<br />
<span>Poke around in this source directory. You will find a bunch of Bash-HTML template files. You could tweak them to your liking. </span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>A decent looking (in my opinion, at least) in less than 500 (273 as of this writing, to be precise) lines of Bash code and with minimal dependencies; what more do you want? How many LOCs would this be in Raku with the same functionality (can it be sub-100?). </span><br />
<br />
@@ -3264,7 +3258,7 @@ blurs html index.html photos thumbs
<summary>Hey there. As I am pretty busy this month personally (I am now on Paternity Leave) and as I still want to post once monthly, the blog post of this month will only be some DTail usage examples. They're from the DTail documentation, but not all readers of my blog may be aware of those!</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='DTailusageexamples'>DTail usage examples</h1><br />
+ <h1 style='display: inline' id='dtail-usage-examples'>DTail usage examples</h1><br />
<br />
<span class='quote'>Published at 2023-09-25T14:57:42+03:00</span><br />
<br />
@@ -3298,7 +3292,7 @@ blurs html index.html photos thumbs
<li>Use <span class='inlinecode'>dmap</span> to aggregate logs and other text files already written</li>
<li><span class='inlinecode'>dserver</span> is the DTail server, where all the clients can connect to</li>
</ul><br />
-<h2 style='display: inline' id='Followinglogs'>Following logs</h2><br />
+<h2 style='display: inline' id='following-logs'>Following logs</h2><br />
<br />
<span>The following example demonstrates how to follow logs of several servers at once. The server list is provided as a flat text file. The example filters all records containing the string <span class='inlinecode'>INFO</span>. Any other Go compatible regular expression can also be used instead of <span class='inlinecode'>INFO</span>.</span><br />
<br />
@@ -3322,7 +3316,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">%</font><font color="#ff0000"> dtail --servers serverlist</font><font color="#F3E651">.</font><font color="#ff0000">txt --grep INFO </font><font color="#bb00ff">"/var/log/dserver/*.log"</font>
</pre>
<br />
-<h2 style='display: inline' id='Aggregatinglogs'>Aggregating logs</h2><br />
+<h2 style='display: inline' id='aggregating-logs'>Aggregating logs</h2><br />
<br />
<span>To run ad-hoc map-reduce aggregations on newly written log lines you must add a query. The following example follows all remote log lines and prints out every few seconds the result to standard output.</span><br />
<br />
@@ -3379,7 +3373,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000"> --query </font><font color="#bb00ff">'from STATS select ... outfile append result.csv'</font>
</pre>
<br />
-<h2 style='display: inline' id='Howtousedcat'>How to use <span class='inlinecode'>dcat</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dcat'>How to use <span class='inlinecode'>dcat</span></h2><br />
<br />
<span>The following example demonstrates how to cat files (display the full content of the files) on several servers at once.</span><br />
<br />
@@ -3403,7 +3397,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">%</font><font color="#ff0000"> dcat --servers serverlist</font><font color="#F3E651">.</font><font color="#ff0000">txt /etc/hostname</font>
</pre>
<br />
-<h2 style='display: inline' id='Howtousedgrep'>How to use <span class='inlinecode'>dgrep</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dgrep'>How to use <span class='inlinecode'>dgrep</span></h2><br />
<br />
<span>The following example demonstrates how to grep files (display only the lines which match a given regular expression) of multiple servers at once. In this example, we look after some entries in <span class='inlinecode'>/etc/passwd</span>. This time, we don&#39;t provide the server list via an file but rather via a comma separated list directly on the command line. We also explore the <span class='inlinecode'>-before</span>, <span class='inlinecode'>-after</span> and <span class='inlinecode'>-max</span> flags (see animation).</span><br />
<br />
@@ -3422,7 +3416,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span class='quote'>Hint: <span class='inlinecode'>-regex</span> is an alias for <span class='inlinecode'>-grep</span>.</span><br />
<br />
-<h2 style='display: inline' id='Howtousedmap'>How to use <span class='inlinecode'>dmap</span></h2><br />
+<h2 style='display: inline' id='how-to-use-dmap'>How to use <span class='inlinecode'>dmap</span></h2><br />
<br />
<span>To run a map-reduce aggregation over logs written in the past, the <span class='inlinecode'>dmap</span> command can be used. The following example aggregates all map-reduce fields <span class='inlinecode'>dmap</span> will print interim results every few seconds. You can also write the result to an CSV file by adding <span class='inlinecode'>outfile result.csv</span> to the query.</span><br />
<br />
@@ -3440,7 +3434,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a href='./dtail-usage-examples/dmap.gif'><img alt='DMap example' title='DMap example' src='./dtail-usage-examples/dmap.gif' /></a><br />
<br />
-<h2 style='display: inline' id='HowtousetheDTailserverlessmode'>How to use the DTail serverless mode</h2><br />
+<h2 style='display: inline' id='how-to-use-the-dtail-serverless-mode'>How to use the DTail serverless mode</h2><br />
<br />
<span>Until now, all examples so far required to have remote server(s) to connect to. That makes sense, as after all DTail is a *distributed* tool. However, there are circumstances where you don&#39;t really need to connect to a server remotely. For example, you already have a login shell open to the server an all what you want is to run some queries directly on local log files.</span><br />
<br />
@@ -3448,7 +3442,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>All commands shown so far also work in a serverless mode. All what needs to be done is to omit a server list. The DTail client then starts in serverless mode.</span><br />
<br />
-<h3 style='display: inline' id='Serverlessmapreducequery'>Serverless map-reduce query</h3><br />
+<h3 style='display: inline' id='serverless-map-reduce-query'>Serverless map-reduce query</h3><br />
<br />
<span>The following <span class='inlinecode'>dmap</span> example is the same as the previously shown one, but the difference is that it operates on a local log file directly:</span><br />
<br />
@@ -3483,7 +3477,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#bb00ff"> lifetimeConnections group by $hostname order by max($cgocalls)'</font>
</pre>
<br />
-<h3 style='display: inline' id='AggregatingCSVfiles'>Aggregating CSV files</h3><br />
+<h3 style='display: inline' id='aggregating-csv-files'>Aggregating CSV files</h3><br />
<br />
<span>In essence, this works exactly like aggregating logs. All files operated on must be valid CSV files and the first line of the CSV must be the header. E.g.:</span><br />
<br />
@@ -3505,7 +3499,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>DMap can also be used to query and aggregate CSV files from remote servers.</span><br />
<br />
-<h3 style='display: inline' id='Otherserverlesscommands'>Other serverless commands</h3><br />
+<h3 style='display: inline' id='other-serverless-commands'>Other serverless commands</h3><br />
<br />
<span>The serverless mode works transparently with all other DTail commands. Here are some examples:</span><br />
<br />
@@ -3584,7 +3578,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>Being a Site Reliability Engineer (SRE) is like stepping into a lively, ever-evolving universe. The world of SRE mixes together different tech, a unique culture, and a whole lot of determination. It’s one of the toughest but most exciting jobs out there. There's zero chance of getting bored because there's always a fresh challenge to tackle and new technology to play around with. It's not just about the tech side of things either; it's heavily rooted in communication, collaboration, and teamwork. As someone currently working as an SRE, I’m here to break it all down for you in this blog series. Let's dive into what SRE is really all about!</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='SiteReliabilityEngineeringPart1SREandOrganizationalCulture'>Site Reliability Engineering - Part 1: SRE and Organizational Culture</h1><br />
+ <h1 style='display: inline' id='site-reliability-engineering---part-1-sre-and-organizational-culture'>Site Reliability Engineering - Part 1: SRE and Organizational Culture</h1><br />
<br />
<span class='quote'>Published at 2023-08-18T22:43:47+03:00</span><br />
<br />
@@ -3592,7 +3586,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='./2023-08-18-site-reliability-engineering-part-1.html'>2023-08-18 Site Reliability Engineering - Part 1: SRE and Organizational Culture (You are currently reading this)</a><br />
<a class='textlink' href='./2023-11-19-site-reliability-engineering-part-2.html'>2023-11-19 Site Reliability Engineering - Part 2: Operational Balance in SRE</a><br />
-<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Aspect</a><br />
+<a class='textlink' href='./2024-01-09-site-reliability-engineering-part-3.html'>2024-01-09 Site Reliability Engineering - Part 3: On-Call Culture and the Human Side</a><br />
<br />
<pre>
▓▓▓▓░░
@@ -3616,7 +3610,7 @@ DC on fire:
░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░
</pre>
<br />
-<h2 style='display: inline' id='SREandOrganizationalCultureNavigatingtheNexus'>SRE and Organizational Culture: Navigating the Nexus</h2><br />
+<h2 style='display: inline' id='sre-and-organizational-culture-navigating-the-nexus'>SRE and Organizational Culture: Navigating the Nexus</h2><br />
<br />
<span>At the core of SRE is the principle of "prevention over cure." Unlike traditional IT setups that mostly react to problems, SRE focuses on spotting issues before they happen. This proactive approach involves using Service Level Indicators (SLIs) and Service Level Objectives (SLOs). These tools give teams specific metrics and targets to aim for, helping them keep systems reliable and users happy. It&#39;s all about creating a culture that prioritizes user experience and makes sure everything runs smoothly to meet their needs.</span><br />
<br />
@@ -3658,7 +3652,7 @@ DC on fire:
<summary>I proudly announce that I've released Gemtexter version `2.1.0`. What is Gemtexter? It's my minimalist static site generator for Gemini Gemtext, HTML and Markdown, written in GNU Bash.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Gemtexter210LetsGemtextagain'>Gemtexter 2.1.0 - Let&#39;s Gemtext again³</h1><br />
+ <h1 style='display: inline' id='gemtexter-210---lets-gemtext-again'>Gemtexter 2.1.0 - Let&#39;s Gemtext again³</h1><br />
<br />
<span class='quote'>Published at 2023-07-21T10:19:31+03:00</span><br />
<br />
@@ -3679,17 +3673,17 @@ DC on fire:
<br />
<a class='textlink' href='https://codeberg.org/snonux/gemtexter'>https://codeberg.org/snonux/gemtexter</a><br />
<br />
-<h2 style='display: inline' id='WhyBash'>Why Bash?</h2><br />
+<h2 style='display: inline' id='why-bash'>Why Bash?</h2><br />
<br />
<span>This project is too complex for a Bash script. Writing it in Bash was to try out how maintainable a "larger" Bash script could be. It&#39;s still pretty maintainable and helps me try new Bash tricks here and then!</span><br />
<br />
<span>Let&#39;s list what&#39;s new!</span><br />
<br />
-<h2 style='display: inline' id='SwitchtoGPL3license'>Switch to GPL3 license</h2><br />
+<h2 style='display: inline' id='switch-to-gpl3-license'>Switch to GPL3 license</h2><br />
<br />
<span>Many (almost all) of the tools and commands (GNU Bash, GMU Sed, GNU Date, GNU Grep, GNU Source Highlight) used by <span class='inlinecode'>Gemtexter</span> are licensed under the GPL anyway. So why not use the same? This was an easy switch, as I was the only code contributor so far!</span><br />
<br />
-<h2 style='display: inline' id='Sourcecodehighlightingsupport'>Source code highlighting support</h2><br />
+<h2 style='display: inline' id='source-code-highlighting-support'>Source code highlighting support</h2><br />
<br />
<span>The HTML output now supports source code highlighting, which is pretty neat if your site is about programming. The requirement is to have the <span class='inlinecode'>source-highlight</span> command, which is GNU Source Highlight, to be installed. Once done, you can annotate a bare block with the language to be highlighted. E.g.:</span><br />
<br />
@@ -3714,11 +3708,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Please run <span class='inlinecode'>source-highlight --lang-list</span> for a list of all supported languages.</span><br />
<br />
-<h2 style='display: inline' id='HTMLexactvariant'>HTML exact variant</h2><br />
+<h2 style='display: inline' id='html-exact-variant'>HTML exact variant</h2><br />
<br />
<span>Gemtexter is there to convert your Gemini Capsule into other formats, such as HTML and Markdown. An HTML exact variant can now be enabled in the <span class='inlinecode'>gemtexter.conf</span> by adding the line <span class='inlinecode'>declare -rx HTML_VARIANT=exact</span>. The HTML/CSS output changed to reflect a more exact Gemtext appearance and to respect the same spacing as you would see in the Geminispace. </span><br />
<br />
-<h2 style='display: inline' id='UseofHackwebfontbydefault'>Use of Hack webfont by default</h2><br />
+<h2 style='display: inline' id='use-of-hack-webfont-by-default'>Use of Hack webfont by default</h2><br />
<br />
<span>The Hack web font is a typeface designed explicitly for source code. It&#39;s a derivative of the Bitstream Vera and DejaVu Mono lineage, but it features many improvements and refinements that make it better suited to reading and writing code.</span><br />
<br />
@@ -3726,7 +3720,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Hack is open-source and freely available for use and modification under the MIT License.</span><br />
<br />
-<h2 style='display: inline' id='HTMLMastodonverificationsupport'>HTML Mastodon verification support</h2><br />
+<h2 style='display: inline' id='html-mastodon-verification-support'>HTML Mastodon verification support</h2><br />
<br />
<span>The following link explains how URL verification works in Mastodon:</span><br />
<br />
@@ -3756,7 +3750,7 @@ http://www.gnu.org/software/src-highlite -->
<pre><b><font color="#ffffff">&lt;a</font></b><font color="#ff0000"> </font><b><font color="#F35E1E">href</font></b><font color="#F3E651">=</font><font color="#bb00ff">'https://fosstodon.org/@snonux'</font><font color="#ff0000"> </font><b><font color="#F35E1E">rel</font></b><font color="#F3E651">=</font><font color="#bb00ff">'me'</font><b><font color="#ffffff">&gt;</font></b><font color="#ff0000">Me at Mastodon</font><b><font color="#ffffff">&lt;/a&gt;</font></b>
</pre>
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
@@ -3786,7 +3780,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>These notes are of two books by 'John Sommez' I found helpful. I also added some of my own keypoints to it. These notes are mainly for my own use, but you might find them helpful, too.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='SoftwareDevelopmersCareerGuideandSoftSkillsbooknotes'>"Software Developmers Career Guide and Soft Skills" book notes</h1><br />
+ <h1 style='display: inline' id='software-developmers-career-guide-and-soft-skills-book-notes'>"Software Developmers Career Guide and Soft Skills" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-07-17T04:56:20+03:00</span><br />
<br />
@@ -3804,9 +3798,9 @@ http://www.gnu.org/software/src-highlite -->
&#39;&#39;&#39;
</pre>
<br />
-<h1 style='display: inline' id='Improve'>Improve</h1><br />
+<h1 style='display: inline' id='improve'>Improve</h1><br />
<br />
-<h2 style='display: inline' id='Alwayslearnnewthings'>Always learn new things</h2><br />
+<h2 style='display: inline' id='always-learn-new-things'>Always learn new things</h2><br />
<br />
<span>When you learn something new, e.g. a programming language, first gather an overview, learn from multiple sources, play around and learn by doing and not consuming and form your own questions. Don&#39;t read too much upfront. A large amount of time is spent in learning technical skills which were never use. You want to have a practical set of skills you are actually using. You need to know 20 percent to get out 80 percent of the results.</span><br />
<br />
@@ -3824,11 +3818,11 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Boot camps: The advantage of a boot camp is to pragmatically learn things fast. We almost always overestimate what we can do in a day. Especially during boot camps. Connect to others during the boot camps</span><br />
<br />
-<h2 style='display: inline' id='Setgoals'>Set goals</h2><br />
+<h2 style='display: inline' id='set-goals'>Set goals</h2><br />
<br />
<span>Your own goals are important but the manager also looks at how the team performs and how someone can help the team perform better. Check whether you are on track with your goals every 2 weeks in order to avoid surprises for the annual review. Make concrete goals for next review. Track and document your progress. Invest in your education. Make your goals known. If you want something, then ask for it. Nobody but you knows what you want.</span><br />
<br />
-<h2 style='display: inline' id='Ratings'>Ratings</h2><br />
+<h2 style='display: inline' id='ratings'>Ratings</h2><br />
<br />
<span>That&#39;s a trap: If you have to rate yourself, that&#39;s a trap. That never works in an unbiased way. Rate yourself always the best way but rate your weakest part as high as possible minus one point. Rate yourself as good as you can otherwise. Nobody is putting for fun a gun on his own head. </span><br />
<br />
@@ -3836,7 +3830,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Don&#39;t do peer rating, it can fire back on you. What if the colleague becomes your new boss?</li>
<li>Cooperate rankings are unfortunately HR guidelines and politics and only mirror a little your actual performance.</li>
</ul><br />
-<h2 style='display: inline' id='Promotions'>Promotions</h2><br />
+<h2 style='display: inline' id='promotions'>Promotions</h2><br />
<br />
<span>The most valuable employees are the ones who make themselves obsolete and automate all away. Keep a safety net of 3 to 6 months of finances. Safe at least 10 percent of your earnings. Also, if you make money it does not mean that you have to spent more money. Is a new car better than a used car which both can bring you from A to B? Liability vs assets.</span><br />
<br />
@@ -3849,7 +3843,7 @@ http://www.gnu.org/software/src-highlite -->
<li>If you want a raise be specific how much and know to back your demands. Don&#39;t make a thread and no ultimatums.</li>
<li>Best way for a promotion is to switch jobs. You can even switch back with a better salary.</li>
</ul><br />
-<h2 style='display: inline' id='Finishthings'>Finish things</h2><br />
+<h2 style='display: inline' id='finish-things'>Finish things</h2><br />
<br />
<span>Hard work is necessary for accomplish results. However, work smarter not harder. Furthermore, working smart is not a substitute for working hard. Work both, hard and smart.</span><br />
<br />
@@ -3864,7 +3858,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Defeat is finally give up. Failure is the road to success, embrace it. Failure does not define you but how you respond to it. Events don&#39;t make your unhappy, but how you react to events do.</span><br />
<br />
-<h2 style='display: inline' id='Expandtheempire'>Expand the empire</h2><br />
+<h2 style='display: inline' id='expand-the-empire'>Expand the empire</h2><br />
<br />
<span>The larger your empire is, the larger your circle of influence is. The larger the circle of influence is, the more opportunities you have.</span><br />
<br />
@@ -3875,7 +3869,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Become visible, keep track that you accomplishments. E.g. write a weekly summary. Do presentations, be seen. Learn new things and share your learnings. Be the problem solver and not the blamer.</span><br />
<br />
-<h2 style='display: inline' id='Bepragmaticandalsomanageyourtime'>Be pragmatic and also manage your time</h2><br />
+<h2 style='display: inline' id='be-pragmatic-and-also-manage-your-time'>Be pragmatic and also manage your time</h2><br />
<br />
<span>Make use of time boxing via the Pomodoro technique: Set a target of rounds and track the rounds. That give you exact focused work time. That&#39;s really the trick. For example set a goal of 6 daily pomodores.</span><br />
<br />
@@ -3885,7 +3879,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>You should feel good of the work done even if you don&#39;t finished the task. You will feel good about pomodoro wise even you don&#39;t finish the task on hand yet. Helps you to enjoy time off more. Working longer may not sell anything.</span><br />
<br />
-<h3 style='display: inline' id='Thequotasystem'>The quota system</h3><br />
+<h3 style='display: inline' id='the-quota-system'>The quota system</h3><br />
<br />
<span>Defined quota of things done. E.g. N runs per week or M Blog posts per month or O pomodoros per week. This helps with consistency. Truly commit to these quotas. Failure is not an option. Start with small commitments. Don&#39;t commit to something you can&#39;t fulfill otherwise you set yourself up for failure.</span><br />
<br />
@@ -3894,7 +3888,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Internal motivation is more important over external motivation. Check out Daniels book drive.</li>
<li>Multitasking: Batching is effective. E.g. emails twice daily at pre-set times..</li>
</ul><br />
-<h3 style='display: inline' id='Dontwastetime'>Don&#39;t waste time</h3><br />
+<h3 style='display: inline' id='dont-waste-time'>Don&#39;t waste time</h3><br />
<br />
<span>The biggest time waster is TV watching. The TV is programming you. It&#39;s insane that Americans watch so much TV as they work full time. Schedule one show at a time and watch it when you want to watch it. Most movies are crap anyways. The good movies will come to you as people will talk about them.</span><br />
<br />
@@ -3903,7 +3897,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Meetings can waste time as well. Simply don&#39;t go to them. Try to cancel meeting if it can be dealt with via email.</li>
<li>Enjoying things is not a waste of time. E.g. you could still play a game once in a while. It is important not to cut away all you enjoy from your life.</li>
</ul><br />
-<h3 style='display: inline' id='Habits'>Habits</h3><br />
+<h3 style='display: inline' id='habits'>Habits</h3><br />
<br />
<span>Try to have as many good habits as possible. Start with easy habits, and make them a little bit more challenging over time. Set ankers and rewards. Over time the routines will become habits naturally.</span><br />
<br />
@@ -3913,7 +3907,7 @@ http://www.gnu.org/software/src-highlite -->
<li>We don&#39;t have control over our habits but our own routines.</li>
<li>Routines help to form the habits, though.</li>
</ul><br />
-<h1 style='display: inline' id='Worklifebalance'>Work-life balance</h1><br />
+<h1 style='display: inline' id='work-life-balance'>Work-life balance</h1><br />
<br />
<span>Avoid overwork hours. That&#39;s not as beneficial as you might think and comes only with very small rewards. Invest rather in yourself and not in your employer.</span><br />
<br />
@@ -3925,7 +3919,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Use your most productive hours to work on you. Make that your priority. Take care of yourself a priority (E.g. do workouts or learn a new language). You can always workout 2 or 1 hour per day, but will you pay the price?</span><br />
<br />
-<h2 style='display: inline' id='Mentalhealth'>Mental health</h2><br />
+<h2 style='display: inline' id='mental-health'>Mental health</h2><br />
<br />
<ul>
<li>Friendships and positive thinking help to have and maintain better health, longer Life, better productivity and increased happiness.</li>
@@ -3936,7 +3930,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>In most cases burnout is just an illusion. If you don&#39;t have motivation push through the wall. People usually don&#39;t pass the wall as they feel they are burned out. After pushing through the wall you will have the most fun, for example you will be able playing the guitar greatly.</span><br />
<br />
-<h2 style='display: inline' id='Physicalhealth'>Physical health</h2><br />
+<h2 style='display: inline' id='physical-health'>Physical health</h2><br />
<br />
<span>Utilise a standing desk and treadmill (you could walk and type at the same time). Increase the incline in order to burn more calories. Even on the standing desk you burn more calories than sitting. When you use pomodoro then you can use the small breaks for push-ups (maybe won&#39;t do as good when you are in a fasted state).</span><br />
<br />
@@ -3948,7 +3942,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Intermittent fasting is an effective method to maintain weight and health. But it does not mean that you can only eat junk food in the feeding windows. Also, diet and nutrition is the most important for health and fitness. They make it also easier to stay focused and positive.</span><br />
<br />
-<h2 style='display: inline' id='Nodrama'>No drama</h2><br />
+<h2 style='display: inline' id='no-drama'>No drama</h2><br />
<br />
<span>Avoid drama at work. Where are humans there is drama. You can decide where to spent your energy in. But don&#39;t avoid conflict. Conflict is healthy in any kind of relationship. Be tactful and state your opinion. The goal is to find the best solution to the problem.</span><br />
<br />
@@ -3964,13 +3958,13 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>You have to learn how to work in a team. Be honest but tactful. It&#39;s not too be the loudest but about selling your ideas. Don&#39;t argue otherwise you won&#39;t sell anything. Be persuasive by finding the common ground. Or lead the colleagues to your idea and don&#39;t sell it upfront. Communicate clearly.</span><br />
<br />
-<h1 style='display: inline' id='Personalbrand'>Personal brand</h1><br />
+<h1 style='display: inline' id='personal-brand'>Personal brand</h1><br />
<br />
<ul>
<li>Invest your value outside the company. Build your personal brand. Show how valuable you are, also to other companies. Become an asset.</li>
<li>Invest in your education. Make your goals known. If you want something ask for it (see also the sections about goals in this document).</li>
</ul><br />
-<h2 style='display: inline' id='Marketyourself'>Market yourself</h2><br />
+<h2 style='display: inline' id='market-yourself'>Market yourself</h2><br />
<br />
<ul>
<li>The best way to market yourself is to make you usable.</li>
@@ -3983,11 +3977,11 @@ http://www.gnu.org/software/src-highlite -->
<li>Have an elevator pitch: "buetow.org - Having fun with computers!"</li>
<li>Have social media accounts, especially the ones which are more tech related.</li>
</ul><br />
-<h2 style='display: inline' id='Networking'>Networking</h2><br />
+<h2 style='display: inline' id='networking'>Networking</h2><br />
<br />
<span>Ask people so they talk about themselves. They are not really interested in you. Use meetup.com to find groups you are interested and build up the network over time. Don&#39;t drink on social networking events even when others do. Talking to other people at events only has upsides. Just saying "hi" and introducing yourself is enough. What worse can happen? If the person rejects you so what, life goes on. Ask open questions and no "yes" and "no" questions. E.g.: "What is your story, why are you here?".</span><br />
<br />
-<h2 style='display: inline' id='Publicspeaking'>Public speaking</h2><br />
+<h2 style='display: inline' id='public-speaking'>Public speaking</h2><br />
<br />
<span>Before your talk go on stage 10 minutes in advance. Introduce yourself to the front row people. During the talk they will smile at you and encourage you during your talk.</span><br />
<br />
@@ -3997,9 +3991,9 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Just do it. Just go to conferences. Even if you are not speaking. Sell your boss what you would learn and "this and that" and you would present the learnings to the team afterwards.</span><br />
<br />
-<h1 style='display: inline' id='Newjob'>New job</h1><br />
+<h1 style='display: inline' id='new-job'>New job</h1><br />
<br />
-<h2 style='display: inline' id='Fortheinterview'>For the interview</h2><br />
+<h2 style='display: inline' id='for-the-interview'>For the interview</h2><br />
<br />
<ul>
<li>Build up a network before the interview. E.g., follow and comment blogs. Or go to meet-ups and conferences. Join user groups.</li>
@@ -4008,7 +4002,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>If you are specialized then there is a better chance to get a fitting job. No one will hire a general lawyer if there are specialized lawyers available. Even if you are specialized, you will have a wide range of skills (T-shape knowledge).</span><br />
<br />
-<h2 style='display: inline' id='Findtherighttypeofcompany'>Find the right type of company</h2><br />
+<h2 style='display: inline' id='find-the-right-type-of-company'>Find the right type of company</h2><br />
<br />
<span>Not all companies are equal. They have individual cultures and guidelines.</span><br />
<br />
@@ -4020,7 +4014,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Work in a tech. company if you want to work on/with cutting edge technologies.</span><br />
<br />
-<h2 style='display: inline' id='Applyforthenewjob'>Apply for the new job</h2><br />
+<h2 style='display: inline' id='apply-for-the-new-job'>Apply for the new job</h2><br />
<br />
<span>Get a professional resume writer. Get referrals of writers and get samples from there. Get sufficient with algorithm and data structures interview questions. Cracking the coding interview book and blog </span><br />
<br />
@@ -4033,7 +4027,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Invest in your dress code as appearance masters. It does make sense to invest in your style. You could even hire a professional stylist (not my personal way though).</span><br />
<br />
-<h2 style='display: inline' id='Negotiation'>Negotiation</h2><br />
+<h2 style='display: inline' id='negotiation'>Negotiation</h2><br />
<br />
<ul>
<li>Whoever names the number first loses. You don&#39;t know what someone else is expecting unless told. Low ball number may be an issue but you have to know the market.</li>
@@ -4051,21 +4045,21 @@ http://www.gnu.org/software/src-highlite -->
<ul>
<li>Never spilt the difference is the best book for learning negotiation techniques..</li>
</ul><br />
-<h2 style='display: inline' id='Leavingtheoldjob'>Leaving the old job</h2><br />
+<h2 style='display: inline' id='leaving-the-old-job'>Leaving the old job</h2><br />
<br />
<span>When leaving a job make a clean and non personal as possible. Never complain and never explain. Don&#39;t worry about abandonment of the team. Everybody is replacement and you make a business decision. Don&#39;t threaten to quit as you are replaceable.</span><br />
<br />
-<h1 style='display: inline' id='Otherthings'>Other things</h1><br />
+<h1 style='display: inline' id='other-things'>Other things</h1><br />
<br />
<ul>
<li>As a leader lead by example and don&#39;t lead from the Eiffel tower.</li>
<li>As a leader you are responsible for the team. If the team fails then it&#39;s your fault only.</li>
</ul><br />
-<h2 style='display: inline' id='Testing'>Testing</h2><br />
+<h2 style='display: inline' id='testing'>Testing</h2><br />
<br />
<span>Unit testing Vs regression testing: Unit tests test the smallest possible unit and get rewritten if the unit gets changed. It&#39;s like programming against a specification n. Regression tests test whether the software still works after the change. Now you know more than most software engineers.</span><br />
<br />
-<h2 style='display: inline' id='Bookstoread'>Books to read</h2><br />
+<h2 style='display: inline' id='books-to-read'>Books to read</h2><br />
<br />
<ul>
<li>Clean Code</li>
@@ -4113,13 +4107,13 @@ http://www.gnu.org/software/src-highlite -->
<summary>Gogios is a minimalistic and easy-to-use monitoring tool I programmed in Google Go designed specifically for small-scale self-hosted servers and virtual machines. The primary purpose of Gogios is to monitor my personal server infrastructure for `foo.zone`, my MTAs, my authoritative DNS servers, my NextCloud, Wallabag and Anki sync server installations, etc.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='KISSservermonitoringwithGogios'>KISS server monitoring with Gogios</h1><br />
+ <h1 style='display: inline' id='kiss-server-monitoring-with-gogios'>KISS server monitoring with Gogios</h1><br />
<br />
<span class='quote'>Published at 2023-06-01T21:10:17+03:00</span><br />
<br />
<a href='./kiss-server-monitoring-with-gogios/gogios-small.png'><img alt='Gogios logo' title='Gogios logo' src='./kiss-server-monitoring-with-gogios/gogios-small.png' /></a><br />
<br />
-<h2 style='display: inline' id='Introduction'>Introduction</h2><br />
+<h2 style='display: inline' id='introduction'>Introduction</h2><br />
<br />
<span>Gogios is a minimalistic and easy-to-use monitoring tool I programmed in Google Go designed specifically for small-scale self-hosted servers and virtual machines. The primary purpose of Gogios is to monitor my personal server infrastructure for <span class='inlinecode'>foo.zone</span>, my MTAs, my authoritative DNS servers, my NextCloud, Wallabag and Anki sync server installations, etc.</span><br />
<br />
@@ -4150,7 +4144,7 @@ The original can be found at
https://asciiart.website/index.php?art=objects/computers
</pre>
<br />
-<h2 style='display: inline' id='Motivation'>Motivation</h2><br />
+<h2 style='display: inline' id='motivation'>Motivation</h2><br />
<br />
<span>With experience in monitoring solutions like Nagios, Icinga, Prometheus and OpsGenie, these tools often came with many features that I didn&#39;t necessarily need for personal use. Contact groups, host groups, check clustering, and the requirement of operating a DBMS and a WebUI added complexity and bloat to my monitoring setup.</span><br />
<br />
@@ -4158,7 +4152,7 @@ https://asciiart.website/index.php?art=objects/computers
<br />
<span>This led me to create Gogios, a lightweight monitoring tool tailored to my specific needs. I chose the Go programming language for this project as it comes, in my opinion, with the best balance of ease to use and performance.</span><br />
<br />
-<h2 style='display: inline' id='Features'>Features</h2><br />
+<h2 style='display: inline' id='features'>Features</h2><br />
<br />
<ul>
<li>Compatible with Nagios Check scripts: Gogios leverages the widely-used Nagios Check API, allowing to use existing Nagios plugins.</li>
@@ -4169,7 +4163,7 @@ https://asciiart.website/index.php?art=objects/computers
<li>Email Notifications: Gogios can send email notifications regarding the status of monitored services, ensuring you stay informed about potential issues.</li>
<li>CRON-based Execution: Gogios can be quickly scheduled to run periodically via CRON, allowing you to automate monitoring without needing a complex setup.</li>
</ul><br />
-<h2 style='display: inline' id='Examplealert'>Example alert</h2><br />
+<h2 style='display: inline' id='example-alert'>Example alert</h2><br />
<br />
<span>This is an example alert report received via E-Mail. Whereas, <span class='inlinecode'>[C:2 W:0 U:0 OK:51]</span> means that we&#39;ve got two alerts in status critical, 0 warnings, 0 unknowns and 51 OKs.</span><br />
<br />
@@ -4191,9 +4185,9 @@ CRITICAL: Check ICMP6 vulcan.buetow.org: Check command timed out
Have a nice day!
</pre>
<br />
-<h2 style='display: inline' id='Installation'>Installation</h2><br />
+<h2 style='display: inline' id='installation'>Installation</h2><br />
<br />
-<h3 style='display: inline' id='CompilingandinstallingGogios'>Compiling and installing Gogios</h3><br />
+<h3 style='display: inline' id='compiling-and-installing-gogios'>Compiling and installing Gogios</h3><br />
<br />
<span>This document is primarily written for OpenBSD, but applying the corresponding steps to any Unix-like (e.g. Linux-based) operating system should be easy. On systems other than OpenBSD, you may always have to replace <span class='inlinecode'>does</span> with the <span class='inlinecode'>sudo</span> command and replace the <span class='inlinecode'>/usr/local/bin</span> path with <span class='inlinecode'>/usr/bin</span>.</span><br />
<br />
@@ -4225,7 +4219,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<a class='textlink' href='https://www.rexify.org'>https://www.rexify.org</a><br />
<br />
-<h3 style='display: inline' id='Settingupusergroupanddirectories'>Setting up user, group and directories</h3><br />
+<h3 style='display: inline' id='setting-up-user-group-and-directories'>Setting up user, group and directories</h3><br />
<br />
<span>It is best to create a dedicated system user and group for Gogios to ensure proper isolation and security. Here are the steps to create the <span class='inlinecode'>_gogios</span> user and group under OpenBSD:</span><br />
<br />
@@ -4242,7 +4236,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Please note that creating a user and group might differ depending on your operating system. For other operating systems, consult their documentation for creating system users and groups.</span><br />
<br />
-<h3 style='display: inline' id='Installingmonitoringplugins'>Installing monitoring plugins</h3><br />
+<h3 style='display: inline' id='installing-monitoring-plugins'>Installing monitoring plugins</h3><br />
<br />
<span>Gogios relies on external Nagios or Icinga monitoring plugin scripts. On OpenBSD, you can install the <span class='inlinecode'>monitoring-plugins</span> package with Gogios. The monitoring-plugins package is a collection of monitoring plugins, similar to Nagios plugins, that can be used to monitor various services and resources:</span><br />
<br />
@@ -4256,9 +4250,9 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Once the installation is complete, you can find the monitoring plugins in the <span class='inlinecode'>/usr/local/libexec/nagios</span> directory, which then can be configured to be used in <span class='inlinecode'>gogios.json</span>.</span><br />
<br />
-<h2 style='display: inline' id='Configuration'>Configuration</h2><br />
+<h2 style='display: inline' id='configuration'>Configuration</h2><br />
<br />
-<h3 style='display: inline' id='MTA'>MTA</h3><br />
+<h3 style='display: inline' id='mta'>MTA</h3><br />
<br />
<span>Gogios requires a local Mail Transfer Agent (MTA) such as Postfix or OpenBSD SMTPD running on the same server where the CRON job (see about the CRON job further below) is executed. The local MTA handles email delivery, allowing Gogios to send email notifications to monitor status changes. Before using Gogios, ensure that you have a properly configured MTA installed and running on your server to facilitate the sending of emails. Once the MTA is set up and functioning correctly, Gogios can leverage it to send email notifications.</span><br />
<br />
@@ -4270,7 +4264,7 @@ echo &#39;This is a test email from OpenBSD.&#39; | mail -s &#39;Test Email&#39;
<br />
<span>Check the recipient&#39;s inbox to confirm the delivery of the test email. If the email is delivered successfully, it indicates that your email server is configured correctly and functioning. Please check your MTA logs in case of issues.</span><br />
<br />
-<h3 style='display: inline' id='ConfiguringGogios'>Configuring Gogios</h3><br />
+<h3 style='display: inline' id='configuring-gogios'>Configuring Gogios</h3><br />
<br />
<span>To configure Gogios, create a JSON configuration file (e.g., <span class='inlinecode'>/etc/gogios.json</span>). Here&#39;s an example configuration:</span><br />
<br />
@@ -4333,7 +4327,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>The <span class='inlinecode'>state.json</span> file mentioned above keeps track of the monitoring state and check results between Gogios runs, enabling Gogios only to send email notifications when there are changes in the check status.</span><br />
<br />
-<h2 style='display: inline' id='RunningGogios'>Running Gogios</h2><br />
+<h2 style='display: inline' id='running-gogios'>Running Gogios</h2><br />
<br />
<span>Now it is time to give it a first run. On OpenBSD, do:</span><br />
<br />
@@ -4355,7 +4349,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Gogios is now configured to run every five minutes from 8 am to 10 pm via CRON as the <span class='inlinecode'>_gogios</span> user. It will execute the checks and send monitoring status whenever a check status changes via email according to your configuration. Also, Gogios will run once at 7 am every morning and re-notify all unhandled alerts as a reminder.</span><br />
<br />
-<h3 style='display: inline' id='Highavailability'>High-availability</h3><br />
+<h3 style='display: inline' id='high-availability'>High-availability</h3><br />
<br />
<span>To create a high-availability Gogios setup, you can install Gogios on two servers that will monitor each other using the NRPE (Nagios Remote Plugin Executor) plugin. By running Gogios in alternate CRON intervals on both servers, you can ensure that even if one server goes down, the other will continue monitoring your infrastructure and sending notifications.</span><br />
<br />
@@ -4368,7 +4362,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>There are plans to make it possible to execute certain checks only on certain nodes (e.g. on elected leader or master nodes). This is still in progress (check out my Gorum Git project).</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion:</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion:</h2><br />
<br />
<span>Gogios is a lightweight and straightforward monitoring tool that is perfect for small-scale environments. With its compatibility with the Nagios Check API, email notifications, and CRON-based scheduling, Gogios offers an easy-to-use solution for those looking to monitor a limited number of resources. I personally use it to execute around 500 checks on my personal server infrastructure. I am very happy with this solution.</span><br />
<br />
@@ -4397,7 +4391,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>These are my personal takeaways after reading 'The Obstacle Is the Way' by Ryan Holiday. This is mainly for my own use, but you might find it helpful too.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='TheObstacleistheWaybooknotes'>"The Obstacle is the Way" book notes</h1><br />
+ <h1 style='display: inline' id='the-obstacle-is-the-way-book-notes'>"The Obstacle is the Way" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-05-06T17:23:16+03:00</span><br />
<br />
@@ -4418,7 +4412,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>"The obstacle is the way" is a powerful statement that encapsulates the wisdom of turning challenges into opportunities for growth and success. We will explore using obstacles as fuel, transforming weaknesses into strengths, and adopting a mindset that allows us to be creative and persistent in the face of adversity.</span><br />
<br />
-<h2 style='display: inline' id='Reframeyourperspective'>Reframe your perspective</h2><br />
+<h2 style='display: inline' id='reframe-your-perspective'>Reframe your perspective</h2><br />
<br />
<span>The obstacle in your path can become your path to success. Instead of being paralyzed by challenges, see them as opportunities to learn and grow. Remember, the things that hurt us often instruct us. </span><br />
<br />
@@ -4427,37 +4421,37 @@ http://www.gnu.org/software/src-highlite -->
<span>Don&#39;t always try to use the front door; a backdoor could open. It&#39;s nonsense. Don&#39;t fight the judo master with judo. Non-action can be action, exposing the weaknesses of others.</span><br />
<br />
<br />
-<h2 style='display: inline' id='Embracerationality'>Embrace rationality</h2><br />
+<h2 style='display: inline' id='embrace-rationality'>Embrace rationality</h2><br />
<br />
<span>It is a superpower to see things rationally when others are fearful. Focus on the reality of the situation without letting emotions, such as anger, cloud your judgment. This ability will enable you to make better decisions in adversity. Ability to see things what they really are. E.g. wine is old fermented grapes, or other people behaving like animals during a fight. Show the middle finger if someone persists on the stupid rules occasionally.</span><br />
<br />
-<h2 style='display: inline' id='Controlyourresponse'>Control your response</h2><br />
+<h2 style='display: inline' id='control-your-response'>Control your response</h2><br />
<br />
<span>You can choose how you respond to obstacles. Focus on what you can control, and don&#39;t let yourself feel harmed by external circumstances. Remember, you decide how things affect you; nobody else does. Choose to feel good in response to any situation. Embrace the challenges and obstacles that come your way, as they are opportunities for growth and learning.</span><br />
<br />
-<h2 style='display: inline' id='Practiceemotionalandphysicalresilience'>Practice emotional and physical resilience</h2><br />
+<h2 style='display: inline' id='practice-emotional-and-physical-resilience'>Practice emotional and physical resilience</h2><br />
<br />
<span>Martial artists know the importance of developing physical and emotional strength. Cultivate the art of not panicking; it will help you avoid making mistakes during high-pressure situations.</span><br />
<br />
<span>Focus on what you can control. Don&#39;t choose to feel harmed, and then you won&#39;t be harmed. I decide things that affect me; nobody else does. E.g., in prison, your mind stays your own. Don&#39;t ignore fear but explain it away, have a different view.</span><br />
<br />
-<h2 style='display: inline' id='Persistenceandpatience'>Persistence and patience</h2><br />
+<h2 style='display: inline' id='persistence-and-patience'>Persistence and patience</h2><br />
<br />
<span>Practice persistence and patience in your pursuits. Focus on the process rather than the prize and take one step at a time. Remember, the journey is about finishing tasks, projects, or workouts to the best of your ability. Never be in a hurry and never be desperate. There is no reason to be rushed; there are all in the long haul. Follow the process and not the price. Take it one step at a time. The process is about finishing (workout, task, project, etc.).</span><br />
<br />
-<h2 style='display: inline' id='Embracefailure'>Embrace failure</h2><br />
+<h2 style='display: inline' id='embrace-failure'>Embrace failure</h2><br />
<br />
<span>Failure is a natural part of life and can make us stronger. Treat defeat as a stepping stone to success and education. What is defeat? The first step to education. Failure makes you stronger. If we do our best, we can be proud of it, regardless of the result. Do your job, but do it right. Only an asshole thinks he is too good at the things he does. Also, asking for forgiveness is easier than asking for permission. </span><br />
<br />
-<h2 style='display: inline' id='Beadaptable'>Be adaptable</h2><br />
+<h2 style='display: inline' id='be-adaptable'>Be adaptable</h2><br />
<br />
<span>There are many ways to achieve your goals; sometimes, unconventional methods are necessary. Feel free to break the rules or go off the beaten path if it will lead to better results. Transform weaknesses into strengths. We have a choice of how to respond to things. It&#39;s not about being positive but to be creative. Aim high, but stuff will happen; E.g., surprises will always happen.</span><br />
<br />
-<h2 style='display: inline' id='Embracenonaction'>Embrace non-action</h2><br />
+<h2 style='display: inline' id='embrace-non-action'>Embrace non-action</h2><br />
<br />
<span>We constantly push to the next thing. Sometimes the best course of action is standing still or even going backwards. Obstacles might resolve by themselves. Or going sideways. Sometimes, the best action is to stand still, go sideways, or even go backwards. Obstacles may resolve themselves or present new opportunities if you&#39;re patient and observant. People always want your input before you have all the facts. They want you to play after their rules. The question is, do you let them? The English call it the cool head. Being in control of Stress; requires practice. Appear, the absence of fear (Greek). When all others do it one way, it does not mean it is the correct or best practice.</span><br />
<br />
-<h2 style='display: inline' id='Leveragecrisis'>Leverage crisis</h2><br />
+<h2 style='display: inline' id='leverage-crisis'>Leverage crisis</h2><br />
<br />
<span>In times of crisis, seize the chance to do things never done before. Great people use negative situations to their advantage and become the most effective in challenging circumstances.</span><br />
<br />
@@ -4465,19 +4459,19 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Be prepared for nothing to work. Problems are an opportunity to do your best, not to do miracles. Always manage your expectations. It will suck, but it will be ok. Be prepared to begin from the beginning. Be cheerful and eagerly work on the next obstacle. Each time you become better. Life is not a sprint but a marathon. After each obstacle lies another obstacle, there won&#39;t be anything without obstacles. Passing one means you are ready for the next.</span><br />
<br />
-<h2 style='display: inline' id='Buildyourinnercitadel'>Build your inner citadel</h2><br />
+<h2 style='display: inline' id='build-your-inner-citadel'>Build your inner citadel</h2><br />
<br />
<span>Develop your inner strength during good times so you can rely on it in bad times. Always prepare for adversity and face it with calmness and resilience. Be humble enough that things which happen will happen. Build your inner citadel. In good times strengthen it. In bad times rely on it.</span><br />
<br />
<span>We should always prepare for things to get tough. Your house burns down: no worries, we eliminated much rubbish. Imagine what can go wrong before things go wrong. We are prepared for adversity; it&#39;s other people who aren&#39;t. Phil Jackson&#39;s hip problem example. To receive unexpected benefits, you must first accept the unexpected obstacles. Meditate on death. It&#39;s a universal obstacle. Use it as a reminder to do your best.</span><br />
<br />
-<h2 style='display: inline' id='Loveeverythingthathappens'>Love everything that happens</h2><br />
+<h2 style='display: inline' id='love-everything-that-happens'>Love everything that happens</h2><br />
<br />
<span>Turn an obstacle the other way around for your benefit. Use it at fuel. It&#39;s simple but challenging. Most are paralyzed instead. The obstacle in the path becomes the path. Obstacles are neither good nor bad. The things which hurt, instruct.</span><br />
<br />
<span>Should I hate people who hate me? That&#39;s their problem and not mine. Be always calm and relaxed during the fight. The story of the battle is the story of the smile. Cheerfulness in all situations, especially the bad ones. Love for everything that happens; if it happens, it was meant to happen. We can choose how we react to things, so why not choose to feel good? I love everything that happens. You must never lower yourself to the person you don&#39;t like.</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>Life is a marathon, not a sprint. Each obstacle we overcome prepares us for the next one. Remember, the obstacle is not just a barrier to be turned upside down; it can also be used as a catapult to propel us forward. By embracing challenges and using them as opportunities for growth, we become stronger, more adaptable, and, ultimately, more successful.</span><br />
<br />
@@ -4510,7 +4504,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>For fun, I am tracking the uptime of various personal machines (servers, laptops, workstations...). I have been doing this for over ten years now, so I have a lot of statistics collected.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='UnveilingguprecordsrakuGlobalUptimeRecordswithRaku'>Unveiling <span class='inlinecode'>guprecords.raku</span>: Global Uptime Records with Raku</h1><br />
+ <h1 style='display: inline' id='unveiling-guprecordsraku-global-uptime-records-with-raku'>Unveiling <span class='inlinecode'>guprecords.raku</span>: Global Uptime Records with Raku</h1><br />
<br />
<span class='quote'>Published at 2023-04-30T13:10:26+03:00</span><br />
<br />
@@ -4531,7 +4525,7 @@ http://www.gnu.org/software/src-highlite -->
+-----+-----------------+-----------------------------+
</pre>
<br />
-<h1 style='display: inline' id='Introduction'>Introduction</h1><br />
+<h1 style='display: inline' id='introduction'>Introduction</h1><br />
<br />
<span>For fun, I am tracking the uptime of various personal machines (servers, laptops, workstations...). I have been doing this for over ten years now, so I have a lot of statistics collected.</span><br />
<br />
@@ -4554,7 +4548,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>And I have been following the Raku newsletter, and sometimes I have been lurking around in the IRC channels, too. Watching Raku coding challenges on YouTube was pretty fun, too. However, nothing beats actually using Raku to learn the language. After reading all of these resources, I may have a good idea about the features and paradigms, but I am by far not an expert.</span><br />
<br />
-<h2 style='display: inline' id='HowGuprecordsworks'>How Guprecords works</h2><br />
+<h2 style='display: inline' id='how-guprecords-works'>How Guprecords works</h2><br />
<br />
<span>Guprecords works in three stages:</span><br />
<br />
@@ -4580,7 +4574,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Output formats available: Plaintext, Markdown, and Gemtext</li>
<li>Provides top entries based on the specified limit</li>
</ul><br />
-<h2 style='display: inline' id='Example'>Example</h2><br />
+<h2 style='display: inline' id='example'>Example</h2><br />
<br />
<span>You have already seen an example at the very top of this post, where the hosts were grouped by their total lifespans (uptime+downtime). Here&#39;s an example of what the global uptime report (grouped by total host uptimes) might look like:</span><br />
<br />
@@ -4651,7 +4645,7 @@ no1 in 455 days, 18:52:44 | at Sun Jul 21 07:37:51 2024
%up 99.997 | since Tue Dec 18 10:16:08 2018
</pre>
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>Guprecords is a small, yet powerful tool for analyzing uptime statistics. While developing Guprecords, I have come to truly appreciate and love Raku&#39;s expressiveness. The language is designed to be both powerful and flexible, allowing developers to express their intentions and logic more clearly and concisely.</span><br />
<br />
@@ -4692,7 +4686,7 @@ no1 in 455 days, 18:52:44 | at Sun Jul 21 07:37:51 2024
<summary>This is the first blog post about my Algorithms and Data Structures in Go series. I am not a Software Developer in my day job. In my current role, programming and scripting skills are desirable but not mandatory. I have been learning about Data Structures and Algorithms many years ago at University. I thought it would be fun to revisit/refresh my knowledge here and implement many of the algorithms in Go.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='AlgorithmsandDataStructuresinGoPart1'>Algorithms and Data Structures in Go - Part 1</h1><br />
+ <h1 style='display: inline' id='algorithms-and-data-structures-in-go---part-1'>Algorithms and Data Structures in Go - Part 1</h1><br />
<br />
<span class='quote'>Published at 2023-04-09T22:31:42+03:00</span><br />
<br />
@@ -4716,7 +4710,7 @@ no1 in 455 days, 18:52:44 | at Sun Jul 21 07:37:51 2024
<br />
<span>This post is about setting up some basic data structures and methods for this blog series. I promise, everything will be easy to follow in this post. It will become more interesting later in this series.</span><br />
<br />
-<h2 style='display: inline' id='Typeconstraints'>Type constraints</h2><br />
+<h2 style='display: inline' id='type-constraints'>Type constraints</h2><br />
<br />
<span>First, the package <span class='inlinecode'>ds</span> (data structures) defines the <span class='inlinecode'>types.go</span>. All examples will either operate on the <span class='inlinecode'>Integer</span> or <span class='inlinecode'>Number</span> type:</span><br />
<br />
@@ -4740,7 +4734,7 @@ http://www.gnu.org/software/src-highlite -->
</pre>
<br />
-<h2 style='display: inline' id='ArrayList'>ArrayList</h2><br />
+<h2 style='display: inline' id='arraylist'>ArrayList</h2><br />
<br />
<span>Next comes the <span class='inlinecode'>arraylist.go</span>, which defines the underlying data structure all the algorithms of this series will use. <span class='inlinecode'>ArrayList</span> is just a type alias of a Go array (or slice) with custom methods on it:</span><br />
<br />
@@ -4800,7 +4794,7 @@ http://www.gnu.org/software/src-highlite -->
<font color="#F3E651">}</font>
</pre>
<br />
-<h2 style='display: inline' id='Helpermethods'>Helper methods</h2><br />
+<h2 style='display: inline' id='helper-methods'>Helper methods</h2><br />
<br />
<span>The <span class='inlinecode'>FirstN</span> method only returns the first N elements of the <span class='inlinecode'>ArrayList</span>. This is useful for printing out only parts of the data structure:</span><br />
<br />
@@ -4859,7 +4853,7 @@ http://www.gnu.org/software/src-highlite -->
</pre>
<br />
-<h2 style='display: inline' id='Sleepsort'>Sleep sort</h2><br />
+<h2 style='display: inline' id='sleep-sort'>Sleep sort</h2><br />
<br />
<span>Let&#39;s implement our first algorithm, sleep sort. Sleep sort is a non-traditional and unconventional sorting algorithm based on the idea of waiting a certain amount of time corresponding to the value of each element in the input <span class='inlinecode'>ArrayList</span>. It&#39;s more of a fun, creative concept rather than an efficient or practical sorting technique. This is not a sorting algorithm you would use in any production code. As you can imagine, it is quite an inefficient sorting algorithm (it&#39;s only listed here as a warm-up exercise). This sorting method may also return false results depending on how the Goroutines are scheduled by the Go runtime. </span><br />
<br />
@@ -4906,7 +4900,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>This Go code implements the sleep sort algorithm using generics and goroutines. The main function <span class='inlinecode'>Sleep[V ds.Integer](a ds.ArrayList[V]) ds.ArrayList[V]</span> takes a generic <span class='inlinecode'>ArrayList</span> as input and returns a sorted <span class='inlinecode'>ArrayList</span>. The code creates a separate goroutine for each element in the input array, sleeps for a duration proportional to the element&#39;s value, and then sends the element to a channel. Another goroutine waits for all the sleeping goroutines to finish and then closes the channel. The sorted result <span class='inlinecode'>ArrayList</span> is constructed by appending the elements received from the channel in the order they arrive. The <span class='inlinecode'>sync.WaitGroup</span> is used to synchronize goroutines and ensure that all of them have completed before closing the channel.</span><br />
<br />
-<h3 style='display: inline' id='Testing'>Testing</h3><br />
+<h3 style='display: inline' id='testing'>Testing</h3><br />
<br />
<span>For testing, we only allow values up to 10, as otherwise, it would take too long to finish:</span><br />
<br />
@@ -4965,7 +4959,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>These are my personal takeaways after reading 'Never split the difference' by Chris Voss. Note that the book contains much more knowledge wisdom and that these notes only contain points I personally found worth writing down. This is mainly for my own use, but you might find it helpful too.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Neversplitthedifferencebooknotes'>"Never split the difference" book notes</h1><br />
+ <h1 style='display: inline' id='never-split-the-difference-book-notes'>"Never split the difference" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-04-01T20:00:17+03:00</span><br />
<br />
@@ -4983,7 +4977,7 @@ http://www.gnu.org/software/src-highlite -->
&#39;&#39;&#39;
</pre>
<br />
-<h2 style='display: inline' id='Tacticallisteningspreadingempathy'>Tactical listening, spreading empathy</h2><br />
+<h2 style='display: inline' id='tactical-listening-spreading-empathy'>Tactical listening, spreading empathy</h2><br />
<br />
<span>Be a mirror, copy each other to be comfy with each other to build up trust. Mirroring is mainly body language. A mirror is to repeat the words the other just said. Simple but effective.</span><br />
<br />
@@ -4994,7 +4988,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Mirror training is like Jedi training. Simple but effective. A mirror needs space. Be silent after "you want this?" </span><br />
<br />
-<h2 style='display: inline' id='Mindsetofdiscovery'>Mindset of discovery</h2><br />
+<h2 style='display: inline' id='mindset-of-discovery'>Mindset of discovery</h2><br />
<br />
<span>Try to have multiple realities in your mind and use facts to distinguish between real and false.</span><br />
<br />
@@ -5006,7 +5000,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Try: to put a label on someone&#39;s emotion and then be silent. Wait for the other to reveal himself. "You seem unhappy about this?"</span><br />
<br />
-<h3 style='display: inline' id='Moretips'>More tips </h3><br />
+<h3 style='display: inline' id='more-tips-'>More tips </h3><br />
<br />
<ul>
<li>Put on a poker face and don&#39;t show emotions.</li>
@@ -5015,7 +5009,7 @@ http://www.gnu.org/software/src-highlite -->
<li>Being right is not the key to successful negotiation; being mindful is.</li>
<li>Be in the safe zone of empathy and acknowledge bad news.</li>
</ul><br />
-<h2 style='display: inline' id='Nostartstheconversation'>"No" starts the conversation</h2><br />
+<h2 style='display: inline' id='no-starts-the-conversation'>"No" starts the conversation</h2><br />
<br />
<span>When the opponent starts with a "no", he feels in control and comfortable. That&#39;s why he has to start with "no".</span><br />
<br />
@@ -5028,11 +5022,11 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Get a "That&#39;s right" when negotiating. Don&#39;t get a "you&#39;re right". You can summarise the opponent to get a "that&#39;s right".</span><br />
<br />
-<h2 style='display: inline' id='Winwin'>Win-win</h2><br />
+<h2 style='display: inline' id='win-win'>Win-win</h2><br />
<br />
<span>Win-win is a naive approach when encountering the win-lose counterpart, but always cooperate. Don&#39;t compromise, and don&#39;t split the difference. We don&#39;t compromise because it&#39;s right; we do it because it is easy. You must embrace the hard stuff; that&#39;s where the great deals are.</span><br />
<br />
-<h2 style='display: inline' id='OnDeadlines'>On Deadlines</h2><br />
+<h2 style='display: inline' id='on-deadlines'>On Deadlines</h2><br />
<br />
<ul>
<li>All deadlines are imaginary.</li>
@@ -5040,7 +5034,7 @@ http://www.gnu.org/software/src-highlite -->
<li>They push a deal to a conclusion.</li>
<li>They rush the counterpart to cause pressure and anxiety.</li>
</ul><br />
-<h2 style='display: inline' id='Analysetheopponent'>Analyse the opponent</h2><br />
+<h2 style='display: inline' id='analyse-the-opponent'>Analyse the opponent</h2><br />
<br />
<ul>
<li>Understand the motivation of people behind the table as well.</li>
@@ -5050,7 +5044,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>The person on the other side is never the issue; the problem is the issue. Keep this in mind to avoid emotional issues with the person and focus on the problem, not the person. The bond is essential; never create an enemy.</span><br />
<br />
-<h2 style='display: inline' id='Usedifferentwaysofsayingno'>Use different ways of saying "no."</h2><br />
+<h2 style='display: inline' id='use-different-ways-of-saying-no'>Use different ways of saying "no."</h2><br />
<br />
<span class='quote'>I had paid my rent always in time. I had positive experiences with the building and would be sad for the landlord to lose a good tenant. I am looking for a win-win agreement between us. Pulling out the research, other neighbours offer much lower prices even if your building is a better location and services. How can I effort 200 more.... </span><br />
<br />
@@ -5058,7 +5052,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>You always have to embrace thoughtful confrontation for good negotiation and life. Don&#39;t avoid honest, clear conflict. It will give you the best deals. Compromises are mostly bad deals for both sides. Most people don&#39;t negotiate a win-win but a win-lose. Know the best and worst outcomes and what is acceptable for you.</span><br />
<br />
-<h2 style='display: inline' id='Calibratedquestion'>Calibrated question</h2><br />
+<h2 style='display: inline' id='calibrated-question'>Calibrated question</h2><br />
<br />
<span>Calibrated questions. Give the opponent a sense of power. Ask open-how questions to get the opponent to solve your problem and move him in your direction. Calibrated questions are the best tools. Summarise everything, and then ask, "how I am supposed to do that?". Asking for help this way with a calibrated question is a powerful tool for joint problem solving</span><br />
<br />
@@ -5074,11 +5068,11 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Prepare 3 to 5 calibrated questions for your counterpart. Be curious what is really motivating the other side. You can get out the "Black Swan".</span><br />
<br />
-<h2 style='display: inline' id='Theblackswan'>The black swan </h2><br />
+<h2 style='display: inline' id='the-black-swan-'>The black swan </h2><br />
<br />
<span>What we don&#39;t know can break our deal. Uncovering it can bring us unexpected success. You get what you ask for in this world, but you must learn to ask correctly. Reveal the black swan by asking questions.</span><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Establish a range at top places like corp. I get... (e.g. remote London on a project basis). Set a high salary range and not a number. Also, check on LinkedIn premium for the salaries.</span><br />
<br />
@@ -5123,7 +5117,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>I proudly announce that I've released Gemtexter version `2.0.0`. What is Gemtexter? It's my minimalist static site generator for Gemini Gemtext, HTML and Markdown written in GNU Bash.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Gemtexter200LetsGemtextagain'>Gemtexter 2.0.0 - Let&#39;s Gemtext again²</h1><br />
+ <h1 style='display: inline' id='gemtexter-200---lets-gemtext-again'>Gemtexter 2.0.0 - Let&#39;s Gemtext again²</h1><br />
<br />
<span class='quote'>Published at 2023-03-25T17:50:32+02:00</span><br />
<br />
@@ -5148,7 +5142,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Let&#39;s list what&#39;s new!</span><br />
<br />
-<h2 style='display: inline' id='Minimaltemplateengine'>Minimal template engine</h2><br />
+<h2 style='display: inline' id='minimal-template-engine'>Minimal template engine</h2><br />
<br />
<span>Gemtexter now supports templating, enabling dynamically generated content to <span class='inlinecode'>.gmi</span> files before converting anything to any output format like HTML and Markdown.</span><br />
<br />
@@ -5214,7 +5208,7 @@ See more entries about DTail and Golang:
Blablabla...
</pre>
<br />
-<h2 style='display: inline' id='Addedhooks'>Added hooks</h2><br />
+<h2 style='display: inline' id='added-hooks'>Added hooks</h2><br />
<br />
<span>You can configure <span class='inlinecode'>PRE_GENERATE_HOOK</span> and <span class='inlinecode'>POST_PUBLISH_HOOK</span> to point to scripts to be executed before running <span class='inlinecode'>--generate</span>, or after running <span class='inlinecode'>--publish</span>. E.g. you could populate some of the content by an external script before letting Gemtexter do its thing or you could automatically deploy the site after running <span class='inlinecode'>--publish</span>.</span><br />
<br />
@@ -5228,11 +5222,11 @@ http://www.gnu.org/software/src-highlite -->
<b><font color="#ffffff">declare</font></b><font color="#ff0000"> -xr </font><font color="#ff0000">POST_PUBLISH_HOOK</font><font color="#F3E651">=.</font><font color="#ff0000">/post_publish_hook</font><font color="#F3E651">.</font><font color="#ff0000">sh</font>
</pre>
<br />
-<h2 style='display: inline' id='UseofsaferBashoptions'>Use of safer Bash options</h2><br />
+<h2 style='display: inline' id='use-of-safer-bash-options'>Use of safer Bash options</h2><br />
<br />
<span>Gemtexter now does <span class='inlinecode'>set -euf -o pipefile</span>, which helps to eliminate bugs and to catch scripting errors sooner. Previous versions only <span class='inlinecode'>set -e</span>.</span><br />
<br />
-<h2 style='display: inline' id='Metacachemadeobsolete'>Meta cache made obsolete</h2><br />
+<h2 style='display: inline' id='meta-cache-made-obsolete'>Meta cache made obsolete</h2><br />
<br />
<span>Here is the breaking change to older versions of Gemtexter. The <span class='inlinecode'>$BASE_CONTENT_DIR/meta</span> directory was made obsolete. <span class='inlinecode'>meta</span> was used to store various information about all the blog post entries to make generating an Atom feed in Bash easier. Especially the publishing dates of each post were stored there. Instead, the publishing date is now encoded in the <span class='inlinecode'>.gmi</span> file. And if it is missing, Gemtexter will set it to the current date and time at first run.</span><br />
<br />
@@ -5262,11 +5256,11 @@ http://www.gnu.org/software/src-highlite -->
<font color="#ff0000">The remaining content of the Gemtext file</font><font color="#F3E651">...</font>
</pre>
<br />
-<h2 style='display: inline' id='XMLLintsupport'>XMLLint support</h2><br />
+<h2 style='display: inline' id='xmllint-support'>XMLLint support</h2><br />
<br />
<span>Optionally, when the <span class='inlinecode'>xmllint</span> binary is installed, Gemtexter will perform a simple XML lint check against the Atom feed generated. This is a double-check of whether the Atom feed is a valid XML.</span><br />
<br />
-<h2 style='display: inline' id='More'>More</h2><br />
+<h2 style='display: inline' id='more'>More</h2><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
@@ -5296,7 +5290,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>These are my personal takeaways after reading 'The Pragmatic Programmer' by David Thomas and Andrew Hunt. Note that the book contains much more knowledge wisdom and that these notes only contain points I personally found worth writing down. This is mainly for my own use, but you might find it helpful too.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='ThePragmaticProgrammerbooknotes'>"The Pragmatic Programmer" book notes</h1><br />
+ <h1 style='display: inline' id='the-pragmatic-programmer-book-notes'>"The Pragmatic Programmer" book notes</h1><br />
<br />
<span class='quote'>Published at 2023-03-16T00:55:20+02:00</span><br />
<br />
@@ -5347,7 +5341,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Do what works and not what&#39;s fashionable. E.g. does SCRUM make sense? The goal is to deliver deliverables and not to "become" agile.</span><br />
<br />
-<h2 style='display: inline' id='Continuouslearning'>Continuous learning</h2><br />
+<h2 style='display: inline' id='continuous-learning'>Continuous learning</h2><br />
<br />
<span>Add new tools to your repertoire every day and keep the momentum up. Learning new things is your most crucial aspect. Invest regularly in your knowledge portfolio. The learning process extends your thinking. It does not matter if you will never use it.</span><br />
<br />
@@ -5358,7 +5352,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>Think critically about everything you learn. Use paper for your notes. There is something special about it.</span><br />
<br />
-<h2 style='display: inline' id='Stayconnected'>Stay connected</h2><br />
+<h2 style='display: inline' id='stay-connected'>Stay connected</h2><br />
<br />
<span>It&#39;s your life, and you own it. Bruce Lee once said: </span><br />
<br />
@@ -5371,7 +5365,7 @@ http://www.gnu.org/software/src-highlite -->
</ul><br />
<span>It&#39;s your life. Share it, celebrate it, be proud and have fun.</span><br />
<br />
-<h2 style='display: inline' id='Thestoryofstonesoup'>The story of stone soup</h2><br />
+<h2 style='display: inline' id='the-story-of-stone-soup'>The story of stone soup</h2><br />
<br />
<span>How to motivate others to contribute something (e.g. ideas to a startup):</span><br />
<br />
@@ -5916,7 +5910,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>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 :-)</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='InstallingDTailonOpenBSD'>Installing DTail on OpenBSD</h1><br />
+ <h1 style='display: inline' id='installing-dtail-on-openbsd'>Installing DTail on OpenBSD</h1><br />
<br />
<span class='quote'>Published at 2022-10-30T11:03:19+02:00</span><br />
<br />
@@ -5969,7 +5963,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I will also mention some relevant <span class='inlinecode'>Rexfile</span> snippets in this post!</span><br />
<br />
-<h2 style='display: inline' id='Compileit'>Compile it</h2><br />
+<h2 style='display: inline' id='compile-it'>Compile it</h2><br />
<br />
<span>First of all, DTail needs to be downloaded and compiled. For that, <span class='inlinecode'>git</span>, <span class='inlinecode'>go</span>, and <span class='inlinecode'>gmake</span> are required:</span><br />
<br />
@@ -6004,7 +5998,7 @@ $ doas pkg_delete git go gmake
<br />
<span>One day I shall create an official OpenBSD port for DTail.</span><br />
<br />
-<h2 style='display: inline' id='Installit'>Install it</h2><br />
+<h2 style='display: inline' id='install-it'>Install it</h2><br />
<br />
<span>Installing the binaries is now just a matter of copying them to <span class='inlinecode'>/usr/local/bin</span> as follows:</span><br />
<br />
@@ -6046,7 +6040,7 @@ END
$ doas chmod 755 /etc/rc.d/dserver
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>This is the task for setting it up via Rex. Note the <span class='inlinecode'>. . . .</span>, that&#39;s a placeholder which we will fill up more and more during this blog post:</span><br />
<br />
@@ -6073,7 +6067,7 @@ task &#39;dtail&#39;, group =&gt; &#39;frontends&#39;,
};
</pre>
<br />
-<h2 style='display: inline' id='Configureit'>Configure it</h2><br />
+<h2 style='display: inline' id='configure-it'>Configure it</h2><br />
<br />
<span>Now, DTail is fully installed but still needs to be configured. Grab the default config file from GitHub ...</span><br />
<br />
@@ -6096,7 +6090,7 @@ $ curl https://raw.githubusercontent.com/mimecast/dtail/master/examples/dtail.js
}
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>That&#39;s as simple as adding the following to the Rex task:</span><br />
<br />
@@ -6112,7 +6106,7 @@ file &#39;/etc/dserver/dtail.json&#39;,
on_change =&gt; sub { $restart = TRUE };
</pre>
<br />
-<h2 style='display: inline' id='Updatethekeycacheforit'>Update the key cache for it</h2><br />
+<h2 style='display: inline' id='update-the-key-cache-for-it'>Update the key cache for it</h2><br />
<br />
<span>DTail relies on SSH for secure authentication and communication. However, the system user <span class='inlinecode'>_dserver</span> has no permission to read the SSH public keys from the user&#39;s home directories, so the DTail server also checks for available public keys in an alternative path <span class='inlinecode'>/var/run/dserver/cache</span>. </span><br />
<br />
@@ -6165,7 +6159,7 @@ $ echo /usr/local/bin/dserver-update-key-cache.sh | doas tee -a /etc/daily.local
/usr/local/bin/dserver-update-key-cache.sh
</pre>
<br />
-<h3 style='display: inline' id='Rexification'>Rexification</h3><br />
+<h3 style='display: inline' id='rexification'>Rexification</h3><br />
<br />
<span>That&#39;s done by adding ...</span><br />
<br />
@@ -6181,7 +6175,7 @@ append_if_no_such_line &#39;/etc/daily.local&#39;, &#39;/usr/local/bin/dserver-u
<br />
<span>... to the Rex task!</span><br />
<br />
-<h2 style='display: inline' id='Startit'>Start it</h2><br />
+<h2 style='display: inline' id='start-it'>Start it</h2><br />
<br />
<span>Now, it&#39;s time to enable and start the DTail server:</span><br />
<br />
@@ -6221,7 +6215,7 @@ Caching /home/rex/.ssh/authorized_keys -&gt; /var/cache/dserver/rex.authorized_k
All set...
</pre>
<br />
-<h2 style='display: inline' id='Useit'>Use it</h2><br />
+<h2 style='display: inline' id='use-it'>Use it</h2><br />
<br />
<span>The DTail server is now ready to serve connections. You can use any DTail commands, such as <span class='inlinecode'>dtail</span>, <span class='inlinecode'>dgrep</span>, <span class='inlinecode'>dmap</span>, <span class='inlinecode'>dcat</span>, <span class='inlinecode'>dtailhealth</span>, to do so. Checkout out all the usage examples on the official DTail page.</span><br />
<br />
@@ -6247,7 +6241,7 @@ REMOTE|blowfish|100|7|fstab|31bfd9d9a6788844.h /usr/local ffs rw,wxallowed,nodev
REMOTE|fishfinger|100|7|fstab|093f510ec5c0f512.h /usr/local ffs rw,wxallowed,nodev 1 2
</pre>
<br />
-<h2 style='display: inline' id='Conclusions'>Conclusions</h2><br />
+<h2 style='display: inline' id='conclusions'>Conclusions</h2><br />
<br />
<span>It&#39;s a bit of manual work, but it&#39;s ok on this small scale! I shall invest time in creating an official OpenBSD port, though. That would render most of the manual steps obsolete, as outlined in this post!</span><br />
<br />
@@ -6396,7 +6390,7 @@ jgs (________\ \
<summary>I proudly announce that I've released Gemtexter version `1.1.0`. What is Gemtexter? It's my minimalist static site generator for Gemini Gemtext, HTML and Markdown written in GNU Bash.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Gemtexter110LetsGemtextagain'>Gemtexter 1.1.0 - Let&#39;s Gemtext again</h1><br />
+ <h1 style='display: inline' id='gemtexter-110---lets-gemtext-again'>Gemtexter 1.1.0 - Let&#39;s Gemtext again</h1><br />
<br />
<span class='quote'>Published at 2022-08-27T18:25:57+01:00</span><br />
<br />
@@ -6418,9 +6412,9 @@ jgs (________\ \
<br />
<span>It has been around a year since I released the first version <span class='inlinecode'>1.0.0</span>. Although, there aren&#39;t any groundbreaking changes, there have been a couple of smaller commits and adjustments. I was quite surprised that I received a bunch of feedback and requests about Gemtexter so it means that I am not the only person in the universe actually using it.</span><br />
<br />
-<h2 style='display: inline' id='Whatsnew'>What&#39;s new?</h2><br />
+<h2 style='display: inline' id='whats-new'>What&#39;s new?</h2><br />
<br />
-<h3 style='display: inline' id='AutomaticcheckforGNUversionrequirements'>Automatic check for GNU version requirements</h3><br />
+<h3 style='display: inline' id='automatic-check-for-gnu-version-requirements'>Automatic check for GNU version requirements</h3><br />
<br />
<span>Gemtexter relies on the GNU versions of the tools <span class='inlinecode'>grep</span>, <span class='inlinecode'>sed</span> and <span class='inlinecode'>date</span> and it also requires the Bash shell in version 5 at least. That&#39;s now done in the <span class='inlinecode'>check_dependencies()</span> function:</span><br />
<br />
@@ -6449,15 +6443,15 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>Especially macOS users didn&#39;t read the <span class='inlinecode'>README</span> carefully enough to install GNU Grep, GNU Sed and GNU Date before using Gemtexter.</span><br />
<br />
-<h3 style='display: inline' id='BackticksnowproduceinlinecodeblocksintheHTMLoutput'>Backticks now produce <span class='inlinecode'>inline code blocks</span> in the HTML output</h3><br />
+<h3 style='display: inline' id='backticks-now-produce-inline-code-blocks-in-the-html-output'>Backticks now produce <span class='inlinecode'>inline code blocks</span> in the HTML output</h3><br />
<br />
<span>The Gemtext format doesn&#39;t support inline code blocks, but Gemtexter now produces <span class='inlinecode'>inline code blocks</span> (means, small code fragments can be placed in the middle of a paragraph) in the HTML output when the code block is enclosed with Backticks. There were no adjustments required for the Markdown output format, because Markdown supports it already out of the box.</span><br />
<br />
-<h3 style='display: inline' id='CacheforAtomfeedgeneration'>Cache for Atom feed generation</h3><br />
+<h3 style='display: inline' id='cache-for-atom-feed-generation'>Cache for Atom feed generation</h3><br />
<br />
<span>The Bash is not the most performant language. Gemtexter already takes a couple of seconds only to generate the Atom feed for around two hand full of articles on my slightly underpowered Surface Go 2 Linux tablet. Therefore, I introduced a cache, so that subsequent Atom feed generation runs finish much quicker. The cache uses a checksum of the Gemtext <span class='inlinecode'>.gmi</span> file to decide whether anything of the content has changed or not.</span><br />
<br />
-<h3 style='display: inline' id='Inputfiltersupport'>Input filter support</h3><br />
+<h3 style='display: inline' id='input-filter-support'>Input filter support</h3><br />
<br />
<span>Once your capsule reaches a certain size, it can become annoying to re-generate everything if you only want to preview the HTML or Markdown output of one single content file. The following will add a filter to only generate the files matching a regular expression:</span><br />
<br />
@@ -6468,22 +6462,22 @@ http://www.gnu.org/software/src-highlite -->
<pre><font color="#F3E651">.</font><font color="#ff0000">/gemtexter --generate </font><font color="#bb00ff">'.*hello.*'</font>
</pre>
<br />
-<h3 style='display: inline' id='Revampedgitsupport'>Revamped <span class='inlinecode'>git</span> support</h3><br />
+<h3 style='display: inline' id='revamped-git-support'>Revamped <span class='inlinecode'>git</span> support</h3><br />
<br />
<span>The Git support has been completely rewritten. It&#39;s now more reliable and faster too. Have a look at the <span class='inlinecode'>README</span> for more information.</span><br />
<br />
-<h3 style='display: inline' id='Additionofhtmlextrasandwebfontsupport'>Addition of <span class='inlinecode'>htmlextras</span> and web font support</h3><br />
+<h3 style='display: inline' id='addition-of-htmlextras-and-web-font-support'>Addition of <span class='inlinecode'>htmlextras</span> and web font support</h3><br />
<br />
<span>The <span class='inlinecode'>htmlextras</span> folder now contains all extra files required for the HTML output format such as cascading style sheet (CSS) files and web fonts.</span><br />
<br />
-<h3 style='display: inline' id='Subsectionsupport'>Sub-section support</h3><br />
+<h3 style='display: inline' id='sub-section-support'>Sub-section support</h3><br />
<br />
<span>It&#39;s now possible to define sub-sections within a Gemtexter capsule. For the HTML output, each sub-section can use its own CSS and web font definitions. E.g.:</span><br />
<br />
<a class='textlink' href='https://foo.zone'>The foo.zone main site</a><br />
<a class='textlink' href='https://foo.zone/notes'>The notes sub-section (with different fonts)</a><br />
<br />
-<h3 style='display: inline' id='More'>More</h3><br />
+<h3 style='display: inline' id='more'>More</h3><br />
<br />
<span>Additionally, there were a couple of bug fixes, refactorings and overall improvements in the documentation made. </span><br />
<br />
@@ -6515,7 +6509,7 @@ http://www.gnu.org/software/src-highlite -->
<summary>I was amazed at how easy it is to automatically generate and update Let's Encrypt certificates with OpenBSD.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='LetsEncryptwithOpenBSDandRex'>Let&#39;s Encrypt with OpenBSD and Rex</h1><br />
+ <h1 style='display: inline' id='lets-encrypt-with-openbsd-and-rex'>Let&#39;s Encrypt with OpenBSD and Rex</h1><br />
<br />
<span class='quote'>Published at 2022-07-30T12:14:31+01:00</span><br />
<br />
@@ -6548,7 +6542,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>I was amazed at how easy it is to automatically generate and update Let&#39;s Encrypt certificates with OpenBSD.</span><br />
<br />
-<h2 style='display: inline' id='WhatsLetsEncrypt'>What&#39;s Let&#39;s Encrypt?</h2><br />
+<h2 style='display: inline' id='whats-lets-encrypt'>What&#39;s Let&#39;s Encrypt?</h2><br />
<br />
<span class='quote'>Let&#39;s Encrypt is a non-profit certificate authority run by Internet Security Research Group that provides X.509 certificates for Transport Layer Security (TLS) encryption at no charge. It is the world&#39;s largest certificate authority, used by more than 265 million websites, with the goal of all websites being secure and using HTTPS.</span><br />
<br />
@@ -6556,7 +6550,7 @@ http://www.gnu.org/software/src-highlite -->
<br />
<span>In short, it gives away TLS certificates for your website - for free! The catch is, that the certificates are only valid for three months. So it is better to automate certificate generation and renewals.</span><br />
<br />
-<h2 style='display: inline' id='Meetacmeclient'>Meet <span class='inlinecode'>acme-client</span></h2><br />
+<h2 style='display: inline' id='meet-acme-client'>Meet <span class='inlinecode'>acme-client</span></h2><br />
<br />
<span><span class='inlinecode'>acme-client</span> is the default Automatic Certifcate Management Environment (ACME) client on OpenBSD and part of the OpenBSD base system. </span><br />
<br />
@@ -6576,11 +6570,11 @@ http://www.gnu.org/software/src-highlite -->
<li>Let&#39;s Encrypt then will contact the hostname for the certificate through a particular URL (e.g. <span class='inlinecode'>http://foo.zone/.well-known/acme-challenge/...</span>) to verify that the requester is the valid owner of the host.</li>
<li>Let&#39;s Encrypt generates a certificate, which then is downloaded to <span class='inlinecode'>/etc/ssl/...</span>.</li>
</ul><br />
-<h2 style='display: inline' id='Configuration'>Configuration</h2><br />
+<h2 style='display: inline' id='configuration'>Configuration</h2><br />
<br />
<span>There is some (but easy) configuration required to make that all work on OpenBSD.</span><br />
<br />
-<h3 style='display: inline' id='acmeclientconf'>acme-client.conf</h3><br />
+<h3 style='display: inline' id='acme-clientconf'>acme-client.conf</h3><br />
<br />
<span>This is how my <span class='inlinecode'>/etc/acme-client.conf</span> looks like (I copied a template from <span class='inlinecode'>/etc/examples/acme-client.conf</span> to <span class='inlinecode'>/etc/acme-client.conf</span> and added my domains to the bottom:</span><br />
<br />
@@ -6679,7 +6673,7 @@ server "foo.zone" {
<br />
<span>It is worth noticing that <span class='inlinecode'>httpd</span> will start without the certificates being present. This will cause a certificate error when you try to reach the HTTPS endpoint, but it helps to bootstrap Let&#39;s Encrypt. As you saw in the config snippet above, Let&#39;s Encrypt only requests the plain HTTP endpoint for the verification process, so HTTPS doesn&#39;t need to be operational yet at this stage. But once the certificates are generated, you will have to reload or restart <span class='inlinecode'>httpd</span> to use any new certificate.</span><br />
<br />
-<h3 style='display: inline' id='CRONjob'>CRON job</h3><br />
+<h3 style='display: inline' id='cron-job'>CRON job</h3><br />
<br />
<span>You could now run <span class='inlinecode'>doas acme-client foo.zone</span> to generate the certificate or to renew it. Or you could automate it with CRON.</span><br />
<br />
@@ -6757,11 +6751,11 @@ acme-client: /etc/ssl/irregular.ninja.fullchain.pem: certificate valid: 80 days
acme-client: /etc/ssl/snonux.land.fullchain.pem: certificate valid: 79 days left
</pre>
<br />
-<h2 style='display: inline' id='relaydconfandsmtpdconf'>relayd.conf and smtpd.conf</h2><br />
+<h2 style='display: inline' id='relaydconf-and-smtpdconf'>relayd.conf and smtpd.conf</h2><br />
<br />
<span>Besides <span class='inlinecode'>httpd</span>, <span class='inlinecode'>relayd</span> (mainly for Gemini) and <span class='inlinecode'>smtpd</span> (for mail, of course) also use TLS certificates. And as you can see in <span class='inlinecode'>acme.sh</span>, the services are reloaded or restarted (<span class='inlinecode'>smtpd</span> doesn&#39;t support reload) whenever a certificate is generated or updated.</span><br />
<br />
-<h2 style='display: inline' id='Rexification'>Rexification</h2><br />
+<h2 style='display: inline' id='rexification'>Rexification</h2><br />
<br />
<span>I didn&#39;t write all these configuration files by hand. As a matter of fact, everything is automated with the Rex configuration management system.</span><br />
<br />
@@ -6773,7 +6767,7 @@ acme-client: /etc/ssl/snonux.land.fullchain.pem: certificate valid: 79 days left
our @acme_hosts = qw/buetow.org paul.buetow.org tmp.buetow.org dtail.dev foo.zone irregular.ninja snonux.land/;
</pre>
<br />
-<h3 style='display: inline' id='GeneralACMEclientconfiguration'>General ACME client configuration</h3><br />
+<h3 style='display: inline' id='general-acme-client-configuration'>General ACME client configuration</h3><br />
<br />
<span>ACME will be installed into the frontend group of hosts. Here, blowfish is the primary, and twofish is the secondary OpenBSD box.</span><br />
<br />
@@ -6925,7 +6919,7 @@ if [ $has_update = yes ]; then
fi
</pre>
<br />
-<h3 style='display: inline' id='Servicerexification'>Service rexification </h3><br />
+<h3 style='display: inline' id='service-rexification-'>Service rexification </h3><br />
<br />
<span>These are the Rex tasks setting up <span class='inlinecode'>httpd</span>, <span class='inlinecode'>relayd</span> and <span class='inlinecode'>smtpd</span> services:</span><br />
<br />
@@ -7153,7 +7147,7 @@ match from local for local action localmail
match from local for any action outbound
</pre>
<br />
-<h2 style='display: inline' id='Allpiecestogether'>All pieces together</h2><br />
+<h2 style='display: inline' id='all-pieces-together'>All pieces together</h2><br />
<br />
<span>For the complete <span class='inlinecode'>Rexfile</span> example and all the templates, please look at the Git repository:</span><br />
<br />
@@ -7167,7 +7161,7 @@ rex commons
<br />
<span>The <span class='inlinecode'>commons</span> is a group of tasks I specified which combines a set of common tasks I always want to execute on all frontend machines. This also includes the ACME tasks mentioned in this article!</span><br />
<br />
-<h2 style='display: inline' id='Conclusion'>Conclusion</h2><br />
+<h2 style='display: inline' id='conclusion'>Conclusion</h2><br />
<br />
<span>ACME and Let&#39;s Encrypt greatly help reduce recurring manual maintenance work (creating and renewing certificates). Furthermore, all the certificates are free of cost! I love to use OpenBSD and Rex to automate all of this.</span><br />
<br />
@@ -7545,7 +7539,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<summary>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.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='Perlisstillagreatchoice'>Perl is still a great choice</h1><br />
+ <h1 style='display: inline' id='perl-is-still-a-great-choice'>Perl is still a great choice</h1><br />
<br />
<span class='quote'>Published at 2022-05-27T07:50:12+01:00; Updated at 2023-01-28</span><br />
<br />
@@ -7565,7 +7559,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<li>Why use Perl as there are better alternatives?</li>
<li>Why all the sigils? It looks like an exploding ASCII factory!!</li>
</ul><br />
-<h2 style='display: inline' id='Writeonlylanguage'>Write-only language</h2><br />
+<h2 style='display: inline' id='write-only-language'>Write-only language</h2><br />
<br />
<span>Is Perl really a write-only language? You have to understand that Perl 5 was released in 1994 (28 years ago as of this writing) and when we refer to Perl we usually mean Perl 5. That&#39;s many years, and there are many old scripts not following the modern Perl best practices (as they didn&#39;t exist yet). So yes, legacy scripts may be difficult to read. Japanese may be difficult to read too if you don&#39;t know Japanese, though.</span><br />
<br />
@@ -7591,7 +7585,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<span>This all doesn&#39;t mean that you can&#39;t "get things done" with Perl. Quite the opposite is the case. Perl is a very pragmatic programming language and is suitable very well for rapid prototyping and any kind of small to medium-sized scripts and programs. You can write large enterprise scale application in Perl too, but that wasn&#39;t the original intend of why Perl was invented (more on that later).</span><br />
<br />
-<h2 style='display: inline' id='IsPerlabandoned'>Is Perl abandoned?</h2><br />
+<h2 style='display: inline' id='is-perl-abandoned'>Is Perl abandoned?</h2><br />
<br />
<span>As I pointed out in the previous section, Perl 5 is around for quite some time without any new major version released. This can lead to the impression that development is not progressing and that the project is abandoned. Nothing can be further from the truth. Perl 5.000 was released in 1994 and the latest version (as of this writing) Perl 5.34.1 was released two months ago in 2022. You can check the version history on Wikipedia. You will notice releases being made regularly:</span><br />
<br />
@@ -7632,7 +7626,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<a class='textlink' href='https://www.leanpub.com/perl_new_features'>Perl New Features</a><br />
<br />
-<h2 style='display: inline' id='WhyusePerlastherearebetteralternatives'>Why use Perl as there are better alternatives?</h2><br />
+<h2 style='display: inline' id='why-use-perl-as-there-are-better-alternatives'>Why use Perl as there are better alternatives?</h2><br />
<br />
<span>Here, common sense must be applied. I don&#39;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&#39;t need to bother to look for "better" alternatives:</span><br />
<br />
@@ -7661,7 +7655,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
</ul><br />
<a class='textlink' href='https://github.com/Ovid/Cor'>Cor - Bringing modern OOP to the Perl Core</a><br />
<br />
-<h2 style='display: inline' id='WhyallthesigilsItlookslikeanexplodingASCIIfactory'>Why all the sigils? It looks like an exploding ASCII factory!!</h2><br />
+<h2 style='display: inline' id='why-all-the-sigils-it-looks-like-an-exploding-ascii-factory'>Why all the sigils? It looks like an exploding ASCII factory!!</h2><br />
<br />
<span>The sigils <span class='inlinecode'>$ @ % &amp;</span> (where Perl is famously known for) serve a purpose. They seem confusing at first, but they actually make the code better readable. <span class='inlinecode'>$scalar</span> is a scalar variable (holding a single value), <span class='inlinecode'>@array</span> is an array (holding a list of values), <span class='inlinecode'>%hash</span> holds a list of key-value pairs and <span class='inlinecode'>&amp;sub</span> is for subroutines. A given variable <span class='inlinecode'>$ref</span> can also hold reference to something. <span class='inlinecode'>@$arrayref</span> dereferences a reference to an array, <span class='inlinecode'>%$hashref</span> to a hash, <span class='inlinecode'>$$scalarref</span> to a scalar, <span class='inlinecode'>&amp;$subref</span> 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).</span><br />
<br />
@@ -7669,7 +7663,7 @@ v = 008 [v = p*c*(s != c ? 2 : 1)] Total logical CPUs
<br />
<a class='textlink' href='https://www.perl.com/article/on-sigils/'>https://www.perl.com/article/on-sigils/</a><br />
<br />
-<h2 style='display: inline' id='WheredoIpersonallystilluseperl'>Where do I personally still use perl?</h2><br />
+<h2 style='display: inline' id='where-do-i-personally-still-use-perl'>Where do I personally still use perl?</h2><br />
<br />
<ul>
<li>I use Rexify for my OpenBSD server automation. Rexify is a configuration management system developed in Perl with similar features to Ansible but less bloated. It suits my personal needs perfectly.</li>
@@ -7870,7 +7864,7 @@ learn () {
<summary>I have recently released DTail 4.0.0 and this blog post goes through all the new goodies. If you want to jump directly to DTail, do it here (there are nice animated gifs which demonstrates the usage pretty well):</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='ThereleaseofDTail400'>The release of DTail 4.0.0</h1><br />
+ <h1 style='display: inline' id='the-release-of-dtail-400'>The release of DTail 4.0.0</h1><br />
<br />
<span class='quote'>Published at 2022-03-06T18:11:39+00:00</span><br />
<br />
@@ -7892,9 +7886,9 @@ learn () {
<br />
<a class='textlink' href='https://dtail.dev'>https://dtail.dev</a><br />
<br />
-<h2 style='display: inline' id='Sowhatsnewin400'>So, what&#39;s new in 4.0.0?</h2><br />
+<h2 style='display: inline' id='so-whats-new-in-400'>So, what&#39;s new in 4.0.0?</h2><br />
<br />
-<h3 style='display: inline' id='Rewrittenlogging'>Rewritten logging</h3><br />
+<h3 style='display: inline' id='rewritten-logging'>Rewritten logging</h3><br />
<br />
<span>For DTail 4, logging has been completely rewritten. The new package name is "internal/io/dlog". I rewrote the logging because DTail is a special case here: There are logs processed by DTail, there are logs produced by the DTail server itself, there are logs produced by a DTail client itself, there are logs only logged by a DTail client, there are logs only logged by the DTail server, and there are logs logged by both, server and client. There are also different logging levels and outputs involved.</span><br />
<br />
@@ -7921,7 +7915,7 @@ const (
<br />
<span>DTail also supports multiple log outputs (e.g. to file or to stdout). More are now easily pluggable with the new logging package. The output can also be "enriched" (default) or "plain" (read more about that further below).</span><br />
<br />
-<h3 style='display: inline' id='Configurableterminalcolorcodes'>Configurable terminal color codes</h3><br />
+<h3 style='display: inline' id='configurable-terminal-color-codes'>Configurable terminal color codes</h3><br />
<br />
<span>A complaint I received from the users of DTail 3 were the terminal colors used for the output. Under some circumstances (terminal configuration) it made the output difficult to read so that users defaulted to "--noColor" (disabling colored output completely). I toke it by heart and also rewrote the color handling. It&#39;s now possible to configure the foreground and background colors and an attribute (e.g. dim, bold, ...).</span><br />
<br />
@@ -8037,7 +8031,7 @@ const (
jsonschema -i dtail.json schemas/dtail.schema.json
</pre>
<br />
-<h3 style='display: inline' id='Serverlessmode'>Serverless mode</h3><br />
+<h3 style='display: inline' id='serverless-mode'>Serverless mode</h3><br />
<br />
<span>All DTail commands can now operate on log files (and other text files) directly without any DTail server running. So there isn&#39;t a need anymore to install a DTail server when you are on the target server already anyway, like the following example shows:</span><br />
<br />
@@ -8053,7 +8047,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>The way it works in Go code is that a connection to a server is managed through an interface and in serverless mode DTail calls through that interface to the server code directly without any TCP/IP and SSH connection made in the background. This means, that the binaries are a bit larger (also ship with the code which normally would be executed by the server) but the increase of binary size is not much.</span><br />
<br />
-<h3 style='display: inline' id='Shorthandflags'>Shorthand flags</h3><br />
+<h3 style='display: inline' id='shorthand-flags'>Shorthand flags</h3><br />
<br />
<span>The "--files" from the previous example is now redundant. As a shorthand, It is now possible to do the following instead:</span><br />
<br />
@@ -8063,7 +8057,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>Of course, this also works with all other DTail client commands (dgrep, dcat, ... etc).</span><br />
<br />
-<h3 style='display: inline' id='Spartanakaplainmode'>Spartan (aka plain) mode</h3><br />
+<h3 style='display: inline' id='spartan-aka-plain-mode'>Spartan (aka plain) mode</h3><br />
<br />
<span>There&#39;s a plain mode, which makes DTail only print out the "plain" text of the files operated on (without any DTail specific enriched output). E.g.:</span><br />
<br />
@@ -8074,7 +8068,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
<br />
<span>This might be useful if you wanted to post-process the output. </span><br />
<br />
-<h3 style='display: inline' id='Standardinputpipe'>Standard input pipe</h3><br />
+<h3 style='display: inline' id='standard-input-pipe'>Standard input pipe</h3><br />
<br />
<span>In serverless mode, you might want to process your data in a pipeline. You can do that now too through an input pipe:</span><br />
<br />
@@ -8089,7 +8083,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
% awk &#39;.....&#39; &lt; /some/file | dtail ....
</pre>
<br />
-<h3 style='display: inline' id='Newcommanddtailhealth'>New command dtailhealth</h3><br />
+<h3 style='display: inline' id='new-command-dtailhealth'>New command dtailhealth</h3><br />
<br />
<span>Prior to DTail 4, there was a flag for the "dtail" command to check the health of a remote DTail server (for use with monitoring system such as Nagios). That has been moved out to a separate binary to reduce complexity of the "dtail" command. The following checks whether DTail is operational on the current machine (you could also check a remote instance of DTail server, just adjust the server address).</span><br />
<br />
@@ -8100,7 +8094,7 @@ jsonschema -i dtail.json schemas/dtail.schema.json
exec /usr/local/bin/dtailhealth --server localhost:2222
</pre>
<br />
-<h3 style='display: inline' id='Improveddocumentation'>Improved documentation</h3><br />
+<h3 style='display: inline' id='improved-documentation'>Improved documentation</h3><br />
<br />
<span>Some features, such as custom log formats and the map-reduce query language, are now documented. Also, the examples have been updated to reflect the new features added. This also includes the new animated example Gifs (plus documentation how they were created).</span><br />
<br />
@@ -8114,7 +8108,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
</ul><br />
<span>That will be added in one of the future releases. </span><br />
<br />
-<h3 style='display: inline' id='Integrationtestingsuite'>Integration testing suite</h3><br />
+<h3 style='display: inline' id='integration-testing-suite'>Integration testing suite</h3><br />
<br />
<span>DTail comes already with some unit tests, but what&#39;s new is a full integration testing suite which covers all common use cases of all the commands (dtail, dcat, dgrep, dmap) with a server backend and also in serverless mode.</span><br />
<br />
@@ -8135,7 +8129,7 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
% go test -race -v ./integrationtests
</pre>
<br />
-<h3 style='display: inline' id='Improvedcode'>Improved code</h3><br />
+<h3 style='display: inline' id='improved-code'>Improved code</h3><br />
<br />
<span>Not that the code quality of DTail has been bad (I have been using Go vet and Go lint for previous releases and will keep using these), but this time I had new tools (such as SonarQube and BlackDuck) in my arsenal to:</span><br />
<br />
@@ -8145,11 +8139,11 @@ exec /usr/local/bin/dtailhealth --server localhost:2222
</ul><br />
<span>Other than that, a lot of other code has been refactored as I saw fit.</span><br />
<br />
-<h3 style='display: inline' id='Useofmemorypools'>Use of memory pools</h3><br />
+<h3 style='display: inline' id='use-of-memory-pools'>Use of memory pools</h3><br />
<br />
<span>DTail makes excessive use of string builder and byte buffer objects. For performance reasons, those are now re-used from memory pools.</span><br />
<br />
-<h2 style='display: inline' id='Whatsnext'>What&#39;s next</h2><br />
+<h2 style='display: inline' id='whats-next'>What&#39;s next</h2><br />
<br />
<span>DTail 5 won&#39;t be released any time soon I guess, but some 4.x.y releases will follow this year fore sure. I can think of:</span><br />
<br />
@@ -8503,7 +8497,7 @@ GNU/kFreeBSD rhea.buetow.org 8.0-RELEASE-p5 FreeBSD 8.0-RELEASE-p5 #2: Sat Nov 2
<summary>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.</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
- <h1 style='display: inline' id='BashGolfPart2'>Bash Golf Part 2</h1><br />
+ <h1 style='display: inline' id='bash-golf-part-2'>Bash Golf Part 2</h1><br />
<br />
<span class='quote'>Published at 2022-01-01T23:36:15+00:00; Updated at 2022-01-05</span><br />
<br />
@@ -8524,7 +8518,7 @@ jgs^^^^^^^`^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<a class='textlink' href='./2022-01-01-bash-golf-part-2.html'>2022-01-01 Bash Golf Part 2 (You are currently reading this)</a><br />
<a class='textlink' href='./2023-12-10-bash-golf-part-3.html'>2023-12-10 Bash Golf Part 3</a><br />
<br />
-<h2 style='display: inline' id='Redirection'>Redirection</h2><br />
+<h2 style='display: inline' id='redirection'>Redirection</h2><br />
<br />
<span>Let&#39;s have a closer look at Bash redirection. As you might already know that there are 3 standard file descriptors:</span><br />
<br />
@@ -8656,7 +8650,7 @@ First line: Learn You a Haskell
Second line: for Great Good
</pre>
<br />
-<h2 style='display: inline' id='HERE'>HERE</h2><br />
+<h2 style='display: inline' id='here'>HERE</h2><br />
<br />
<span>I have mentioned HERE-documents and HERE-strings already in this post. Let&#39;s do some more examples. The following "cat" receives a multi line string from stdin. In this case, the input multi line string is a HERE-document. As you can see, it also interpolates variables (in this case the output of "date" running in a subshell).</span><br />
<br />
@@ -8739,7 +8733,7 @@ Learn you a Golang for Great Good
I like Perl too
</pre>
<br />
-<h2 style='display: inline' id='RANDOM'>RANDOM</h2><br />
+<h2 style='display: inline' id='random'>RANDOM</h2><br />
<br />
<span>Random is a special built-in variable containing a different pseudo random number each time it&#39;s used.</span><br />
<br />
@@ -8784,11 +8778,11 @@ Delaying script execution for 42 seconds...
Continuing script execution...
</pre>
<br />
-<h2 style='display: inline' id='setxandseteandpipefile'>set -x and set -e and pipefile</h2><br />
+<h2 style='display: inline' id='set--x-and-set--e-and-pipefile'>set -x and set -e and pipefile</h2><br />
<br />
<span>In my opinion, -x and -e and pipefile are the most useful Bash options. Let&#39;s have a look at them one after another.</span><br />
<br />
-<h3 style='display: inline' id='x'>-x</h3><br />
+<h3 style='display: inline' id='-x'>-x</h3><br />
<br />
<span>-x prints commands and their arguments as they are executed. This helps to develop and debug your Bash code:</span><br />
<br />
@@ -8830,7 +8824,7 @@ Second line: for Great Good
</pre>
<br />
-<h3 style='display: inline' id='e'>-e</h3><br />
+<h3 style='display: inline' id='-e'>-e</h3><br />
<br />
<span>This is a very important option you want to use when you are paranoid. This means, you should always "set -e" in your scripts when you need to make absolutely sure that your script runs successfully (with that I mean that no command should exit with an unexpected status code).</span><br />
<br />
diff --git a/gemfeed/index.html b/gemfeed/index.html
index b1bed9c9..7a0eb87b 100644
--- a/gemfeed/index.html
+++ b/gemfeed/index.html
@@ -8,9 +8,9 @@
<link rel="stylesheet" href="style-override.css" />
</head>
<body>
-<h1 style='display: inline' id='Gemfeedoffoozone'>Gemfeed of foo.zone</h1><br />
+<h1 style='display: inline' id='gemfeed-of-foozone'>Gemfeed of foo.zone</h1><br />
<br />
-<h2 style='display: inline' id='Tobeinthezone'>To be in the .zone!</h2><br />
+<h2 style='display: inline' id='to-be-in-the-zone'>To be in the .zone!</h2><br />
<br />
<a class='textlink' href='./2024-08-05-typing-127.1-words-per-minute.html'>2024-08-05 - Typing <span class='inlinecode'>127.1</span> words per minute (<span class='inlinecode'>&gt;100wpm average</span>)</a><br />
<a class='textlink' href='./2024-07-07-the-stoic-challenge-book-notes.html'>2024-07-07 - &#39;The Stoic Challenge&#39; book notes</a><br />