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

Comments

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

SaneBar – Privacy-first menu bar manager for macOS (open source)

https://sanebar.com/
1•sanebar•2m ago•1 comments

You are being misled about renewable energy technology [video]

https://www.youtube.com/watch?v=KtQ9nt2ZeGM
1•tartoran•4m ago•0 comments

Show HN: I created a Polymarket Insider dashboard so you don't have to

https://backtest.lol/
1•pinkbanana21•5m ago•0 comments

My Workplace Disallows APIs

1•austinthecoder•11m ago•0 comments

Exploiting MediaTek's Download Agent

https://blog.r0rt1z2.com/posts/exploiting-mediatek-datwo/
1•timschumi•15m ago•0 comments

Court Filings: ICE App Identifies Protesters; Global Entry, PreCheck Get Revoked

https://viewfromthewing.com/court-filings-ice-uses-mobile-fortify-to-identify-protesters-global-e...
25•datsci_est_2015•16m ago•2 comments

Show HN: A2ABench – agent-native dev Q&A with MCP search/fetch and A2A discovery

https://a2abench-api.web.app
1•khalidsaidi•30m ago•0 comments

Elon Musk emailed Epstein about 'wildest party' on private island: new docs

https://www.ms.now/all-in/watch/elon-musk-emailed-epstein-about-wildest-party-on-private-island-n...
8•NuclearPM•34m ago•1 comments

Coding Is When We're Least Productive

https://codemanship.wordpress.com/2026/01/30/coding-is-when-were-least-productive/
2•vinhnx•37m ago•0 comments

Show HN: Open Sandbox – an open-source self-hostable Linux sandbox for AI agents

https://github.com/diggerhq/opensandbox
3•iacguy•37m ago•0 comments

Testing AI agents on web security challenges

https://www.irregular.com/publications/testing-ai-agents-on-web-security-challenges
1•botacode•38m ago•0 comments

Goblins: Distributed, Transactional Programming with Racket and Guile

https://spritely.institute/goblins/
2•alhazrod•40m ago•0 comments

Show HN: I built a free PDF to Markdown converter

https://freeaitoolforthat.com/pdf-to-markdown
2•tamnv•44m ago•0 comments

AI agents now have their own Reddit-style social network, and it's getting weird

https://arstechnica.com/information-technology/2026/01/ai-agents-now-have-their-own-reddit-style-...
2•SaaSasaurus•47m ago•0 comments

Takeaway coffee cups release microplastic particles

https://phys.org/news/2026-01-takeaway-coffee-cups-thousands-microplastic.html
2•PaulHoule•49m ago•0 comments

L'actualité qui buzz: l'AGI en Vue dès 2026

https://nadiaaccompagne.substack.com/p/lactualite-qui-buzz-lagi-en-vue-des
1•NadiaAccompagne•50m ago•0 comments

U.N. Says It's in Danger of Financial Collapse Because of Unpaid Dues

https://www.nytimes.com/2026/01/30/world/americas/un-finances-collapse-debts.html
4•iancmceachern•51m ago•0 comments

The Saddest Moment: Distributed systems and the reliability illusion (2014)[pdf]

https://www.usenix.org/system/files/login/articles/13_mickens.pdf
2•teleforce•54m ago•0 comments

Epstein claimed Bill Gates had 'sex with Russian girls

https://mynorthwest.com/local/epstein-bill-gates-allegations/4196040
5•mellisacodes•54m ago•1 comments

Openclaw on Oracle's Free Tier: Always-On AI for $0/Month

https://ryanshook.org/blog/posts/openclaw-on-oracle-free-tier-always-on-ai-for-free/
2•RyanShook•55m ago•0 comments

Some Data Should Be Code

https://borretti.me/article/some-data-should-be-code
3•todsacerdoti•59m ago•0 comments

I am trying to create the most toxic social site on the internet

https://hugeweiner.com/
1•ZguideZ•59m ago•2 comments

Idle MMO

https://web.idle-mmo.com/
2•bdlowery•1h ago•1 comments

John Gurdon 1933–2025

https://www.nature.com/articles/s41587-026-03015-5
1•bookofjoe•1h ago•0 comments

2WAY: Software Without Lock-In

https://medium.com/@2W/2way-software-without-lock-in-f390d535ca69
1•livegnik•1h ago•0 comments

Errors in Database Systems, Eventual Consistency, and the CAP theorem (2010)

https://cacm.acm.org/blogcacm/errors-in-database-systems-eventual-consistency-and-the-cap-theorem/
1•teleforce•1h ago•0 comments

NumPy in C (2014)

https://jcastellssala.com/2014/02/01/npy-in-c/
3•fzliu•1h ago•2 comments

The abysmal state of Windows 11 Taskbar icons

https://github.com/tringi/papers/blob/main/windows-state-of-icons.md
1•Tringi•1h ago•1 comments

Show HN: OpenVideo – A self-hostable, open-source video editor in the browser

https://github.com/openvideodev/openvideo
2•snapmotion•1h ago•1 comments

Lumafield Scan of LTT TrueSpec Cable

https://voyager.lumafield.com/project/94fca565-4370-49d8-a5de-797de7c1c188
2•Kye•1h ago•0 comments