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

Show HN: Q-DeflateRFC1951 compatible hyper-density compression SaaS

https://microforce.dev
1•Gen-N•41s ago•0 comments

DigitalOcean × Textpattern CMS: a final note of thanks

https://textpattern.com/weblog/digitalocean-textpattern-cms-a-final-note-of-thanks
1•petecooper•1m ago•0 comments

Use Rounded Rectangles

https://www.munrostewart.com/use-rounded-rectangles
1•munrostewart•1m ago•0 comments

Show HN: CoIsland – Your whole engineering stack in a notch

https://coisland.app/
1•LeDonT•1m ago•0 comments

Etoomanythings? Run Fewer Agents

https://blog.exe.dev/etoomanythings
1•bryanmikaelian•3m ago•0 comments

OpenID Foundation: Identity Management for Agentic AI [pdf]

https://openid.net/wp-content/uploads/2025/10/Identity-Management-for-Agentic-AI.pdf
1•cgeier•4m ago•1 comments

Figma restricts MCP access to whitelisted clients, excluding Pi

https://twitter.com/GayaniFigma/status/2105295629941350454
1•thdr•4m ago•1 comments

X from the Terminal

https://twitter.com/marcusforpeace/status/2105577729005678671
1•marcusae313•5m ago•0 comments

The Extraordinary Case of the Guevedoces

https://www.bbc.com/news/magazine-34290981
1•gradus_ad•5m ago•0 comments

Agentic Front End Refactoring with QBDS, Claude Code, & Figma MCP

https://medium.com/quantumblack/what-changes-when-your-design-system-can-talk-to-an-ai-0a856b3c40d9
1•treyjur•6m ago•0 comments

Claude's Android App: Finding the Internal Settings

https://nima-ahmadi.github.io/posts/claude-android-internal-settings/
1•nimaamd•6m ago•0 comments

Reviving Valve's 15-year-old e-book

https://nikolan.net/posts/portal2/
1•speckx•6m ago•0 comments

46th Chess Olympiad

https://en.wikipedia.org/wiki/46th_Chess_Olympiad
1•tosh•7m ago•0 comments

Various Projects Find Hidden SDR Capabilities in ESP32 Microcontrollers

https://www.rtl-sdr.com/various-projects-independently-find-hidden-sdr-capabilities-in-esp32-micr...
1•nkw•7m ago•0 comments

Micron lawsuit claims Chinese memory maker YMTC poached its engineers, then

https://www.tomshardware.com/pc-components/ssds/micron-lawsuit-claims-chinese-memory-maker-ymtc-p...
1•sbulaev•8m ago•1 comments

Dinosaur-killing impact crater might have been teeming with life

https://arstechnica.com/science/2026/09/dinosaur-killing-impact-crater-might-have-been-teeming-wi...
1•Brajeshwar•9m ago•0 comments

Supercapacitor-based ionic diode: Mechanisms, materials, and emerging (2025)

https://www.sciencedirect.com/science/article/abs/pii/S0925838825057147
1•peter_d_sherman•10m ago•0 comments

Lambda 0.3 – a funcitonal lang with E2E doc pipeline

https://github.com/henry-luo/lambda
2•perpetua•10m ago•1 comments

How we built an async-aware Python profiler

https://www.datadoghq.com/blog/engineering/async-python-profiler/
1•eatonphil•10m ago•0 comments

A fifth of month-end Treasury trading now happens in one 10-minute window

https://libertystreeteconomics.newyorkfed.org/2026/09/treasury-trading-at-the-close/
1•latentframe•11m ago•0 comments

WM Keyboard: A highly configurable FOSS Android keyboard

https://github.com/wasi-master/wmkeyboard
1•bro4t•12m ago•0 comments

Polyedergarten: Garden of Paper Polyhedron Models

https://www.polyedergarten.de/e_index.htm
3•isaacimagine•12m ago•0 comments

Ask HN: Freelancer? Seeking freelancer? (October 2026)

2•jon_north•13m ago•1 comments

Ask HN: Who is hiring? (October 2026)

6•whoishiring•13m ago•14 comments

Ask HN: Who wants to be hired? (October 2026)

10•whoishiring•13m ago•36 comments

Gaussian Splat Avatars for Realtime AI Agents

https://github.com/NavodPeiris/gsplat-talkinghead
1•NavodPeiris•13m ago•1 comments

The Work of Hong Wang

https://arxiv.org/abs/2609.40161
1•woopwoop•15m ago•0 comments

Hotpath Record an AI agent once, replay it as a deterministic workflow

https://github.com/mourad-baazi/hotpath
1•vonkey•16m ago•0 comments

Cloudflare AI Search is now generally available

https://blog.cloudflare.com/ai-search-ga/
1•fourfire•17m ago•0 comments

What Is an Enterprise MCP Gateway

https://www.speakeasy.com/resources/enterprise-mcp-gateway
1•ritzaco•17m ago•0 comments