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

3-Minute Read

<p>I haven’t used Ubuntu much recently after switching several systems to Manjaro, but had to set up a laptop with XUbuntu 17.04. That came with Emacs 24.5 as the default emacs package, and as skeeto pointed out in the comments, with a separate emacs25 package for Emacs 25.1. I tend to run the latest release Emacs everywhere out of habit, so I revisited my build instructions to build a current Emacs on Ubuntu and its derivates. The good news is that in thanks to some changes in the Emacs…

Timo Geusch

4-Minute Read

<p>This is a post I wrote several years ago and it’s been languishing in my drafts folder ever since. I’m not working on this particular codebase any more. That said, the problems caused by using Java-like getter and setter functions as the sole interface to the object in the context described in the post have a bigger impact these days as they will also affect move construction and move assignment. While I’m not opposed to using getter and setter functions in C++ in general, I…

Timo Geusch

1-Minute Read

<p>Turns out I made some unnecessary “work” for myself when I tried to <a href="https://www.lonecpluspluscoder.com/2017/05/07/extending-inf-mongo-to-support-scrolling-through-command-history/">add support for command history to inf-mongo</a>. As Mickey over at Mastering Emacs points out in a blog post, comint mode already comes with <em>M-n</em> and <em>M-p</em> mapped to <em>comint-next-input</em> and <em>comint-previous-input</em>. And of course they work in <a…

Timo Geusch

2-Minute Read

<p>I’m spending a lot of time in the MongoDB shell at the moment, so of course I went to see if someone had built an Emacs mode to support the MongoDB shell. Google very quickly pointed me at <a href="https://github.com/endofunky/inf-mongo">endofunky’s inf-mongo mode</a>, which implements a basic shell interaction mode with MongoDB using comint. We have a winner, well, almost. The mode does exactly what it says on the tin, but I wanted a little more, namely being able to scroll…

Timo Geusch

3-Minute Read

<p>A problem archivists have been bringing up for a while now is that with the majority of content going digital and the pace of change in storage mechanisms and formats, it’s becoming harder to preserve content even when it is not what would be considered old by the standards of other historic documents created by humanity.</p>

Timo Geusch

3-Minute Read

<p><em><strong>Update II - 2019-05-07</strong>: It looks like due to the recent licensing changes, the Java 8 JDK that brew used is not directly accessible anymore and likely behind some kind of paywall. The installation method described below will still work as it uses the non-versioned java cask, which installs the latest version of OpenJDK.</em></p>

Timo Geusch

2-Minute Read

<p>I’ve blogged about getting Manjaro Linux to work with my AMD RX 470 <a href="https://www.lonecpluspluscoder.com/2016/11/19/switching-to-manjaro-linux-and-getting-an-amd-rx-470-to-work/">before.</a> The method described in that post got my AMD RX 470 graphics card working with the default 4.4 kernel. This worked fine - with the usual caveats regarding VESA software rendering - until I tried to upgrade to newer versions of the kernel.</p>

Timo Geusch

2-Minute Read

<p>My adventures with Manjaro Linux continue and I’ve even moved my “craptop” - a somewhat ancient Lenovo X240 that I use as a semi-disposable travel laptop - from XUbuntu to Manjaro Linux. But that’s a subject for another blog post. Today, I wanted to write about package download performance issues I started encountering on my desktop recently and how I managed to fix them.</p>

Timo Geusch

1-Minute Read

<p>Uncle Bob Martin discovered Clojure fairly recently and really, <em>really</em> likes <a href="http://telegra.ph/Why-Clojure-is-better-than-C-PythonRuby-and-java-and-why-should-you-care-12-20">it</a>. Having had the privilege to see him speak at various SD West conferences back when they still were a thing, I wasn’t surprised by this. Anyway, do yourself a favour and spend a few minutes reading the article. It’s worth your time.</p>

Recent Posts

Categories

About

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