Installing Podman 5 in Debian Bookworm

I’m testing out Podman Quadlet in my Armbian installed on my Orange Pi 3 LTS SBC. The Armbian distribution is based on Debian Bookworm. However, It only ships Podman v4.3.1 which doesn’t support the automatic podman-systemd generation yet.

In order to install the latest Podman (v5.4.2 as of the writing), I need to install it from the testing release repository.

NOTE:

If you’re looking for tutorial for Ubuntu, follow this instead: https://github.com/containers/podman/discussions/25582

Read more →

Testing WebSocket in Go

Testing WebSocket in Go

It’s been a while since my last post in this blog. I also posted some posts in my Medium while I was in the Gojek Bootcamp. Feel free to check it out here.

A few weeks ago, I got this idea for making real-time chat server with WebSocket. I was curious because I had never been playing with WebSocket in Go previously.

Writing test for WebSocket

The idea behind why I wrote the test for WebSocket was that I wanted to try end-to-end test in Go. It was something that I had never been done before. I used to not writing test and tested the code end-to-end manually. And it was such a PITA.

Read more →