Month: November 2021
-
Unborking my ISSO comments system and making it more resilient
First, I apologise for not noticing that the comments had been broken for a while. This was entirely my fault and not fault of ISSO, which I’m still super happy with as a self-hosted comments system. So in this post I’m going to describe wh…
-
Streaming to Twitch and PeerTube simultaneously using nginx on Oracle cloud
Simulcasting RTMP using NGINX I want people to be able to watch my Matrix and Rust live coding streams using free software, so I’d like to simulcast to PeerTube as well as Twitch. This is possible using NGINX and its RTMP module. It does involve buildi…
-
New game: Tron – frantic multiplayer retro action
My newest game is out now on Smolpxl Games – Tron: Play at smolpxl.gitlab.io/tron. It’s a frantic multiplayer retro pixellated thingy playable in your browser. Try to stay alive longer than everyone else! This version allows many players (up to 16 if …
-
Running Jest tests in VS Code with custom environment variables
Currently the most popular Jest test runner extension for VS Code is vscode-jest by Orta. For most common setups, this extension works without any configuration needed to VS Code. In my case, though, I needed to enable Node’s support for ECMAScript modules. The Jest documentation lists a few ways to …
-
Running Jest tests in VS Code with custom environment variables
Currently the most popular Jest test runner extension for VS Code is vscode-jest by Orta. For most common setups, this extension works without any configuration needed to VS Code. In my case, though, I needed to enable Node’s support for ECMAScript modules. The Jest documentation lists a few ways to …
-
Preventing Virgin Media hijacking my DNS
Yesterday I learned that Virgin Media is inserting itself into some of my DNS requests. Much as I am not a fan of how powerful Cloudflare are, if they are telling the truth about their DNS, then it’s safe, so I followed their instructions on how to use…
-
Visual Lint 8.0.6.347 – a Clang download here, a CppCheck download there….
Visual Lint 8.0.6.347 has now been released. The most notable changes in this build relate to configuration – in particular, the user interface now embeds links to the installers for open source analysis tools, which should make configuring Visual Lint…
-
Visual Lint 8.0.6.347 – a Clang download here, a CppCheck download there….
Visual Lint 8.0.6.347 has now been released. The most notable changes in this build relate to configuration – in particular, the user interface now embeds links to the installers for open source analysis tools, which should make configuring Visual Lint…
-
An Exception wrapper suitable for a RESTful API
User Story As a third line support engineer I want to be able to go to the server class that throws an exception reported by a client So that I do not need to look for the stack trace in the server logs Example Client code if (responseCode != …
-
An Exception wrapper suitable for a RESTful API
User Story As a third line support engineer I want to be able to go to the server class that throws an exception reported by a client So that I do not need to look for the stack trace in the server logs Example Client code if (responseCode != …
-
Chaining IF and && with CMD
An interesting bug cropped up the other day in a dub configuration file which made me realise I wasn’t consciously aware of the precedence of && when used in an IF statement with cmd.exe. Batch File Idioms I’ve written a ton of batch files ov…
-
Chaining IF and && with CMD
An interesting bug cropped up the other day in a dub configuration file which made me realise I wasn’t consciously aware of the precedence of && when used in an IF statement with cmd.exe. Batch File Idioms I’ve written a ton of batch files ov…
-
Upgrading my OpenBSD WireGuard server to in-kernel WireGuard
I’ve blogged about putting together a WireGuard server using OpenBSD a couple of years back. The main purpose of the server was to ensure a slightly more secure connection when I was on hotel WiFi. Of course thanks to the pandemic, I have barely …