MSVC Print All Predefined #Defines

Sometimes you really need to know what defines your compiler has on by default. I had no idea how to do this with Visual Studio so I dug in. Here is how to do it.

Open up a VS command prompt, pick the appropriate prompt x86, x64 etc.

enter the …

Unreal: Am I On The Server

I’ve been working on an Unreal game for the past few months. One of the things that the whole team has found very frustrating is knowing if the code we are writing is running on the server or the client.

Lots of code only needs to run on one …

Stuff I’ve Read #5

Stuff I’ve Read #4

OpnSense Wiregaurd VPN Road warrior setup.

How I set up Wireguard VPN in OpnSense asa road warrior

Stuff I’ve Read in July 2022

Stuff I’ve Read in June 2022 Part 2

Stuff I’ve Read in June 2022

Adding “Fork Me on Github” to Pelican Templates

I just wrote a blog about a project I uploaded to GitHub and I wanted to have a “Fork Me On GitHub ribbon” in the top right of the page. This is the cool thing to do nowadays after all.

I write my blog using a static website generator called …


I spent some time playing around with CSGJS over the weekend. It’s a great library. I thought it might be interesting to port it to C++.

After quite a lot of googling I found that someone had already done most of the hard work here which was nice and …