An Engineer's musings
Notes on building software — languages, tooling, and how things work under the hood, with the occasional tangent. Kotlin and the JVM show up often, but each post is really just a careful look at an idea worth understanding.
Latest posts
-
I Stopped My 2019 Intel MacBook Pro From Bleeding Battery Overnight — Here's What Actually Worked An Intel Mac draining ~28% overnight wasn't the failing battery — it was one Continuity feature holding the CPU awake. The one-toggle fix, with measured results. -
Diagnosing a Sluggish Intel Mac: A Field Manual Eight terminal commands that tell you why an Intel Mac feels slow — swap, memory pressure, runaway CPU, rogue VMs, and sleep blockers — and how to read each one. -
Kotlin Lambdas Get Clever: References, Receivers, and inline Function references, non-local returns and labels, anonymous functions, why inline makes lambdas free, lambdas with receivers, and the scope functions. Part 2 of two. -
A Kotlin Lambda Is Just a Value Lambda syntax, function types, it, higher-order functions, the trailing-lambda convention, the collection API, and closures. Part 1 of a two-part tour. -
Unchecked and Unbothered: How Kotlin Rethinks Java's Exception Handling Kotlin drops checked exceptions entirely. Here's what that changes day to day, and the compiler trickery that makes it work.