Find it
Search the archive
Every article, searchable in the browser. Nothing you type leaves this page.
Series
Topic
Includes
-
Java HashMap: Find a Product by Name (Beginner) →
Episode 22 of Complete Modern Java. A HashMap links each key to a value: put and get, one value per key, remove, what a missing key gives back and how to check first, and the same idea with a TypeScript Map.
-
Loop Through a Java HashMap: Keys and Values (Beginner) →
Episode 23 of Complete Modern Java. Three ways through a map, keySet, values and entrySet, why a HashMap prints in its own order, and the same loop over a TypeScript Map, which keeps insertion order.
-
Java static and Constants: Values That Belong to the Class (Beginner) →
Episode 24 of Complete Modern Java. A static counter shared by every product, a static final constant, a static method, the two compiler errors static invites, and static readonly in TypeScript.
-
Java Interfaces: A Promise a Class Makes (Beginner) →
Episode 25 of Complete Modern Java. An interface, two classes that implement it, why public is needed, one variable with three objects, a method that never changes, and TypeScript interfaces that disappear at run time.
-
Java Inheritance Explained: extends and super (Beginner) →
Episode 26 of Complete Modern Java. The is-a test, a FreshProduct that extends Product, super in the constructor, inherited methods, @Override with super.describe(), one shelf where each object uses its own version, and the same in TypeScript.
-
Composition or Inheritance: When Not to Use extends in Java (Beginner) →
Episode 27 of Complete Modern Java. Code that compiles but models the wrong thing, is-a against has-a, why extending ArrayList breaks a cart's rules, how composition lets the cart choose its operations, and the catch in TypeScript private.
-
Java Abstract Classes: Share Code, Require Methods (Beginner) →
Episode 28 of Complete Modern Java. An abstract PaymentMethod whose finished totalCents calls an unfinished feeCents, card and cash filling in the fee, why you cannot create the parent, interface or abstract class, and what TypeScript abstract does at run time.
-
Java Polymorphism: One Method Call, Different Behaviour (Beginner) →
Episode 29 of Complete Modern Java. A checkout that asks what kind of payment it has, the same job done by letting each payment object answer, adding a voucher without changing the checkout, one variable with two objects, and the same in TypeScript.
-
Java Same Values, Two Objects: Removing From the Cart (Beginner) →
Episode 21 of Complete Modern Java. Java said Milk was not in the cart: two objects with the same values, == and equals on objects, removing the same object, a removeByName rule of our own, and the same idea in TypeScript.
-
Java List of Objects: A Shopping Cart That Adds Itself Up (Beginner) →
Episode 20 of Complete Modern Java. A list of Product objects, then a ShoppingCart class that owns the list and works out its own total: the import a class file needs, add, count and totalCents, refusing null, and the same cart in TypeScript.
-
Java ArrayList: A List That Can Grow (Beginner) →
Episode 19 of Complete Modern Java. An array keeps its length; an ArrayList grows and shrinks. Add, get, size, remove and contains, why a list of int does not compile, an index out of bounds, and the same list in TypeScript.
-
Java Exceptions: Try, Catch and Keep Going (Beginner) →
Episode 18 of Complete Modern Java. One bad value stopped the whole program: read the stack trace, catch the exception with try and catch, see both paths, catch a NumberFormatException, and handle errors in TypeScript.
-
Java Encapsulation: Private Fields, Getters and Setters (Beginner) →
Episode 17 of Complete Modern Java. Make an object refuse bad data: give the class its own file, make its fields private, read them with getters, change the price with a setter that checks, and see how TypeScript private differs.
-
Java Classes and Objects: One Class, Many Objects (Beginner) →
Episode 16 of Complete Modern Java. Make your own type: a class with fields, objects made with new, the default values Java fills in, a constructor with this, a method on the object, an array of objects, and the same class in TypeScript.
-
Loop Over a Java Array: The One Character That Crashes It →
Episode 15 of Complete Modern Java. Add up every value in an array with one loop: the index loop, why it stops before the length, the one character that crashes it, the for-each loop, an empty array, and the same loops in TypeScript, where the mistake gives NaN.
-
Java Arrays: Indexes and Out of Bounds (Complete Beginner) →
Episode 14 of Complete Modern Java. Keep many values under one name: a first array, indexes that start at 0, changing one value, the out of bounds exception, printing with Arrays.toString, and the same array in TypeScript.
-
Java Methods: void, Parameters and return (Complete Beginner) →
Episode 13 of Complete Modern Java. Name a set of instructions once and use it again: a void method, what happens when it is called, parameters and arguments, return and a result, and the same three as TypeScript functions.
-
Java Loops: while and for (Complete Beginner) →
Episode 12 of Complete Modern Java. Stop copying lines: the while loop and its three parts, the loop that never ends and Ctrl+C, the for loop and i++, why 0 to < 3 prints 0 1 2, a running total with +=, and the same loops in TypeScript.
-
Java and, or, not and else if (Complete Beginner) →
Episode 11 of Complete Modern Java. A shop with three rules: && and || and ! with truth tables, else if where the first true condition decides, why branch order matters, how && skips a division by zero, and the same rules in TypeScript.
-
Java if and else: Make Your Program Decide (Complete Beginner) →
Episode 10 of Complete Modern Java. Free delivery from $50: a comparison gives a boolean, if and else choose exactly one branch, the six comparison operators, > against >= at the boundary, the = versus == trap, and === in TypeScript.
-
Java Integer Overflow and Divide by Zero (Complete Beginner) →
Episode 9 of Complete Modern Java. Why two billion cents plus two billion cents prints a negative number: int overflow drawn as an odometer, long, Math.addExact, dividing by zero in Java, and the safe integer limit in TypeScript.
-
Java double vs BigDecimal: Why 0.1 + 0.2 Isn't 0.3 →
Episode 8 of Complete Modern Java. Why 1.10 + 2.20 prints 3.3000000000000003: doubles store binary, where one tenth never ends. The proof with BigDecimal, then two ways to keep money exact, whole cents and BigDecimal from text, in Java and TypeScript.
-
Java Operators and Integer Division (Complete Beginner) →
Episode 7 of Complete Modern Java. Why Java says a $10 bill split four ways is 2 each: expressions, the five arithmetic operators, integer division and the remainder, one double for decimals, operator order and the left to right trap, and TypeScript's one number type.
-
Values and Types in Java and TypeScript (Complete Beginner) →
Episode 6 of Complete Modern Java. Why Java printed Items: 21 for three items: value, variable, type, literal and assignment; int, double, boolean, String and char; the compiler refusing int price = 1.5; and TypeScript number, boolean, string and inference.
-
Use the Debugger in Java and TypeScript (Complete Beginner) →
Episode 5 of Complete Modern Java. A receipt that prints $4.99 with no error, found with a breakpoint: Run versus Debug, pausing before a line runs, Step Over, Evaluate, Resume, and the free TypeScript route with node --inspect-brk and Chrome DevTools.
-
Read Your First Errors in Java and TypeScript (Complete Beginner) →
Episode 4 of Complete Modern Java. The four kinds of error, broken on purpose in Java and TypeScript: syntax, compile, runtime and logic. What each message says, where to look, how to read a stack trace, and one habit for every error.
-
Install Node.js and TypeScript on a Mac (Complete Beginner) →
Episode 3 of Complete Modern Java. Node, npm and TypeScript installed with no admin password, the .zshrc a new Mac does not have, TypeScript installed in the project, the grocery receipt rebuilt in TypeScript, and a TypeScript program that is wrong and runs anyway.
-
Install Java 25 and IntelliJ IDEA on a Mac (Complete Beginner) →
Episode 2 of Complete Modern Java. A fresh IntelliJ IDEA, Java 25 downloaded from inside it, the grocery receipt program typed and run, and then the part most setups get wrong: the terminal still finds an old Java. Why that happens, how to fix it for one window, and how to run the program without an IDE.
-
Your First Java Program, Explained: From Code to Result →
The first episode of Complete Modern Java, for complete beginners. One small grocery receipt program, typed line by line and run in Java and in TypeScript: what source code is, what a compiler and a runtime do, the terminal and the IDE. Then one tiny change: Java refuses to compile, and TypeScript reports the same mistake but still produces a program that prints "Items: 2one" and "Total: $NaN".
-
I Built a Spring Boot AI Agent That Pays for APIs: HTTP 402, MPP and MCP in Java →
A Spring Boot courier API answers HTTP 402 Payment Required. A hand-written Java client reads the challenge, pays five test cents on the Tempo test network and asks again with proof of payment. An AI assistant calls it over MCP. Then it breaks twice: it pays five dollars when the price changes, and pays twice when a paid response is lost. The fixes are a payment policy that refuses before anything is signed and a recovery workflow that never pays again. Every payment is a real testnet transaction you can open.
-
One @Transactional Mistake Crippled My Spring Boot App: A Flash Sale, Measured →
A Spring Boot checkout calls the card provider inside one @Transactional method. Under a flash sale, checkout takes 24 seconds, a different product page takes 23.7 seconds, and the CPU sits mostly idle. A bigger connection pool changes nothing. Paying after the commit brings checkout to 106 ms. Every number measured, with the code, the thread dump, the Postgres lock waits and what the fix costs.
-
Java Object Relationships: Inheritance, Composition and Polymorphism →
One payment scenario, six relationships. A subclass that counts three payments as six, the obvious fix that breaks when the parent changes one line, the delegating version that does not, association, aggregation and composition told apart by three questions, and polymorphism by overriding against a sealed switch. Real Java code, the class diagram notation, and the output of every run.
-
Spring AI Refund Agent With No Approver: 4 Failures and the Java That Stops Them →
A Spring AI MCP server lets an agent refund anything under $20 with nobody approving it. Forty $19.99 refunds pass the check and $799.60 leaves. Four failures, each measured on real runs: the $20 loophole, the race, the lost answer and the kill switch, with the Java that bounds each one, the real agent transcripts and nine tests that need no model.
-
Complete CI/CD Pipeline, Step by Step: GitLab to AWS EKS →
A complete, hands-on CI/CD lab. GitLab CI pipelines that test, scan and gate every change, one image promoted by digest through four environments on AWS EKS, Argo CD keeping each in sync with Git, and a canary that judges itself on real orders.
-
Spring Boot 4: What Actually Changed? (3.5 → 4.1) →
One real Spring Boot 3.5 orders service upgraded to 4.1, step by step, following Spring's own migration guide. Every change sorted into what breaks loudly, what breaks silently, and what you can now opt into, with the 3.5 and 4.1 code side by side.
-
Spring Boot to Python (FastAPI): Where Your Code Runs →
One payments service built twice, in Spring Boot and in FastAPI, layer for layer. A Spring developer's instinct is right about the shape of the code and wrong about where it runs: types, def against async def, AnyIO's thread limit, object lifetime, a 201 with no row behind it, background work and worker processes, each measured on both stacks.
-
Application Events in NestJS, for Spring Developers: Rolled Back, Receipt Sent →
A declined payment rolled back, and the receipt email had already gone, on Spring Boot with a plain @EventListener and on NestJS with @OnEvent. Measured: who waits, who hears a failure, and how to emit only after the commit.
-
Docker for Spring and NestJS: 385 MB to Change One Line →
Our own NestJS Dockerfile handed the builder 385 MB of context and put macOS packages in a Linux build. Measured on both stacks: .dockerignore, multi-stage builds, what one changed line rebuilds, and the root user both images started with.
-
Email and Translations in NestJS, for Spring Developers: The German Receipt →
A French customer got a German receipt from Spring Boot. Measured against the new first-party @nestjs/i18n and nodemailer: locale fallback, missing keys, a mail server that never answers, and a send that ended a process.
-
Graceful Shutdown in NestJS, for Spring Developers: Payment Killed →
A stop signal half a second into a payment: NestJS as created was gone in milliseconds, Spring Boot 4.1 finished the payment and drained. Measured on both: Actuator and Terminus, shutdown hooks, and the readiness flip.
-
GraphQL in NestJS, for Spring Developers: Production Mode Is Not Enough →
A resolver whose SQL fails: Spring for GraphQL masked it, NestJS with Apollo sent the client the raw Postgres error and a stack trace, and production mode only removed the stack. Measured on both stacks, with the fix.
-
gRPC in NestJS, for Spring Developers: 1999 Plus 1 Is "19991" →
One proto served by Spring Boot and NestJS. An int64 amount plus one: 2000 on Spring, "19991" on Nest with the default loader. Measured on both: the int64 mapping, a throwing handler, and why a missed deadline did not stop the charge.
-
Logging in NestJS, for Spring Developers: Four Lines, Two Ids →
One request logs from four places. On Spring Boot with ECS JSON, two lines carried the request id; on NestJS with its built in logger, none. Measured on both: JSON logs, the MDC and threads, and AsyncLocalStorage through nestjs-pino.
-
Kafka with NestJS, for Spring Developers: Same Group, Twice →
A Spring and a NestJS consumer both given the group payments handled ten messages twenty times. Measured against a real broker: the group suffix, a group the stacks could not share, a poison message, and the type header that made Spring refuse Nest's JSON.
-
Background Jobs in NestJS with BullMQ, for Spring Developers: Crashed, Nothing Sent →
Five receipts handed to @Async or an unawaited promise, then a crash: zero sent. Measured with real processes: what a BullMQ queue keeps, the charge that ran twice, the defaults, and the payment whose receipt never reached the queue.
-
OpenTelemetry for Spring and NestJS: 100 Payments, 11 Traces →
A hundred payments through Spring Boot, each calling a NestJS ledger that traces everything: Jaeger showed eleven ledger traces. Measured on both stacks: sampling defaults, propagation, and the root decision that travels downstream.
-
RabbitMQ with NestJS, for Spring Developers: 19,000 Redeliveries →
One payment that always fails: Spring Boot redelivered it over 19,000 times in ten seconds, NestJS delivered it once and lost it. Measured against a real broker: acknowledgement, dead letter queues, and the envelope that made Nest drop Spring's message.
-
RxJS for Spring Developers: The Customer Left, the Card Was Charged →
Reactor and RxJS share operators, not runtime contracts. Measured on Spring WebFlux and NestJS: what a handler returning a stream sends, the default concurrency of flatMap and mergeMap, and what happens to the work when the client disconnects.
-
Scheduled Jobs in NestJS, for Spring Developers: Every Job Twice →
Two instances ran every scheduled tick twice on Spring Boot and NestJS. Measured: ShedLock against the new @nestjs/locks, a lock store that did not lock, overlapping runs, one thread and one event loop, and a real crash of the lock holder.
-
Server-Sent Events in NestJS, for Spring Developers: 33 Updates Sent Again →
A browser on a Spring Boot SSE stream received 33 updates more than once in 70 seconds. Measured on both stacks: how long a stream lives, Last-Event-ID on reconnect, and what a real EventSource does with both.
-
Multi Tenancy and Feature Flags, Spring to NestJS: Tenant A Saw Tenant B →
The last episode of the series. Two requests in flight, and one tenant read the other's id. Measured on both stacks: ThreadLocal and AsyncLocalStorage, the cost of request scope, and a rollout that 791 users saw differently.
-
WebSockets in NestJS, for Spring Developers: One Slow Client, 48 MB →
A client that stops reading: Spring closed it at 512 KB, NestJS queued about 48 MB for it. Measured on both stacks: Socket.IO against plain WebSocket, fan out across two instances, and the slow-client policy you have to choose.
-
Caching in NestJS with Redis, for Spring Developers: Bob Saw Alice →
A cached account endpoint served Alice's balance to Bob on Spring Boot and NestJS. Measured: the key, the lifetime and the fill policy, including when @Cacheable(sync = true) helps on Redis and when it does not.
-
Spring to NestJS Exception Filters: 500 or Process Exit? →
An exception thrown inside a request becomes a response on both Spring and NestJS. A rejected promise nobody owns never reaches a filter, and on Node 22 it ends the process. Measured on both stacks, with the filter, the ControllerAdvice beside it, and the two honest fixes.
-
NestJS Guards for Spring Developers: The Route You Forgot →
A refunds route added beside a guarded payments controller answered 401 in Spring Boot and 200 in NestJS. Measured: global guards with a public marker, 401 against 403, and why @PreAuthorize and a Nest role guard protect different things.
-
Calling APIs from NestJS, for Spring Developers: One Line, Four Traps →
RestClient, @nestjs/axios and the new @nestjs/http-client all waited ten seconds by default. Measured: timeouts and what they do not cancel, the call that never ran, what counts as failure, and a one second timeout that took three.
-
NestJS Integration Tests with PostgreSQL for Spring Developers: Two Rows, Not One →
Two integration tests against a real Postgres: 1 and 1 under @DataJpaTest, 1 and 2 in NestJS, 3 and 4 on the next run. Where the rollback really comes from, where a test transaction stops, and the reset that works for requests too.
-
Spring to NestJS Middleware and Interceptors: Filter ≠ Middleware →
A Spring filter catches downstream errors with a try block around chain.doFilter. The same try block around next() in NestJS middleware catches nothing. Measured on both stacks, with the interceptor that does see the error, one map() that reshapes every response, and the Spring hook whose name misleads.
-
Spring to NestJS with MongoDB and Mongoose: Debit Vanished →
Two debits of 30 and 50 from a balance of 100 left 50, on Spring Data MongoDB and on Mongoose. Measured on both stacks: optimistic concurrency, atomic updates, validation by write path, and why $inc needs its rule in the filter.
-
NestJS Rate Limiting for Spring Developers: The Wrong User Blocked →
Behind a proxy, client two's first request got 429 on Spring Boot and NestJS. Measured: how far to trust X-Forwarded-For, keying by a verified user, in-memory counts against Redis, and a window edge where the two stacks disagreed.
-
Spring to NestJS TypeORM Relations and Migrations: N+1, or Nothing →
The same loop over 20 orders: Spring counted 60 lines in 21 queries, TypeORM made one query and counted zero. Measured on both stacks, with paging a one-to-many, and generated migrations run on real rows.
-
Retries and Circuit Breakers in NestJS, for Spring Developers: One Request, Nine Calls →
One request while the payments API was down became nine calls on Spring Boot and NestJS. Measured: Spring 7 @Retryable and Resilience4j against the new @nestjs/resilience, nested retries, what gets retried, and a breaker that refused fifteen of twenty.
-
Spring to NestJS CORS, Cookies and Sessions: 10,000 Sessions, No Expiry →
A session is the same idea on both stacks: a cookie with an identifier, and state on the server. In NestJS you install that server side yourself, and inherit express-session defaults: a MemoryStore and no expiry. Measured, along with the two browser paths CORS actually takes.
-
Spring to NestJS API Docs with Swagger: 3 Fields → {} →
A typed, validated NestJS request class documents nothing in Swagger by default, while Spring documents the same three fields by itself. Measured on both stacks: why, the hand-written fix that drifts, the CLI plugin that derives it, and the file name boundary it has.
-
Testcontainers for NestJS, for Spring Developers: Fresh Database, Still Two →
A Postgres container per run gave 1 then 2 on every run, on Spring and on NestJS: clean runs, shared tests. Measured: a container per class or file against one for the whole run, and why the order starts to decide.
-
Spring to NestJS TypeORM Entities and Repositories: Changed, Not Saved →
Load an entity, change a field, commit, and never call save. Hibernate writes it; TypeORM writes nothing. Measured on both stacks, with save() against update(), a 64 bit value that loses its last digit, and a TypeORM default that changed between major versions.
-
Spring to NestJS File Uploads and Downloads: Nest Took 50 MB →
Spring Boot refuses a 2 MB multipart file by default. NestJS on Express with Multer accepts 50 MB and keeps it in memory, where heapUsed barely notices. Measured on both stacks: the defaults, the counter that sees the upload, the two-decision fix, and what four concurrent downloads cost buffered and streamed.
-
Spring to NestJS Transactions and Idempotency: Debit, No Credit →
A TypeORM transaction rolled back and the debit survived. Measured on both stacks: what actually joins a transaction, the idempotency race, the unique constraint, and an outbox event for a payment that never existed.
-
Unit Testing NestJS with Vitest for JUnit Developers: Two Calls, Not One →
A mock shared by two tests carried its calls into the second test in a project nest new created today. Measured against Mockito: mock lifecycle on Vitest 4 and 5, clearMocks against mockReset, strict stubs, and vi.mock hoisting.
-
Spring to NestJS Async: One Slow Handler, Everyone Waits →
One NestJS request ran for a second and a half, and an unrelated ping took 1.4 seconds. In Spring the same ping took 4 ms. What changed, and the one word that fixes it only when what it awaits yields.
-
Spring to NestJS Configuration: It Started Broken →
A required Spring @Value refuses to start when its property is missing. NestJS starts cleanly and hands you undefined, and the first payment fails. How to buy the startup failure back, and the boolean trap inside the obvious fix.
-
Spring to NestJS Request Validation: Spring Accepted This? →
Spring accepted a payment amount sent as a string and an extra isAdmin field. NestJS, with its validation pipe switched on, rejected both. Validation is really three jobs, and the two stacks put them in different places.
-
Stop Reading the Code? Uncle Bob's Rule, Tested on a Real Agent →
Robert Martin stopped reading the code his agents write and measures it instead. We built his gates, gave an agent a real refund feature, and attacked the green build to see what got through.
-
Database Scaling, Measured: What to Fix Before You Shard →
Ten million orders and one slow query. The index, a read replica, a Redis cache, partitions and sharding, each measured in turn: what it buys, and the bill it sends.
-
Spring AI and Claude: An MCP Support Agent Where Java Decides →
A Spring AI MCP server gives Claude payment tools. The model can look things up and ask for a refund; it cannot choose the customer, see a card number, approve a refund or move money. Four boundaries, each measured, and 12 tests that need no model.
-
Opus 5.5, Tested in Claude Code: 27 Real Runs →
Anthropic says Opus 5.5 is over 30% faster, 40% cheaper and Fable level. Three real coding jobs, hidden tests and every run kept: the raw speed gain was modest, the big difference appeared once the model became an agent.
-
Spring Boot to Go: What Your Framework Did for You →
A Go API answered 400 and saved the payment anyway. The same service built in Spring Boot and in Go, and every place a Spring instinct quietly stops protecting you, measured.
-
GraphQL with Spring Boot: What the Server Pays →
Twenty one REST calls became one GraphQL request. Then that one request ran eighty SQL queries. Everything a Spring Boot GraphQL server has to get right, built and measured.
-
GraphQL Federation and Kafka, with Spring Boot and Micronaut →
One checkout split the way real teams split it: orders in Spring Boot, payments in Micronaut, composed by the Apollo Router, with Kafka between them. Every failure a senior interviewer asks about, built and measured.
-
Spring Boot to .NET 10: The DI Validation Trap →
The same payment service in Spring Boot and ASP.NET Core. It refused to start in Development and started in Production, and nothing changed but the environment. Four mistakes a Spring developer brings to .NET, each measured on both.
-
Spring Boot to Micronaut: What Moves to Compile Time →
The same payment service in Spring Boot and Micronaut, and four small mistakes that behave differently. Micronaut generates much more of the framework at compile time, but compile time generation is not compile time validation of the whole application.
-
Spring Boot to Quarkus: What Changes at Build Time →
The same payment service in Spring Boot and Quarkus. Controllers, injection and configuration translate almost line for line. Two things do not: who owns the transaction when you save, and which of your settings are decided before the application starts.
-
Spring to NestJS Modules: Registered Is Not Visible →
A service that exists, that Nest built, and that the module next door still cannot inject. Nothing is misspelled. The provider is private to its module.
-
Spring to NestJS Controllers: Two Silent Bugs →
You port a Spring controller to NestJS line by line. It compiles, the application starts, the smoke test passes, and two things are already wrong. Nobody typed either of them.
-
TypeScript for Java Developers: The 20% That Bites →
Your Java instincts read TypeScript correctly about eighty percent of the time. The other twenty percent looks identical and behaves completely differently, and that is where NestJS will bite you.
-
Java to TypeScript: The Setup Nobody Shows You →
Every TypeScript tutorial starts at minute three, on a machine that already has everything installed. This is the part before that, run on a real machine, for Spring Boot developers who have never touched the Node ecosystem.
-
By The Time You Need A Handoff, It Is Too Late To Make One →
The model is unavailable. Usually not an outage, usually a usage limit at four in the afternoon. Exactly two things cross a session boundary on their own, and the list is shorter than you think.
-
You Typed /loop And Walked Away →
Where is that actually running, and what happens to it when you close the terminal? Three answers, and picking the wrong one is not a small mistake.
-
They Agreed. So What? →
You asked Claude, then asked ChatGPT whether it was right, and it said yes. Two models agreed. That is not two checks, and the difference matters more than any workflow tip.
-
Spring Boot to NestJS: Everything That Transfers →
One payment system, built twice, on one docker compose file. Most of what a Spring developer knows transfers exactly, some of it transfers with different wiring, and nine things do not transfer at all. Every number here was measured, not estimated.
-
The Install Guide Nobody Writes: Claude Code From Nothing →
The right command, run in the wrong shell, fails with an error that never says which shell it wanted. That plus four other things that cost people an afternoon, and the five commands that are your entire first week.
-
EJB to Spring Boot: Interface Compatibility Is Not Semantic Compatibility →
The method signature is identical byte for byte and the contract has still changed. A remote enterprise bean call carried the caller transaction, an HTTP hop does not, and nothing anywhere tells you. The incremental method, drawn.
-
Distributed Transactions: What @Transactional Actually Covers →
Rolled back, and the customer is still charged. The measured cost of a remote call inside the boundary, why Kafka is not an XA resource, and the sentence in Spring own documentation that settles the argument.
-
JUnit vs AssertJ vs Hamcrest: What the Failure Tells You →
Three libraries on your classpath all export a method called assertThat, and you almost certainly never chose between them. Most of the time it does not matter. This is about the times it does.
-
Modern Java: Everything That Actually Shipped →
Sixteen features, each compiled on Java 8, 11, 17, 21, 25 and 26. The compile errors on the older releases are left in, because a compiler refusing a file is the most honest way to show when a feature arrived.
-
TDD for Java: The Step Everyone Skips →
A test that has never failed has never proved anything. The cycle on a real refund rule, the evidence with both halves attached, and the objection a sceptic raises at minute three answered honestly.
-
Stop Using One AI for Everything: The Bug You Cannot Reproduce →
A test that passes forty times locally and fails one run in twelve in CI. The fix is four lines. Getting to those four lines is a role problem, not a capability problem, and the step most people get wrong is the review.
-
What Do You Do While the AI Writes the Code? →
Four jobs are left, and one of them makes the other three theatre if you skip it. With three studies read at the source, and a number that did not survive checking.
-
Claude Code: Everything a Software Engineer Needs to Know →
Forty files edited, then escape twice and all of it gone. The undo that makes agents reasonable, the gap in it that is narrower than you think, and the failure that costs the most and gets talked about least.
-
ChatGPT + Codex: Everything a Software Engineer Needs to Know →
An agent reviewed three pieces of Java. Two reviews were right. One was wrong, and it was the most convincing of the three. The setup, the permissions, and how you judge what comes back.
-
You Can Undo What Changed A File →
You have an undo, you have pressed it, and it worked. That experience quietly taught you something dangerous. There is a specific, knowable list of things no undo reaches, and by the time you notice, they have already happened.
-
Something In Your Conversation Is Being Deleted →
Not by you, and not at random. There is a fixed order, and the thing that goes first is not the thing you would have picked. Here is what is in your context window, what it costs, and the four controls you actually have.
-
Same Prompt, Same Project, Worse Answer →
On Monday it produced exactly the right change. On Friday, something confidently wrong. Nothing about the prompt changed. The answer is not prompt engineering, and it is the thing that separates people who get a lot out of this tool from people who quietly give up.
-
Six Servers. What Did That Actually Cost You? →
Most people assume the answer is context. That used to be the right worry and mostly is not any more. The thing that replaced it is more serious and gets discussed far less.
-
It Never Tried To Log In →
You are on a train, the session is on the laptop at your desk, and it just stopped at a login page. The reason is not the one people assume, and one of these limits is not a limit at all.
-
Your Laptop Is Shut. Is It Still Running? →
That question has three completely different answers, and which one applies to you was decided before you left the house. All three look identical on your phone.
-
It Never Logged In. It Still Reached Everything. →
Claude in Chrome closes the loop between writing code and watching it run, by borrowing a browser session you are already signed into. That sentence explains both its power and exactly where it stops.
-
Resuming Yesterday Made Today Worse →
It forgot a decision you were sure it knew, and re-litigated something you had settled. The obvious conclusion is that resuming is unreliable. That conclusion is wrong, and the real reason has a name.
-
You Turned It Up And It Got Worse →
You had a hard problem, switched to the biggest model and turned reasoning all the way up. It second-guessed itself and talked itself out of the right answer. The documentation warns about this, in one short phrase.
-
The Same Document, At Two Different Prices →
The same hundred page document costs you nothing in one place and every session in another. Most people put it in the expensive place, because that is the place they know about.
-
Five Agents Finished Slower Than One →
You split the work across five agents expecting a fifth of the time. It took longer and cost several times as much. That is predictable, and there is a specific documented behaviour that explains a lot of it.
-
Clearing Is Free. Compacting Is Not. →
You asked a one line question at the end of a long day and it drew down your usage like an hour of work. That is not unfair billing, and the fix is a habit that costs nothing.
-
Claude Stops When The Work Looks Done →
One sentence in the documentation explains more about the difference between a good day and a bad one than anything else in it. Without a check it can run, "looks done" is the only signal available, and you became the verification loop.
-
The Java Loop That Is Quietly Quadratic →
It compiles, it passes review, and it is correct. It also gets roughly three times slower every time you double the input, and the reason is a language rule most engineers can recite but do not apply.
-
Senior Kafka Architecture Challenge: Would Your Design Survive? →
Nine changes to one architecture. The first-order answer is easy. The interview is decided by the second-order effect, and by knowing what not to build.
-
Kafka Observability: What Should You Actually Watch? →
Every service is green and payments are twenty minutes late. No single metric tells you where the system is broken, and the layer most teams build is the least useful one.
-
Kafka Idempotency: How to Survive Duplicate Messages →
The duplicate is expected. The question is what your consumer does with it. And the implementation that passes code review is the one that fails under load.
-
Build a Production-Grade Kafka Payment Pipeline →
One payment, five deliberate failures. No single feature makes the pipeline reliable. Reliability is the overlap between eight of them.
-
Kafka Retries and Dead Letter Topics: Stop Retrying Everything →
A retry is a prediction that something relevant may be different on the next attempt. If nothing can change, retrying is not resilience. It is repetition.
-
Kafka Offsets Explained: What "Exactly Once" Really Means →
An offset is not where your consumer is. It is recorded progress, and you decide when to record it. That decision, and nothing in Kafka, is what makes your system at most once or at least once.
-
Kafka Transactions and the Transactional Outbox: Where Atomicity Stops →
The payment committed. The process died. The event was never published. Both orderings leak, and the fix is not the one most people reach for first.
-
Design a Digital Wallet: The $100 Transfer That Disappears →
A customer sends $100, the money leaves their wallet, and the system crashes. Idempotency keys, a double entry ledger, the lost update, one atomic transaction and the transactional outbox, worked end to end.
-
Kafka Rebalancing Explained: The Failure That Looks Random →
Every consumer reports healthy, the dashboard is green, and the lag climbs anyway. Here is what a rebalance actually moves, why a slow consumer gets evicted for being slow rather than dead, and where the duplicate comes from.
-
Kafka Partitions Explained: Why More Consumers Do Not Always Make You Faster →
You added consumers and nothing got faster. One of them is running, healthy, and doing nothing at all. Here is why partitions, not consumers, set your limit, and what it costs to change it.
-
Kafka Ordering Explained: Why Your Messages Still Arrive Out of Order →
Kafka guarantees ordering - but only within a partition. Here is what that actually means, why your consumer can still break it, and a repo you can run to watch it happen.
Nothing matches that yet. Try fewer words, or clear a filter. Tell me what you were looking for and it may become the next episode.