The musings of a nerd

Testing External Dependencies with Fakes

Third-party solutions can solve difficult problems when you're writing code, but relying on remote services makes writing automated tests more complicated. You can use fakes to solve this problem.

When to Parallel Map

In his book, Programming Elixir, Dave Thomas referrs to the parallel map function as the “hello world of Erlang”. It is a fun problem to solve! The premise is relatively simple, the operation performed on each element is done in separate processes. This allows the work to be done in parallel on the collection. If you’re interested in an exmaple, check out my friend Nathan Long’s post

Visual Guide to Folding

You know folding. You fold things everyday, clothes, paper, stacks of cash.

More posts…