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

Comments

panstromek•10mo 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•10mo 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•10mo 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_•10mo 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_•10mo 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•10mo 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•10mo 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

Of the Greate Liberation of Websytes

https://elliotbonneville.com/the-internet-is-about-to-get-weird-and-beautiful/
1•elliotbnvl•1m ago•0 comments

Show HN: WordBulb – Interactive Word Cloud Generator You Can Use for Navigation

https://wordbulb.com/word-cloud-generator
1•rkj93•1m ago•0 comments

Why every AI video tool feels broke

https://www.openslop.ai/blog/why-every-ai-video-tool-feels-broken
1•umairnadeem123•2m ago•0 comments

Free, local-first barcode generator (No server uploads)

1•BarcodX•5m ago•0 comments

Experimenting a New Syntax to Write SVG (2022)

https://yuanchuan.dev/experimenting-a-new-syntax-to-write-svg
1•cristoperb•7m ago•0 comments

NASA's Artemis 2 rocket hit by new problem expected to bump moonshot into April

https://spaceflightnow.com/2026/02/21/nasas-artemis-2-rocket-hit-by-new-problem-expected-to-bump-...
2•bookmtn•9m ago•0 comments

Show HN: Nucleus - A Sovereign Control Plane for AI Agents

https://github.com/eidetic-works/mcp-server-nucleus
1•NucleusOS•10m ago•1 comments

Show HN: Residue – connect AI agent conversations with Git commits

https://residue.dev/
1•mrbutttons•10m ago•0 comments

No-circles: Read what they don't. Think what they can't

https://www.no-circles.com/
1•NamanChetwani•14m ago•1 comments

Linux Begins Seeing Early Preparations for PCIe 7.0

https://www.phoronix.com/news/Linux-Early-PCIe-Gen-7-Prep
1•snowhale•25m ago•0 comments

Show HN: Create edited videos with AI-generated scripts and your voice

https://github.com/derikvanschaik/videoai
1•dman_the2nd•27m ago•3 comments

Hackers expose vulnerabilities in Discord's age verification system

https://www.ibtimes.com/hackers-expose-discord-age-verification-system-issue-after-persona-fronte...
1•pabs3•28m ago•0 comments

Red Robin Died by Spreadsheet. Don't Make the Same Mistake

https://garryslist.org/posts/red-robin-died-by-spreadsheet-don-t-make-the-same-mistake
3•mooreds•33m ago•0 comments

Apple M5 Pro/Max and TSMC SOIC-MH 2.5D chiplet packaging

https://old.reddit.com/r/macbookpro/comments/1r7hd6d/explaining_m5_prosmaxs_new_soicmh_25d_packag...
2•walterbell•35m ago•0 comments

Remove Jira integration, issue-based triggers, and parent-issue rules

1•nishiohiroshi•38m ago•0 comments

US judge upholds $243M verdict against Tesla over fatal Autopilot crash

https://www.reuters.com/world/us-judge-upholds-243-million-verdict-against-tesla-over-fatal-autop...
6•raincole•42m ago•0 comments

Attention is all you need to bankrupt a university

https://hollisrobbinsanecdotal.substack.com/p/attention-is-all-you-need-to-bankrupt
3•HR01•44m ago•0 comments

Chroma-print – Rust library for styled terminal printing using ANSI escape codes

https://github.com/brysonbw/chroma-print
2•Brysonbw•44m ago•0 comments

HN-stories – Rust CLI to browse and open Hacker News stories from the terminal

https://github.com/brysonbw/hn-stories
1•Brysonbw•45m ago•1 comments

Show HN: ShuttleAI – One API for Claude Opus 4.6 and GPT-5.2

https://shuttleai.com/
1•tristandevs•49m ago•0 comments

The Internet Is Becoming a Dark Forest – and AI Is the Hunter

https://opennhp.org/blog/the-internet-is-becoming-a-dark-forest.html
1•windcbf•52m ago•3 comments

Hatchat – a Slack-like chat application on top of SQLite

https://github.com/llimllib/hatchat
1•rickcarlino•54m ago•0 comments

Anonymous file sharing on Stellar Testnet

https://0ut0flin3.github.io/fr0g-protocol/frontend/
1•0ut0flin3•55m ago•0 comments

The Flying Wallendas

https://en.wikipedia.org/wiki/The_Flying_Wallendas
1•jxmorris12•56m ago•0 comments

Show HN: Im making a tutorial Zero to LLM Agent; and it wrote its own agent loop

https://www.conseval.com/zero-to-llm-agent/
1•macrolet•58m ago•0 comments

A Botnet Accidentally Destroyed I2P

https://www.sambent.com/a-botnet-accidentally-destroyed-i2p-the-full-story/
3•Cider9986•59m ago•0 comments

The Hobbyist Maintainer Economic Gravity Well

https://www.softwaremaxims.com/blog/hobbyist-gravity-well
2•pabs3•1h ago•1 comments

What Language Is This? Ask Your Tokenizer

https://arxiv.org/abs/2602.17655
1•tigoo•1h ago•0 comments

The History of a Security Hole

https://www.os2museum.com/wp/the-history-of-a-security-hole/
2•st_goliath•1h ago•1 comments

New electrolyzer turns plastic-waste syngas into ethylene with less energy

https://techxplore.com/news/2026-02-electrolyzer-plastic-syngas-ethylene-energy.html
1•PaulHoule•1h ago•0 comments