I wrote a linter!

Creating a linter in Go is surprisingly easy! I wrote one and integrated it with golangci-lint to diagnose "fat contexts". This post documents the process. | Continue reading


@gabnotes.org | 25 days ago

Go dependencies and binary size

How to prevent your app binary from getting bloated by unused dependencies? How to design your library so it doesn't happen to your users? | Continue reading


@gabnotes.org | 29 days ago

Context-induced performance bottleneck in Go

Misused go contexts can lead to severe performance issues. | Continue reading


@gabnotes.org | 1 month ago

Check your websites for broken links

How I use linkchecker to help me keep my links fresh. | Continue reading


@gabnotes.org | 1 month ago

Unmarshal JSON from HTTP request in Go

Use json.Unmarshal instead of json.Decoder, or a thin HTTP client library. | Continue reading


@gabnotes.org | 2 months ago

My subscriptions

List of my monthly subscriptions and their cost | Continue reading


@gabnotes.org | 6 months ago

Gin Method Not Allowed

By default gin returns a 404 for an incorrect HTTP verb sent to a handled path. This can be fixed. | Continue reading


@gabnotes.org | 6 months ago

Upgrade PostgreSQL in Docker

Upgrading postgresql in Docker can't be done in-place, so here's a scripted version to help you do so. | Continue reading


@gabnotes.org | 8 months ago

find to the rescue

find has many filters to help you locate the files you're looking for. | Continue reading


@gabnotes.org | 10 months ago

Update this feed's URL

The RSS feed for this blog has changed. | Continue reading


@gabnotes.org | 11 months ago

To a new adventure!

I have a new job | Continue reading


@gabnotes.org | 1 year ago

pip-tools for Python dependencies management

Here's how and why I use pip-tools for my side-projects. | Continue reading


@gabnotes.org | 1 year ago

Setup rtx with direnv for Python

Improve startup time and simplify your PATH | Continue reading


@gabnotes.org | 1 year ago

Create a CSR with SAN

How to generate a CSR for a basic certificate supported by modern browsers | Continue reading


@gabnotes.org | 1 year ago

Reduce your page load time with htmx in less than an hour

HTMX is a wonderful piece of technology for backend developers who don't want to write frontend code but still provide nice UX. | Continue reading


@gabnotes.org | 1 year ago

Certificates chain correct order

Certificates in a chain file should start with the "final" certificate (the cert issued to you). Each following certificate should be the issuer of the previous one. | Continue reading


@gabnotes.org | 1 year ago

Optimize large Django migrations

Sometimes more is less. | Continue reading


@gabnotes.org | 2 years ago