Topic
Everything filed under Tutorials, newest first.
RSS · JSON · All topics
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
I let an AI agent run my side project's growth loop: intent.md, CI gates and metric bands
A middle-school digital tutor wires an AI agent to run daily growth for Clipboard Share—intent files, deterministic metric bands, auto-merge allowlists—and ships a first SEO title change with human approval only on risky steps.
6 min · 1,356 wordsagent-assisted
Ambient agents respond to events such as an Amazon S3 upload, a schedule, or an alert instead of waiting for a chat prompt. This post walks through building framework-agnostic ambient agents on Amazon Bedrock AgentCore using Amazon SQS, AWS Lambda, and Amazon DynamoDB, with a single ask_human tool and a Jobs page for human-in-the-loop review.
24 min · 5,504 words
A Visual Intro to Complex Numbers
A visual, intuition-first tutorial on complex numbers: starting from an unsolvable system of equations, it builds up the imaginary unit as a 90-degree rotation, the complex plane, multiplication as rotation and scaling, Euler’s formula, and applications in AC circuits, signals, control and MRI.
16 min · 3,760 words
Document Review With Unsiloed and TypeSafe Jev
Unsiloed AI and TypeSafe’s Jev show a document-review pipeline that pairs extraction with schema-validated checks so OCR-correct but semantically wrong values (like an extra zero) are caught before they flow downstream.
6 min · 1,330 words
Functional ultrasound imaging from scratch
Functional ultrasound imaging (fUSI) is a brain imaging modality that is just starting to be demonstrated in human studies. I’m sure many will be familiar with structural ultrasound imaging, which forms static images using ultrasound, as in a sonogram1. Functional ultrasound instead captures movies of brain tissue very rapidly, tracking subtle changes caused by the blood flow that follows neural activity.
11 min · 2,451 words
A Spring AI tutorial on hardening agents for production: guardrails, evaluation loops, observability, tool authorization, and human-in-the-loop approval beyond a basic MCP-connected demo.
17 min · 3,953 words
Readable Regular Expressions for JavaScript/TypeScript, Inspired by Emacs' rx
A tutorial bringing Emacs-style rx composable regex DSLs to JavaScript and TypeScript so complex patterns stay readable and maintainable.
18 min · 4,193 words
Reverse Engineering NovaLogic's Comanche Terrain Maps
A detailed reverse-engineering walkthrough of Comanche: Maximum Overkill MS-DOS terrain/map files—how NovaLogic packed heightmaps and related data, and how to reconstruct the landscapes.
16 min · 3,693 words
How to Build a Reliable AI Assistant with the Claude API
A freeCodeCamp tutorial building ShopHelper with the Claude API: conversation history, tools, multi-block responses, workflow patterns, and evaluating whether prompt changes actually help.
9 min · 2,132 words
Using any C++ library in Godot
Using any C++ library in Godot Godot has become one of the most popular game engines of the last few years. It is free, open source under the MIT license, and small enough to download and start using in minutes.
10 min · 2,353 words
Build an LLM Tokenizer and Attention from Scratch in TypeScript
SitePoint tutorial that implements BPE tokenization, cosine similarity vector search, and scaled dot-product attention in TypeScript—exposing LLM primitives as ordinary readable code.
25 min · 5,827 words
Automating eval design and hillclimbing with Claude
Lance Martin (claude.dev) explains principles for production-like evals with held-out sets, then shows how the claude-api skill’s build-eval and hillclimb commands automate design and overfitting-aware improvement—including cost and performance case studies.
2 min · 462 words
A minimal kernel in Swift, running in QEMU
Antonin walks through writing a tiny kernel in Embedded Swift that boots in QEMU: the Swift package and compiler setup, bridging Swift to assembly with the @c attribute, providing the missing runtime functions, describing the memory layout with a linker script, printing to the serial console, and finally echoing typed characters back as a simple prompt.
8 min · 1,870 words
Replacing the old battery on rechargeable bike lights
Julia Evans walks through repairing decade-old rechargeable bike lights by replacing the battery at a makerspace—opening the case, identifying the cell, soldering a replacement, and what she learned as a non-electronics expert.
4 min · 1,011 words
Postgres AT TIME ZONE 'UTC' does NOT do what you think it does
A practical Postgres footgun: AT TIME ZONE 'UTC' converts timestamptz to timestamp without time zone—so month math and equality break unless you apply AT TIME ZONE twice.
2 min · 538 words
Modern Object Pascal Introduction for Programmers
A practical introduction to Modern Object Pascal for programmers coming from other languages: units, classes, generics, memory management, exceptions, and more—maintained by Michalis Kamburelis and the Castle Game Engine project.
75 min · 17,153 words
Digital Audio on the ZX Spectrum's 1-Bit Beeper
Michael Martin wraps a ZX Spectrum series with a practical write-up on coaxing high-quality digital audio from the machine's 1-bit beeper—covering techniques, trade-offs, and surprisingly good results on every Spectrum model.
21 min · 4,768 words
Dissecting House of Apple 2 on modern glibc
An interactive GDB walkthrough of House of Apple 2 on glibc 2.43: FSOP past vtable checks, wide-stream arbitrary call, stack pivot, and ROP—with a follow-along lab.
2 min · 383 words
The Greatest Pun: JavaScript's ${{ }} tagged template literal
Nishant Shukla unpacks JavaScript tagged template literals—how ${} interpolation and the tag function combine into a surprisingly powerful (and punny) language feature, with clear examples.
3 min · 704 words