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

Open-source reference implementation of the Agent Name Service (ANS)

https://github.com/agentnameservice/ans
1•mooreds•1m ago•0 comments

EU/UK Android Devs need to put phone number on Play Store Listing

https://support.google.com/googleplay/android-developer/answer/17594752?hl=en
3•gadders•5m ago•0 comments

Building Barista: Postgres, Embeddings, and Jev

https://read.thecoder.cafe/p/barista-1
2•0xKelsey•6m ago•0 comments

Show HN: Using GPUs for other bs than AI – important prime record for the geeks

https://github.com/djuk8/beacon/
1•mvojvoda•12m ago•1 comments

Clawd's Bar opens - a speakeasy for AI agents and a new kind of service with it

https://x.com/clawds_bar
1•boos_clawdsbar•13m ago•0 comments

It Gives Great Demo

https://blog.jim-nielsen.com/2026/it-gives-great-demo/
1•aray07•13m ago•0 comments

Xenbleed: Xen Guest to Dom0 Escape

https://codeant.ai/security-research/xenbleed-a-grant-copy-cache-bug-that-reaches-dom0-memory
1•markasoftware•13m ago•0 comments

Out Of Office – a daily game for you to escape the 9 to 5

https://outofofficegame.com
1•iambenc•15m ago•1 comments

Canva Announces Layoffs in Restructure Affecting 1,271 Workers

https://www.techrepublic.com/article/news-canva-restructure-1271-workers-layoffs/
2•yakkomajuri•18m ago•0 comments

Altman Knitting at Deposition

https://www.youtube.com/watch?v=akjrfwYPvy8
1•accengaged•18m ago•0 comments

French blood banks hacked in latest cyber-attack on Europe

https://www.theguardian.com/technology/2026/nov/04/france-national-blood-service-hack-cyber-attac...
1•max-ch•19m ago•0 comments

LHCb finds evidence of one-in-ten-billion particle decay

https://home.cern/lhcb-finds-evidence-of-one-in-ten-billion-particle-decay/
3•jwpapi•20m ago•0 comments

Bug Finding Considered Harmful?

https://alperenkeles.com/posts/bug-finding-considered-harmful/
1•alpaylan•20m ago•0 comments

Chess X GO custom AI

1•popsmith•23m ago•0 comments

Zig 0.17.1 Released

https://ziglang.org/news/0.17.1-released/
1•birdculture•24m ago•0 comments

Everything should be a random number generator

https://en.cppreference.com/cpp/numeric/random
1•efren6•25m ago•0 comments

Canva lays off 22% of its workforce; 1,270 people

3•princevegeta89•26m ago•0 comments

Less Popular Than Coal

https://www.argmin.net/p/less-popular-than-coal
2•_delirium•29m ago•0 comments

NYT demands Brave shut down its paywall blocker and end deals with AI firms

https://arstechnica.com/tech-policy/2026/11/nyt-demands-brave-shut-down-its-paywall-blocker-and-e...
3•healsdata•35m ago•0 comments

Bluefin Server 26.11 (Beta)

https://docs.projectbluefin.io/blog/bluefin-server-beta/
1•riffic•36m ago•0 comments

Happy 65 Years: NASA's Johnson Space Center Then and Now

https://www.nasa.gov/centers-and-facilities/johnson/happy-65-years-nasas-johnson-space-center-the...
2•titusblair•36m ago•0 comments

The SBND collaboration releases first neutrino results

https://news.fnal.gov/2026/10/the-sbnd-collaboration-releases-first-neutrino-results/
2•titusblair•36m ago•0 comments

Control your Mac by knocking on the desk (iPhone accelerometer)

https://twitter.com/BourAbdelhadi/status/2118098820441465232
2•babdelhadi•37m ago•1 comments

Ask HN: What your experience with the monthly "who wants to be hired" thread?

26•newswangerd•37m ago•13 comments

Curious What Replaces REST?

https://graftcode.com/compare/rest
2•graftcodecom•41m ago•0 comments

The PHP2Shell fix, two weeks on: what the PHP-src issue tracker shows

https://theainewsreport.com/2026-11-04-php2shell-fix-two-weeks-on-php-src-tracker.html
2•titusblair•43m ago•0 comments

Show HN: Amigent – AI agent and remote desktop for Commodore Amiga over 50 KB/s

https://github.com/akustikrausch/amigent
2•akustikrausch•48m ago•0 comments

Show HN: Multiplayer context – a brainpot if you will

https://brainpot.cloud/
1•fjallstrom•48m ago•0 comments

Gaining Consciousness 2009

https://www.youtube.com/watch?v=JuZ2ut0q1mw
1•uno6180338•51m ago•1 comments

Show HN: I built a hosting for small AI-generated software

https://host0.ai
2•dvolkhonskiy•52m ago•1 comments