Monika's Coding Blog

Notes on Java, JavaScript, game dev with Godot, and the occasional sysadmin rabbit hole.

Signal connections and object lifecycles in Godot 4

Spent a whole evening chasing a crash that turned out to be a signal connected to a freed node. Notes on queue_free(), is_instance_valid(), and why checking your connections in _exit_tree() saves hours.

Virtual threads in the JDK: first impressions after a real project

Ported a small I/O-heavy service to virtual threads. Throughput went up, but thread-local caches became a trap. Some benchmarks and lessons learned from migrating a blocking servlet stack.

A tiny state container in 40 lines of vanilla JS

Before reaching for the usual libraries, it's worth knowing how little a store actually needs. A minimal pub-sub container with Proxy reactivity — and why I keep not needing more.

Automating server maintenance with shell scripts (and staying calm)

Checklists for safe unattended upgrades, rollback habits, and why every script that touches a firewall should have a dead-man switch. Includes my finish-vpn-style maintenance notes.