<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blogging on The Lone C++ Coder's Blog</title><link>https://www.lonecpluspluscoder.com/categories/blogging/</link><description>Recent content in Blogging on The Lone C++ Coder's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 13 Mar 2021 12:00:00 -0500</lastBuildDate><atom:link href="https://www.lonecpluspluscoder.com/categories/blogging/index.xml" rel="self" type="application/rss+xml"/><item><title>Static site migration - how I automated the static Hugo build and deployments for the blog</title><link>https://www.lonecpluspluscoder.com/2021/03/13/static-site-migration-automate-hugo-builds-deployments/</link><pubDate>Sat, 13 Mar 2021 12:00:00 -0500</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2021/03/13/static-site-migration-automate-hugo-builds-deployments/</guid><description>&lt;p&gt;Good programmers are supposed to be lazy, right? The way I interpret this statement - because none of the software engineers who I know could be considered lazy - is that we like to automate repetitive tasks. You know, tasks like checking if you&amp;rsquo;ve made any changes to your blog and then building the blog and deploying the changes automatically. Which is what I&amp;rsquo;ve done, and in this post I&amp;rsquo;ll show you my minimalist setup to do so.&lt;/p&gt;</description></item><item><title>Static site migration - if you can read this, the blog has migrated to a static site</title><link>https://www.lonecpluspluscoder.com/2021/03/12/if-you-can-read-this-the-blog-has-migrated-to-static-site/</link><pubDate>Fri, 12 Mar 2021 19:00:00 -0500</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2021/03/12/if-you-can-read-this-the-blog-has-migrated-to-static-site/</guid><description>&lt;p&gt;Right, if you and your RSS reader can read this, the first stage of the migration of my blog to a static site has successfully completed and you&amp;rsquo;re now reading the new site. There&amp;rsquo;s still some more tweaking to do, but I broke it up into multiple milestones to minimise the overall risk of the migration.&lt;/p&gt;
&lt;p&gt;The next steps are mostly under the hood, where I clean up some of the oily bits and make sure things are running well and keep running that way. The main work remaining is migrating all content to a new web server, which is just one VM size bigger than the current one. The server is running FreeBSD and uses ZFS, and ZFS benefits a lot from having as much RAM available as I&amp;rsquo;m willing to pay for. Plus, I&amp;rsquo;m using this as an excuse to script up the (re-)creation of the server via Ansible so it at least moves from &amp;ldquo;pet&amp;rdquo; status to &amp;ldquo;livestock&amp;rdquo; status.&lt;/p&gt;</description></item><item><title>Static site migration - we have working comments with isso!</title><link>https://www.lonecpluspluscoder.com/2021/02/15/static-site-migration-we-have-working-comments-with-isso/</link><pubDate>Mon, 15 Feb 2021 22:00:00 -0500</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2021/02/15/static-site-migration-we-have-working-comments-with-isso/</guid><description>&lt;p&gt;One &amp;ldquo;biggie&amp;rdquo; that was holding up this blog&amp;rsquo;s migration to a static site was getting a comments system up and running, followed by importing the existing comments. I had picked &lt;a href="https://posativ.org/isso/docs/"&gt;Isso&lt;/a&gt; a while back as it allows for easy import of existing comments from WordPress. I really didn&amp;rsquo;t want to depend on a third party comment hosting service like Disqus. I also didn&amp;rsquo;t want to use Staticman, mainly because it has dependencies on other services like Github or Gitlab. So Isso it was as that allows me to host everything on my own server.&lt;/p&gt;</description></item><item><title>Static site migration - starting the optimisation, already</title><link>https://www.lonecpluspluscoder.com/2021/01/17/static-site-migration-starting-the-optimisation-already/</link><pubDate>Sun, 17 Jan 2021 22:30:00 -0500</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2021/01/17/static-site-migration-starting-the-optimisation-already/</guid><description>&lt;p&gt;Now that I&amp;rsquo;ve got the static site up and running, it&amp;rsquo;s obviously time to switch over immediately, right? Not to fast. After QA&amp;rsquo;ing my deployment process in production, it was time to check how the two compared from a performance perspective. I like to use several different tests, starting with &lt;a href="https://tools.pingdom.com/"&gt;Pingdom&lt;/a&gt;, then using &lt;a href="https://developers.google.com/speed/pagespeed/insights/"&gt;PageSpeed Insights&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;The Pingdom speed test gave it a thumbs up, but they&amp;rsquo;re not running the currently dominant search engine. Fortunately said search engine also offers performance check tooling. This wasn&amp;rsquo;t quite the thumbs up I had hoped for, though. While the mobile performance is similar - in other words, equally unimpressive - the desktop performance is pretty good for both sites. The WordPress site still has a slight advantages, but after some initial tweaks like disabling highlight.js (the static site uses the basic Hugo highlighter), the static site is pretty close.&lt;/p&gt;</description></item><item><title>Postmortem of the unexpected blog outage</title><link>https://www.lonecpluspluscoder.com/2018/12/25/postmortem-of-the-unexpected-blog-outage/</link><pubDate>Tue, 25 Dec 2018 09:29:04 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2018/12/25/postmortem-of-the-unexpected-blog-outage/</guid><description>&lt;p&gt;Straight from the “make work for yourself because there aren’t enough hours in the day already” files.&lt;/p&gt;
&lt;p&gt;I’ve mentioned before that I am self-hosting this blog rather than using a hosted instance. I hosted the WordPress instance on FreeBSD and it’s been running quite well for a while, but during a double FreeBSD port upgrade to WordPress 5.0.1 and PHP 7.2 – after the php 7.0 port had been discontinued – broke the blog. php-fpm failed regularly with a signal 10, but I wasn’t able to figure out why in a hurry, so I started looking at alternatives.&lt;/p&gt;</description></item><item><title>Sorry for the disruption, normal service will resume shortly</title><link>https://www.lonecpluspluscoder.com/2018/12/22/apologies-for-blog-disruption/</link><pubDate>Sat, 22 Dec 2018 21:00:00 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2018/12/22/apologies-for-blog-disruption/</guid><description>&lt;p&gt;My apologies for the sudden instability of my blog. I&amp;rsquo;ve managed to make a hash of an update on the main Wordpress site when trying to update to a newer PHP version and had to switch to the Jekyll &amp;ldquo;backup&amp;rdquo; site that isn&amp;rsquo;t quite production ready yet.&lt;/p&gt;
&lt;p&gt;Comments will be available in due course, at the moment I&amp;rsquo;m trying to get the static site fully functioning and the various RSS feeds going again.&lt;/p&gt;</description></item><item><title>Digg Reader shuts down, and thoughts on organising my blog reading</title><link>https://www.lonecpluspluscoder.com/2018/03/25/digg-reader-shuts-down-and-thoughts-on-organising-my-blog-reading/</link><pubDate>Sun, 25 Mar 2018 13:00:33 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2018/03/25/digg-reader-shuts-down-and-thoughts-on-organising-my-blog-reading/</guid><description>&lt;h3 id="farewell-digg-reader"&gt;Farewell, Digg Reader&lt;/h3&gt;
&lt;p&gt;Unfortunately, Digg announced that Digg Reader is shutting down tomorrow. While I never used Digg Reader as my main RSS feed reader &amp;ndash; I&amp;rsquo;ve got a paid subscription to &lt;a href="https://feedly.com/"&gt;Feedly&lt;/a&gt; &amp;ndash; I was very happy to use it as a backup reader for those feeds that weren&amp;rsquo;t always that great at adhering to the RSS feed standard (I&amp;rsquo;m looking at you, &lt;a href="https://bringatrailer.com/"&gt;bringatrailer.com&lt;/a&gt;) as it was more forgiving when it parsed feeds. Unfortunately it appears to be another one of the &amp;ldquo;feed readers are dying&amp;rdquo; incidents that seems to have started when &lt;a href="https://www.lonecpluspluscoder.com/2013/03/22/of-course-i-have-to-post-something-about-google-reader-too/"&gt;Google Reader&lt;/a&gt; was shut down. There weren&amp;rsquo;t really that many alternatives in the first place unless one wanted to self host.&lt;/p&gt;</description></item><item><title>Cleaning up UTF-8 character entities when exporting from WordPress to Jekyll</title><link>https://www.lonecpluspluscoder.com/2017/08/27/getting-rid-of-utf-8-character-entities-when-exporting-to-jekyll/</link><pubDate>Sun, 27 Aug 2017 12:00:00 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2017/08/27/getting-rid-of-utf-8-character-entities-when-exporting-to-jekyll/</guid><description>&lt;p&gt;I&amp;rsquo;ve been experimenting with converting this blog to &lt;a href="http://jekyllrb.com/"&gt;Jekyll&lt;/a&gt; or another static blog generator. I&amp;rsquo;m sticking with Jekyll at the moment due to its ease of use and its plugin environment. The main idea behind this is to reduce the resource consumption and hopefully also speed up the delivery of the blog. In fact, there is a &lt;a href="http://static.lonecpluspluscoder.com/"&gt;static version of the blog&lt;/a&gt; available right now, even though it&amp;rsquo;s kinda pre-alpha and not always up to date. The Jekyll version also doesn&amp;rsquo;t have the comments set up yet nor does it have a theme I like, so it&amp;rsquo;s still very much work in slow progress.&lt;/p&gt;
&lt;p&gt;To export the contents from WordPress to Jekyll I use the surprisingly named &lt;a href="https://wordpress.org/plugins/jekyll-exporter/"&gt;WordPress to Jekyll exporter&lt;/a&gt; plugin. This plugin dumps the whole WordPress data including pictures into a zip file in a format that is mostly markdown grokked by Jekyll. It doesn&amp;rsquo;t convert all the links to markdown, so the generated files need some manual cleanup. One problem I keep running into is that the exporter dumps out certain UTF-8 character entities as their numerical code. Unfortunately when processing the data with Jekyll afterwards, those UTF-8 entities get turned into strings that are displayed as is. Please note I&amp;rsquo;m not complaining about this functionality, I&amp;rsquo;d rather have this information preserved so I can rework it later on. So I wrote a script to help with this task.&lt;/p&gt;</description></item><item><title>The blogging hiatus is almost over</title><link>https://www.lonecpluspluscoder.com/2016/05/20/the-blogging-hiatus-is-almost-over/</link><pubDate>Fri, 20 May 2016 05:58:45 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2016/05/20/the-blogging-hiatus-is-almost-over/</guid><description>&lt;p&gt;I switched jobs in October last year and getting up to speed in the new role did take priority over anything else, so I had to put a few other endeavours including this blog on hold for a little while.&lt;/p&gt;
&lt;p&gt;The publishing frequency will still be lower than previously, but as I have moved from a mostly managerial role back to a pure software engineering role, I will be able to post more articles in line with the original intent of the blog, ie more C++-related articles and of course, the usual smattering of &amp;ldquo;look what cool feature I found in Emacs&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Scheduling WordPress posts with org2blog</title><link>https://www.lonecpluspluscoder.com/2015/08/10/scheduling-wordpress-posts-with-org2blog/</link><pubDate>Mon, 10 Aug 2015 16:32:00 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2015/08/10/scheduling-wordpress-posts-with-org2blog/</guid><description>&lt;p&gt;Another metablogging post, but this may come in handy for people who like to produce blog posts in bulk and schedule them for publication in WordPress at a later date.&lt;/p&gt;
&lt;p&gt;In my case, my ability to find time to blog is directly correlated to my workload in my day job. That&amp;rsquo;s why you see regular gaps in my posting that may last for a few weeks to a month or two.&lt;/p&gt;</description></item><item><title>Improving my blogging workflow using Emacs (of course)</title><link>https://www.lonecpluspluscoder.com/2015/03/02/improving-my-blogging-workflow-using-emacs-of-course/</link><pubDate>Mon, 02 Mar 2015 21:02:00 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2015/03/02/improving-my-blogging-workflow-using-emacs-of-course/</guid><description>&lt;p&gt;I try not to post too many metablogging posts. Other people do it better and I&amp;rsquo;m trying to focus on journalling what I learn as a software engineer and manager, not what tools I use for blogging. However after losing another post to WordPress&amp;rsquo;s built-in editor I decided Something Must Be Done. I think this is only the second post I lost, but it&amp;rsquo;s a fairly regular occurrence for a journalist friend of mine and I really don&amp;rsquo;t have that much time to retype blog entries that ended up in Bit Nirvana.&lt;/p&gt;</description></item><item><title>Of course I have to post something about Google Reader, too</title><link>https://www.lonecpluspluscoder.com/2013/03/22/of-course-i-have-to-post-something-about-google-reader-too/</link><pubDate>Fri, 22 Mar 2013 07:05:24 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2013/03/22/of-course-i-have-to-post-something-about-google-reader-too/</guid><description>&lt;p&gt;The demise of Google reader viewed from a &lt;a href="http://brontecapital.blogspot.com/2013/03/the-end-of-reader-what-does-it-say.html"&gt;slightly different perspective&lt;/a&gt;. I find the analysis from someone who isn&amp;rsquo;t a proto-geek but rather an investment professional  interesting, mainly because there are insights that some like me - who doesn&amp;rsquo;t spend the whole day looking at companies and trying to figure out what they are doing as opposed to what they say they are doing - would and this case, have missed.&lt;/p&gt;</description></item><item><title>Welcome back to the new blog, almost the same as the old blog</title><link>https://www.lonecpluspluscoder.com/2010/07/13/hello-world-2/</link><pubDate>Tue, 13 Jul 2010 05:05:54 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2010/07/13/hello-world-2/</guid><description>&lt;p&gt;The move to the other side of the Atlantic from the UK is almost complete, I&amp;rsquo;m just waiting for my household items - and more importantly, my computer books etc - to turn up. So it&amp;rsquo;s time to start blogging again in the next few weeks. Due to some server trouble in the UK, combined with the fact that I do like &lt;a href="http://www.s9y.org/"&gt;Serendipity&lt;/a&gt; as a blogging system but was never 100% happy with it, I&amp;rsquo;ve switched to using &lt;a href="http://wordpress.org/"&gt;WordPress&lt;/a&gt; on a server here in the US. The old blog will stay up, at least as long as the server stays put, but I won&amp;rsquo;t add any new content to &lt;a href="http://codeblog.bsdninjas.co.uk/"&gt;the old blog&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>