Databases

DB Indexes: B-Trees and LSM-Trees

How databases actually find your data on disk, and why B-Trees and LSM-Trees make completely opposite bets on reads versus writes.

· 11 min
Engineering

We're Tuning Our Coding Setups Blind

We keep changing models, harnesses and skill files without knowing if any of it makes things better. Here's how to build evaluations tailored to your own codebase.

· 7 min
AI

What Do All Those AI Benchmarks Actually Mean?

Every model launch comes with a giant table of bold numbers. Here's what the Artificial Analysis Intelligence Index at the top of that table is actually testing, how it's scored, and how much you should read into it.

· 13 min
Security

TLS 1.3 Explained For Humans

How TLS 1.3 sets up a secure connection in a single round trip, why someone stealing the server's key years from now can't read your traffic, and how Diffie-Hellman lets two strangers agree on a secret in plain sight.

· 14 min
Security

When Your LLM Gets Hands: The OWASP Agentic Top 10

When an LLM is just a chatbot, prompt injection gets you an offensive reply. When an LLM has API keys, tools, and a bash terminal, prompt injection drops your production database.

· 11 min
AI

Stop Turning the LLM Effort Knob to Maximum

Reasoning models spend tokens thinking before they speak. But cranking test-time compute to maximum on routine tasks needlessly inflates your bill without delivering better results.

· 5 min
Engineering

Comparing AI to a compiler infuriates me

Compilers preserve logic across abstraction boundaries. AI guesses intent from ambiguous prompts. Comparing the two ignores the brutal verification tax of generated code.

· 4 min
Security

What Are Passkeys

A lot of websites started to ask you if you want to use a passkey to log in, so what is that?

· 7 min
Engineering

The Era of Barely Good Enough Software

It's always been 'good enough' at scale, but AI and the pace of change have driven us into an era where 'barely good enough' is the accepted norm.

· 5 min
Networking

How Email Works

You click send and the email just shows up on the other end. But between your outbox and their inbox, your message goes on a pretty wild trip.

· 8 min
Engineering

AI Hugely Increases Cognitive Load

How we manage cognitive load has a huge impact on our ability to solve problems and write good code. Here are some ideas and observations I've gathered that help me keep my cognitive load manageable.

· 6 min
Databases

Vector Databases and HNSW: Finding Needles in a Billion-Dimensional Haystack

Traditional databases are great at finding exact matches, but what happens when you need to find things that are similar? Vector databases solve this problem by storing data as high-dimensional vectors and using clever algorithms like HNSW to search through millions of them in milliseconds.

· 12 min
Security

What Is SCIM and Why Should You Care?

You've set up SSO with SAML. Great. But who creates the user accounts on the other side? And who deletes them when someone leaves? That's the problem SCIM solves: automating the boring, error-prone work of user provisioning across all your apps.

· 22 min
AI

How Multimodal LLMs Work

LLMs went from text-only to understanding images, audio, and video in a remarkably short time. Turns out the trick is simpler than you'd think: convert everything into tokens. Here's how images get chopped into patches, how audio becomes a spectrogram, and why some models are better at 'seeing' than others.

· 8 min
Networking

HTTP/3 is QUIC

HTTP/2 fixed multiplexing, but TCP held it back. HTTP/3 ditches TCP entirely for QUIC over UDP.

· 12 min
Engineering

Story Points Are Relatively Useless

We are told story points have nothing to do with time, right before using them to plan our two-week sprint.

· 7 min
Networking

Stop Shaking Hands So Much (Connection Pooling)

If you wouldn't re-introduce yourself every time you saw a coworker at the coffee machine, why are you doing it to your database?

· 9 min
Engineering

Your Brain: Use It Or Lose It

The more we outsource thinking on a regular basis, the less capable we are of it.

· 6 min
Engineering

A Lot Of Unit Tests Are Worse Than Useless

Why your unit tests are likely not testing what you think they're testing

· 8 min
Systems

Garbage Collection

An introduction to how Java handles garbage collection.

· 9 min
Security

Cross-Site Scripting (XSS)

Are you taking in text input from your frontend? Then congratulations! You may be vulnerable to Cross-Site Scripting.

· 8 min
Systems

Git Demystified

Git has only three core data structures behind the scenes. Once you understand them, everything else (branches, tags, the staging area) just clicks into place.

· 11 min
Systems

Why does 0.1 + 0.2 = 0.30000000000000004? IEEE 754 Floating Point numbers explained

Every developer learns that 0.1 + 0.2 doesn't equal 0.3, but why? Dive under the hood of IEEE 754 to understand how floating point numbers are represented, why rounding errors happen, and the critical concept of Unit of Last Precision.

· 5 min
AI

Are Local Models Any Good?

We're all feeling the pressure of higher and higher token costs. So can we use local models to avoid some of those costs?

· 11 min
AI

KV Cache: Saving Or Draining Your Wallet

Are you switching AI models mid-conversation? You might be throwing money out the window. The KV cache is a crucial optimization in Large Language Models that saves the context of your conversation. Discover how it works, why it eats up so much memory, and how it keeps inference fast and affordable.

· 7 min
AI

Mixture of Experts: The Key to Efficient AI

Mixture of Experts (MoE) has emerged as a leading architecture for training large language models more efficiently. Instead of activating the entire model for every token, MoE uses a gating mechanism to route inputs to specialized sub-networks, or 'experts'. This allows models to scale to trillions of parameters while keeping inference costs manageable.

· 8 min
Security

You Can't Stop Prompt Injection (Yet)

Prompt injection is one of the most pressing security concerns for Large Language Models, and recent research has shown that it's incredibly difficult to solve.

· 8 min
Networking

Have We Run Out Of IPv4 Addresses?

Dive into the mechanics of IPv4 exhaustion and what it means for the future of the internet.

· 11 min
Security

How SAML Authentication Works

Dive into the mechanics of SAML authentication, understanding the roles of IdPs, SPs, and the flows that make Single Sign-On (SSO) possible.

· 4 min
AI

The Model Context Protocol (MCP)

An overview of the Model Context Protocol (MCP), why it's needed, and how it safely connects AI agents to external systems.

· 4 min
Systems

Docker Image Layers

How Docker image layers work and how to best use Docker layer caching to speed up your builds.

· 5 min
Engineering

Pitfalls of AI-Assisted Coding

How to best use AI in your day-to-day software engineering tasks.

· 14 min
AI

What Happened to Prompt Engineering?

Prompt engineering was supposed to be the next big thing in AI. What happened?

· 4 min
Security

What's Up With All These Supply Chain Attacks?

Diving into the recent supply chain attacks and what we can do to protect ourselves.

· 5 min
Security

How Do Authenticator Apps Work?

Answering how time-based one-time passwords are generated

· 5 min
Databases

Query Optimizers

How to find out what your database is actually doing when you run a query.

· 11 min
AI

What Is a Token?

An exploration of what tokens are and what it means for your wallet.

· 8 min
AI

Why Are LLMs Non-Deterministic?

A deep dive into why Large Language Models can produce different answers even with the same input.

· 8 min
Systems

Cache Locality and Why You Should Care About It

How cache locality can help speed up (or slow down) your programs.

· 13 min
AI

How AI Agents Use Tools

An exploration of how modern AI agents bridge the gap from text generation to performing real world tasks.

· 5 min