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

Comments

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

The Downside to Using AI for All Those Boring Tasks at Work

https://www.wsj.com/lifestyle/careers/the-downside-to-using-ai-for-all-those-boring-tasks-at-work...
1•gmays•33s ago•0 comments

FDA paves way for more consumer wearables to hit the market

https://www.fiercehealthcare.com/digital-health/fda-paves-way-more-consumer-wearables-hit-market
1•brandonb•38s ago•0 comments

Oracle Trying to Lure Workers to Nashville for New 'Global' HQ

https://www.bloomberg.com/news/articles/2026-01-15/oracle-nashville-hq-trying-to-recruit-cloud-wo...
1•petethomas•1m ago•0 comments

Briar keeps Iran connected via Bluetooth and Wi-Fi when the internet goes dark

https://briarproject.org/manual/fa/
1•us321•2m ago•0 comments

"Hello, Computer." Vocal computing seems primed to take off, for real this time

https://spyglass.org/vocal-computing-ai/
1•ChrisArchitect•2m ago•0 comments

Astrophotography visibility plotting and planning tool

https://airmass.org/
1•NKosmatos•6m ago•0 comments

A.I. Is Keeping Aging Coal Plants Online

https://e360.yale.edu/digest/ai-coal-nuclear
1•speckx•7m ago•0 comments

Shipping a Universe: A Post-Mortem

https://medium.com/@boris.churzin/shipping-a-universe-a-post-mortem-1b75b55b205b
1•devenvdev•8m ago•1 comments

I Did a Daring Fireball Ad

https://www.finalist.works/i-did-a-daring-fireball-ad/
1•slaven•11m ago•0 comments

Show HN: Superfocus – Pomodoro timer built for students

https://www.superfocus.live/
1•Jcjimenez•11m ago•1 comments

Show HN: Stdskill – The skill for wicked coding agents

https://github.com/ZeroAurora/stdskill
1•ZeroAurora•12m ago•0 comments

Health NZ confirms another major tech outage

https://www.rnz.co.nz/news/national/584179/health-nz-confirms-another-major-tech-outage
3•billybuckwheat•12m ago•0 comments

Gail.com

https://gail.com/
2•RyanShook•12m ago•0 comments

Lexica: A word-of-the-day SMS service

https://lexica.io
1•sestarkman•13m ago•0 comments

OpenAI invests in Sam Altman's brain computer interface startup Merge Labs

https://techcrunch.com/2026/01/15/openai-invests-in-sam-altmans-brain-computer-interface-startup-...
2•tobarpal•13m ago•0 comments

Digg launches its new Reddit rival to the public

https://techcrunch.com/2026/01/14/digg-launches-its-new-reddit-rival-to-the-public/
1•madihaa•15m ago•1 comments

Visualize OpenUSD in Rerun

https://github.com/art-e-fact/usd-rerun-logger
1•Tycho87•15m ago•0 comments

The seam through the center of things – on addiction, God, and grace

https://usefulfictions.substack.com/p/the-seam-through-the-center-of-things
1•sebg•16m ago•0 comments

Are There Accumulating Microplastics in Human Tissue or Not?

https://www.science.org/content/blog-post/are-there-accumulating-microplastics-human-tissue-or-not
2•Tomte•17m ago•0 comments

Show HN: 1Code – open-source Cursor-like UI for Claude Code

https://github.com/21st-dev/1code
4•Bunas•19m ago•1 comments

Apple lost the AI race – now the real challenge starts

https://www.theverge.com/tech/861957/google-apple-ai-deal-iphone-gemini
1•speckx•21m ago•0 comments

Scientists Put Teeth into Water-Driven Gears

https://www.nyu.edu/about/news-publications/news/2026/january/scientists-put-teeth-into-water-dri...
1•wjSgoWPm5bWAhXB•24m ago•0 comments

Show HN: BlogHunter – Generate and host SEO blog posts with AI

https://bloghunter.se/
1•the_plug•24m ago•0 comments

In Memoriam: Remembering Mike Flynn

https://www.computer.org/publications/tech-news/insider-membership-news/in-memoriam-mike-flynn
3•jecel•24m ago•2 comments

Are people avoiding iOS 26 because of Liquid Glass? It's complicated

https://arstechnica.com/gadgets/2026/01/are-people-avoiding-ios-26-because-of-liquid-glass-its-co...
2•speckx•25m ago•0 comments

Southern California has an unlikely AI mecca: the industrial Vernon

https://www.latimes.com/business/story/2025-12-30/southern-california-has-unlikely-ai-mecca-very-...
1•PaulHoule•26m ago•0 comments

Fibonacci in the NYT Pips

https://benkettle.xyz/posts/fibonacci-pips/
2•bkettle•27m ago•0 comments

Reflections on TA-ing Harvard's first AI safety course

https://www.lesswrong.com/posts/gcFB2RT5vpKHbH4ic/reflections-on-ta-ing-harvard-s-first-ai-safety...
1•sebg•28m ago•0 comments

The production and autonomy gap shaping modern drone warfare

https://tots.nerdrums.com/p/affordable-mass
1•Justin_N•28m ago•1 comments

Why Can't I Focus Anymore? The Science of Attention Decline

https://www.focusfit.app/blog/why-cant-i-focus-anymore
2•shenli3514•31m ago•0 comments