Elixir
Ecto Tips: UUID Boilerplate, Docs, and Composing Changesets
Excellent write-up touching making UUID first-class citizen as your DB IDs (do you use UUID as id, right?) and also couple great tips on documenting and allowing composition of Ecto changesets.
Generate API Documentation Effortlessly from your Phoenix/Elixir code - Part1
First part, of the 3 part series, shows how to annotate your Phoenix code to allow export of
swagger
specification. It leveragesPhoenixSwagger
, which currently supports version 2 of the OpenAPI Specification (while v3 is the current one). Cannot wait for the rest.-
Johanna provides an introduction to newly released Hex Diff. It is fully open-sourced, so you can study the code to learn new tricks.
Infrastructure
-
Set of hands-on exercises / labs to get you started with Kubernetes.
General
Bring your monorepo down to size with sparse-checkout
Git version
2.25.0
introduces better support for sparse checkouts. You can usegit sparse-checkout
to select subdirectories of your interest from the huge repo. This was objectively the only thing I’ve ever missed when switched from subversion many years ago.