Topic
Everything filed under Tutorials, newest first.
RSS · JSON · All topics
Making Games in Go: Entity Component System (ECS)
Miłosz Smółka of Three Dots Labs walks through the Entity Component System pattern for 2D games in Go using the Donburi library, from entities and systems to archetypes, events, and a fuller pufferfish game example.
29 min · 6,616 words
How to Bypass Rust's Orphan Rule
Edmond Vong explains what Rust's orphan rule (E0117) protects against, why building impls into the library or NewType wrappers fall short, and how adding a generic context parameter to a trait lets a models crate stay decoupled.
13 min · 2,884 words
Understanding Positional Embeddings in Modern LLMs
Sebastian Raschka walks through how LLMs encode token position, from classic absolute and learned embeddings to RoPE and its variants, with visual examples, light math, and a small PyTorch implementation, then surveys how 2026 open-weight architectures adapt or omit explicit positional encodings.
42 min · 9,765 words
500 Lines or Less: A 3D Modeller
A chapter from the 500 Lines or Less book (CC BY 3.0) walking through building a small interactive 3D modeller in Python with OpenGL: scene graph data structures, rendering, picking, and user interaction for CAD-style editing.
32 min · 7,312 words
Protomaps: Self-hosting map tiles has gotten cheap and easy
Bruce Röttgers walks through self-hosting map tiles with Protomaps' PMTiles format, which serves a single file over HTTP Range requests: extracting a region with the CLI, deploying it to Bunny.net storage and CDN, and embedding the map, as a cheap alternative to commercial map APIs.
3 min · 767 words
Disk encryption on NetBSD - achieving secrecy
A practical NetBSD guide to disk encryption for the stolen-or-lost-device threat model: which data actually needs protecting, the boot-time limits of full disk encryption, and how to set up an encrypted partition holding /home, /var and /usr.
10 min · 2,233 words
Let’s Write a PostScript Interpreter
A brisk walkthrough of implementing an interesting subset of the PostScript language from scratch, as an example of a human-scale language a single person can build on readily available tools.
11 min · 2,629 words
NetBSD 11 desktop on a Raspberry Pi 4
A step-by-step guide to installing NetBSD 11 on a Raspberry Pi 4 and setting up a usable desktop with the NsCDE environment, packages via pkgin, a file manager, volume control and a graphical browser.
6 min · 1,384 words
Michael Kohl shows a small, dependency-free BitFlags implementation for C-like bit flags in Ruby that works with pattern matching, and argues for single-file libraries over gems.
2 min · 473 words
Rust Declarative Macros: Organization, Scoping, and Common Use-Cases
A follow-up tutorial on Rust declarative macros covering how to scope, organize, and export macro_rules! macros within a crate, plus common patterns for reducing boilerplate, with real-world and toy examples.
23 min · 5,217 words
Eli Bendersky's tutorial on using monads in Lean 4, starting from an expression evaluator with Option-based failure handling and building up through the Monad type class, do-notation, logging, Except and monad transformers like OptionT.
11 min · 2,423 words
Fun things to do with your VM/370 CE machine
Ricardo Bánffy's hands-on guide to the VM/370 Community Edition mainframe OS: what CE adds over IBM's last unrestricted VM/370, running it with Docker, 3270 terminals, logging on, writing BASIC, FORTRAN, PL/I and REXX programs, navigating disks, uploading files and games, adding users, editors, networking and printing.
25 min · 5,729 words
Vegetable Gardening for Engineers
John Chang's detailed, engineer-oriented guide to growing vegetables at home, synthesising extension-program material, crop guides and grower techniques into practical notes on hydroponics and container gardening for indoor and balcony growing in an urban apartment.
8 min · 1,745 words
Kirlian Photography: Building Your Own Equipment
A detailed tutorial on the history and physics of Kirlian (high-voltage contact) photography, the disputed phantom-leaf experiment, and how to build a basic battery-powered Kirlian device and shoot stills or video.
20 min · 4,514 words
Building my own ADS-B receiver
How the author set up a Raspberry Pi 4 and an RTL-SDR to pick up planes on 1090 MHz from Mumbai and share the data with adsb.lol and adsb.fi, reusing old TV coax already in the walls.
5 min · 1,154 words
Decoding REXPaint Files in Odin
A walkthrough of parsing REXPaint's gzip-compressed .xp ASCII-art format in Odin, covering the binary layout, decompression with core:compress/gzip, endian-aware reads and turning layers of cells into usable game data.
12 min · 2,857 words
First steps in bare-metal programming using UEFI – series index
Kevin Boone’s series index for writing bare-metal x86 applications on Linux against UEFI firmware, covering tooling, linking, the EFI system partition, bootable images, and the Simple File Protocol.
1 min · 130 words
Concurrent Shell Command Queues
Christian Emmer shows how to run shell commands in parallel while limiting their concurrency, comparing Bash job-control approaches with xargs -P and GNU parallel.
7 min · 1,723 words
Creating Worlds: Runes and Spells
A hands-on world-building activity for designing a magic system: draw runes on a 4x4 dot grid, then define spells as operations (such as reflections) cast on those runes, with an accompanying interactive prototype toy.
4 min · 856 words
Introduction to Harness Engineering for Vulnerability Research
Graham Helton and Ryan Basden introduce harness engineering for vulnerability research: why model capability alone is not enough, and how target-specific harnesses improve authorized investigations.
1 min · 203 words