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

Comments

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

Title>SBTI Test – Free Online SBTI Personality Test – SBTI

https://sbtitest.work/en
1•shoujikaijishi•36s ago•0 comments

Closed-Loop Extracorporeal Vascular Cleaning by Staged Chemical Dissolution

https://zenodo.org/records/19763808
1•iliatoli•2m ago•0 comments

Officials underestimated impact of AI datacentres on UK carbon emissions

https://www.theguardian.com/technology/2026/apr/24/officials-hugely-underestimated-impact-of-ai-d...
1•Brajeshwar•3m ago•1 comments

Sloppy Copies

https://www.markround.com/blog/2026/04/19/sloppy-copies/
2•birdculture•4m ago•0 comments

Matter Devices Blog – Matterdevices.io

https://matterdevices.io/
1•alator21•8m ago•0 comments

Goldman Sachs leads record renminbi borrowing by US banks

https://www.ft.com/content/e83da9f6-f065-46ad-ad21-e677550b7b0c
1•t-3•10m ago•0 comments

Timothy Leary–1960s Acid Guru–May Have Been Among the CIA's Greatest Assets

https://covertactionmagazine.com/2026/04/24/timothy-leary-1960s-acid-guru-may-have-been-among-the...
1•t-3•11m ago•0 comments

"Game-changer" breast cancer study retracted as researcher out of his post

https://retractionwatch.com/2026/04/15/game-changer-breast-cancer-study-retracted-as-indiana-rese...
1•hentrep•14m ago•0 comments

EverAct – blockchain-verified rewards for walking, cycling, sustainable shopping

https://everact.app/en
1•save-the-planet•14m ago•1 comments

Echon – a Discord alternative I've been building solo

https://echon-voice.com
1•Phrosen•17m ago•0 comments

Lochat: See messages route across the world

https://chat.knowww.net/
1•johanam•17m ago•0 comments

An oral history of the Harvard Lampoon

https://www.washingtonpost.com/style/2026/04/25/harvard-lampoon-150th-conan-snl/
2•raldi•17m ago•0 comments

Reactivity in vanilla JavaScript – Observable Podcast [video]

https://www.youtube.com/watch?v=AUh5aJfafJM
1•recifs•19m ago•1 comments

Social media is no longer social

https://bsky.app/profile/pettertornberg.com/post/3mk64uzhdm22z
5•frereubu•21m ago•1 comments

SciRS2 – Scientific Computing and AI in Rust without C/C++/Fortran dependencies

https://github.com/cool-japan/scirs
1•mikolajw•21m ago•0 comments

Show HN: Chatforge – drag two local LLM conversations together to merge context

https://github.com/gerritsxd/chatforge
1•cyg2•24m ago•0 comments

Show HN: I built a free email security checker for small businesses

https://shielddeskhq.com/checker
1•minhajulmahib•24m ago•0 comments

ByteCode – A C2 Framework Windows Defender Safe

https://github.com/wadecalvin9/ByteCode
2•KIRA404•28m ago•1 comments

The reporters at this news site are AI bots. OpenAI's super PAC appears to be

https://modelrepublic.substack.com/p/the-reporters-at-this-news-site-are
5•CarbonCycles•28m ago•0 comments

Medical data of 500k UK volunteers listed for sale on Alibaba

https://www.malwarebytes.com/blog/news/2026/04/medical-data-of-500000-uk-volunteers-listed-for-sa...
4•salkahfi•29m ago•0 comments

A Collection of Chronic Medical Conditions Common in Autistic and ADHD Adults [pdf]

https://allbrainsbelong.org/wp-content/uploads/2023/08/CLINICIAN-GUIDE-Everything-is-Connected-to...
3•AndrewDucker•31m ago•0 comments

Tokyo Metropolitan Building Staff Cafeteria

https://www.atlasobscura.com/places/tokyo-metropolitan-building-staff-cafeteria
2•rawgabbit•31m ago•1 comments

Cursor: Agents.md not automatically injected due to bug

https://forum.cursor.com/t/agents-md-not-automatically-injected/158448
3•mopatches•33m ago•1 comments

Fight AI Slop and Fakery: Build and Distribute Your Own Trust Chain

https://blog.certisfy.com/2026/04/build-your-own-trust-chain.html
2•Edmond•33m ago•1 comments

Browser Based Constellation Modeling Tool

https://sixthsensor.io/
2•apoperi•35m ago•0 comments

Fully Featured Audio DSP Firmware for the Raspberry Pi Pico

https://github.com/WeebLabs/DSPi
3•BoingBoomTschak•37m ago•1 comments

EgoNet: A Peer-to-Peer Digital Existence System – In Homage to Satoshi Nakamoto

https://zenodo.org/records/19633431
2•R_Horiguchi•39m ago•0 comments

Autonomous weapons are a game-changer

https://www.economist.com/special-report/2018/01/25/autonomous-weapons-are-a-game-changer
3•andsoitis•40m ago•0 comments

In Search of the Missing Artist

https://www.abc.net.au/news/2026-04-25/in-search-of-the-missing-artist-jean-paul-mangin/106593220
2•colinprince•43m ago•0 comments

NASA Releases Powerful LAVA Software to US Aerospace Industry

https://www.nasa.gov/aeronautics/nasa-releases-powerful-lava-software-to-us-aerospace-industry/
2•happy-go-lucky•43m ago•0 comments