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

An Anthropic AI model sent a false homicide tip to Philadelphia police

https://techcrunch.com/2026/10/09/an-anthropic-ai-model-sent-a-false-homicide-tip-to-philadelphia...
1•luispa•1m ago•0 comments

A Universal Wi-Fi CSI Encoder for Ubiquitous Human Sensing

https://arxiv.org/abs/2610.09559
1•d3ron•1m ago•0 comments

Examining China's AI Financing [pdf]

https://www.visualcapitalist.com/wp-content/uploads/2026/09/Examining-Chinas-AI-Financing.pdf
1•gmays•1m ago•0 comments

Original thoughts have terrible UX

https://sunilpai.dev/posts/original-ideas/
1•luispa•3m ago•0 comments

Open Source TikTok Live Streaming Tool

https://github.com/talkaboutdesign/tiklive
2•insomnie•5m ago•0 comments

Jujutsu Has No "Create a Branch" Step, and That Made Git Branches Click

https://juju-chu.com/blog/rethinking-branch-with-jj
2•oukayuka•8m ago•0 comments

Local-First Decentralized Storage

1•ZachQ•8m ago•2 comments

Super Smash Brothers Port to Original Xbox from N64 Decomp

https://github.com/Team-Resurgent/SSB-X
1•lucasrufkahr•9m ago•0 comments

LLMs Broke Developer Education

https://www.augmentedswe.com/p/ai-is-changing-developer-education
1•wordsaboutcode•10m ago•0 comments

ChatGPT Plugin in Review for Weeks

2•dthedavid•13m ago•0 comments

Epic Games reportedly pivoting to "AI first" game development model

https://arstechnica.com/gaming/2026/10/report-epic-games-goes-all-in-on-ai-for-disney-collaboration/
1•doppp•13m ago•0 comments

A Real DuckDB Database in S3, with Nothing Else to Run

https://dentiny.github.io/posts/duckdb-on-object-storage/
3•shenli3514•17m ago•0 comments

Minecraft in Witcher 3

https://github.com/Henvag/WitchCraft
1•henvag•17m ago•0 comments

He Dropped Out to Become a Poet. Now He's Won a Fields Medal. (2022)

https://www.quantamagazine.org/june-huh-high-school-dropout-wins-the-fields-medal-20220705/
2•maxall4•19m ago•0 comments

Stopping sand from destroying a hydropower turbine [video]

https://www.youtube.com/watch?v=kCYrSBexF_4
1•CaliforniaKarl•23m ago•0 comments

One Original Thought

https://anish.ink/posts/one-original-thought.html
3•anish210•24m ago•0 comments

Show HN: Monitor Postgres Health

https://github.com/turbolytics/dbhealth
1•dm03514•28m ago•0 comments

Ssrf-agent 1.0.5 reaches loopback through 2 address spellings

https://github.com/roshan-amble/ssrf-lab/blob/main/docs/findings/2026-09-13-ssrf-agent-bypass.md
4•RoshanAmble•29m ago•0 comments

Math community could learn from bio[med]'s to live with AI

https://terrytao.wordpress.com/2026/09/22/open-problems-open-mathematics/
1•oliculipolicula•32m ago•1 comments

The Venetian Arsenal

https://en.wikipedia.org/wiki/Venetian_Arsenal
3•gradus_ad•33m ago•0 comments

ETAF: Build complete text applications in Emacs with a web-style model

https://etaf.top/
2•DASD•38m ago•0 comments

The Grammar of Nature [pdf]

https://assets.zyrosite.com/m6LvaabebNtj6Eao/jmsouriau-grammairedelanature-2007-Awv4Ee7obKuBLQWK.pdf
3•oliculipolicula•38m ago•0 comments

Taijiquan- the Art of Integration

https://hal.science/hal-05683347v2/document
2•oliculipolicula•40m ago•0 comments

Refute, Don't Review

https://docs.cmd-ctrl.ai/blog/refute-dont-review
1•mrwoof•41m ago•1 comments

Boole-1.7B

https://precisionnumerics.ai/blog/boole-1p7b
1•nnx•43m ago•0 comments

AI Company Lets Cops Pinpoint Specific Houses Based on a Single Interior Photo

https://www.404media.co/ai-company-lets-cops-pinpoint-specific-houses-based-on-a-single-interior-...
4•bookofjoe•47m ago•0 comments

Setupdoctor: Brew doctor for any repo you just cloned

https://github.com/zamudiog1221-ops/setupdoctor
3•zamudiog1221•49m ago•1 comments

AI-critic – Task-aware auditing of ML models

https://github.com/LuizSeabraDeMarco/ai-critic
5•LuizSeabra•51m ago•0 comments

Rewind Alternative

https://citesilo.com
1•Mohammed1997•51m ago•1 comments

Show HN: RoboGym – open-source (Apache-2.0) Dual arm SO101 playground

https://www.robogym.dev/envs/so101-dual-arm
4•torayeff•59m ago•0 comments