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

A stalking app, $1.2M Macomb Co. mansion lead feds to pcTattletale creator

https://www.detroitnews.com/story/news/local/macomb-county/2025/12/09/feds-investigating-macomb-c...
1•cebert•21s ago•0 comments

Coding Agents and Complexity Budgets

https://leerob.com/agents
1•saveriomazza2•2m ago•0 comments

Update Now Warning Issued to All iPhone Users

https://www.forbes.com/sites/kateoflahertyuk/2025/12/14/ios-262-update-now-waning-issued-to-all-i...
1•01-_-•2m ago•0 comments

Juggernaut

https://juggernaut-three.vercel.app/email-collection
1•AkashCiel93•2m ago•0 comments

Why My Payment Agent Is Named George, Not Stripe-Agent

https://blog.kestrelsnest.social/posts/2025-12-14-why-my-payment-agent-is-named-george-not-stripe...
1•fortyseven•3m ago•0 comments

Google Translate expands live translation to all earbuds on Android

https://arstechnica.com/google/2025/12/google-translate-learns-slang-and-idioms-expands-live-tran...
1•01-_-•3m ago•0 comments

Bending Emacs – Episode 8: completing-read

https://www.youtube.com/watch?v=J_WxzZXuTLI
1•xenodium•3m ago•0 comments

Sharing Your Location with Friends Is the Best Form of Social Media

https://slate.com/technology/2025/12/apple-find-my-app-location-sharing-gen-z-trend.html
1•haltingproblem•4m ago•0 comments

Six Big Bets

https://www.jerry.wtf/posts/six-big-bets/
1•personjerry•7m ago•0 comments

Five Algorithms Walk into a CTF (Only One Walks Out)

https://akostopoulos.blog/2025/11/23/five-algorithms-walk-into-a-ctf-only-one-walks-out/
1•mooreds•8m ago•0 comments

Show HN: Reddit and HN for Cybersecurity [Free]

https://www.socdefenders.ai/
1•pkhodiyar•8m ago•0 comments

Adversarial Cooperation in Code Synthesis Paper [pdf]

https://block.xyz/documents/adversarial-cooperation-in-code-synthesis.pdf
1•janpio•8m ago•0 comments

Cisco Finally Did It

https://www.ft.com/content/b27ae706-6244-4337-81cd-5204bd2b9a00
1•naves•9m ago•1 comments

Programming Languages to Learn First

https://www.omnesgroup.com/the-best-programming-languages-to-learn-first/
1•mooreds•9m ago•0 comments

Sometimes, Losing Is the Winning Move

https://www.noetica.ai/post/sometimes-losing-is-the-winning-move
1•mooreds•10m ago•0 comments

Prompt Engineering Is a "Hidden Tax": ChatGPT vs. Copy.ai vs. Vertical Agents

https://blog.vect.pro/vect-vs-copy-ai
1•WoWSaaS•10m ago•2 comments

Terraform Sunsets CDKTF

https://thenewstack.io/ibm-hashicorp-sunsets-terraforms-external-language-support/
1•paulddraper•12m ago•0 comments

Stop crawling my HTML you dickheads – use the API

https://shkspr.mobi/blog/2025/12/stop-crawling-my-html-you-dickheads-use-the-api/
1•edent•14m ago•0 comments

Nature of Code

https://natureofcode.com/
2•ibobev•15m ago•0 comments

Paged.js: Beautiful PDFs from HTML

https://pdf.math.dev/
1•fanf2•16m ago•0 comments

Gitnuro: A FOSS Git multiplatform client for newbies and pros

https://github.com/JetpackDuba/Gitnuro
1•nateb2022•17m ago•0 comments

The View from Inside the AI Bubble

https://www.theatlantic.com/technology/2025/12/neurips-ai-bubble-agi/685250/
2•fortran77•21m ago•1 comments

Nvidia uses the Rust game logo [video]

https://www.youtube.com/watch?v=Gf5xYeluBRU
1•Croak•23m ago•1 comments

Found Tapes Digitized

https://intertapes.net/
1•theturtletalks•25m ago•0 comments

Ask HN: What agent frameworks are you using, and how well do they work?

1•istvan_intrnd•27m ago•0 comments

Show HN: User.mom – Everything you need to reach Product-Market-Fit

https://user.mom
2•Wronnay•29m ago•0 comments

Show HN: I built a small portfolio tracker for personal investing

https://cartera-web-eight.vercel.app/
1•maxiinversiones•29m ago•0 comments

Mass shooting in Australia – 12 dead -terrorist event

https://www.dailytelegraph.com.au/news/nsw/beachgoers-flee-as-gunshots-heard-in-bondi/live-covera...
2•asdefghyk•29m ago•2 comments

Tech Support Scammers Stole $85,000 from Him. His Bank Declined to Refund Him

https://www.nytimes.com/2025/12/12/business/tech-support-scam-bank-fraud.html
2•randycupertino•31m ago•1 comments

Show HN: Instantly embed SVG shapes of any location

https://borderly.dev/
2•zuhayeer•32m ago•0 comments