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

Comments

panstromek•8mo 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•8mo 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•8mo 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_•8mo 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_•8mo 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•8mo 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•8mo 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: I built a reusable SaaS company list

https://saascsv.com
1•mohitgangrade•1m ago•0 comments

How London cracked mobile phone coverage on the Underground

https://www.ianvisits.co.uk/articles/how-london-finally-cracked-mobile-phone-coverage-on-the-unde...
1•beardyw•3m ago•0 comments

The Cost of PostgreSQL Arrays

https://boringsql.com/posts/good-bad-arrays/
1•radimm•9m ago•0 comments

Ask HN: What is your meaning of life?

1•bunnybomb2•10m ago•0 comments

Logos Theorem Prover: Auto Tactic

https://logicaffeine.com/studio?file=examples/math/auto-tactic.logos
1•tristenharr•10m ago•1 comments

AI is causing developers to abandon Stack Overflow

https://www.infoworld.com/article/4115691/ai-is-causing-developers-to-abandon-stack-overflow.html
2•01-_-•12m ago•1 comments

Startup failure: It's never about timing

https://www.doctormarket.fit/p/debunking-the-timing-myth
1•01-_-•13m ago•0 comments

Most Code Should Be IKEA

https://kibbler.dev/blog/coding-is-becoming-a-lost-art
1•kewun•15m ago•0 comments

Neo Is Starting to Learn on Its Own [video]

https://www.youtube.com/watch?v=lS_z60kjVEk
1•simonebrunozzi•17m ago•0 comments

Why Slop Matters

https://arxiv.org/abs/2601.06060
1•50kIters•18m ago•0 comments

Richard Feynman: Can Machines Think?

https://www.youtube.com/watch?v=ipRvjS7q1DI
1•quantummagic•19m ago•0 comments

The month long, 3000 mile roller derby of Chicago

https://www.rollerskatingmuseum.org/roller-derby
1•afunk•22m ago•0 comments

Jamie Oliver to call millions in SA by their names – using AI

https://www.news24.com/business/companies/jamie-oliver-to-call-millions-in-sa-by-their-names-usin...
1•liampulles•23m ago•0 comments

Personal Information Firehose

https://adamwiggins.com/posts/personal-information-firehose/
1•tobr•25m ago•0 comments

Backstory-Generator

https://www.genstory.app/backstory-generator
1•RyanMu•27m ago•0 comments

Show HN: Arcane – minimal AI chat TUI

https://github.com/bm611/arcane
1•broxdeez•28m ago•0 comments

I got tired of teleprompter apps requiring accounts, so I built a web app

https://eript.com/
1•biwanadev•32m ago•1 comments

Data Exfiltration via DNS Resolution

https://github.com/anthropic-experimental/sandbox-runtime/issues/88
1•m-hodges•32m ago•0 comments

I want AI to steal my work

https://www.tornikeo.com/i-want-ai-to-steal-my-work/
2•tornikeo•34m ago•0 comments

Apple Foundation Models will now be based on Gemini

https://blog.google/company-news/inside-google/company-announcements/joint-statement-google-apple/
2•devangs•34m ago•0 comments

Defense Secretary touts AI war strategy at SpaceX Starbase

https://www.statesman.com/business/article/pete-hegseth-texas-arsenal-of-freedom-spacex-21290846.php
3•MarsOrWars•34m ago•1 comments

Comitis Capital Takes over Threema

https://borncity.com/blog/2026/01/13/comitis-capital-uebernimmt-threema/
1•sschueller•38m ago•0 comments

Context7 Without Context Bloat

https://upstash.com/blog/new-context7
1•mirzap•39m ago•1 comments

Google Meet Only Loves Chrome: R/Firefox

https://old.reddit.com/r/firefox/comments/1mq3r07/google_meet_only_loves_chrome/
1•doener•40m ago•0 comments

How General Counsel Can Operationalise AIVO Inside Legal Workflows

https://zenodo.org/records/18228787
1•businessmate•42m ago•1 comments

User-Agent Switcher and Manager

https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/
1•doener•43m ago•0 comments

Yesterday I stared at my Dopamine Detox dashboard: YouTube: 2h15M

https://dopaminedetox.uk
1•Ogbon•45m ago•0 comments

Venngage

https://venngage.com/
1•Jess-D•46m ago•1 comments

Pentagon Recruiting Elon Musk to Win a Nuclear War

https://scheerpost.com/2025/02/11/the-pentagon-is-recruiting-elon-musk-to-help-them-win-a-nuclear...
4•shuttlestock•49m ago•4 comments

Nailing Jell-O to the Wall, Again. Why China Will Struggle to Contain LLMs

https://senteguard.com/blog/#post-jjip31e6y1iTyGKpzso4
2•djwide•50m ago•1 comments