Catching Slow Go Tests
The Problem Hello, in this short and sweet post, I will show a handy bash script to catch slow go tests based on their durations and their go cache status, but first we need to define the problem. Our current problem is when I run go test -v ./... we get simply huge output that is overwhelming with subtest outputs as well as t.Parallel pauses/continues. Plus, my inner OCD strikes when some things are always cached and some things are always not cached, I could never guess why and I never have time to look at plain log that has 1 million lines....
Packaging Go for Arch Linux Tutorial
Getting Started In this tutorial, I will be showing how to package Go application for Arch Linux User Repository (AUR). We will be opening an AUR account and go through PKGBUILD template and follow Arch’s Wiki guidelines for Go. By the end of the tutorial, you will be able to upload your own Arch package that uses Go to AUR. The Requirements Git Go Arch Linux x86_64 AUR account Setting up AUR account and SSH key We will fill up the username and the email in this form, as well as the most important one public ssh key....
Arch Installation for Beginners
Getting Started Hello everyone, in this blog I will help you bootstrap your arch linux setup in 5-10 minutes, and teach you where you can look into when you need help. Arch Linux has been one of the most difficult distros to setup until the new convenient archinstall script. I will be using archinstall script in this guide. It is known with its non-exhaustive user friendly TUI installation phase. First of all, ensure you install the ISO from Download Page, Arch is used within the whole world so don’t be scared of picking the closest mirror to yourself....
Why You Should Not Trust Corporate Linux Distros
The Great Drama As you know, Red Hat(actually IBM) decided to shoot itself in the foot again a month ago by closing the RHEL source code leaving downstream community/corporate based linux distros airless and causing great distress to many businesses and many people. If you wanna get a quick summary, I suggest reading Red Hat strikes a crushing blow against RHEL downstreams As a Fedora user, I have tried to sit back and relax and watch from a distant place to see if there were gonna be a decision to rollback on this decision but unfortunately, Red Hat press kept fueling the fire for a while, I also love to analyze fast decisions in the long term to see if it was really well-thought but I have to say, I was a bit Red Hat biased because of being a micro business owner and seeing many open source small businesses not making enough from what they provide to other people....
Broke Captain's Kubernetes Cluster Guide(super simple & convenient cost)
The Intro In this guide, I will be showing how to set up a simple Kubernetes(K3S) cluster which will have 1 master node and 2 worker nodes on Hetzner Cloud. My main goal is to make newcomers’ transition to Kubernetes very smooth as a person who suffered enough with complex tutorials/bills and didn’t get enough chance to poke a Kubernetes cluster. This tutorial should be applicable to any cloud provider but be warned pricing would be extremely different....
[DEV PART 2/2] Serverless Highscore Go API with Faasd and CockroachDB
The Intro Hi everyone, this is the 2nd part of the series, we will be developing our API in this part. I will assume you have already followed the previous part and setup faasd and CockroachDB in your cloud server instance and have faas-cli in your both client computer and cloud server instance. I will also assume you have Go on your computer and a proper text editor. Let’s quickly get started....