Learn structured outputs for LLMs: get reliable JSON from OpenAI and Ollama using Pydantic and Zod schemas, plus validation and retry in Python and Node.js.
Continue reading...Node.js 26 LTS: New Features and How to Upgrade Safely
Node.js 26 LTS is here. Learn the new features like Temporal, Map.getOrInsert and localStorage, the breaking changes, and how to upgrade safely, step by step.
Continue reading...Node.js Part 3: npm and package.json: Installing and Managing Packages
Learn npm and package.json step by step: install packages, dependencies vs devDependencies, ^ and ~ version ranges, package-lock.json, npm ci and npm scripts.
Continue reading...React Part 3: Components and Props: Building Reusable UI
Learn React components and props step by step: create reusable components, pass data with props, use children and defaults, and build a ProductCard.
Continue reading...DevOps CI/CD Part 3: Git for Teams: Branches, Pull Requests and Trunk-Based Development
Learn Git for teams: feature branches, pull requests, merge vs squash vs rebase, merge conflicts and trunk-based development for safe, fast CI/CD.
Continue reading...Agentic AI Part 3: Tool Calling for Agents: Letting an LLM Use Your Functions
Learn tool calling for AI agents: let an LLM call your functions with JSON Schema, parallel calls and error handling. Agentic AI series Part 3 with code.
Continue reading...Generative AI Part 7: How to Stream LLM Responses and Build a Simple Chat UI
Learn how to stream LLM responses in Python and Node.js, read Server-Sent Events and build a simple chat UI with memory and a Stop button for Ollama or OpenAI.
Continue reading...Generative AI Part 6: How to Run LLMs Locally with Ollama
Learn to run LLMs locally with Ollama: install it, pull open models, chat in the terminal and call them from Python and Node.js. Free, private and offline.
Continue reading...React Compiler Tutorial: Stop Writing useMemo and useCallback
React Compiler tutorial for beginners: set it up in Vite and Next.js, learn how automatic memoization replaces useMemo and useCallback, and fix common errors.
Continue reading...RAG Tutorial: Build a RAG App with Python and pgvector
Step-by-step RAG tutorial: build a Retrieval-Augmented Generation app with Python, PostgreSQL pgvector and OpenAI embeddings, with runnable code and fixes.
Continue reading...