
Write an AI Agent Loop in Under 100 Lines
Frameworks make agents look complicated, but the core is small: a model, a few tools, and a loop. This post walks through a working coding a...
Subscribe to Arpan Singh's Newsletter
Get new articles and engineering posts delivered to your inbox.

Frameworks make agents look complicated, but the core is small: a model, a few tools, and a loop. This post walks through a working coding a...

Most leaked credentials come from small Docker mistakes: a baked-in ENV, a copied .env file, a logged config object. Learn where env vars le...

TypeScript types disappear at runtime, leaving API responses, form inputs, and environment variables untrusted. Learn how Zod validates data...

Redis is more than an in-memory cache. Explore its event loop, data structures, memory management, persistence, replication, and clustering—...

Passwords get phished, reused, and leaked. Passkeys fix that by storing only a public key on your server. This guide adds passkey sign-up, u...

Every programming language exists because an older one hurt. Follow the chain from assembly to C, C++, Java, Python, Go, and Rust, and see e...

A migration that finishes in milliseconds on your laptop can lock a production table for an hour. This guide shows how to avoid that: the ex...

Kafka scales well by design, but it rarely scales on its own. This guide walks through the levers that matter most: sizing partitions, tunin...

Introducing Muse Wonder and Muse Wonder Full — frontier models trained at Prometheus with test-time compute scaling, featuring Active Memory...

C trusts you with the machine. Rust asks you to prove you can be trusted first. This post compares memory safety, tooling, performance and p...

Every few years Jenkins is declared dead, yet it still ships software for banks, studios, and startups. Here's how it works, why it endures,...

openTPU is a small, readable LLM decode accelerator with its entire stack in one repo: RTL, ISA, simulator, compiler and profiler. See how A...

Apple's new Pass Designer aims to end the edit, sign, reinstall loop of building Wallet passes, with a live preview on iPhone and Apple Watc...

The FTC confirmed on September 30 that it is investigating OpenAI, Anthropic and other AI companies over product risks. This post covers the...

Jev Ultrafast finished a Google Flights search in about 7 seconds by choosing each browser action from a numbered list instead of generating...

Passing user-supplied avatar URLs to @vercel/og turns your Next.js Edge runtime into an arbitrary outbound proxy. Learn how to defeat SSRF, ...

Google launched Gemini 3.8 Live and 3.8 Live Extended Thinking on September 15, 2026, its most advanced voice AI yet. The models reason and ...

JavaScript’s flexibility becomes a liability as codebases grow. This deep dive breaks down what TypeScript actually adds, where its type sys...

Bacteria evolve faster than we find new antibiotics. In 2026, ChatGPT and Codex started showing up in the search for new antimicrobial molec...

DeepSeek V4.1 Flash isn't just another model release. Its architecture, tiny KV cache, aggressive pricing, and retirement of V4-Pro point to...

A Claude Max subscriber watched his token usage climb on a day he wasn't working. Anthropic later confirmed why: stolen session cookies are ...

Austin Henley squeezed a Python-like interpreter into 1,024 bytes of C. We verified the byte count, benchmarked it against CPython at scale,...

A hands-on install guide and architecture review of ThreeUI, Meng To's Three.js/WebGL component catalog — covering the Community/Pro sync pi...

TypeScript 7.0 shipped a Go-native compiler that's up to 12x faster — but not all tooling has caught up yet. Here's what to adopt now, what ...

A common array bug that silently deletes the wrong items, and what it reveals: how arrays actually work in memory, why insert/delete cost wh...

Big-O notation explained through the real regex that took Cloudflare offline for 27 minutes, plus sandbox-tested benchmarks in Python and No...

TypeScript 7 is out, and the talking points have already calcified: 10x faster, half the memory, same compiler, just upgrade. Some of that's...