<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on Jonas&#39; Blog</title>
    <link>https://log.jnsmr.ch/post/</link>
    <description>Recent content in Posts on Jonas&#39; Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 27 Mar 2026 22:00:00 +0100</lastBuildDate>
    <atom:link href="https://log.jnsmr.ch/post/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Wake-on-GPIO</title>
      <link>https://log.jnsmr.ch/post/2026-03-27-wake-on-gpio/</link>
      <pubDate>Fri, 27 Mar 2026 22:00:00 +0100</pubDate>
      <guid>https://log.jnsmr.ch/post/2026-03-27-wake-on-gpio/</guid>
      <description>&lt;p&gt;Alternative title: How to spend an afternoon at Bastli.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;Wake-on-LAN has a few issues that I personally don&amp;rsquo;t like.&#xA;The primary thing that I don&amp;rsquo;t like is that it relies on the mainboard and network interface to be not-quite-shutdown.&#xA;This leads to some unnecessary power draw while the PC/server is supposed to be shut down.&lt;/p&gt;&#xA;&lt;p&gt;In addition to that, the way WOL works bothers me.&#xA;Basically, the OS needs to shut down in a very specific way and instruct the NIC to wait for WOL-packets. Every single time.&#xA;It is &lt;em&gt;not&lt;/em&gt; a one-off configuration option that is stored on a NIC (at least not on my hardware).&#xA;This leads to WOL not working when a PC didn&amp;rsquo;t experience a clean shutdown.&#xA;This happened to me multiple times, sometimes because power went out for a bit, other times simply because the PC crashed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advent of Controlled Media Usage</title>
      <link>https://log.jnsmr.ch/post/2025-12-07-advent-of-controlled-media-usage/</link>
      <pubDate>Sun, 07 Dec 2025 20:38:00 +0100</pubDate>
      <guid>https://log.jnsmr.ch/post/2025-12-07-advent-of-controlled-media-usage/</guid>
      <description>&lt;p&gt;One blogpost ago, I wrote about &lt;a href=&#34;https://log.jnsmr.ch/post/2025-12-05-networking-overkill/&#34;&gt;Stuff I&amp;rsquo;ve spent entirely too much time on&lt;/a&gt;.&#xA;That title was of course in jest, as I think I&amp;rsquo;ve spent a (somewhat) reasonable amount of time on VPN and DNS, given that it makes my setup quite a bit more secure and also makes certain things simpler.&lt;/p&gt;&#xA;&lt;p&gt;There are, however, things I have also spent a lot of time on, where I&amp;rsquo;d say &amp;ldquo;yes, that is actually a waste of time&amp;rdquo;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stuff I&#39;ve spent entirely too much time on during the last 2 weeks</title>
      <link>https://log.jnsmr.ch/post/2025-12-05-networking-overkill/</link>
      <pubDate>Fri, 05 Dec 2025 11:25:00 +0100</pubDate>
      <guid>https://log.jnsmr.ch/post/2025-12-05-networking-overkill/</guid>
      <description>&lt;p&gt;This blog post comes in two variants, based on a simple condition.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Are you my thesis supervisor: I&amp;rsquo;ve done lots of thesis :) this blog post is finished now.&lt;/li&gt;&#xA;&lt;li&gt;Otherwise: keep reading&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Recently I stumbled upon my old NAS.&#xA;It&amp;rsquo;s been turned off since a while, and I really had no clue what&amp;rsquo;s on it.&#xA;However, I decided I should integrate it in my &amp;ldquo;homelab&amp;rdquo;.&#xA;The homelab I had at that point consisted exclusively of one old desktop computer at my parents place.&#xA;Further, the computer is directly connected to the ISP router, and essentially everything I accessed was over the public internet (with good credentials of course).&lt;/p&gt;</description>
    </item>
    <item>
      <title>(Ab)using rust macros to create parametrized modules</title>
      <link>https://log.jnsmr.ch/post/2024-05-16-parametrized-modules/</link>
      <pubDate>Tue, 14 May 2024 10:00:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2024-05-16-parametrized-modules/</guid>
      <description>&lt;h1 id=&#34;the-very-niche-problem&#34;&gt;The (very niche) Problem&lt;/h1&gt;&#xA;&lt;p&gt;Some time ago I came across &lt;a href=&#34;https://nullderef.com/blog/rust-async-sync/&#34;&gt;this blogpost&lt;/a&gt; which describes the agony the author went through to provide both a synchronous and an asynchronous version of their library.&lt;/p&gt;&#xA;&lt;p&gt;What the author opted for in the end is a library that either generated &lt;code&gt;async&lt;/code&gt; or normal code depending on the presence (or absence) of a feature flag.&#xA;Importantly however, this would not work to enable &lt;em&gt;both&lt;/em&gt; synchronous and asynchronous code generation at the same time (since synchronous code is emitted at the absence of the &amp;ldquo;asynchronous&amp;rdquo; flag).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Customize your Firefox Search</title>
      <link>https://log.jnsmr.ch/post/2024-01-20-customize-your-firefox-search/</link>
      <pubDate>Sat, 20 Jan 2024 16:00:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2024-01-20-customize-your-firefox-search/</guid>
      <description>&lt;p&gt;Recently I have been plagued by search results polluted by low-quality and/or uninformative results.&#xA;One website annoys me in particular, which I will refer to as &lt;em&gt;mediocre.com&lt;/em&gt;.&#xA;Hence, I would like for these articles to never appear in my search results again.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;Firefox luckily allows you to configure your search, but it is not as user-friendly as one might hope.&lt;/p&gt;&#xA;&lt;p&gt;First we need to allow custom search engines at all:&lt;/p&gt;</description>
    </item>
    <item>
      <title>a little ssh trick</title>
      <link>https://log.jnsmr.ch/post/2023-06-04-ssh-configs/</link>
      <pubDate>Sun, 04 Jun 2023 10:00:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2023-06-04-ssh-configs/</guid>
      <description>&lt;p&gt;I finally took time to set up my SSH properly.&#xA;Due to the nature of my setup, I needed to use non-default ssh ports.&lt;/p&gt;&#xA;&lt;p&gt;Kind of annoying, isn&amp;rsquo;t it?&#xA;You have to specify the port ever time you connect, like so:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-txt&#34; data-lang=&#34;txt&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ssh user@host -p port&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;Worse even, if you have multiple ssh certificates, you need to specify that as well!&lt;/p&gt;&#xA;&lt;p&gt;Luckily this problem has a very easy solution :)&lt;/p&gt;&#xA;&lt;h3 id=&#34;ssh-configs&#34;&gt;SSH Configs&lt;/h3&gt;&#xA;&lt;p&gt;You can create a config file at ~/.ssh/config and save your frequent connected servers there.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My Favourite Programming Language</title>
      <link>https://log.jnsmr.ch/post/2023-05-18-most-sane-language/</link>
      <pubDate>Thu, 18 May 2023 11:07:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2023-05-18-most-sane-language/</guid>
      <description>&lt;p&gt;As hopefully many people are aware, C and C++ have a notion of &amp;ldquo;Undefined Behaviour&amp;rdquo;.&#xA;Few people seem to realize what that means though, so I wanted to write a funny program to illustrate it.&lt;/p&gt;&#xA;&lt;p&gt;Most people just seem to think that if Undefined Behaviour happens, then just some values might be random.&#xA;However, I think it&amp;rsquo;s much worse than that.&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;At the moment I am using gcc version 13.1.1 20230429, so if you want to reproduce results I would recommend sticking to that (or very similar) compiler versions.&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Self Hosting Gitea</title>
      <link>https://log.jnsmr.ch/post/2023-03-19-self-hosting-gitea/</link>
      <pubDate>Sun, 19 Mar 2023 22:13:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2023-03-19-self-hosting-gitea/</guid>
      <description>&lt;p&gt;Some time ago I decided I want to take matters into my own hands and host my own code.&#xA;I was aware of a few git hosting services: GitHub, GitLab, BitBucket, and Gitea.&lt;/p&gt;&#xA;&lt;p&gt;GitHub was no option, as you can&amp;rsquo;t self-host that.&lt;/p&gt;&#xA;&lt;p&gt;I was not very familiar with GitLab, and it looked clunky, big, and slow to me.&lt;/p&gt;&#xA;&lt;p&gt;BitBucket I was not a fan of due to it being product of an Australian company. &lt;a href=&#34;https://fee.org/articles/australia-s-unprecedented-encryption-law-is-a-threat-to-global-privacy/&#34;&gt;See here why that might not be a good thing&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>A new beginning</title>
      <link>https://log.jnsmr.ch/post/2023-03-19-a-new-beginning/</link>
      <pubDate>Sun, 19 Mar 2023 21:35:00 +0000</pubDate>
      <guid>https://log.jnsmr.ch/post/2023-03-19-a-new-beginning/</guid>
      <description>&lt;p&gt;Hello! :3&lt;/p&gt;&#xA;&lt;p&gt;This is a new beginning of my blogging adventures.&#xA;Maybe I&amp;rsquo;ll find more time and be less lazy than last time.&lt;/p&gt;&#xA;&lt;p&gt;Also, I got a fresh domain. (which looks very sus but idc)&lt;/p&gt;&#xA;&lt;p&gt;New blog posts should be coming soon.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
