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

Comments

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

Request Camel Numbering

https://gov.om/w/request-camel-numbering
1•earksiinni•3m ago•0 comments

Git per sviluppatori: guida completa dai comandi base al workflow professionale

https://donatodelpeschio.it/blog/git-guida-completa-comandi-workflow
1•donnyBlanko•3m ago•0 comments

A bet on whether ML-KEM-768 or X25519 will break first

https://github.com/FiloSottile/ecc-vs-lattices-long-bet
1•figsoda•5m ago•1 comments

From Spec-Driven Work to Work Orchestration

https://trilogyai.substack.com/p/from-spec-driven-work-to-work-orchestration
1•kumanday•7m ago•0 comments

Hormuz, an MCP-first forecasting engine for reproducible modeling

https://github.com/farukalpay/hormuz-tectonochemical-engine/
4•festafin•7m ago•0 comments

Anthropic Mythos 0-days replicated with GPT5.4

https://twitter.com/kannthu1/status/2042695741844619502
1•knivets•7m ago•0 comments

Dario – use your Claude Max subscription as an API (no API key needed)

https://github.com/askalf/dario
1•askalf•16m ago•0 comments

Show HN: Collabmem – the memory system for long-term collaboration with AI

https://github.com/visionscaper/collabmem
1•visionscaper•17m ago•1 comments

Is ChatGPT Down?

https://chatgpt.com/
2•laser9•17m ago•1 comments

We gave an AI a 3-year Lease. It opened a store

https://andonlabs.com/blog/andon-market-launch
2•lukaspetersson•17m ago•0 comments

Anthropic loses appeals court bid to temporarily block DoD ruling

https://www.cnbc.com/2026/04/08/anthropic-pentagon-court-ruling-supply-chain-risk.html
1•gmays•18m ago•1 comments

Sciences Physiques

https://www.jf-noblet.fr/
2•Eridanus2•20m ago•1 comments

What Are You Trying to Say?

https://idiallo.com/blog/what-are-you-trying-to-say
2•foxfired•26m ago•0 comments

Warez Scene

https://en.wikipedia.org/wiki/Warez_scene
3•maltalex•27m ago•0 comments

Open Source LLM Comparison – Is Opus Cooked?

https://paradise-runner.github.io/frontier-comparison/
2•dividedcomet•32m ago•1 comments

Installing OpenBSD on the Pomera DM250 Writerdeck

https://jcs.org/2026/04/09/openbsd-dm250
1•djfergus•32m ago•0 comments

Show HN: Function Calling Harness: From 6.75% to 100% (Qwen Meetup Presentation)

https://typia.io/blog/function-calling-harness-qwen-meetup-korea/
2•samchon-github•34m ago•0 comments

AI Code Is Hollowing Out Open Source, and Maintainers Are Looking the Other Way

https://www.quippd.com/writing/2026/04/08/ai-code-is-hollowing-out-open-source-and-maintainers-ar...
3•pabs3•35m ago•0 comments

Daily You: A Personal Diary

https://github.com/Demizo/Daily_You
1•thunderbong•38m ago•0 comments

Helix and Typst are a match made in heaven

https://ergaster.org/til/helix-typst-match-in-heaven/
2•vinhnx•39m ago•0 comments

CLínica Bíblica: From Mission Hospital to Modern Medical Leader in Costa Rica

https://johnquam.substack.com/p/clinica-biblica-from-mission-hospital
1•headmonkey•44m ago•0 comments

Crystal on Rails (Rails-to-Crystal Transpiler)

https://intertwingly.net/blog/2026/04/10/Railcar.html
1•hugh4life•46m ago•0 comments

The term "AGI" is almost useless at this point

https://helentoner.substack.com/p/the-term-agi-is-almost-useless-at
1•gmays•46m ago•0 comments

Two Japanese suppliers commit to keeping Blu-ray discs and drives in supply

https://automaton-media.com/en/news/two-japanese-suppliers-commit-to-keeping-blu-ray-discs-and-dr...
2•voxadam•46m ago•0 comments

Use Claude Max subscription with OpenClaw again

https://github.com/zeulewan/glueclaw
1•zeulewan•59m ago•2 comments

Leaked – publicly unavailable unstable preview model

https://unstable.bot
14•mrhyyyyde•1h ago•3 comments

There are limited benefits when parents hold back their child in kindergarten

https://www.latimes.com/california/story/2026-03-23/limited-benefits-when-parents-hold-back-their...
1•PaulHoule•1h ago•0 comments

What, Is the GIL?

https://finbarr.ca/what-is-the-gil/
3•vinhnx•1h ago•0 comments

Iran Unable to Find Mines in Strait of Hormuz, U.S. Says

https://www.nytimes.com/2026/04/10/us/politics/iran-mines-strait.html
5•tyleo•1h ago•1 comments

Artemis II safely splashes down

https://www.cbsnews.com/live-updates/artemis-ii-splashdown-return/
268•areoform•1h ago•81 comments