Today I Learned
A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies.
Inspired by Josh Branchaud's til.
- Distributed Erlang
- Distributed Erlang sync nodes
- Dynamic supervisor start children
- Ecto stream to list
- Ecto Repo's connection process
- Ecto virtual field
- Error handling in Elixir libraries
- Exception message
- External resource module attribute
- Graceful shutdown
GenServer
hibernate after start optionGenServer
name registration using:via
option- Install Elixir and Erlang with
asdf
version manager - Pattern match struct name
- Postgrex copy from STDIN
- Process links
- Running Erlang's observer on macOS
- Running Observer on a remote node deployed with Distillery
- Read from the application's directory
- Remove unused dependencies from
mix.lock
- Revert Hex package
- Rollbar exception reporting for Phoenix
- Running Ecto database migrations during deployment
- Start an Elixir application's dependencies
- Testing plugs
- Travis CI Ecto migrations
- Use Ecto's UTC datetime type
- Use monotonic time for timing