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

Comparing Tim Berners-Lee's Solid to ATProto's PDS

https://forum.solidproject.org/t/comparing-solid-to-atproto-pds/9461
1•xeonmc•3m ago•0 comments

What I learned by building an agentic system in Go to generate Google slides

https://blog.owulveryck.info/2026/05/31/the-agentic-mesh-in-practice-anatomy-of-an-agent-product....
1•owulveryck•3m ago•0 comments

Salesforce Signs Definitive Agreement to Acquire Contentful

https://www.salesforce.com/news/stories/salesforce-signs-definitive-agreement-to-acquire-contentf...
1•taubek•5m ago•0 comments

We Built Our Own Cloud Agent Infrastructure

https://www.harvey.ai/blog/why-we-built-our-own-cloud-agent-infrastructure
1•AnhTho_FR•6m ago•0 comments

Hegseth Blocks Eight Navy Senior Officer Promotions

https://www.wsj.com/politics/national-security/hegseth-blocks-eight-navy-senior-officer-promotion...
2•petethomas•7m ago•0 comments

OpenAI let ChatGPT aid and abet mass shooters, Florida lawsuit claims

https://www.bbc.com/news/articles/czx2j0v8d2xo
1•austinallegro•8m ago•0 comments

GitHub based note taking mobile app

https://www.gitnotes.org/
1•vidwa•9m ago•0 comments

Architecture Is Policy: Compiling Governance into the AI Stack

https://www.riddhimohan.com/blog/architecture-policy-compiling-governance-into-ai-stack
1•riddhimohan•10m ago•0 comments

I'm Done Using AI

1•nyxtom•11m ago•0 comments

Typewriters and assistive technology for blind and partially sighted people

https://www.sciencemuseum.org.uk/objects-and-stories/everyday-wonders/typewriters-blind-partially...
1•adm4•13m ago•0 comments

Hegseth strikes female and Black Navy officers from promotion list

https://www.bostonglobe.com/2026/06/01/nation/hegseth-female-black-navy-officers-promotion/
4•petethomas•21m ago•0 comments

Xz, two years on: what scanners still cannot catch

https://arcis-website.pages.dev/blog/posts/xz-utils-and-the-trust-shift
2•gagancm•21m ago•0 comments

China launches rival rocket to SpaceX Falcon 9 for the first time

https://www.scientificamerican.com/article/china-launches-rival-to-spacex-falcon-9-with-zero-warn...
1•_____k•26m ago•0 comments

3D Printed Programmable Matter

https://www.timeplast.com
1•NoRagrets•27m ago•0 comments

Why I'm Turning to Textile to Think, Not Just Make

https://medium.com/the-bad-guy-index/why-im-turning-to-textile-to-think-not-just-make-c81f8f64fa7e
1•bryanrasmussen•29m ago•0 comments

The Filesystem Is the API (With TigerFS)

https://packagemain.tech/p/the-filesystem-is-the-api-with-tigerfs
1•FourSigma•30m ago•0 comments

Can You Get Rich Quick Off A.I. Slop?

https://www.nytimes.com/interactive/2026/06/01/magazine/ai-slop-viral-videos.html
2•1vuio0pswjnm7•31m ago•0 comments

Announcement and FAQ: Changes to GitHub Copilot Individual Plans

https://github.com/orgs/community/discussions/192963
1•blackbear_•37m ago•0 comments

Can we call it a robot?

https://in.miko.ai/products/miko-chess-grand
1•airwarmedd•38m ago•0 comments

How Online Sleuthing Helped Catch the 'Google Insider' on Polymarket

https://www.wsj.com/finance/currencies/how-online-sleuthing-helped-catch-the-google-polymarket-tr...
1•1vuio0pswjnm7•40m ago•1 comments

BreakShield CI – Detects Breaking API Changes in PRs Using AST

https://breakshield-ci.vercel.app
2•holesvojta•44m ago•0 comments

SlimTide Weight Loss Review: Worth Trying in 2026?

https://finance.yahoo.com/sectors/healthcare/articles/slimtide-capsules-shocking-report-2026-1724...
1•gardsapu•45m ago•0 comments

I Love Meta Platforms

https://chetan343.substack.com/p/i-love-meta
3•TheChetan•48m ago•1 comments

Xevdb – Query waveforms, RTL, and logs as one database (with optional AI)

https://github.com/aionhw/xevdb
1•bondanr•48m ago•0 comments

The Battle for the Future of Steam

https://www.youtube.com/watch?v=yV1_bWc0-gI
1•cable2600•50m ago•0 comments

Anthropic Expands Public Access to Claude Mythos AI Model

https://www.govinfosecurity.com/anthropic-expands-public-access-to-claude-mythos-ai-model-a-31778
3•divija_07•52m ago•1 comments

US now spending more on data center than on public transportation

https://bsky.app/profile/leftistwonk.bsky.social/post/3mnbd6txlus2c
2•kn81198•52m ago•0 comments

User-replaceable batteries are coming back in a big way

https://www.theverge.com/column/939026/user-replaceable-batteries-eu-european-union-legislation
2•1vuio0pswjnm7•54m ago•0 comments

App to find best model by filtering AI models

https://which-llm-model.netlify.app/
1•mzubairtahir•58m ago•0 comments

Coding agents are giving everyone decision fatigue

https://stackoverflow.blog/2026/05/21/coding-agents-are-giving-everyone-decision-fatigue/
2•jruohonen•58m ago•0 comments