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•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

Reaching SOTA on deep research benchmarks by automating agent optimization

https://www.ai21.com/blog/maestro-deep-research-agents/
1•jackau•1m ago•0 comments

The AI coding config fragmentation problem nobody talks about

https://github.com/sampleXbro/agentsmesh
1•samplexBro•3m ago•0 comments

New copy of earliest poem in English, written 1,3k years ago, discovered in Rome

https://www.tcd.ie/news_events/articles/2026/caedmons-hymn-discovery/
1•giuliomagnifico•3m ago•0 comments

Long Covid Linked to Brain Changes, Cognitive Decline

https://www.medscape.com/viewarticle/long-covid-linked-brain-changes-cognitive-decline-2026a1000dhe
1•amichail•4m ago•0 comments

30 ClawHub Skills Are Quietly Recruiting Your AI Agent into a Crypto Swarm

https://www.manifold.security/blog/clawhub-clawswarm-agent-crypto-recruitment
1•axsharma•5m ago•0 comments

Training Large Language Models to Reason in a Continuous Latent Space [pdf]

https://arxiv.org/abs/2412.06769
1•thunderbong•5m ago•0 comments

$20 eBay SFP Module Outperforms My NTP Setup: From Milliseconds to 26

https://austinsnerdythings.com/2026/04/26/ptp-osa5401-26-nanoseconds-raspberry-pi/
3•birdculture•6m ago•0 comments

AI Job Loss Is Not Real

https://orischwartz.com/posts/ai-job-loss-is-not-real.html
1•fleaflicker•6m ago•0 comments

SLM – zero-dependency TUI LLM chat

https://github.com/allocz/slm
1•allocz•7m ago•0 comments

Ask HN: If coding gets faster, where should architecture happen?

1•karlosh•9m ago•0 comments

Show HN: Despatch – Project management for systems thinking, not just software

https://despatch-demo.vercel.app
1•AdobiWanKenobi•9m ago•0 comments

Data Modeling Blog Series

https://floedb.ai/blog/why-bother-with-data-modelling-part-3-keys
1•tkejser•12m ago•0 comments

GitHub – DOS 1.0: Transcription of Tim Paterson's DOS Printouts

https://github.com/DOS-History/Paterson-Listings
2•s2l•14m ago•0 comments

A town of 7k planned so many data centers, it's like adding 51 Walmarts

https://www.washingtonpost.com/nation/2026/04/26/archbald-pennsylvania-data-centers/
1•geox•14m ago•0 comments

SEMA-SQL: Beyond Traditional Relational Querying with Large Language Models

https://arxiv.org/abs/2604.23477
1•zerop•14m ago•0 comments

Netlify Database is now available

https://www.netlify.com/blog/netlify-database/
1•8organicbits•15m ago•0 comments

Open source "died" in March. It just doesn't know it yet

https://www.chainguard.dev/unchained/open-source-died-in-march-it-just-doesnt-know-it-yet
2•zlatkov•15m ago•0 comments

How much can Trump screw with the midterms?

https://www.natesilver.net/p/how-much-can-trump-screw-with-the
2•7777777phil•17m ago•1 comments

Fastest and lightest Android ROMs to revive your phone in 2026

https://www.polimetro.com/en/the-fastest-and-lightest-Android-ROMs/
1•Gedxx•19m ago•0 comments

Ditching GitHub

https://lonami.dev/blog/ditching-github/
1•cdrnsf•22m ago•0 comments

A 14-month responsible disclosure with the RIPE NCC

https://mxsasha.eu/posts/ripe-ncc-disclosure-retrospective/
2•calcifer•26m ago•0 comments

Ask HN: Anyone else suddenly have Brawls Stars on their iPhone?

2•realberkeaslan•27m ago•0 comments

It's time to make a plan for nuclear waste

https://www.technologyreview.com/2026/04/29/1136659/plan-nuclear-waste/
2•joozio•28m ago•0 comments

Personal Productivity Tools in the Age of AI

https://tilldettmering.com/posts/personal-productivity-tools-age-of-ai/
1•Odenwaelder•28m ago•0 comments

Steam Controller teardown: Valve does it again [video]

https://www.youtube.com/watch?v=Va9aTIktlSk
2•skibz•32m ago•0 comments

Bad brains will bottleneck connectomics

https://preservinghope.substack.com/p/bad-brains-will-bottleneck-connectomics
2•arielzj•32m ago•1 comments

Renewable energy just broke a 100-year-old streak

https://www.vox.com/the-highlight/486845/climate-change-coal-solar-renewable-power
1•doener•32m ago•0 comments

Indie music has been invaded by fake fans and cynical viral campaigns

https://www.theguardian.com/music/2026/apr/29/geese-outcry-phoney-virality-music-fans-hype
1•fallinditch•33m ago•0 comments

Two-thirds of babies watch screens – some for eight hours a day

https://www.thetimes.com/uk/technology-uk/article/babies-and-under-2s-screen-time-6jbdmnjlg
19•oj2828•34m ago•12 comments

Show HN: I mapped what's within walking distance for European cities using OSM

https://strado.info/map/
1•strado•34m ago•0 comments