Custom Variables in Jekyll Permalinks

The pages for this blog are built using Jekyll but you might notice that the links for the posts are not in the traditional Jekyll format of using date-title. Jekyll...

Let's Implement Multiple Dispatch in JavaScript

Introduction Multiple dispatch is the way for a function name to be associated with multiple function bodies based on certain properties of arguments. For example, when adding two numbers,...

Weighted Pseudo-Random Number Generation

In this article, I will introduce a simple algorithm for generation of non-uniformly distributed pseudo-random numbers built on top of a uniform pseudo-random number generator (PRNG) Introduction An electronic...