Hello! Welcome to my personal website. Here you will find articles that I have written about coding, computer, and maths. The idea is that I would write about things I find interesting in a comprehensible way. Enjoy!
Computers, Coding and Caffeine
Hello! Welcome to my personal website. Here you will find articles that I have written about coding, computer, and maths. The idea is that I would write about things I find interesting in a comprehensible way. Enjoy!
Thread pools are a very important concept in achieving concurrency in C++. In this post, we look at how to write a simple thread pool using thread safe queues!
Looking to modernize your C++ practices? Learn how to create an Azure CI/CD C++ pipeline to automate code quality and deployment of C++ projects.
In CMake, setting the C++ standard is essential to use the latest features of the language. In this post, we achieve this by setting CMake global variables.
“std::transform” helps to convert containers in C++. In this post, we look at the usage & examples for transforming elements in your vectors into other types!
Messing up a git branch is easy. With git reflog and reset, you can undo git commits and changes. In this post, we look at how to undo on git with these tools!
Modifying previous git commits can be useful. With Git rebase interactive, you can change previous commit messages, merge commits or simply drop git commits.
Including static files in your C++ code can be cumbersome. However, converting any binary file to hexadecimal arrays is easy with the “xxd” terminal command.
Writing and managing tests for C++ projects can be difficult. Luckily, CMake’s ctest & add_test helps you manage all of your tests in one place. Find out more!
Creating the first C++ program using CMake requires knowing add_executable(…). In this post, we explain all CMake modes and parameters for this command!