Memo: A language that remembers only the last 12 lines of code

notem 40 points 17 comments April 02, 2026
danieltemkin.com · View on Hacker News

Discussion Highlights (6 comments)

dlcarrier

In my country, we call that an interactive shell. Fun fact, if you run Python from a command line, with no options, it defaults to such a shell.

stitched2gethr

This is intriguing. On another note, I do not understand how posts make it to the top of the front page with essentially no comments.

dcre

How exciting, I get to be the pedant: it’s “stream-of-consciousness,” not “stream-of-conscious.” Conscious is an adjective; there can’t be a stream of it.

NooneAtAll3

why does the knob in the top right corner do nothing?

omoikane

I think it's actually the last 10 lines of code, not 12. I just wrote these 10 lines: Remember A as forty-two Tell me about A Remember B as A Tell me about B Remember C as B Tell me about C Remember D as C Tell me about D Remember E as D Tell me about E And you can see how it plots the dependencies as a graph on the right, which is kind of neat. But when I add the 11th line: Remember F as E You see the graph being turned into a forest with no dependencies, because it has forgotten the root dependency A. Indeed, if you enter "Tell me about A", it will say it does not remember A. Another neat thing to try is: Remember x as zero Remember y as x Remember x as y

addaon

Needs a compiler for the Mill architecture.

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed