Writing

Thoughts on building, markets, and systems.

Solar Hybrid + LiFePO4: Designing a Resilient Home Power System for India

Architecture and component selection for an AC-coupled hybrid solar inverter with lithium iron phosphate battery storage — turning existing grid-tie panels into a self-sufficient backup system during outages.

powersolarinfrastructureindia

Local AI Hardware in 2026: The Honest Math on Mac Studio vs Linux GPU Rig

Mac Studio for silence and multi-purpose use, or Linux + RTX 5090s for raw ML performance? A data-driven comparison with break-even analysis, power/noise tradeoffs, and honest verdict for both paths.

aiinfrastructureapple-siliconnvidiagpu

My Home Lab: Cloudflare Tunnels, NAS, and AI at the Edge

How I built a self-hosted infrastructure with a QNAP NAS, Cloudflare Zero Trust, and plans for local AI inference — all without opening a single port.

EDITH: Building Semantic Search Over Personal Knowledge

How I built a RAG system that indexes my Obsidian vaults and lets me query 200+ notes conversationally — local embeddings, FAISS, and the MCP server architecture.

airagknowledge-managementobsidian

The Engineer's Guide to Emergency Preparedness

A data-driven, tiered approach to emergency preparedness — trigger levels, prioritized shopping lists, and systems thinking applied to household resilience.

preparednesshomeinfrastructure

Building an Investment Intelligence Stack with AI Agents

How I built an automated geopolitical and market monitoring system using AI cron jobs, OSINT sources, and prediction markets — the system, not the trades.

investingaiosintautomation

Zero-Downtime AI Agent Migration: Cloud to Home

How to migrate a persistent AI agent from cloud infrastructure to local hardware without losing a single message — dual-core architecture, hot handover, and Dropbox-synced memory.

aiagentsinfrastructuremigration

Hedging with Leveraged ETFs: Lessons from Getting It Wrong

What I learned losing money on 3x inverse ETFs — the math of daily decay, why they are not position trades, and what to use instead.

investingoptionsrisk-management

The 1970s Inflation Replay No One Is Pricing

Why today's oil shock trajectory mirrors the Burns-era pattern, and what markets are missing.

marketsgeopoliticsmacro

Building a Persistent AI Agent That Runs My Life

How I built an autonomous AI system with persistent memory, scheduled jobs, and parallel subagents that actually remembers who I am between conversations.

Multi-Channel AI Agent Routing: Preventing Double-Replies

How to run multiple AI agent instances across devices without them stepping on each other — channel routing, delegation patterns, and the single-token architecture.

aiagentsarchitectureslack

Designing Persistent Memory for AI Agents

How to build a cross-device memory architecture for AI agents — what to persist, what stays local, and how to sync without conflicts.

aiagentsarchitecture

Running Autonomous AI Agents 24/7

How I built a persistent AI agent system with memory, scheduled jobs, and self-learning that runs continuously across sessions.

aiagentsautomation

Tech Roadmap for a Smart Home

A phased plan for home automation — from basic smart lighting to full AI-driven control, prioritized by impact and complexity.

home-labautomationsmart-home

Home Server Master Plan: Docker, AI, and Self-Hosted Everything

A phased approach to building a unified home server — local AI inference, media streaming, offline knowledge, and 30+ self-hosted services on a single Mac Mini.

home-labself-hosteddockerai

Tiered Home Power: 8,909 Wh of Battery Backup

How I designed a three-tier power failover system using Anker SOLIX battery stations, a tri-fuel generator, and smart load shedding to keep critical infrastructure online indefinitely.

home-labpowerinfrastructurepreparedness

Clean Architecture in Practice

Not the theory — how Clean Architecture actually plays out when you build real systems. The dependency rule, layer boundaries, and where it breaks down.

software-engineeringarchitectureclean-code

DDD: Bounded Contexts That Actually Work

Practical Domain-Driven Design — bounded contexts, context mapping, and the tactical patterns that matter most when building complex systems.

software-engineeringdddarchitecture

Event-Driven Architecture Patterns

When to use events vs commands vs queries — topologies, delivery guarantees, and the patterns that make event-driven systems reliable.

software-engineeringarchitectureevents

ISA-95 for Software Engineers

The manufacturing technology stack explained with software analogies — from ERP to PLCs, what each layer does, and how data flows between them.

manufacturingarchitectureisa-95