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

FDA Issues Warning About Cookware That May Leach Lead

https://www.fda.gov/food/alerts-advisories-safety-information/fda-issues-warning-about-imported-c...
1•ratrocket•51s ago•0 comments

Show HN: Success Motivation for Builders (Daily Success Quotes)

https://apps.apple.com/us/app/success-quotes/id6752120038
1•hackingmonkey•1m ago•0 comments

Twinning: A Simple Jailbreak That Bypasses AI Image Protections

https://anthonymattas.com/articles/twinning-a-simple-jailbreak-that-bypasses-ai-image-protections
1•cloudripper•2m ago•0 comments

Amazon launches Nova 2 family of models

https://aws.amazon.com/blogs/aws/introducing-amazon-nova-2-lite-a-fast-cost-effective-reasoning-m...
1•sainyam•2m ago•0 comments

I open sourced my AI Research platform after long time of development

1•introlix•2m ago•0 comments

Deep dive into the grounding of 6000 Airbus Planes

https://yvesremmler.substack.com/p/the-airbus-a320-elac-emergency
1•yvesr•3m ago•0 comments

AWS Announces Database Savings Plans for AWS Databases

https://aws.amazon.com/blogs/aws/introducing-database-savings-plans-for-aws-databases/
1•eclo•3m ago•0 comments

I Ported the Web to the Web

https://developer.puter.com/blog/how-I-ported-the-web-to-the-web/
1•coolelectronics•4m ago•1 comments

The Legal Case Against Ring's Face Recognition Feature

https://www.eff.org/deeplinks/2025/11/legal-case-against-rings-face-recognition-feature
2•thinkingemote•5m ago•0 comments

Show HN: Systemdesigner.net – a free interactive system-design learning platform

https://www.systemdesigner.net/
1•alibad•6m ago•0 comments

Asteroid Bennu has all the ingredients for life as we know it

https://www.newscientist.com/article/2506650-asteroid-bennu-carries-all-the-ingredients-for-life-...
2•darth_avocado•7m ago•0 comments

London Internet Exchange had an outage today, why?

1•gbil•7m ago•0 comments

Helldivers 2 cuts its install size from ~154GB to ~23GB

https://store.steampowered.com/news/app/553850/view/491583942944621371
2•HelloUsername•8m ago•0 comments

Southern Annular Mode in most positive state in 1k years

https://phys.org/news/2025-12-southern-annular-mode-positive-state.html
1•bikenaga•8m ago•0 comments

Every Major City as a Tiny Miniature World

https://www.adithyan.io/blog/world-cities-ai
1•adithyan_win•9m ago•0 comments

Tell HN: Neon Inc is billing free users now for $20 subscriptions

2•leetcodewhore•9m ago•0 comments

Amazon removes controversial AI anime dubs

https://animecorner.me/amazon-removes-controversial-ai-english-dubs-for-banana-fish-no-game-no-li...
1•jsheard•9m ago•0 comments

Finger Shadows in Compose

https://www.romainguy.dev/posts/2025/finger-shadows/
1•ibobev•10m ago•0 comments

4.3M Browsers Infected: Inside ShadyPanda's 7-Year Malware Campaign

https://www.koi.ai/blog/4-million-browsers-infected-inside-shadypanda-7-year-malware-campaign
2•janpio•11m ago•0 comments

Replacing a complex Postgres and Memcached and Kafka back end with Rama

https://blog.redplanetlabs.com/2025/12/02/rama-in-five-minutes/
1•nathanmarz•12m ago•0 comments

Removed Rust to Gain Speed

https://www.prisma.io/blog/announcing-prisma-orm-7-0-0
1•2233•13m ago•0 comments

CJEU Ruling may invalidate DSA protections for platfroms

https://bsky.app/profile/daphnek.bsky.social/post/3m6zcavc4y22s
1•jim-greer•13m ago•0 comments

Show HN: I built an automated AI lab that generates and publishes inventions

https://unpatentable.org/innovation/
1•Archivist_Vale•14m ago•6 comments

Show HN: I built an open-source Rust/TS AI agent runtime with a Next.js-style DX

https://docs.trysoma.ai
1•solsol94•16m ago•1 comments

Show HN: PoG – the only open-source, live, privacy-first AI provenance system

https://github.com/TamTunnel/PoG
1•pp10•16m ago•0 comments

3D-printed cornea restores sight in a legally blind patient

https://newatlas.com/medical/3d-printed-cornea-restores-sight-first-time/
1•geox•17m ago•0 comments

Cursor AI for E2E Testing (Vs Claude vs. Autonoma)

https://www.getautonoma.com/blog/cursor-ai-e2e-testing-comparison
1•tomaspiaggio12•17m ago•0 comments

Attention Got So Efficient [GQA/MLA/DSA] [video]

https://www.youtube.com/watch?v=Y-o545eYjXM
1•sameersegal•17m ago•0 comments

Peter Thiel's Apocalyptic Worldview Is a Dangerous Fantasy

https://jacobin.com/2025/11/peter-thiel-palantir-apocalypse-antichrist
31•robtherobber•18m ago•1 comments

Roundabouts in Keene Help Cut Emissions and Air Pollution

https://www.nytimes.com/2025/10/21/climate/roundabout-auto-emissions-new-hampshire.html
1•pavel_lishin•19m ago•0 comments