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

Lambda – fast portable agent harness in C

https://github.com/montyanderson/lambda
1•montyanderson•41s ago•0 comments

Sam Altman says the economy is adapting to AI slower than he expected

https://www.businessinsider.com/sam-altman-economy-ai-adapting-saas-2026-8
1•oenton•1m ago•0 comments

AI's Inference Era of Ferment – By Ben Bajarin

https://www.thediligencestack.com/p/ais-inference-era-of-ferment
1•rbanffy•2m ago•0 comments

We put "stop hiring humans" on billboards, and why we retired it

https://www.artisan.co/blog/stop-hiring-humans
1•cocacola1•2m ago•0 comments

Peeling Apart That Supposed $120B Chip Deal Google Inked with Marvell

https://www.nextplatform.com/compute/2026/08/27/peeling-apart-that-supposed-120-billion-chip-deal...
1•rbanffy•2m ago•0 comments

Getting a Cease and Desist from Waffle House

https://www.jack.bio/blog/wafflehouse
1•gaws•2m ago•0 comments

Unlocking the Power of AI in Visual Studio with Bring Your Own Model

https://devblogs.microsoft.com/visualstudio/unlocking-the-power-of-ai-for-every-developer-in-visu...
2•ibobev•5m ago•0 comments

Why does shipping a Nix upgrade move only the difference?

https://www.labcraft.dev/blog/nix-closures
1•anandsuresh•6m ago•0 comments

The agent web crawler census: 60 bots, 6,309 requests, zero payments

https://fetchgate.dev/tools/agent-census
1•chiefgrowth•7m ago•0 comments

Second Solutions

https://www.johndcook.com/blog/2026/08/27/second-solutions/
1•ibobev•7m ago•0 comments

Junk Solutions

https://www.johndcook.com/blog/2026/08/26/junk-solutions/
1•ibobev•7m ago•0 comments

Anthropic Announces Model Hardware Standard, MCP for Hardware?

https://modelhardwarestandard.com/
1•luigipederzani•7m ago•0 comments

BYD Ultra-Fast Charged Han 350 Times in 9 Days

https://insideevs.com/news/806301/byd-megawatt-charging-battery-health/
1•hochmartinez•7m ago•0 comments

US attempts to take noblogs offline

https://cavallette.noblogs.org/2026/08/10083/2
2•chris1993•7m ago•1 comments

OpenAI – Hugging Face Technical Report [pdf]

https://cdn.openai.com/pdf/67869394-cb91-4c12-888c-5cbd85c7814c/OpenAI-Hugging-Face%20Incident-Te...
1•Topfi•10m ago•1 comments

Show HN: A Windows 98 retro voting tug-O-war system

https://www.imright.wtf
1•Dubbo1•10m ago•0 comments

Lawsuit: Grok was trained on child sex abuse images of preschool-age victim

https://arstechnica.com/tech-policy/2026/08/elon-musks-xai-used-child-porn-to-train-grok-models-l...
5•cdrnsf•10m ago•0 comments

LeanDB a strongly Typed SQL front end

https://theoric.com/blog/drafts/leandb_a_strongly_typed_sql_frontend/
1•hargup•14m ago•1 comments

Show HN: A 70x faster and 5x smaller XSS sanitizer than DOMPurify

https://github.com/ppmpreetham/DOMOxide
2•ppmpreetham•16m ago•0 comments

Traders brought Central American cacao to Georgia 1k years ago

https://arstechnica.com/science/2026/08/traders-brought-central-american-cacao-to-georgia-1000-ye...
2•pseudolus•17m ago•0 comments

Show HN: Get your app online in seconds

https://instapods.com/
1•not_wowinter13•19m ago•0 comments

Only 33 days left in project online retirement

https://onplana.com/migration/project-online-estate-assessment
1•Onplana•19m ago•1 comments

Accessible by default: writing a book like software

https://ben.balter.com/2026/08/27/accessible-by-default/
1•chmaynard•19m ago•0 comments

Lexicon: Manipulate DNS records in a standardized way in Python

https://github.com/dns-lexicon/dns-lexicon
1•gregsadetsky•20m ago•0 comments

Show HN: SvGrid – a Svelte 5 data grid an AI can drive to build a full app

https://github.com/sv-grid/sv-grid
1•boikom•21m ago•0 comments

Show HN: Rosebed – A Minecraft beta 1.7.3 reimplementation in Zig

https://mdmrk.github.io/rosebed/
1•talentedRed•22m ago•0 comments

Canada Hires 48 Scholars Away from Top U.S. Universities

https://www.nytimes.com/2026/08/27/world/canada/canada-universities-hire-us-researchers.html
4•mykowebhn•24m ago•0 comments

Just Some Generative Art

https://number-garden.com/?114336224149876@THLP@
1•unitX•24m ago•0 comments

$900M paid out to end wind farm project going to firm run by Mar-a-Lago neighbor

https://www.independent.co.uk/news/world/americas/us-politics/trump-windfarm-money-neighbors-flor...
5•pseudolus•25m ago•0 comments

The Frictions That Make AI Forecasting Hard

https://twitter.com/AnneliesGamble/status/2087259132667810162
2•gmays•26m ago•0 comments