esham.io - Benjamin Esham

Description: Essays on software development and other nerdy topics.

Example domain paragraphs

Software engineers use the Fibonacci numbers in two equally important contexts: to demonstrate their knowledge of recursion during interviews, and to plan their work using story points , which are time estimates but with plausible deniability. It was in the latter context that I noticed something about the Fibonacci sequence that I hadn’t before: each number is a little less than twice the preceding number, and in fact the difference is one of the earlier numbers in the sequence. If \(F_n\) is the \(n\) th

I always find these kinds of things easier to understand with examples—and I was in a JavaScript-y mood this morning—so here’s an interactive visualization of this fact. You’ll need JavaScript enabled to see it. Click or tap on one of the numbers to see how it’s determined by the one before it and the one three before it.

Direnv is a utility that makes it easy to set and unset environment variables as you move between directories on the command line. It works great, but its output can be a bit noisy. For some projects I use direnv with Lorri to set an entire Nix shell ’s worth of environment variables, and when I cd into one of these projects direnv produces a lot of output:

Links to esham.io (4)