Blog Archives

Searching for primes

There’s a well known way to optimise a basic search for primes, but why does it work?

Tagged with:
Posted in Brain Pieces

Analyzing a Poker Hand Analyzer

Introduction subskybox wrote an intimidating 5-card poker hand analyzer in four lines of JavaScript. The original is somewhat tricky to understand initially:

Of course, by somewhat tricky I mean extremely tricky, and by initially I mean always. The shock and

Tagged with: , , ,
Posted in Javascript

The Math is Fine, The Universe is Broken

If something is really really really small, does it really not exist at all? You may say no, everything has a value, no matter how small or tiny it is. The joy of existence is that that which exists cannot

Tagged with: ,
Posted in Math