NIKHEDONIA

Mathematics · Algorithms · Engineering

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

◆ Interactive Feature

Conformal Maps: When Complex Functions Preserve Angles

A conformal map preserves angles: near every point it behaves like a rotation followed by a uniform scaling. Explore them in a playground that warps grids and images — written with complex numbers, 2D vectors, and dual numbers.

Read full article →
◆ Investing
◠
Investing

Modern Portfolio Theory and the Efficient Frontier

Markowitz's mean-variance framework in one picture: why correlation, not just volatility, determines what a portfolio can achieve — and why the frontier is a map, not a money machine.

10 min read
⇄
Investing

Shannon's Demon: Volatility Harvesting and the Loss Bias of Leverage

A fair coin that moves ±10% a round already loses 0.5% a round. Rebalancing half against cash cuts that loss; a small edge turns it into a positive harvest. The same arithmetic explains why leveraged ETFs bleed.

9 min read
⚖
Investing

The Kelly Criterion: How Much to Bet When You Have an Edge

Sixty-one finance professionals, a coin that lands heads 60% of the time, and a formula for bet sizing. Why maximizing expected value can bankrupt you, why 20% beats 40%, and why most professionals bet half Kelly.

10 min read
▤
Investing

The Order Book: How Price is Actually Born

A hands-on look at how a limit order book works — matching engines, price discovery, support and resistance zones — with a live simulation you can drive yourself.

9 min read
⌁
Investing

Generating Fake Stock Charts: From Random Walks to Order Books

A deep dive into synthetic stock price generation — from naive coin-flip random walks, through Gaussian distributions and fat tails, to a simulated order book — and how candlestick pattern analysis reveals the gap between each model and reality.

16 min read
◆ More Interactives
Loading…

◆ Interactive Feature

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.

Read full article →
From The Archive
◆
Engineering

React vs SolidJS: Dynamic Graphs, Static Graphs, and the Price of Flexibility

React and SolidJS share JSX syntax but are built on fundamentally different computational models. Understanding why illuminates a much older tension in functional programming — and an eerily similar split that once divided PyTorch from TensorFlow.

9 min read
◈
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
◆ 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