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

Australia creates world-first Office of AI

https://www.minister.industry.gov.au/t-ayres/media/ai-australias-interests
1•mrTeale•43s ago•0 comments

AI Agents: Hype vs. Reality (2024)

https://www.kadoa.com/blog/ai-agents-hype-vs-reality
1•vinhnx•1m ago•0 comments

GPT-5.6 Sol, Terra, Luna compare on intelligence vs. cost

https://artificialanalysis.ai/articles/gpt-5-6-intelligence-vs-cost-across-sol-terra-luna
1•theanonymousone•3m ago•0 comments

Weird password rules for website to register

1•guptadeepak•9m ago•0 comments

Code for the people: The human story of the open web

https://codeforthepeople.com/
1•wallflower•13m ago•0 comments

The math behind PrismML's 27B-parameter model in 4GB of RAM

https://thebluenarwhal.com/27-billion-parameters-on-an-iphone-why-on-device-ai-may-be-apples-next...
1•newyearsnight•13m ago•0 comments

Starlink V5

https://starlink.com/specifications/10
1•jtraglia•13m ago•0 comments

Samosa Chat: Run Qwen3.6-35B-A3B Locally on a 16 GB Mac

https://github.com/deepanwadhwa/samosa-chat
5•dwa3592•25m ago•3 comments

Ptolemaic and LLM Architecture Compared (In 3D)

https://celestial-llm-mirror.vercel.app/
1•mikemangialardi•28m ago•0 comments

Dell Is on a Roll with the XPS

https://world.hey.com/dhh/dell-is-on-a-roll-with-the-xps-5a09a84e
2•dotcoma•28m ago•0 comments

GPT 5.6 Sol Pro disproves long-standing hypothesis in statistics

https://twitter.com/i/status/2077082912021786660
1•qsi•29m ago•1 comments

John Archibald Wheeler: It from Bit

https://en.wikipedia.org/wiki/John_Archibald_Wheeler
1•lioeters•34m ago•1 comments

Fix CSS Problems

https://www.fix-css.com/
1•ilreb•35m ago•0 comments

vLLM prefill paired with TileRT decode

https://vllm.ai/blog/2026-07-14-vllm-tilert-pd
2•ilreb•37m ago•0 comments

3k-year-old Egyptian tomb with vivid afterlife paintings uncovered near Luxor

https://www.euronews.com/culture/2026/07/14/3000-year-old-egyptian-tomb-with-vivid-afterlife-pain...
3•devonnull•39m ago•1 comments

White House launches AI cybersecurity clearinghouse

https://www.cnn.com/2026/07/14/tech/ai-cybersecurity-clearing-house-white-house
1•1659447091•39m ago•0 comments

Cicada- an agentic Python IDE Free to use ( comes with built in small model)

https://github.com/godsonj64/Cicada/releases/tag/v0.4.0
1•godsonj64•40m ago•1 comments

Show HN: PullCard – Pull your AI coding style as a holographic trading card

https://pullcard.sakimyto.com
1•sakimyto•41m ago•0 comments

Show HN: I built an AI agent memory engine because Obsidian wasn't cutting it

https://perseus.observer/blog/built-perseus-vault-obsidian-wasnt-cutting-it/
1•perseusai•46m ago•0 comments

TPU and GPU Clusters: The Anatomy of Collective Communication

https://www.aleksagordic.com/blog/collective-operations
1•npalli•48m ago•0 comments

When China's open-source AI is a trap

https://www.economist.com/international/2026/07/14/when-chinas-open-source-ai-is-a-trap
2•andsoitis•49m ago•1 comments

Data for Agents

https://huggingface.co/blog/nvidia/open-data-for-agents
1•gmays•50m ago•0 comments

Midnight social media curfew proposed for older UK teens

https://www.bbc.com/news/articles/c982857nlrlo
2•dabinat•53m ago•0 comments

High-Bandwidth Flash offers efficient storage for model weights

https://spectrum.ieee.org/high-bandwidth-flash
1•Gaishan•53m ago•0 comments

Cisco licenses iOS name to Apple, screenshot shows iWork on iPhone (2010)

https://appleinsider.com/articles/10/06/08/cisco_licenses_ios_name_to_apple_screenshot_shows_iwor...
1•thunderbong•53m ago•0 comments

A Magazine with One Subscriber

https://matthodges.com/posts/2026-07-12-personal-magazine-claude-codex/
1•jv22222•55m ago•1 comments

When AI gets a pass: the rise of 'AI Exceptionalism'

https://www.magiclasso.co/insights/ai-exceptionalism/
2•bentocorp•55m ago•0 comments

Show HN: Gomoku AI Edu – A Native macOS Gomoku Game with AI Opponent

https://gomoku.w3cub.com/
1•terryXyz•57m ago•0 comments

UEFI shims undermining Secure Boot

https://www.welivesecurity.com/en/eset-research/forgotten-uefi-shims-undermining-secure-boot/
3•gnabgib•1h ago•0 comments

6 months of OpenClaw

https://notesbylex.com/6-months-of-openclaw
1•lexandstuff•1h ago•0 comments