gRPC vs RabbitMQ RPC: How Do They Compare for Microservices?

gRPC vs RabbitMQ RPC: How Do They Compare for Microservices?
How do gRPC and RabbitMQ RPC compare for microservices? This article explores the differences between gRPC and RabbitMQ RPC, two leading frameworks in remote procedure calls (RPC) for microservices architecture.
Read more →

RabbitMQ Auto Reconnect Node.js

RabbitMQ Auto Reconnect Node.js
Auto reconnect to RabbitMQ in Node.js on error
Read more →

Golang Integer to String

Golang Integer to String
How to convert an integer to a string in Golang
Read more →

Git pre-commit hook with Husky (NPM) + ESLint hook

Git pre-commit hook with Husky (NPM) + ESLint hook
Do you want to ensure that your project’s codebase remains clean, maintainable, and bug-free? Look no further than Git pre-commit hooks with Husky. In this article, we’ll guide you through the easy installation process and show you how to set up pre-commit hooks to enforce coding standards. Plus, we’ll demonstrate how to customize hooks to fit your project’s specific needs. Don’t miss out on this easy and effective way to improve your code quality!
Read more →

Connect to Bluetooth Low Energy devices using Golang

Connect to Bluetooth Low Energy devices using Golang
Using Golang and TinyGo’s BLE library, learn how to connect to Bluetooth Low Energy devices. This introduction uses the AOJ-20A thermometer from Lepu but using other BLE enabled devices will work in a similar way.
Read more →

WebAssembly: Go vs Rust vs AssemblyScript

WebAssembly: Go vs Rust vs AssemblyScript
Imagine you are working on the next big thing that runs in the browser, and it requires some heavy-duty code, which need to run fast and efficient. You remember that your friend Jack told you about WebAssembly (Wasm), which supposedly runs faster than JavaScript (JS), so you decide to check it out. The thing you are working on involves sorting large amounts of data, so you test a pure JS implementation first.
Read more →

Go: Cross-Compilation including Cgo

How to cross-compile applications for other platforms with Go and Cgo
Read more →

Things to Follow

Read more →

Golang Errors With Stacktrace

Golang Errors With Stacktrace
Problem # The error handling of Go is not up to snuff compared to other languages like Java for example. Errors are treated equally to other values, meaning, they have no special type. This means, they do not carry information of origin in them. Which makes tracking down the error origin more difficult. Let me show that to you. package main import ( "errors" "fmt" ) func main() { err := NewErrorWithStackTrace() if err !
Read more →

Golang Generic Option Type

Introduction # You might have heard of the Option type, if not, let me introduce that concept shortly. An Option type is data structure which either has a value or no value contained in itself, it kind of acts as a box (Schrödinger’s cat 😉). Usually, the Option type is created with a constructor such as Some(value) or None(). From there, the type usually offers methods which can act in case a value exists.
Read more →