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

Comments

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

Markiplier Will Open Iron Lung on 2,500 Screens with No Distributor

https://www.indiewire.com/news/analysis/markiplier-open-iron-lung-2500-screens-no-distributor-123...
1•Tomte•28s ago•0 comments

I built an app to install AI as if it were Steam or the App Store

https://getdione.app/
1•deeivihh•1m ago•0 comments

Apple-TSMC: The Partnership That Built Modern Semiconductors

https://newsletter.semianalysis.com/p/apple-tsmc-the-partnership-that-built
1•akyuu•2m ago•0 comments

Getting Real Leverage from Claude Code

https://estsauver.com/blog/claude-code-workflow
1•estsauver•3m ago•0 comments

I built a geocoder for AI agents because I couldn't afford Google Maps

https://jonready.com/blog/posts/geocoder-for-ai-agents.html
1•mips_avatar•3m ago•1 comments

Pain and Reflection = Progress

https://federicopereiro.com/progress-formula/
1•swah•6m ago•0 comments

The open-source Ableton-style music composer for the web

https://github.com/AppsYogi-com/ComposeYogi
2•vaibhav1312•6m ago•0 comments

Audacious: Playback Control

https://github.com/madprops/playback-control
1•the_stocker•6m ago•0 comments

Interface Craft: a library for those committed to designing with uncommon care

https://www.interfacecraft.dev/
1•duck•7m ago•0 comments

What Is Cloud.microsoft?

https://support.microsoft.com/en-us/office/what-is-cloud-microsoft-7ba4c8b9-d062-4444-84a5-fca6c3...
2•microsoftedging•7m ago•0 comments

Are diffs still useful for AI-assisted code changes?

1•nuky•8m ago•1 comments

Can the American Oboe Sing Again?

https://www.nytimes.com/2026/01/14/arts/music/oboe-laubin-jim-phelan.html
2•perihelions•8m ago•0 comments

Show HN: DanceJump For YouTube – turning videos into browser rhythm game

https://chromewebstore.google.com/detail/dancejump-for-youtube/hhdeflibphdghcpblkekakmbennfcaci
1•maaydin•8m ago•0 comments

The Androgen Warp

https://factsandreason.substack.com/p/the-androgen-warp
1•paulpauper•8m ago•0 comments

Man got $2,500 whole-body MRI that found no problems – then had stroke

https://arstechnica.com/health/2026/01/man-got-2500-whole-body-mri-that-found-no-problems-then-ha...
1•_fs•8m ago•0 comments

Blogging, Writing, Musing, and Thinking

https://brianschrader.com/archive/blogging-writing-musing-and-thinking/
1•sonicrocketman•9m ago•0 comments

Verizon is down, with many users seeing 'SOS' – here's everything we know

https://www.techradar.com/news/live/verizon-outage-january-2026
2•bluedino•9m ago•1 comments

Tudor Trade War

https://www.ageofinvention.xyz/p/age-of-invention-tudor-trade-war
1•paulpauper•10m ago•0 comments

Redesigning my microkernel from the ground up

https://drewdevault.com/2026/01/12/2026-01-12-Hermes-from-the-ground-up.html
2•wicket•13m ago•0 comments

Open source AMD Linux driver to achieve parity with Windows in ray-tracing?

https://www.phoronix.com/news/RADV-10x-Fast-RT-Pipeline-Comp
1•lemome•14m ago•0 comments

Switch: robots.txt now required for Googlebot to index website

https://adactio.com/journal/22355
1•cdrnsf•14m ago•0 comments

GRPO vs. GDPO: Building Intuition for RL Reward Policies

https://huggingface.co/spaces/dylan-marimo-io/Reward-Policy-Intuition
1•dmadisetti•14m ago•1 comments

Grok will not generate bikini images: changes made to reject vulgar requests

https://www.msn.com/en-in/money/markets/elon-musk-s-grok-will-not-generate-bikini-images-xai-made...
2•randycupertino•14m ago•0 comments

Anything Down?

2•Artur-Defences•16m ago•1 comments

Thinking with Map: Reinforced Parallel Map-Augemented Agent for Geolocalization

https://amap-ml.github.io/Thinking-with-Map/
1•gmays•17m ago•0 comments

Signal creator Moxie Marlinspike wants to do for AI what he did for messaging

https://arstechnica.com/security/2026/01/signal-creator-moxie-marlinspike-wants-to-do-for-ai-what...
1•bookofjoe•17m ago•1 comments

Clarify CRM vs. HubSpot

1•isura•18m ago•1 comments

US tech giants allying with European far-right to strip back EU rules

https://www.brusselstimes.com/1916422/us-tech-giants-allying-with-european-far-right-to-strip-bac...
3•DyslexicAtheist•18m ago•0 comments

YouTube now has a way for parents to block kids from watching Shorts

https://techcrunch.com/2026/01/14/youtube-now-has-a-way-for-parents-to-block-kids-from-watching-s...
4•rbanffy•18m ago•1 comments

Show HN: Sparrow-1 – Audio-native model for human-level turn-taking without ASR

https://www.tavus.io/post/sparrow-1-human-level-conversational-timing-in-real-time-voice
3•code_brian•19m ago•0 comments