Tutorials

golang.pngGolang : Configure Apache and NGINX to access your Go service example

16th August 2019

Recently I developed two services that allows translation of Bahasa Malaysia in Roman alphabets to Jawi(calligraphy form) and .... read more



golang.pngGolang : Get Hokkien(福建话)/Min-nan(閩南語) Pronounciations

8th August 2019

I built this tool for my own use and use it to teach my kids Hokkien a.k.a Min-nan language. At….... read more



golang.pngGolang : Simple Jawi(Yawi) to Rumi(Latin/Romanize) converter

7th August 2019

A simple example on how to use Golang's map to build a Jawi(Malays in Arabic script) to Rumi translation dictionary.….... read more



golang.pngGolang : Markov chains to predict probability of next state example

23rd July 2019

Putting these two Golang codes here for my own future reference. The codes are adapted from the DataCamp's Markov….... read more



golang.pngGolang : How to check if a string with spaces in between is numeric?

16th July 2019

Ok, I need a function that will determine if an input string is indeed numeric or not. The "standard way".... read more



golang.pngGolang : Detect number of active displays and the display's resolution

15th July 2019

There are times when we need to find out the number of active displays and their resolution. The following code….... read more



golang.pngGolang : Translate language with language package example

14th July 2019

Just a simple example on how to use the language package to do language translation. Not a google translate type….... read more



golang.pngGolang : Human readable time elapsed format such as 5 days ago

8th July 2019

Problem:

You need to convert a date time stamp such as this 02 March 1992 10:10:50 into a human readable….... read more



golang.pngGolang : Gargish-English language translator

1st July 2019

Another just for fun example where I get to translate English text into Gargoyle's language - Gargish. I first got….... read more



golang.pngGolang : Grab news article text and use NLP to get each paragraph's sentences

25th June 2019

This tutorial is a slight improvement over the previous tutorial which uses prose natural language processing library to get….... read more



golang.pngGolang : Use NLP to get sentences for each paragraph example

25th June 2019

Instead of reading ALL the news with human eyes to find out what's going on with the economy or market….... read more



golang.pngGolang : Derive cryptographic key from passwords with Argon2

24th June 2019

Argon2 is a method used to derive cryptographic key from passwords which has a few advantages over the "traditional method"….... read more



golang.pngGolang : Calculate Relative Strength Index(RSI) example

17th June 2019

Alright, below is a simple example on how to calculate the Relative Strength Index(RSI) using data from Binance.com and Golang.….... read more



golang.pngGolang : Send data to /dev/null a.k.a blackhole with ioutil.Discard

17th June 2019

In Unix/Linux system administration, there are times when the system administrator needs to reduce the size of a file to….... read more



golang.pngGolang : How to run your code only once with sync.Once object

17th June 2019

Problem :

You have a function that will load a resource such as reading configuration data from an external file….... read more



golang.pngGolang : Read a file into an array or slice example

17th June 2019

Ok, got a junior developer that wants to know how to read a text file content line by line into….... read more



golang.pngGolang : Add ASCII art to command line application launching process

15th June 2019

Problem : You worked hard on creating your application and you want add some ASCII art to prettify the launching….... read more



golang.pngGolang : A program that contain another program and executes it during run-time

15th June 2019

For this tutorial, what we are trying to achieve here is to write a program that contains another mini program….... read more



Advertisement