Digests » 85
this week's favorite
While adding Credo as supported linter on Hound, I ran into a problem that I hadn’t seen before. I needed to run mix credo in a temporary directory, but soon discovered Mix only searches the current directory for a .mix.exs. What this means is that you can only run mix from the root of your project if you depend on any configuration or dependencies in your mix.exs file. In most cases this isn’t a problem, but for how Hound works, it introduced a challenge.
The Unix Timestamps in Elixir post is by far my most popular one. Because a lot changed in recent Elixir versions when it comes to handling of calendar types (such as dates, datetimes and times), I though it might be a good idea to update it.
DHH forever changed how we build saas applications in 2004. While corporate behemoths labored in heavy enterprise level stacks like spring, Rails enabled rapid development of features from zero to a working application in breakneck speed.
It turns out that implementing HTTP Basic Authentication in your Phoenix app is easy when you use plugs. Let’s first see how the plug itself works:
Bleacher Report has gone from needing 150 servers to just five, thanks to its decision to move from Ruby on Rails monolith to Elixir Phoenix.