Topic
Everything filed under Tutorials, newest first.
RSS · JSON · All topics
Types of types: Haskell's Kind system
A practical tour of Haskell’s kind system—values, types, kinds, higher-kinded types and data, and custom kinds—drawn from adding typed configuration to a Redis clone.
15 min · 3,422 words
Running RAG with a (small) language model in the browser
Bart de Goede extends his static blog's in-browser semantic search into full retrieval-augmented generation by running small language models client-side with transformers.js on WebGPU or WASM, and evaluates how faithful and useful answers from Qwen3, Gemma and other small models are compared with larger ones.
9 min · 2,160 words
Writing a Demoscene Intro for the ZX Spectrum
Mark Dastmalchi-Round walks through tools, techniques and challenges of writing a retro ZX Spectrum demoscene crack intro, covering the pipeline from assets to a runnable production.
31 min · 7,074 words
Making big downloads resumable in Firefox
Olivia explains that Firefox's default network.http.response.timeout of 300 seconds seems to break resuming large downloads, and that setting it to 0 (or a very large value) in about:config made big downloads resumable and more stable in her testing, with wget -c as a fallback.
1 min · 292 words
Implementing a 3-2-1 Backup Strategy with restic and Backblaze B2
In order to follow a proper 3-2-1 backup strategy, you should have three copies of your important data: two local on different media types, and one off site. For local, I have a [DAS](<https://en.wikipedia.org/wiki/Direct-attachedstorage>) with two 14TB drives configured in a RAID 1 array[1](<htt...
3 min · 660 words
What Is poppy.json? The /.well-known File That Tells AI Agents How to Work With Your Company
A walkthrough of poppy.json, the Personal Agent Protocol (PAP/Poppy) discovery file at /.well-known/poppy.json: required fields for organization, OAuth, agent/API/web interfaces and extensions, plus a fictional worked example of Draft 0.1.
4 min · 888 words
It took me nine years to hack my Xbox 360
Kennedn recounts buying a Matrix CoolRunner glitcher in 2017 and finally RGH-modding an Xbox 360 in 2026 with a Raspberry Pi Pico. The essay explains Xbox 360 boot security, reset-glitch fault injection, and how cheap microcontrollers made DIY glitching far easier than a decade ago.
5 min · 1,163 words
Extend Lua with Zig 1: Hello World
The first part of Robbie Lyman's series on extending Lua with Zig: installing Zig, writing and running a Hello World, and building it with a first build.zig script, aimed at Lua programmers new to Zig on the way to calling Zig functions from Lua.
10 min · 2,331 words
John Murray walks through installing Nix on Valve's Steam Frame headset using the official installer's Steam Deck mode, then managing apps and dotfiles declaratively with standalone Home Manager, including launcher integration, system files on SteamOS's immutable root, Tailscale, and the Frametop desktop.
9 min · 2,004 words
Making a GTK application in Haskell, part 1
Feriel Choutri de Tarlé starts a Floreal Technologies tutorial series building a todo-list desktop app in Haskell with GTK 4 and the Adwaita library, setting up the project, a model-view-update architecture, and a runtime that redraws the window when the model changes.
7 min · 1,668 words
Using docker-compose with Podman rootless
Elouan Martinet explains how to run docker-compose against rootless Podman by enabling its Docker-compatible user socket and setting DOCKER_HOST, with tips on disabling rootful Docker, podman unshare and podman mount, rootless Docker, and user lingering so containers survive logout.
3 min · 657 words
Cache-Aware Programming: How Software Learns to Work With the Hardware
A practical essay on why memory access patterns often dominate runtime: caches, locality, and how programming choices make software cooperate with modern hardware.
6 min · 1,473 words
John Benediktsson's code-forward tour of the Factor stack-based language for programmers new to concatenative languages, covering the stack, word definitions, quotations and combinators, sequences, tuples, generic words, vocabularies, errors and resource cleanup, macros, and common libraries such as JSON, regex, and HTTP.
21 min · 4,819 words
Building a Job Queue in Postgres with SKIP LOCKED
Michael Guay walks through running background jobs in Postgres instead of Redis: the jobs table, claiming work safely with SKIP LOCKED, leases for crashed workers, retries with backoff, dedup, LISTEN/NOTIFY wakeups, and when not to.
9 min · 2,138 words
Go JSON v2 Migration: What Breaks in Go 1.27
Side-by-side notes on migrating to Go 1.27 encoding/json/v2: which outputs change versus v1 and which options or struct tags restore expected behavior.
10 min · 2,246 words
Self-hosted HTTP tunnels with SSH and nginx
Vincent Bernat shows how to expose a localhost preview to a friend with only a plain SSH client and an nginx server you control: ssh -R with a dynamic port, an nginx server_name regex mapping per-port subdomains, wildcard TLS via ACME DNS-01, and a helper script plus NixOS module.
4 min · 998 words
Jane Street reveals what its August ASIC reverse-engineering puzzle chip actually did, how solvers approached the GDS layout without a netlist, and lessons from the physical-design challenge.
10 min · 2,405 words
A Minsky machine in ncurses terminfo
Nicolas Seriot shows how ncurses terminfo parameter expansion can simulate a 2-counter Minsky machine—hosting a Fibonacci program in your terminal, clocked by /usr/bin/top.
5 min · 1,222 words
Back in June of 2024 at RustFest Zürich, the Const Generics project group first discussed a new design for supporting more complex uses of generic parameters in Const Generics. Since then, we've continued to refine the initial design and have implemented the new design as a family of features dubbed "Generic Const Arguments" (GCA for short).
11 min · 2,501 words
Spring AI Modular RAG and TypeSafe Jev: Retrieve More, Keep Only What Answers
Christian Tzolov walks through Spring AI modular RAG plus TypeSafe Jev: rewrite/expand the query before retrieval, then keep only chunks that actually answer—contrasting naive QuestionAnswerAdvisor RAG with a live demo pipeline.
6 min · 1,487 words