blog post: translating ruby to elixir