Ruby – Basic Inheritance

This post talks about how to implement basic inheritance in Ruby using a simple example. I’ll throw in some comparisons with Java.

Chapter 1: Introduction To Python 3 That Does Not Bite

Python is a general-purpose programming language that is available in many operating systems.  When we run a Python program, we run it using the Python interpreter. However, there is more to that than meets the eye. The Python interpreter reads

Micronaut Consul Distributed Configuration Example In Java

When we start to build something based on Microservice design, we’d inevitably need a distributed configuration for our applications. Having a distributed configuration makes scaling them out a lot easier. This post shows how to configure Micronaut to pick up

Micronaut Consul Service Discovery Example In Java

Previously, we had an application that reads a property from a distributed configuration. This post shows how to use Micronaut with the Consul’s Service Discovery. We will use two applications where one of them accesses the other’s URI. Also, we

Run Multiple Micronaut Applications In IntelliJ Without Docker

Working with Microservices sometimes involves testing multiple instances of an application running on different port numbers. At times, we’d prefer to spawn those instances straight from our IDE, e.g., IntelliJ. For example, we’d like to figure out an ideal configuration

How to Read UTF-8 Encoded Files

This article demonstrates how to read files written in various logographic characters like Kanji (from Japan), Hanja (from Korea), and Hanzi (from China) using UTF-8 encoding.