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

Made by Human, Not by Gen-AI

https://www.by-human.net/
1•monax•44s ago•0 comments

Google Search on Firefox Without AI

https://chsxf.dev/2026/07/27/18-firefox-setting-up-google-search-without-ai.html
1•speckx•1m ago•0 comments

EU Opens Call for Creation of Local AI Gigafactories

https://www.wsj.com/world/europe/eu-opens-call-for-creation-of-local-ai-gigafactories-c286213d
2•JumpCrisscross•2m ago•0 comments

Habits of Highly Overrated People (2013)

https://daedtech.com/the-7-habits-of-highly-overrated-people/
2•downbad_•2m ago•0 comments

GNU Hyperbole Implicit Buttons: Build Your Hyperverse

https://www.chiply.dev/post-hyperbole-implicit-buttons
2•birdculture•4m ago•0 comments

Path of Exile 2: Shaders and Device Removed Issues Fixed [video]

https://www.youtube.com/watch?v=XDEJLOHcdWw
1•ioasuncvinvaer•6m ago•0 comments

6G ISAC mobile network towers will map human movement in real time

https://www.nature.com/articles/d42473-025-00379-1
1•transpute•7m ago•0 comments

Show HN: Free career tools that show how recruiters read your resume

https://heyresume.co
1•not_wowinter13•7m ago•0 comments

Measuring Is Not Enough Anymore

https://fi-le.net/evals/
2•lukaspetersson•7m ago•0 comments

Digital sovereignty is real in Europe. The UK? Not so much

https://www.theregister.com/columnists/2026/07/27/digital-sovereignty-is-real-in-europe-the-uk-no...
3•beardyw•12m ago•0 comments

Open source project fools AI scrapers with poisoned font

https://www.theregister.com/ai-and-ml/2026/07/30/open-source-project-fools-ai-scrapers-with-poiso...
1•Bender•13m ago•1 comments

A16Z Hires Leopold Aschenbrenner

https://twitter.com/MollySOShea/status/2082874585146630362
1•abhishekdev•14m ago•0 comments

Building a Global Sound Through Afrobeats

https://medium.com/theentertainmentbreakdown/westcoast-wind-building-a-global-sound-through-afrob...
1•raynchad•15m ago•0 comments

From Junk Work to Judgment Work: What AI Should Change

https://www.aiexperts.com/blog/junk-work-to-judgment-work
1•lucaserb•16m ago•0 comments

Winamp Plans Comeback with New Deezer Partnership

https://www.cnet.com/tech/winamp-plans-comeback-with-new-deezer-partnership/
1•speckx•17m ago•0 comments

Key Changes (to the MCP Specification)

https://modelcontextprotocol.io/specification/2026-07-28/changelog
1•mbreese•17m ago•0 comments

The Amazon's lost civilisation: Hidden network of 20k structures

https://www.dailymail.com/sciencetech/article-16015869/Amazons-lost-civilisation-Hidden-network-s...
1•Bender•17m ago•0 comments

Should We Do More to Fight Lookism?

https://www.newyorker.com/culture/open-questions/should-we-do-more-to-fight-lookism
1•paulpauper•17m ago•0 comments

Cyanobacteria,the desert soil,and you (2012)

https://freethoughtblogs.com/pharyngula/2012/09/29/cyanobacteria-the-desert-soil-and-you/
1•joebig•17m ago•0 comments

The Anatomy of Cyber Risk

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4470871
1•paulpauper•18m ago•0 comments

Air-Gapped File Transfer via QR Codes

https://www.reddit.com/r/vibecoding/comments/1vawz1e/had_an_idea_for_air_gapped_file_transfer_abl...
3•skadamat•18m ago•1 comments

Why Animal Narrators Are All the Rage

https://www.theatlantic.com/books/2026/07/animal-narrator-fiction-paul-yoon-etna-book-review/688105/
1•paulpauper•19m ago•0 comments

Show HN: Aina – autotune an ONNX model and deploy it across an edge fleet

https://github.com/ElhamBadri2411/aina
2•e_badri•19m ago•0 comments

Bryan Johnson confesses he may have taken this whole longevity thing too far

https://www.dailymail.com/sciencetech/article-16016355/Biohacker-Bryan-Johnson-longevity-thing-fa...
2•Bender•19m ago•1 comments

Why prompt injection is still possible in LLM applications

https://pantsyr.dev/blog/why-prompt-injection-is-still-possible-in-llm-applications/
1•nanoparticle•21m ago•0 comments

Programming is dead, we're all code engineers now

https://benbyford.com/articles/programming-is-dead-were-all-code-engineers-now/
2•speckx•21m ago•1 comments

DeepSeek Plans Gigawatt Scale AI Data Center in Inner Mongolia

https://www.bloomberg.com/news/articles/2026-07-30/deepseek-is-developing-massive-ai-data-center-...
2•htrp•22m ago•0 comments

Hugging Face is being used to easily undress women and children

https://www.theverge.com/ai-artificial-intelligence/971723/hugging-face-nudify-deepfake-undress-w...
1•handfuloflight•23m ago•1 comments

Agent Skill to Force Docs in ASD-STE100 Simplified Technical English

https://github.com/AminBlg/SimpleEnglish
3•navs•25m ago•2 comments

ChipTycoon: An animated journey through how computer chips are made

https://laurentiugabriel.github.io/ChipTycoon/
1•laurentiurad•26m ago•0 comments