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

A Python lattice simulation showing emergent topological solitons

https://zenodo.org/records/20262720
1•kisnorbert•39s ago•0 comments

The jobs apocalypse: a (very) short history

https://www.economist.com/finance-and-economics/2026/05/14/the-jobs-apocalypse-a-very-short-history
1•svara•2m ago•0 comments

Guide to POSETTE: An Event for Postgres 2026, free and virtual

https://techcommunity.microsoft.com/category/azuredatabases/blog/adforpostgresql
1•clairegiordano•4m ago•0 comments

50 Years of BART – Beginning with BART [video]

https://www.youtube.com/watch?v=9BGuEpNBGxI
1•Austin_Conlon•4m ago•0 comments

Ansede-static: offline SAST, 98.8% CVE recall, catches IDOR and auth bypass

https://github.com/mattybellx/Ansede
1•mattybellx•6m ago•0 comments

ISS – Geolocating Astronaut Photography (2024)

https://web.archive.org/web/20260406181144/https://eol.jsc.nasa.gov/BeyondThePhotography/Automate...
1•jcattle•7m ago•1 comments

SiliconBox Monitor

https://github.com/maecer/silimon
1•montaggolan•8m ago•1 comments

Nobody Pushed Back: Why Engineers Stay Silent Until It's Too Late

https://howtocenterdiv.com/beyond-the-div/nobody-pushed-back
2•imkyssa•8m ago•1 comments

Tinysub: Simple web player for subsonic compatible music servers

https://tangled.org/devins.page/tinysub
1•nerdypepper•9m ago•0 comments

Biff 2.0 Sneak Peak

https://biffweb.com/p/biff2/
1•TheWiggles•11m ago•0 comments

The 96% that doesn't depend on you: why GEO is fundamentally off-page

https://blog.estevecastells.com/ai/geo-96-percent-off-page/
1•thesyray•11m ago•0 comments

Earth's Radio Bubble: Every Signal We've Ever Sent into Space

https://www.thescientificdrop.com/2026/05/earths-radio-bubble-every-signal-weve.html
1•jonbaer•13m ago•0 comments

The Killer Robots: The Ukrainian Forging the Future of Warfare

https://www.nytimes.com/2026/05/15/world/europe/mykhailo-fedorov-ukraine-ai.html
2•uxhacker•13m ago•0 comments

QuickAccent from Powertoys to Linux/macOS built with Rust and Iced

https://github.com/victormasson/QuickAccent
1•aclydes•14m ago•1 comments

The Joys of Free Cloudflare

https://dm13450.github.io/2026/05/18/the-joys-of-free-cloudflare.html
1•dm13450•15m ago•0 comments

We Are Sliding Back into the Middle Ages

https://www.nytimes.com/2026/05/17/opinion/supernatural-religion-reality.html
5•johntfella•19m ago•0 comments

Studio 3T Alternative: A More Visual Way to Work with MongoDB

https://visualeaf.com/blog/visualeaf-as-a-studio-3t-alternative-in-2026/
3•roxana_haidiner•20m ago•0 comments

The Time Bomb Went Off: AI's All-You-Can-Eat Era Just Ended in Real Time

https://www.thestateofbrand.com/news/ai-subscription-price-subsidiation-ending
3•cnr•20m ago•0 comments

Dcm-anon: DICOM anonymizer with a verbatim-cited GDPR/HIPAA compliance manifest

https://github.com/Ces107/dcm-anon
2•Ces107•21m ago•0 comments

Have you tried Agentic analytics tools?

https://mitzu.io/post/best-ai-analytics-tools/
2•ambrusp•23m ago•0 comments

Is Europe in Economic Decline?

https://paulkrugman.substack.com/p/is-europe-in-economic-decline
3•vrganj•24m ago•2 comments

The AI Layoff Receipts

https://readuncut.com/the-ai-layoff-receipts/
4•ablation•30m ago•0 comments

Why is Google Maps back to showing old satellite images of Altadena?

https://www.reddit.com/r/pasadena/s/94BHlkE84r
3•tgrowazay•30m ago•0 comments

Request for information: Development of a SMR for marine transportation system

https://www.federalregister.gov/documents/2026/05/07/2026-09070/request-for-information-developme...
2•leonidasrup•30m ago•0 comments

Meet The Sad Wives of AI

https://www.wired.com/story/meet-the-sad-wives-of-ai/
4•thm•36m ago•0 comments

Jelly Tide Official Site – The Viral 2026 Gelatin Gummy

https://finance.yahoo.com/sectors/healthcare/articles/jelly-tide-gummies-exploding-2026-154100263...
2•kaostarp•38m ago•0 comments

PromptStash – A "/" command palette for AI prompts that works everywhere

https://chromewebstore.google.com/detail/promptstash-—-ai-prompt-m/hbnlmpgdblbmpamfhmiioeapggao...
3•jescabvig•38m ago•0 comments

AI super-apps are remaking China's internet

https://www.economist.com/business/2026/05/17/ai-super-apps-are-remaking-chinas-internet
3•pingou•40m ago•0 comments

Post-quantum TLS rolled out last January and broke most open-source scrapers

https://foura.ai/blog/ja4-tls-broke-basic-scraper
4•angelhadjiev•43m ago•0 comments

Hollywood Invented the Girlboss

https://jacobin.com/2026/05/criterion-office-romances-women-workplace
2•robtherobber•51m ago•0 comments