Productivity is the result of a commitment to excellence, intelligent planning, and focused effort.

HypeJS.

A place about all things JavaScript and more

Cover Image for The Half-Distance Paradox. Simulation in Go

The Half-Distance Paradox. Simulation in Go

Posted on:
Announcement: If you are interested to contribute with articles, contact me at georgerdp@gmail.com

I hope you are finding this platform useful and wishing you to have a good day!

In this article, we'll explore a fascinating concept often referred to as the "half-distance paradox," using Go. This paradox comes from an idea in mathematics and philosophy, where a person or object is thought to always halve the distance between themselves and their goal, making it appear that they can never actually reach their destination. This program will simulate the concept and give us some insight into the way it behaves in computing.

George Crisan
George Crisan

More Stories

Cover Image for The minimum subarray problem with JavaScript

The minimum subarray problem with JavaScript

Posted on:

The Minimum Subarray Problem can be compared to real-world scenarios where you want to minimize some negative outcome over a period of time or across sequential steps. Here's how it could relate to several real-life situations...

George Crisan
George Crisan
Cover Image for Cutting corners will bite you back. Or maybe not, but someone will feel the pain

Cutting corners will bite you back. Or maybe not, but someone will feel the pain

Posted on:

As a programmer, it is very easy to fall into the trap of cutting corners, neglecting the way you are writing code. I've worked in quite a few companies in the last few years and these are the most common corner cuts that I`ve noticed among my colleagues.

George Crisan
George Crisan
Cover Image for Golang, Go read JSON data from a file and create a slice of struct

Golang, Go read JSON data from a file and create a slice of struct

Posted on:

Using a JSON file which contains a collection of people, read the JSON and map it to a slice of struct.

George Crisan
George Crisan
Cover Image for HTTP/HTTPS server with Go 1.22, with nested routing, middleware and more

HTTP/HTTPS server with Go 1.22, with nested routing, middleware and more

Posted on:

In my effort to learn Go 1.22 I've tried to see which of my skills learned in express/node.js can be transferred to GO.

George Crisan
George Crisan