For a unit test that I’m writing for some code at the moment, I need to create a thread that doesn’t do anything. Well, the easiest way to do this is to…
Category: computers
Programming can be crazy
Presented in no particular order, my list of “crazy program bugs/stories” that I find interesting, and refer to from time to time: The case of the extra 40 ms How I found…
SSH Key Length Error
I wanted to SSH into a server of mine earlier today, but I was met with this error when I tried to SSH in using the key: There is some information on…
C++17 and Fold Expressions
So I’ve just come across this very cool feature in C++17 that I plan on using called ‘fold expressions’. This is basically a way of expanding a bunch of operations. It is…
Fun with templates
As you may be aware, I maintain dbus-cxx, and I’ve been working on it lately to get it ready for a new release. Most of that work is not adding new features,…
One large program or many little programs?
Earlier this week, I came across this question on softwareengineering.stackexchange.com. This has some relevance for me, since at work two of our main projects follow the two sides of this design philosophy:…
Counting lines of code
So a few years ago, me and a coworker had to figure out how many lines of code we had. This was either for metrics or for because we were curious, I…
Bitcoin Mining for a Useful Purpose?
So I was thinking about this the other day when I came across this article on Slashdot that points out that GPU prices are high due to the demand for Bitcoin(and other…
Intergalactics Source Code
Does anybody out there have the original source code to the Java game Intergalactics? I was able to pull the (compiled) client off of SourceForge, but without a server it’s not too…
NTP Woes
For the past year or so, I’ve been battling trying to get NTP fed from GPSD. This has proven to be somewhat harder than I imagined. GPSD is supposed to feed NTP…