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

TypoSnap – Highlight text, hit Ctrl+Shift+F, typos gone (Windows)

1•MarkBekooy•57s ago•0 comments

Russian spy satellites have intercepted EU communications satellites

https://arstechnica.com/space/2026/02/russian-spy-satellites-have-intercepted-eu-communications-s...
1•derbOac•1m ago•0 comments

Show HN: TITO – Automated threat modeling from code (open source)

https://github.com/Leathal1/TITO
1•xxmrlnxx•1m ago•0 comments

Show HN: Job Tracker, Local-first job search app powered by Claude Code

https://github.com/zot/frictionless/tree/main/apps/job-tracker
1•zotimer•2m ago•0 comments

How to find work (early draft)

https://docs.google.com/document/d/1yQcSnxeG4D8MyaIJad3pO9wGQYvuAq6gAHzADkCeDaI/edit?usp=drivesdk
1•mindweather•6m ago•1 comments

Soniox: Real-time transcription in 60 languages

https://soniox.com/
1•lukax•7m ago•1 comments

How poor site design outed a furry councilman

https://www.flayrah.com/7083/furry-counciller-new-milford-ct-resigns-due-sofurry-profile-mishap-h...
1•xeonmc•8m ago•1 comments

Ovid, a super fast parallel PDF and image converter

https://crates.io/crates/ovid
1•euceph•8m ago•0 comments

Nuke Map

https://nuclearsecrecy.com/nukemap/
2•rmason•10m ago•0 comments

We built a real-world benchmark for AI code review

https://www.qodo.ai/blog/how-we-built-a-real-world-benchmark-for-ai-code-review/
1•benocodes•11m ago•0 comments

DMA enforced an option to sort Ig/FB feeds chronologically

https://www.instagram.com/reel/DUSs2eCCi5V/
2•cromka•11m ago•0 comments

Playwriter, extension to control Chrome with agentic CLIs

https://grokipedia.com/page/Playwriter
1•xmorse•12m ago•0 comments

Using Ghidra to correct the record on a 24 year old PlayStation game

https://32bits.substack.com/p/under-the-microscope-syphon-filter
3•bbayles•14m ago•0 comments

Rent vs. Buy Simulator – Compare 3 financial strategies over 10-40 years

https://rent-or-buy-sim.com/
1•sagarpal•14m ago•1 comments

The 'weird' things that happened when ClickHouse replaced C++ with Rust

https://thenewstack.io/the-weird-things-that-happened-when-clickhouse-replaced-c-with-rust/
1•benocodes•15m ago•0 comments

Codex Ambassador Program

https://developers.openai.com/codex/ambassadors/
1•charlierguo•15m ago•0 comments

Most side projects die from 3 failed tweets, not bad ideas

https://onefoundr.click
1•oaba_omar•15m ago•1 comments

Spotlighting the World Factbook as We Bid a Fond Farewell

https://www.cia.gov/stories/story/spotlighting-the-world-factbook-as-we-bid-a-fond-farewell/
1•mxfh•15m ago•0 comments

Japan begins 24-hour social media monitoring at Winter Olympics

https://english.kyodonews.net/articles/-/69871
3•anigbrowl•16m ago•0 comments

Small acts of culture drive major change

https://kamilas.substack.com/p/how-small-acts-of-culture-drive-major
2•kamselig•17m ago•0 comments

Olympic curling: The science behind sweeping

https://www.axios.com/2026/02/04/what-is-curling-sweeping-rules
1•samizdis•18m ago•0 comments

Typing for Love or Money

https://publicdomainreview.org/essay/typing-for-love-or-money/
1•crescit_eundo•18m ago•0 comments

JMeter load tests functional behavior and measures performance

https://jmeter.apache.org/
1•mooreds•18m ago•0 comments

The third golden age of software engineering – thanks to AI, with Grady Booch [video]

https://www.youtube.com/watch?v=OfMAtaocvJw
2•mooreds•20m ago•0 comments

Mem0 stores memories, but doesn't learn user patterns

3•fliellerjulian•21m ago•2 comments

Science should be machine-readable

https://www.biorxiv.org/content/10.64898/2026.01.30.702911v1
1•kkoncevicius•24m ago•2 comments

Claude Composer

https://www.josh.ing/blog/claude-composer
4•coloneltcb•24m ago•0 comments

Should You Build or Buy Authentication?

https://fusionauth.io/buildvsbuy
1•mooreds•25m ago•0 comments

Google takes down YouTube video of Claude Code running rings around Gemini

https://stateofutopia.com/7gYBAB4.png
6•logicallee•26m ago•3 comments

I spent 2 weeks playing god. My learnings from 597 genetic algorithm lineages

https://blog.silennai.com/genetic-algorithm
2•SilenN•27m ago•0 comments