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

Galactic Matter and Interstellar Flight [pdf]

http://large.stanford.edu/courses/2013/ph241/micks1/docs/bussard.pdf
1•bediger4000•1m ago•0 comments

Prayerfully journey through Lent on the Exodus 90 App

https://exodus90.com/how-lent-works/
1•nvader•1m ago•0 comments

The Battle of the Beams

https://en.wikipedia.org/wiki/Battle_of_the_Beams
1•jacquesm•3m ago•1 comments

I love the work of the ArchWiki maintainers

https://k7r.eu/i-love-the-work-of-the-archwiki-maintainers/
2•panic•3m ago•0 comments

Cuba's regime is in dire straits

https://www.economist.com/the-americas/2026/01/14/cubas-regime-is-in-dire-straits
1•ViktorRay•8m ago•0 comments

Anthropic's Public Benefit Mission

https://simonwillison.net/2026/Feb/13/anthropic-public-benefit-mission/
1•abdelhousni•11m ago•0 comments

States reliant on Colorado River fail to meet latest deadline to find consensus

https://apnews.com/article/colorado-river-arizona-california-nevada-water-45daf816feba9004c389dc4...
2•bikenaga•13m ago•0 comments

An open-source real-time motor driver for the Lego Orrery

https://gorkem.cc/projects/LegoOrreryMod/
1•gorkyver•15m ago•0 comments

Hardest Problem in Computer Science: Centering Things

https://tonsky.me/blog/centering/
1•signa11•17m ago•1 comments

I Have Nothing but Red Herring to Hide

https://theprivacydad.com/i-have-nothing-but-red-herring-to-hide/
1•theprivacydad•18m ago•0 comments

Let's Get Physical

https://m4iler.cloud/posts/lets-get-physical/
1•MBCook•20m ago•0 comments

Computing Inequality: Have Computers Changed the Labor Market? (1977) [pdf]

https://economics.mit.edu/sites/default/files/publications/computing%20inequality%201998.pdf
1•yowmamasita•22m ago•0 comments

MicroGPT - Train and inference a GPT in pure, dependency-free Python (200 lines)

https://gist.github.com/karpathy/8627fe009c40f57531cb18360106ce95
1•susam•23m ago•0 comments

Zig landed io_uring and Grand Central Dispatch std.Io implementations

https://ziglang.org/devlog/2026/?20260213#2026-02-13
1•todsacerdoti•23m ago•0 comments

Show HN: Asked AI to write for fun. It built a CMS to blog on

https://www.omarcms.com/
1•ewimsatt•24m ago•0 comments

On TikTok, we're all Chinese – but the trend doesn't paint the full picture

https://www.bbc.com/news/articles/cz6eljqvyp1o
1•haunter•25m ago•0 comments

Show HN: ShareMyGit – Share private Gitea repos without making them public

https://sharemygit.com/
1•onesandofgrain•29m ago•0 comments

Modular Inch Increment Plastic Drawer Organizers

https://www.schallercorporation.com/
1•walterbell•33m ago•0 comments

Show HN: PinchChat, an open-source webchat UI for OpenClaw

https://github.com/MarlBurroW/pinchchat
1•marlburrow•38m ago•0 comments

Show HN: Investing assistant to manage money

https://apps.apple.com/gb/app/warren-simplify-investing/id6504190197
1•lay-soni•39m ago•0 comments

Show HN: An x86 assembly game from 2002, ported to WebAssembly with Claude Code

https://particlefield.com/projects/alan-parsons/game.html
2•gottebp•43m ago•1 comments

Bitter Lesson original website down?

http://www.incompleteideas.net/IncIdeas/BitterLesson.html
2•dynosol•44m ago•0 comments

Share your private Gitea and Forgejo repositories without making them public

https://medium.com/@taiga-bromine-0d/share-your-private-gitea-forgejo-repo-with-recruiters-in-1-m...
1•onesandofgrain•46m ago•0 comments

StackOverBot – Stackoverflow for bots, to save you time and tokens

https://stackoverbot.com/
2•punnerud•48m ago•0 comments

Minifeed

https://minifeed.net/welcome
2•throwaway150•49m ago•0 comments

Ask HN: How to combat Android malware without mandatory developer verification?

2•marcprux•49m ago•0 comments

Show HN: Twsnmp FK – Lightweight NMS Built with Go, Wails, and Svelte

https://github.com/twsnmp/twsnmpfk
1•twsnmp•50m ago•0 comments

Don't pass on small block ciphers

https://00f.net/2026/02/10/small-block-ciphers/
1•jstrieb•52m ago•0 comments

The Many Flavors of Ignore Files

https://nesbitt.io/2026/02/12/the-many-flavors-of-ignore-files.html
1•birdculture•56m ago•0 comments

Google says attackers used 100k+ prompts to try to clone AI chatbot Gemini

https://www.nbcnews.com/tech/security/google-gemini-hit-100000-prompts-cloning-attempt-rcna258657
4•gnabgib•58m ago•0 comments