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: Apowerb, the open-source AI agent runtime (RAG, Text-to-SQL, webhooks)

https://github.com/apowerb/apowerb
1•Anis_FA•2m ago•0 comments

The last day of the dinosaurs, as an interactive painting

https://www.echohive.ai/experiments/dinosaurs
1•echohive42•16m ago•0 comments

Special Projects (2016)

https://openai.com/index/special-projects/
1•vinhnx•19m ago•0 comments

Colibri: CERN VHDL Common Library Released for Everyone to Use

https://ep-news.web.cern.ch/colibri-cern-vhdl-common-library-released-for-everyone-to-use/
1•nhatcher•19m ago•1 comments

Running local LLMs on your Mac: what fits, what's free, and what's overkill

https://typetab.app/blog/local-llms-on-your-mac
2•donk8r•20m ago•0 comments

Ex-Microsoft dev builds a new task manager for Linux

https://www.omgubuntu.co.uk/2026/09/tmog-task-manager-linux-beta
2•theanonymousone•25m ago•0 comments

A master class in decorators, patching and tracing

https://grahamdumpleton.me/posts/2026/09/a-master-class-in-decorators-patching-and-tracing/
1•lumpa•28m ago•0 comments

Who Is Open Source About?

https://blog.glyph.im/2026/09/who-is-open-source-about.html
1•lumpa•28m ago•0 comments

The Orient Cables IPO Explained

https://finshots.in/markets/orient-cables-ipo-explained/
1•vismit2000•31m ago•0 comments

HackMIT 2026

https://hackmit.org
2•vismit2000•34m ago•0 comments

The Collie and the Pug – HackMIT 2026 Keynote

https://3blue1brown.substack.com/p/the-collie-and-the-pug
2•vismit2000•35m ago•0 comments

Philosophy Bench

https://philosophybench.org/
3•mellosouls•40m ago•0 comments

Claude's remake of "I'm upping my p(doom)" in 12 hours

https://x.com/donaldjewkes/2102801274173587569
2•newsuser•43m ago•1 comments

BigQuery FinOps Framework

https://www.alvin.ai/blog/bigquery-cost-optimization-the-complete-finops-framework
6•Arimbr•43m ago•0 comments

Unexplained objects in 1950s sky correlate with nuclear tests and UAP reports

https://www.nature.com/articles/s41598-025-21620-3
3•devonsolomon•44m ago•1 comments

SpaceX Pivots Away from Space

https://www.ft.com/content/0fd15797-ac89-4222-a4bb-03a6a1330f48
5•luke5441•45m ago•0 comments

AI for Creativity

https://twitter.com/jeffreykWNDR/status/2102774995315245469
3•tosh•55m ago•0 comments

Astra compressed 600Mb of audio into 20Kb

https://twitter.com/MatternJustus/status/2100706428684304892
4•newsuser•59m ago•2 comments

A Mass. lesbian bar required KN-95 masks. Rules changed and all hell broke loose

https://www.bostonglobe.com/2026/09/22/magazine/greenfield-last-ditch-bar-backlash/
3•TMWNN•59m ago•2 comments

OpenAI $500 ProMax plan listed in API

8•GustavHartz•1h ago•3 comments

Musk – Official Trailer – Bleecker Street [video]

https://www.youtube.com/watch?v=eY_8SyndC10
3•vintagedave•1h ago•0 comments

Steppy Fox Browser Game

https://steppyfox.com/
3•fadilbeg•1h ago•0 comments

Legal AI Harvey's margins went from +50% to -50% in 6 months on frontier costs

https://finance.yahoo.com/technology/ai/articles/openai-anthropic-costs-push-more-160523322.html
3•joennlae•1h ago•2 comments

Show HN: IGViewer – Browse public Instagram profiles and stories anonymously

https://www.igrecent.com
2•sx2026•1h ago•0 comments

Real-Time AI Simplification (A2, B1, B2) of BBC World News Live

https://voicefrom.ai/restate/
2•BrandiATMuhkuh•1h ago•0 comments

My First Language Front End with MLIR

https://whereisalan.dev/blog/kaleidoscope-mlir-tutorial/
3•alankarmisra•1h ago•0 comments

Dutch governments builds alternative for Microsoft based on NixOS

https://www.dawo.community/en/
15•fjfaase•1h ago•0 comments

You Cry [video]

https://www.youtube.com/watch?v=rLvUztp7Iog
1•mrroryflint•1h ago•0 comments

Your Language Model Is Already a Decision Model

https://github.com/ntlm1686/Your-language-model-is-already-a-decision-model/tree/master
4•ntlm1686•1h ago•0 comments

Dating a takeoff photo to the second using runway markings as a ruler

https://blog.spuria.app/writeups/angle-of-ascent-billund-klm-takeoff/
1•lost_•1h ago•1 comments