htmx ~ Yes, and...
In this essay, Carson Gross discusses his advice to young people interested in computer science worried about the future given the advancements in AI.
In this essay, Carson Gross discusses his advice to young people interested in computer science worried about the future given the advancements in AI.

Returning suggestions after every keystroke is expensive when a system stores millions of entries. Find out how the trie data structure narrows each search and the most effective ways to build a working implementation in Java.

The leading approach to the simplex method, a widely used technique for balancing complex logistical constraints, can’t get any better.
In response, he invented the simplex method,
mathematicians proved that the time it takes to complete a task could rise exponentially with the number of constraints
This post details how Factorio's random number generation works, how it can be reversed and how I used that knowledge to predict and manipulate the RNG with pure in‑game mechanics.
How is it possible for a deterministic game like Factorio to have a random mechanic?
PRNG

Improving on a timeless recipe

From one gradient to every gradient

Compression and LLMs are trying to solve the exact same problem: predicting what comes next. Learn the fundamentals of compression and how better prediction leads to better shrinkage.
Checking whether you've seen something before usually means storing everything you've seen. A Bloom filter does it in about ten bits per item and can only be wrong in one direction. This post builds from a single bit to the structure RocksDB and Cassandra use to skip disk reads.

Nobody understood function composition from my whiteboard. Everybody understands it from this pizza. #mathematics #math #meme #fridayhumor

Learn what polynomial regression is, when to use it, and how to interpret curved model results correctly.

Flash-KMeans is an IO-aware, exact K-Means that uses FlashAssign and Sort-Inverse Update to outperform FAISS by over 200×.

A few weeks ago we looked at a simulation of technological evolution by economist Brian Arthur, in which he was able to start with simple building blocks (such as a NAND gate) and evolve surprisingly complex circuits (such as a 12-way AND gate or a 4-bit adder) by randomly…
The thing that makes 4-bit AI work is a grid of nothing but +1s and -1s called a Hadamard matrix. Here's how a 159 year old matrix ended up rescuing modern AI model performance: In 1867 James Joseph Sylvester was studying how to color tiles. He found you could build square grids…

By replacing the most fundamental concept in topology, Peter Scholze and Dustin Clausen are taking the first step in a far bigger program to understand why numbers behave the way they do.

How to do arithmetic in Bash with the (( )) operator, $(( )) expansion, the let builtin, and bc or awk for floating-point math the shell cannot do natively.
A deep dive by Baseten's research team breaking down the math behind TurboQuant

In "Huge Numbers," mathematician Richard Elwes spotlights some of the largest numbers humans have ever contemplated.

Beauty in mathematics is not only in solving problems. It is in seeing structure, symmetry, and quiet unity where most people only see numbers.

Easy and intuitive Kalman Filter tutorial

Sensor networks could improve capacity faster than they grow

Flash Attention is a simple algorithm: tiled back-to-back matmuls with an online softmax algorithm in between. The algorithm fits in a few dozen lines of pseudocode. Yet Flash Attention 4's production kernel is 2,875 lines, and the hardest part to get right isn't the math. It's…

When you type a query into a search engine, something has to decide which documents are actually relevant — and how to rank them. BM25 (Best Matching 25), the algorithm powering search engines like Elasticsearch and Lucene, has been the dominant answer to that question for…
The clever part is that BM25 doesn’t reward keyword stuffing
saturation
A hands-on introduction to elliptic curve cryptography. Start with curve geometry, build point addition and scalar multiplication, see why ECDLP is hard, and then use that math in ECDH, ECDSA, and ECIES.

A Laplace transform is a type of integral transform that acts on functions.

ANN — Approximate Nearest Neighbors — is at the core of fast vector search, itself central to GenAI, especially GPT and LLM. My new methodology, abbreviated as PANN, has many other app…

Swarm Intelligence (SI) represents a significant paradigm within artificial intelligence, drawing inspiration from the collective behaviors of natural systems to solve complex computational problems. However, the conventional classification of SI algorithms often groups them…
How a privacy researcher proved a politician wrong, and how she created the first ever definition of anonymity in the process.
In this article, I'll describe and analyze Sweeney's successful reidentification attack,
these factors appear to be necessary: remove one of them and suddenly, the attack no longer works.

Hotels and landlords can mitigate legal risks by choosing decentralized revenue management systems that use public data.

True drone swarms can cut costs and boost efficiency in agriculture, logistics and humanitarian demining, but software remains a hurdle.
Dithering is still a surprisingly applicable technique, not just for practical reasons (such as preparing a full-color image for output on a non-color printer), but for artistic reasons as well. Dithering also has applications in web design, where it is a useful technique for…
Dithering Sticky notes:Adding white noise to reduce errors from spurious signals
dithering is fundamentally about error diffusion.

Recent findings reveal that even simple pricing algorithms can make things more expensive.

Multisets are sets that allow repetition of elements. As such, multisets pave the way to a number of interesting possibilities of theoretical and applied nature. In the present work, after revising the main aspects of traditional sets, we introduce some of the main concepts and…
Multisets are sets that allow repetition of elements.
generalization to take into account vectors and matrices

Introduction to the BLS12-381 curve used in Ethereum's consensus layer. Focus on concrete calculations to make the curve more tangible.

Generating random points inside a sphere of any dimension.
The customary way to generate points on a sphere in n dimensions is to generate points from an n-dimensional normal (Gaussian) distribution and normalize by dividing by the length. And the way to generate samples from an n-dimensional normal is simply to generate a list of n one-dimensional normals…
Instead, the thing to do is to set

Our physics expert picks his top-five equations, plus a scheme to supply US power needs with a bucket of baseballs. Thanks, Einstein!

These five equations should be part of your mental toolkit. They might even improve your bowling score.


When the streaming giant began making films guided by data that aimed to please a vast audience, the results were often generic, forgettable, artless affairs. But is there a happy ending?

This article explains how these four things fit together and shows some examples of what they are used for. Derivatives Derivatives are the most fundamental concept in calculus. If you have a funct…
Raft is a consensus algorithm that is designed to be easy to understand.
Note: https://chatgpt.com/share/68a1ca09-9bc8-8008-a635-e55bd9e4d4c9

Find out how this simple algorithm from the 1960s keeps your wallet safe

After just a few months of work, a complete newcomer to the world of sphere packing has solved one of its biggest open problems.

Google Android’s calculator is (probably) the most widely used calculator in the world. It’s also the most advanced.

The most important factor left out of the two body problem is the J2 effect, due to the fact that the earth is not a sphere of uniform density.

Guest Join the event trusted by enterprise leaders for nearly two decades. VB Transform brings together the people building real enterprise AI strategy. Learn more Quantum computing (QC) brings with it a mix of groundbreaking possibilities and significant risks. Major tech…

Merkle Trees in the real world

A visual, interactive guide to what bloom filters are, when you would use them, and how they work.