Skip to main content



Adding C/C++ code coverage with CMake and GCC or Clang
·752 words·4 mins
Code Cmake C/Cpp
Code coverage gives the ability to determine which sections of code are used, and how much, helping to prevent issues from sections of code that aren’t run during tests and thus could potentially fail in production.
Integrating clang-tools with CMake
·1229 words·6 mins
Code Cmake
The clang tools, clang-format and clang-tidy can be immensly useful, both for software development on local machines and as passes in a CI pipeline. This is especially true when they are integrated into a CMake script, where new targets ‘format’ and ’tidy’ can be exist.


Fixed Point Precision Type
·854 words·5 mins
Code C/Cpp
One of the most valuable basic types in computer science is the floating point type. The float is that allows for a massive range of storable values, at the cost of some precision after the value becomes large enough, due to the fact that floats can only store ~7.2 decimal digits. Thus, if we wish to keep a certain fixed amount or precision, we need to either put coded limits around the use of particular floats, or just create our own fixed point type.
Typescript All in One Constructor
·274 words·2 mins
Code Typescript Javascript
Because Typescript is just a superset of javascript, having different constructors from C++ is something that I do indeed somtimes miss. In this case, Java/Typescript classes can only have a single constructor, whereas many times I wish to have differing levels of constructor capability.
SPIR-V Shader Binary Converter
·691 words·4 mins
Code Vulkan C/Cpp
To accomplish this, the program reads in the generated SPIR-V binary, and outputs a text file containing the data, but in 4 byte chunks, so that it can be used as if it were a uint32 array.


Automatic Backups With Rsync and Crontab
·171 words·1 min
System-Administration Linux
The goto post after you’ve learned the lesson. Creating automated backups is, in fact, incredibly simple and easy. So simple, that one can set it up in less than two minutes, and is guarunteed to be the best thing EVER in case of HDD failure, or otherwise corruption.
Setting Up Samba Server
·338 words·2 mins
System-Administration Linux Windows Samba
The ability to have files accessible from any device connected to the network is a great way to store and consume one’s data. For example, on my home network, I have a central basic Linux file server, which stores all my music, videos, pictures, etc, such that I can play my 250GB music collection on any of my other connected devices, such as my dekstop, tablet, and phone, without requiring massive storage for the files on each device, or have to worry about updating the collection on each device.
Permanently Mounting Disks in Linux
·322 words·2 mins
System-Administration Linux
Mounting a disk in Linux is a pretty basic task, really. All you need to do is figure where you want the files to show up in the local filesystem, and figure out the device ID of it.