LATEST FEEDS

web

Creating Beveled Corners with “corner-shape”

The new “corner-shape” CSS property is incredibly useful, but if we really want to get the most out of it, we need to use some surprisingly-sophisticated tricks. In this post, I’ll share how I’ve used this new property to create a retro-sci-fi aesthetic with diagonal corners everywhere. 📐

ai

Swarm Scaling

Just how powerful are large swarms of AI agents? And how do their powers scale as more and more agents are added to the swarm? We’ve seen two large and extremely capable swarms from OpenAI in the last few months: 1,200 agents were being evaluated separately, but found a way to illicitly set up a

RECENT ARTICLES

More Programming Articles
02

MAI Code 2 in GitHub Copilot: what it costs and when to pick it

MAI Code 2 is now the cheapest "powerful" model in GitHub Copilot's price list. Per token it costs a quarter of what Claude Sonnet 5.5 or GPT-6.2 Sol cost there, and an eighth of Claude Opus 5.5. Two catches matter before you switch your team over: those prices are a 50% launch p…

03

Deep Copy a JavaScript Object: structuredClone vs JSON vs Spread

To deep copy a JavaScript object, use structuredClone(obj). It's built into every current browser and into Node.js since v17, it copies nested objects, Dates, Maps, Sets and circular references correctly, and it throws a clear error when it meets something it can't copy. The old …

04

Prompt Injection Defense: What Actually Reduces the Risk

There is no filter, classifier or system prompt that stops prompt injection. What reduces the risk is deciding, in ordinary application code, what the model is allowed to do once it has read text you don't control. The OWASP LLM01:2026 Prompt Injection entry, still number one on …

05

Caching in Go: An In-Memory TTL Cache, sync.Map and singleflight

For most Go services, an in-memory cache with expiry is a plain map behind a sync.RWMutex, an expiry time on each entry, and one background goroutine that sweeps out dead entries. That takes under 80 lines with generics and no dependencies. Two more pieces make it safe under load…

Explore