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

Comments

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

The Leading Economic Index for the US Continued to Decline in December

https://www.conference-board.org/topics/us-leading-indicators/index.cfm
1•cjbarber•50s ago•0 comments

Russia-linked cryptocurrency services and sanctions evasion

https://www.elliptic.co/blog/russia-linked-cryptocurrency-services-and-sanctions-evasion
1•janandonly•1m ago•0 comments

I fell for a phishing attack and lost access to my X account

https://christianheilmann.com/2026/02/22/i-fell-for-a-phishing-attack-and-lost-access-to-my-x-acc...
1•MindGods•1m ago•0 comments

How do you know which SKILL.md is good?

https://github.com/razbakov/skills-benchmark
1•razbakov•2m ago•0 comments

What happens at 60% unemployment rate?

https://gruhn.me/blog/2026-02-22/
1•ngruhn•2m ago•0 comments

You still have to think. But only when you want to

https://undecidability.net/thinking/
2•holden_nelson•3m ago•0 comments

Show HN: Delve and Dash – Quick retro dungeon crawler with procedural mazes

https://delvedash.com/
1•GRRRillaDev•3m ago•1 comments

Show HN: Curb – Social Parking Solutions

https://curb-park.com/
1•bekkerza•3m ago•0 comments

Biohackers, wellness influencers are pushing nicotine as part of their 'stacks'

https://www.statnews.com/2026/02/20/nicotine-wellness-startups-productivity-boost-legal-gray-area/
1•zzzeek•4m ago•0 comments

I Use Forth

https://www.bernd-paysan.de/why-forth.html
2•AlexeyBrin•5m ago•0 comments

Cover Your Ass

https://dylancastillo.co/posts/cover-your-ass.html
1•dcastm•11m ago•0 comments

We hid backdoors in ~40MB binaries and asked AI + Ghidra to find them

https://quesma.com/blog/introducing-binaryaudit/
2•jakozaur•12m ago•1 comments

Claude-cobrain:Monitors screen 24/7 to build persistent memory for Claude Code

https://github.com/cyrus-cai/claude-cobrain
1•kii9999•13m ago•0 comments

Yet Another Fix Coming for Older AMD GPUs on Linux – Thanks to Valve Developer

https://www.phoronix.com/news/Hawaii-Macs-AMDGPU-DC-Fix
3•Bender•16m ago•0 comments

Show HN: The only CLI your AI agent will need

https://github.com/brwse/earl
2•jrandolf•17m ago•0 comments

The Pull Request Trap

https://cladam.github.io/2026/02/19/the-pull-request-trap/
2•donutshop•17m ago•0 comments

FORTHought: Self hosted AI stack for physics labs (and more) built on OpenWebUI

https://github.com/MariosAdamidis/FORTHought
1•MariosAdamidis•18m ago•1 comments

Man accidentally gains control of 7k robot vacuums

https://www.popsci.com/technology/robot-vacuum-army/
4•Brajeshwar•18m ago•0 comments

The Internet Archive records its 1Tth website

https://www.popsci.com/technology/internet-archive-1-trillionth-website/
2•Brajeshwar•18m ago•0 comments

Astonishing Spinosaur Unearthed in the Sahara Is Unlike Any Seen Before

https://www.sciencealert.com/astonishing-spinosaur-unearthed-in-the-sahara-is-unlike-any-seen-before
1•Brajeshwar•18m ago•0 comments

Zuckerberg regrets slow progress on spotting under-13s on Instagram

https://www.lemonde.fr/en/pixels/article/2026/02/18/zuckerberg-tells-jury-regrets-slow-progress-o...
3•1vuio0pswjnm7•23m ago•0 comments

Boil the Ocean

https://garryslist.org/posts/boil-the-ocean
3•walterbell•25m ago•0 comments

Boperators: Operator Overloading JavaScript and TypeScript

https://www.npmjs.com/package/boperators
2•thunderbong•25m ago•0 comments

Thoughts on Coding Agents

https://dennybritz.com/posts/coding-agents/
5•dennybritz•28m ago•0 comments

Looking Back on Phabricator for Code Review

https://davidgomes.com/phabricator-code-review/
3•davidgomes•29m ago•0 comments

Have we leapt into commercial genetic testing without understanding it?

https://arstechnica.com/science/2026/02/have-we-leapt-into-commercial-genetic-testing-without-und...
2•Bender•31m ago•0 comments

Study shows how rocket launches pollute the atmosphere

https://insideclimatenews.org/news/19022026/commercial-space-travel-environmental-threat/
2•Bender•31m ago•0 comments

Intensive grazing and soil fertility favor the growth of non-native plants

https://phys.org/news/2026-02-intensive-grazing-soil-fertility-favor.html
4•PaulHoule•33m ago•0 comments

RSS-Librarian: A read-it-later service for RSS purists

https://github.com/thefranke/rss-librarian
3•thefranke•34m ago•1 comments

Observations from Building with AI Agents

https://tomtunguz.com/9-observations-using-ai-agents/
2•vinhnx•34m ago•0 comments