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

Mojo in Mid-2026: From Python-Inspired Experiment to Production Systems Language

https://www.reddit.com/r/AgentContext_dev/comments/1vn5xef/mojo_in_mid2026_from_pythoninspired_ex...
1•javaeeeee•5m ago•0 comments

Operational Guidelines for DNS Transport in Mixed IPv4/IPv6 Environments

https://datatracker.ietf.org/doc/rfc10001/
1•m_montazeri•8m ago•0 comments

FoodGuessr

https://www.foodguessr.com
1•choult•10m ago•0 comments

Potatoes 'boil' in the ground as record heatwave sweeps across swathes of Asia

https://www.theguardian.com/world/2026/aug/13/asia-heatwave-south-korea-potatoes-boil-ground-reco...
3•akbarnama•12m ago•0 comments

Cyberattack on Taiwan Exposes the Execution-Finality Gap

https://zenodo.org/records/21915825
1•sangamdas1982•14m ago•0 comments

NightmareEclipse Publishes New Windows Defender Zero Day

https://cyberplace.social/@GossiTheDog/117082623896479140
1•_tk_•16m ago•0 comments

Romania to shut down nuclear plant due to low Danube level

https://www.lemonde.fr/en/international/article/2026/08/13/romania-to-shut-down-nuclear-plant-due...
2•geox•19m ago•0 comments

Lawsuit fights Ellison-Trump corruption's harm to news outlets

https://freedom.press/issues/lawsuit-fights-ellison-trump-corruptions-harm-to-news-outlets/
3•abdelhousni•21m ago•0 comments

AI 2027 Tracker: Tracking predictions from the AI 2027 scenario against reality

https://ai2027-tracker.com/
2•merksittich•25m ago•0 comments

Gnome Shell Design Dreams

https://blogs.gnome.org/shell-dev/2026/08/11/gnome-shell-design-dreams/
1•birdculture•26m ago•0 comments

Terminate-and-Stay-Resident Program

https://en.wikipedia.org/wiki/Terminate-and-stay-resident_program
2•Bluestein•29m ago•0 comments

Rate of climate change affects stability of the AMOC

https://www.eurekalert.org/news-releases/1139863
1•TechTechTech•32m ago•0 comments

List of Unsolved Problems in Mathematics

https://en.wikipedia.org/wiki/List_of_unsolved_problems_in_mathematics
2•frozenseven•34m ago•0 comments

Affordable AI+human insight helped us close 40yr sporadic group Galois problem

https://www.shaowuzhang.com/files/how-we-found-m23.pdf
3•oliculipolicula•35m ago•0 comments

Show HN: Wala Vibes – scene-based radio for nostalgic Indian music

https://walavibes.wtf
1•yunweiguo•38m ago•0 comments

If I own Claude's outputs why can't I train my own model on them?

https://support.claude.com/en/articles/12326764-can-i-use-my-outputs-to-train-an-ai-model
18•DarenWatson•38m ago•5 comments

After a lot of thought, we've decided to retire SvelteJobs

https://sveltejobs.com/
2•thunderbong•46m ago•0 comments

Apple TV just added a bunch of classic movies to stream for free

https://9to5mac.com/2026/08/12/apple-tv-just-added-a-bunch-of-classic-movies-to-stream-for-free/
3•tosh•50m ago•0 comments

Spicy tale of an App Store fraud

https://lapcatsoftware.com/articles/2026/8/4.html
3•latexr•52m ago•0 comments

GitSkills: A Dataset of Agent Skills on GitHub

https://arxiv.org/abs/2608.10906
3•miningthemall•53m ago•0 comments

Win-V combo from Windows on Ubuntu

https://leo98ml.github.io/win-v/
1•havaianaslife•54m ago•0 comments

IOI 2026 Final Ranking

https://ranking.ioi2026.uz/
1•pykello•55m ago•0 comments

One VC burns through tokens a day to find the next unicorn

https://restofworld.org/2026/activate-interview-vc-sovereign-ai/
2•nanfinitum•58m ago•0 comments

Twitch now uses your channel to train generative AI by default

https://twitter.com/zachbussey/status/2087573860929478785
3•haunter•58m ago•0 comments

Drone Sightings Happening at Diego Garcia, US's Remote Strategic Island Outpost

https://www.twz.com/news-features/drone-sightings-are-happening-at-diego-garcia-americas-remote-s...
2•rbanffy•59m ago•0 comments

Program = Proof [pdf]

https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching/pp/course.pdf
1•leonidasrup•59m ago•0 comments

DeepSWE August 13 Update with Grok 5.6 and DeepSeek v4 Pro 0813

https://deepswe.datacurve.ai/
1•theanonymousone•59m ago•0 comments

Boltz shuts down Bitcoin swaps, citing AI attacks outpacing patching

https://davidebtc186.substack.com/p/ai-vs-ai-how-boltzs-shutdown-reveals
1•shadowbip•1h ago•0 comments

Medical data of 19M Poles stolen in major breach

https://www.pap.pl/en/news/medical-data-19-million-poles-stolen-major-breach-minister-says
4•mromnia•1h ago•1 comments

Quincunx: A discovery engine for the sparse domains

https://arsinq.com/articles/quincunx/
2•knipnehpets•1h ago•0 comments