Niklas Gray

RSS Podcast

A Taxonomy of Bugs

Debugging is often an undervalued skill. It’s not really taught in schools (as far as I know), instead, you kind of have to pick it up as you go along. Today, I’ll try to remedy that by looking at some common bugs and what to do about them.

More »


Compiling The Machinery with Emscripten: Part 1

At Our Machinery, the last Friday of every month is Hack Day. This means that you can work on whatever you like and try wild ideas without any expectation of being productive, useful, or sane. For my Hack Days, I like to pick projects that let me explore something new and have some sort of tangible end goal. It’s just more fun when you have something to show off in the end. More »

A Taxonomy of Bugs Compiling The Machinery with Emscripten: Part 2 — Graphics Compiling The Machinery with Emscripten: Part 1 API Versioning Accessibility in The Machinery A Debugging Story Dig Shallow Graves Step-by-step: Programming incrementally Prototypes in The Machinery Recording Statistics — An Exercise in Minimalism Writing a Low-Level Sound System — You Can Do It! Time Tracking In 2020 Data Structures Part 3: Arrays of arrays Data Structures Part 2: Indices Data Structures Part 1: Bulk Data Syncing a data-oriented ECS with a stateful external system Referencing Objects: Names vs GUIDs Localization in The Machinery’s UI The Story behind The Truth: Designing a Data Model A Tale of Two Bugs Making the move/rotate/scale gizmos work with any component Implementing drag-and-drop in an IMGUI The Document Model and The Machinery Minimalist container library in C (part 2) Minimalist container library in C (part 1) Should entities support multiple instances of the same component? Virtual Memory Tricks Multi-Threading The Truth Keyboard Focus and Event Trickling in Immediate Mode GUIs Moving away from GitFlow DLL Hot Reloading in Theory and Practice One Draw Call UI Defaulting to Zero Little Machines Working Together (Part 2) Little Machines Working Together (Part 1) One-button source code builds Physical Design of The Machinery