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

ICE agent fatally shoots woman in Minneapolis amid immigration crackdown

https://www.npr.org/2026/01/07/nx-s1-5670289/ice-minneapolis-shooting-immigration-crackdown
1•mickle00•1m ago•0 comments

Show HN: Tool for Testing MCP Servers

https://www.mcp-workbench.ai/
1•opiniateddev•2m ago•0 comments

Pittsburgh Post-Gazette to Shut Down

https://www.post-gazette.com/local/city/2026/01/07/pittsburgh-post-gazette-final-edition/stories/...
2•keiferski•5m ago•0 comments

JPMorgan Chase Reaches a Deal to Take over the Apple Credit Card

https://www.wsj.com/finance/banking/jpmorgan-chase-reaches-a-deal-to-take-over-the-apple-credit-c...
3•stalfosknight•6m ago•0 comments

Coffeezilla: The most overrated scam investigator

https://greyenlightenment.com/2026/01/06/coffeezilla-the-most-overrated-scam-investigator/
2•paulpauper•6m ago•1 comments

Runkit.com has been down for months

https://runkit.com/
1•NeverBehave•10m ago•1 comments

Rare Iron Age war trumpet and boar standard found

https://www.bbc.com/news/articles/cr7jvj8d39eo
1•breve•11m ago•0 comments

LLM from scratch, part 29 – using DDP to train a base model in the cloud

https://www.gilesthomas.com/2026/01/llm-from-scratch-29-ddp-training-a-base-model-in-the-cloud
1•gpjt•14m ago•0 comments

Show HN: bikemap.nyc – visualization of the entire history of Citi Bike

https://github.com/freeman-jiang/bikemap.nyc
6•freemanjiang•14m ago•1 comments

We're Thinking About Addiction Wrong

https://jacobin.com/2026/01/social-causes-drug-addiction
1•wahnfrieden•14m ago•1 comments

Amazon wants to know what every corporate employee accomplished last year

https://www.businessinsider.com/amazon-corporate-employees-performance-reviews-accomplish-last-ye...
2•petethomas•15m ago•2 comments

AI Keeps Building the Same Purple Gradient Website

https://prg.sh/ramblings/Why-Your-AI-Keeps-Building-the-Same-Purple-Gradient-Website
2•satvikpendem•17m ago•0 comments

Pittsburgh Post-Gazette Announces It Will Cease Operations

https://www.nytimes.com/2026/01/07/business/media/pittsburgh-post-gazette-closing.html
1•bookofjoe•17m ago•1 comments

The Silence of the LLaMbs: Getting LLMs to Shut Up

https://ossa-ma.github.io/blog/silence-of-the-llambs
4•ossa-ma•18m ago•1 comments

Columbia Univ. Center on Global Energy Policy: Q&A on US Actions in Venezuela

https://www.energypolicy.columbia.edu/qa-on-us-actions-in-venezuela/
2•TMWNN•19m ago•0 comments

Key open source challenges in developing countries (2023)

https://opensource.com/article/23/4/challenges-open-source-developing-countries
4•devonnull•19m ago•0 comments

EMF Exposure from a Substation Could Be Cause of 49ers' Tendon Rupture Epidemic

https://peteranthonycowan.substack.com/p/could-chronic-emf-exposure-from-a
1•CGMthrowaway•20m ago•1 comments

Show HN: MakeMe – A Makefile tool rewritten from Fish to Go

3•OakNinja•21m ago•0 comments

Show HN: Game Boy Release Timelines

https://gameboyessentials.com/timelines
1•philistine•21m ago•0 comments

Automated testing without the setup: Mechasm.ai Beta

https://mechasm.ai
1•sleepless02•23m ago•1 comments

Ask HN: Job seekers, what's working / not working?

1•Jabbs•23m ago•0 comments

OpenAI adds ChatGPT Health for medical questions

https://www.axios.com/2026/01/07/chatgpt-health-tab-apple-fitness-apps
2•FergusArgyll•24m ago•1 comments

The Dream of the Universal Library

https://asteriskmag.com/issues/12-books/the-dream-of-the-universal-library
1•ilamont•28m ago•0 comments

Show HN: Grammar of Graphics CLI tool made in Rust

https://github.com/williamcotton/gramgraph
1•williamcotton•29m ago•0 comments

Infinite Canvas: Building a Seamless, Pan-Anywhere Image Space – Codrops

https://tympanus.net/codrops/2026/01/07/infinite-canvas-building-a-seamless-pan-anywhere-image-sp...
1•rcarmo•29m ago•0 comments

OpenAI to Buy Pinterest? A Strategic Analysis

https://nekuda.substack.com/p/openai-to-buy-pinterest-heres-what
1•ilamont•31m ago•1 comments

What are we to make of "AI replacement"?

https://joshuagans.substack.com/p/what-are-we-to-make-of-ai-replacement
1•paulpauper•31m ago•0 comments

Lua is a pretty good config language

https://til.andrew-quinn.me/posts/lua-is-a-pretty-good-config-language/
1•hiAndrewQuinn•32m ago•0 comments

ActorAgents

https://tailrecursion.com/~alan/ActorAgents.html
1•wooby•33m ago•0 comments

Claude Code CLI Broken

https://github.com/anthropics/claude-code/issues/16673
29•sneilan1•33m ago•14 comments