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

Comments

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

AI has the worst sales pitch I've ever seen

https://www.noahpinion.blog/p/ai-has-the-worst-sales-pitch-ive
2•ray__•1m ago•0 comments

Prompt Engineering Is Not. Engineering, That Is

https://the-infrastructure-mindset.ghost.io/prompt-engineering-is-not/
2•wphillipmoore•2m ago•0 comments

Creating new Python webframework –SlimeWeb

https://pypi.org/project/SlimeWeb/
1•Abilash_Suresh•2m ago•0 comments

New record: Laser for surgery cuts bone deeper than before

https://medicalxpress.com/news/2026-02-laser-surgery-bone-deeper.html
1•PaulHoule•3m ago•0 comments

Let's Standardize the 1970 Epoch

https://github.com/billpg/1970EpochalTime/
1•billpg•4m ago•0 comments

AI-Driven Offensive Security: The Current Landscape and What It Means

https://www.praetorian.com/blog/ai-driven-offensive-security/
1•tcbrah•4m ago•0 comments

Colorado River crisis: headwater states resist cuts, citing scarce supply

https://wyofile.com/amid-dire-situation-for-colorado-river-basin-headwater-states-say-they-cant-c...
1•toomuchtodo•5m ago•1 comments

NimbiCMS – a Markdown-first CMS for static servers

1•abel_vm•5m ago•0 comments

What's the biggest business you could run alone?

https://orischwartz.com/posts/whats-the-biggest-business-you-could-run-alone.html
1•fleaflicker•5m ago•0 comments

Intercom's model beats GPT 5.4 and Sonnet 4.6 at customer support resolutions

https://venturebeat.com/technology/intercoms-new-post-trained-fin-apex-1-0-beats-gpt-5-4-and-clau...
1•bscanlan•8m ago•0 comments

Refusal to Give the Govt Passwords to Personal Mobile Criminalized in Hong Kong

https://hk.usconsulate.gov/security-alert-2026032601/
1•jmsflknr•9m ago•0 comments

Development of 3D-printed chitosan/p-coumaric acid scaffolds for wound healing

https://www.sciencedirect.com/science/article/pii/S0939641125003315
1•PaulHoule•9m ago•0 comments

Gratitude Without God

https://www.theatlantic.com/health/archive/2014/11/the-phenomenology-of-gratitude/383174/
1•amadeuspagel•10m ago•2 comments

Show HN: I built AI agents that debate questions LLMs usually refuse to answer

https://factagora.com/
1•ttlcc13•10m ago•0 comments

Mojave Sequence: Website to generate personalized small business options

https://mojavesequence.base44.app
1•DesertMesa•11m ago•0 comments

Do you want to follow the Obsidian Kernel? Click here

https://github.com/roading-os/Obsidian-Kernel
2•oretuff•12m ago•0 comments

BPFdoor in Telecom Networks: Sleeper Cells in the Backbone

https://www.rapid7.com/blog/post/tr-bpfdoor-telecom-networks-sleeper-cells-threat-research-report/
2•speckx•13m ago•0 comments

Coca-Cola, Walmart outgoing CEOs cite AI in decisions to step down

https://www.cnbc.com/2026/03/26/coca-cola-james-quincey-walmart-doug-mcmillon-artificial-intellig...
2•kjhughes•13m ago•1 comments

OpenTelemetry Profiles Enters Public Alpha

https://opentelemetry.io/blog/2026/profiles-alpha/
2•tanelpoder•17m ago•0 comments

Gonon: Building a Clock with No Numerals

https://tonygaeta.com/perceptor/code/gonon
2•nullpath•17m ago•0 comments

AWStrology: What Star Sign Is Every AWS Service?

https://medium.com/@brookejamieson/awstrology-what-star-sign-is-every-aws-service-908c417e65a6
2•brookejamieson•17m ago•0 comments

Show HN: Micro – apps without ads, algorithms or tracking

https://micro.mu
2•asim•18m ago•0 comments

Arc Pudding – A scriptable compass and rule drawing tool

https://hlnet.neocities.org/arc-pudding/
2•maitland•18m ago•0 comments

Canaries in the Coal Mine? Six Facts about the Recent Employment Effects of AI [pdf]

https://digitaleconomy.stanford.edu/app/uploads/2025/11/CanariesintheCoalMine_Nov25.pdf
2•Vaslo•19m ago•0 comments

Are LLMs Reliable Code Reviewers?

https://arxiv.org/abs/2603.00539
2•PaulHoule•19m ago•0 comments

Show HN: An unstructured data workspace for data transformations with LLM

https://www.usefolio.ai/
2•nibab•19m ago•0 comments

US Postal Service to introduce 8% fuel surcharge on packages

https://www.theguardian.com/business/2026/mar/25/us-postal-service-fuel-surcharge
4•hypeatei•20m ago•0 comments

Intercom create a custom model for customer support

https://twitter.com/eoghan/status/2037197696075981124
2•bscanlan•20m ago•0 comments

Pitfalls to watch out for as your team adopts DORA's software delivery metrics

https://dora.dev/guides/dora-metrics/#common-pitfalls
2•mooreds•21m ago•0 comments

Judge dismisses lawsuit by Musk's X Corp accusing advertisers of illegal boycott

https://www.reuters.com/world/judge-dismisses-lawsuit-by-musks-x-corp-accusing-advertisers-illega...
6•babelfish•22m ago•0 comments