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

Comments

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

Dataset of 33k human evaluations across 33 AI models

https://huggingface.co/spaces/ProlificAI/humaine-leaderboard
1•bradfeh•5m ago•2 comments

Most startups fail at pricing because they test it too late

https://twitter.com/daraladje/status/2001734319048720812
1•Richz513•7m ago•0 comments

The Port I couldn't Ship

https://ammil.industries/the-port-i-couldnt-ship/
1•cjlm•7m ago•0 comments

Why Trump's social media company is merging with a fusion power firm

https://www.washingtonpost.com/business/2025/12/18/trump-media-merge-with-fusion-power-developer-...
1•reaperducer•8m ago•0 comments

Taming PostgreSQL GUC "Extra" Data

https://clickhouse.com/blog/taming-postgres-guc-extra-data
1•saisrirampur•11m ago•0 comments

IMProofBench open problem solved by GPT-5

https://leanprover.zulipchat.com/#narrow/channel/219941-Machine-Learning-for-Theorem-Proving/topi...
1•marojejian•13m ago•1 comments

The Automation Charade (2018)

https://logicmag.io/failure/the-automation-charade/
1•measurablefunc•13m ago•0 comments

Sk HN: Where would you use a "digital guestbook" that supports paid messages?

https://thewalll.com
1•rapgof•14m ago•1 comments

The boomer-doomer divide within OpenAI, explained by Karen Hao

https://bigthinkmedia.substack.com/p/the-boomer-doomer-divide-within-openai
1•pseudolus•15m ago•0 comments

StikDebug Removed from App Store, Developer Account Terminated

https://twitter.com/stephendev0/status/2001734340389024180
2•tech234a•16m ago•1 comments

Startup beat Big Tech on AI interpretability – new method reveals model circuits

https://www.corti.ai/stories/gim-a-new-standard-for-mechanistic-interpretability
1•haileybayliss•18m ago•1 comments

Tacit – short films about tacit knowledge from Stripe Press

https://www.stripe.press/tacit
1•ChrisArchitect•21m ago•1 comments

The Universal Law Behind Market Price Swings

https://physics.aps.org/articles/v18/196
1•bikenaga•21m ago•1 comments

Screen Takeover Attack in AI Tool Acquired for $1B

https://www.promptarmor.com/resources/screen-takeover-attack-in-ai-tool-acquired-for-1b
7•vollmarj•24m ago•0 comments

Show HN: A native iOS client for managing Cloudflare

https://apps.apple.com/us/app/clouder-for-cloudflare/id6755757771
1•Jeramo•25m ago•0 comments

Treat Emacs as an Elisp Runtime Using Eask

https://www.jcs-profile.com/posts/editor/elisp-runtime/
2•Jen-Chieh•25m ago•0 comments

Did maintainers abandon your critical open-source tool? There's a lifeline

https://www.zdnet.com/article/chainguard-emeritoss-support-for-abandoned-open-source-programs/
2•CrankyBear•28m ago•0 comments

Interactive Fluid Typography

https://electricmagicfactory.com/articles/interactive-fluid-typography/
8•list•29m ago•0 comments

Snowflake Postgres Is Now Available in Public Preview

https://www.snowflake.com/en/engineering-blog/postgres-public-preview/
3•kermatt•31m ago•0 comments

Dijkstra: The strengths of the academic enterprise (1994)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD11xx/EWD1175.html
2•milanhbs•31m ago•0 comments

Why Socrates Hated the Ancient Greeks' Version of Ted Talks

https://medium.com/@gp2030/plato-part-2-socrates-43777cbaa61b
1•light_triad•31m ago•0 comments

We can't measure LLM reasoning because LLMs don't inhabit a world

2•kimounbo•33m ago•0 comments

A faster path to container images in Bazel

https://www.tweag.io/blog/2025-12-18-rules_img/
1•malt3•34m ago•0 comments

Just Use AI

https://justfuckinguseai.com/
2•kyrylo•34m ago•0 comments

Is It a Joke?

https://novalis.org/blog/2025-11-06-is-it-a-joke.html
1•luu•36m ago•0 comments

T5Gemma 2: The next generation of encoder-decoder models

https://blog.google/technology/developers/t5gemma-2/
3•milomg•36m ago•0 comments

Move Expressions (Part of Ergonomic RC for Rust)

https://smallcultfollowing.com/babysteps/blog/2025/11/21/move-expressions/
1•stmw•37m ago•0 comments

Zero Inflation

https://thetontineengine.substack.com/p/make-money-hard-again
2•rwmj•38m ago•0 comments

2026 Demo Day Dates

https://www.ycombinator.com/blog/2026-demo-days/
1•todsacerdoti•39m ago•0 comments

$1,500 robot cooks dinner while I work

https://www.theverge.com/tech/840599/posha-robot-chef-review
3•bookofjoe•40m ago•2 comments