Explore >> Select a destination


You are here

kinoshita.eti.br
| | memo.mx
3.0 parsecs away

Travel
| | Docker multi-stage build is a great way to build a container images with a minimal footprint. Compiled languages like Go or Rust can take advantage of this by just shipping a binary to a container This is an example from the official docs: FROM golang:1.16 WORKDIR /go/src/github.com/alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=0 /g...
| | mbuffett.com
6.5 parsecs away

Travel
| | Just some quick thoughts on Gatsby and Next.js, after trying both for a project I worked on recently (this one). I've been a Next.js user for about a year, and for this project I tried to use Gatsby, with limited success. Hot-reloading Hot-reloading started out pretty shaky for me when I first tried Next.js about a year ago. But since 9.4 it's been spot-on. Gatsby hot-reloading mostly worked well, although if there was an error, the page wouldn't reload after fixing the code. Since errors happen all the time in development, it got pretty annoying to have to manually refresh after fixing every error.
| | hjr265.me
3.6 parsecs away

Travel
| | I have been writing a lot of Makefiles lately. I find them simple and easy to like. And, as with all old-school things, I am starting to overlook its quirks. I needed to write a Makefile that lets me build something with Docker and then export the entire contents of the image to a gzipped tarball. The first part is easy: 1 2 3 .PHONY: build build: (cd $(APP); docker build -t thing-$(APP):latest .
| | minhajuddin.com
18.6 parsecs away

Travel
| In a previous blog post I was trying to store username/email in a case insensitive way in postgres. A few folks commented that the citext postgres extension actually did this in a very easy and straig