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. …

Eisenhower matrix Read More »

The Paradox of choice

How often have you been in a situation wherein you had to choose one option among too many? Lets go to a hand bag showroom and try to pick a bag.Ā The purpose of a hand-bag is quite simple which come in various shapes, colors, sizes, prices, brands, and types. When you get into the showroom …

The Paradox of choice Read More »

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 …

Achilles & The Tortoise Paradox Read More »

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, …

Slugify URLs using Javascript Read More »