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•11mo ago

Comments

panstromek•11mo 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•11mo 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•11mo 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_•11mo 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_•11mo 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•11mo 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•11mo 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

Building an Unverified Compiler with Agents

https://www.basis.ai/blog/verified-compiler/
1•matt_d•4m ago•0 comments

Dictating Literal Reminders to My Apple Watch

https://mjtsai.com/blog/2026/04/15/dictating-literal-reminders-to-my-apple-watch/
1•alin23•5m ago•0 comments

Show HN: Amazon Reviews Extractor

https://chromewebstore.google.com/detail/amazon-reviews-extractor/maccgnaehlolfonlnplblgpippnhmoal
1•qwikhost•5m ago•0 comments

Feedr – Live audience Q&A for creators

https://apps.apple.com/us/app/feedr-by-mrvl/id6761885406
1•SupaMRVL•11m ago•0 comments

Dream League Soccer 2026

https://apps.apple.com/us/app/dream-league-soccer-2026/id1462911602
1•myothiha•12m ago•0 comments

Internet Protocol Version 8 (IPv8)

https://www.ietf.org/archive/id/draft-thain-ipv8-01.html
1•computersuck•18m ago•0 comments

WybeCoder: Verified Imperative Code Generation

https://facebookresearch.github.io/wybecoder/
1•matt_d•18m ago•0 comments

Don't Use A.I. To Do This

https://www.nytimes.com/2026/04/15/opinion/art-artificial-intelligence.html
1•saikatsg•19m ago•0 comments

GoLand

1•mukulmantosh•20m ago•0 comments

Finance ministers and top bankers raise serious concerns about Mythos AI model

https://www.bbc.com/news/articles/c2ev24yx4rmo
1•wood_spirit•24m ago•0 comments

JSONLines – My Favourite Format

https://heather.cafe/posts/jsonlines-my-favourite-format/
1•vismit2000•24m ago•0 comments

Best of the Best Tips for Kidepo on a Best Uganda Safari

https://substack.com/profile/416658153-godwin-kasekende/note/c-244740651
1•godwinkasekende•24m ago•0 comments

Europol-supported global operation targets over 75 000 users engaged in DDoS

https://www.europol.europa.eu/media-press/newsroom/news/europol-supported-global-operation-target...
2•jruohonen•25m ago•1 comments

The $10B Startup Training AI to Replace the White-Collar Workforce

https://www.bloomberg.com/news/features/2026-04-16/ai-company-hiring-on-linkedin-wants-to-train-y...
2•quantified•28m ago•1 comments

Pentagon Seeks Help from Ford and G.M.

https://www.nytimes.com/2026/04/16/business/pentagon-ford-general-motors-defense-production.html
1•geox•28m ago•0 comments

3D-Printed Homes, an Abandoned $590k Deposit, the FBI

https://www.propublica.org/article/3d-printed-affordable-housing-cairo-illinois-prestige
3•petethomas•30m ago•1 comments

Australia's Fiscal Point of No Return

https://caseyhandmer.wordpress.com/2026/04/16/australia-will-run-an-overt-command-economy-by-2040/
1•MrBuddyCasino•36m ago•0 comments

AI boom is city's weirdest tech boom, says S.F.'s chief economist

https://missionlocal.org/2026/04/ai-boom-controller-economist-egan-wagner/
2•littlexsparkee•38m ago•0 comments

Engineer open-sources radar system that's 95% cheaper than $250k offerings

https://www.tomshardware.com/maker-stem/open-source-radar-system-is-95-percent-cheaper-than-usd25...
3•Element_•48m ago•0 comments

Running Your Own AS: Direct Hetzner Peering

https://blog.hofstede.it/running-your-own-as-direct-hetzner-peering-a-fourth-edge-and-bringing-th...
1•319•50m ago•0 comments

Taste.md

https://pablostanley.substack.com/p/tastemd
3•cspags•50m ago•0 comments

FCC exempts Netgear from ban on foreign routers, doesn't explain why

https://arstechnica.com/tech-policy/2026/04/fcc-exempts-netgear-from-ban-on-foreign-routers-doesn...
8•rawgabbit•1h ago•1 comments

The Iranian Teens Behind Lego Trump [video]

https://www.youtube.com/watch?v=SQfI9NTtDE4
3•abetusk•1h ago•0 comments

Iran's Lego Slopaganda Creator [video]

https://www.youtube.com/watch?v=i5Q_v370OJg
3•abetusk•1h ago•1 comments

Flowsta Sign It

https://flowsta.com/sign-it/
1•solarpunked•1h ago•0 comments

Long-term adaptation pathways for Venice and its lagoon under sea-level rise [pdf]

https://www.nature.com/articles/s41598-026-39108-z
3•thunderbong•1h ago•0 comments

Billionaire Andrew Forrest takes Meta to court over scam ads using his likeness

https://www.abc.net.au/news/2026-04-17/andrew-forrest-battles-meta-over-fake-ads/106574806
2•ahonhn•1h ago•0 comments

Bluesky has been dealing with a DDoS attack for nearly a full day

https://www.theverge.com/tech/913638/bluesky-has-been-dealing-with-a-ddos-attack-for-nearly-a-ful...
17•dotmanish•1h ago•3 comments

I made an 80B local model ship a 295-test RAG codebas

https://github.com/Taaar1k/rag-workshop
1•taaarik•1h ago•0 comments

Human Accelerated Region 1

https://en.wikipedia.org/wiki/Human_accelerated_region_1
2•apollinaire•1h ago•0 comments