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

Anthropic quietly nerfed Claude Code's 1-hour cache

https://www.xda-developers.com/anthropic-quietly-nerfed-claude-code-hour-cache-token-budget/
1•mikhael•49s ago•0 comments

Qwem Meetup Presentation: Function Calling Harness, from 6.75% to 100%

https://typia.io/blog/function-calling-harness-qwen-meetup-korea/
1•autobe•2m ago•0 comments

The week my AI assistant deleted my production model (and made it better)

https://medium.com/@cmitre/the-week-my-ai-assistant-tried-to-end-me-and-accidentally-helped-me-bu...
1•ceemite•3m ago•1 comments

What Is Authorship When Machines Can Write?

https://thereader.mitpress.mit.edu/what-is-authorship-when-machines-can-write/
1•Hooke•4m ago•0 comments

Anthropic entering AI services business

https://www.anthropic.com/news/enterprise-ai-services-company
1•darshanmakwana•6m ago•0 comments

Wolfgang Koeppen's Structural Musicality

https://www.theparisreview.org/blog/2026/05/04/wolfgang-koeppens-structural-musicality/
1•prismatic•11m ago•0 comments

What Silicon Valley layoffs hide about the future of the job market

https://www.washingtonpost.com/technology/2026/05/01/ai-jobs-tech-layoffs-austerity/
1•1vuio0pswjnm7•11m ago•1 comments

Major Ubuntu Outage

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQEbtT2eC1f61ywPf...
1•NiekvdMaas•12m ago•0 comments

I built a WordPress AI agent that handles sales and support (No monthly fees)

https://www.indiehackers.com/post/i-built-a-wordpress-ai-agent-that-handles-sales-and-support-no-...
1•shahisoft•15m ago•0 comments

Why Does a Single Firefox Tab Take Almost 1.5GB RAM?

3•syeare•17m ago•0 comments

Kavya – A local-first Markdown writing app for macOS

https://kavya-app.com/
1•juanmanuelf•19m ago•0 comments

OpenAI president defends motives in for-profit restructuring, reveals $30B stake

https://www.ft.com/content/5c24fa13-ae43-4d5a-9b68-b6ebae227dce
1•1vuio0pswjnm7•25m ago•1 comments

Anthropic co-founder Jack Clark: 60%+ chance of automated AI R&D by 2029

https://importai.substack.com/p/import-ai-455-automating-ai-research
4•thoughtpeddler•27m ago•1 comments

Kenya: AI was used to load Health System costs onto poorest

https://sha.africauncensored.online/
2•gmargari•28m ago•0 comments

Apple Plans to Let Users Build Their Own Passes in iOS 27 Wallet App

https://www.bloomberg.com/news/articles/2026-05-04/ios-27-features-apple-plans-to-let-users-build...
3•petethomas•28m ago•0 comments

Why Your Country Sucks-A World Cup Satire from Mexico City

https://almaasfalto.com/why-your-country-sucks/
3•JFWFTW•29m ago•0 comments

Halley's Comet Meteor Shower (Eta Aquariids) About to Peak

https://www.sciencealert.com/look-up-the-halleys-comet-meteor-shower-is-just-about-to-peak
2•Gaishan•30m ago•0 comments

'Engineer' is so 2025. In AI land, everyone's a 'builder' now

https://sfstandard.com/2026/03/05/engineer-2025-ai-land-everyone-s-builder-now/
2•geetee•31m ago•0 comments

OpenClaw Got Safer in Public

https://openclaw.ai/blog/openclaw-security-in-public
3•drippurp•31m ago•0 comments

Ask HN: Why would we care about "extended time horizons" and LLMs?

2•ozozozd•35m ago•1 comments

Why China Didn't Colonise the World

https://twitter.com/petruch10/status/2051127478132113892
2•MrBuddyCasino•37m ago•0 comments

Taiwan Could Learn from Ukraine. Informally, Connections Are Growing

https://www.nytimes.com/2026/05/05/world/europe/ukraine-taiwan-drones.html
3•mikhael•41m ago•0 comments

Ask HN:How's you experience building an app on Cloudflare? (Workers, D1,R2 etc.)

4•indieDevAttempt•42m ago•0 comments

Why is Apple's R&D run rate suddenly $40B/yr.?

https://asymco.com/2026/05/04/why-is-apples-rd-run-rate-suddenly-40-billion-yr/
3•ndr42•43m ago•0 comments

OpenAI can't build working RSS feeds

https://openai.com/news/rss.xml
6•johnnyAghands•43m ago•2 comments

Cybercrime investigations in practice: Insights from the LockerGoga case

https://www.sciencedirect.com/science/article/pii/S2666281726000685
2•Manheim•44m ago•0 comments

Anthropic Unveils $1.5B Joint Venture with Wall Street Firms

https://www.wsj.com/business/deals/anthropic-nears-1-5-billion-joint-venture-with-wall-street-fir...
3•erhuve•47m ago•0 comments

Kids bypass age verification with fake moustaches

https://www.theregister.com/2026/05/04/uk_online_safety_act_age_checks_subvert/
9•dreadsword•48m ago•0 comments

About 10% of AMC movie showings sell zero tickets. This site finds them

https://walzr.com/empty-screenings
39•MrBuddyCasino•51m ago•14 comments

(Author Is) Suing the DOJ and the FBI

https://this.weekinsecurity.com/plot-twist-i-am-suing-the-justice-department-and-fbi/
3•sans_souse•54m ago•1 comments