Archives
All the articles I've archived.
-
Next.js Standalone Mode Swallows Your .env.production on AWS Amplify
When deploying Next.js with output: 'standalone' on AWS Amplify, server-side environment variables from .env.production aren't available at runtime — even though the AWS docs say they should be.
-
AWS Amplify Sandbox Silently Fails to Hotswap Lambda Code
The Amplify Gen 2 sandbox can silently fail to hotswap Lambda code. Your function keeps running stale code with no error — and cold starts don't help because they recycle the old bundle, not your latest source.
-
AI Providers Reject minItems/maxItems — And Each SDK Handles It Differently
Gemini AND Anthropic both reject minItems/maxItems in JSON Schema structured output. The AI SDK's Google provider silently strips them; the Anthropic provider doesn't. The fix: never put array constraints in schemas sent to any provider.
-
Gifts vs Transactions
A post about the difference between gifts and transactions, and how expectations can ruin the magic of gift-giving.
-
PyTorch With Baby Steps: From y=x To Training A Convnet
An example-driven, incremental tutorial introduction to PyTorch.