Recreating Elixir's Enum.sum
I’m learning Elixir, and today as an exercise, I was challenged to recreate Enum.sum using recursion. Here’s my solution. ...
I’m learning Elixir, and today as an exercise, I was challenged to recreate Enum.sum using recursion. Here’s my solution. ...
Recently a friend asked me this question about server-side sorting in Rails. Here’s the question and my answer. ...
After a recent talk I gave that included VimScript, an attendee asked a question about the differences between keyword, match, and region following syn in a Vim syntax highlighting file. Here’s my answer. ...
A while back I tackled the following programming challenge: From One End to the Other: Find the smallest possible (positive) integer that ends in a six such that if that six is removed and placed in front of the remaining digits of the number, the resulting number will be four times as large as the original. ...
A few weeks ago I built a program to display an LED clock. Here’s the problem, and my solution. ...
A while ago, I solved the round robin following programming challenge in Lua. Here’s the problem, and my solution. ...
A few weeks back I tackled the following programming challenge from my colleague Josh Branchaud: Vim Buffer I open up a new Vim buffer and type all the numbers 1 to 10,000, separated by spaces. Then, my cat walks on the keyboard and somehow activates a substitution command that replaces all the ‘0’ digits (zeros) with spaces. If I now sum up all the numbers in the buffer, as delineated by spaces, what is the total? ...
Here’s my annual professional review covering 2015. ...
This month marks three years since I started programming; I’d like to take a minute and reflect on this milestone. ...
Project announcement! Last night I built a Markov Chain-generated novel, titled Ceramic Nation. ...
Don’t miss my next essay
Hear from me immediately when I post: no ads, unsubscribe anytime.