home/category/Tutorial

Tutorial

// Build something real. Practical how-to guides, getting started walkthroughs, and best-practice write-ups. Hands-on and to the point.

18 posts

// posts in tutorial
Claude Code 400 'No Low Surrogate': Repairing a Broken Session

A lone UTF-16 surrogate in Claude Code's JSONL transcript permanently breaks every turn. Here's the surgical Python fix that preserves session history.

Building AI Agents with MCP: Stop Writing Glue Code That Breaks

MCP standardizes how LLM agents invoke tools and APIs. Here's the architecture, the real productivity unlock, and what production deployments actually cost you.

FFmpegKit Is Retired: Fix Your Android Build After April 2025

FFmpegKit was pulled from Maven Central on April 1, 2025, breaking thousands of Android projects. Here's the NDK r26c patch and migration path.

Persistent Homology vs Moran's I: Spatial Transcriptomics with squidpy 1.8.x and GUDHI

A complete pipeline tutorial using squidpy 1.8.x and GUDHI on a 2,688-spot Visium mouse brain dataset — with critical migration notes and TDA benchmarking.

Codehabits MCP Server Cursor Setup: AI Tools From Your PR History

How Codehabits' MCP server turns merged GitHub PR history into six on-demand AI tools inside Cursor — and why the real ROI is code review culture, not AI output.

Build Local Speech-to-Text with Whisper: No Cloud, No API Keys Required

Learn how to implement privacy-first speech-to-text using OpenAI's Whisper model running entirely on your machine—no cloud dependencies or API costs.

How to Write Better Git Commit Messages with AI

Stop writing vague commit messages. Learn how AI tools can analyze your changes and generate clear, descriptive commits that your future self will thank you for.

Structured Output From Local LLMs: Getting Reliable JSON with Ollama and Zod

Learn how to get perfectly validated JSON from local LLMs using Ollama's structured output mode and Zod schemas. No more broken JSON responses.

Fix Laggy AI Chatbot Responses with Server-Sent Events (SSE)

Learn how to stream AI responses in real-time using Server-Sent Events instead of polling. Practical tutorial with Node.js and vanilla JavaScript examples.

TypeScript Mapped Types: Stop Writing Repetitive Type Definitions

Learn how TypeScript mapped types eliminate redundant type code. From basic transformations to template literal remapping with real examples.