frontpage.
newsnewestaskshowjobs

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

Compaction Laundering:Provenance Destruction in Context-Compacting Coding Agents

https://arxiv.org/abs/2610.29869
1•ersinesen•51s ago•0 comments

ChatGPT Ads as over 100k advertisers have used the platform

https://openai.com/index/chatgpt-ads-expands-26-new-countries/
2•haebom•3m ago•0 comments

Show HN: A stateless MCP server over our docs – search, list_topics, get_article

https://chinaready.co/docs/api/
2•martinliucn•5m ago•0 comments

ZK-irp-firewall: Zero-knowledge invariant enforcement for AI agents

https://github.com/trenttrinder1111-byte/zk-irp-firewall
3•trenttrinder111•5m ago•0 comments

A Markdown File Should Just Open

https://joshuamorris.info/notes/2026/10/13/a-markdown-file-should-just-open/
5•TheWoollyBully•7m ago•0 comments

Halloween Gothic Reading Pathway

https://www.betterreads.dev/blog/halloween-gothic-pathway
2•zlu•11m ago•0 comments

AI Agent Observability with OpenTelemetry

https://signoz.io/blog/opentelemetry-ai-agent-observability/
6•dhruv_ahuja•12m ago•0 comments

They Want Your Blood

https://www.theverge.com/column/1015563/blood-death-clock-longevity-apps-health-tech
2•saikatsg•14m ago•0 comments

Show HN: no-fi – a linter for the ASCII wireframes agents draw

https://github.com/p-a-u-l-i-e/no-fi
1•PaulVanOijen•17m ago•0 comments

Turning IPv6 tunnels into programmable delay lines for pulsing DoS

https://blog.apnic.net/2026/10/22/turning-ipv6-tunnels-into-programmable-delay-lines-for-pulsing-...
1•frostbyte7•19m ago•0 comments

Show HN: Aw-1 – Deterministic AST circuit breaker and kernel jail for AI agents

https://github.com/MvikManners/aw1-circuit-breaker
1•MvikVela•19m ago•0 comments

Digital Hygiene (2025)

https://karpathy.bearblog.dev/digital-hygiene/
1•vinhnx•21m ago•0 comments

Claude Code install script is down

https://downloads.claude.ai/claude-code-releases/bootstrap.sh
2•sspross•23m ago•0 comments

Chasing a Flake into OpenSSL's GCM Kloak Path

https://getkloak.io/blog/the-h-that-wasnt-there/
1•neo2006•25m ago•0 comments

Enterprises keep buying software upgrades that IT thinks will make things worse

https://arstechnica.com/information-technology/2026/10/survey-enterprises-waste-28-percent-of-sof...
2•joozio•26m ago•0 comments

"Ignore the Slop"

https://daniel.haxx.se/blog/2026/10/22/ignore-the-slop/
7•asimovDev•28m ago•0 comments

Accrescent: A novel Android app store focused on security, privacy and usability

https://accrescent.app/
1•teekert•32m ago•0 comments

Apple Ordered to Open iPhone to Rival App Stores in Australia

https://forums.macrumors.com/threads/apple-ordered-to-open-iphone-to-rival-app-stores-in-australi...
3•mjy78•34m ago•0 comments

As Politicians Argue About China, US Patients Find Cutting-Edge Treatment There

https://kffhealthnews.org/health-industry/china-cancer-drugs-foreign-travel-pharma-biotech-fda-re...
2•mathgenius•37m ago•0 comments

Show HN: git-found, fixes "Repository not found" with multiple GitHub accounts

https://github.com/advaith334/git-found
1•Advaith_12•38m ago•1 comments

Raycast Glaze

https://www.raycast.com/blog/meet-glaze
2•ankitg12•41m ago•0 comments

AI firms say UK has a year to head off datacentre protests

https://www.theguardian.com/uk-news/2026/oct/22/ai-firms-say-uk-has-a-year-to-head-off-datacentre...
3•beardyw•45m ago•1 comments

The CMS Isn't the Problem. The Boundary Is

https://compiledrogue.com/articles/the-cms-isnt-the-problem-the-boundary-is/
1•hypergeneric•48m ago•0 comments

Mortal Kompute

https://mortalkompute.xyz/
1•potatothrowings•53m ago•1 comments

IBM CEO says open weight models are now irresistibly good and cheap on-prem

https://www.theregister.com/systems/2026/10/22/ibm-ceo-says-open-weight-models-are-now-irresistib...
4•beardyw•55m ago•2 comments

AI revealed 400 years of seafaring history

https://www.bbc.com/news/articles/cr93z9zq5l9jo
5•1659447091•1h ago•0 comments

Show HN: Kuron – An LLM acts as your app so you can try ideas before building

https://kuron.pages.dev/
1•kofdai•1h ago•0 comments

Samsamelo – Silicon Valley selling trolley problem lies [no link]

1•awbvious•1h ago•8 comments

El CLásico

https://en.wikipedia.org/wiki/El_Cl%C3%A1sico
2•chistev•1h ago•0 comments

AI Hasn't Spurred Widespread Layoffs Yet. Why Not?

https://www.library.hbs.edu/working-knowledge/ai-hasnt-spurred-widespread-layoffs-yet-why-not
3•snarky-comments•1h ago•0 comments