<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Latest posts on ctrl-r</title><link>https://ctrl-r.de/posts/</link><description>Recent content in Latest posts on ctrl-r</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 16 Jan 2026 07:01:26 +0200</lastBuildDate><atom:link href="https://ctrl-r.de/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Stacking Actions - Part 3</title><link>https://ctrl-r.de/posts/stacking_actions-3/</link><pubDate>Fri, 16 Jan 2026 07:01:26 +0200</pubDate><guid>https://ctrl-r.de/posts/stacking_actions-3/</guid><description>&lt;p&gt;In the &lt;a href="https://ctrl-r.de/posts/stacking_actions-2/" &gt;previous article&lt;/a&gt; of this series we have seen that the re-normalized stack can be displayed as the $n$-th approximation of the Golden Ratio $\phi_{n}$ over $1$:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-forth" data-lang="forth"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ae81ff"&gt;2&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;50&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Fn&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;2DUP &lt;/span&gt;&lt;span style="color:#ae81ff"&gt;2&lt;/span&gt;&lt;span style="color:#a6e22e"&gt;S&amp;gt;F&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;F/ &lt;/span&gt;&lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;&lt;span style="color:#a6e22e"&gt;e&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;.s &lt;/span&gt;&lt;span style="color:#75715e"&gt;\ do 50 iterations and re-normalize
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;53316291173&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;32951280099&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;&amp;lt;-Top&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;.6180340&lt;/span&gt;&lt;span style="color:#a6e22e"&gt;E+00&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;.0000000&lt;/span&gt;&lt;span style="color:#a6e22e"&gt;E+00&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;&amp;lt;-FTop&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;ok&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;FOVER F. &lt;/span&gt;&lt;span style="color:#75715e"&gt;\ pop result 1.61803399 ok
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For this to happen the data stack was moved to the floating-point- or F-stack with &lt;code&gt;S&amp;gt;F&lt;/code&gt;. Instead we could have iterated on the F-stack from the beginning!&lt;/p&gt;</description></item><item><title>Stacking Actions - Part 2</title><link>https://ctrl-r.de/posts/stacking_actions-2/</link><pubDate>Tue, 13 Jan 2026 20:25:56 +0200</pubDate><guid>https://ctrl-r.de/posts/stacking_actions-2/</guid><description>&lt;p&gt;In &lt;a href="https://ctrl-r.de/posts/stacking_actions-1" &gt;Part 1&lt;/a&gt; of this series I have resurrected my old HP-28S scientific calculator and written about stack computing. I have given the simple example of manipulating a stack to calculate Fibonacci Numbers by application of the operator $F$.&lt;/p&gt;
&lt;p&gt;The purpose of this exercise is to show how actions shape forms and how the forms become symbols for actions. In this part we will apply our operator $F$ repeatedly and iterate through the Fibonacci Numbers to reach an interesting (however, well-known) conclusion&amp;hellip;&lt;/p&gt;</description></item><item><title>Stacking Actions - Part 1</title><link>https://ctrl-r.de/posts/stacking_actions-1/</link><pubDate>Sun, 23 Nov 2025 21:47:11 +0200</pubDate><guid>https://ctrl-r.de/posts/stacking_actions-1/</guid><description>&lt;h1 id="are-we-stack-machines"&gt;
 Are we stack machines?
 &lt;a class="heading-link" href="#are-we-stack-machines"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;A rhetorical question, maybe. But considering that an &amp;ldquo;action&amp;rdquo; could be construed as operator, however simple or complex it may be, the indefinite space that is our environment may be seen as stacking. (Readers not familiar with the concept of stack may think of it as shelves or layers.) Actions not only modify it, they shape our perception of objects. Actions are the building blocks of reality.&lt;/p&gt;</description></item><item><title>Handed down</title><link>https://ctrl-r.de/posts/secondorder/</link><pubDate>Tue, 04 Feb 2025 00:00:00 +0000</pubDate><guid>https://ctrl-r.de/posts/secondorder/</guid><description>&lt;p&gt;(I have to admit that this post is unfinished. It has been sitting there in draft for a while and I decided now to publish it anyway mainly for the image that it includes. If I find the time it will be expanded. In the meantime, enjoy the inspiration.)&lt;/p&gt;
&lt;p&gt;In an artistic mood I created this collage&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; with the &lt;a href="#ouroborus" &gt;Ouroborus&lt;/a&gt; in the right hand coming down from the upper right corner &amp;ndash; as if descending from a higher sphere &amp;ndash; and another hand holding a &lt;a href="#torus" &gt;torus-like tube&lt;/a&gt; coming from the left bottom corner, the human realm. Both hands meet in the center of the picture. The observant reader will, of course, recognize the hands as detail in Michelangelo&amp;rsquo;s &lt;em&gt;&amp;ldquo;The Creation of Adam&amp;rdquo;&lt;/em&gt; (1512)&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;, that are part of his famous frescos in the Sistine Chapel, just turned upside-down to fit with the two objects placed in them. Click to flip the image and you will recognize them &amp;ndash; but make sure the objects don&amp;rsquo;t fall out! :-P&lt;/p&gt;</description></item><item><title>Policy of Kindness</title><link>https://ctrl-r.de/posts/policyofkindness/</link><pubDate>Sat, 05 Oct 2024 13:53:22 +0200</pubDate><guid>https://ctrl-r.de/posts/policyofkindness/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Lack of understanding of the true nature of happiness, it seems to me, is the principal reason why people inflict sufferings on others. They think either that the other&amp;rsquo;s pain may somehow be a cause of happiness for themselves or that their own happiness is more important, regardless of what pain it may cause. But this is shortsighted, no one truly benefits from causing harm to another sentient being. Whatever immediate advantage is gained at the expense of someone else is short-lived. In the long run causing others misery and infringing their rights to peace and happiness results in anxiety, fear and suspicion within oneself. Such feelings undermine the peace of mind and contentment which are the marks of happiness. True happiness comes not from a limited concern for one&amp;rsquo;s own well-being, or that of those one feels close to, but from developing love and compassion for all sentient beings. Here, love means wishing that all sentient beings should find happiness, and compassion means wishing that they should all be free of suffering. The development of this attitude gives rise to a sense of openness and trust that provides the basis for peace.&amp;rdquo;
&lt;em&gt;The Dalai Lama: A Policy of Kindness&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Content grouping with shortcode tabgroup</title><link>https://ctrl-r.de/posts/tabgroup/</link><pubDate>Thu, 18 Jul 2024 14:38:55 +0300</pubDate><guid>https://ctrl-r.de/posts/tabgroup/</guid><description>&lt;p&gt;As I &lt;a href="https://ctrl-r.de/posts/blindspot/#experiment" &gt;needed&lt;/a&gt; a way to group similar content in tabs, I found this theme&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; already has a shortcode for it.&lt;/p&gt;
&lt;p&gt;Example:





&lt;div class="tabs tabs-left"&gt;
 





&lt;style&gt;
 .tabs input#tab-0-0:checked ~ .tab-content-0-0 {
 display: block;
 }
&lt;/style&gt;

&lt;input type="radio" class="tab-input" name="tab-select-0" id="tab-0-0" checked/&gt;
&lt;label for="tab-0-0" class="tab-label"&gt;first tab&lt;/label&gt;
&lt;div class="tab-content tab-content-0-0"&gt;
 First content
&lt;/div&gt;








&lt;style&gt;
 .tabs input#tab-0-1:checked ~ .tab-content-0-1 {
 display: block;
 }
&lt;/style&gt;

&lt;input type="radio" class="tab-input" name="tab-select-0" id="tab-0-1" /&gt;
&lt;label for="tab-0-1" class="tab-label"&gt;second tab&lt;/label&gt;
&lt;div class="tab-content tab-content-0-1"&gt;
 Second content
&lt;/div&gt;





&lt;/div&gt;


&lt;/p&gt;
&lt;p&gt;To remind myself of it, this is how it works:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-markdown" data-lang="markdown"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; tabgroup &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; tab name=&amp;#34;first tab&amp;#34; &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;First content
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; /tab &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; tab name=&amp;#34;second tab&amp;#34; &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Second content
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; /tab &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{{&amp;lt; /tabgroup &amp;gt;}}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;&lt;a href="https://hugo-coder.netlify.app/posts/html-and-css-only-tabs/" class="external-link" target="_blank" rel="noopener"&gt;https://hugo-coder.netlify.app/posts/html-and-css-only-tabs/&lt;/a&gt;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Toggle dark mode on link</title><link>https://ctrl-r.de/posts/darkmode-link/</link><pubDate>Tue, 16 Jul 2024 13:07:09 +0300</pubDate><guid>https://ctrl-r.de/posts/darkmode-link/</guid><description>&lt;p&gt;See the little dark mode button in the lower right corner? On pressing this button the web page &lt;a href="https://ctrl-r.de/posts/darkmode-final" &gt;toggles dark mode including SVG images&lt;/a&gt; (if it is not fixed in your browser / system settings). The functionality is provided by a piece of JS code.&lt;/p&gt;
&lt;p&gt;If I wanted to do the same on a &lt;a&gt;linked&lt;/a&gt; text like &lt;code&gt;&amp;lt;a id=&amp;quot;dark-mode-toggle&amp;quot; class=&amp;quot;colorscheme-toggle&amp;quot;&amp;gt;TOGGLE!&amp;lt;/a&amp;gt;&lt;/code&gt; it wouldn&amp;rsquo;t work because the &lt;code&gt;id&lt;/code&gt; of the related JS code cannot be re-used (DOM&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; violation). It must be unique&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;! As a workaround we have to create a new id by copying the JS code and assigning it to a new DOM variable.&lt;/p&gt;</description></item><item><title>Blind Spot of Perception</title><link>https://ctrl-r.de/posts/blindspot/</link><pubDate>Tue, 25 Jun 2024 06:15:58 +0300</pubDate><guid>https://ctrl-r.de/posts/blindspot/</guid><description>&lt;p&gt;The topic of the Blind Spot came up for me, once again, in a discussion with a friend who employed the metaphor in a way that I felt I have to say something. The metaphor can&amp;rsquo;t be taken too lightly, and it is not immediately obvious, why. We shall see at the end of this short essay if we can reach an understanding that clarifies the meaning of the metaphor, so that we can evoke it correctly when the context arises.&lt;/p&gt;</description></item><item><title>Launch on Guru Rinpoche Day</title><link>https://ctrl-r.de/posts/launch/</link><pubDate>Sun, 16 Jun 2024 11:23:25 +0300</pubDate><guid>https://ctrl-r.de/posts/launch/</guid><description>&lt;p&gt;As I recognize the significance of time quality &amp;ndash; for any endeavor, such as starting a new project &amp;ndash; I have chosen &lt;em&gt;Sunday, June 16, 2024&lt;/em&gt; as launch day!&lt;/p&gt;
&lt;p&gt;After tinkering with the configuration and settings the day of launching this site has come. Currently it has the &lt;a href="https://ctrl-r.de/posts" &gt;Blog&lt;/a&gt; with a few entries and the &lt;a href="https://ctrl-r.de/about" &gt;About page&lt;/a&gt; ready. As we add more content to it the best way to keep updated about changes is by subscribing to &lt;a href="https://ctrl-r.de/index.xml#feed" &gt;RSS feeds&lt;/a&gt; in a feedreader or email application. However, until it has stabilized, expect some minor adaptations in the next coming weeks&amp;hellip;&lt;/p&gt;</description></item><item><title>Dark mode toggle (final)</title><link>https://ctrl-r.de/posts/darkmode-final/</link><pubDate>Mon, 06 May 2024 06:50:00 +0300</pubDate><guid>https://ctrl-r.de/posts/darkmode-final/</guid><description>&lt;p&gt;If you thought the inversion of line drawing in dark mode is solved (see &lt;a href="https://ctrl-r.de/posts/darkmode-fu" &gt;follow-up on the dark mode toggle post&lt;/a&gt;), then read on for a more elegant way to achieve the same&amp;hellip;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;First make it work, then make it beautiful.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After a little learning curve with custom CSS and including images in markdown with inline HTML, I discovered that it can be done in markdown directly. We just have to instruct the &lt;code&gt;markdown.goldmark.parser&lt;/code&gt; to not wrap images in paragraphs and allow block and title attributes. The hint came from an article&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; that pointed me to the right page in the hugo documentationi&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;:&lt;/p&gt;</description></item><item><title>Garuda - the mythic bird soars</title><link>https://ctrl-r.de/posts/garuda/</link><pubDate>Sun, 28 Apr 2024 10:00:46 +0300</pubDate><guid>https://ctrl-r.de/posts/garuda/</guid><description>&lt;img src="https://ctrl-r.de/images/avatar.svg" alt="avatar" title="garuda spreads its wings" class="invertible" width="40%"&gt;&lt;p&gt;As you can see on the &lt;a href="https://ctrl-r.de/" &gt;frontpage&lt;/a&gt; I have chosen this above Garuda line drawing as my avatar. I use it since many years and it has become an emblem for me. Why have I chosen the image of the garuda? Well, it probably has to do with a book&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; (of which I am partly translator).&lt;/p&gt;
&lt;p&gt;A quote from the introduction to &amp;ldquo;Spaciousness&amp;rdquo;&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; describes best my motive for choosing this emblem:&lt;/p&gt;</description></item><item><title>Dark mode toggle (follow-up)</title><link>https://ctrl-r.de/posts/darkmode-fu/</link><pubDate>Sun, 28 Apr 2024 09:31:35 +0300</pubDate><guid>https://ctrl-r.de/posts/darkmode-fu/</guid><description>&lt;p&gt;This is a follow-up to a &lt;a href="https://ctrl-r.de/posts/darkmode" &gt;previous post on the dark mode toggle&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Displaying a black line drawing in dark mode requires inverting the image as otherwise it won&amp;rsquo;t be visible. In my first attempt with the avatar image on the frontpage I used an SVG with transparent background and a CSS rule that detects the class of the image (theme has built-in .avatar class). This works reliably if the image class is met.&lt;/p&gt;</description></item><item><title>Dark mode toggle</title><link>https://ctrl-r.de/posts/darkmode/</link><pubDate>Mon, 08 Apr 2024 12:20:35 +0300</pubDate><guid>https://ctrl-r.de/posts/darkmode/</guid><description>&lt;p&gt;I was tinkering with the avatar image, the &lt;a href="https://ctrl-r.de/posts/garuda" &gt;Garuda&lt;/a&gt; line drawing, that I use for my &lt;a href="https://ctrl-r.de/" &gt;front page&lt;/a&gt;: I wanted to toggle it according to the color-scheme&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;. The stroke should get inverted in dark mode. Starting with two separate PNG images, one for light and one for dark mode, I quickly realized that it would be easier instead to load just one SVG with transparent background!&lt;/p&gt;
&lt;p&gt;Applying a &lt;code&gt;@media (prefers-color-scheme: dark)&lt;/code&gt; query in an SCSS did not do the trick. I could not figure out why. It worked, but somehow it did not detect the light mode change and always inverted the image. Probably another rule took precedence. It turned out to be much easier. The enclosing class can simply be written before the .avatar-class of the img like so&lt;/p&gt;</description></item></channel></rss>