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

Building domain-specific AI chatbots with Claude

https://gregwilson.tech/building-domain-specific-ai-chatbots
1•gw5815•4m ago•1 comments

Show HN: A GPU/VRAM filter for finding LLMs that will run on your hardware

https://www.whichllmmodel.com/app/text?local=true
1•mzubairtahir•6m ago•0 comments

No Bailouts for Big Tech Billionaires: Policies for When the AI Bubble Bursts

https://www.openmarketsinstitute.org/publications/no-bailouts-for-big-tech-billionaires-policies-...
2•nsagent•7m ago•0 comments

Libre Barcode Project

https://graphicore.github.io/librebarcode/
1•luu•11m ago•0 comments

Ask HN: How has the ML engineer job evolved outside of LLM labs?

1•olalonde•15m ago•0 comments

Thundermail June 2026 Update

https://blog.thunderbird.net/2026/06/thundermail-june-2026-update-what-we-learned-after-the-first...
3•bariumbitmap•24m ago•0 comments

Russell Vought's Latest Plan to Gut the Government Should Terrify You

https://www.thenation.com/article/politics/russell-vought-omb-grant-rule/
4•petethomas•25m ago•2 comments

Rura: Interactive TUI scratchpad for building shell pipelines

https://github.com/tlipinski/rura
3•loa_observer•25m ago•0 comments

China's CXMT Is Set to Challenge DRAM Incumbents

https://newsletter.semianalysis.com/p/chinas-cxmt-is-set-to-challenge-dram
3•djfergus•30m ago•1 comments

Show HN: HowMuch – Wordle, but you guess prices

https://howmuchgame.com/
2•spsneo•43m ago•3 comments

LogiGate: A zero-trust middleware architecture for AI liability written in Rust

https://github.com/Les-Senters/Logigate-architecture
2•zkpvault•44m ago•0 comments

California wealth tax fight moves to voters

https://www.politico.com/news/2026/06/25/california-wealth-tax-billionaires-ballot-00977427
4•shinryudbz•47m ago•0 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
2•cuchoi•54m ago•0 comments

Sochely – An SEO-first platform for creating and discovering local events

https://sochely.com/
2•godimittry90•55m ago•0 comments

Notion is shutting down its email client one year after launch

https://www.neowin.net/news/notion-is-shutting-down-its-email-client-one-year-after-launch/
5•bundie•57m ago•1 comments

Iraq warns it might leave OPEC if oil quota not raised

https://www.reuters.com/business/energy/iraq-consider-all-options-if-opec-quota-is-not-raised-has...
7•JumpCrisscross•58m ago•1 comments

Musk ordered to testify in election lottery cases; one lawsuit may be narrowed

https://www.reuters.com/legal/government/elon-musk-ordered-testify-election-lottery-cases-one-law...
5•JumpCrisscross•59m ago•0 comments

Competition intensifies for Anthropic and OpenAI ahead of IPOs

https://www.ft.com/content/8c02de04-5516-405b-941d-289e586d8eb8
2•JumpCrisscross•1h ago•0 comments

Phases of Ice

https://en.wikipedia.org/wiki/Phases_of_ice
3•thunderbong•1h ago•0 comments

White House asks OpenAI to limit its next model release

https://www.cnn.com/2026/06/25/tech/openai-limit-release-white-house
4•AaronO•1h ago•1 comments

Hallucination in World Models Is Predictable and Preventable

https://www.nicklashansen.com/mmbench2/
2•ilreb•1h ago•0 comments

Honesty gets Emacs patch rejected

https://xlii.space/eng/honesty-gets-emacs-patch-rejected/
2•signa11•1h ago•0 comments

Guardrails for offensive AI agents and why instructions are never enough

https://dest.host/b/guardrails-for-offensive-ai-agents/
3•snorbleck•1h ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
3•RickJWagner•1h ago•0 comments

Vanguard on Demand: Kernel Level Cheating (Prevention)

https://www.riotgames.com/en/news/vanguard-on-demand
2•internet-390•1h ago•1 comments

Offline Access and Authentication

https://fusionauth.io/community/forum/topic/3129/offline-access-authentication
4•mooreds•1h ago•0 comments

My Argument Against Self-Care

https://www.shirahaddad.com/writing/no-to-self-care
3•mooreds•1h ago•0 comments

Why Problem Statements Aren't Enough

https://letters.unchartedpathbreakthroughs.com/posts/why-problem-statements-arent-enough
2•mooreds•1h ago•0 comments

Local-first AI coding assistant for IntelliJ-based IDEs (paid)

https://plugins.jetbrains.com/plugin/31304-llamatik-code/
4•oogali•1h ago•0 comments

Why the Slate Truck Only Costs $25K

https://www.edmunds.com/car-news/2027-slate-truck-price-explained.html
11•RickJWagner•1h ago•10 comments