frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Stealing a MiG-29 Was a Piece of Cake – Sort Of. Alexander Zuyev's Great Escape

https://theaviationist.com/2026/05/09/alexander-zuyevs-great-escape-part-1/
1•speckx•54s ago•1 comments

PyPy v7.3.22

https://pypy.org/posts/2026/04/pypy-v7322-release.html
1•tosh•2m ago•0 comments

Parents say ChatGPT got their son killed with bad advice on party drugs

https://www.theverge.com/ai-artificial-intelligence/928691/openai-chatgpt-wrongful-death-overdose
2•1vuio0pswjnm7•4m ago•0 comments

The Path Not Taken: Duality in Reasoning about Program Execution

https://arxiv.org/abs/2604.20917
1•PaulHoule•4m ago•0 comments

The tipping point: what happens when deaths outnumber births?

https://www.theguardian.com/world/ng-interactive/2026/may/02/what-happens-when-deaths-outnumber-b...
4•rwmj•4m ago•0 comments

AI Will Make the Academic Article Obsolete

https://www.chronicle.com/article/ai-will-make-the-academic-article-obsolete
1•Hooke•4m ago•0 comments

SpaceX and Google Are in Talks to Launch Data Centers in Orbit

https://www.wsj.com/tech/spacex-google-in-talks-to-explore-data-centers-in-orbit-7b7799e2
1•simonebrunozzi•5m ago•0 comments

Show HN: CircadianLab – Browser-based radiosity lighting simulator (WebGPU)

https://www.innerscene.com/tools/circadian-lab
1•jclarkcom•7m ago•0 comments

Show HN: DualDoc – A text editor for the AI age

https://www.dualdoc.xyz
1•jdbiggs•9m ago•0 comments

Show HN: Cutting our credential bulk-import from 17 minutes to 2

https://certscore.org/blog/from-17-min-to-2-min
1•rajatrv•10m ago•0 comments

Show HN: Gigacatalyst – Extend your SaaS with an embedded AI builder

1•namanyayg•10m ago•0 comments

Exim 4.99.3 – SMTP Mail Server – Message Transfer Agent (MTA)

https://lists.exim.org/lurker/message/20260512.145700.55e61dbb.en.html
1•neustradamus•11m ago•0 comments

The Shared Feeling of Being Harvested by the Future

https://www.nytimes.com/2026/05/12/opinion/us-china-ai-future.html
1•littlexsparkee•11m ago•0 comments

MS SQL Arrow

https://devblogs.microsoft.com/python/introducing-apache-arrow-support-in-mssql-python/
2•gritspants•13m ago•1 comments

Trump Moves to Open National Parks, Other Federal Lands, to More Hunting

https://cowboystatedaily.com/2026/05/11/trump-moves-to-open-national-parks-other-federal-lands-to...
2•Bender•13m ago•0 comments

Microsoft researchers find AI models and agents can't handle long-running tasks

https://www.theregister.com/ai-ml/2026/05/11/microsoft-researchers-find-ai-models-and-agents-cant...
2•Bender•13m ago•1 comments

Amazon employees are "tokenmaxxing" due to pressure to use AI tools

https://arstechnica.com/ai/2026/05/amazon-employees-are-tokenmaxxing-due-to-pressure-to-use-ai-to...
8•Bender•14m ago•1 comments

Spotify Is Down

1•circadian•15m ago•0 comments

Show HN: Atlas- Local-first AI code reviewer for Claude, Codex, OpenCode, Cursor

https://www.atlasengine.dev/
1•avinashpdy•16m ago•0 comments

Natural Language Autoencoders: Inside Claude's Activations

https://philippdubach.com/posts/what-claude-thinks-but-doesnt-say/
3•7777777phil•16m ago•0 comments

Beewolf

https://en.wikipedia.org/wiki/Beewolf
1•dr_girlfriend•17m ago•0 comments

Linux bitten by second vulnerability in as many weeks

https://arstechnica.com/security/2026/05/linux-bitten-by-second-severe-vulnerability-in-as-many-w...
1•Brajeshwar•17m ago•0 comments

The unspoken cost of bad communication

https://productnow.ai/blogs/silent-tax-of-bad-communication
1•kadhirvelm•18m ago•1 comments

The agent principal-agent problem

https://crawshaw.io/blog/agent-principal-agent
1•brimtown•18m ago•0 comments

Netflix sued by Texas AG for alleged surveillance, addictive features

https://www.politico.com/news/2026/05/11/netflix-sued-by-texas-ag-for-alleged-surveillance-addict...
2•1vuio0pswjnm7•19m ago•1 comments

The 3-people locked in the room – an experimentation

https://medium.com/doctolib/the-3-people-locked-in-the-room-an-experimentation-4c7a9b2d6def
1•rognjen•19m ago•0 comments

Red Button, Blue Button: Teaching humans and AI to Supercooperate

https://softmax.com/blog/red-button-blue-button
2•yatharth•19m ago•2 comments

California Mayor Resigns, Admitting to Being an Agent for China

https://time.com/article/2026/05/12/arcadia-california-mayor-eileen-wang-agent-china/
4•luispa•20m ago•0 comments

How to Achieve Serverless GPUs

https://modal.com/blog/truly-serverless-gpus
5•charles_irl•20m ago•0 comments

Harvard Students Furious over Plan to Crack Down on Grades

https://www.bloomberg.com/news/articles/2026-05-12/harvard-grade-inflation-plan-to-limit-a-marks-...
1•helsinkiandrew•20m ago•0 comments