The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

2-Minute Read

<p>I’ve blogged about <a href="https://www.lonecpluspluscoder.com/2019/01/21/setting-up-my-own-vpn-server-on-vultr-with-centos-7-and-wireguard/">setting up a WireGuard VPN server</a> earlier this year. It’s been running well since, but I needed to take care of some overdue maintenance tasks. Trying to log into the server this morning and I am greeted with “no route to host”. Eh? A quick check on my Vultr UI showed that the VPS had trouble booting. The error suggests a…

Timo Geusch

4-Minute Read

<p>MongoDB has a handy command to rename a collection, <a href="https://docs.mongodb.com/manual/reference/method/db.collection.renameCollection/">db.collectionName.renameCollection().</a> There is currently no equivalent to rename a database. Now if we accept that from time to time, one positively, absolutely just <strong>has</strong> to rename a database in MongoDB, well, there are a couple of options. Unfortunately they aren’t quite as straight forward as single MongoDB command. All methods…

Timo Geusch

2-Minute Read

<p>My <a href="https://www.lonecpluspluscoder.com/2017/07/30/building-emacs-25-2-on-xubuntu-17-04/">previous instructions</a> for installing a newer Emacs version on Ubuntu still work. Ubuntu (and in my case, XUbuntu) 19.04 ships with Emacs 26.1 out of the box. As usual I want to run the latest version - <a href="https://lists.gnu.org/archive/html/emacs-devel/2019-08/msg00577.html">Emacs 26.3</a> - as I run that on my other Linux, FreeBSD and macOS machines.</p>

Timo Geusch

3-Minute Read

<p>I like Lispy languages. One I’ve been playing with – and occasionally been using for smaller projects – is <a href="https://clojure.org/">Clojure</a>. Clojure projects usually use <a href="https://leiningen.org/">Leiningen</a> for their build system. There are generally two ways to install leiningen – just download the script as per the Leiningen web site, or use the OS package manager. I usually prefer using the OS package manager, but Manjaro doesn’t include leiningen as a package in its…

Timo Geusch

2-Minute Read

<p>macOS Time Machine is usually set up to work in the background and not overly affect anything that’s going on in the foreground while the user is working. Under normal circumstances, this is desirable behaviour. It is not desirable when you try to take one last backup of a failing SSD before it keels over completely. Which was the unfortunate situation I found myself in.</p>

Timo Geusch

2-Minute Read

<p>In a previous <a href="https://www.lonecpluspluscoder.com/2019/04/08/unwelcome-surprise-homebrew-emacs-has-no-gui-after-os-x-mojave-update/">post</a> I mentioned that I upgraded my homebrew install of Emacs after Emacs 26.2 was released, and noticed that I had lost its GUI functionality. That’s a pretty serious restriction for me as I usually end up with multiple frames across my desktop. I did end up installing the homebrew <a…

Timo Geusch

3-Minute Read

<p>I’ve blogged about building <a href="https://www.lonecpluspluscoder.com/2018/04/19/emacs-26-1-rc1-on-windows-subsystem-for-linux/">Emacs 26 on WSL before</a>. The text mode version of my WSL build always worked for me out of the box, but the last time I tried running an X-Windows version, I ran into rendering issues. Those rendering issues unfortunately made the GUI version of Emacs unusable on WSL. Nothing like missing the bottom third of your buffer to cramp your style. Or your…

Timo Geusch

2-Minute Read

<p>I mentioned in my <a href="https://www.lonecpluspluscoder.com/2019/04/08/unwelcome-surprise-homebrew-emacs-has-no-gui-after-os-x-mojave-update/">previous post</a> that I somehow had ended up with a non-working org2blog installation. My suspicion is that this was triggered by my pinning of the htmlize package to the “wrong” repo. I had it pinned to marmalade rather than melpa-stable, and marmalade had an old version of htmlize (1.39, from memory). The fact that marmalade is…

Timo Geusch

1-Minute Read

<p>I finally got around to upgrading my OS X installation from Mojave to High Sierra - my OS update schedule is usually based on the old pilot wisdom of “don’t fly the A model of anything”. As part of the upgrade, I ended up reinstalling all homebrew packages including Emacs to make sure I was all up to date. That proved to be a big mistake as I suddenly had a GUI-less Emacs. Of course I found the post on <a href="https://irreal.org/blog/?p=7506">Irreal</a> about the Emacs…

Timo Geusch

2-Minute Read

<p>As I’ve mentioned before on this blog, I still have one of the “cheese grater” Mac Pros around. It’s a 2009 that I upgraded somewhat with SSD, 6 core Xeon and a few other small goodies. As I split my time between Linux, Windows and macOS, I like having it around but can’t really justify getting a newer machine.</p>

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.