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•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

OpenAI gives EU new cyber model access but Anthropic still holding out on Mythos

https://www.cnbc.com/2026/05/11/openai-eu-cyber-model-anthropic-mythos-gpt.html
1•yurivish•1m ago•0 comments

Discovering Reinforcement Learning Interfaces with Large Language Models

https://akshat-sj.github.io/limen/
1•paraschopra•4m ago•0 comments

Coinbase Resumes Trading After Seven-Hour Exchange Outage

https://www.bloomberg.com/news/articles/2026-05-08/coinbase-resumes-trading-after-seven-hour-exch...
1•1vuio0pswjnm7•5m ago•0 comments

Nothing has changed on Instagram; Meta has always read your DMs

https://manualdousuario.net/en/instagram-e2ee-encryption-dm/
1•rpgbr•6m ago•0 comments

Publishers Seek $19.5M and Domain Takedown Order Against Anna's Archive

https://torrentfreak.com/publishers-seek-19-5-million-and-domain-takedown-order-against-annas-arc...
1•Brajeshwar•6m ago•0 comments

Italy Travel Blog in Dutch

https://www.initalia.nl
1•cemsakarya•6m ago•1 comments

AI-FI: Giving Claude Code Glitch Skills for Bypassing Secure Boot

https://raelize.com/blog/ai-fi-giving-claude-code-glitch-skills-for-bypassing-secure-boot/
3•tieknimmers•7m ago•0 comments

AI Agents Show Long Context Gains with LCM, Specialized Applications Emerge

https://presciente.com/edition/75
1•sebastianperezr•7m ago•0 comments

Show HN: PageBowl – Drop a page, get a Link

https://www.pagebowl.com/
1•yuegui•8m ago•0 comments

Building pi in a World of Slop [video]

https://www.youtube.com/watch?v=RjfbvDXpFls
1•mosaic_school•11m ago•0 comments

IMF: Fiscal Policy Under Pressure – High Debt, Rising Risks [pdf]

https://www.imf.org/-/media/files/publications/fiscal-monitor/2026/april/english/text.pdf
1•latentframe•12m ago•0 comments

Norovirus outbreak on Florida-bound cruise ship sickens 115 passengers

https://www.independent.co.uk/news/world/americas/princess-cruise-ship-norovirus-outbreak-florida...
3•geox•13m ago•0 comments

Blade Language Server

https://github.com/bramadityaw/blase
1•bramadityaw•14m ago•0 comments

Show HN: Detecting deepfakes without sending your files to a cloud API

https://github.com/Vibeaxis/vibeaxis-analyzer
1•XQorp•18m ago•0 comments

MSI's full mailbox is leaving critical vulnerabilities unpatched

https://mrbruh.com/msi_blackhole/
4•MrBruh•18m ago•0 comments

NZ Government taking 10 initiatives to safeguard undersea internet

https://www.rnz.co.nz/news/political/594779/government-taking-10-initiatives-to-safeguard-underse...
1•MrBruh•19m ago•0 comments

Musk-OpenAI case shows chatbot evidence risk

https://www.axios.com/2026/05/11/musk-altman-greg-brockman-diary-law
3•1vuio0pswjnm7•20m ago•0 comments

The Emergent Self Loop

https://kk.org/thetechnium/the-emergent-self-loop/
1•arbesman•20m ago•0 comments

I was laid off by Atlassian [video]

https://www.youtube.com/watch?v=55pTFVoclvE
1•m1keil•21m ago•0 comments

Gondolin

https://github.com/earendil-works/gondolin/tree/main
2•tosh•22m ago•0 comments

Vibe Coding Still Needs a Senior Engineer (For Now)

https://grith.ai/blog/security-bugs-ai-doesnt-write
3•edf13•23m ago•1 comments

Ask HN: What would you like to be working on?

1•DDerTyp•24m ago•0 comments

Two Years of Local AI on a Laptop: When Open Models Outpaced Moore's Law

https://huggingface.co/blog/mishig/local-moores-law
1•mishig•26m ago•2 comments

What if everyone personalized LLM is the best LLM?

1•folderquestion•27m ago•0 comments

I keep tripping over "true, false, true"

https://allthingssmitty.com/2026/05/11/i-keep-tripping-over-true-false-true/
3•AllThingsSmitty•27m ago•2 comments

Show HN: Learn2Burp – Surgery-free solution for R-CPD

https://learn2burp.com
1•mmanthey•28m ago•0 comments

Never-Words: What Not to Say to Patients with Serious Illness

https://www.mayoclinicproceedings.org/article/S0025-6196%2824%2900256-8/fulltext
1•mhb•28m ago•0 comments

Never Lose a Toot Again

https://hister.org/posts/never-lose-a-toot-again
4•mstef•30m ago•0 comments

How the EU's DMA is making smartphones better

https://digital-markets-act.ec.europa.eu/factsheet-how-dma-making-smartphones-better-interoperabi...
6•mtomweb•30m ago•0 comments

Web Feeds in 2026: A Survey

https://mnot.net/blog/2026/feed-survey
1•rdmuser•33m ago•0 comments