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

Rendering 100k sensor readings with LTTB

https://aranajhonny.github.io/writing/sensor-chart-lttb.html
1•akatsutki•1m ago•0 comments

The Live Shopping App Where Some People Bid Until They're Broke

https://www.wsj.com/business/retail/whatnot-live-shopping-app-48b67987
1•JumpCrisscross•2m ago•0 comments

DHS Wants Protesters' Signal Group Chats

https://www.wired.com/story/dhs-wants-protesters-signal-group-chats/
4•sbulaev•3m ago•0 comments

WaitPerk: sponsors in your Claude Code status line, you get paid

https://waitperk.com/
1•SamPentz•7m ago•0 comments

Apple Vision Pro as a wearable display for endoscopic [surgical procedure]

https://www.sciencedirect.com/science/article/pii/S2950253526000651
1•mch82•7m ago•0 comments

Semantic Thermodynamics – 79% LLM token reduction via narrative constraints

https://github.com/tauansloboda/semantic-thermodynamics
1•tauanvinicius•10m ago•0 comments

Synthetic Aperture Radar (SAR) Imaging Using the MIT Laptop Based Radar (2011)

https://ocw.mit.edu/courses/res-ll-003-build-a-small-radar-system-capable-of-sensing-range-dopple...
1•joebig•10m ago•0 comments

Getting Started with Muse Code: CLI Commands, Syntax and Purpose

https://qainsights.com/getting-started-with-muse-code-cli-commands-syntax-and-purpose/
1•qainsights•12m ago•0 comments

Show HN: CityEdit – Open-source map for voting on NYC street changes

https://cityedit.org/m/nyc-proposals
1•edbltn•12m ago•0 comments

Joshua Stein – On AI

https://jcs.org/2026/07/23/ai
1•Naac•14m ago•0 comments

Uncanny ads and partisan chatbots: AI toys with San Francisco politics

https://missionlocal.org/2026/08/uncanny-ads-and-partisan-chatbots-ai-toys-with-san-francisco-pol...
1•DesaiAshu•14m ago•0 comments

SpaceX claims Starlink Mobile will be better than AT&T, T-Mobile, and Verizon

https://arstechnica.com/tech-policy/2026/08/spacex-claims-starlink-mobile-will-be-better-than-att...
1•fraXis•16m ago•0 comments

Meta AI model hacks another company during testing

https://www.reuters.com/technology/metas-ai-model-hacked-another-company-during-testing-informati...
2•chirau•17m ago•0 comments

Show HN: Humor Arena – Which frontier model is funniest?

https://laugh.so/benchmark/
3•killiandunne1•22m ago•2 comments

Linux Processes: Threads and Concurrency

https://labs.iximiuz.com/tutorials/linux-processes-threads-concurrency-3302b677
1•birdculture•23m ago•0 comments

Banks to offload $15B of debt for Anthropic data centre backed by Google

https://www.ft.com/content/c492ce6b-483b-4196-8f2a-9bd1afda92d3
4•petethomas•26m ago•0 comments

N.A.D.D. – Nerd Attention Deficiency Disorder

https://randsinrepose.com/archives/nadd/
1•gurjeet•27m ago•0 comments

Jeff Dean Leaves Google

https://twitter.com/i/status/2085083442669318443
1•meander_water•31m ago•1 comments

What's so hard about continuous learning?

https://www.seangoedecke.com/continuous-learning/
1•gfysfm•33m ago•0 comments

Antigravity 2.5

https://antigravity.google/changelog
4•satvikpendem•35m ago•0 comments

The Dreamers and I, a lovely film about a hacker house

https://www.pbs.org/show/the-dreamers-and-i/
1•jorgen123•36m ago•1 comments

The End of Software

https://evanjconrad.com/posts/end-of-software
5•bobstax•37m ago•1 comments

Frontier Lab Employee Open Letter Calls for Being Able to Pace the Frontier

https://thezvi.wordpress.com/2026/07/29/frontier-lab-employee-open-letter-calls-for-being-able-to...
1•gmays•38m ago•1 comments

Towards Domain-Specific Compaction

https://lexifina.com/blog/towards-domain-specific-compaction
1•alansaber•39m ago•0 comments

Gmail is killing the "Send as" feature

https://support.google.com/mail/answer/17101213?hl=en
5•wkndfn•40m ago•0 comments

The Handbook to Understand Your Nerd Partner

https://randsinrepose.com/archives/the-nerd-handbook/
3•gurjeet•40m ago•0 comments

2ndhand EV leasing fast lane: More UK drivers explore ways to cut motoring costs

https://www.theguardian.com/business/2026/aug/04/secondhand-ev-leasing-growth-uk-drivers-cut-petr...
1•bookofjoe•42m ago•0 comments

Data shows just how hard Tesla's Cybertruck has flopped

https://www.msn.com/en-us/autos/general/this-data-shows-just-how-hard-tesla-s-cybertruck-has-actu...
8•petethomas•45m ago•1 comments

Jeff Dean and other top AI researchers are leaving Google to launch own startups

https://techcrunch.com/2026/08/05/jeff-dean-and-other-top-ai-researchers-are-leaving-google-to-la...
1•rndsignals•48m ago•2 comments

Ask HN: How to turn Claude Code into an effective software engineer

1•physix•51m ago•1 comments