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

Torrents Through Mullvad on FreeBSD

https://www.frimin.fr/posts/torrents-through-mullvad/
1•gearnode•45s ago•0 comments

YouTube AV2 streams will be available for Web as soon as early 2027

http://aomedia.org/press%20releases/AOMedia-Rapid-AV2-Adoption-Across-the-Video-Ecosystem/
1•HelloUsername•1m ago•0 comments

KibernetykMono – A Geometric Monospace Typeface

https://pavlokilko.github.io/KibernetykMono/
1•thw_9a83c•1m ago•0 comments

The Inherent Hierarchy of Money (2012) [pdf]

https://sites.bu.edu/perry/files/2019/04/Mehrling_P_FESeminar_Sp12-02.pdf
1•mooreds•2m ago•0 comments

Show HN: Arc-decide – an MIT 0.4B decision model for RAG checks that runs on CPU

https://docs.docsgpt.cloud/Models/decision-model
1•alextttty•2m ago•0 comments

Anthropic's IPO filing shows explosive growth, risks and staggering costs

https://www.reuters.com/legal/transactional/anthropic-opens-books-ais-explosive-growth-staggering...
2•tartoran•3m ago•0 comments

Anthropic S-1: Inside the 335-page IPO plan

https://www.ft.com/content/4b2b9c0e-adfb-4362-800f-950f5b905984
1•Betelbuddy•3m ago•0 comments

R/open source just banned AI, non-English speakers, and more

https://www.theverge.com/ai-artificial-intelligence/1018217/reddit-opensource-ai-ban
1•isaacfrond•4m ago•0 comments

Mini: The Minimal Language

https://minilanguage.com/
2•surprisetalk•6m ago•0 comments

Show HN: DeepSeek v4.1 Flash-1017 Safety Evaluation

https://twitter.com/FangcunLeap/status/2114719692137136245
1•mayziem•7m ago•0 comments

Vegemite is not a human right

https://www.cnn.com/2026/10/26/australia/prisoner-vegemite-rejected-judge-scli-intl
4•sumnole•8m ago•0 comments

Engineering Evolved. The Rest Didn't. That's Why Your AI ROI Sucks

https://kerno.io/blog/why-your-ai-roi-sucks/
1•karimtr•9m ago•0 comments

Show HN: ToiletBench - Can AI find the toilet without a sign?

https://behu-kea.github.io/toilet-bench/
2•RedGreenBlack•11m ago•0 comments

Identity Verification and Account Recovery

https://ciamweekly.substack.com/p/identity-verification-and-account
1•mooreds•11m ago•0 comments

Anthropic's prospectus: $16.3B in revenue and an $80.7B net loss in H1

https://fortune.com/2026/10/26/anthropics-s-1/
1•golfer•11m ago•0 comments

Brazil sees record fall in Amazon deforestation

https://www.bbc.com/news/articles/cqe8rzg6zl00o
2•Faudgie•12m ago•0 comments

Help! I have a manager!

https://wizardzines.com/zines/manager/
1•mooreds•13m ago•0 comments

Will Fiber-Optic Cables Get Made in Orbit? Maybe

https://spectrum.ieee.org/zblan-fiber-optic-cables-iss
2•dverlaeckt80•13m ago•0 comments

Lighting the Skies

https://computer.rip/2026-10-25-searchlights.html
1•dverlaeckt80•14m ago•0 comments

Filing My Taxes for Free with AI

https://www.robw.fyi/2026/10/19/filing-my-taxes-for-free-with-ai/
2•someguy101010•14m ago•0 comments

Show HN: A desk gauge that shows how hot the Hacker News front page is

https://analoguedesk.co/blogs/news/idx-a-desk-gauge-that-reads-the-hacker-news-front-page
1•veldt•15m ago•0 comments

The Metaphysical Foundations of Conservatism (2021)

https://philarchive.org/archive/EDWTMF-3
1•danielam•15m ago•0 comments

UIMorph: One sentence to a clickable app, site, or game

https://uimorph.com/
1•AveryLinUI•17m ago•0 comments

Show HN: Vmctl – a small, dependency-free macOS/Linux VM supervisor in Swift

https://github.com/raugustinus/vmctl
1•raugustinus•17m ago•0 comments

Crypto Finds Its Ideal User: A Government with a Sanctions Problem

https://dsrupt.news/articles/crypto-finally-finds-its-ideal-user-a-government-with-a-sanctions-pr...
2•zippiest•19m ago•0 comments

Use Temporal Foundation Model to predict drawing

https://github.com/chuanqisun/timesdraw
1•low_tech_punk•19m ago•0 comments

MuscleMemory: Skills learned by Codex, reused by Claude Code

https://github.com/TheWariend/MuscleMemory
3•devthewariend•19m ago•0 comments

Whoops: Meta's Muse Share Links Disclosed All Sorts of Super-Sensitive User Data

https://www.techdirt.com/2026/10/26/whoops-metas-muse-share-links-disclosed-all-sorts-of-super-se...
1•cdrnsf•20m ago•0 comments

How I Work with Agents

https://x.com/thorstenball/article/2114386050638336082
2•iBelieve•20m ago•0 comments

More and more iOS apps are stuck In Review since weeks

https://developer.apple.com/forums/verify-human/verify.html?next=/forums/topics/app-store-distrib...
1•SunboX•21m ago•0 comments