NIKHEDONIA

Mathematics · Algorithms · Engineering

Vol. MMXXVIAll the Algorithms That Fit to Print27 articles published
◆ Interactive Feature
Loading…

◆ Interactive Feature

EML: One Operator Is All You Need

How a single binary operator — eml(x,y) = exp(x) − ln(y) — can generate every elementary function a scientific calculator knows, from addition to trigonometry.

Read full article →

Interactive Features

Engineering

EML: One Operator Is All You Need

How a single binary operator — eml(x,y) = exp(x) − ln(y) — can generate every elementary function a scientific calculator knows, from addition to trigonometry.

9 min read
Engineering

The Challenges of WebGL

WebGL lets you run shaders in the browser — and that's genuinely magical. But using it for arbitrary GPU computation quickly reveals a thicket of constraints that OpenCL and WebGPU were designed to escape.

12 min read
Engineering

The Bertrand Paradox: When Randomness Needs a Definition

A deceptively simple question — what is the probability that a random chord of a circle is longer than the side of its inscribed equilateral triangle? — has three different correct answers depending on what 'random' means.

6 min read
Engineering

Why Tuning a Piano is Mathematically Impossible

Perfect harmony is a mathematical impossibility. Here's the beautiful, maddening reason why — and how piano tuners have learned to live with it.

9 min read
Algorithms

From Regex to Automata to Generators

How regular expressions compile to deterministic finite automata — with an interactive visualizer, a DFA-powered string generator, and a note on closing the loop with property-based testing.

9 min read
Mathematics

The Fourier Transform: From Sines to Signals

A visual and mathematical journey through one of the most beautiful ideas in all of mathematics — decomposing any signal into its frequency components.

3 min read
From The Archive
Search

Fuzzy Search: Typos, Tries, and the Algorithms Behind Instant Results

A deep dive into how fuzzy search works — from edit distance and tries to stemming, BK-trees, and how Lucene/Elasticsearch find typo-tolerant matches at scale.

11 min read
#
Data Structures

Perfect Hash Functions: Collision-Free by Design

A deep dive into perfect hash functions — what they are, why they matter, how to find one efficiently with parallel search, and how they compare to JavaScript's built-in Map.

8 min read
Architecture

From DIY Monorepo to Nx: Lessons from a White-Label Credit Card Platform (2024)

Part 2 of a multi-year migration case study. After building a homegrown monorepo toolchain, we adopted Nx — and discovered that its opinionated approach solves some problems elegantly while creating new ones when your apps can't truly be isolated.

11 min read
Architecture

From Legacy to Monorepo: Migrating a White-Label Credit Card Platform (2021–2024)

A four-year case study of migrating a white-labeled credit card platform from a legacy Angular/C# stack to a React monorepo with single-spa — covering GraphQL BFFs, micro-frontends, build parallelization, and the people problems that matter more than the tech ones.

18 min read
◆ Games
Lineball
Game · MobileLineball

A turn-based game born from pen-and-paper lectures. Draw lines to move the ball into your opponent's goal — bouncing off walls and previous lines makes every match more chaotic than the last.

Networker
Game · MobileNetworker

A pipe-rotation puzzle inspired by graph theory. Connect all sources to all sinks by rotating segments. Puzzles are procedurally generated via a maze-like algorithm.

Game of Gauss
Game · MobileGame of Gauss

Matrix inversion in disguise. Reduce the grid to the identity using elementary row operations — without realising you're doing linear algebra.

The Archives