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

Infinite Interdimensional Cable

https://twitter.com/rehan_shei/status/2093528415576211819
1•nico•1m ago•0 comments

Hy4 Preview

https://hy.tencent.ai/research/hy4-preview
1•vismit2000•1m ago•0 comments

Ditch the 40-Ounce Water Bottle: You're Probably Hydrated Enough

https://www.wsj.com/health/wellness/ditch-the-40-ounce-water-bottle-youre-probably-hydrated-enoug...
1•Anon84•1m ago•1 comments

Show HN: Free English shadowing app for your own videos

https://github.com/TideSparrow/shadowing-english
1•markyuan123•5m ago•0 comments

FreeCORE TrueNAS Core – Continued

https://freecore.org/
2•sashk•6m ago•0 comments

China is fueling America's data center rage

https://www.axios.com/2026/08/28/china-ai-data-center-backlash-bots
2•ksec•6m ago•0 comments

Hirigana and Katakana keyboard touch type practice

http://thefreeschool.info/hirigana.html
1•dosmithds2060•17m ago•0 comments

I feel like AI start being a reflect of the CEO behind it (his political)

https://baseline-rouge-mu.vercel.app/
1•SachaSOL•17m ago•1 comments

I Tried to Trick Pangram. I Lost

https://awaitinginput.substack.com/p/i-tried-to-trick-pangram-i-lost
1•bsovran•19m ago•0 comments

A glacier collapse triggered a deadly landslide and flooding

https://www.reuters.com/graphics/NEPAL-FLOODS/MAP/byvrdywwlve/
1•mdani•24m ago•1 comments

Benjamin Franklin's Alter Egos Gave Him the Most Freedom

https://www.smithsonianmag.com/history/among-all-great-things-benjamin-franklin-invented-discover...
1•cisc•29m ago•0 comments

Anthropic's Claude for Mac desktop app now has built-in browser

https://thenewstack.io/claude-built-in-browser-cowork/
1•thoughtpeddler•29m ago•0 comments

Anthropic was illegally blacklisted by the Trump administration, court rules

https://www.theverge.com/ai-artificial-intelligence/985947/anthropic-supply-chain-risk-lawsuit-ju...
1•sbulaev•31m ago•0 comments

Show HN: Turn your GitHub activity into a receipt

https://receipthub.io/github
1•sleepy_duck•39m ago•0 comments

AI is changing religion and religions are trying to change AI

https://economist.com/international/2026/08/27/ai-is-changing-religion-and-religions-are-trying-t...
1•andsoitis•40m ago•0 comments

ProveIT – a short game to help you learn how formal proofs work in Logic

https://voxelrifts.itch.io/proveit
1•vismit2000•40m ago•0 comments

.

https://economist.com/international/2026/08/27/ai-is-changing-religion-and-religions-are-trying-t...
1•andsoitis•41m ago•0 comments

Crbro – Local, file-based persistent memory for AI agents (MCP)

https://github.com/Octonove/crbro-memory
1•cerebromcp•43m ago•0 comments

Cancer vaccine shows promise in preventing recurrence of melanoma

https://www.nbcnews.com/health/health-news/merck-moderna-say-melanoma-vaccine-promise-prevent-rec...
1•gmays•43m ago•0 comments

He co-founded Burning Man. It was the least interesting thing he ever did

https://www.sfgate.com/sf-culture/article/burning-man-co-founder-least-interesting-thing-20826295...
1•andsoitis•46m ago•0 comments

Build Your Customer Service Team with AI Agents

https://aimujib.com/
2•anaspro•48m ago•0 comments

Why America's prisons are shrinking and racial gaps are closing

https://www.nature.com/articles/s41562-026-02536-y
2•marojejian•57m ago•2 comments

Open Oscar Server: open-source server compatible with AIM and ICQ clients

https://github.com/mk6i/open-oscar-server
2•gregsadetsky•1h ago•2 comments

Show HN: HN Mirror with Image Previews

https://hackernews.beliantech.com/
1•ernsheong•1h ago•1 comments

Network Performance Issues in Phoenix, Los Angeles – Cloudflare Status

https://www.cloudflarestatus.com/incidents/f8ms50xkfn4t
1•kyisaiah47•1h ago•0 comments

OSSBeacon – explainable PR risk for open-source maintainers

https://github.com/closedfiles23-web/ossbeacon
1•rafae01019•1h ago•0 comments

GLM-5.3-Flash-GGUF

https://huggingface.co/unsloth/GLM-5.3-Flash-GGUF
4•walrus01•1h ago•1 comments

Bug Blindness

https://danluu.com/bug-blind/
32•davidmckenna•1h ago•8 comments

'Snooping' on Dolphins Reveals Hotspots for Food and Friends

https://www.fau.edu/newsdesk/articles/snooping-on-dolphins-acoustic-study
1•gmays•1h ago•0 comments

Personal Holding Companies, Tax Progressivity, and Inequality

https://www.nber.org/papers/w35534
1•marojejian•1h ago•1 comments