Thoughts & Insights
Stop Overpaying for LLM APIs. Here Is the Single Fix People Are Not Talking About
Most developers overpay 10x for LLM APIs without knowing. Prompt caching drops costs 90-99% — here is how DeepSeek and Anthropic implement it.
How to Fix N+1 in Spring Boot JPA (And When Entity Graphs Make Things Worse)
Learn how to fix the N+1 query problem in Spring Boot JPA using @EntityGraph, and why overusing eager fetching caused a cartesian product explosion with versioned entities.
How to Give an AI Agent Access to Your Live Browser Without Handing Over Passwords
How to give an AI agent access to a live, logged-in browser without sharing passwords. I compared Playwright MCP, BrowserMCP, Blueprint MCP, Comet, Gemini, and Claude — then built my own extension.
How Custom CLI Tools Supercharge Claude Code and Opencode with Live Web Data
Build a custom CLI tool that gives Claude Code and Opencode real-time access to Reddit, YouTube, Google, and any website — bridging the gap between AI and the live web.
How to Reduce Token Usage in Claude Code and Opencode
Cut 60-90% of tokens in Claude Code and Opencode with CLI tools instead of MCP servers, context compression proxies, caveman output mode, and other strategies I use daily.
Create Your Own Automations the Simple Way with n8n
How I replaced scattered automation scripts with n8n's visual workflow builder — Docker setup, queue mode, and why Redis matters.
How to Use an MCP Server in a JavaScript Script (No AI Agent Needed)
A practical guide to programmatically connecting to and calling tools from any MCP server using the JavaScript SDK — perfect for automation scripts, testing, and tooling.
Stop Paying for LLM API Calls: Build Your Own API with OpenCode Serve
Learn how to turn your AI coding subscription into a free, self-hosted LLM API using OpenCode serve and Go. No more per-token API bills for side projects and automation.
I Wrote a Bash Script to SSH Tunnel Into My Remote PostgreSQL Database
How I simplified accessing a PostgreSQL database on shared hosting with a short bash script that handles SSH tunneling, connection checks, and background process management.