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

Comments

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

Proposal method for electricity-free cooling in data centers

https://engineering.nyu.edu/news/new-method-data-center-cooling-could-dramatically-decrease-elect...
1•giuliomagnifico•34s ago•0 comments

Elevated errors on Claude Opus 4.6 and Sonnet 4.6

https://status.claude.com/incidents/h04m7sftmtk5
1•zurfer•1m ago•0 comments

Question diagnostic: Has your billing architecture hit its ceiling?

https://www.solvimon.com/blog/has-your-billing-hit-its-ceiling
1•arnon•4m ago•0 comments

FTC Warns 97 Auto Dealership Groups About Deceptive Pricing

https://www.ftc.gov/news-events/news/press-releases/2026/03/ftc-warns-97-auto-dealership-groups-a...
1•cebert•5m ago•1 comments

Tensor – publicly available multi-agent system

https://www.tensor-omega.com/
1•emrekaraoglu_•6m ago•1 comments

Maintenant – Monitor everything. Manage nothing

https://maintenant.dev
1•qbonnard•9m ago•0 comments

Show HN: M68k assembly emulator that runs in the browser

https://github.com/gianlucarea/m68k-interpreter
1•aldino97•9m ago•0 comments

Music as a scientific metaphor for mind and brain

https://www.sciencedirect.com/science/article/pii/S0149763426001004
1•XzetaU8•12m ago•0 comments

Plastic-Eating Bacteria

https://news.mit.edu/2026/ocean-bacteria-break-down-biodegradable-plastic-0316
1•I_Nidhi•13m ago•0 comments

Automated Deployments with GitHub Actions for Amazon ECS Express Mode

https://aws.amazon.com/blogs/containers/automated-deployments-with-github-actions-for-amazon-ecs-...
2•mariuz•16m ago•0 comments

Close Brothers banking group to cut 600 jobs and roll out AI 'at pace'

https://www.theguardian.com/business/2026/mar/17/close-brothers-banking-group-cut-jobs-car-financ...
3•chrisjj•18m ago•0 comments

Advancements and future directions in AI-assisted coding: Erik Meijer (2023) [video]

https://www.youtube.com/watch?v=SsJqmV3Wtkg
1•pramodbiligiri•18m ago•0 comments

We publish the SOP for our hospitality AI agent – here's what's in it

https://unabypolydom.medium.com/your-ai-agent-needs-an-sop-heres-what-ours-looks-like-7db98cba873c
1•wastemaster•20m ago•1 comments

A complete set of canonical nucleobases in the carbonaceous asteroid Ryugu

https://www.nature.com/articles/s41550-026-02791-z
1•michaelsbradley•20m ago•0 comments

AI crowd counter confuses people with rock columns at Giant's Causeway

https://www.bbc.co.uk/news/articles/c39wgjpgg4ko
1•ccanni•24m ago•0 comments

The Bar for Joining the Technical Workforce Is Skyrocketing

https://www.justinmath.com/its-more-important-than-ever-to-develop-serious-skills/
1•speckx•25m ago•0 comments

Would you use a free AI security review for your public GitHub repo?

https://vuecode.dev/roast
1•scillt•26m ago•1 comments

Kagi Small Web

https://kagi.com/smallweb/
28•trueduke•26m ago•3 comments

Rtk – CLI proxy that reduces LLM token consumption by 60-90%

https://github.com/rtk-ai/rtk
1•armcat•26m ago•0 comments

Why people in L.A. are strapping cameras on their bodies to do chores?

https://www.latimes.com/business/story/2026-03-12/why-people-in-la-are-strapping-cameras-on-their...
1•trueduke•27m ago•0 comments

Building a Shell

https://healeycodes.com/building-a-shell
2•ingve•27m ago•0 comments

Geography as an API: A Framework for Finding Mispriced Cities

https://substack.com/home/post/p-191144998
1•node_architect•29m ago•0 comments

Cannabis is not an effective treatment for common mental health conditions

https://www.theguardian.com/society/2026/mar/16/cannabis-inot-effective-treatment-for-common-ment...
1•Geekette•29m ago•1 comments

AI Won't Replace Innovation

https://aspiringforintelligence.substack.com/p/ai-wont-replace-innovation
3•kiyanwang•30m ago•0 comments

AppScript: Objective-C Without the C

https://codeberg.org/leeg/appscript
2•ingve•32m ago•0 comments

I've added human.json to my website

https://sethmlarson.dev/ive-added-human-dot-json-to-my-website
1•speckx•32m ago•0 comments

Millwright: Smarter Tool Selection from Agent Experience

https://minor.gripe/posts/2026-03-13-millwright_smarter_tool_selection_with_adaptive_toolsheds/
1•matthewsinclair•34m ago•0 comments

Gleam v1.15.0 has been published

https://gleam.run/news/upgrading-hex-security/
1•kharec•37m ago•0 comments

VibesSDK: Robust AI Agent SDK for TypeScript and Deno

https://github.com/a7ul/vibes
1•atulanand94•38m ago•1 comments

Olympia becomes first Washington city to pass polyamory protections

https://www.opb.org/article/2026/03/15/olympia-first-washington-city-polyamory-protection/
1•robtherobber•40m ago•0 comments