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

Lessons from past policies to support displaced workers in era of AI

https://equitablegrowth.org/research-paper/lessons-from-past-trade-adjustment-policies-to-support...
1•pseudolus•5m ago•0 comments

Show HN: Play the US President in the real current week; your timeline forks

https://playpotus.com
1•usestork•5m ago•0 comments

Carlo Ginzburg, Who Told the History of the Obscure, Dies at 87

https://www.nytimes.com/2026/06/17/books/carlo-ginzburg-dead.html
1•benbreen•10m ago•1 comments

Universal Manipulation Exoskeleton

https://ume-exo.github.io/
1•NWChen•10m ago•0 comments

Everything I Learned Training Frontier Small Models – Maxime Labonne, Liquid AI [video]

https://www.youtube.com/watch?v=fLUtUkqYHnQ
3•Topfi•12m ago•0 comments

I wanted Bear Blog, but for my photos

https://pego.dev/i-wanted-bear-blog-but-for-my-photos/
1•e12e•14m ago•0 comments

Show HN: Chatty Lingo – A language practicing app

https://www.chattylingo.com
2•farstill•16m ago•0 comments

After Months of War, Trump Says Iran Has Right to Nuclear Program

https://newrepublic.com/post/212003/trump-iran-right-nuclear-program
6•embedding-shape•16m ago•1 comments

The Reason Anthropic's Models Are Offline: A Six-Year-Old Trump Grudge

https://www.techdirt.com/2026/06/16/apparently-the-real-reason-anthropics-models-are-offline-a-si...
4•ndesaulniers•16m ago•0 comments

Coinbase outage postmortem: AWS cooling failure caused cascading breakdown

https://www.infoq.com/news/2026/06/coinbase-aws-failure-postmortem/
1•indynz•18m ago•0 comments

Western Men Are Going Abroad to Find Traditional Wives

https://www.economist.com/culture/2026/04/16/western-men-are-going-abroad-to-find-traditional-wives
1•karakoram•18m ago•1 comments

Desmos Notebook Example Gallery

https://www.desmos.com/gallery/1b48bb5c-1f75-4891-aa51-126bbd7b528f
1•aragonite•19m ago•0 comments

How to check if a macOS app can access the Internet before opening it

https://reverseeverything.com/blog/check-macos-app-network-access/
1•IGHOR•19m ago•0 comments

PGP Manager – A user-friendly approach to PGP

https://github.com/developaaah/pgp-manager
1•developaaah•22m ago•0 comments

Ångstrom used Claude Code to train a model that beat Meta's UMA-OMC

https://anycloud.sh/blog/angstrom-case-study/
4•pombo•22m ago•0 comments

Desmos 3D Graphing Calculator

https://www.desmos.com/3d
1•aragonite•22m ago•1 comments

QualityScreener – build custom scoring models for global stocks

https://qualityscreener.io/
1•madagra•24m ago•0 comments

Censorship Industry: The European Firms Monetizing the DSA

https://foundationforfreedomonline.com/censorship-industry-the-european-firms-monetizing-the-dsa/
1•iamnothere•24m ago•0 comments

Ask HN: Where is the transhumanism discussion in engineering sitting?

2•lewistaariq•24m ago•2 comments

LifeSciBench: Evaluating LLMs on Expert-Level Tasks in the Life Sciences [pdf]

https://cdn.openai.com/pdf/b4299379-0a97-4ffa-8b9b-c3fbb299caa9/lifescibench_preprint.pdf
1•sailingparrot•25m ago•0 comments

FreeSeeker – AI-generated digital products (planners, templates, ebooks)

https://freeseeker.warx.org
3•FreeSeekerShop•26m ago•1 comments

The AI Privacy Problem Isn't What You Tell AI – It's What AI Infers

https://github.com/cnaebadi/ai-disclosure-handbook
1•sewyed•27m ago•1 comments

Storied Colors – a catalogue of named colors

https://storiedcolors.com/
11•susiecambria•28m ago•0 comments

Digital detox or building a personal brand

https://sashawhiddon.substack.com/p/the-contemplations-of-building-a
1•drunx•28m ago•0 comments

Mark Zuckerberg Orders His Employees to Have Fun Again

https://www.gadgetreview.com/mark-zuckerberg-orders-his-employees-have-fun-again-after-devastatin...
5•noleary•30m ago•1 comments

Ed Zitron just disproved the core claim behind his AI bubble case

https://www.obsolete.pub/p/ed-zitron-just-disproved-the-core
2•droidjj•31m ago•1 comments

The AI-native document format

https://doclang.ai/
1•taubek•31m ago•0 comments

David Attenborough's life's work, searchable

https://attenborough-100.vercel.app
2•throw0101a•31m ago•0 comments

Franklin Templeton, a SpaceX private investor, unable to justify buying Cursor

https://www.bloomberg.com/news/videos/2026-06-16/spacex-pounces-on-60b-cursor-takeover-days-after...
3•gurjeet•36m ago•0 comments

Show HN: I built a spelling app for kids with my 7-year-old

https://spellabee.com/
2•narenst•40m ago•0 comments