RSSAmplifier

Blog

Aditya Thebe Personal Blog RSS Feed

This little corner on the Internet is where I pen down my random thoughts mostly on Bitcoin, Web security, Linux and various web technologies ...

adityathebe.comRSS feed ↗64 posts

Latest posts

Kubernetes Tidbits

A list of kubernetes FAQs or lesser known information about it

The implicit permissions of a service account in Kubernetes

A fresh Kubernetes service account with zero Roles and zero RoleBindings still isn't powerless. Here's what permissions it actually has by default — and where they come from in the source code.

How to Set Up Workload Identity Federation between K3s and AWS IAM

Learn how to set up IAM roles for service accounts (IRSA) in your K3s cluster

Go v1.21+ Auto-Downloads Toolchains and Verifies Them Using a Transparency Log

since Go 1.21, the go command can automatically download newer toolchains—and verify them against a cryptographically auditable log. This led me down a rabbit hole into how transparency logs work, what Merkle trees actually do, and why someone is independently rebuilding every Go toolchain from source.

Why is Golang's atomic.Bool 32 bits (not 8 bits)

Exploring why Go's atomic.Bool uses 32 bits internally instead of a single byte—it's all about CPU architecture and atomic operation efficiency.

Backup your GitHub repositories now!

Account suspensions on GitHub are unpredictable and appeals take months. Here's how I use gickup to automatically backup all my repositories daily with a simple, hands-off setup.

Delete all files in a Cloudflare R2 bucket using rclone

How to quickly delete all files from a Cloudflare R2 bucket using rclone instead of the web UI or AWS CLI

Fix invalid version: unknown revision from go get

Running go get on a version that hasn't been released poisons the go proxy cache. Here's how you can bypass the cache and hit the module directly.

Git Objects

The best way to take your git knowledge to the next level is to understand the 4 fundamental objects in git.

Running AI agents in parallel

Parallel agents to brrrr ....

Bypassing DRM protection to download a movie

Here's how I obtained a DRM protected video with Go and FFMPEG.

ARP - The DNS for IP addresses

Address Resolution Protocol maps IP addresses to MAC addresses similar to how DNS maps domains to IP addresses.

IP Routing in Linux

Learn how a linux system decides to route packets out of it

Golang Footgun: Why is this interface not nil?

I recently ran into this nasty bug in Go where an interface that was supposed to be nil wasn't.

Git Hygiene: How to Automatically Delete Stale Local Branches

Learn how to keep your Git workflow clean by automatically detecting and removing stale local branches that no longer exist in the remote repository. This step-by-step guide shows you how to create a custom Git alias to streamline branch management

Why I switched from Arch Linux to MacOS

I recently bought a Macbook Pro and I've been using it exclusively as my development machine.

A breath of fresh air

Exploring AI tools like Cursor, Cline, ClaudeCode and SuperWhisper, investing in a BlueAir purifier for Kathmandu's pollution, and continuing my driving lessons.

Don't think with your fingers

Using SuperWhisper to write better blog posts

Motorcycle Trip: Kathmandu to Mustang

Jomson, Mustang Itenerary for a motorcycle trip

Podcast Notes & Review - Modern SQL

My notes on an episode of postgres.fm

Reflecting on My iPhone Experience: The Good and the Bad

My experience as an Android user moving to Apple.

How I use SimpleAnalytics to monitor traffic on this blog

My simple setup for checking blog stats: SimpleAnalytics + a custom Telegram bot

SET LOCAL, Stay GLOBAL - A PostgreSQL Cautionary Tale

A hidden quirk in PostgreSQL's SET LOCAL command and how it unexpectedly affected our Row Level Security policy.

Debugging disk usage On Linux

Here's how I am monitoring disk usage on Linux

Video Files Demystified

A Guide to Understanding Containers, Codecs, and Transcoding

Understand Public Key Infrastructure & Certificates

Learn about about the shortcomings of public key encryption and the need for a trusted 3rd party - Certificate Authority.

An overview of the gzip & zip file formats

This blog post explores the differences between gzip and zip, two popular file compression formats

No, your sudo password is not incorrect

sudo rejects password that is correct

How to setup debugger for Golang in VS Code

Setup and configure Go debugger in VS Code. Learn to create launch.json, attach to running processes, and troubleshoot common issues for effective Golang debugging in VS Code.

Setup DNS Over TLS with systemd-resolved & Next DNS

Setup DNS over TLS with systemd-resolved, NetworkManager and NextDNS

Flying with NixOS

My NixOS Proxmox VM is ready to fly!

Developing on a NixOS VM in Neovim

I did a lot of neovim work this week.

All about Git & Unix

This week I share a couple of new things that I learned about Git

Dockerfile isn't the only way to create Container Images

Dockerfiles are a common way to create container images, but they aren’t the only option

My Backup Strategy

The 3-2-1 backup strategy with Restic, Backblaze B2 and rclone.

Improve your Google dorking with keyboard shortcuts

In chrome based browsers, you can setup keyboard shortcuts for site search & search engines.

Pacman for newbies

A list of commonly used commands for the Pacman package manager.

Here's how you can wake up early without waking up early

Here's a silly but effective life hack for the night owls out there.

My New Year's Resolution for 2023

It's that time of the year again... Here's my New Year's resolution for 2023. Unlike previous ones, I'm going to stick to this one.

Places To Go On A Ride Around Kathmandu

Sharing a handful of places I've gone on a motorcycle ride around Kathmandu.

Hands-on Aerospike with Go

Get hands on introduction to Aerospike with Golang

Cursor-based pagination vs Offset-based pagination

The basics of cursor vs offset based pagination

Dependency Injection In Go With Context API

This week I share a couple of new things that I learned about Go

Git tricks & Deterministic builds on NPM install

Try out this git one-liners like a git ninja!

Number of lines of code in my website

My website apparently has fewer lines of code than I expected

Make sure to clean your Go build cache

For faster build time, the go command caches build outputs for reuse in future builds. This cache dir piles up, so make sure to clean it periodically.

Security and Analytics

This week I re-added simple analytics to my website and fixed a major bug that was costing me $70 every month

Introducing Weekly Journals

I have added a weekly journal section in my blog where I'll post updates about the things that I learn, build and experience every week

GRPC, ProtoBuf and weekly journals

This week I learned about ProtoBuf, gRPC & sql in Go

Anatomy of Go Slices

Let's take a closer look at the anatomy of Slices in Go.