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

5-Minute Read

<p>RHEL 7 – and CentOS 7, which I used for this test – use tuned.conf to set a lot of system settings. Several of the tuned settings affect MongoDB’s performance; some are important enough that mongod actually triggers startup warnings. The main setting is transparent huge pages, which is a setting that does not work very well with databases in general.</p>

Timo Geusch

2-Minute Read

<p>Unfortunately, Digg announced that Digg Reader is shutting down tomorrow. While I never used Digg Reader as my main RSS feed reader – I’ve got a paid subscription to <a href="https://feedly.com/">Feedly</a> – I was very happy to use it as a backup reader for those feeds that weren’t always that great at adhering to the RSS feed standard (I’m looking at you, <a href="https://bringatrailer.com/">bringatrailer.com</a>) as it was more forgiving when it parsed feeds.…

Timo Geusch

2-Minute Read

<p>I will show you how to enable logging in the MongoDB Java driver and also how to set and change the log level. The <a href="https://mongodb.github.io/mongo-java-driver/">official mongoDB Java driver</a> uses <a href="https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html">java.util.logging</a> as its default logging framework or sl4j if the latter is present. It can be very useful to enable logging in the MongoDB drivers to trace how the driver is interacting with…

Timo Geusch

1-Minute Read

<p>A quick follow-up to my <a href="https://www.lonecpluspluscoder.com/2017/12/13/running-emacs-inside-emacs/">last post where I was experimenting with running emacsclient from an ansi-term</a> running in the main Emacs. Interestingly, you can run Emacs in text mode within an ansi-term, just not emacsclient:</p>

Timo Geusch

1-Minute Read

<p>I’m experimenting with screen recordings at the moment and just out of curiosity decided to see if I can load and edit a text file inside the main Emacs process from inside an ansi-term using emacsclient.</p>

Timo Geusch

4-Minute Read

<p>I’ve had the Linux Subsystem for Windows enabled for quite a while during the time it was in Beta. With the release of the Fall Creators Update, I ended up redoing my setup from scratch. As usual I grabbed Emacs and a bunch of other packages and was initially disappointed that I was looking at a text-mode only Emacs. That might have something to do with the lack of an X Server…</p>

Timo Geusch

1-Minute Read

<p>The <a href="http://www.se-radio.net/">Software Engineering Radio</a> podcast has just published an episode with an interview with Ron Lichty. If you’re either thinking about moving from development into management or already have, it’s well worth a listen. Unfortunately there is only so much that can be packed into an hour’s worth of a podcast, but just based on the podcast, Ron’s book “<a href="http://www.managingtheunmanageable.net/">Managing the…

Timo Geusch

4-Minute Read

<p><em><strong>Update 2019-05-07</strong>: The java8 cask is affected by recent licensing changes by Oracle. There’s a <a href="https://github.com/Homebrew/homebrew-cask-versions/issues/7253">discussion over on github about this</a>. I’m leaving the post up partially for historic context, but the java8 cask is no longer available, at least at the time of writing.</em></p>

Timo Geusch

1-Minute Read

<p>Emacs 25.3 has been <a href="https://lists.gnu.org/archive/html/info-gnu/2017-09/msg00006.html">released</a> on Monday. Given that it’s a security fix I’m downloading the source as I write this. If you’re using the latest Emacs I’d recommend you update your Emacs. The vulnerability as been around since Emacs 19.29, you probably want to upgrade anyway.</p>

Timo Geusch

2-Minute Read

<p>I’ve been experimenting with converting this blog to <a href="http://jekyllrb.com/">Jekyll</a> or another static blog generator. I’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 <a href="http://static.lonecpluspluscoder.com/">static version of the blog</a> available right now, even though it’s kinda…

Recent Posts

Categories

About

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