Green Lightning logo

Green Lightning

Hi! I’m a software engineer by day and maker by night, dabbling with 3D printing, pen plotter art and recreational woodworking. Long ago I took part in game jams and built lego mindstorms robots. Explore by category, browse the latest posts below, or read more about me.

A C++ Trick Question

Let’s jump right in; the answer and explanation are hidden after the code. Assuming all allocations succeed, can the following function still crash? Why? 1#include <memory> 2 3struct Node { 4 …

Read article

Hacking IKEA Furniture

When something you want is not available for purchase, well, you can always build it yourself! I recently moved and have a dedicated office room now. I wanted something which combines the practicality of a …

Read article

Shelf

Seeking ever more usable surface area in my storage room, I set out to build an extension for the shoe rack that was already in place. My hobby woodworking adventures are documented in the following. But first …

Read article

Marble Gate

Inspired by Wintergatan I designed, 3D-printed and built this Pac-Man Marble Gate. I obviously got the idea for the gate from the Wintergatan videos (here is a live stream where Martin designs the gates for the …

Read article

Piano Headphones Holder

I needed a better way to store the headphones for my digital piano, because I would just place them on the keyboard, which did not look nice, and they would get in the way when using the built-in speakers. …

Read article

Plot Party November 2021

Two weeks ago I took part in Plot Party, which is a pen plotting art challenge (sort of like a game jam for pen plotter art). I posted a lot on social media, so I thought it would be good idea to consolidate …

Read article

Improving Inkscape Startup Time

While Inkscape is a great vector editor, its startup performance on Windows is terrible, often taking 5 seconds or more to open an empty window on my computer. Investigating the application startup seemed like …

Read article

Advent of Code Solutions

I enjoy participating in the Advent of Code event every December, which is digital advent calendar challenging you with a two-part programming puzzle every day. In 2019 I aimed for the global leaderboard and …

Read article