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

California sees 150k sign-ups for new data broker deletion request tool

https://www.cbsnews.com/sacramento/news/california-drop-tool-data-broker-deletion/
1•raybb•46s ago•0 comments

Agentic Memory: Unified Long-Term and Short-Term Memory Management for Agents

https://www.alphaxiv.org/abs/2601.01885
1•manthangupta109•2m ago•0 comments

Amthropic CEO claims we are 1yr away where AI can do everything SWEs

https://twitter.com/i/status/2013682941201678804
2•thewhitetulip•12m ago•0 comments

Trump admin sought redactions on China war game report warning

https://www.foxnews.com/politics/trump-admin-sought-redactions-key-china-war-game-report-warning-...
2•mudil•18m ago•0 comments

Vibe Coding Is Over, Now Just "Coding"

https://upstreamutopia.com/articles/?id=20260121-060942-vibe-coding-is-over,-now-ju
1•upstreamutopia•19m ago•0 comments

EU plans cybersecurity overhaul to block foreign high-risk suppliers

https://www.bleepingcomputer.com/news/security/eu-plans-cybersecurity-overhaul-to-block-foreign-h...
2•Yularar•21m ago•0 comments

Why neither Asia nor the US has produced a rival to ASML

https://www.ft.com/content/e47375fb-8c9f-4a4f-8526-8d46ededb805
2•perihelions•25m ago•0 comments

Curl removes bug bounties because of AI slop

https://etn.se/index.php/nyheter/72808-curl-removes-bug-bounties.html
2•jnord•25m ago•0 comments

Newbridge Cutlery to cease production of silver-plated tableware

https://www.rte.ie/news/business/2026/0120/1554085-newbridge-cutlery-company-to-close-factory/
1•austinallegro•30m ago•0 comments

Wolfi: Linux OS by Chainguard closed now for OSS

https://github.com/orgs/wolfi-dev/discussions/77550
1•shyim•30m ago•1 comments

Understanding Modern AI Is Understanding Embeddings: A Guide for Non-Programmers

https://sgnt.ai/p/embeddings-explainer/
2•dekervin•33m ago•0 comments

Show HN: Upgrade from Ralph to Eric for a more autonomous AI

https://dbuild.dev/blog/black-hole-from-ralph-to-eric/
1•Dbuild•33m ago•0 comments

Token Issuer Metadata: A Proposal for Config-as-Code SSO

https://docs.meetchar.ai/explanation/token-issuer-metadata
1•miguelspizza•34m ago•0 comments

88x31 badge for gen-AI free, 100% human-made works

https://aspiz.uk/100percenthuman/
1•aspizu•34m ago•2 comments

Hootsuite looking to work with ICE to 'build trust'

https://www.theglobeandmail.com/business/article-hootsuite-canada-vancouver-ice-social-media-cont...
1•petethomas•36m ago•0 comments

Alice and Bob in Wonderland - Identity and authority without servers (2024)

https://herbcaudill.com/words/20240602-local-first-auth
1•apitman•41m ago•0 comments

Implementing Dino from Scratch

https://logits.bearblog.dev/implementing-dino-from-scratch/
2•tgnk2341•42m ago•0 comments

Kleis: Structural Modeling with Symbolic Math and Types

https://kleis.io/
1•eatik•43m ago•0 comments

UK government considers social media ban for children

https://www.ft.com/content/15298c8c-d937-419c-8c9d-191589302704
2•1vuio0pswjnm7•44m ago•1 comments

Creating a Domain Specific Language with Roslyn

https://www.themacaque.com/2026/01/17/dsl-with-roslyn.html
1•azhenley•47m ago•0 comments

Why your power bill is spiking faster than a nearby data center's

https://www.washingtonpost.com/climate-environment/2026/01/15/power-electricity-cost-data-centers/
1•1vuio0pswjnm7•48m ago•0 comments

When to Use GenAI: A Practical Decision Framework

https://thenewstack.io/when-to-use-genai-a-practical-decision-framework/
1•bhaskarkollu•49m ago•0 comments

Governors confront electricity's rising costs as data centers expand

https://www.washingtonpost.com/business/2026/01/16/pjm-data-centers-electricity-bipartisan/
1•1vuio0pswjnm7•50m ago•0 comments

The Link List – Jan 2026 (Newsletter)

https://www.thelinklist.dev/blog/2026-01/
1•cwisecarver•52m ago•0 comments

Deutsche Bank says the 'honeymoon is over' for AI – CNBC

https://www.cnbc.com/2026/01/20/deutsche-bank-says-the-honeymoon-is-over-for-ai.html
5•g-b-r•53m ago•2 comments

Show HN: LLM-Powered Writing: Trends, Advantages, and Curation to Notion

https://blackeagle.cozyai.chat/blog/curate-to-notion.html
1•cuteeaglet•54m ago•0 comments

After Every Clue

https://www.thenation.com/article/society/seymour-hersh-cover-up/
1•samclemens•58m ago•0 comments

Show HN: Metric-Registry

https://metric-registry.base14.io/
1•rnjn•58m ago•0 comments

Best Curved Text Generator: MockoFun

https://www.mockofun.com/tutorials/curved-text-generator/
1•codingdudecom•1h ago•0 comments

Algorithms for Optimization, Decision Making, and Validation (3 Books)

https://algorithmsbook.com
1•thetwentyone•1h ago•0 comments