Plurrrr

Sun 29 Aug 2021

Develop a Go app with Docker Compose

Writing Go applications in an isolated environment with Docker comes with some great advantages. You get the bare essentials for developing, and you can easily change which Go version you’re developing against.

In this tutorial, we’re going to show you how to structure a Go application with Docker Compose as your development environment.

In the end you'll have:

  1. A docker compose setup to develop in
  2. An HTTP server written in Go that is connected to Postgres
  3. An auto-reloading server that compiles when you change a file

Source: Develop a Go app with Docker Compose, an article by Robert Ross.

CSS masonry

On the surface it seems fairly easy to create a masonry layout with flexbox; all you need to do is set flex-flow to column wrap and voilà, you have a masonry layout. Sort of. The problem with this approach is that it produces a grid with a seemingly shuffled and obscure order. Items will be (unbeknownst to the user) rendered from top to bottom and someone parsing the grid from left to right will read the boxes in a somewhat arbitrary order, for example 1, 3, 6, 2, 4, 7, 8, 5, and so on so forth.

Source: CSS masonry with flexbox, :nth-child(), and order, an article by Tobias Ahlin.

Light Chaser

Amahle is a Light Chaser – one of a number of explorers, who travel the universe alone (except for their onboard AI), trading trinkets for life stories.

But when she listens to the stories sent down through the ages she hears the same voice talking directly to her from different times and on different worlds. She comes to understand that something terrible is happening, and only she is in a position to do anything about it.

And it will cost everything to put it right.

In the evening I started in Light Chaser by Peter F. Hamilton and Gareth L. Powell.