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

Comments

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

AI Impact Summit 2026: How we're partnering to make AI work for everyone

https://blog.google/innovation-and-ai/technology/ai/ai-impact-summit-2026-india/
1•novemp•3m ago•0 comments

"Amazon.com" commercials from the 1990s [video]

https://www.youtube.com/watch?v=BhJw-oxvNoI&list=PLoAkWDurpV8s8wxTrj_Bi6aRdNxDsA8N1&index=1
1•raldi•4m ago•0 comments

The Dillo Appreciation Post

https://bobbyhiltz.com/posts/2026/02/dillo-appreciation/
1•todsacerdoti•5m ago•0 comments

OpenClaw container image with 99% less vulnerabilities

https://www.minimus.io/post/stop-running-openclaw-with-2-000-vulnerabilities-why-minimus-openclaw...
1•dimastopel•6m ago•0 comments

Show HN: Berean Labs – Free AI-powered penetration testing for web apps

https://bereanlabs.com/
1•abliterationai•8m ago•0 comments

Japanese toilet maker 'most undervalued and overlooked AI memory beneficiary'

https://www.tomshardware.com/tech-industry/artificial-intelligence/japanese-toilet-maker-the-most...
1•occamschainsaw•16m ago•0 comments

Fast KV Compaction via Attention Matching

https://arxiv.org/abs/2602.16284
1•cbracketdash•16m ago•0 comments

Why can't the world replace China in manufacturing?

https://finshots.in/archive/why-cant-the-world-replace-china/
1•vismit2000•17m ago•0 comments

Gravity Doesn't Behave Normally in Antarctica

https://dailygalaxy.com/2026/02/gravity-not-behave-normally-antarctica-why/
1•jmward01•17m ago•0 comments

Model Attention Visualized by Opacity

https://twitter.com/samwhoo/status/2024458062619124204
1•_vaporwave_•18m ago•0 comments

Show HN: A local-first hub with 35 dev/design tools and a dark-mode UI library

https://artboards.in/
1•sidduex•18m ago•1 comments

Show HN: SQL-tap now has a browser-based Web UI for real-time SQL monitoring

1•mickamy•19m ago•0 comments

Rust Jobs January 2026

https://filtra.io/rust/jobs-report/jan-26
1•stmw•19m ago•0 comments

Hyperagent – Make Agents Learn, Compound, and Scale

https://www.hyperagent.com/
1•tortilla•22m ago•0 comments

Mystery donor gives Japanese city $3.6M in gold bars to fix water system

https://www.bbc.com/news/articles/c3ew5jlqz87o
2•tartoran•35m ago•0 comments

California introduces a bill (AB-2047) that will limit the use of 3D printers

https://legiscan.com/CA/text/AB2047/2025
1•greesil•38m ago•1 comments

FBI 'Asset' Helped Run a Dark Web Site That Sold Fentanyl-Laced Drugs for Years

https://www.wired.com/story/an-fbi-asset-helped-run-a-dark-web-site-that-sold-fentanyl-laced-drug...
4•jbegley•39m ago•2 comments

Show HN: I Built a Kotlin Package Manager (KPM)

https://github.com/BenMorrisRains/Kotlin-Package-Manager
1•BenMorrisRains•39m ago•0 comments

Theres no mainstream AI video editing tool?

2•yakshithk_•40m ago•0 comments

Judge scolds Mark Zuckerberg's team for wearing Meta glasses to trial

https://www.cbsnews.com/news/meta-trial-mark-zuckerberg-ai-glasses/
3•danorama•41m ago•2 comments

Top Lawyers' Fees Have Skyrocketed. Be Prepared to Pay $3,400 an Hour

https://www.wsj.com/business/lawyer-hourly-rate-bill-3400-807cf6ce
2•walterbell•42m ago•1 comments

Show HN: Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://gepa-ai.github.io/gepa/blog/2026/02/18/introducing-optimize-anything/
6•LakshyAAAgrawal•44m ago•0 comments

Consistency diffusion language models: Up to 14x faster, no quality loss

https://www.together.ai/blog/consistency-diffusion-language-models
4•zagwdt•47m ago•0 comments

Static Pricing Theory

https://www.varietyiq.com/blog/pricing
3•efavdb•55m ago•0 comments

I Audited Three Vibe Coded Products in a Single Day

https://fromtheprism.com/vibe-coding-audit
1•heavymemory•56m ago•1 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
2•vinhnx•57m ago•1 comments

Automatically Learning Skills for Coding Agents

https://gepa-ai.github.io/gepa/blog/2026/02/18/automatically-learning-skills-for-coding-agents/
2•emersonmacro•58m ago•1 comments

Most EV batteries outlast their cars, real-world data shows

https://electrek.co/2026/02/18/most-ev-batteries-outlast-their-cars-real-world-data-shows/
3•xbmcuser•59m ago•0 comments

Nothing Ever Happens: "Mister Squishy" and the Year of the Sentence Diagram

https://lareviewofbooks.org/article/nothing-ever-happens-mister-squishy-and-the-year-of-the-sente...
2•sxzygz•59m ago•0 comments

Mirfield man's tears of joy after lost voicemail of wife retrieved (2015)

https://www.bbc.co.uk/news/uk-england-leeds-31015325
3•susam•59m ago•1 comments