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

Comments

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

Copilot Usage Report 2025

https://microsoft.ai/news/its-about-time-the-copilot-usage-report-2025/
1•samspenc•1m ago•0 comments

Human brains light up unexpectedly for chimp voices

https://elifesciences.org/reviewed-preprints/108795v1
1•stevenjgarner•1m ago•0 comments

Most of What You Read on the Internet Is Written by Insane People (2018)

https://old.reddit.com/r/slatestarcodex/comments/9rvroo/most_of_what_you_read_on_the_internet_is_...
1•sph•4m ago•0 comments

Cable channel subscribers grew in 8 years last quarter

https://arstechnica.com/gadgets/2025/12/cable-channel-subscribers-grew-for-the-first-time-in-year...
1•Bender•6m ago•0 comments

A new open AI coding model is closing in on proprietary options

https://arstechnica.com/ai/2025/12/mistral-bets-big-on-vibe-coding-with-new-autonomous-software-e...
1•Bender•6m ago•0 comments

After NPR and PBS defunding, FCC receives call to take away station licenses

https://arstechnica.com/tech-policy/2025/12/conservative-attacks-on-npr-and-pbs-continue-with-cal...
1•Bender•7m ago•0 comments

Towards an Implementation-Independent Interface for Semantic Web in Prolog [pdf]

https://github.com/Kiyoshi364/static-memory/blob/main/talks/Towards_an_Implementation-Independent...
1•triska•8m ago•0 comments

Songs of Syx is a fantasy city-builder with battles simulating

https://store.steampowered.com/app/1162750/Songs_of_Syx/
1•doener•8m ago•0 comments

How to Read a Book

https://en.wikipedia.org/wiki/How_to_Read_a_Book
1•tosh•8m ago•0 comments

Electron-phonon crystal interactions found quantized by a fundamental constant

https://phys.org/news/2025-12-electron-phonon-interactions-crystals-quantized.html
1•stevenjgarner•8m ago•1 comments

USA seizes oil tanker off Venezuelan coast

https://www.cnn.com/2025/12/10/politics/oil-tanker-seized-venezuela
1•1970-01-01•9m ago•1 comments

Show HN: CoverSEO – AI-powered keyword discovery using real SEO data

https://coverseo.com
1•drdruide•10m ago•0 comments

New Brain Maps Show How Chemical Tags Change and Link to Disease

https://www.nature.com/articles/s41593-025-02112-z
1•stevenjgarner•12m ago•1 comments

The future for women investors is in danger

https://www.fastcompany.com/91443693/women-investors-venture-capital-founders-fund-tech
1•simonebrunozzi•13m ago•1 comments

Rubio bans Calibri font at State Department for being too DEI

https://techcrunch.com/2025/12/10/marco-rubio-bans-calibri-font-at-state-department-for-being-too...
3•andrewstetsenko•13m ago•1 comments

Vibe Coding Is Good Enough

https://www.theregister.com/2025/12/10/vibe_coding_is_good_enough/
1•mpesce•18m ago•1 comments

Show HN: Real-time app-specific metrics via simple HTTP POST

1•nishimoo•21m ago•0 comments

Lessons learned from studying Fizzy test suite

https://testdrivingrails.com/blog/fizzy-test-suite
1•strzibny•22m ago•0 comments

U.S. may require Dutch travelers to share 5 yrs of social media to enter country

https://nltimes.nl/2025/12/10/us-may-require-dutch-travelers-share-5-years-social-media-enter-cou...
1•TechTechTech•22m ago•1 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
1•simonw•24m ago•0 comments

Google rolling out Android Emergency Live Video sharing

https://9to5google.com/2025/12/10/android-emergency-live-video/
1•methuselah_in•24m ago•0 comments

Why America Is Winning the Carbon Capture Race

https://oilprice.com/Energy/Energy-General/Why-America-Is-Winning-the-Carbon-Capture-Race.html
1•PaulHoule•25m ago•0 comments

DHH and Open Source

https://ma.tt/2025/12/dhh-open-source/
2•cratermoon•25m ago•1 comments

AI Turns the Firehose into a Funnel

https://www.niemanlab.org/2025/12/ai-turns-the-firehose-into-a-funnel/
2•speckx•26m ago•0 comments

I miss the old Qasar, not the new Qasar

https://qy.co/writings/newqasar/
1•stopachka•26m ago•0 comments

Streaming Comes into the Fold – IBM Confluent Acquisition Analysis

https://tomtunguz.com/ibm-confluent-acquisition-analysis/
1•nowflux•28m ago•1 comments

Campus Hook: a social directory for college students (2002)

https://www.scribd.com/document/964087828/Campus-Hook-business-plan
1•jlodwick•28m ago•1 comments

The Xonsh shell wrapped up 2024-2025 with impressive improvements

https://github.com/xonsh/xonsh
1•ananany•29m ago•1 comments

Meta shifts to closed 'Avocado' AI model trained on Alibaba's Qwen

https://www.perplexity.ai/discover/top/meta-shifts-to-closed-avocado-Yd5AUbWsQw.ACDZxeNEzOA
1•chickensong•30m ago•0 comments

Predictions for Journalism 2026

https://www.niemanlab.org/collection/predictions-2026/
1•ChrisArchitect•30m ago•0 comments