<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>betabug... Sascha Welter (Einträge über web)</title><link>https://betabug.ch/</link><description></description><atom:link href="https://betabug.ch/tags/web.xml" rel="self" type="application/rss+xml"></atom:link><language>de</language><copyright>Contents © 2025 Sascha Welter (blog-feedback {at} betabug {dot} ch) </copyright><lastBuildDate>Tue, 20 May 2025 16:48:21 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>The Saga of IPv6</title><link>https://betabug.ch/blog/the-saga-of-ipv6/</link><dc:creator>S. Welter</dc:creator><description>&lt;p&gt;Last week in one of the cafes where I frequently have my #coffice, the IPv4
didn't work. In fact it works, but the DHCP server in their little plastic CPE
router doesn't work. Been like that for a long time, so I habitually set myself
up with a fixed IP... and my script that does that didn't work. But then, IPv6
worked fine, so I was able to &lt;code class="docutils literal"&gt;ssh &lt;span class="pre"&gt;-6&lt;/span&gt;&lt;/code&gt; to my server. A couple of http servers
worked also, but it was impressive how much of the web was &lt;em&gt;not&lt;/em&gt; reachable.&lt;/p&gt;
&lt;p&gt;And a few days later I came across this page:
&lt;a class="reference external" href="https://blog.apnic.net/2022/05/04/the-transition-to-ipv6-are-we-there-yet/"&gt;The transition to IPv6: Are we there yet?&lt;/a&gt;
That was a very interesting read. All those various incentives to do and
not do things, the dragging of feet, the attemtps, and the slow-moving-glacier
changes.&lt;/p&gt;
&lt;p&gt;Now I'm sitting in another cafe, and no IPv6 at all here, but at least their
DHCP for IPv4 works.&lt;/p&gt;</description><category>coffice</category><category>english</category><category>past</category><category>web</category><guid>https://betabug.ch/blog/the-saga-of-ipv6/</guid><pubDate>Fri, 13 May 2022 08:52:25 GMT</pubDate></item><item><title>Resurected Matryoshka Code</title><link>https://betabug.ch/blog/resurected-matryoshka-code/</link><dc:creator>S. Welter</dc:creator><description>&lt;p&gt;Noticed today that there was some &lt;a class="reference external" href="https://haspar.us/speaking/matryoshka-code/"&gt;appreciation&lt;/a&gt; for one of the posts
from my old blog. So I went and resurrected the text of that post at the
right URL. In the process I found out how to put stuff into random places
in Nikola, so I could actually selectively bring some of the old blog
content back. Here is &lt;a class="reference external" href="https://betabug.ch/blogs/ch-athens/1352/"&gt;Matryoshka Code&lt;/a&gt;.&lt;/p&gt;</description><category>english</category><category>nikola</category><category>programming</category><category>web</category><guid>https://betabug.ch/blog/resurected-matryoshka-code/</guid><pubDate>Thu, 17 Feb 2022 16:15:58 GMT</pubDate></item><item><title>Fixing the meta type of the Nikola RSS feed in OpenBSD's httpd</title><link>https://betabug.ch/blog/fixing-the-meta-type-of-the-nikola-rss-feed-in-openbsds-httpd/</link><dc:creator>S. Welter</dc:creator><description>&lt;p&gt;In blog related news, keen observers might have noticed, that
this weblog operates as a static site. That in turn is
generated by a so-called "static-site generator".
In this case this is &lt;a class="reference external" href="https://getnikola.com/"&gt;Nikola&lt;/a&gt;. Nikola is written in Python
(which makes it approachable to me, as I've a bit of Python
experience). The user experience of operating the weblog with
Nikola is also quite nice, especially if you like to work on
the command line (and who doesn't?)&lt;/p&gt;
&lt;p&gt;The first little snag I actually ran into, was when I was
so nerdish as to validate the RSS feed. So it seems that
the rss feed was served witih meta-type "application/octet-stream".
There are two problems with that:&lt;/p&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;&lt;p&gt;The rss validation tool complains. It says that most rss readers
will cope, but still it is right to complain. Machine readable
formats should be handled properly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Clicking on the rss link in the browser offered to download
the xml file. I'm not really reading rss feeds in the browser,
but this behaviour is not correct anyway.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So, time to fix things. Looking around at what Nikola generates,
there is a plain file on a file system. The meta-type header is
not generated there.&lt;/p&gt;
&lt;p&gt;Which means the OpenBSD httpd (web server) is not mapping the file extension
'.xml' to the meta-type we want it to. Reading up on the httpd.conf(5)
man page, I noticed that I can override meta-type definitions.
At first I got it wrong, because I thought I can "override" that one
meta-type I need different (setting it to &lt;code class="docutils literal"&gt;application/xml xml&lt;/code&gt;)...
but then everything else was served
as the default "application/octet-stream". So I had to set up all those that
are mentioned at being set by default in the man page. No biggie.
And no more complaints about the meta-type in the RSS validator.&lt;/p&gt;</description><category>bsd</category><category>english</category><category>media</category><category>nikola</category><category>openbsd</category><category>technical</category><category>web</category><guid>https://betabug.ch/blog/fixing-the-meta-type-of-the-nikola-rss-feed-in-openbsds-httpd/</guid><pubDate>Tue, 15 Feb 2022 09:24:37 GMT</pubDate></item><item><title>Making bad choices and new installs</title><link>https://betabug.ch/blog/making-bad-choices-and-new-installs/</link><dc:creator>S. Welter</dc:creator><description>&lt;section id="there-was-a-time"&gt;
&lt;h2&gt;There was a time&lt;/h2&gt;
&lt;p&gt;For a short while, I didn't have a website at all.
That was quite a change, since I had a website for about
25 years. I reinstalled my server, now there wasn't anything anymore.
That's how it goes.&lt;/p&gt;
&lt;p&gt;But now there will be a site again. It will be very minimal,
which is nice, it's kind of like moving back to the start.
My first website was one page, everything on that one page.
I'm not going that far back, but maybe I'll manage to go
back to when my weblog was just a little collection of daily
thoughts.&lt;/p&gt;
&lt;p&gt;The old content... right now I think that I won't bring it back.
Time to let the past be the past. It's all playing sandcastles
with time and entropy anyway.&lt;/p&gt;
&lt;/section&gt;</description><category>bad choices</category><category>english</category><category>media</category><category>past</category><category>web</category><guid>https://betabug.ch/blog/making-bad-choices-and-new-installs/</guid><pubDate>Tue, 01 Feb 2022 12:32:24 GMT</pubDate></item></channel></rss>