This post demonstrates how to connect to MySQL from Ruby, insert, select and delete table rows.
Ruby – How to Unit Test your Codes
This post demonstrates how to unit test your Ruby codes. Note that Ruby-on-Rails (RoR) is not used here.
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
Web Service Using Apache XML-RPC: Server And Client-Side
This articles demonstrates how to use Apache XML-RPC in Java command-line applications. We will create programs both for XML-RPC server and client.
How to write Logographic Characters to Files using UTF-8 Encoding
Background This article demonstrates how to write various logographic characters like Kanji (from Japan), Hanja (from Korea), and Hanzi (from China) to files using UTF-8 encoding. In a B2B system, it is not uncommon to read and write files in
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.