All posts
Every tutorial and teardown, newest first. Type to filter, or jump to a topic.
2026 20 posts
- 6 min read
Playwright MCP With Claude Code: Setup and a Local Smoke Test
Playwright MCP lets an AI client drive a real browser. Configure it in Claude Code, then verify the server with a tiny local form and a Python smoke script.
- 8 min read
Blender AI MCP Addon: Install and Use It With Claude Code
Install the Blender AI MCP addon on macOS, connect it to Claude Code, start the server in Blender and run a first prompt. Includes safety notes and fixes.
- 8 min read
Claude Plans Compared: Pricing, Claude Code and API Costs
Claude plans compared: what Free, Pro, Max, Ultra, Team and Enterprise cost, which include Claude Code, and when a subscription beats pay-as-you-go API billing.
- 7 min read
Linear MCP: Connect Linear to Claude Code Step by Step
Linear MCP is Linear's official hosted MCP server. Add it to Claude Code with one command, sign in with OAuth, then create and update issues by prompt.
- 8 min read
GPT-6.2 Sol vs Astra vs 6.1 Sol: Tested, With Pricing
GPT-6.2 Sol vs Astra vs GPT-6.1 Sol (and Opus 5.5) on the same 9 graded API tasks: accuracy, speed, GPT-6.2 Sol pricing and the real cost per task.
- 24 min read
DeepSeek Harness Hands-On: What dsh Really Runs (and Sends)
A hands-on test of DeepSeek Harness (dsh 0.2.2): install it, count its 299 plugins, write your own tool, and see what each request sends to DeepSeek.
- 6 min read
Funplay MCP: Connect Claude Code to the Godot Editor (Hands-On)
Funplay MCP is an open-source MCP server for game editors. Install the Godot addon, start the server, connect Claude Code and run a first safe request.
- 7 min read
Claude Code Skills: What They Are and How to Write a SKILL.md
Claude Code skills are folders with a SKILL.md that Claude loads on demand or you run as a slash command. See where they live, the frontmatter, and a worked example.
- 9 min read
What Is Salting? Password Salting in Python
What is salting? A salt is a unique random value added to each password before hashing. See why plain SHA-256 leaks, then salt by hand and with Argon2id.
- 9 min read
MCP vs API: What Actually Differs, With a Side-by-Side Demo
MCP vs API: an API is a contract for programmers, MCP is a protocol that lets AI apps discover and call tools. Same notes search built both ways, compared.
- 7 min read
kubectl Set Context: Switch Clusters Safely
kubectl set context explained: create or edit a context with kubectl config set-context, switch with use-context, change the namespace, and avoid the wrong cluster.
- 8 min read
Claude Fable 5.2 Effort Levels, Tested: 26 Runs vs Opus 5.5 and Fable 5.1
Anthropic says Fable 5.2 at High matches Opus 5.5 for half the cost; an independent test found it 4.5x pricier. I ran 26 runs on three models at medium, high and xhigh, with costs from transcripts.
- 9 min read
ID Token vs Access Token: What Each One Is For (with a Demo)
ID token vs access token: the ID token tells your app who signed in, the access token tells your API what the caller may do. Real decode and validation runs.
- 9 min read
MCP Authorization: Protect an MCP Server with OAuth 2.1
How MCP authorization works: the 401, protected resource metadata and OAuth 2.1 flow, plus a runnable Python SDK server that rejects requests without a valid token.
- 11 min read
Claude --dangerously-skip-permissions: What It Does and When to Use It
What claude --dangerously-skip-permissions really does, why it refuses to run as root, the six Claude Code permission modes, and safer ways to stop the prompts: allow rules, sandbox, auto mode.
- 27 min read
I Ran DeepSeek's dsh-superagent End to End: A Hands-On Deep Dive
A hands-on test of DeepSeek's dsh-superagent: I installed it on a Mac, had it fix a real GitHub issue end to end, and explain its two-layer authorization gate, Mandates and risks.
- 19 min read
Ghidra 12.1.4 Install (ghidra_12.1.4_PUBLIC) and GhidraMCP
ghidra_12.1.4_PUBLIC is the folder the Ghidra 12.1.4 zip unpacks to. Get it from NSA's GitHub, verify the SHA-256, run it, then add GhidraMCP for AI.
- 9 min read
What Is an AI Agent? How to Build One from Scratch in Python
What makes an AI agent different from a chatbot, the agent loop explained, and a working Python agent with tools built step by step on the Claude API.
- 8 min read
What Is an MCP Server? How to Build One in Python
What the Model Context Protocol is, how MCP servers expose tools, resources and prompts, and how to build, test and connect one with the Python SDK 2.x.
- 8 min read
Dify OpenDAL Storage: OPENDAL_FS_ROOT & Docker Volumes
How self-hosted Dify stores files with OpenDAL: what OPENDAL_FS_ROOT does, how it maps to Docker volumes, and how to fix Permission denied: '/Users'.
2025 13 posts
- 20 min read
TypeScript AI Agent Frameworks & Agentic Frameworks Compared
TypeScript AI agent frameworks compared: Vercel AI SDK, Mastra, LangGraph.js and OpenAI Agents SDK, with two runnable examples and a wider comparison.
- 11 min read
STRIDE Threat Modeling Explained: A Chat App Example
What STRIDE threat modeling is, the six threat categories, and a full worked example on a chat app with detection and mitigation for each threat.
- 7 min read
Kubernetes Control Plane Components Explained
What each Kubernetes control plane component does: etcd, kube-apiserver, kube-scheduler, controller managers, plus kubelet, kube-proxy and CoreDNS.
- 10 min read
The 12-Factor App with Python & FastAPI
All 12 factors applied to a Python FastAPI service: pydantic-settings config, async SQLAlchemy, Docker, logs and Kubernetes, with code for each.
- 6 min read
Golang Range Loop Pointer: Same Address Bug & Go 1.22 Fix
Why &v in a Go for-range loop gave every pointer the same address, what Go 1.22 changed, and why &slice[i] is still the fix when you need the original.
- 9 min read
Terraform Associate 003 Exam: How I Prepared and Passed
Terraform Associate (003) prep: exam format, cost, question types, the courses I used and my study notes on state, modules, import and moved blocks.
- 12 min read
Terraform Meta-Arguments: count, for_each, lifecycle & More
Terraform meta-arguments are special arguments that Terraform itself reads, not the provider. They change how a block is managed:
- 19 min read
Mastering Terraform with AWS Guide Part 1: Launch Real AWS Infrastructure with VPC, IAM and EC2
So… you’ve heard about Terraform. Maybe your team is using it, maybe your cloud dreams demand it — or maybe, like me, you’ve been deep in the Kubernetes jungle (My blog posts about K8S) and now want…
- 17 min read
ExternalName and LoadBalancer - Ultimate Kubernetes Tutorial Part 5
Hey, welcome back to my ultimate Kubernetes tutorials! So far, we’ve explored ClusterIP and NodePort, but what if you need to route traffic outside your cluster or expose your app with a real…
- 11 min read
NodePort vs ClusterIP: Kubernetes Service Types Explained
NodePort vs ClusterIP on a real 1 master + 4 worker cluster: deploy Nginx, expose it both ways, test access, and fix CoreDNS and firewalld issues.
- 18 min read
Kubernetes Cluster Setup on Rocky 9 with kubeadm & Flannel
Kubernetes tutorial Part 3: build a local cluster (1 control plane, 4 workers) on Rocky Linux 9 VMs with containerd, kubeadm and Flannel, step by step.
- 10 min read
K8s Tutorial Part 2: BIND DNS and Chrony NTP on Rocky 9
Kubernetes on Mac, Part 2: clone a Rocky Linux 9 VM into a BIND DNS server with forward and reverse zones, plus a Chrony NTP server.
- 22 min read
Kubernetes Tutorial Part 1: Cluster on a Mac
Build a multi-node Kubernetes lab on a Mac: plan the cluster and networking, create a Rocky Linux 9 base VM in VMware Fusion and prepare the nodes.
2024 40 posts
- 13 min read
Attention Is All You Need, Explained: Intro & Background
A line-by-line walkthrough of the Introduction and Background of "Attention Is All You Need": why RNNs hit a wall and how self-attention replaced them.
- 7 min read
Attention Is All You Need: Key Terms in English & Chinese
A glossary of Transformer terms from "Attention Is All You Need" (Q/K/V, multi-head attention, positional encoding, BLEU) with Chinese translations.
- 5 min read
Attention Is All You Need Abstract Explained (Day 1)
The abstract of “Attention Is All You Need” (Vaswani et al., 2017) makes one bold claim. You can build a sequence-to-sequence model out of attention alone, with no recurrence and no convolution, and…
- 5 min read
OpenAI o3 on ARC-AGI: Scores, Cost, Limits
OpenAI's o3 scored 75.7% on ARC-AGI's Semi-Private set and 87.5% at 172x compute. What ARC-AGI tests, what it cost, and why it isn't AGI.
- 9 min read
Ray Serve Guide: Autoscaling, Batching, FastAPI & Ollama
What Ray Serve is, how deployments, autoscaling, batching and model composition work, with code, and when to pick Ray Serve over FastAPI or Ollama.
- 8 min read
Model Quantization: FP32 to INT8, PTQ vs QAT
What model quantization is, how FP32 weights map to INT8 with a scale and zero point, PTQ vs QAT vs dynamic quantization, memory math and trade-offs.
- 7 min read
Weight Initialization Explained: Xavier vs He
What weight initialization is, why it prevents vanishing and exploding gradients, and when to use Xavier, He or orthogonal init, with PyTorch code.
- 14 min read
Knowledge Distillation: How Big Models Train Smaller Ones
What knowledge distillation is, how soft targets, temperature and the distillation loss work, the main types, LLM examples like DistilBERT and DeepSeek-R1 distills, and how it compares with quantization and pruning.
- 8 min read
Why Do LLMs Hallucinate? Causes, Examples and Fixes
Why generative AI and LLMs hallucinate: next-token prediction, gaps in training data and vague prompts, with examples and practical ways to reduce it.
- 8 min read
Zero-Shot vs Few-Shot Learning, Explained
Zero-shot learning solves a task with no labeled examples; few-shot uses a handful. How each works, with prompt examples, a comparison table and limits.
- 7 min read
Foundation Models vs Task Models Explained
What foundation models and task models are, how they differ in data, training and scale, and when to prompt, fine-tune or distill for a specific task.
- 7 min read
Pretraining vs Fine-Tuning in LLMs: Key Differences
Pretraining vs fine-tuning: what each stage does, masked vs causal language modeling, full vs LoRA fine-tuning, comparison table and when to fine-tune.
- 7 min read
What Is an Embedding? Text to Vectors, Explained
An embedding turns text into vectors so AI can compare meaning. How Word2Vec, GloVe and BERT build them, and how dot product and cosine similarity work.
- 6 min read
Fine-Tuning vs Pre-Training: How LLMs Become Specialists
What fine-tuning is, how it differs from pre-training, the steps to fine-tune a pre-trained model, LoRA vs full fine-tuning, and the risks to watch.
- 8 min read
Tokens in AI: How LLM Tokenization Works
What tokens are, how LLMs split text with word, character and subword (BPE) tokenization, and why tokens shape context windows, cost and speed.
- 6 min read
Parameters vs Inference Speed on Phones
Why phone AI models are smaller than GPT-4: how parameters, memory and hardware set inference speed, and how quantization, pruning and distillation help.
- 8 min read
What Is Prompt Engineering? With Examples
Prompt engineering is writing inputs that steer an AI model to the output you want. Core techniques, before/after examples, limits and when to fine-tune.
- 7 min read
What Are Model Parameters? Why Bigger AI Is Often Smarter
Parameters are the weights and biases a model learns in training. See how parameter count affects LLM performance, memory and cost, and when smaller wins.
- 9 min read
Self-Attention in Transformers, Explained
How self-attention works in Transformers: queries, keys and values, softmax weights, a worked pronoun example, multi-head attention and the O(n²) cost.
- 7 min read
Transformer Model Explained: Why It Was an AI Revolution
How the Transformer and self-attention work, why they replaced RNNs and LSTMs, and their limits. A plain-English guide to the model behind LLMs.
- 6 min read
Find and Remove Duplicate Photos with a Python Script
A Python script, written with ChatGPT, that finds duplicate photos by xxhash checksum and cleans them up, with cached checksums for fast reruns.
- 6 min read
How I Passed AI-102: Prep & Exam Day
My AI-102 (Azure AI Engineer Associate) story: the training labs, MS Learn and notes I used, online exam day with OnVUE, and a 768 pass.
- 4 min read
Install Azure CLI on Mac: Fix Homebrew Permission Errors
brew install azure-cli failing on macOS? Fix the Homebrew OpenSSL and Python permission errors with chown and brew unlink, then verify az works.
- 6 min read
Overfitting vs Underfitting & Regularization - ML Day 11-12
My Day 11-12 notes from Andrew Ng's Supervised ML course: overfitting vs underfitting, how to fix them, and regularization with λ, formulas and Python.
- 6 min read
Logistic Regression: Decision Boundary & Cost – Day 10
Day 10 notes from Andrew Ng's ML course: the logistic regression decision boundary, why squared error fails, logistic loss vs cost, and gradient descent.
- 5 min read
Gradient Descent & Logistic Regression – ML Day 9
Day 9 of Andrew Ng's Supervised ML course: gradient descent for one-variable linear regression, binary classification, logistic regression and sigmoid.
- 6 min read
Choosing the Learning Rate & Feature Engineering – Day 8
How to pick a learning rate from a learning curve, plus feature scaling and feature engineering: Day 8 notes from Andrew Ng's Supervised ML course.
- 8 min read
Feature Scaling & Gradient Descent Convergence (ML Day 7)
Day 7 notes from Andrew Ng's ML course: why feature scaling speeds up gradient descent, mean vs z-score normalization, and how to check convergence.
- 5 min read
Types of Machine Learning: Beginner Notes (Level 1 Course)
Beginner ML notes: supervised, unsupervised, semi-supervised and reinforcement learning, plus overfitting vs underfitting, from a Level 1 course.
- 5 min read
Gradient Descent for Multiple Linear Regression: ML Day 6
Gradient descent for multiple linear regression updates every weight wⱼ by subtracting the learning rate times the average of (prediction − target) × xⱼ⁽ⁱ⁾, and updates b the same way but without the…
- 5 min read
Multiple Linear Regression & Vectorization – ML Day 4-5
Notes from Andrew Ng's Supervised ML course, days 4–5: multiple linear regression, dot product and NumPy vectorization, plus a self-quiz.
- 6 min read
Supervised ML Day 2 & 3: Gradient Descent and Learning Rate
Gradient descent minimizes a cost function J(w, b) by repeatedly moving w and b a small step against their partial derivatives, with the step size set by the learning rate α. If α is too small, it…
- 8 min read
Supervised Learning Day 1: Regression vs Classification
Supervised machine learning trains a model on labeled examples, meaning inputs (x) paired with the right answers (y), so it can predict y for inputs it hasn’t seen. Day 1 of Andrew Ng’s Supervised…
- 3 min read
Fix Nerd Font Icons in the VS Code Terminal
Powerlevel10k icons showing as boxes or question marks in the VS Code terminal? Set terminal.integrated.fontFamily to your Nerd Font. Steps for macOS.
- 7 min read
iTerm2, tmux, Oh My Zsh & Powerlevel10k Setup on Mac
Set up a Mac terminal step by step: iTerm2, Nerd Fonts, Oh My Zsh with Powerlevel10k, and tmux via gpakosz/.tmux, plus tmux auto-attach on launch.
- 7 min read
Base32 vs Base64 vs Base64URL: How Each Encoding Works
Base32 vs Base64 vs Base64URL in plain English: alphabets, padding, size overhead, worked examples, data URIs, and when to choose each one.
- 6 min read
Vue Blank index.html Fix: WebHistory vs Hash Mode
Built Vue app shows a blank page when you open dist/index.html? Why createWebHistory and absolute asset paths cause it, and how to fix it.
- 6 min read
Bash Script to Rebuild a tmux Dev Environment After Reboot
tmux-resurrect restores windows, not running services. Here's the script I use to rebuild a six-window Django, Celery, Vue tmux session after reboot.
- 8 min read
OpenSSL & certutil Cheat Sheet: Certs, PFX, NSS DB
OpenSSL and certutil commands: inspect certificates, convert PFX to PEM, fetch a server cert, and import, trust or export certs in an NSS database.
- 11 min read
JWT Authentication in Node.js From Scratch
How a JWT works (header, claims, signature, HS256 vs RS256), then build JWT access and refresh tokens from scratch in Node.js and TypeScript.
2023 4 posts
- 7 min read
OAuth 2.0 Authorization Code Flow with PKCE, Step by Step
How the OAuth 2.0 authorization code flow works: every redirect and request with PKCE, why you get a code, not a token, and the checks that keep it safe.
- 8 min read
OAuth 2.0 Grant Types: Which to Use, and Is PKCE One?
OAuth 2.0 grant types compared: authorization code with PKCE, client credentials, device code, refresh token, and why implicit and password are retired.
- 7 min read
HTTP Basic Authentication Explained (RFC 7617)
How HTTP Basic Auth works: the Authorization header, Base64 username:password, why it needs HTTPS, plus a Node.js and TypeScript middleware example.
- 10 min read
Node.js Password Authentication with bcrypt and TypeScript
Build register and login routes in Express and TypeScript, hash passwords with bcryptjs, and see what each part of a bcrypt hash ($2a$10$…) means.
2022 1 post
2021 1 post
2020 1 post
2018 2 posts
- 8 min read
Docker Notes: Multi-Stage Builds, Save/Load & Registry
Docker notes: multi-stage Dockerfile, docker commit, save/load vs export/import, a private registry with registry:2, and where images are stored.
- 13 min read
Git Cheat Sheet: Config, Branches, Stash, Reset & Revert
Practical Git commands with notes: config, branches, sparse checkout, diff, stash, squash, reset vs revert and detached HEAD fixes.
No posts match that. Browse all topics