frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y ago
Nice list. Some of those are arguably not accidental, TypeScript type system seems kinda obvious to be turing complete when it tries to describe dynamically typed langauage.
WalterGR•1y ago
x86 MOV instruction: “The mov-only DOOM [game] renders approximately one frame every 7 hours, so playing this version requires somewhat increased patience.”
a_cardboard_box•1y ago
Rule 110 is only Turing-Complete if you have an infinitely large array of cells, and are able to initialize it with an infinite repeating pattern. If I'm not mistaken, HTML+CSS can only do a fixed-sized array.

With a Turing-Complete language, if a program runs out of memory on one machine, you can run the same code on a bigger machine without modifying it, and it can use the additional memory. With fixed-length rule 110, you need to modify the code if you want to use more memory.

256_•1y ago
This is addressed in the second paragraph of TFA:

"Stuff which is somehow limited (stack overflows, arbitrary configuration, etc) is still considered Turing complete, since all "physical" Turing machines are resource limited."

In my opinion, worrying about infinite memory, in regards to Turing completeness, makes the task of implementing computation much less interesting.

Also, I'm pretty sure CSS only does one generation (or a finite number of them) before stopping anyway.

256_•1y ago
Logic in Doom is particularly interesting to me. Apparently you can fit ~64k logic gates in a map (using the method described). From [1]:

"As the DOOM engine was not designed to be an interpreter, there are some constraints on our programs written against it. The biggest one is how large our programs can be. Since each gate uses at least one tag, we can use this as a metric to derive an upper-bound on the size of a program. As the DOOM engine uses 16-bit tags, this means we can have, at most, 65535 gates. This is not a particularly large number. We may be able to implement a very small CPU but this limit will be hit pretty quickly I believe."

The z80 had ~8,500 transistors. The 8086 had ~29,000 (checking Wikipedia). You could get far fewer if you use a 1-bit microarchitecture, I'm sure. I think there was a DEC (PDP?) computer that used that trick to have a really low transistor count, but I don't remember what it was called.

The real problem is RAM; for this you may as well cheat and modify Doom's code to add a RAM chip, and I/O while you're at it.

You could create a CPU in Doom implementing an architecture for which a C compiler exists, capable of compiling Doom, and run it in the CPU in Doom. For "reasonable" speed you'd have to do more than one simulation step per frame render (in the host Doom). If you ran it for long enough maybe you could get a full frame of Doom in Doom.

[1]: https://calabi-yau.space/blog/doom.html

karmakaze•1y ago
Doom running in TypeScript static type checker[0].

> half trillion lines of types totaling 177 terabytes ran through the type checker around the clock for 12 days to get the first frame

[0] https://news.ycombinator.com/item?id=43184291

karmakaze•1y ago
My favorite one is Conway's Game of Life. It's perhaps the least surprising one, but it's also the most visually appealing. Really like this video that leads up to making the Game of Life in itself[0]. It's something you can show a non-technical person and they can get a sense of how crazy it is that something so simple can do anything.

[0] https://www.youtube.com/watch?v=Kk2MH9O4pXY

MuscleMemory: Open-source procedural memory for AI agents

https://github.com/TheWariend/MuscleMemory
1•maaaz•49s ago•0 comments

Reverse Engineering Community Shuts Down Because AI Has Made It Too Easy

https://www.404media.co/video-game-reverse-engineering-community-shuts-down-because-ai-has-made-i...
1•atan2•1m ago•0 comments

Resolute – American presidency simulator on the browser

https://resolutethegame.com
1•weinhaus•4m ago•0 comments

Order to limit Starshield for Ukraine came from inside White House, sources say

https://www.reuters.com/world/europe/order-limit-starshield-ukraine-came-inside-white-house-sourc...
2•geox•5m ago•0 comments

The Tesla Roadster flew, drove upside down, and hit 60mph in under a second

https://www.theverge.com/transportation/1012552/tesla-roadster-next-gen-reveal-elon-musk
1•avonmach•5m ago•0 comments

Moron Observer

https://moron.observer/nav-index.html?q=0
1•vomablass•6m ago•0 comments

How Did Israel Become "Startup Nation"? (2009)

https://freakonomics.com/2009/12/how-did-israel-become-start-up-nation/
1•myth_drannon•10m ago•0 comments

I survived two school shootings. This is what I learned

https://www.theatlantic.com/ideas/2026/05/i-survived-two-school-shootings/687295/
2•7777777phil•19m ago•0 comments

Matt Mullenweg Orders Accessibility Revert, Bans Core Wordpress Committer

https://www.therepository.email/matt-mullenweg-orders-accessibility-revert-tells-core-committer-t...
3•slyall•19m ago•0 comments

Tesla reveals SpaceX-powered Roadster that flies

https://techcrunch.com/2026/10/15/tesla-reveals-spacex-powered-roadster-that-flies-and-falls-with...
2•mikelgan•21m ago•1 comments

AI training data and RL environment vendors

https://whosellsdata.com/
1•measurablefunc•23m ago•0 comments

Roadster Event

https://www.youtube.com/watch?v=qt5p-_tE8d0
1•quyleanh•25m ago•1 comments

Is Google Making Us Stupid? (2008)

https://hermiene.net/literature/essays/is-google-making-us-stupid
3•shubhamjain•25m ago•2 comments

Warped Mirrors

https://jamespember.substack.com/p/warped-mirrors
2•jep888•28m ago•0 comments

Show HN: Beeline Multiplayer Agent Harness

https://usebeeline.app
1•lunchboxfortwo•28m ago•0 comments

Soil-Based Carbon Sequestration

https://climate.mit.edu/explainers/soil-based-carbon-sequestration
1•thelastgallon•31m ago•1 comments

Investors temper Anthropic IPO valuation expectations as revenue growth slows

https://www.reuters.com/business/finance/investors-temper-anthropic-ipo-valuation-expectations-ov...
2•byzantinegene•31m ago•0 comments

Tiny Flaws in Glass Fiber Can Help Reveal Undersea Cable Threats

https://spectrum.ieee.org/undersea-cables-acoustic-sensing
1•snarky-comments•33m ago•0 comments

Fibre sensing: how undersea cables learned to listen

https://www.lowyinstitute.org/the-interpreter/fibre-sensing-how-undersea-cables-learned-to-listen
2•snarky-comments•36m ago•0 comments

Show HN: Wayseer – A native desktop app for browsing real-time data

https://wayseer.app/
1•jlm66•36m ago•0 comments

Fractal Recursion, Bounded Infinity, and Adapted Systems

https://medium.com/towards-artificial-intelligence/fractal-recursion-bounded-infinity-and-adapted...
1•attractor26•38m ago•0 comments

Accenture Tells Employees They Can Now Spend Only $29 on Claude per Month

https://www.404media.co/accenture-tells-employees-they-can-now-spend-only-29-on-claude-per-month/
2•gmays•40m ago•2 comments

Show HN: Firmenza – An AI employee for SAM.gov

https://firmenza.com
2•mahmoudabusaqer•40m ago•2 comments

Show HN: GrapheneOS Dumbphone

https://github.com/flourish-today/Odysseus
2•flourish_dev•41m ago•0 comments

Show HN: Inherit – Zero to Iac

https://inherit.virtualbeck.com/
1•virtualbeck•42m ago•0 comments

Ask HN: Thoughts about the Gemini Web app?

2•duckiec•42m ago•0 comments

Teaching Math to Young Children

https://ies.ed.gov/ncee/wwc/PracticeGuide/18
3•measurablefunc•42m ago•0 comments

Space (AI agent containment sandbox) software open source

https://au.finance.yahoo.com/news/perplexity-open-source-tool-used-180212360.html
2•noobplus•56m ago•1 comments

Gemini 4 Argon in Antigravity to Paid Google AI Pro

https://twitter.com/antigravity/status/2110866531932316011
2•karp773•58m ago•1 comments

OpenWebAnalytics-Self-hosted GoogleAnalytics aimed for privacy

https://www.openwebanalytics.com/
2•zlu•1h ago•1 comments