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•12mo ago

Comments

panstromek•12mo 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•12mo 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•12mo 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_•12mo 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_•12mo 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•12mo 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•12mo 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

What Happens When the Attribution Cartel Meets Advertising's Halo Effect?

https://www.adexchanger.com/data-driven-thinking/what-happens-when-the-attribution-cartel-meets-a...
1•dmarti•33s ago•1 comments

Generate Apple and Google Wallet Passes from Laravel

https://freek.dev/3108-generate-apple-wallet-and-google-wallet-passes-from-laravel
1•abdelhousni•49s ago•0 comments

Show HN: Harmonic Progression Podcast on Humans, AI and Tech News

https://open.spotify.com/episode/0Q03ytkssZxw2YUKzwUkKZ
1•vednig•52s ago•0 comments

Monstrous octopus terrorized seas off B.C. in Age of Dinosaurs, study suggests

https://www.cbc.ca/news/science/giant-octopus-fossil-9.6956377
1•Brajeshwar•1m ago•0 comments

Why is nobody talking about Oracle's imminent demise?

https://www.youtube.com/watch?v=NHtGXCWXyZs
1•JCW2001•1m ago•1 comments

Honolulu's Airport Has AI Theme Songs. The Internet Is Divided

https://www.civilbeat.org/2026/04/honolulu-airport-has-ai-theme-songs-the-internet-is-divided/
1•SLHamlet•3m ago•0 comments

Project Deal

https://www.anthropic.com/features/project-deal
1•meetpateltech•3m ago•0 comments

Dutch Navy frigate tracked by mailing it a Bluetooth tracker

https://www.theregister.com/2026/04/17/dutch_navy_frigate_tracked/
1•janandonly•3m ago•0 comments

I built a multi-agent research tool and opened early access

https://neiro.it/
1•hsnrique•4m ago•0 comments

Positivity by George Hotz

https://geohot.github.io//blog/jekyll/update/2026/04/24/positivity.html
2•jshchnz•7m ago•0 comments

Palantir Is Helping Trump's IRS Conduct "Massive-Scale" Data Mining

https://theintercept.com/2026/04/24/palantir-irs-contract-data/
1•cdrnsf•8m ago•0 comments

Giving LLMs a Formal Reasoning Engine for Code Analysis

https://yogthos.net/posts/2026-04-08-neurosymbolic-mcp.html
1•fogus•10m ago•0 comments

Anthropic Banned My Claude Account [video]

https://www.youtube.com/watch?v=03wgVlCKKVg
1•panchtatvam•11m ago•0 comments

A free solution to the GitHub Actions supply chain crisis

https://developerwithacat.com/blog/202604/github-actions-supply-chain-commit/
1•mmarian•13m ago•0 comments

Recycling Uranium: A Practical Guide

https://arenamagazine.substack.com/p/recycling-uranium-a-practical-guide
1•crescit_eundo•14m ago•1 comments

git replay – EXPERIMENTAL: Replay commits on a new base, for bare repos too

https://git-scm.com/docs/git-replay
1•eevilspock•15m ago•0 comments

Pact: Trustworthy Coordination for Multi-Agentic Ecosystems

https://www.basis.ai/blog/choreographies/
1•gopiandcode•16m ago•0 comments

git history – EXPERIMENTAL: Rewrite history

https://git-scm.com/docs/git-history
1•eevilspock•17m ago•0 comments

Bot Tool

https://github.com/ghostintheprompt/bot_toll
1•ghstinda•20m ago•0 comments

Seed-strapping: Skipping Seed to raise at Series A

https://sheetventure.com/fundraising-knowledge/what-determines-skipping-seed-funding-for-series-a
2•ageospatial•20m ago•0 comments

Session replay, custom dashboards, and RUM in self-hosted Umami v3.1

https://hmmr.online/posts/umami-v3-1-0-review/
1•ZanderHammer•21m ago•0 comments

Tariffs Raised Consumers' Prices, but the Refunds Go Only to Businesses

https://www.nytimes.com/2026/04/24/us/politics/companies-consumers-tariff-refunds.html
2•duxup•21m ago•1 comments

Anthropic reveals changes to Claude's operating instructions caused degradation

https://venturebeat.com/technology/mystery-solved-anthropic-reveals-changes-to-claudes-harnesses-...
1•vednig•23m ago•0 comments

Aperture beta: better controls for the AI agent era

https://tailscale.com/blog/aperture-public-beta
1•Brajeshwar•24m ago•0 comments

termscp: a feature rich terminal UI file transfer and explorer

https://github.com/veeso/termscp
1•indigodaddy•25m ago•0 comments

85% of enterprises are running AI agents. Only 5% trust them enough to ship

https://venturebeat.com/security/85-of-enterprises-are-running-ai-agents-only-5-trust-them-enough...
2•vednig•25m ago•1 comments

The Download: supercharged scams and studying AI healthcare

https://www.technologyreview.com/2026/04/24/1136400/the-download-supercharged-scams-questionable-...
1•joozio•26m ago•0 comments

A 13-month-old LlamaIndex bug re-embeds unchanged content

https://sebastiantirelli.com/writing/llamaindex-embedding-churn/
1•tirelli•27m ago•1 comments

Show HN: Signova AI – DocuSign alternative for $7

https://signova.ai
1•parshi•27m ago•0 comments

Tensorlake is now an official Harbor environment runtime

https://www.tensorlake.ai/blog/tensorlake-harbor-environment-runtime
1•cooleel•30m ago•0 comments