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

Comments

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

Framecraft – Generate demo videos from a prompt using HTML Canvas/Skill/MCP/LLM

https://github.com/vaddisrinivas/framecraft
1•srinivasvaddi•2m ago•1 comments

Most AI trading tools: one model, one prediction, done

https://orallexa-ui.vercel.app
1•xji12026•3m ago•0 comments

Microdrive History

https://www.hjreggel.net/hdtechdat/hd-micro.html
1•o4c•4m ago•0 comments

S&P Licenses S&P 500 to Trade[XYZ] for Perpetual Contracts on Hyperliquid

https://www.spglobal.com/spdji/en/index-announcements/article/sp-dow-jones-indices-licenses-sp-50...
1•OutOfHere•7m ago•0 comments

Show HN: Ubik – Analyze local files like NotebookLM, with Cursor-like power

https://www.ubik.studio/features
1•ieuanking•10m ago•0 comments

Everyone is building the same thing (a generalist agent)

https://twitter.com/nichochar/status/2039739581772554549
1•nichochar•10m ago•0 comments

Analyzing 38,000 Dota games to see if this item helps [video]

https://www.youtube.com/watch?v=wYE3RUyzHlE
1•marysminefnuf•20m ago•0 comments

Cc-plugin-audit: Defensive supply-chain security analysis on plugin auto-update

https://github.com/STRML/cc-plugin-audit
1•Sottilde•21m ago•0 comments

The College Student–and His Cat Meme–Who Hunted the Biggest Cyberweapon

https://www.wsj.com/tech/kimwolf-hack-residential-proxy-networks-a712ab59
2•lakoshi•25m ago•0 comments

Change your Google Account username in a few simple steps

https://blog.google/products-and-platforms/products/workspace/google-account-username-change/
3•brie22•26m ago•0 comments

CDC Pauses Testing for Rabies and Pox Viruses

https://www.nytimes.com/2026/04/01/health/cdc-rabies-mpox-tests-paused.html
5•detaro•27m ago•1 comments

Being the Adult in the Room

https://tailscale.com/blog/adult-in-the-room
5•bumbledraven•30m ago•0 comments

Backblaze updated Terms of Service (2026)

https://www.backblaze.com/company/policy/terms-of-service-2026
3•anonred•31m ago•1 comments

US-Israeli bombing destroys oldest medical research center in Iran

https://www.egyptindependent.com/us-israeli-bombing-destroys-oldest-medical-research-center-in-ir...
27•OutOfHere•35m ago•4 comments

AI Applications and Vertical Integration

https://www.tanayj.com/p/ai-applications-and-vertical-integration
2•gmays•41m ago•0 comments

DropSmith – MCP server for structured NPC dialogue generation

https://github.com/holmesclaw-hash/dropsmith
3•dropsmith•45m ago•0 comments

Science confirms torpedo [baseball] bat works as well as regular bat

https://news.wsu.edu/press-release/2026/04/02/science-confirms-torpedo-bat-works-as-well-as-regul...
2•Magi604•48m ago•0 comments

Microsoft wants Edge to automatically open by default at Windows 11 boot

https://www.windowscentral.com/microsoft/windows-11/microsoft-wants-edge-to-automatically-open-by...
4•tech234a•48m ago•2 comments

EmDash Feedback

https://ma.tt/2026/04/emdash-feedback/
6•batuhanicoz•57m ago•0 comments

Any-GPU: my AMD 5700 XT OC can EARN IT's rent using Debian Trixie+Vulkan

https://github.com/cochranblock/any-gpu
2•cochranblock•58m ago•0 comments

Show HN: Procfile-compatible tool with hot reload, readiness, dependencies, etc.

https://github.com/alecthomas/proctor
2•alecthomas•58m ago•0 comments

Expi – Media Converter

https://getexpi.app
3•philematic•59m ago•0 comments

Trump administration sues 3 states over attempts to regulate prediction markets

https://www.npr.org/2026/04/02/nx-s1-5771635/trump-cftc-kalshi-polymarket-lawsuits
6•razorbeamz•1h ago•1 comments

Fine-Tuning Large Language Models LLMs with a Production-Grade Pipeline (2023)

https://alex000kim.com/posts/2023-09-08-finetune-llm-pipeline-dvc-skypilot/
2•teleforce•1h ago•0 comments

Leapstack-vn-data-breach-approximately-100-GB-of-health-insurance-claims

https://medium.com/@infosec_chu/leapstack-vn-data-breach-approximately-100-gb-of-health-insurance...
2•tryee•1h ago•0 comments

The Technocracy Movement of the 1930s

https://donotresearch.substack.com/p/welcome-to-the-technocracy
4•lazydogbrownfox•1h ago•0 comments

Period – 11M params car parking model

https://therefore.sh/projects/period
3•LorenDB•1h ago•0 comments

Untaxed Wealth of Richest 0.1% Is More Than Assets of World’s Poorest Half

https://www.commondreams.org/news/global-tax-havens-inequality
19•ZunarJ5•1h ago•4 comments

EPA Targets Microplastics and Drugs in Drinking Water

https://www.nytimes.com/2026/04/02/climate/microplastics-maha-epa.html
2•lxm•1h ago•0 comments

Jobs Being Created by AI

https://www.wsj.com/tech/ai/wanted-head-of-human-ai-solutions-the-new-jobs-being-created-by-ai-87...
3•Jimmc414•1h ago•0 comments