frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•8mo ago

Comments

panstromek•8mo 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•8mo 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•8mo 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_•8mo 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_•8mo 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•8mo 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•8mo 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

SDF Public Access Unix System –. Est. 1987

https://sdf.lonestar.org
1•sssilver•34s ago•0 comments

X still allowing users to post sexualised images generated by Grok AI tool

https://www.theguardian.com/technology/2026/jan/16/x-still-allowing-sexualised-images-grok-ai-nud...
1•beardyw•4m ago•1 comments

Show HN: AIfacefy Photo to Video

https://aifacefy.com/photo-to-video/
1•AIFacefy•5m ago•0 comments

The Great American Bubble Machine (2010)

https://www.rollingstone.com/politics/politics-news/the-great-american-bubble-machine-195229/
1•vismit2000•5m ago•0 comments

A Booming Live Music Industry Looks for Its Next Generation of Roadies

https://www.bloomberg.com/news/features/2026-01-02/as-touring-booms-the-live-music-industry-looks...
1•petethomas•6m ago•0 comments

Show HN: CheerAd – Web3 ad slot widgets for regions that Stripe doesn't work

https://cheerad.com/
1•niyoseris•6m ago•0 comments

Mother of one of Elon Musk's sons sues over Grok-generated explicit images

https://www.theguardian.com/technology/2026/jan/15/mother-of-one-of-elon-musks-sons-sues-over-gro...
1•beardyw•10m ago•0 comments

GCRA vs. Leaky / Token Buckets

https://dotat.at/@/2026-01-15-gcra.html
1•enz•16m ago•0 comments

What is Reticulum? – Reticulum Network Stack 1.1.3 documentation

https://reticulum.network/manual/whatis.html
1•qbonnard•18m ago•1 comments

LLDB in 2025

https://jonasdevlieghere.com/post/lldb-2025/
1•ingve•20m ago•0 comments

Show HN: AI agent that joins Google Meet/Zoom to give live product demos

https://www.pipersdr.com/
1•ajabhish•30m ago•0 comments

JavaScript virtual machine with QuickJS running in WASM under Go/JS

https://github.com/aperturerobotics/go-quickjs-wasi-reactor
1•aperturecjs•34m ago•1 comments

Pratfall Effect

https://en.wikipedia.org/wiki/Pratfall_effect
2•rzk•35m ago•0 comments

Uncensored AI for image and video generation

https://www.gocrazyai.com/
1•shotvu•36m ago•0 comments

A guide on how to use beets, a media library manager

https://gist.github.com/DevER-M/a52b363b21093d8d285fb86c4aa098b5
1•DevER-M•41m ago•1 comments

Irrational betting craze signals we're on the cusp of a crash

https://www.thetimes.com/business/companies-markets/article/stocks-ai-crash-imminent-prediction-m...
3•petethomas•42m ago•3 comments

Show HN: BrewBar – a native macOS menubar app to manage Homebrew services

https://github.com/OmkarKirpan/BrewBar
1•omkarkirpan•44m ago•1 comments

MCP for GoDaddy

https://github.com/alpnix/GoDaddy-MCP
1•alpnix•46m ago•0 comments

How to wrangle non-deterministic AI outputs into conventional software? (2025)

https://www.domainlanguage.com/articles/ai-components-deterministic-system/
3•druther•50m ago•1 comments

Building a better Bugbot

https://cursor.com/blog/building-bugbot
9•onurkanbkrc•53m ago•0 comments

Playing daily games at work? Timdle just launched work mode

https://www.timdle.com/work
3•maskinberg•54m ago•0 comments

Ralph wiggum Agentic Coding Frameworks in 2026

https://ralphwiggum.org/blog/agentic-coding-frameworks-guide
1•zlonmask•54m ago•0 comments

Six more AI outfits sign for Wikimedia's fastest APIs

https://www.theregister.com/2026/01/16/wikimedia_25_ai_partner_access/
1•beardyw•54m ago•1 comments

Pi Coding Agent

https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent
1•ttobi•56m ago•0 comments

Ask HN: Share Your Personal Website

1•SRMohitkr•56m ago•0 comments

Our First Press Release: Mentra Releases First Smart Glasses with an App Store

https://mentraglass.com/blogs/blog/our-first-press-release-mentra-releases-first-smart-glasses-wi...
1•_____k•57m ago•0 comments

Chinese AI Developers Say They Can't Beat America Without Better Chips

https://www.wsj.com/tech/ai/china-ai-race-us-chips-9e74b957
2•Brajeshwar•58m ago•0 comments

Local-Only Marstek Venus E Battery Integration with Home Assistant

https://du.nkel.dev/blog/2026-01-11_marstek-battery-homeassistant/
1•Helmut10001•58m ago•0 comments

Decoding Academic Papers with AI: A Practical Guide

https://joshtuddenham.dev/blog/hashmaps/
1•reinhardt•1h ago•1 comments

Meta Horizon Workrooms is being discontinued

https://www.meta.com/en-gb/help/quest/2464765133873078/
1•_____k•1h ago•0 comments