Engineering notes

How things actually work — the mechanism, the defaults, and what they cost you. Written against primary sources and reviewed before publishing.

·7 min read

Spring Boot File Upload Example, and What Really Happens to the File

A working Spring Boot file upload with curl output for every case: the 1MB limit's empty 413, the temp file, getBytes() heap cost and a real ../ escape.

Backend & APIs
·8 min read

Spring Boot Exception Handling, Tested Against Every Failure a Caller Sees

A Spring Boot exception handling example run against twelve failing requests — including the catch-all handler that turns every 405 into a silent 500.

Backend & APIs
·7 min read

Java Collections Interview Questions, Answered by Running Them

Seven Java collections interview questions answered with program output, including the loop removal that throws nothing and silently skips an element.

Java
·7 min read

Python vs Java, Measured — Including the Run That Gave the Wrong Answer

The same work written twice and measured on one machine — where Java won a benchmark by 110 times and returned an answer that was silently, enormously wrong.

Java
·6 min read

Spring Boot Interview Questions for Experienced Developers, Settled by Running Them

Seven Spring Boot questions senior interviews ask, answered with real output — starting with the @Transactional method that threw and still committed.

Backend & APIs
·7 min read

Java 8 Stream API Interview Questions, With the Output to Prove It

Java 8 stream interview questions answered with output from JDK 8, 21 and 25, including a sorted() that did no work and a parallel reduce wrong every time.

Java
·7 min read

Git Interview Questions and Answers, Proved in a Terminal

Ten git interview questions answered with terminal output on git 2.50.1, from what a commit holds to why following git's own push hint undid a fix.

Cloud & DevOps
·7 min read

Dockerfile Best Practices, Each One Built and Measured

Seven Dockerfile best practices, each measured: a 4.81s rebuild cut to 0.54s, a removed compiler still costing 240MB, and why exec form won't stop cleanly.

Containers
·8 min read

A Jenkins Pipeline Tutorial That Times Every Stage

A declarative pipeline built and run on Jenkins 2.568.3, with the per-stage numbers the tutorials leave out — including what a single sh step costs.

Cloud & DevOps