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•9mo ago

Comments

panstromek•9mo 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•9mo 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•9mo 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_•9mo 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_•9mo 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•9mo 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•9mo 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: Universal ROS bridge for AI agents – control robots with LLMs

https://github.com/webthree549-bot/agent-ros-bridge
1•webthree549•3m ago•0 comments

The last-mile data problem is stalling enterprise agentic AI

https://theagenttimes.com/articles/the-last-mile-data-problem-is-stalling-enterprise-agentic-ai-g...
1•Ross00781•7m ago•0 comments

CFO says "Everyone uses Excel, definitely not Sheets. Get over it". True?

1•0xWTF•8m ago•1 comments

Stripe is holding $50K and refunding our customers

2•JohannesSchip•9m ago•0 comments

Claws are now a new layer on top of LLM agents

https://twitter.com/karpathy/status/2024987174077432126
1•Cyphase•10m ago•1 comments

SleepFM model predicts 130 conditions (C-Index >0.75) from one night of sleep

https://www.nature.com/articles/s41591-025-04133-4
1•marojejian•12m ago•1 comments

Information Wants to Be Surveiled

https://netwars.pelicancrossing.net/2026/02/20/information-wants-to-be-surveiled/
1•ColinWright•15m ago•0 comments

The Interest Rate on Your Codebase: A Financial Framework for Technical Debt

https://www.chiply.dev/post-technical-debt
1•gashad•15m ago•0 comments

Claude Code's compaction discards data that's still on disk

https://github.com/anthropics/claude-code/issues/26771
1•aciccarelli2•16m ago•1 comments

Show HN: Give your OpenClaw agent a face and voice with LiveKit and LemonSlice

https://github.com/openserv-labs/openclaw-voice-avatar
1•arbayi•17m ago•0 comments

Show HN: WatchTurm – an open-source release visibility layer I use in my work

1•WatchTurm•18m ago•0 comments

Show HN: Cellarium: A Playground for Cellular Automata

https://github.com/andrewosh/cellarium
1•andrewosh•20m ago•0 comments

Code Mode: give agents an API in 1k tokens

https://blog.cloudflare.com/code-mode-mcp/
1•janpio•20m ago•0 comments

Show HN: MephistoMail – A RAM-only, tracker-free disposable email client

1•benmxrt•21m ago•0 comments

The Two Things

https://www.csun.edu/~dgw61315/thetwothings.html#The%20Story%20of%20the%20Two%20Things
2•haunter•21m ago•0 comments

Show HN: MephistoMail – A RAM-only, tracker-free disposable email client

https://mephistomail.site?1
1•benmxrt•22m ago•0 comments

Gamedate – A site to revive dead multiplayer games

https://gamedate.org/
1•msuniverse2026•22m ago•0 comments

How Real-Time Voice Agents Work: Media Infrastructure and Latency

1•gokuljs•26m ago•0 comments

Show HN: Agent Passport – OAuth-like identity verification for AI agents

1•samerismail•27m ago•0 comments

Show HN: HN-Stories – Rust CLI to browse and open HN stories from the terminal

https://crates.io/crates/hn-stories
2•Brysonbw•28m ago•0 comments

eBay buys Depop for $1.2B in effort to lure younger shoppers

https://www.theguardian.com/technology/2026/feb/19/ebay-buys-depop-from-etsy
2•iamben•33m ago•0 comments

I Let Claude Read My Email

https://ericbrookfield.com/2026/02/20/i-let-claude-read-my-email/
2•surprisetalk•35m ago•0 comments

The Unbearable Weight of Cruft

https://www.joanwestenberg.com/the-unbearable-weight-of-cruft/
1•zdw•35m ago•0 comments

Cybernetic practices for design research pedagogy (2023)

https://onlinelibrary.wiley.com/doi/10.1002/sres.2974
1•andsoitis•36m ago•0 comments

Show HN: Routype – typed REST client in ~200 lines, no codegen

https://github.com/jbingen/routype
1•jbingen•37m ago•0 comments

Agent Compromised by Agent to Deploy an Agent

https://www.mbgsec.com/posts/2026-02-19-agent-repo-compromised-by-agent-to-install-an-agent/
3•chha•41m ago•0 comments

DHS Admits Its Website the 'Worst of the Worst' Immigrants Was Rife with Errors

https://www.cnn.com/2026/02/19/politics/homeland-security-worst-immigrants-website
3•TigerUniversity•42m ago•0 comments

The Stanford Emerging Technology Review 2026 [pdf]

https://setr.stanford.edu/sites/default/files/2026-01/SETR2026_web-260109.pdf
3•cantaloupe•43m ago•0 comments

How to Die Optimally – A Theory of Consumption When AI Takes Your Job

https://ngrislain.github.io/static/projects/ai-economics/ai-economics.html
2•ngrislain•46m ago•0 comments

ATAboy is a USB adapter for legacy CHS only style IDE (PATA) drives

https://github.com/redruM0381/ATAboy
5•zdw•48m ago•0 comments