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

White-collar workers report growing feelings of 'AI brain fry'

https://www.ft.com/content/0ba3bd4f-cc3a-4cad-8a8e-76925da2a711
2•1vuio0pswjnm7•5m ago•0 comments

How Do VPNs Protect Your Privacy? VPN Overview

https://www.privacyguides.org/en/basics/vpn-overview/
1•Cider9986•6m ago•0 comments

Secrets at Rest: SOPS and Age for Docker Compose Homelabs

https://pikemd.com/blog/sops-age-docker-compose/
2•pike00•8m ago•0 comments

Self-destructing $2k Nvidia chips for distributed solar data ctrs in lampposts

https://www.techradar.com/pro/self-destructing-usd2-000-nvidia-chips-will-soon-power-tens-of-thou...
2•toss1•11m ago•0 comments

I ran forensics on closed models and discovered no one is using dense attention

https://blog.0xmmo.co/forensics/post.html
1•mmoustafa•14m ago•0 comments

Countdown to Apophis Close Approach–Cascading Hazards from Asteroid Impacts

https://pubs.usgs.gov/publication/fs20253028/full
1•rolph•15m ago•0 comments

Systematically Auditing AI Agent Benchmarks with BenchJack

https://arxiv.org/abs/2605.12673
1•matt_d•18m ago•0 comments

Show HN: Trailmaps.app – Mobile maps that match the trail

https://trailmaps.app/
1•c0nsumer•21m ago•1 comments

Musk's China trip during OpenAI trial prompts apology from his lawyer

https://www.cnbc.com/2026/05/14/musk-lawyer-trial-jury-china-trip-openai-altman.html
1•1vuio0pswjnm7•23m ago•0 comments

How to Fix "DMARC Quarantine/Reject Policy Not Enabled"

https://dmarcguard.io/blog/dmarc-policy-not-enabled-fix/
1•meysamazad•24m ago•0 comments

How do you tell who's thinking?

https://willhackett.com/borrowed-cognition/
1•meysamazad•25m ago•0 comments

Ingest – Capture Anything from Anywhere

https://edleeman.co.uk/posts/ingest-capture-anything-from-anywhere/
1•meysamazad•25m ago•0 comments

Cowboy files plans for up to 20k orbital data centers

https://spacenews.com/cowboy-files-plans-for-up-to-20000-orbital-data-centers/
2•defrost•26m ago•0 comments

Bay Area customers may face warnings, fees under Recology's new camera system

https://www.sfgate.com/local/article/recology-cameras-22259377.php
1•turtlegrids•28m ago•0 comments

Water on Earth

https://www.scientificamerican.com/article/its-a-water-full-world/
2•soupspaces•29m ago•0 comments

Big tech is sacrificing its cashflows to prop up the AI boom

https://www.economist.com/business/2026/05/13/big-tech-is-sacrificing-its-cashflows-to-prop-up-th...
3•1vuio0pswjnm7•30m ago•1 comments

Possible Samsung strike puts more pressure on memory pricing

https://www.theregister.com/systems/2026/05/15/possible-samsung-strike-puts-even-more-pressure-on...
1•jnord•33m ago•0 comments

Beyond Git: Coordinating humans, agents, and automation in a repo with a ledger

https://www.mentu.ai/blog/beyond-git
2•rashidae•33m ago•0 comments

Audit of Serai's Substrate Blockchain

https://serai.exchange/2026/04/15/serai-blockchain-audited.html
1•Cider9986•34m ago•0 comments

The secretive and lucrative world of orchid breeding

https://www.bbc.com/news/articles/cly039rr2mgo
1•y1n0•34m ago•0 comments

Spam Resistant Forges

https://blog.feld.me/posts/2026/05/spam-resistant-forges/
1•y1n0•35m ago•0 comments

Untangling Communication (2001) [pdf]

https://dhemery.com/pdf/untangling_communication.pdf
1•mooreds•35m ago•0 comments

Don't let your old NVMe gather dust: It's the fastest USB stick you own

https://www.xda-developers.com/old-nvme-is-the-fastest-usb-stick-you-own/
2•y1n0•38m ago•0 comments

AI Wellbeing – Measuring and Improving the Functional Pleasure and Pain of AIs

https://www.ai-wellbeing.org/
1•xiaoyu2006•39m ago•1 comments

Heads up: new Google support scam uses a REAL email from Google: sysadmin

https://old.reddit.com/r/sysadmin/comments/1tdezhu/heads_up_new_google_support_scam_uses_a_real/
1•freediver•40m ago•0 comments

US plans to indict Cuba's Raul Castro, US DOJ official says

https://www.reuters.com/legal/government/us-plans-indict-cubas-raul-castro-us-doj-official-says-2...
1•tartoran•42m ago•0 comments

We Didn't Ask for This Internet

https://angelabenton.substack.com/p/what-a-post-social-media-internet
1•ethanplant•53m ago•0 comments

How the World Became a Casino

https://podcasts.apple.com/us/podcast/how-the-world-became-a-casino-with-natasha-sch%C3%BCll/id17...
1•gmays•55m ago•0 comments

A defunct email service as a template for campus AI

https://nathanschneider.info/2026/05/a-defunct-email-service-as-a-template-for-campus-ai/
1•ntnsndr•59m ago•0 comments

Why should a Trace-ID be 128 bits?

https://newsletter.signoz.io/p/why-should-a-trace-id-be-128-bits
2•pranay01•59m ago•0 comments