Why do arrays start at 0?
It's not the reason you think. No, it's not that reason either.
The latest blog posts to take off on Hacker News. 2,851 posts.
It's not the reason you think. No, it's not that reason either.
This article discusses a ‘visual’ derivation of the formula for 1³+2³+…+n³.
This is a guest post, written by Zhangir Azerbayev. Zhangir is an undergraduate at Yale, majoring in computer science and mathematics. He completed this work while visiting Carnegie Mellon’s …
Graphists, animators, game programmers, font designers, and other graphics professionals and enthusiasts are often working with Bézier curves. They're popular, extensively documented, and used pretty much everywhere. That being said, I find them being explained almost exclusively in 2 or 3 dimensions, which can be a…
AnyLeaf Articles: Quaternions: A practical guide
I spent a lot of time working on a project in which physically plausible simulation of soft materials with pressure chambers was a key part, and in doing so, we managed to improve a part of our simulation by a significant amount. I was very happy with how this small part of the whole system turned out, and I've been…
I put together a list and explained why they are important.
Noether's theorem is an amazing result which lets physicists get conserved quantities from symmetries of the laws of nature. Time translation symmetry gives conservation of energy; space translation symmetry gives conservation of momentum; rotation symmetry gives conservation of angular momentum, and so on.
the forgotten data structure (not really)
A sure foundation for Computational Complexity source—wonderful 2015 CACM interview Juris Hartmanis passed away this morning. He was a professor in Cornell’s computer science department…
I’ve been talking a lot recently about how quantum algorithms don’t work. But last week JR Minkel, an editor at Scientific American, asked me to write a brief essay about how quantum al…
Tetration -- repeated exponentiation a fractional number of times.
(I thank Yoshiyuki Kotani for this identity. We'll be able to use the same idea again in 2024 and 2027!)
Timsort: A very fast , O(n log n), stable sorting algorithm built for the real world — not constructed in academia. Timsort is a sorting algorithm that is efficient for real-world data and not created in an academic laboratory. Tim Peters created Timsort for the Python programming language in 2001.
Exploring the relationship between Kalman filtering and optimal frequency domain filtering.
Start with any triangulation of a convex polygon, and then repeatedly choose a random diagonal and flip it, replacing the two triangles it borders with two d...
The images described here are generated by analysing the following series for each point (c x ,c y ) on the plane.
[ An updated treatment of this material appears in Chapter 1 of the Energy and Human Ambitions on a Finite Planet (free) textbook , and also appears as part of an article in Nature Physics in 2022.]
Looking at Taylor series as streams of real numbers, solving differential equations becomes as easy as writing them.
Amazon ICML paper proposes information-theoretic measurement of quantitative causal contribution.
Description of the film grain synthesis algorithm in AV1. This page provides information on the film grain synthesis algorithm and links for further study
(Or, “regularized greedy algorithms and their applications.”) James Gilles “Algorithm” is one of those words that sounds fancier than it really deserves. We hear all the time about the “facebook algorithm”, the “youtube algorithm”, “high frequency trading algorithms”, “artificial intelligence algorithms”, and so on…
It’s funny. I’m the statistician, but I’m more skeptical about statistics, compared to these renowned scientists.
In Steven Pinker’s guest post from last week, there’s one bit to which I never replied. Steve wrote: After all, in many areas Einstein was no Einstein. You [Scott] above all could speak…
Where do you stand in order to minimize the expected distance to walk to catch the first elevator that arrives? Maybe not where you think.
About six weeks ago, on May 19, 2022, GitHub released Math support on Markdown. At the time of the release, it received criticism for being ill-designed and buggy. I, too, wrote a blog post about it.
W hat happens, if 100 persons in a room are given $100 each and give away a Dollar to one randomly chosen person in this room each tick of the clock? How is wealth distributed over time by pure chance?