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

Comments

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

Claude Code sessions are now link-shareable

https://github.com/OmkarKovvali/claude-session-share
1•reflectivetrap•48s ago•1 comments

Nearly 5M Accounts Removed Under Australia's New Social Media Ban

https://www.nytimes.com/2026/01/15/world/australia/social-media-ban-australia.html
1•bookofjoe•2m ago•1 comments

Anything Will Work (In AI)

https://publish.obsidian.md/ueaj/Machine+Learning/Theory/Anything+WILL+work
1•qouteall•5m ago•0 comments

Matthew McConaughey trademarks catchphrase in bid to beat AI fakes

https://www.theguardian.com/film/2026/jan/15/matthew-mcconaughey-trademarks-all-right-all-right-a...
2•puttycat•7m ago•0 comments

ClickHouse Handles Strings

https://rushter.com/blog/clickhouse-strings/
2•gm678•9m ago•0 comments

Drone Hacking Part 1: Dumping Firmware and Bruteforcing ECC

https://neodyme.io/en/blog/drone_hacking_part_1/
2•tripdout•11m ago•0 comments

Shamash an IntelliJ plugin and CLI to enforce JVM architecture boundaries

https://github.com/aalsanie/shamash
1•aalsanie•12m ago•1 comments

Plunging US Birth Rate Leaves Too Many Colleges with Too Few Kids

https://www.bloomberg.com/graphics/2026-college-enrollment-cliff/
2•toomuchtodo•16m ago•1 comments

Is it still worth pursuing a software startup?

1•newbebee•17m ago•0 comments

MySQL GitHub repository did not have commits for three months

https://github.com/mysql/mysql-server/graphs/commit-activity
1•chemodax•18m ago•0 comments

Justice Dept. launches criminal investigation of Minnesota governor

https://www.washingtonpost.com/national-security/2026/01/16/trump-minnesota-walz-frey-criminal-in...
5•perihelions•18m ago•0 comments

Bell Boy BB2: backup-first Windows ODE for safe file ops (PowerShell 5.1)

https://github.com/TrishulaSoftware/BellBoy-BB2
1•trishulasoftwre•22m ago•1 comments

Show HN: Explain Yourself – An AI party game app built with SwiftUI

1•sntedo•23m ago•0 comments

daff: data diff

https://paulfitz.github.io/daff/
2•indigodaddy•26m ago•0 comments

Ask HN: What will happen to dev work if companies start using LLM coding agents

2•tbharath•27m ago•0 comments

Ancient designs may be the first evidence of humans doing math

https://www.cnn.com/2026/01/16/science/halafian-pottery-first-math-intl-scli
1•smoyer•29m ago•0 comments

Golb's Law of Laws

https://abidsikder.com/blog/2026-01-16-golb/
1•caaaadr•32m ago•1 comments

Donald Trump Wants to Cancel the Midterm Elections (Jamelle Bouie) [video]

https://www.youtube.com/watch?v=YRV-9vO4Grs
2•consumer451•33m ago•1 comments

Officials showed off a robo-bus in DC. It got hit by a Tesla driver

https://www.msn.com/en-us/news/us/officials-showed-off-a-robo-bus-in-dc-it-got-hit-by-a-tesla-dri...
2•MilnerRoute•33m ago•0 comments

Compressing Cellular Automata Images (2017)

https://cloudinary.com/blog/compressing_cellular_automata
2•matthberg•36m ago•0 comments

CSS Houdini

https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Properties_and_values_API/Houdini
1•embedding-shape•41m ago•0 comments

Building Amiga 4000T (Part 1, Daughterboards)

https://wordpress.hertell.nu/?p=1942
1•doener•43m ago•0 comments

The Bitter Lesson of Agent Frameworks

https://browser-use.com/posts/bitter-lesson-agent-frameworks
2•gregpr07•44m ago•0 comments

Pituffik Space Base

https://en.wikipedia.org/wiki/Pituffik_Space_Base
1•doener•46m ago•0 comments

Computation Sovereignty and the Future of Tastes – An RGA Account

https://jimiwen.substack.com/p/death-of-the-architect
1•jimiwen•50m ago•0 comments

Myths we tell ourselves about software engineering

https://medium.com/feenk/rewilding-software-engineering-ca3ad1e612d8
1•todsacerdoti•53m ago•0 comments

I'm Being Prosecuted for the Opposite of Insider Trading

https://www.wsj.com/opinion/im-being-prosecuted-for-the-opposite-of-insider-trading-3a7b5f85
9•mudil•1h ago•5 comments

Visual Lexicon of Aztec Hieroglyphs

https://aztecglyphs.wired-humanities.org/content/visual-lexicon-aztec-hieroglyphs
1•thunderbong•1h ago•0 comments

Why Flutter Isn't Dead

https://shorebird.dev/blog/flutter-not-dead/
2•satvikpendem•1h ago•0 comments

RFK, Jr., shifts focus to questioning whether cell phones are safe

https://www.scientificamerican.com/article/rfk-jr-shifts-focus-to-questioning-whether-cell-phones...
5•voxadam•1h ago•2 comments