Pedro Assumpcao

Son of the Creator, brother of the Redeemer, husband of the wonderful, father of a brainy boy and an adorable girl. A blessed one.

Chicago
13 posts
Website RSS

Ecto type for IPv4 and IPv6 addresses

Sometimes we want to store some type of data in the project's database that currently is not available as a valid internal data type to be persisted. For example, IP addresses, that are

CityBase blog post about Elixir

This month CityBase posted an article that I wrote on Elixir and the reasons the language is a very good fit for Govtech, you can read it here: https://medium.com/@citybase/elixir-a-big-picture-programming-language-755dcef2fa6a

Personal notes about Elixir Daze 2017

These are my personal notes about Elixir Daze 2017 where I had a really great time, enjoyed the learning and conversations. Elixir Daze [http://www.elixirdaze.com] is considered (by the organizers) a

Using Postgres range data type in Ecto

Since PostgreSQL 9.2 we have the ability to store and query range of values with specific operators and functions. This is a super nice feature that removes complexity when handling logic around