<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…
<p>We all love the odd debugging story, so I finally sat down and wrote up how I debugged a configuration issue that got in the way of the iOS mail app’s ability to retrieve email while I was on the go.</p>
<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…
<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…
<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>