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

Creative Fuel Prompts

https://fromthepencup.wordpress.com/2026/10/02/creative-fuel-prompts/
1•andsoitis•2m ago•0 comments

Bone Stress Injuries in Runners Using Carbon Fiber Plate Footwear

https://pmc.ncbi.nlm.nih.gov/articles/PMC10356879/
1•bookofjoe•4m ago•0 comments

Engineering Ethics Should Be Part of Technical Training

https://spectrum.ieee.org/integrating-engineering-ethics-education
1•rbanffy•8m ago•0 comments

The Moon Mission That's a High-Tech Cave Hunt

https://www.universetoday.com/articles/nasa-selects-gimli-to-search-the-marius-lunar-pit-for-a-po...
1•rbanffy•11m ago•0 comments

Open Source RUM (Real User Monitoring)

https://www.basicrum.com/
1•ssttoo•14m ago•0 comments

Yes I Understand How LLMs Work

https://kemendo.com/yes-i-understand-how-llms-work.html
1•AndrewKemendo•15m ago•0 comments

Microsoft barred from sponsoring foreign workers for US residency

https://arstechnica.com/tech-policy/2026/10/trump-administration-targets-microsoft-in-new-immigra...
3•rbanffy•16m ago•0 comments

Atticus – hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
2•SaarthRanka•16m ago•0 comments

Tandem Himalaya Server S7000

1•combarbala•17m ago•0 comments

MASS: Recursive Self-Improvement Through Multi-Agent Self-Supervision

https://pub.sakana.ai/mass/?href=
1•jonbaer•19m ago•0 comments

Beijing residents dispose of drones ahead of ban on ownership

https://www.abc.net.au/news/2026-10-12/beijing-residents-dispose-drones-ahead-of-ban-on-ownership...
3•uxhacker•20m ago•0 comments

I made an open-source Boom 3D clone. Wanna check it out?

https://github.com/JVGS1111/open-boom
2•joaoviniciusgs•21m ago•1 comments

Models as Insider Risks in the Super Intelligence Era

https://twitter.com/satyanadella/status/2108931348857827686
2•MrBuddyCasino•23m ago•1 comments

Show HN: Preloop – GitHub Actions locally in microvms and SSH/pause failures

https://github.com/preloopdev/preloop
2•Bnjoroge•24m ago•0 comments

Beta.getmonero.org

https://www.getmonero.org/2026/09/08/announcing-the-getmonero-org-beta.html
3•Cider9986•24m ago•0 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
4•TedHaley•27m ago•0 comments

HashiCorp archives the Boundary open source repo

https://github.com/hashicorp/boundary
2•vmatsiiako•29m ago•0 comments

Danny Ische draws pixels, cross-stitch and paperclips – all with a trusty pencil

https://www.creativeboom.com/work/danny-ische-draws-pixels-cross-stitch-and-paperclips-all-with-a...
2•andsoitis•30m ago•0 comments

Qt An E2EE post-quantum messenger core in Rust (10k connections on 124MB RAM

https://github.com/moral666/QT
2•moral666•39m ago•0 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
24•cainxinth•41m ago•5 comments

Show HN: Plimsoll, a self-hosted sandbox for code your AI agent writes

https://github.com/plimsollmark/plimsoll
4•cagster•43m ago•0 comments

X Once Again Marks the Spot

https://daringfireball.net/2026/10/x_once_again_marks_the_spot
3•neural_thing•44m ago•6 comments

I deploy my project easily

https://cx-shipd.netlify.app
2•CX-Designs•46m ago•0 comments

UTXO Bitcoin Composition Engine

https://github.com/Artur7897/bitcoin-composition-engine
3•hreczynski1984•51m ago•0 comments

Governments are mishandling the affordability crisis

https://www.economist.com/finance-and-economics/2026/10/08/governments-are-mishandling-the-afford...
13•andsoitis•51m ago•3 comments

OVI-CODE – An extendable and keyboard-driven coding agent for your terminal

https://ovicorps.github.io/ovi-code/
2•ovicorps•52m ago•0 comments

Undersea cables: the battle for the ocean floor

https://www.ft.com/content/f5ca2cc7-dcbd-40cd-a173-9b9da94cb655
2•snarky-comments•53m ago•0 comments

The Oldest Bridge (archeology)

https://www.youtube.com/watch?v=HWSlI9HZqZQ
2•brudgers•53m ago•0 comments

Data Centers around the world (12,000+)

https://www.datacenters.com/locations
2•andsoitis•56m ago•0 comments

GE-RCV1: open the garage with the gate remote

https://blog.jacq.cc/guides/ge-rcv1-garage-gate-remote/
2•xx__yy•58m ago•1 comments