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

Comments

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

Show HN: TUI cross-platform Python tool for network discovery and port auditing

https://github.com/mennylevinski/network_scanner
1•mennylevinski•40s ago•0 comments

Retrospective: Realms Campaign Setting

http://grognardia.blogspot.com/2026/02/retrospective-forgotten-realms-campaign.html
1•speckx•1m ago•0 comments

OpenClaw creator slams Europe's regulations as he moves to the US

https://www.businessinsider.com/openclaw-creator-slams-europe-regulations-move-us-openai-2026-2
1•WarmWash•3m ago•0 comments

DVDs, Blu-ray disks, and VHS tapes are cool again

https://www.marketplace.org/story/2026/02/17/dvds-and-vhs-physical-film-media-is-cool-again
1•toomuchtodo•3m ago•0 comments

Tool Shaped Objects

https://minutes.substack.com/p/tool-shaped-objects
1•msp26•3m ago•0 comments

Starting April 2026, messenger.com will no longer be available for messaging

https://www.facebook.com/help/messenger-app/804132271957789
1•agluszak•4m ago•0 comments

Pixel 10a

https://store.google.com/us/product/pixel_10a?hl=en-US
2•meetpateltech•5m ago•0 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
1•__cayenne__•5m ago•1 comments

Show HN: CreativeFlow – A Guided Brainstorming App

https://creativeflow.pages.dev/
1•jamescamagong•5m ago•0 comments

Pre-Publication Moderation Can Disqualify Services from DMCA 512(c) Safe Harbor

https://blog.ericgoldman.org/archives/2026/02/pre-publication-content-moderation-can-disqualify-s...
1•hn_acker•6m ago•1 comments

Americans are ten times more likely to be fired than Germans

https://www.worksinprogress.news/p/americans-are-ten-times-more-likely
1•deunamuno•6m ago•0 comments

Clojure Jam 2026 – A Festival of Creative Coding in Clojure

https://scicloj.github.io/clojure-jam-2026/
1•TheWiggles•6m ago•0 comments

Show HN: Formally verified FPGA watchdog for AM broadcast in unmanned tunnels

https://github.com/Park07/amradio
1•anonymoosestdnt•7m ago•0 comments

Transcranial focused ultrasound stimulation enhances semantic memory

https://www.nature.com/articles/s41467-026-69579-7
1•bookofjoe•7m ago•0 comments

Major League Hacking Has Acquired DEV

https://news.mlh.io/major-league-hacking-acquires-dev-to-feb-18-2026-02-18-2026
2•jonmarkgo•7m ago•0 comments

Seven Models in Three Weeks: China's AI Labs Aren't Waiting

https://7min.ai/news/chinese-ai-models-spring-2026/
2•fabioperez•8m ago•1 comments

Identity, Cooperation and Framing Within Groups of Real and Simulated Humans

https://arxiv.org/abs/2601.16355
2•PaulHoule•8m ago•0 comments

The Grok 4.2 release candidate (public beta) is now available for use

https://twitter.com/i/status/2023829664318583105
1•fauria•10m ago•0 comments

Joe Halpern (1953-2026)

https://blog.computationalcomplexity.org/2026/02/joe-halpern-1953-2025.html
2•speckx•11m ago•0 comments

Investigating the Downstream Effect of AI Assistants on Software Maintainability

https://arxiv.org/abs/2507.00788
1•KallDrexx•11m ago•1 comments

The future of social media is human

https://blog.picheta.me/post/the-future-of-social-media-is-human/
1•dom96•13m ago•0 comments

Musings on AI

https://tonyneufeld.blog/2026/02/18/Musings-on-AI/
1•tonyneufeldblog•14m ago•0 comments

Show HN: Opaal Visual multi-agent prompt designer for Claude Code and agentic AI

https://github.com/Agravak/opaal
1•Kinanhamwi•14m ago•0 comments

What is happening to writing?: Claude Code and the negative space around AI

https://resobscura.substack.com/p/what-is-happening-to-writing
1•benbreen•14m ago•0 comments

Microsoft says Office bug exposed customers' confidential emails to Copilot AI

https://techcrunch.com/2026/02/18/microsoft-says-office-bug-exposed-customers-confidential-emails...
1•gloxkiqcza•15m ago•0 comments

On daily drawing, attention, embarrassment, coffee & the comfort of repetition

https://katebingamanburt.substack.com/p/20-years-ago-i-bought-a-tank-of-gas
1•NaOH•15m ago•0 comments

Search operators were an API

https://www.nklswbr.com/blog/agentic-search-operators
1•nklswbr•16m ago•0 comments

How far back in time can you understand English?

https://www.deadlanguagesociety.com/p/how-far-back-in-time-understand-english
1•spzb•16m ago•0 comments

Websites Decide You're Human

https://steel.dev/blog/anti-bot-defense
1•nkko•16m ago•0 comments

Show HN: Sievers a Rust SIEVE filter editor

https://github.com/oscarcp/sievers
1•oscarcp•18m ago•0 comments