Stupid C++ Threads and Lambdas
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 do a lambda function. And since we don’t … Continue reading
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 do a lambda function. And since we don’t … Continue reading
I recently wanted to play my Gamecube again, so I turned it on for the first time in a while. Unfortunately, it would no longer read any of the disks that I had. Upon some internet searching, it seemed like … Continue reading
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 a bug in Intel Skylake processors The Night … Continue reading
NUMBERS!
Recently, I’ve been writing some C++ code that I would like to be ABI compliant. Because of that, I’ve been writing the code that uses a private class that holds all of the private data members. This results in code … Continue reading
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 this about the exact SSH version that I … Continue reading
Earlier today, I had to install VMWare on a Linux host that had UEFI. Fortunately, there is a guide to how to do this on the VMWare KB, however at the end, the part “Reboot your machine. Follow the instructions … Continue reading
A few weeks ago, I took a trip to London and saw some very cool things! While I was there, I took the Underground most of the time and figured that I would make a quick list for anybody who … Continue reading
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 also very hard for me to wrap my … Continue reading
At least that’s apparently what Jason Statham and Dwayne Johnson have in their contracts. It reminds me of the Teal’c vs Ronon fight.