[15] Results

Golang : Check if integer is power of four example

golang math-pow power-of


You need to test if a given integer is a power of 4. For example, if given number =….... read more

Golang : Math pow(the power of x^y) example

golang math-pow power-of

No programming language will be complete without the power of math function. This tutorial is a simple example on how….... read more

Golang : Calculate half life decay example

golang half-life-decay power-of math-pow round

My wife is a chemistry lecturer and she was showing her student how to calculate half-life decay of an element.….... read more

Swift : Get substring with rangeOfString() function example

swift sub-string range-of-string

Problem :

You have a string and you want to get(extract) the sub string from start to {0} and from….... read more

Golang : Detect variable or constant type

golang reflect type-of variable constant

Problem :

You have a variable or constant and you want to know which type the variable belongs to.

Solution….... read more

New version Age of Empires game from Microsoft

entertainment game microsoft age-of-empires

After over a decade of hiatus, Microsoft Studio's announced the latest version of the Age Of Empires game. In this….... read more

Golang : How to check variable or object type during runtime?

golang object-variable-type kind type-of reflect

Problem :

You need to determine the type of data your program is getting from the user input or the….... read more

Preparing my self and my kids for the Age of Artificial Intelligence


It is 2019, Information Age is over and so is Internet Age. We are officially in the Age of Artificial….... read more