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

What Do We Know About the Microplastics Inside Us?

https://e360.yale.edu/features/cassandra-rauert-interview
1•speckx•29s ago•0 comments

Chaos Agent

https://github.com/jasnonaz/chaos-agent
1•data_ders•2m ago•0 comments

What Is a Container, Really? Five Years of GPU Infrastructure

https://www.beam.cloud/blog/what-is-a-container-really
1•Mernit•3m ago•0 comments

The next generation of ChatGPT Voice [video]

https://www.youtube.com/watch?v=9f-Ew_lDtxc
1•gurjeet•3m ago•0 comments

panSpeedCalc

https://phfx.com/tools/panSpeedCalc/
1•skibz•4m ago•0 comments

Show HN: Apposters – Generate a project website directly from a GitHub link

https://apposters.com/
1•loeona•4m ago•0 comments

Terminal Graph – Infinite Spatial Terminal Canvas

https://terminalgraph.com
1•wpm•5m ago•0 comments

How Personas Can Influence Agents to Play Split or Steal

https://arxiv.org/abs/2607.05398
1•Brajeshwar•5m ago•0 comments

Chat Control

https://en.wikipedia.org/wiki/Chat_Control
1•sharpshadow•5m ago•0 comments

Top contributors to Codex own 50% of the codebase by linecount

https://www.reddit.com/r/PrincipalAi/s/zfDdyPkQVz
1•fernando-ram•6m ago•0 comments

NetBird Launches Open Source Agent Network

https://github.com/netbirdio/netbird/tree/main/agent-network
1•techhut•6m ago•0 comments

OffHeap – An off-heap L1 cache engine for Node.js written in Rust

https://off-heap.vercel.app/
1•onlykgzin•6m ago•0 comments

A Reminder to Limit Thinking

https://press.asimov.com/articles/limit-thinking
2•rvialep•7m ago•0 comments

The computer is being reinvented in the agentic era

https://twitter.com/gregisenberg/status/2074287887466582072
1•redbell•7m ago•0 comments

Show HN: Copy the Code. Keep the Updates

https://useregraft.com/
1•dantelex•10m ago•0 comments

How we rebuilt Pydantic’s Rust Python interpreter as a Bazel remote build

https://zozo123.github.io/bazel-monty/
1•zozo123-IB-IL2•13m ago•0 comments

When easy is not enough

https://algodeck.com/simple-easy/
1•marukodo•14m ago•0 comments

BlackBear: Private Life Operating System

https://blackbear.app/
1•redmattred•14m ago•0 comments

The web is dead, what's next?

https://ashk.au/2026/07/07/the-web-is-dead-whats-next/
1•speckx•14m ago•0 comments

Bloom Energy's Big Lie

https://hntrbrk.com/investigations/bloom
2•jaredwiener•17m ago•0 comments

A full body MRI earns you a year of smoking

https://entropicthoughts.com/full-body-mri-earns-you-a-base-jump
1•kqr•18m ago•0 comments

A browser MMO snake where ~1000 players share one CPU core

https://growordie.io
1•ncakes•20m ago•0 comments

Crypto firms prepare defenses as quantum threat to encryption draws nearer

https://www.reuters.com/legal/government/crypto-firms-prepare-defenses-quantum-threat-encryption-...
1•tartoran•21m ago•0 comments

A Windows utility for a problem that kept stealing 10 minutes at a time

https://www.indiehackers.com/post/i-launched-a-windows-utility-for-a-problem-that-kept-stealing-1...
1•enlightpixel•22m ago•0 comments

An AI coal mine security camera network powered by plaintext passwords

https://eaton-works.com/2026/07/08/coal-india-camera-hack/
2•EatonZ•23m ago•1 comments

A jigsaw puzzle where every piece is a slice of live video

https://jumpcutjigsawpuzzles.com/
1•tjsbbi•26m ago•3 comments

Show HN: Runo – open-source web scraping that returns typed JSON

https://github.com/rhymeswithlimo/runo
1•barebearcountry•27m ago•0 comments

Meta AI glasses disable the camera if the capture LED is destroyed

https://9to5google.com/2026/07/07/meta-ray-ban-smart-glasses-privacy-light-camera-update/
3•p_stuart82•28m ago•1 comments

Show HN: Arbor – code graph MCP server so agents stop grep-reading your codebase

https://github.com/Anandb71/arbor/releases/tag/v2.4.0
1•anandb71•29m ago•1 comments

How to tell if a photo is AI-generated from its metadata (C2PA, XMP, EXIF)

https://photoinvestigator.co/blog/how-to-tell-if-a-photo-is-ai-generated-metadata/
1•Danbana•29m ago•0 comments