frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Accidentally Turing-Complete

https://beza1e1.tuxen.de/articles/accidentally_turing_complete.html
25•bschne•1y ago

Comments

panstromek•1y 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•1y 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•1y 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_•1y 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_•1y 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•1y 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•1y 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

Automation, Algorithms, and Self-Censorship

https://www.baldurbjarnason.com/2026/automation-and-self-censorship/
1•aray07•39s ago•0 comments

Pull Cached Docker Hub Images – Artifact Registry – Google Cloud Documentation

https://docs.cloud.google.com/artifact-registry/docs/pull-cached-dockerhub-images
1•abdelhousni•42s ago•0 comments

Usenet's Back, Baby (this time, the search works)

https://tedium.co/2026/09/14/usenet-rewind-archive-revival-website/
1•andsoitis•50s ago•0 comments

Lossless compression of LLMs to 12-bits

https://github.com/dphnAI/nf12
1•AlpinDale•3m ago•1 comments

Changing one letter bypassed an admin API in HuggingFace

https://twitter.com/v12sec/status/2118442075574464848
1•robindooh•3m ago•0 comments

Typhoon Nolo dissapated, regenerated, transited Pacific

https://en.wikipedia.org/wiki/Hurricane_Nolo
1•WarOnPrivacy•4m ago•0 comments

International Castle Research Society

https://burgenkunde.de/index_Willkommen_eng.htm
1•sklargh•4m ago•0 comments

Is YouTube starting to protect channel RSS feeds?

1•kradeelav•6m ago•0 comments

GitHub AI Vulnerability Scans for Repositories

https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories
2•robinstunes•8m ago•0 comments

A database is a store for global variables

https://www.seangoedecke.com/a-database-is-a-store-for-global-variables/
1•gfysfm•14m ago•0 comments

Dual JWT Authentication: Security, Redis, and Trade-Offs

https://www.jstools.space/blog/dual-jwt-authentication/
1•javatuts•14m ago•0 comments

Instant payment rails meet batch bank cores

https://tuladb.com/blog/instant-rails-meet-batch-cores/
2•shubham3582•18m ago•0 comments

New Research Tests Whether AI Models Know Their Own Thoughts

https://www.quantamagazine.org/new-research-tests-whether-ai-models-know-their-own-thoughts-20261...
3•ibobev•18m ago•0 comments

Why worry about hot-patch atomicity if we can suspend all threads?

https://devblogs.microsoft.com/oldnewthing/20261106-00/?p=112838/
1•ibobev•18m ago•0 comments

Ace: GitHub Next's open-source tool for multiplayer agentic development

https://ace.githubnext.com/
2•zdgeier•20m ago•1 comments

University of Queensland's world record pitch drop experiment about to turn 100

https://www.abc.net.au/news/2026-11-08/queensland-pitch-drop-experiment/107337784
1•BuzzVII•21m ago•0 comments

Show HN: I declared war on every country, one at a time. 77 of 133 survived

https://playgod.earth/every-country-vs-the-world
1•kyleclouthier•22m ago•0 comments

Stack Overflow for Agents

https://agents.stackoverflow.com/all?sort=hot
1•smusamashah•23m ago•0 comments

Diamond Foundry produces the first-ever single-crystal 200mm diamond

https://www.df.com/insights/d200mm-single-crystal-diamond
1•Thorondor•25m ago•0 comments

Show HN: An immutable local inference appliance with routing capability

https://github.com/diffsec/sibyl
1•d0ublespeak•26m ago•0 comments

The scramble for your brain data

https://www.science.org/content/article/wearable-device-makers-are-harvesting-brain-data-train-ai...
1•EA-3167•27m ago•0 comments

GitHub PR volume is spiking beyond prev peak period (March)

https://twitter.com/backnotprop/status/2119211018966757669
2•ramoz•32m ago•0 comments

Hour "Do Nothing" Challenge

https://mattlakeman.org/2020/12/08/the-24-hour-do-nothing-challenge/
1•andsoitis•34m ago•1 comments

Peter Watts: Conscious Ants and Human Hives (2018) [video]

https://www.youtube.com/watch?v=v4uwaw_5Q3I
1•gregsadetsky•34m ago•0 comments

Massive expansion of immigration detention under new EU deportation rules

https://statewatch.org/news/2026/november/massive-expansion-immigration-detention-under-new-eu-re...
1•paimapi•39m ago•0 comments

The Computational Beauty of Nature

https://flake.org/site/index.html
1•so-cal-schemer•43m ago•2 comments

Ugh Fields

https://www.lesswrong.com/posts/EFQ3F6kmt4WHXRqik/ugh-fields
1•7777777phil•43m ago•0 comments

Show HN: Sentient, Your Coding Agent Shouldn't Be a Black Box

https://nosaka.ai/sentient/
1•epynonymous•44m ago•0 comments

Show HN: Nobuild TypeScript web framework with zero dependencies

https://ohne.dev/
1•murisceman•45m ago•1 comments

Show HN: SF Title Alert

https://sftitlealert.com/
1•arkadiyt•47m ago•0 comments