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

How to Make Something That Makes Almost Anything(2024)

https://fab.cba.mit.edu/classes/865.24/
1•o4c•15s ago•0 comments

Fractional Reserve Banking 101

https://www.lynalden.com/fractional-reserve-banking/
1•rzk•26s ago•0 comments

Automatar – An Intelligent AI Guitar

https://www.creativeapplications.net/member/automatar-an-intelligent-ai-guitar/
1•bryanrasmussen•4m ago•0 comments

Sortition

https://en.wikipedia.org/wiki/Sortition
1•xnx•4m ago•0 comments

We need a data vault to grant on-demand access to our data

https://memo.mx/posts/datavault/
1•__warlord__•6m ago•0 comments

Qwen4 Max: Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/qwen4-max
1•theanonymousone•11m ago•0 comments

The Tools of Dan Gelbart

https://scottlocklin.wordpress.com/2026/08/05/the-tools-of-dan-gelbart/
2•o4c•16m ago•0 comments

Questions asked on self-help cassettes

https://tapes.emilysaltz.space/
1•gregsadetsky•18m ago•0 comments

Can robotics models control a 4200lb excavator?

https://www.dreamscalelabs.com/blog/excavate/
1•PenTest-duck•27m ago•0 comments

Show HN: RediWM – A complete Wayland Desktop Environment built in Zig 0.17

https://github.com/oxydizer/rediwm
1•oxydizer•31m ago•0 comments

I made an addicting game that will generate a million in revenue one day

https://www.pufful.com/
1•mattmerrick•33m ago•0 comments

Reviewing footage and audio isn't editing. I built an app that does it for you

https://editmatic.app/en
1•EithanK•35m ago•0 comments

Import PST file to Office 365

https://www.mailsdaddy.com/pst-to-office-365-migration-tool/
1•somit0•38m ago•0 comments

Show HN: Agent-Otel-Kit – OTel Dashboards for Claude Code, Codex and Gemini CLI

https://github.com/s3onghyun/agent-otel-kit
1•s3onghyun•38m ago•0 comments

Show HN: Vindle – Wordle for Cars

https://vindle.app/
1•cachebag•41m ago•0 comments

Show HN: OpenButterfly – Tracking the environmental impact of the AI ecosystem

https://openbutterfly.com
1•ravipatib•42m ago•0 comments

Did the Apollo Guidance Computer use 60% of the ICs in 1963?

https://retrocomputing.stackexchange.com/questions/12158/did-the-apollo-guidance-computer-really-...
2•Skyfall106•43m ago•0 comments

Show HN: New Book

https://github.com/metereindustries/qeg
1•metereindustrie•44m ago•0 comments

HS 9th Grade ELA Assignment Turned into philosophical rambling

https://liamis.dev/blogs/CaptionRambling/
1•ForgottenMail•46m ago•0 comments

Google AI Ultra Subscription Not Worth It

https://www.reddit.com/r/google_antigravity/comments/1xx9nl3/google_ai_ultra_subscription_not_wor...
3•behnamoh•49m ago•0 comments

Jensen Huang's downfall will accelerate US-China 'great decoupling'

https://www.channelnewsasia.com/commentary/nvidia-jensen-huang-affair-us-china-ai-tech-decoupling...
1•Markoff•49m ago•0 comments

RISC-V Matrix Extensions

https://fprox.substack.com/p/risc-v-matrix-extensions
1•hasheddan•54m ago•0 comments

Debian Becomes Unresponsive after 6.1.0-55 Kernel Update

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154101
7•artooro•55m ago•0 comments

Show HN: A benchmark that diffs the whole database after an AI agent's task

https://github.com/shubhamjoshipromail-svg/software-world-model
1•shubhamjoshipro•59m ago•0 comments

Ask HN: How to visually edit vibe coded websites?

1•keepitverysimpl•59m ago•2 comments

Why did base64 win against uuencode? (2023)

https://retrocomputing.stackexchange.com/questions/3019/why-did-base64-win-against-uuencode
1•zenincognito•1h ago•1 comments

Stop Filming in Log

https://digitalfilms.wordpress.com/2026/11/15/stop-filming-in-log/
5•dabinat•1h ago•2 comments

OpenQuantum's DIY Open-Source Magneto-Optical Atomic Trap

https://www.diyphysics.com/2023/11/10/openquantums-diy-open-source-magneto-optical-atomic-trap/
1•o4c•1h ago•0 comments

Microsoft outage based phishing live now

https://ravenmail.io/blog/microsoft-365-outage-phishing-lure
2•abishekr•1h ago•0 comments

Artex.sh

https://www.artex.sh
1•iLuddite•1h ago•0 comments