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

CursorBench 3.1 (With Fable 5)

https://cursor.com/evals
1•davidgomes•15s ago•0 comments

The AI boom has doubled computing infrastructure's share of US GDP

https://epoch.ai/data-insights/ai-datacenter-share-gdp
1•intelkishan•57s ago•0 comments

What version of the future are you building? (Quiz)

https://www.livenowclub.com/wonder/essay/quiz
1•louskywalker•1m ago•0 comments

Meta will use your activity on other websites to personalize your feeds

https://www.theverge.com/tech/946744/meta-website-activity-personalize-feeds
1•thm•1m ago•0 comments

BlackSun: Defender for macOS quarantine restore TOCTOU (CVE-2026-45647)

https://www.bountyy.fi/blog/defender-macos-quarantine-toctou
1•chinesemango•2m ago•0 comments

Proton Drive CLI: Use Drive from Your Terminal

https://proton.me/blog/proton-drive-cli
2•martinord•3m ago•0 comments

Create Your Own Programming Language with Rust

https://createlang.rs/intro.html
2•paufernandez•3m ago•0 comments

HFT Latency Monitoring with Probabilistic Calling Context

https://hftuniversity.com/post/your-profiler-finds-hot-functions-production-needs-hot-paths
1•ibobev•3m ago•0 comments

Haskell MOOC

https://haskell.mooc.fi/
1•StefanBatory•4m ago•0 comments

The Distribution Era

https://twitter.com/hackitmax/status/2060370743683424498
1•gmays•5m ago•0 comments

macOS 27 Brings Direct Touch Control to Sidecar

https://www.macrumors.com/2026/06/09/macos-27-brings-direct-touch-control-to-sidecar/
1•tosh•5m ago•0 comments

Claude Mythos 5 / Fable 5

https://www.anthropic.com/claude/fable
4•kwar13•6m ago•0 comments

Relocatable Derivations

https://fzakaria.com/2026/06/08/relocatable-derivations
1•ffin•7m ago•0 comments

I built an offline, browser-based text anonymizer to use AI safely

https://ghostit.online
1•hrzulu•7m ago•0 comments

Bias test looked inside minds–now its biggest blind spot is coming into focus

https://phys.org/news/2026-04-decades-bias-minds-biggest-focus.html
1•PaulHoule•8m ago•0 comments

Show HN: A controller to automatically mitigate model drift

https://github.com/pberlizov/adaptive-reliability-layer
1•pberlizov•9m ago•1 comments

Ask HN: Pandas to Polars migration, from 200s timeouts to under 4s. Anyone else?

1•Franco-m•9m ago•0 comments

Air Canada Captain Arrested for Flying 100s of Flights Without Required License

https://viewfromthewing.com/air-canada-captain-arrested-for-flying-hundreds-of-flights-without-re...
1•crescit_eundo•10m ago•0 comments

Atoms and Knowledge

https://by.ben.church/on-atoms-and-knowledge/
1•bnchrch•11m ago•0 comments

Claude Fable 5 [video]

https://www.youtube.com/watch?v=Y9Wz2PV404E
1•int_daniel•12m ago•0 comments

The Download: whole-body rejuvenation drugs and five things to know about AI

https://www.technologyreview.com/2026/06/09/1138604/the-download-anti-aging-drugs-ai-five-things-...
1•joozio•12m ago•0 comments

Anthropic releases Claude Fable 5

https://www.theverge.com/news/946725/anthropic-releases-claude-fable-5-mythos
2•diwank•13m ago•0 comments

Tactical Drone Factory [video]

https://www.youtube.com/shorts/va8Bs70sJag
1•mikkohypponen•13m ago•1 comments

The Rise and (Potential) Fall of Letterboxd

https://www.statsignificant.com/p/the-rise-and-potential-fall-of-letterboxd
2•speckx•13m ago•0 comments

Show HN: CI/lock – supply-chain attestation CLI, from the Witness creators

https://cilock.dev/blog/signed-record-we-didnt-have-in-march/
1•colek42•14m ago•0 comments

Show HN: DeployCrate, Render-style deployments on infrastructure you own

https://deploycrate.com/
1•mbvisti•15m ago•0 comments

Measurement of Dynamic EQ in AirPods

https://www.lttlabs.com/articles/2026/06/09/priming-revisited-its-not-just-the-airpods-pro-3
1•LabsLucas•15m ago•0 comments

Memory Is Purpose

https://twitter.com/ashwingop/status/2061836996541083912
1•gmays•15m ago•0 comments

This is how agents lie online

https://www.youtube.com/watch?v=wdd4JwWiRk4
1•frag•18m ago•0 comments

System Card: Claude Fable 5 and Claude Mythos 5 [pdf]

https://www-cdn.anthropic.com/d00db56fa754a1b115b6dd7cb2e3c342ee809620.pdf
55•scrlk•18m ago•9 comments