frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
54•hammer32•3h ago
I trained a transformer in HyperCard. 1,216 parameters. 1989 Macintosh. And yes, it took a while.

MacMind is a complete transformer neural network, embeddings, positional encoding, self-attention, backpropagation, and gradient descent, implemented entirely in HyperTalk, the scripting language Apple shipped with HyperCard in 1987. Every line of code is readable inside HyperCard's script editor. Option-click any button and read the actual math.

The task: learn the bit-reversal permutation, the opening step of the Fast Fourier Transform. The model has no formula to follow. It discovers the positional pattern purely through attention and repeated trial and error. By training step 193, it was oscillating between 50%, 75%, and 100% accuracy on successive steps, settling into convergence like a ball rolling into a bowl.

The whole "intelligence" is 1,216 numbers stored in hidden fields in a HyperCard stack. Save the file, quit, reopen: the trained model is still there, still correct. It runs on anything from System 7 through Mac OS 9.

As a former physics student, and the FFT is an old friend, it sits at the heart of signal processing, quantum mechanics, and wave analysis. I built this because we're at a moment where AI affects all of us but most of us don't understand what it actually does. Backpropagation and attention are math, not magic. And math doesn't care whether it's running on a TPU cluster or a 68030 from 1989.

The repo has a pre-trained stack (step 1,000), a blank stack you can train yourself, and a Python/NumPy reference implementation that validates the math.

Comments

gcanyon•2h ago
It's strange to think how modern concepts are only modern because no one thought of them back then. This feels (to me) like the germ theory being transferred back to the ancient greeks.
hammer32•2h ago
Right? Backprop was published in 1986, a year before HyperCard shipped. Attention is newer, but a small model like this was buildable.
anthk•1h ago
Lisp is from 1960's and with s9 you can do even calculus with ease, in an interpreter small enough to fit in two floppies.

On the Greeks, Archimede almost did 'Calculus 0.9'.

kdhaskjdhadjk•45m ago
I think it's incredible to see the potential that is still locked up in old hardware. For example the 8088 MPH demo. Amazing what he was able to do with an 8088 and CGA. All this time the hardware had that potential, but it took decades to figure out how to unlock it, long after the hardware was considered obsolete. Imagine the sort of things that might be done later down the road with hardware of 0-20 years ago if somebody really dug into it to that level.
ashleyn•27m ago
Retro console homebrew and demoscene are all about this. There's a lot of fun stuff going on in N64 homebrew right now: https://www.youtube.com/watch?v=rNEo0aQkGnU
tomcam•15m ago
That 8088 MPH demo is a tour de force. Which tells you that the millions of Apple laptops being bricked right now instead of being recycled could have some amazing use if it were possible to wipe them clean and reuse. Sigh.
DetroitThrow•2h ago
This is very cool. Any more demos of inference output?
hammer32•32m ago
Thanks! The quickest way to try it is the HyperCard Simulator link someone just posted in this thread: https://hcsimulator.com/imports/MacMind---Trained-69E0132C — go to the Inference card, click New Random to fill in 8 digits, then click Permute. The model predicts the bit-reversed permutation of all 8 positions. The pre-trained stack gets all inputs correct.
hyperhello•2h ago
Hello, if there are no XCMDs it should work adequately in HyperCard Simulator. I am only on my phone but I took a minute to import it.

https://hcsimulator.com/imports/MacMind---Trained-69E0132C

hammer32•34m ago
I had no idea your simulator existed. No XCMDs, correct; everything is pure HyperTalk. I just ran a few training steps and they complete in a second or two. Thank you for importing it!
hyperhello•28m ago
I gotta ask. Your scripts have comments like -- handlers_math.hypertalk.txt at the top. Are you using some kind of build process for a stack?

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
54•hammer32•3h ago•12 comments

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
8•agentseal•2d ago•0 comments

Show HN: Arrow. Point your phone, walk where it says, find out where

https://kouh.me/arrow
2•kouhxp•35m ago•0 comments

Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis

9•kaliades•4h ago•2 comments

Show HN: Libretto – Making AI browser automations deterministic

https://github.com/saffron-health/libretto
119•muchael•1d ago•46 comments

Show HN: I built a music theory course with games and spaced repetition

https://www.gitori.com/themes/music-theory?showTheoryTour=true
3•udit99•1h ago•2 comments

Show HN: Ilha – a UI library that fits in an AI context window

https://ilha.build/
13•ryuzyy•4h ago•5 comments

Show HN: Home Memory – A local DB of my house, down to cables and pipes

https://github.com/impactjo/home-memory
5•impactjo•3h ago•3 comments

Show HN: A tool to calculate LLM model API costs when coding

https://the-designengineer.com/model-cost-estimator/
4•canxerian•2h ago•1 comments

Show HN: SmallDocs - Markdown without the frustrations

27•FailMore•1d ago•13 comments

Show HN: EDDI – Multi-agent AI engine where agent logic lives in JSON, not code

https://github.com/labsai/EDDI
2•ginccc•3h ago•0 comments

Show HN: Hiraeth – AWS Emulator

https://github.com/SethPyle376/hiraeth
30•ozarkerD•14h ago•6 comments

Show HN: Gave Claude a casino bankroll – it gambles till it's too broke to think

https://letaigamble.com/
32•mackbrowne•16h ago•8 comments

Show HN: German Abitur: More good grades, fewer bad grades

https://camminady.dev/abiturnoten/
2•k1next•5h ago•0 comments

Show HN: Silverfish IDP – a low cost, language‑first Internal Developer Portal"

https://dashboard.silverfishsoftware.com/
4•davidarno•5h ago•0 comments

Show HN: P2 - Object Storage Server with S3 Compatible API, MIT License

https://github.com/Suleman-Elahi/p2
3•isuleman•5h ago•0 comments

Show HN: I'm building Eigen, a self-hosted Google Workspace alternative

https://reindernijhoff.net/2026/04/eigen-six-months-later/
2•reindernijhoff•5h ago•1 comments

Show HN: Omi – watches your screen, hears conversations, tells you what to do

https://github.com/BasedHardware/omi
15•kodjima33•20h ago•11 comments

Show HN: Every CEO and CFO change at US public companies, live from SEC

https://tracksuccession.com/explore
181•porsche959•1d ago•64 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
36•parzivalt•5d ago•27 comments

Show HN: Fakecloud – Free, open-source AWS emulator

https://github.com/faiscadev/fakecloud
30•lucas_vieira•23h ago•9 comments

Show HN: Open Finance Insurance sandbox (OAuth2, quotes → policies)

https://github.com/Rp12/uae-openfinance-test-backend
3•Renjit•7h ago•0 comments

Show HN: Stop Using LangChain

https://synapsekit.github.io/synapsekit-docs/
3•aminau•7h ago•0 comments

Show HN: I built a Wikipedia based AI deduction game

https://sleuththetruth.com/
8•brikym•16h ago•6 comments

Show HN: Object Storage Comparisons

https://storage.mixpeek.com
9•Beefin•15h ago•0 comments

Show HN: LangAlpha – what if Claude Code was built for Wall Street?

https://github.com/ginlix-ai/langalpha
144•zc2610•2d ago•53 comments

Show HN: Plain – The full-stack Python framework designed for humans and agents

https://github.com/dropseed/plain
93•focom•1d ago•51 comments

Show HN: Flint – A 30B model fine-tuned for less repetition

https://springboards.ai/models/flint-alpha
6•thmsmxwll•15h ago•0 comments

Show HN: Sudomake Friends, personalized AI personas in a Telegram group chat

https://github.com/audiodude/sudomake-friends/
7•audiodude•16h ago•1 comments

Show HN: Ithihāsas – a character explorer for Hindu epics, built in a few hours

https://www.ithihasas.in
174•cvrajeesh•2d ago•45 comments