The mysterious and beautiful 6174

My favorite will always be 1.618 (The Golden Ratio) but 6174 fascinated me recently mainly because of the mystery it carries. It was in 1949 when an Indian mathematician named D. R. Kaprekar, devised a process now known as Kaprekar’s operation. This was published in “Scripta Mathematica” which was a quarterly journal published by Yeshiva University. …

Eisenhower matrix

Managing our day to day activities to make best use of our time is not an easy task and not many are skilled at managing it well. These days, time seems to be at a premium. We have devices that keep us constantly connected with work, with friends and family, and sometimes even with complete strangers. …

Achilles & The Tortoise Paradox

“In a race, the quickest runner can never overtake the slowest, since the pursuer must first reach the point whence the pursued started, so that the slower must always hold a lead.” —Aristotle, Physics VI:9, 239b15 Here is another interesting paradox which proves that mathematics can be beautifully strange sometimes. This is a story of Achilles …

Slugify URLs using Javascript

To generate human-readable url slugs from any ordinary string, you can uyse the following code snippet in your javascript. You can use it as a function or as an angular factory method Javascript Function: var slugify = function(text){ return text.toString().toLowerCase() .replace(/\s+/g, ‘-‘) // Replace spaces with – .replace(/[^\w\-]+/g, ”) // Remove all non-word chars .replace(/\-\-+/g, …