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

Comments

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

Prison guards discussed cover-up of Epstein's death, inmate tells FBI

https://www.miamiherald.com/news/local/crime/article314966334.html
1•ParentiSoundSys•3m ago•0 comments

Patching minified Claude Code so it can hear webhooks

https://github.com/Connoropolous/claude-notifications-for-agents
1•connorturland•3m ago•0 comments

Show HN: Navtee – Golf course directory and navigation app

https://navtee.com/
1•metafarer•4m ago•0 comments

ReactScope

https://folio.stage.obvious.ai/obvious/reactscope
1•handfuloflight•7m ago•0 comments

Show HN: Qry – CLI web search that always outputs JSON, with swappable back ends

https://github.com/justEstif/qry
2•justEstif•10m ago•0 comments

Show HN: SafeAgent – exactly-once execution guard for AI agent side effects

2•Lions2026•10m ago•0 comments

Show HN: Open-source personal finance AI that runs locally on your laptop

https://nullbook.ai/
2•jfornear•12m ago•1 comments

Forcing Flash Attention onto a TPU and Learning the Hard Way

https://archerzhang.me/forcing-flash-attention-onto-a-tpu
4•azhng•13m ago•0 comments

Mechanical Movements Animated

https://507movements.com/
2•TigerUniversity•13m ago•0 comments

Show HN: Pipe Checker – paste a sales deal and it checks BANT qualification

https://pipechecker.onrender.com/
1•eghatch92•18m ago•0 comments

Juno – J Web IDE

https://jsoftware.github.io/juno/app/
1•todsacerdoti•18m ago•0 comments

ReverseLM Playground

https://scottinallca.ps/reverse-lm/
1•scottmf•21m ago•0 comments

Integrating AI-Driven Predictive Analytics for Cybersecurity Risk Mitigation [pdf]

https://www.researchgate.net/profile/Adeyinka-Oluwatomisin/publication/401488012_Integrating_AI-D...
1•Olshansky•21m ago•0 comments

Msspproviders.io: a searchable directory of managed security service providers

https://msspproviders.io
1•datacorp•26m ago•1 comments

Old Versions of Programs, Drivers and Games

https://www.oldversion.com/
1•TigerUniversity•29m ago•0 comments

Zero Sum Game

https://code.chuanqisun.com/zero-sum-game/
1•low_tech_punk•31m ago•0 comments

Karabiner-Elements is a powerful tool for customizing keyboards on macOS

https://github.com/pqrs-org/Karabiner-Elements
1•vinhnx•33m ago•0 comments

Coruna: The Mysterious Journey of a Powerful iOS Exploit Kit

https://cloud.google.com/blog/topics/threat-intelligence/coruna-powerful-ios-exploit-kit
1•JumpCrisscross•33m ago•0 comments

How Vinay Prasad Came to Washington, and Why It Was Always Going to End This Way

https://anishkokamd.substack.com/p/how-vinay-prasad-came-to-washington
1•ssivark•35m ago•0 comments

Judge Voids Mass Layoffs at Voice of America

https://www.nytimes.com/2026/03/07/us/politics/judge-kari-lake-voa-layoffs.html
9•JumpCrisscross•36m ago•0 comments

Scaling and controlling an army of devices in parallel with voice commands

https://www.youtube.com/watch?v=kxfT4ZzG2l0
1•GPUboy•36m ago•0 comments

Plenty of AI hype, but not much useful software?

1•YounesDz•37m ago•1 comments

Show HN: Yumo.to, a map of 19,652 onsens in Japan

https://yumo.to/
2•katagamistudio•44m ago•3 comments

Show HN: I built a $5/mo Jobber alternative for solo carpenter

https://fieldflow-nine.vercel.app/auth
1•Mike_Handyman•44m ago•0 comments

Americans Are Now a Target for ICE

https://www.wsj.com/us-news/immigration-protests-noem-minneapolis-0b8bd496
9•JumpCrisscross•46m ago•2 comments

All Bench Leaderboard for Comparing LLMs Across Benchmarks

https://huggingface.co/blog/FINAL-Bench/all-bench
1•seawolf2357•46m ago•0 comments

Multimodal Coding Agents as In-Context Policy Learners for Robot Manipulation

https://arxiv.org/abs/2603.04466
1•vaishak2future•47m ago•1 comments

Kalshi and Polymarket Are Each Eyeing Roughly $20B Valuations

https://www.wsj.com/finance/kalshi-and-polymarket-are-each-eyeing-roughly-20-billion-valuations-d...
3•bookofjoe•47m ago•1 comments

State of WASI support for CPython: March 2026

https://snarky.ca/state-of-wasi-support-for-cpython-march-2026/
1•mariuz•47m ago•0 comments

Show HN: Ethernity: Secure paper backups with age encryption and SSS

https://github.com/MinorGlitch/ethernity
2•minorglitch•51m ago•1 comments