diff options
Diffstat (limited to 'public')
33 files changed, 330 insertions, 49 deletions
diff --git a/public/arch-systemd.html b/public/arch-systemd.html index 30d089c..8c5b705 100644 --- a/public/arch-systemd.html +++ b/public/arch-systemd.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>What Arch Linux's switch to systemd means for users — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -73,7 +74,8 @@ href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2012 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/assets/style.css b/public/assets/style.css index f345dc1..1033f57 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -30,28 +30,10 @@ li p + ul { margin-top: -1em; } kbd, code, samp, tt, pre { background: #DDDDFF; -} -kbd, code, samp, tt, { - white-space: pre-wrap; -} -@media screen { - /* Firefox for Android does weird hacks with font-size. In - * particular, `white-space: pre` is broken on Firefox for - * Android if you don't set an absolute font-size. So this is - * a hack to get reasonable behavior without setting - * `white-space: pre`. */ - pre { - white-space: pre-wrap; - overflow-x: auto; - } - pre > code { - white-space: pre-wrap; - display: block; - min-width: max-content; - } + white-space: pre; } @media print { - pre, pre > code { + kbd, code, samp, tt, pre { white-space: pre-wrap; } } diff --git a/public/bash-arrays.html b/public/bash-arrays.html index 5e79064..76132f5 100644 --- a/public/bash-arrays.html +++ b/public/bash-arrays.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Bash arrays — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -399,7 +400,8 @@ since 1996!</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/bash-redirection.html b/public/bash-redirection.html index f846a61..f69a881 100644 --- a/public/bash-redirection.html +++ b/public/bash-redirection.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Bash redirection — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -50,7 +51,8 @@ cmd >file 2>&1 # both stdout and stderr go to file</code></pre> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/btrfs-rec.html b/public/btrfs-rec.html index 9ecaec8..e8366e9 100644 --- a/public/btrfs-rec.html +++ b/public/btrfs-rec.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Announcing: btrfs-rec: Recover (data from) a broken btrfs filesystem — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -1166,7 +1167,8 @@ that we can get ARC into the Linux kernel before then?</p></li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2023 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/build-bash-1.html b/public/build-bash-1.html index 02206be..d1494fd 100644 --- a/public/build-bash-1.html +++ b/public/build-bash-1.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Building Bash 1.14.7 on a modern system — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -99,7 +100,8 @@ exponential function.</li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2015 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/crt-sh-architecture.html b/public/crt-sh-architecture.html index a0a2840..bf1b71c 100644 --- a/public/crt-sh-architecture.html +++ b/public/crt-sh-architecture.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>The interesting architecture of crt.sh — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -76,7 +77,8 @@ were worth sharing.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2018 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/emacs-as-an-os.html b/public/emacs-as-an-os.html index 5218245..f0602c1 100644 --- a/public/emacs-as-an-os.html +++ b/public/emacs-as-an-os.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Emacs as an operating system — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -45,7 +46,8 @@ to do that all over the network.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/emacs-shells.html b/public/emacs-shells.html index 66035f7..a75c5f7 100644 --- a/public/emacs-shells.html +++ b/public/emacs-shells.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>A summary of Emacs' bundled shell and terminal modes — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -76,7 +77,8 @@ or bash, it will be running “esh”, part of Emacs.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/fd_printf.html b/public/fd_printf.html index 2bc55a4..dc4d7c6 100644 --- a/public/fd_printf.html +++ b/public/fd_printf.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>`dprintf`: print formatted text directly to a file descriptor — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -51,7 +52,8 @@ results.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="http://www.wtfpl.net/txt/copying/">WTFPL-2</a> license.</p> diff --git a/public/fs-licensing-explanation.html b/public/fs-licensing-explanation.html index f84f5ac..f46dd7f 100644 --- a/public/fs-licensing-explanation.html +++ b/public/fs-licensing-explanation.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>An explanation of how "copyleft" licensing works — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -69,7 +70,8 @@ source.”</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/git-go-pre-commit.html b/public/git-go-pre-commit.html index 8b81f61..7349e46 100644 --- a/public/git-go-pre-commit.html +++ b/public/git-go-pre-commit.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>A git pre-commit hook for automatically formatting Go code — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -60,7 +61,8 @@ remember why I did that, I will update this page.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="http://www.wtfpl.net/txt/copying/">WTFPL-2</a> license.</p> diff --git a/public/http-notes.html b/public/http-notes.html index 7828a1d..99b13c4 100644 --- a/public/http-notes.html +++ b/public/http-notes.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Notes on subtleties of HTTP implementation — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -121,7 +122,8 @@ as OPTIONS for the entire server.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2016 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/index.atom b/public/index.atom index 6423bca..dd10c2c 100644 --- a/public/index.atom +++ b/public/index.atom @@ -5,12 +5,88 @@ <link rel="self" type="application/atom+xml" href="./index.atom"/> <link rel="alternate" type="text/html" href="./"/> <link rel="alternate" type="text/markdown" href="./index.md"/> - <updated>2023-07-10T00:00:00+00:00</updated> + <updated>2024-06-08T00:00:00+00:00</updated> <author><name>Luke T. Shumaker</name><uri>https://lukeshu.com/</uri><email>lukeshu@lukeshu.com</email></author> <id>https://lukeshu.com/blog/</id> <entry xmlns="http://www.w3.org/2005/Atom"> + <link rel="alternate" type="text/html" href="./message-threading.html"/> + <link rel="alternate" type="text/markdown" href="./message-threading.md"/> + <id>https://lukeshu.com/blog/message-threading.html</id> + <updated>2024-06-08T00:00:00+00:00</updated> + <published>2024-06-08T00:00:00+00:00</published> + <title>Notes on email message threading</title> + <content type="html"><h1 id="notes-on-email-message-threading">Notes on email message +threading</h1> +<blockquote> +<p>I sent an email to Jamie Zawinski with feedback on his venerable +email threading algorithm. Perhaps my commentary will be a useful +reference to others implementing email threading.</p> +<p>You can see my implementation of his algorithm at <a +href="https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread_alg.go" +class="uri">https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread_alg.go</a> +(and a use of it at <a +href="https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread.go" +class="uri">https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread.go</a>).</p> +</blockquote> +<div style="font-family: monospace"> +<p>To: <a href="https://www.jwz.org/">Jamie Zawinski</a> <a +href="https://www.jwz.org/about.html">&lt;jwz@jwz.org&gt;</a><br/> +Subject: message threading<br/> Date: Sat, 08 Jun 2024 22:34:41 -0600 +Message-ID: &lt;87tti2ybry.wl-lukeshu@lukeshu.com&gt;</p> +</div> +<p>Hi,</p> +<p>I'm implementing message threading, and have been referencing both +your document <a +href="https://www.jwz.org/doc/threading.html">&lt;https://www.jwz.org/doc/threading.html&gt;</a>; +and <a href="https://datatracker.ietf.org/doc/html/rfc5256">RFC +5256</a>. I'm not sure whether you're interested in updating a document +that's more than 25 years old, but if you are: I hope you find the +following feedback valuable.</p> +<p>You write that the algorithm in RFC 5256 is merely a <q>restating</q> +of your algorithm, but I noticed 3 (minor) differences:</p> +<ol type="1"> +<li><p>In your step 1.C, the RFC says to check whether this would create +a loop, and if it would to skip creating the link; your version only +says to perform this check in step 1.B.</p></li> +<li><p>The RFC says to sort the messages by date between your steps 4 +and 5; that is: when grouping by subject, containers in the root set +should be processed in date-order (you do not specify an order), and +that if container in the root set is empty then the subject should be +taken from the earliest-date child (you say to use an arbitrary +child).</p></li> +<li><p>The RFC precisely states how to trim a subject down to a "base +subject," rather than simply saying <q>Strip ``Re:'', ``RE:'', +``RE[5]:'', ``Re: Re[4]: Re:'' and so on.</q></p></li> +</ol> +<p>Additionally, there are two minor points on which I found their +version to be clearer:</p> +<ol type="1"> +<li><p>The RFC specifies how to handle messages without a Message-Id or +with a duplicate Message-Id (on <a +href="https://datatracker.ietf.org/doc/html/rfc5256#page-9">page 9</a>), +as well as how to normalize a Message-Id (by referring to <a +href="https://datatracker.ietf.org/doc/html/rfc2822">RFC 2822</a>). This +is perhaps out-of-scope of your algorithm document, but I feel that it +would be worth mentioning in your background or definitions +section.</p></li> +<li><p>In your step 1.B, I did not understand what <q>If they are +already linked, don't change the existing links</q> meant until I read +the RFC, which words it as <q>If a message already has a parent, don't +change the existing link.</q> It was unclear to me what <q>they</q> was +referring to in your version.</p></li> +</ol> +<div style="font-family: monospace"> +<p>-- <br/> Happy hacking,<br/> ~ Luke T. Shumaker<br/></p> +</div> +</content> + <author><name>Luke T. Shumaker</name><uri>https://lukeshu.com/</uri><email>lukeshu@lukeshu.com</email></author> + <rights type="html"><p>The content of this page is Copyright © 2024 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> +<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p></rights> + </entry> + + <entry xmlns="http://www.w3.org/2005/Atom"> <link rel="alternate" type="text/html" href="./btrfs-rec.html"/> <link rel="alternate" type="text/markdown" href="./btrfs-rec.md"/> <id>https://lukeshu.com/blog/btrfs-rec.html</id> diff --git a/public/index.html b/public/index.html index 9fa4930..140eb36 100644 --- a/public/index.html +++ b/public/index.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Web log entries — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -20,6 +21,8 @@ time { } </style> <ul> +<li><time>2024-06-08</time> - <a href="./message-threading.html">Notes +on email message threading</a></li> <li><time>2023-07-10</time> - <a href="./btrfs-rec.html">Announcing: btrfs-rec: Recover (data from) a broken btrfs filesystem</a></li> <li><time>2018-02-09</time> - <a href="./posix-pricing.html">POSIX @@ -86,7 +89,8 @@ Linux’s switch to systemd means for users</a></li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/index.md b/public/index.md index fda3bcc..8e5a171 100644 --- a/public/index.md +++ b/public/index.md @@ -10,6 +10,7 @@ time { } </style> + * <time>2024-06-08</time> - [Notes on email message threading](./message-threading.html) * <time>2023-07-10</time> - [Announcing: btrfs-rec: Recover (data from) a broken btrfs filesystem](./btrfs-rec.html) * <time>2018-02-09</time> - [POSIX pricing and availability; or: Do you really need the PDF?](./posix-pricing.html) * <time>2018-02-09</time> - [GNU/Linux Keyboard Maps: xmodmap](./kbd-xmodmap.html) diff --git a/public/java-segfault-redux.html b/public/java-segfault-redux.html index 41328df..e111f5e 100644 --- a/public/java-segfault-redux.html +++ b/public/java-segfault-redux.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>My favorite bug: segfaults in Java (redux) — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -208,7 +209,8 @@ solution to me.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2016 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/java-segfault.html b/public/java-segfault.html index 2344acf..4da6dec 100644 --- a/public/java-segfault.html +++ b/public/java-segfault.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>My favorite bug: segfaults in Java — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -110,7 +111,8 @@ the fix.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/kbd-xmodmap.html b/public/kbd-xmodmap.html index fdede30..985d55f 100644 --- a/public/kbd-xmodmap.html +++ b/public/kbd-xmodmap.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>GNU/Linux Keyboard Maps: xmodmap — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -230,7 +231,8 @@ files nicer:</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2018 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/lp2015-videos.html b/public/lp2015-videos.html index 0445e7d..b7c2c4c 100644 --- a/public/lp2015-videos.html +++ b/public/lp2015-videos.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>I took some videos at LibrePlanet — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -28,7 +29,8 @@ the video I took</a>.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2015 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/make-memoize.html b/public/make-memoize.html index ae3da5f..df3699a 100644 --- a/public/make-memoize.html +++ b/public/make-memoize.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>A memoization routine for GNU Make functions — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -83,7 +84,8 @@ wrote one that you can use.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="http://www.wtfpl.net/txt/copying/">WTFPL-2</a> license.</p> diff --git a/public/message-threading.html b/public/message-threading.html new file mode 100644 index 0000000..f829ade --- /dev/null +++ b/public/message-threading.html @@ -0,0 +1,88 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Notes on email message threading — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="assets/style.css"> + <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> +</head> +<body> +<header><a href="/">Luke T. Shumaker</a> » <a href=/blog>blog</a> » message-threading</header> +<article> +<h1 id="notes-on-email-message-threading">Notes on email message +threading</h1> +<blockquote> +<p>I sent an email to Jamie Zawinski with feedback on his venerable +email threading algorithm. Perhaps my commentary will be a useful +reference to others implementing email threading.</p> +<p>You can see my implementation of his algorithm at <a +href="https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread_alg.go" +class="uri">https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread_alg.go</a> +(and a use of it at <a +href="https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread.go" +class="uri">https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread.go</a>).</p> +</blockquote> +<div style="font-family: monospace"> +<p>To: <a href="https://www.jwz.org/">Jamie Zawinski</a> <a +href="https://www.jwz.org/about.html"><jwz@jwz.org></a><br/> +Subject: message threading<br/> Date: Sat, 08 Jun 2024 22:34:41 -0600 +Message-ID: <87tti2ybry.wl-lukeshu@lukeshu.com></p> +</div> +<p>Hi,</p> +<p>I'm implementing message threading, and have been referencing both +your document <a +href="https://www.jwz.org/doc/threading.html"><https://www.jwz.org/doc/threading.html></a>; +and <a href="https://datatracker.ietf.org/doc/html/rfc5256">RFC +5256</a>. I'm not sure whether you're interested in updating a document +that's more than 25 years old, but if you are: I hope you find the +following feedback valuable.</p> +<p>You write that the algorithm in RFC 5256 is merely a <q>restating</q> +of your algorithm, but I noticed 3 (minor) differences:</p> +<ol type="1"> +<li><p>In your step 1.C, the RFC says to check whether this would create +a loop, and if it would to skip creating the link; your version only +says to perform this check in step 1.B.</p></li> +<li><p>The RFC says to sort the messages by date between your steps 4 +and 5; that is: when grouping by subject, containers in the root set +should be processed in date-order (you do not specify an order), and +that if container in the root set is empty then the subject should be +taken from the earliest-date child (you say to use an arbitrary +child).</p></li> +<li><p>The RFC precisely states how to trim a subject down to a "base +subject," rather than simply saying <q>Strip ``Re:'', ``RE:'', +``RE[5]:'', ``Re: Re[4]: Re:'' and so on.</q></p></li> +</ol> +<p>Additionally, there are two minor points on which I found their +version to be clearer:</p> +<ol type="1"> +<li><p>The RFC specifies how to handle messages without a Message-Id or +with a duplicate Message-Id (on <a +href="https://datatracker.ietf.org/doc/html/rfc5256#page-9">page 9</a>), +as well as how to normalize a Message-Id (by referring to <a +href="https://datatracker.ietf.org/doc/html/rfc2822">RFC 2822</a>). This +is perhaps out-of-scope of your algorithm document, but I feel that it +would be worth mentioning in your background or definitions +section.</p></li> +<li><p>In your step 1.B, I did not understand what <q>If they are +already linked, don't change the existing links</q> meant until I read +the RFC, which words it as <q>If a message already has a parent, don't +change the existing link.</q> It was unclear to me what <q>they</q> was +referring to in your version.</p></li> +</ol> +<div style="font-family: monospace"> +<p>-- <br/> Happy hacking,<br/> ~ Luke T. Shumaker<br/></p> +</div> + +</article> +<footer> + <aside class="sponsor"><p>I'd love it if you <a class="em" + href="/sponsor/">sponsored me</a>. It will allow me to continue + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> + +<p>The content of this page is Copyright © 2024 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> +<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> +</footer> +</body> +</html> diff --git a/public/message-threading.md b/public/message-threading.md new file mode 100644 index 0000000..eb83705 --- /dev/null +++ b/public/message-threading.md @@ -0,0 +1,76 @@ +Notes on email message threading +================================ +--- +date: "2024-06-08" +markdown_options: "-smart" +--- + +> I sent an email to Jamie Zawinski with feedback on his venerable +> email threading algorithm. Perhaps my commentary will be a useful +> reference to others implementing email threading. +> +> You can see my implementation of his algorithm at +> <https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread_alg.go> +> (and a use of it at +> <https://git.lukeshu.com/www/tree/cmd/generate/mailstuff/thread.go>). + +<div style="font-family: monospace"> +To: [Jamie Zawinski] [<jwz@jwz.org>]<br/> +Subject: message threading<br/> +Date: Sat, 08 Jun 2024 22:34:41 -0600 +Message-ID: <87tti2ybry.wl-lukeshu@lukeshu.com> +</div> + +Hi, + +I'm implementing message threading, and have been referencing both +your document [<https://www.jwz.org/doc/threading.html>]; and [RFC 5256]. +I'm not sure whether you're interested in updating a document that's +more than 25 years old, but if you are: I hope you find the following +feedback valuable. + +You write that the algorithm in RFC 5256 is merely a <q>restating</q> of +your algorithm, but I noticed 3 (minor) differences: + +1. In your step 1.C, the RFC says to check whether this would create a + loop, and if it would to skip creating the link; your version only + says to perform this check in step 1.B. + +2. The RFC says to sort the messages by date between your steps 4 and + 5; that is: when grouping by subject, containers in the root set + should be processed in date-order (you do not specify an order), + and that if container in the root set is empty then the subject + should be taken from the earliest-date child (you say to use an + arbitrary child). + +3. The RFC precisely states how to trim a subject down to a "base + subject," rather than simply saying <q>Strip \`\`Re:'', \`\`RE:'', + \`\`RE[5]:'', \`\`Re: Re[4]: Re:'' and so on.</q> + +Additionally, there are two minor points on which I found their +version to be clearer: + +1. The RFC specifies how to handle messages without a Message-Id or + with a duplicate Message-Id (on [page 9]), as well as how to + normalize a Message-Id (by referring to [RFC 2822]). This is perhaps + out-of-scope of your algorithm document, but I feel that it would + be worth mentioning in your background or definitions section. + +2. In your step 1.B, I did not understand what <q>If they are already + linked, don't change the existing links</q> meant until I read the + RFC, which words it as <q>If a message already has a parent, don't + change the existing link.</q> It was unclear to me what <q>they</q> was + referring to in your version. + +<div style="font-family: monospace"> +-- <br/> +Happy hacking,<br/> +~ Luke T. Shumaker<br/> +</div> + +[Jamie Zawinski]: https://www.jwz.org/ +[<jwz@jwz.org>]: https://www.jwz.org/about.html +[<https://www.jwz.org/doc/threading.html>]: https://www.jwz.org/doc/threading.html +[RFC 5256]: https://datatracker.ietf.org/doc/html/rfc5256 +[RFC 2822]: https://datatracker.ietf.org/doc/html/rfc2822 +[page 9]: https://datatracker.ietf.org/doc/html/rfc5256#page-9 diff --git a/public/nginx-mediawiki.html b/public/nginx-mediawiki.html index 8d677f2..917ec56 100644 --- a/public/nginx-mediawiki.html +++ b/public/nginx-mediawiki.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>An Nginx configuration for MediaWiki — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -77,7 +78,8 @@ figure it out.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2015 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/pacman-overview.html b/public/pacman-overview.html index c5e3114..18291aa 100644 --- a/public/pacman-overview.html +++ b/public/pacman-overview.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>A quick overview of usage of the Pacman package manager — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -52,7 +53,8 @@ system.</li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/poor-system-documentation.html b/public/poor-system-documentation.html index 7d6088c..2611856 100644 --- a/public/poor-system-documentation.html +++ b/public/poor-system-documentation.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Why documentation on GNU/Linux sucks — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -47,7 +48,8 @@ the worst of both worlds, and a few problems of its own.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2012 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/posix-pricing.html b/public/posix-pricing.html index 40d229b..43f4bc5 100644 --- a/public/posix-pricing.html +++ b/public/posix-pricing.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>POSIX pricing and availability; or: Do you really need the PDF? — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -38,7 +39,8 @@ is “POSIX-2008, 2016 edition.”</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2018 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/purdue-cs-login.html b/public/purdue-cs-login.html index 934af4e..784f2f3 100644 --- a/public/purdue-cs-login.html +++ b/public/purdue-cs-login.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Customizing your login on Purdue CS computers (WIP, but updated) — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -185,7 +186,8 @@ SunOS is NOT GNU/Linux, and sun4u is NOT x86.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2015 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/rails-improvements.html b/public/rails-improvements.html index 8b02cef..6a07466 100644 --- a/public/rails-improvements.html +++ b/public/rails-improvements.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>Miscellaneous ways to improve your Rails experience — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -93,7 +94,8 @@ like.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/ryf-routers.html b/public/ryf-routers.html index e964fb1..c28fcfa 100644 --- a/public/ryf-routers.html +++ b/public/ryf-routers.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>I'm excited about the new RYF-certified routers from ThinkPenguin — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -44,7 +45,8 @@ distributions, not for technical reasons, but lack of manpower).</li> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/term-colors.html b/public/term-colors.html index 4a8d866..958d4e2 100644 --- a/public/term-colors.html +++ b/public/term-colors.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>An explanation of common terminal emulator color codes — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -46,7 +47,8 @@ the same time, so you actually get 256+18 colors.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2013 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/what-im-working-on-fall-2014.html b/public/what-im-working-on-fall-2014.html index efc293a..a20a381 100644 --- a/public/what-im-working-on-fall-2014.html +++ b/public/what-im-working-on-fall-2014.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>What I'm working on (Fall 2014) — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -147,7 +148,8 @@ implemented.</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2014 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> diff --git a/public/x11-systemd.html b/public/x11-systemd.html index a238c73..2313b21 100644 --- a/public/x11-systemd.html +++ b/public/x11-systemd.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8"> <title>My X11 setup with systemd — Luke T. Shumaker</title> + <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="assets/style.css"> <link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/> </head> @@ -377,7 +378,8 @@ was Parabola’s packager for Iceweasel and IceCat).</p> <footer> <aside class="sponsor"><p>I'd love it if you <a class="em" href="/sponsor/">sponsored me</a>. It will allow me to continue - my work on the GNU/Linux ecosystem. Thanks!</p></aside> + <a class="em" href="/imworkingon/">my work</a> on the GNU/Linux + ecosystem. Thanks!</p></aside> <p>The content of this page is Copyright © 2016 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p> <p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p> |