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

Show HN: Tickstem – Python SDK for cron, uptime and heartbeat monitoring

https://github.com/tickstem/python
1•m_barsukou•3m ago•0 comments

SpaceX and Anthropic, xAI's Two Companies, Elon Musk and SpaceXAI's Future

https://stratechery.com/2026/spacex-and-anthropic-xais-two-companies-elon-musk-and-spacexais-future/
1•swolpers•8m ago•0 comments

Modern Lab Experiments

https://wanda.fiu.edu/boeglinw/courses/Modern_lab_manual3/index.html
2•nill0•19m ago•0 comments

Privatemode.ai – AI provider with confidential computing

https://www.privatemode.ai/
2•pelzatessa•19m ago•1 comments

Lil Snack

https://www.lilsnack.com/
2•delian66•21m ago•0 comments

Too Much Type

https://toomuchtype.com/
3•marksully•21m ago•0 comments

Panel on Language Design (PG, John Maeda, Jonathan Rees, G. Steele) (2001) [video]

https://www.youtube.com/watch?v=agw-wlHGi0E
2•kerim-ca•25m ago•1 comments

Appendix: Mental Health for the Engineering Student

https://ariadacapo.net/articles/2026-05-10-appendix-a7-mental-health-for-the-engineering-student/
2•2DcAf•29m ago•0 comments

David Weinberger interviews Paul Graham about 'Taste for Makers' (2006) [video]

https://www.youtube.com/watch?v=s2DkhL_Bypo
2•kerim-ca•32m ago•1 comments

2.21B Won Frozen in Virtual Currency Shutdowns

https://www.chosun.com/english/market-money-en/2026/05/12/A24FVGP2G5HD3CCDX23UHRWFQY/
3•01-_-•33m ago•0 comments

Unitree GD01: China's $537k rideable transformer robot is now in production

https://gagadget.com/en/709729-unitree-gd01-chinas-537k-rideable-transformer-robot-is-now-in-prod...
7•rguiscard•39m ago•0 comments

I'm Making Strandfall, a Solarpunk Orienteering Larp

https://mssv.net/2026/04/29/im-making-strandfall-a-solarpunk-orienteering-larp/
2•adrianhon•40m ago•0 comments

Canva's Magic Layers AI Changed "Palestine" to "Ukraine" in User Designs

https://gizmodo.com/canva-admits-its-ai-tool-removed-palestine-from-designs-apologizes-for-any-di...
7•lebowska•44m ago•0 comments

Texas Attor­ney Gen­er­al Sues Net­flix for Spy­ing on Kids and Con­sumers

https://www.texasattorneygeneral.gov/news/releases/attorney-general-ken-paxton-sues-netflix-spyin...
2•frb•49m ago•0 comments

Teen Boys and Young Men Are Injecting Peptides in Search of Perfection

https://www.wsj.com/health/wellness/boys-peptides-stacks-looksmaxxing-trevor-larcom-835e58cd
4•petethomas•51m ago•1 comments

Ducklake-SDK: Use DuckLake from Python or Rust without going through DuckDB

https://github.com/borchero/ducklake-sdk
2•borchero•54m ago•0 comments

Learning Software Architecture

https://matklad.github.io/2026/05/12/software-architecture.html
47•surprisetalk•58m ago•0 comments

Face ID Search

https://www.faceidsearch.com/en
2•bellamoon544•1h ago•0 comments

URLSession to Electrons: how networking works under the hood

https://blog.jacobstechtavern.com/p/urlsession-to-electrons
2•jakey_bakey•1h ago•0 comments

Show HN: Affordable Survey Software

https://www.survser.com/
3•pkundr•1h ago•0 comments

DuckDB/DuckLake multi-user in the browser with Read/Write and WebSocket notify

https://ducklake-with-vgi.query-farm.services/
3•rustyconover•1h ago•0 comments

TanStack NPM Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack

https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack
2•croes•1h ago•1 comments

Why should you have a data room? A stage-by-stage guide

https://vastpoint.substack.com/p/eng-why-should-you-have-a-data-room
2•kaku05ac•1h ago•0 comments

Lies, damned lies, and Elastic's benchmarks

https://www.gouthamve.dev/lies-damned-lies-and-elastics-benchmarks/
3•shutty•1h ago•0 comments

Loki Patera

https://en.wikipedia.org/wiki/Loki_Patera
2•DanielKehoe•1h ago•0 comments

SIEM and SoC: A Guide for Security Leaders in 2026

https://threatcrush.com/blog/siem-and-soc
2•buffer_overlord•1h ago•0 comments

EU Cloud Comparison Matrix

https://eualternative.eu/eu-cloud-comparison/
9•sparkling•1h ago•0 comments

Show HN: A benchmark where LLMs make memes from current news

https://memebench.net
4•max-azendorf•1h ago•1 comments

HDMI 2.1 Display Stream Compression (DSC) Ready for Amdgpu Linux Driver

https://www.phoronix.com/news/HDMI-2.1-DSC-AMDGPU-FRL
13•WithinReason•1h ago•0 comments

GitLab CI Functions

https://docs.gitlab.com/ci/functions/
3•yla92•1h ago•0 comments