fixing a bunch of broken stuff I think

This commit is contained in:
Chris Cochrun 2022-02-25 14:16:41 -06:00
parent 0dbc3ead0e
commit 8bace887a2
1551 changed files with 299 additions and 57481 deletions

View file

@ -1,92 +0,0 @@
<p>2021 is the year of anniversaries for me:</p>
<ul>
<li>10 years since the <a href="https://metaredux.com/posts/2021/10/28/projectile-turns-10.html">creation of my first OSS project Projectile</a></li>
<li>10 years since the creation of my second OSS project <a href="https://github.com/bbatsov/prelude">Emacs Prelude</a></li>
<li>10 years of using <a href="https://batsov.com/articles/2011/05/11/zenburn-emacs/">Zenburn</a> as my Emacs color theme.</li>
<li>10 years since Ive <a href="https://batsov.com/articles/2011/06/11/linux-desktop-experience-killing-linux-on-the-desktop/">stopped using Linux</a> as my primary desktop operating system</li>
<li>10 years since I <a href="https://batsov.com/articles/2011/04/26/thoughts-on-the-kindle/">bought my first Kindle</a></li>
<li>10 years since Ive started <a href="https://batsov.com/articles/2011/04/23/moving-to-jekyll/">blogging like with a hacker</a> with Jekyll</li>
</ul>
<p>Probably Im forgetting some other important anniversaries, especially those that were not related to technology. 2011 was a really big year for me!</p>
<p>Today Id like to look back on my experience with Jekyll, the static site
generator (SSG) that Im using to publish this site and my other blogs <a href="https://metaredux.com">Meta
Redux</a> and <a href="https://emacsredux.com">Emacs Redux</a>. Back
in the day Jekyll was a trend-setter - it basically defined the SSG category and
every subsequent tool in it was compared to Jekyll. A lot has happened since
2011:</p>
<ul>
<li>Jekyll has a ton of great alternatives today (e.g. Hugo, Ghost, Cryogen, etc)</li>
<li>For a while <a href="https://batsov.com/articles/2011/11/11/blogging-like-a-hacker-evolution/">Octopress</a> was all the rage in the world of Jekyll (basically Octopress was a highly customized Jekyll setup that many people were using, including me)</li>
<li>Jekylls development lost momentum over time. For a while the project was supported by GitHub engineers directly, but I believe this is no longer the case.</li>
<li>Ruby was all the rage back then, now thats no longer the case. Part of the allure of the alternatives is that they are not based on Ruby and supposedly are easier to
use as you dont have to deal with <code class="language-plaintext highlighter-rouge">gems</code>, <code class="language-plaintext highlighter-rouge">Gemfile</code>s, etc.</li>
</ul>
<p>I definitely had a troubled relationship with Jekyll myself. Early on I was quite annoyed that you had to setup everything in Jekyll manually, even basic things like
an Atom feed or archive/tags pages. I was also frustrated that I had to fiddle with the themes a lot, as HTML and CSS were never my strong suites. If I recall correctly the early versions of Jekyll used some horrible Markdown parser that caused all sorts of problems for me. Still, for all its
shortcomings Jekyll was a huge win for me as it allowed me to do exactly what I wanted to do:</p>
<ul>
<li>Write my articles in Emacs using my beloved Markdown format.</li>
<li>Store my blog under version control and treat it like any other software project.</li>
<li>Host my blog for free on GitHub Pages.</li>
</ul>
<p>I guess the first point was the only important point, though. When it comes to writing theres a single tool I want to use everywhere and thats Emacs.
In hindsight I realize that Jekyll and Emacs are quite similar in some ways - they are both building material and not some end user products. Jekyll is
a framework for building sites and this requires you to invest a lot in tweaking the setup to your liking. Emacs is a framework for building the ultimate
editor. Weve already established numerous times thats a <a href="https://batsov.com/articles/2021/11/24/emacs-is-a-lifestyle/">life-long endeavor</a>.</p>
<p>Over the years I considered replacing Jekyll with something else a few times,
especially when Hugo was all the rage and I was still <a href="https://batsov.com/articles/2015/02/15/octopress-3-dot-0/">stuck with a semi-broken
Octopress setup</a>. I remember
playing with Hugo and thinking that its not really that different from
Jekyll. Sure, it generated sites faster, but I never cared much about
this. Frankly, I almost never run Jekyll locally - I simply write and push to GitHub when
I feel Ive written something thats already in a readable form. Production is
my preview - unlike with software I think for blogs thats fine. The fact that
Jekyll is written in Ruby is a problem for most people, but for me its a
feature. After all, I was a Ruby programmer back in 2011 and I still involved with Ruby to this day.</p>
<p>Most importantly, however, Jekyll is as simple as it gets. I guess pretty much everyone can setup a Jekyll blog in 5 minutes if they dont need to do customize
some theme. When it comes to writing the thing that truly matters is the content and not its appearance. The more time you spend on customizing your blogging
tool, the less time you have for the actual process of writing.<sup id="fnref:1"><a class="footnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fn:1" rel="footnote">1</a></sup> Jekyll gets the job done for me and I simply dont want to invest a lot of time to learn properly
another SSG (e.g. Hugo) when I can be writing new articles instead. Time is our most precious resource and the older I get the more I value it.</p>
<p>Dont get me wrong, though - Jekyll is not standing still and its certainly a more
capable tool than it used to be in 2011:</p>
<ul>
<li>Jekyll plugins simplified a lot of common tasks (e.g. Atom feeds, pagination, redirects)</li>
<li>Working with themes is much easier than it used to be. I think distributing themes
as gems (Ruby libraries) was a wonderful idea.</li>
<li><a href="https://kramdown.gettalong.org/">kramdown</a> has been the default Markdown parser for a while now and its great.</li>
</ul>
<p>I think those advancements essentially made it pointless to copy someone elses Jekyll setup to jump-start yours. And tools like Octopress were pretty much this - a solid Jekyll setup, that was conveniently packaged for easy reuse. Now that Jekyll is more mature they are just a remnant of the past.</p>
<p>Ive had a productive decade with Jekyll, sans the end of the Octopress era, and I think I wont be moving away from Jekyll any time soon.
Yeah, theres always some room for improvement and probably many of the newer tools do the job better in one area or another, but Jekyll covers well my
use-cases and thats what matters the most to me. I recall back in my Linux days I spent countless hours doing distro-hopping, with the misguided notion that
some Linux distro will be massively better than all the others. A classic example of missing the forest for the trees. At this point Im fairly certain that
no SSG is significantly better than the alternatives and the only practical differences for me are their communities and how much do I have to learn to use one
of them.</p>
<p>And thats a wrap. This happens to be the 132th article I publish here since adopting Jekyll. Ive also published exactly 280 articles on “Emacs Redux” and “Meta Redux”. Heres to the next 10 years of blogging with Jekyll and Emacs! I hope Ill do better this time around.<sup id="fnref:2"><a class="footnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fn:2" rel="footnote">2</a></sup></p>
<p><strong>P.S.</strong> The article has spawned an interesting discussion on <a href="https://news.ycombinator.com/item?id=29378307">HackerNews</a>.</p>
<div class="footnotes">
<ol>
<li id="fn:1">
<p>I guess thats why I always opted to use relatively simple Jekyll themes. Often I think that <code class="language-plaintext highlighter-rouge">minima</code> is the greatest theme ever invented. <a class="reversefootnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fnref:1">↩</a></p>
</li>
<li id="fn:2">
<p>In terms of quality, not quantity. <a class="reversefootnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fnref:2">↩</a></p>
</li>
</ol>
</div>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>What kind of things need to happen before a new minor version of python is available through the official packages?</p> <p>I am aware there are a variety of ways I would get 3.10 installed now.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/ch1rh0"> /u/ch1rh0 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/q6n7di/when_does_usrbinpython_become_python_310/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/q6n7di/when_does_usrbinpython_become_python_310/">[comments]</a></span>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I want to lock session when I&#39;m not on my computer with the press of a button or touching the corner of a screen with a mouse. Once locked, it should go to a lightdm screen. I&#39;ve heard of slock but I don&#39;t think it can do what I want to do.</p> <p>Also on that note, how would I go about locking session automatically after like 10 or 15 minutes? All the resources I read were pretty old and didn&#39;t really help at all.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/throwaway1939233"> /u/throwaway1939233 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/ruwyq8/whats_the_best_session_lock/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/ruwyq8/whats_the_best_session_lock/">[comments]</a></span>

View file

@ -1 +0,0 @@
<p>On Wednesday night we openned the scriptures to Acts 16 and learned about Paul's second missionary journey. We looked at characters like Timothy, Luke, Lydia, and the Phillipian Jailer. As we wrapped up the… <a href='/story.php?story_fbid=126157402847401&id=115628967233578'>More</a> night, we saw how the Holy Spirit directed Paul and gave him the right way to share with the jailer exactly what he needed to be ready to turn to God. The only thing the jailer could respond with was "What must I do to be saved?" We are praying that we too pay attention to the Spirit enough to deal with people right where they are and invite them to know Christ!</p><a href='/story.php?story_fbid=126157402847401&id=115628967233578&m_entstream_source=timeline&__tn__=%2As%2As-R' aria-label='Open story' class='_5msj'></a><a href='/NorthernValleyTFC/photos/a.117554230374385/126156542847487/?type=3&source=48&__tn__=EH-R' class='_39pi'><img src='https://scontent.fict1-1.fna.fbcdn.net/v/t1.6435-9/cp0/e15/q65/p240x240/160015835_126156546180820_1306160924420440838_n.jpg?_nc_cat=103&ccb=1-5&_nc_sid=8024bb&_nc_ohc=uetXG-3go78AX9YqXM5&_nc_ht=scontent.fict1-1.fna&oh=6f22215f7d6e517705130cc7759edab0&oe=61684255' /></a>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I have my full disk encrypted during installation using cryptsetup </p> <p>I&#39;d like to encrypt my home directory as well and setup in a way where I can de-encrypt using a yubikey and/or password</p> <p>Reason is if I had to give up encryption password at an airport screening process, my personal info will be protected from double encryption. Is it possible?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Fuzzht1"> /u/Fuzzht1 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r1m0uu/double_encryption/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r1m0uu/double_encryption/">[comments]</a></span>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-9992-2-thumb.jpg"> <p>U.S.&mdash;Amid the current inflation crisis, Dollar Tree quietly renamed itself to &quot;Hundred Dollar Tree&quot;, quickly adding the word &quot;Hundred&quot; in front of its name on store signs all across the country.</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/dollar-tree-quietly-adds-hundred-in-front-of-name">Dollar Tree Quietly Rebrands As 'Hundred Dollar Tree'</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I wanted to try boot system with <code>init=/usr/lib/systemd/systemd</code> . I uninstalled systemd-sysvcompat to be sure. With GRUB I didn&#39;t have problem, but with systemd-boot, I can&#39;t boot system.</p> <p>If I put <code>init=/usr/lib/systemd/systemd</code> after /vmlinuz-linux</p> <pre><code>title Arch Linux linux /vmlinuz-linux init=/usr/lib/systemd/systemd initrd /amd-ucode.img initrd /booster-linux.img options root=UUID=my_uuid rw rootflags=relatime,compress-force=zstd:2,ssd,subvol=arch </code></pre> <p>It shows me only reboot to UEFI (firmware) option.</p> <p>&#x200B;</p> <p>If I try</p> <pre><code>title Arch Linux linux /vmlinuz-linux initrd /amd-ucode.img initrd /booster-linux.img options init=/usr/lib/systemd/systemd root=UUID=my_uuid rw rootflags=relatime,compress-force=zstd:2,ssd,subvol=arch </code></pre> <p>&#x200B;</p> <pre><code>title Arch Linux linux /vmlinuz-linux initrd /amd-ucode.img initrd /booster-linux.img options root=UUID=my_uuid init=/usr/lib/systemd/systemd rw rootflags=relatime,compress-force=zstd:2,ssd,subvol=arch </code></pre> <p>&#x200B;</p> <pre><code>title Arch Linux linux /vmlinuz-linux initrd /amd-ucode.img initrd /booster-linux.img options root=UUID=my_uuid rw rootflags=relatime,compress-force=zstd:2,ssd,subvol=arch init=/usr/lib/systemd/systemd </code></pre> <p>&#x200B;</p> <pre><code>title Arch Linux linux /vmlinuz-linux initrd /amd-ucode.img initrd /booster-linux.img options root=UUID=my_uuid rw init=/usr/lib/systemd/systemd rootflags=relatime,compress-force=zstd:2,ssd,subvol=arch </code></pre> <p>It show me</p> <pre><code>lstat /usr/bin/init: no such file or directory sh: can&#39;t access tty: job control turned off </code></pre> <p>Any idea? Or with systemd-boot it&#39;s impossible?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/antyhrabia"> /u/antyhrabia </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r2p4g6/is_it_possible_to_boot_from_systemd_only_with/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r2p4g6/is_it_possible_to_boot_from_systemd_only_with/">[comments]</a></span>