At Meltwater I had some fun generating CSV files with Elixir that played nicely with Excel. I wrote about the solution on our Engineering Blog…
Recently I needed to change the primary key on an existing database table in a Phoenix project. While it sounds straight forward, there were a few hoops to jump through. I put together a writeup on how I went about it.
Elixir 1.5 is powered by the latest Erlang/OTP 20. One the nice things this brings is iex history persistence.
When dealing with collections, I frequently find myself filtering and mapping a collection to extract the results I need. Elixir’s
Enum library has a great
filter_map/3 function to simplify this…