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

Standard.site: The Publishing Gateway

https://stevedylan.dev/posts/standard-site-the-publishing-gateway/
1•stevedsimkins•4m ago•0 comments

Pixwit.ai is an AI-powered video creation platform

https://pixwit.ai
1•maysunyoung•4m ago•1 comments

Ask HN: Has anyone built payment flows inside AI voice calls?

1•wasiyc•9m ago•0 comments

Show HN: Karmic Tail – A calculator for the Destiny Matrix numerology system

https://karmictail.com/
2•hugh1st•11m ago•0 comments

The Pain of Real Linear Types in Rust (2017)

https://faultlore.com/blah/linear-rust/
1•xpe•14m ago•1 comments

Show HN: Pointa – Point-and-click annotations for AI coding agents (open source)

https://www.pointa.dev/
1•jberthom•17m ago•0 comments

Letting Claude Play Text Adventures

https://borretti.me/article/letting-claude-play-text-adventures
1•zdw•17m ago•0 comments

Show HN: Dutix – set default apps for file types and URL schemes on macOS

https://github.com/jackchuka/dutix
1•jackchuka•19m ago•0 comments

Show HN: App Logo AI – Your generated application logo

https://applogoai.com/
1•goingmerryapps•23m ago•0 comments

Fed Served with DOJ Subpoenas, Powell Vows to Stand Firm

https://www.bloomberg.com/news/articles/2026-01-12/powell-says-justice-department-served-fed-with...
3•ZeroCool2u•23m ago•2 comments

Everybody's Got a Claim

https://ipcopilot.ai/2026/01/03/everybodys-got-a-claim/
1•lettergram•24m ago•0 comments

16 Best Practices for Reducing Dependabot Noise

https://nesbitt.io/2026/01/10/16-best-practices-for-reducing-dependabot-noise.html
2•zdw•25m ago•0 comments

DOJ has subpoenaed central bank, threatens criminal indictment

https://apnews.com/article/federal-reserve-trump-subpoena-bf4fc6c690fa248fbc531bc9bc7f1758
4•SilverElfin•29m ago•3 comments

Ask HN: Claude Code Degradation

2•lobito25•32m ago•0 comments

Duplicate tab notifications and auto closures

https://chromewebstore.google.com/detail/newtab/ajpgplnoabdfhpnlepboonoocpipmhkg
1•pinestack•36m ago•0 comments

Complete Guide to Agentic Commerce Standards

https://curateclick.com/blog/2026-universal-commerce-protocol
2•QingWu•37m ago•0 comments

Advancing Claude in healthcare and the life sciences

https://www.anthropic.com/news/healthcare-life-sciences
1•meetpateltech•39m ago•0 comments

California governor proposes $200M in new state EV tax rebates

https://www.reuters.com/world/california-governor-proposes-200-million-new-state-ev-tax-rebates-2...
3•MilnerRoute•40m ago•0 comments

Show HN: AI Cleaner:Phone Cleaner and Storage Analyzer App

https://ai-cleaner.net/
1•jumpdong•40m ago•0 comments

India proposes forcing smartphone makers to give source code

https://www.reuters.com/world/china/india-proposes-forcing-smartphone-makers-give-source-code-sec...
5•Brajeshwar•53m ago•0 comments

Show HN: Personal news curator running 24/7 on a Raspberry Pi 4 with local LLM

https://life-of-utkarsh.medium.com/pushing-the-limits-running-local-llms-and-a-24-7-personal-news...
2•ukrocks007•58m ago•0 comments

Show HN: Tiktokify Your Blog

https://github.com/NISH1001/tiktokify
2•igaurab•59m ago•0 comments

Universal Commerce Protocol: Open standard for agentic commerce interoperability

https://a2aprotocol.ai/blog/2026-universal-commerce-protocol
2•czmilo•1h ago•2 comments

Patela v2: From Certificates to Hardware

https://osservatorionessuno.org/blog/2025/12/patela-v2-from-certificates-to-hardware/
1•todsacerdoti•1h ago•0 comments

LLVM: The Bad Parts

https://www.npopov.com/2026/01/11/LLVM-The-bad-parts.html
1•zdw•1h ago•0 comments

Subformer: Multilingual video dubbing with speaker diarization and voice cloning

https://subformer.com/en-US
1•mashreghi•1h ago•1 comments

Show HN: `tc` like `wc` but for LLM tokens

https://github.com/jamierpond/tokencount
2•jamiepond•1h ago•0 comments

Training an LLM to Play Diplomacy with RL

https://www.benglickenhaus.com/blog/diplomacy_rl_part_1
1•pawalt•1h ago•0 comments

Show HN: An LLM-optimized programming language

https://github.com/ImJasonH/ImJasonH/blob/main/articles/llm-programming-language.md
7•ImJasonH•1h ago•2 comments

Data Trust (or lack of it) is many paper cuts, not one BIG error

https://www.rudderstack.com/blog/data-trust-clickstream-discrepancy/
1•soumyadeb•1h ago•0 comments