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

When Too Many Maps Overlap on One Person

https://yusufaytas.com/when-too-many-maps-overlap-on-one-person
1•brainrotted•10s ago•0 comments

Reform UK's proposed detention centre law

https://tombrandis.uk/posts/Reform-UK%27s-proposed-detention-centre-law.html
1•tombrandis•2m ago•0 comments

Cal Newport's anti-brain rot rules

https://thetangent.space/2026/brain-rot/
1•speckx•2m ago•0 comments

Student hacked Taiwan high-speed rail to trigger emergency brakes

https://www.bleepingcomputer.com/news/security/student-hacked-taiwan-high-speed-rail-to-trigger-e...
1•gslin•2m ago•0 comments

US moves further into AI oversight, will test Google, Microsoft and xAI models

https://www.cnbc.com/2026/05/05/ai-oversight-trump-google-microsoft-xai.html
1•tcp_handshaker•3m ago•0 comments

SubQ: Sub-quadratic LLM built for 12M-token context

https://subq.ai/
1•gagan2020•4m ago•0 comments

GPU Spot Prices Surge 114% in Six Weeks

https://tomtunguz.com/b200-gpu-pricing-spot-market-model-releases/
1•gmays•4m ago•0 comments

Embodied AI with Claude, Raspberry Pi and Arduino

https://github.com/harshaneo17/agentic_arduino
1•harshaarya17•4m ago•0 comments

Ask HN: Is there a term for feeling sad about forced AI adoption?

4•ge96•6m ago•1 comments

Zuckerberg 'Personally Authorized and Encouraged' Meta's Copyright Infringement

https://variety.com/2026/digital/news/meta-ai-mark-zuckerberg-copyright-infringement-lawsuit-publ...
2•spankibalt•6m ago•0 comments

Clarification on the Notepad++ Trademark Issue

https://notepad-plus-plus.org/news/clarify-npp-trademark-infringement/
1•minimaxir•6m ago•0 comments

Apple Slammed in Calif. Federal Court over AirTag's Alleged Use in Stalking

https://www.law.com/therecorder/2026/05/04/apple-slammed-in-calif-federal-court-with-lawsuits-ove...
1•1vuio0pswjnm7•7m ago•0 comments

Ask HN: How are you structuring your .md docs to facilitate agentic development?

1•lepuski•7m ago•0 comments

"Big Boy" Power for Every User

https://github.com/Mexor-dev/Gator
1•Mexor•10m ago•0 comments

Charts = Tables

https://ia.net/topics/charts-and-tables
1•surprisetalk•11m ago•0 comments

Ask HN: Should I continue this project ? (Being able to change AI harness)

https://github.com/charles-azam/OmniAgents
1•couAUIA•12m ago•0 comments

Show HN: AgentSearch-Self-hosted search API for AI agents and optional Tor stack

https://github.com/brcrusoe72/agent-search
1•bricrusoe•12m ago•0 comments

GitHub incident May 5, 2026

https://www.githubstatus.com/incidents/8kn8t67gdy36
2•krvajal•13m ago•0 comments

ServiceNow just unveiled an AI workforce that can run your company

https://fortune.com/2026/05/05/servicenow-knowledge-2026-autonomous-workforce-microsoft-nvidia-ai...
1•ryan_j_naughton•14m ago•0 comments

U.S. ramps up frontier AI testing as White House pivots toward safety

https://www.axios.com/2026/05/05/us-frontier-ai-testing-white-house-pivots-safety
1•gmays•15m ago•1 comments

GitHub Action Runner Alternatives

https://binhong.me/blog/github-action-runner-alternatives/
1•8organicbits•15m ago•0 comments

Apple to let users choose rival AI models across iOS 27 features

https://www.reuters.com/technology/apple-let-users-choose-rival-ai-models-across-ios-27-features-...
1•thm•15m ago•0 comments

Should You Be Token-Maxxing?

https://speedrun.substack.com/p/should-you-be-token-maxxing
1•7777777phil•17m ago•0 comments

Ask HN: How do you pilot a service company full of AI agents?

2•louismalingrey•17m ago•0 comments

GLM-5V-Turbo: Toward a Native Foundation Model for Multimodal Agents

https://arxiv.org/abs/2604.26752
14•gmays•18m ago•2 comments

Moving to mainframe can be cheaper than sticking with VMware

https://www.theregister.com/2026/05/04/gartner_state_of_mainframes/
1•johnbarron•18m ago•0 comments

AI, your way: introducing the Poolside Platform

https://poolside.ai/blog/introducing-the-poolside-platform
1•icey•20m ago•0 comments

10 years helping Rails devs reach App Store. Today, someone shipped without me

https://masilotti.com/shipped-without-me/
1•joemasilotti•21m ago•0 comments

Richard Dawkins concludes AI is conscious, even if it doesn't know it

https://www.theguardian.com/technology/2026/may/05/richard-dawkins-ai-consciousness-anthropic-cla...
3•alefalfa•22m ago•5 comments

Oil 101, Second Edition

https://oil101.morgandowney.com
2•mxschumacher•23m ago•0 comments