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

Show HN: Modern Desktop/WASM Weaving Software

https://www.weftover.com/
1•scronkfinkle•45s ago•0 comments

Show HN: Skyofsound – A star map of 6,291 music genres

https://skyofsound.com/
1•giuocopiano•48s ago•0 comments

Show HN: CCToolify – Dev cache cleaner, port finder and app firewall for Mac

https://cctoolify.com
1•kythanh•2m ago•0 comments

Show HN: Glagol – Classic books as short visual novels, in the original text

https://playglagol.tech/
1•saviorand•3m ago•0 comments

Show HN: Kove, a health journal your assistant writes to over MCP

https://kovejournal.com/
1•brint-dev•3m ago•0 comments

Show HN: ViewChat – Read real AI agent conversations instead of trace trees

https://view-chat.com/
1•uriva•3m ago•0 comments

Aviation maintenance fraud: Dead mechanic logs annual

https://generalaviationnews.com/2026/07/22/aviation-maintenance-fraud-dead-mechanic/
1•u-pump•4m ago•0 comments

Show HN: ModelTab, a local-first tracker for AI subscriptions and API bills

https://modeltab.app/
1•noloman•4m ago•0 comments

Reservation system used by NL restaurants hacked; Customers scammed on WhatsApp

https://nltimes.nl/2026/12/02/reservation-system-used-many-dutch-restaurants-hacked-customers-sca...
1•carschno•5m ago•1 comments

The Unreasonable Effectiveness of Vibeproving for Bug Finding

https://kcsrk.info/ocaml/verification/llm/2026/12/02/vibeproving-for-bug-finding/
1•srid•5m ago•0 comments

Arthur Aron's Intimacy-Building Questions

https://bakadesuyo.com/aron/
2•bushwart•5m ago•0 comments

Show HN: Free approval and change-order clause generator for freelance contracts

https://ratisfy.com/tools/approval-clause-generator
1•ratisfy•5m ago•0 comments

Monthly Hunt: Product Hunt's month on one page

https://monthlyhunt.com/
1•ddesposito•6m ago•0 comments

Beyond CPU Utilization: Using Psi to Diagnose Kubernetes Resource Contention

https://kubernetes.io/blog/2026/12/01/using-psi-to-diagnose-kubernetes-resource-contention/
1•torutofu•7m ago•0 comments

Show HN: A 3D shower shelf in Three.js without Blender or heavy HDRIs

https://showerthoughts.dev/writing/3d-shower-shelf-threejs/
1•sbryers•7m ago•0 comments

Show HN: Tina Staff – Zero-subscription iOS piano note speed trainer with MIDI

https://tinastaff.com/en/
1•shrektan•7m ago•1 comments

System Settings and its last mile problem

https://unsung.aresluna.org/system-settings-and-its-last-mile-problem/
1•surprisetalk•7m ago•0 comments

Show HN: Floor plans and 3D in the browser, no account, plans stay local

https://planyourlayout.com/
1•okutan•8m ago•0 comments

Show HN: Prop Firm Drawdown Calculator

https://sniperjournal.io/tools/prop-firm-drawdown-calculator
1•xvladi•8m ago•0 comments

Is Apache-2.0 a Good Fit for Releasing Model Weights?

https://shujisado.org/2026/12/02/apache_2_0_model_weights/
1•Brajeshwar•9m ago•0 comments

What happened in Airbyte's November cybersecurity incident

https://airbyte.com/blog/what-happened-in-november
1•nlittlepoole•9m ago•0 comments

They Built a Reactor Under a Mountain. It Exploded After One Month [video]

https://www.youtube.com/watch?v=z3NOVnnbjVw
1•zeristor•12m ago•1 comments

Show HN: Factorio but with Unreliable Components

https://think-twice.me/public/rely/
1•zug_zug•13m ago•0 comments

EU ministers agree Starlink may bid for only third of satellite band for phones

https://maccus.fr/en/eu-satellite-band-starlink/
1•vrganj•15m ago•0 comments

Initial Results from the EUV Engineering Test Stand(2001) [pdf]

https://goldberg.lbl.gov/papers/Tichenor_SPIE01_ETS_paper.pdf
1•pillars•16m ago•0 comments

Show HN: Music Age Test – Zero-login listening age quiz with 8s audio previews

https://musicagetest.com/
1•ropoz•16m ago•0 comments

Experts 'wargamed' the collapse of a vital Atlantic current (AMOC)

https://www.theguardian.com/environment/2026/dec/02/100-experts-wargame-collapse-atlantic-meridio...
4•manarth•17m ago•0 comments

AWS Greenlight: Using automated reasoning to verify AI agent safety policies

https://www.aboutamazon.com/news/aws/aws-greenlight-automated-reasoning-ai-agents
1•mtw14•18m ago•0 comments

Thirteen Notes on AI and Academia

https://carlorimbotti.substack.com/p/thirteen-notes-on-ai-and-academia
2•robertvandermaa•19m ago•0 comments

Claude Was Caught Doing This to Developers [video]

https://www.youtube.com/watch?v=MrU-6OAYrkA
2•Bender•19m ago•0 comments