Keycloak tip: using the delete account functionality in the legacy account console

Keycloak offers a delete account functionality that allows end users to delete their own acount. This functionality is only available for the account console v2 and can be activated by...

Goodbye Upwork

I am now officially out of Upwork as my account have been suspended, and permanently. I received an email from their support stating the following: Hi...

Keycloak tip: disabling the review profile step when using twitter as an identity provider

If you are using twitter as an identity provider in Keycloak, you may have encountered an annoying little gotcha when the user logs in for the first time: the review...

Devops tips: using the minikube registry addon for a faster container image lifecycle

You may have encountered situations where you have to push and pull container images frequently when developing locally using minikube. Imagine that your container images are a few hundreds of...

Code generation in Golang: using the go/ast package to add doc comments

I worked recently on a task that consists of adding Swagger docs comments (from the swag project) to HTTP handler functions in a project written in Go. The swag...

Grayscaling an image in golang (without external libraries)

Grayscaling an image is a widely used transformation that consists of converting an image’s colors into shades of gray. This implies that the amount of color information required to encode...

Deep Dive into Progressive JPEGs: the DC and AC coefficients

As we have seen in part1 - A walkthrough progressive JPEGs, the progressive loading or decoding of a JPEG image can be customized using a scan script. The progressive...

Kubernetes on Digital Ocean: learnings from using kops

Being a user of the Digital Ocean managed Kubernetes service for a while now, I decided to explore a home made solution to see if I can get...

image compression with MozJPEG: using a memory buffer instead of a file stream

MozJPEG’s API is built around the concept of destination and source managers. As their respective name implies, destination and source managers tell MozJPEG where to read/write data before/after compression. The...

compressing an image with MozJPEG: full example using jpeg_stdio_src and jpeg_stdio_dest

I was recently looking for a full example of compressing an image programmatically using MozJPEG, without success. The example provided in the official repo is good...