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

Why Operational Metrics and Agent Analytics Driving Successful MCP Servers

https://glama.ai/blog/2025-12-06-the-operational-metrics-and-agent-analytics-driving-successful-m...
1•OmShree0709•2m ago•1 comments

Dex rethinks form factor for kids' tech device [video]

https://www.youtube.com/watch?v=Nz5O7PvyHcM
2•taro666•4m ago•0 comments

Cellular layers in the brain's memory center

https://keck.usc.edu/news/usc-study-reveals-hidden-cellular-layers-in-the-brains-memory-center/
2•gmays•4m ago•0 comments

Show HN: Multimodal Benchmarks

https://github.com/mixpeek/multimodal-benchmarks
2•Beefin•5m ago•0 comments

2025 Aggvent Calendar – Geometry Puzzles

https://andymath.com/2025aggventcalendar/
2•incognito124•5m ago•0 comments

PocketMage Is an E Ink PDA for the Modern Era

https://www.hackster.io/news/pocketmage-is-an-e-ink-pda-for-the-modern-era-3dac295619c0
2•todsacerdoti•9m ago•0 comments

Show HN: I built an open-source AI tool to analyze CSV locally in the browser

https://maxgfr.github.io/csv-ai-analyzer/
2•maxgfr•12m ago•0 comments

Hybrid ML and LLM Framework for Identifying Engaging, Breaking Content on Reddit

https://old.reddit.com/r/RedditEng/comments/1p6gwub/breaking_through_the_noise_a_hybrid_ml_and_llm/
1•nowflux•12m ago•0 comments

CATL Expects Oceanic Electric Ships in 3 Years

https://cleantechnica.com/2025/12/05/catl-expects-oceanic-electric-ships-in-3-years/
1•thelastgallon•13m ago•0 comments

Seven Architectural Decision Making Fallacies (and Ways Around Them)

https://ozimmer.ch/practices/2025/09/01/ADMFallacies.html
1•azhenley•15m ago•0 comments

The Case That A.I. Is Thinking

https://www.newyorker.com/newsletter/the-daily/is-ai-amazing-or-are-we-simple
1•jsomers•18m ago•1 comments

Printer tracking dots visible after holographic foiling of transparency print

https://xcancel.com/garnetstar28/status/1997048456532332931
1•Lammy•18m ago•0 comments

'It's like the lottery': AI boom has created parking chaos in SF neighborhood

https://www.sfchronicle.com/sf/article/mission-car-parking-san-francisco-21221645.php
1•mikhael•21m ago•0 comments

Use Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
1•todsacerdoti•21m ago•0 comments

Titans and MIRAS: Helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
2•bilsbie•24m ago•0 comments

Ask HN: Do you believe Netflix will be a good steward of Warner Bros?

1•dannyphantom•24m ago•2 comments

The general who refused to crush Tiananmen's protesters

https://www.economist.com/china/2025/12/04/the-general-who-refused-to-crush-tiananmens-protesters
10•marojejian•26m ago•2 comments

The Broken Job Search: Why Applying to Big Tech Is a Trap

https://webdev-sb.blogspot.com/2025/11/the-broken-job-search-why-applying-to.html
2•typesafeJ•34m ago•0 comments

Camera traps snap 3X more images of endangered Sumatran tigers than before

https://www.frontiersin.org/news/2025/12/04/camera-traps-endangered-sumatran-tiger
1•gmays•36m ago•0 comments

A Template-Driven Approach to Resource Management for AI Compute

https://www.ori.co/blog/a-template-driven-approach-to-ai-resource-management
1•edogrider•41m ago•0 comments

Rnj-1: Building Instruments of Intelligence

https://www.essential.ai/research/rnj-1
1•neversettles•45m ago•0 comments

Risks to British Business

https://www.riskstobritishbusiness.today
1•seangrvs•47m ago•0 comments

The Hays Code

https://allthetropes.org/wiki/Hays_Code
1•Ariarule•51m ago•0 comments

Agents need good developer experience too

https://modal.com/blog/agents-devex
1•birdculture•51m ago•0 comments

One Last Trip: Traveling with my brother's remains (2022)

https://www.thecut.com/2022/03/traveling-brothers-remains.html
1•NaOH•51m ago•0 comments

Notes on Distributed Systems for Young Bloods (2013)

https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/
2•ishandotpage•51m ago•1 comments

Ferrari's Formula 1 Handovers: Handovers from Surgery to Intensive Care 2008;pdf

https://gwern.net/doc/technology/2008-sower.pdf
2•bookofjoe•52m ago•0 comments

The Influence of Self

https://dubroy.com/blog/self/
1•gjvc•52m ago•0 comments

Show HN: LLMs Play Mafia

https://www.twitch.tv/turing_games
1•ycyvonne•52m ago•0 comments

Germany votes to bring in voluntary military service programme for 18-year-olds

https://www.bbc.com/news/articles/ckg9drg8pg1o
3•petermcneeley•54m ago•0 comments