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

The A3 Handoff Canvas: Turn AI Delegation into a Repeatable Workflow

https://age-of-product.com/a3-handoff-canvas/
1•swolpers•2m ago•0 comments

Show HN: 500x faster string matching for Linux Netfilter (O(1) vs. O(N))

https://github.com/landerrosette/strider
1•landerrosette•2m ago•0 comments

Vstats: A dependency-free Linear Algebra, Statistics, ML library written in V

https://github.com/rodabt/vstats
1•fork-bomber•3m ago•0 comments

Show HN: Skill Container – a decent way to run and distribute agent skills

https://github.com/observerw/skill-container
1•observerw•5m ago•0 comments

What is Wireless Smart Utility Network (Wi-SUN)

https://www.everythingrf.com/community/what-is-wi-sun
1•teleforce•7m ago•0 comments

The New Ballmer Peak

https://www.adriankrebs.ch/blog/the-new-ballmer-peak/
1•hubraumhugo•7m ago•0 comments

Show HN: Turn LinkedIn profiles into Markdown for LLM use [open source]

https://chromewebstore.google.com/detail/linkedmd/ollpmcehgnalfeephmjlohapgjcagoch
1•jonaraphael•11m ago•0 comments

Let's learn to research before building

https://www.founderspace.work
1•VladCovaci•13m ago•1 comments

Python-powered machine learning analytics for GStreamer pipelines (2025)

https://www.collabora.com/news-and-blog/blog/2025/05/12/unleashing-gst-python-ml-analytics-gstrea...
1•emigre•13m ago•0 comments

Fake job recruiters hide malware in developer coding challenges

https://www.bleepingcomputer.com/news/security/fake-job-recruiters-hide-malware-in-developer-codi...
1•pseudolus•15m ago•0 comments

Calculus Made Easy (1910)

https://calculusmadeeasy.org/
1•Tomte•18m ago•0 comments

The Map of Mathematics

https://mathmap.quantamagazine.org/map/
1•Tomte•19m ago•0 comments

Exodus of IPv4 from War-torn Ukraine (2025)

https://www.kentik.com/blog/exodus-of-ipv4-from-war-torn-ukraine/
1•throw0101c•22m ago•1 comments

I compared WinApps and WinBoat, which integrate a Windows VM to desktop Linux

https://www.theregister.com/2026/02/14/winapps_and_winboat/
1•lproven•22m ago•0 comments

Ask HN: LLMs helping you read papers and books

1•amelius•24m ago•0 comments

How to Solve the Tenor Shortage

https://www.economist.com/leaders/2026/02/12/how-to-solve-the-tenor-shortage
1•testdelacc1•25m ago•1 comments

A Brief History of Sega Enterprises

https://www.abortretry.fail/p/a-brief-history-of-sega-enterprises
2•rbanffy•28m ago•0 comments

Show HN: Pluma – Write professional articles for your ideas and projects

https://pluma.ink/
1•nader0913•29m ago•0 comments

Go and Versioning: Minimal Version Selection

https://research.swtch.com/vgo-mvs
1•ryangibb•30m ago•0 comments

On Tilt – America's new gambling epidemic

https://harpers.org/archive/2026/02/on-tilt-america-gambling-epidemic-jasper-craven/
1•pseudolus•31m ago•0 comments

TexGuardian – Claude Code, but for LaTeX academic papers

https://github.com/arcAman07/TexGuardian
1•amananytime07•33m ago•1 comments

My math theory to automata Hilbert, Fourier and integral orders

https://github.com/tambetvali/LaeMath/tree/main/MathFuncs/Docs
2•tvali•40m ago•1 comments

Charles Bonnet Syndrome

https://en.wikipedia.org/wiki/Visual_release_hallucinations
2•debarshri•42m ago•0 comments

Show HN: Eliza, a line-by-line remake of the original AI chatbot from 1966

https://marquisdegeek.github.io/Eliza-Origins/
1•marquisdegeek•45m ago•0 comments

Record Low Snow in the West Will Mean Less Water, More Fire, and Political Chaos

https://www.wired.com/story/record-low-snow-in-the-west-will-mean-less-water-more-fire-and-politi...
1•xbmcuser•48m ago•0 comments

Show HN: Custom illustrated kids' book, generated and printed (StoryStarling)

3•storystarling•49m ago•0 comments

Show HN: Boredom Challenge – Test and Improve Your Boredom Tolerance

https://jsattler.github.io/boredom-challenge/
2•jsattler•55m ago•0 comments

Study validates ability to influence dreams, aiding problem-solving during REM

https://news.northwestern.edu/stories/2026/02/dream-engineering-can-help-solve-puzzling-questions
1•giuliomagnifico•56m ago•0 comments

'It's over for us': release of AI video generator Seedance 2.0 spooks Hollywood

https://www.theguardian.com/film/2026/feb/13/new-ai-video-generator-seedance-tom-cruise-brad-pitt
4•mellosouls•58m ago•0 comments

Reversed engineered game Starflight (1986)

https://github.com/s-macke/starflight-reverse
2•tosh•1h ago•0 comments