frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

Agent Distraction

https://developers.googleblog.com/agent-distraction/
1•pykello•1m ago•0 comments

Faster Scientific Simulations with New FP64 Algorithms in Nvidia cuBLAS

https://developer.nvidia.com/blog/faster-scientific-simulations-with-new-fp64-algorithms-in-nvidi...
1•qainsights•4m ago•0 comments

Show HN: Back endskills – agent skills for safer auth, data and migration code

https://github.com/globalmpc/backendskills
1•bayarkhuu5155•16m ago•0 comments

Cancer society issues updated prostate cancer screening guidelines

https://abcnews.com/GMA/Wellness/cancer-society-issues-specific-prostate-cancer-screening-guideli...
3•gmays•17m ago•0 comments

Ask HN: OpenAI Astra post-launch slump?

1•iJohnDoe•21m ago•1 comments

Obscura is so obscure it is practically unique

https://chronicles.mad-scientist.club/tales/obscure-obscura-is-actually-unique/
1•CqtGLRGcukpy•24m ago•1 comments

Show HN: Browserr – An MCP-first browser for AI agents (one Rust binary)

https://browserr.dev
1•Omodaka9375•26m ago•0 comments

MathHelm: A Place to discuss AI-generated papers

https://terrytao.wordpress.com/2026/11/13/introducing-mathhelm-a-place-to-discuss-ai-generated-pa...
1•smilelamp•28m ago•0 comments

Show HN: Geocode the planet(630M addresses), indexed in 5h on a 9 GB RAM budget

https://github.com/open-geocode-rs/open-geocode
2•abhigyaan•31m ago•0 comments

Martin van den Brink: His contributions in ASML [video]

https://www.youtube.com/watch?v=HEr90oVa758
1•pillars•31m ago•0 comments

App Basics for Firefox OS (2013)

https://web.archive.org/web/20160316133358/https://mozilla.github.io/app-basics-videos/
1•gurjeet•35m ago•0 comments

Quahuru: An original dice strategy board game

https://quahuru.com
1•trecht•37m ago•1 comments

A Financial Timeline of Jensen's Ousting

https://nvidia.cool.computer/
1•warthog•41m ago•0 comments

Pax Silica

https://www.nationalreview.com/the-morning-jolt/greta-thunberg-s-next-big-thing
2•fortran77•49m ago•1 comments

Before His Ouster, Jensen Huang Belittled the Executive Replacing Him

https://www.wsj.com/tech/jensen-huang-colette-kress-nvidia-ceo-eb289097
6•alsetmusic•50m ago•3 comments

Microsoft 365 Crawls Back to Life After a 24-Hour Outage

https://www.wired.com/story/microsoft-365-crawls-back-to-life-after-a-24-hour-outage/
9•ksec•52m ago•2 comments

Nvidia Allegedly Engineered Scarcity by Funding AI Startups to Buy Its GPUs

https://www.techpowerup.com/354814/nvidia-allegedly-engineered-scarcity-by-funding-ai-startups-to...
36•speckx•55m ago•9 comments

Beating the Frontier on NetHack

https://antithesis.com/blog/2026/nethack/
2•nwjsmith•56m ago•0 comments

Genie Agents now analyze more data sources to transform your work

https://www.databricks.com/blog/enterprise-context-action-genie-agents-now-analyze-more-data-sour...
3•gmays•1h ago•0 comments

Show HN: Open-Source Version of Cyclon: Phone where AI is the interface?

https://opencyclone.vercel.app/
2•Exorust•1h ago•0 comments

GLP-1 Drugs May Work Differently in Women

https://www.medpagetoday.com/endocrinology/obesity/120124
10•paulpauper•1h ago•0 comments

Sam Bankman-Fried would have made nearly $40B in Anthropic IPO

https://www.ft.com/content/0ef40ac9-6d01-428f-98c8-a52bf5b9a787
6•lvl256•1h ago•3 comments

Airtasker Third-Party Security Incident

https://support.airtasker.com/hc/en-au/articles/64280722804505-November-2026-Third-Party-Security...
2•mmahemoff•1h ago•1 comments

US loses measles-free status after continued spread of the disease

https://www.reuters.com/world/us-loses-measles-free-status-after-continued-spread-disease-wsj-rep...
7•1659447091•1h ago•2 comments

Ggml v1.0.0

https://github.com/ggml-org/ggml/releases/tag/v1.0.0
37•cobychapple•1h ago•1 comments

Nvidia director sold nearly $1B in stock weeks before the Jensen Huang scandal

https://finance.yahoo.com/markets/stocks/articles/nvidia-director-sold-nearly-1b-160000846.html
47•LopRabbit•1h ago•16 comments

Security Agencies Worldwide Found to Use Ad-Based Surveillance System

https://citizenlab.ca/security-agencies-worldwide-found-to-use-ad-based-surveillance-system/
21•billybuckwheat•1h ago•0 comments

Save the Parasites

https://knowablemagazine.org/content/article/living-world/2026/save-the-parasites
3•gmays•1h ago•0 comments

Llama.cpp hits v1.0 with a native app for macOS

https://huggingface.co/blog/ggml-org/llama-cpp-v1
8•shubham0204•1h ago•2 comments

Elephants Found to Be Increasingly Isolated Leading to Fractured Social Networks

https://today.ucsd.edu/story/elephants-found-to-be-increasingly-isolated-leading-to-fractured-soc...
61•gmays•1h ago•12 comments