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•10mo ago

Comments

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

USS Ford forced to withdraw due to laundry fire and toilet sabotage [video]

https://www.youtube.com/watch?v=gy5fsq1hvqo
1•burnt-resistor•1m ago•0 comments

Role-based AI persona packs for Claude Code and Cursor

1•ratnesh_maurya•5m ago•0 comments

Managing Dotfiles with Chezmoi

https://stoddart.github.io/development/tools/open-source/reviews/2024/09/08/managing-dotfiles-wit...
2•wyclif•6m ago•0 comments

Tell HN: Claude Returning 429 in OpenCode

1•ramon156•11m ago•0 comments

NeXTSTEP 3.3 Developer Documentation (1995)

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/
1•h4ch1•11m ago•0 comments

What happened when an Arab neuroscientist took the helm at an Israeli university

https://www.science.org/content/article/what-happened-when-arab-neuroscientist-took-helm-israeli-...
1•tzury•11m ago•0 comments

Initial thoughts about the ThinkPad E14: wow

https://rubenerd.com/initial-thoughts-about-the-thinkpad-e14-wow/
1•Tomte•13m ago•0 comments

Show HN: OpsFabric – Infrastructure as data platform for server teams

https://opsfabric.io/blog/why-we-built-opsfabric.html
1•vlebo•14m ago•0 comments

Meta AI agent's instruction causes large sensitive data leak

https://www.theguardian.com/technology/2026/mar/20/meta-ai-agents-instruction-causes-large-sensit...
1•veltas•15m ago•0 comments

China is running multiple AI races

https://www.highcapacity.org/p/china-is-running-multiple-ai-races
1•KnuthIsGod•19m ago•0 comments

CAIveat Emptor: What You Tell AI Can and Will Be Used Against You

https://natlawreview.com/article/caiveat-emptor-what-you-tell-ai-can-and-will-be-used-against-you
5•petethomas•20m ago•1 comments

Delight is the only thing that's still rare

https://techstackups.com/articles/delight-is-the-only-thing-thats-still-rare/
1•ritzaco•29m ago•0 comments

After AI smashes the information barrier

https://www.lowimpactfruit.com/p/after-ai-smashes-the-information
1•mnky9800n•31m ago•0 comments

Free market research reports covering every tech sector

https://github.com/spinov001-art/ai-market-research-reports
1•aimarketintel•32m ago•0 comments

Show HN: Keynest – a simple offline secrets manager

https://github.com/capydev42/keynest
1•capydev42•32m ago•0 comments

Show HN: SEDManager – GUI Application for Setting Up Self-Encrypting Drives

https://github.com/petiaccja/sed-manager-rs
1•pregnenolone•34m ago•0 comments

Python is faster than Assembly for real [video]

https://www.youtube.com/watch?v=rD1wapiJPDk
1•artisandip7•35m ago•0 comments

M68K Interpreter Refactored with AI

https://gianlucarea.dev/blog/m68k-march26
1•aldino97•37m ago•0 comments

A gaming CEO asked ChatGPT how to avoid paying a $250M bonus

https://fortune.com/2026/03/17/krafton-subnautica-chatgpt-delaware-court-ruling-ceo-reinstated/
1•KnuthIsGod•39m ago•0 comments

STDWIN: a standard window system interface by Guido Van Rossum

https://ir.cwi.nl/pub/5998
1•rbanffy•40m ago•1 comments

FBI started buying Americans' location data again, Kash Patel confirms

https://arstechnica.com/tech-policy/2026/03/fbi-started-buying-americans-location-data-again-kash...
1•rbanffy•42m ago•2 comments

Being John Rawls

https://www.astralcodexten.com/p/being-john-rawls
1•jstanley•44m ago•0 comments

Chromostereopsis

https://en.wikipedia.org/wiki/Chromostereopsis
1•tosh•45m ago•0 comments

How Do LLMs Compute Verbal Confidence (DeepMind)

https://arxiv.org/abs/2603.17839
3•armcat•46m ago•0 comments

Washington Legislature Passes 9.9% Millionaire Tax; Awaits Governor Signature

https://www.imidaily.com/tax/washington-state-legislature-passes-9-9-millionaire-tax-bill-awaits-...
2•NewCzech•49m ago•0 comments

Free open source AI cost tracker – pip install tokenbudget

https://github.com/AIMasterLabs/tokenbudget
1•harshakgowda•49m ago•1 comments

Navia discloses data breach impacting 2.7M people

https://www.bleepingcomputer.com/news/security/navia-discloses-data-breach-impacting-27-million-p...
1•01-_-•50m ago•0 comments

YouTube is asking users if videos "feel like AI slop"

https://www.dexerto.com/youtube/youtube-is-asking-users-if-videos-feel-like-ai-slop-to-flag-low-q...
2•01-_-•52m ago•4 comments

Struggling to describe your AI aversion? Here's a glossary

https://www.theregister.com/2026/03/19/ai_skeptic_labels/
2•rbanffy•53m ago•0 comments

CPython: 36 Years of Source Code

https://blog.python.org/2026/03/cpython-codebase-growth/
2•lululpac•53m ago•0 comments