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

Penn Wharton Budget Model

https://budgetmodel.wharton.upenn.edu/model/
1•fzliu•2m ago•0 comments

ALE

https://github.com/arcfide/ALE
1•tosh•4m ago•0 comments

Show HN: Gitdot – a better GitHub. Open-source, anti-AI, and written in Rust

https://gitdot.io/
1•pybae•6m ago•0 comments

The Process Was the Point

https://darshanmakwana412.github.io/2026/06/the-process-was-the-point/
1•martianvoid•10m ago•0 comments

Reflecting on a Year of Claude Code

https://www.youtube.com/watch?v=Hth_tLaC2j8
1•doppp•11m ago•0 comments

Using AI Centaur Systems to Strengthen Professional Judgment

https://download.ssrn.com/2026/5/22/6814343.pdf?response-content-disposition=inline&X-Amz-Securit...
1•droidjj•12m ago•0 comments

A Simple System for TODOs

https://graybearding.bearblog.dev/a-simple-system-for-todos/
1•rglover•13m ago•0 comments

You Don't Need a GitHub Copilot Subscription to Use VS Code AI Features

https://medium.com/@jeffreyflynt02/you-dont-need-a-github-copilot-subscription-to-use-vs-code-ai-...
2•jflynt76•13m ago•0 comments

Hackers likely hijacked over 20k Instagram accounts with Meta's AI chatbot

https://www.theverge.com/tech/945658/meta-ai-support-chatbot-exploit-instagram-accounts
3•LordAtlas•16m ago•0 comments

The dangerous unknowns at the heart of LLMs

https://yalereview.org/article/melanie-mitchell-jagged-intelligence
1•jadelcastillo•17m ago•0 comments

Beyond Ralph Loops: Orchestrate-Map-Reduce and Higher Order Skills

https://twitter.com/djgrant_/status/2063960111173808335
1•djgrant•17m ago•0 comments

Battery-free textile turns clothing into a real-time blood pressure monitor

https://techxplore.com/news/2026-04-battery-free-textile-real-blood.html
1•PaulHoule•18m ago•0 comments

Kimi Work: The AI Desktop for Knowledge Work

https://www.kimi.com/products/kimi-work
1•pretext•20m ago•0 comments

Function Arrays

https://nsl.com/papers/fa.htm
1•tosh•20m ago•0 comments

Ear Training Practice Exercises

https://tonedear.com/
2•mattbit•20m ago•1 comments

GTA V – Graphics Study (2015) [pdf]

https://cgvr.cs.uni-bremen.de/teaching/vr_literatur/GTA%20V%20-%20Graphics%20Study%20-%20Adrian%2...
1•carlos-menezes•23m ago•0 comments

Respiratory Rate and Simulated Apnea Utilizing the PneumoWave Biosensor

https://www.mdpi.com/2079-6374/16/5/256
1•PaulHoule•24m ago•0 comments

Sanders' AI sovereign wealth fund plan is good. But we think this is better

https://www.theguardian.com/commentisfree/2026/jun/08/bernie-sanders-ai-sovereign-wealth-fund-plan
1•hackernj•24m ago•0 comments

Can AI answer open questions in physics?

https://m-malinowski.github.io/2026/06/05/ai-open-physics-problems.html
1•stared•25m ago•0 comments

Keir Starmer set to impose internet restrictions on Britons in days

https://www.gbnews.com/politics/social-media-ban-keir-starmer-internet-restrictions-british-children
4•itbeho•27m ago•0 comments

Types for more than memory safety in OxCaml – Stephen Dolan – VeTSS 2026 [video]

https://www.youtube.com/watch?v=W5li5LBY-1o
1•matt_d•28m ago•0 comments

Show HN: I ported Xonotic to WASM

https://dpgame.xonotic.workers.dev/
2•astlouis44•28m ago•0 comments

County to pay $192,783 to 3 employees who lost their jobs over Covid vaccine

https://padailypost.com/2026/06/04/county-agrees-to-pay-employees-in-vaccine-dispute-but-who-will...
4•MilnerRoute•28m ago•1 comments

Show HN: Startup sci-fi novel that took me 5 years to write

https://www.blockchainednovel.com/
4•mck-•29m ago•0 comments

Do Agents.md Files Help Coding Agents?

https://arxiv.org/abs/2602.119883649136323252397
1•pretext•29m ago•0 comments

Show HN: Open-Source, Local First, GitHub Stars Management and Search

https://orbit-oneq.vercel.app/
1•alonronin•30m ago•0 comments

Uber Freight sees earlier peak season, strong Mexico demand

https://www.freightwaves.com/news/borderlands-mexico-uber-freight-sees-earlier-peak-season-strong...
1•crescit_eundo•30m ago•0 comments

What its like to be an AI Artist [video]

https://www.youtube.com/watch?v=mcYl70vq_Ns
1•dana321•30m ago•1 comments

Eight indicted in alleged carrier impersonation scheme; $4.49M in cargo losses

https://www.freightwaves.com/news/eight-indicted-in-alleged-carrier-impersonation-scheme-prosecut...
1•crescit_eundo•30m ago•0 comments

LenPEG

https://www.dangermouse.net/esoteric/lenpeg.html
1•tosh•31m ago•0 comments