Blog

Engineering notes

Software engineering, programming languages, fraud and payments, and what I am learning from putting AI systems into production.

Security27 min read

Your AI built the app. Who checked the locks? Twenty security checks for apps made with AI agents

An AI agent can build a whole app in a weekend and still forget the locks. Here is a plain-language tour of twenty security checks, told through one made-up hotel, each with a two-minute test and a message you can paste to your agent.

AISecurityAppSecChecklist
Read the article
Software Engineering27 min read

Cloudflare Durable Objects: Stateful Compute at the Edge

Cloudflare Workers are stateless, which is fine until your application needs to remember something. Durable Objects are the stateful primitive that fills that gap: one single-threaded instance per id, with memory and storage, that can hold WebSockets open. With diagrams and plain explanations, here is how they work, how to set one up, what they cost, and how I used one to push webhooks live to the browser in my HTTP Inspector.

CloudflareDurable ObjectsWorkersWebSockets
Read article →
Security25 min read

DDoS and WAFs: what the 31.4 Tbps attacks taught me about protecting a login page

In November 2025, a botnet pushed a 31.4 Tbps flood at a single target for 35 seconds. No origin server survives that alone. Here is what actually happened, why the old defences fail, how the layered fix works, an honest WAF comparison, and the minimal Spring Boot build I would run.

DDoSWAFCloudflareSpring Boot
Read article →
Fraud and Payments4 min read

How a fraud decision runs in under 200 milliseconds

A real-time decision is a chain of small budgets. This article follows one request through signal collection, feature freshness, rules, model scoring, and the final response.

LatencyFraud DecisioningFeature Freshness
Read article →
AI4 min read

MCP servers in production: what our internal platform taught me

We built an MCP service layer over the APIs we already trusted, and let support and engineering ask questions in plain language. Response times fell 40 percent. The lessons were about interfaces and guardrails, not models.

MCPLLMPlatform
Read article →
Programming Languages4 min read

Java 21 virtual threads, a year later

Virtual threads changed how I write blocking Java services, but they did not repeal backpressure, connection pools, or physics. What held up, what did not, and the defaults I use now.

JavaVirtual ThreadsConcurrency
Read article →
Software Engineering3 min read

What Cloudflare Turnstile will and will not stop

Turnstile is one layer in an edge defense. It is not a fraud strategy, an identity system, or a replacement for rate limits. Here is where it earns its place.

CloudflareBotsSecurity
Read article →
Programming Languages15 min read

Java 25: the new LTS, explained for everyone

Java 25 is the new long-term support release. Here is what it actually changes, with code you can run, explained so a junior developer or a student can follow along.

JavaJava 25LTS
Read article →
Programming Languages11 min read

Java 21: the LTS that made threads cheap

Java 21 is the long-term support release where virtual threads finally became permanent. Here is what it actually changes, with code you can run, explained so a junior developer or a student can follow along.

JavaJava 21LTS
Read article →
Programming Languages10 min read

Java 17: the LTS that locked the language down

Java 17 is the long-term support release that most teams upgraded to from Java 8 or 11. Sealed classes, records, text blocks, and switch expressions all became permanent here. Here is what it actually changes, with code you can run, explained so a junior developer or a student can follow along.

JavaJava 17LTS
Read article →
Software Engineering8 min read

Traps and Tips - Test Driven Development

TDD is widely practiced in all sorts of industries with all sorts of different programming languages, sadly it is not the starting point of every team! It is one of the reasons that TDD hasn't become so effective.

TDDTestingSoftware Design
Read article →
Software Engineering9 min read

QUIC - Birth of New Protocol in Layer 4 Family

This article covers the key concepts about QUIC that every network engineer, developer, and cybersecurity professional should know. Some of the major topics covered, include, why a new transport protocol was needed, how QUIC is different from TCP, how QUIC securely and reliably transports data while sitting on top of UDP. After reading this you will know how to QUIC is different from existing layer 4 protocols.

QUICNetworkingTCPProtocols
Read article →
Software Engineering5 min read

Send E-mail - HTML Contact Form

In this blog post I have discussed how one can send E-mail (with attachments) via HTML Form without worrying about backend servers such as PHP, NodeJS, Flask, etc.

HTMLFormsFormSubmitEmail
Read article →
Software Engineering11 min read

HAProxy Load Balancer

Network Load Balancer - HAProxy functions for TCP and HTTP-based applications that spreads requests across multiple servers. This article will cover installation and configuration of HAProxy for balancing L4 and L7 network traffic.

HAProxyLoad BalancingNetworking
Read article →
Programming Languages9 min read

Java 11: the LTS that made teams leave Java 8

Java 11 is the first long-term support release under the six month cycle, and the version that made teams leave Java 8. A modern HTTP client, var, single-file launch, and Flight Recorder all arrive here. Here is what it actually changes, with code you can run, explained so a junior developer or a student can follow along.

JavaJava 11LTS
Read article →
Programming Languages9 min read

Java 8: the release that changed Java forever

Java 8 is the release that changed Java more than any other. Lambdas, streams, Optional, and a new date and time API all arrive here, and every later version builds on them. Here is what it actually changes, with code you can run, explained so a junior developer or a student can follow along.

JavaJava 8LTS
Read article →