Reader's Digest 2021-06

Reader’s Digest I thought it would a cool idea if I kept a summary of the things I’ve read or listened to on a monthly basis. Here is June of 2021 so far. Enjoy. Hell Divers 6: Allegiance I love the Hell Divers series. I listened to this one on audible as always and it was fantastic, as always. King Xavier Rodriguez. That sounds as bad ass as it is. We follow King Xavier and Rhino, his trusted subordinate into battle with a new threat called Skin Walkers and of course the machines, the defectors which are trying to kill everyone. Also, there is now a signal from a possible group of people who are surviving on the surface for more than 200 years! Xavier hates being king but does anything to keep the peace and humanity alive. Sadly, not all of his people agree to that especially not after what they did to their people. The people of the metal island, the cannibals are harsh people. And they don’t get along nicely all the time. ...

June 30, 2021 · 6 min · hannibal

Blog refactor

Blog Refactor Finally, I went back and fixed a lot of old posts and old code entries. I tried to fix and repair links and images, but some are lost forever on some obscure WordPress blog which I used to use. I’m glad though that the code is intact and I could re-read a lot of my old stuff. It’s interesting to see how much I evolved, how much my writing evolved. I used to write a lot of groovy and python and java and bash and ruby. ...

May 25, 2021 · 2 min · hannibal

Reader's Digest 2021-04

Reader’s Digest I thought it would a cool idea if I kept a summary of the things I’ve read or listened to on a monthly basis. Here is April of 2021 so far. Enjoy. Invincible After seeing it air on Amazon Prime, I had to go and read the comic. It’s quite a lot, but I assure you it’s worth it. Some spoiler alerts… Okay, so we follow this guy, Mark Grayson. He’s Invincible. He is also and alien, called a Viltrumite. I can hardly summaries over 3000 pages of comic books so I’ll try to be brief. ...

April 21, 2021 · 3 min · hannibal

Reader's Digest 2021-03

Reader’s Digest I thought it would a cool idea if I kept a summary of the things I’ve read or listened to on a monthly basis. Here is March of 2021 so far. Enjoy. The Aurora Database paper The paper about Aurora database from AWS can be found here: Paper. It details the design decision taken to support a highly available, fault tolerant, fast replicating database. They take the following approach… They modified mysql database such as that they only send around the redo log and the redo log is enough to recover / replicate in order to achieve write and read consistency. They separate the data into Protected Groups and speed up terabytes of recovery by doing 10 Gigabyte segments in parallel. The database IS the logs. By only replicating the log instead of the data and the data page, they save millions in networks costs. The main gain however, is that the storage was modified to understand the application. Instead of using General store they use a storage which understand the data. In this case, decoupling storage from the database, as so many do, was actually a drawback. ...

March 23, 2021 · 7 min · hannibal

Reader's Digest 2021-01

Reader’s Digest I thought it would a cool idea if I kept a summary of the things I’ve read or listened to on a monthly basis. Here is January of 2021 so far. Enjoy. All systems red - Murderbot This book is SHORT. It’s little over 3 hours of listening time. I’m listening at 1.30 so it’s just short of 2 hours. But it’s entertaining. The murderbot series is following a rouge security bot which hacked its own governor module and is self aware and free. But… it kind of hates humans and interacting with them. It just calls itself murderbot but has no intention of killing all humans. Instead, all its wants to do is basically… watch movies and various series on something called a Feed. In the first book of the series, this one, we follow Murderbot protect a few humans that it gets to short of like after an attempt on their lives. ...

February 1, 2021 · 4 min · hannibal

How to deploy a Go (Golang) backend with a React frontend separately on Kubernetes - Part One

Intro Welcome. This is a longer post about how to deploy a Go backend with a React frontend on Kubernetes as separate entities. Instead of the usual compiled together single binary Go application, we are going to separate the two. Why? Because usually a React frontend is just a “static” SPA app with very little requirements in terms of resources, while the Go backend does most of the leg work, requiring a lot more resources. ...

July 23, 2020 · 14 min · hannibal

How to do a good code review

Intro Hi folks. This time, I would like to talk a little bit about code reviews. How do you do code reviews? Don’t hesitate to share it in the comments. How do I do code reviews? Well read on if you would like to know. The Top Down approach If I’m dealing with a small code change, a couple of lines here and there in the odd file first, I’ll try to understand why the review is there? What was it trying to achieve? What’s the goal of the change? Is there a ticket/issue I can read for background info? Or an RFC? ...

May 11, 2020 · 6 min · hannibal

How to Make SPA refresh work with a Go backend

Intro Hi folks. Today I would like to share a quick “fix” for a problem I’ve seen popping up here and there. That is, if you have a react frontend which is a SPA app but you still want refresh to work. What do I mean by that? Consider the following… The problem You have a SPA app with a react router which navigates the user around. The app calls to a backend api which serves content of some kind. You have the following routes…. login, signup, reset, archive. ...

February 17, 2020 · 4 min · hannibal

Using a Kubernetes based Cluster for Various Services with auto HTTPS - Part 2

Intro Hi folks. This is a continuation of the previous post about my Kubernetes infrastructure located here. The two remaining points are to deploy Athens Go proxy and setting up monitoring. Athens Let’s start with Athens. First of all if you are a helm user, Athens has an awesome set of helm charts which you can use to deploy it in your cluster. Located here. I prefer to deploy my own config files, but that’s me. So here is my preferred way of deploying Athens. ...

October 15, 2019 · 8 min · hannibal

Summary of Practical Go workshop from Dave Cheney

Intro Hi folks. So there is this workshop from Dave Cheney. And I thought I’d draw a sort of summary of that workshop. Right-click->Open Image for higher resolution. Cheers, Gergely.

October 10, 2019 · 1 min · hannibal