What is the Modulus Operator? A Short Guide with Practical Use Cases

Addition, subtraction, multiplication, and division. These are the four mathematical operations I was taught during my childhood education, and their operators, +, -, *, /, are very familiar. I was not taught %, the modulus operator, which I recently discovered can be quite useful and interesting in its own right.

Continue Reading

TIL: Compound Assignment Operators in CFML (+= and more)

Okay, so this is slightly embarrassing, in that I’m writing about a “feature” that was added in ColdFusion 8… so, over 11 years ago. I’m talking about the compound assignment operators: +=, -=, *=, /=, and %=.

Continue Reading

How to Install and Manage Multiple Versions of Java (hint: jabba and jEnv)

One of my goals for the coming months is to improve my proficiency with Java; that is, to put some real knowledge behind my current patchwork understanding, pieced together over the years via trial-and-error.

Continue Reading

Into The Box 2019 (w/slides and code)

Many thanks to the (growing) team at Ortus Solutions for their tremendous work with this year’s Into the Box conference. True to form, it was filled with in-depth sessions and a relentless emphasis on modernization, best practices, and advanced tooling.

Continue Reading

Script to Create Docker Swarm on DigitalOcean

My goal here was to put together a script for easily setting up a Swarm on DigitalOcean. As with the previous post, I wanted to do this without relying on Docker Machine, so again, I leaned on doctl to do the heavy lifting.

Continue Reading