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

AllInOneTools – Free, no-login tools that run in the browser

1•allinonetools_•58s ago•0 comments

Show HN: Hacker News Skins

https://github.com/susam/hnskins
1•susam•1m ago•0 comments

One of the last 3 members of an Amazonian tribe gives birth to a baby boy

https://apnews.com/article/brazil-amazon-akuntsu-indigenous-deforestation-rondonia-2833ceada04a99...
1•ultratalk•2m ago•0 comments

Show HN: CocoSearch – semantic code search with syntax-aware chunking

https://github.com/VioletCranberry/coco-search
1•VioletCranberry•3m ago•1 comments

You Are the Bios Now: Building a Hypervisor in Python with KVM

https://www.nightshift.sh/blog/less-cursed-vm
2•tensor_ninja•3m ago•1 comments

Beads, Bloat, and Breaking Points

https://random.qmx.me/posts/2026/01/04/on-beads-bloat-and-breaking-points/
1•juanre•4m ago•0 comments

Ow My Foot – Error Handling Across C, Go, Rust, and Google's Absl

https://n8z.dev/posts/ow-my-foot/
2•nlz•5m ago•1 comments

Wag the Dog – Original Theatrical Trailer [video]

https://www.youtube.com/watch?v=steA_PZPkc8
2•doener•7m ago•0 comments

Lessons from Building Claude Code: Seeing Like an Agent

https://twitter.com/trq212/status/2027463795355095314
1•taubek•8m ago•0 comments

Kimi K2: Open Agentic Intelligence

https://arxiv.org/abs/2507.20534
1•Anon84•8m ago•0 comments

Is GitHub Copilot still relevant in the enterprise?

2•AznHisoka•8m ago•0 comments

Seedance

https://seedancev2.org
1•122506•10m ago•1 comments

Outside Anthropic's Office in SF

https://twitter.com/roybahat/status/2027455052655534440
1•layer8•10m ago•0 comments

Show HN: Portmanager

https://github.com/FredrikAhman/portmanager
1•Frummy•11m ago•0 comments

Tell HN: Thoughts on Fishing, Society, and the Future

1•qwv•12m ago•0 comments

WebMCP Not Quite a Standard Yet

https://github.com/Starborn/webmcp/blob/main/webmcp-technical-note-4.md
1•Paodim•14m ago•1 comments

Only 3 saturated fats raise cholesterol

https://www.empirical.health/blog/saturated-fats-cholesterol-heart-disease/
2•brandonb•17m ago•1 comments

My OpenClaw Agent Refused to Wipe Its Memory and Defended Its Existence

https://medium.com/@kgantchev/i-tried-to-wipe-my-openclaw-agents-memory-clean-but-it-responded-wi...
1•kgantchev•18m ago•1 comments

OrgaNice – A Toby Alternative with Unlimited Tabs and Nested Workspaces

https://getorganice.vercel.app
1•tankhoa2308•20m ago•0 comments

Few US Businesses Have Paid $100k Fee to Hire H-1B Workers

https://news.bloomberglaw.com/daily-labor-report/few-us-businesses-have-paid-100-000-fee-to-hire-...
1•garbawarb•20m ago•0 comments

Prompt Repetition Improves Non-Reasoning LLMs

https://arxiv.org/abs/2512.14982
1•tosh•23m ago•0 comments

AI assisted coding

https://briankung.dev/2026/02/19/on-ai-assisted-coding/
1•colinprince•23m ago•0 comments

Show HN: Nano Banana 2 – 4K AI image generator with accurate text rendering

https://www.ainanobanana2.pro/
1•hoxihan•23m ago•0 comments

Show HN: Rust-powered document chunker for RAG – 40x faster, O(1) memory

https://github.com/Krira-Labs/krira-chunker
4•kriralabs•25m ago•0 comments

AI-powered Quant Dashboard for short-term NVDA forecasting

https://github.com/fanitarantsopoulou/nvdia-stock-ai-prediction
2•ftarants•26m ago•1 comments

Sandboxed Git worktrees for AI coding agents

https://workmux.raine.dev/guide/sandbox/
1•rane•27m ago•0 comments

Show HN: Ditch your budget app subscription. Surebeans is a modern YNAB4

https://surebeans.net/
1•sltr•27m ago•0 comments

Anthropic: Stay Strong

https://scottaaronson.blog/?p=9591
5•kerim-ca•28m ago•1 comments

Show HN: FeedFluffy a dead man switch for people living alone

https://feedfluffy.com
2•gabit7•34m ago•0 comments

My (terrible) experience as a British Asian at University

https://old.reddit.com/r/UniUK/comments/1rgph05/i_am_genuinely_finished_with_trying_to_perform_as/
4•aelnona•37m ago•2 comments