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

AgentShift–One command migrates your OpenClaw agents to NemoClaw

https://agentshift.sh/
1•ogkranthi•31s ago•0 comments

Uber engineer alleges hostile 'boys club' culture, firing after cancer leave

https://archive.org/details/10127280
1•nickvec•3m ago•0 comments

Spath and Splan

https://sumato.ai/posts/2026-04-04-spath-and-splan.html
1•jasonmoo•4m ago•0 comments

Ask HN: Interactive Car Mechanics Guide?

1•id00•8m ago•0 comments

Scientists are working on "everything vaccines"

https://economist.com/science-and-technology/2026/04/01/scientists-are-working-on-everything-vacc...
1•andsoitis•8m ago•0 comments

Donald Knuth: Open Letter to Condoleezza Rice (2002)

https://www-cs-faculty.stanford.edu/~knuth/rice.html
3•car•9m ago•1 comments

100 Years of the Iron Ring

https://engineerscanada.ca/news-and-events/news/100-years-of-the-iron-ring-a-symbol-of-an-enginee...
1•jruohonen•15m ago•0 comments

Vibe coded a design tool for a client handover as a non-technical founder

https://www.ugh.design
1•jayantrao94•20m ago•1 comments

Video Friday: Digit Learns to Dance

https://spectrum.ieee.org/video-humanoid-dancing
2•jruohonen•22m ago•0 comments

AdGuard ad trackers What ad-based surveillance does to your traffic

https://adguard.com/en/blog/adguard-ad-tracker-report-2025.html
1•XzetaU8•24m ago•0 comments

Pale Blue Dot

https://en.wikipedia.org/wiki/Pale_Blue_Dot
2•thunderbong•24m ago•0 comments

EU cyber agency attributes major data breach to TeamPCP hacking group

https://therecord.media/european-commission-cyberattack-teampcp
1•jruohonen•30m ago•1 comments

Show HN: AI Dev Board – Job Board for AI Developers with a Full REST API

https://aidevboard.com/
2•8bitconcepts•34m ago•0 comments

Ask HN: Why still embed heavy 3rd-party iFrames for simple social proof?

1•LordKode•36m ago•0 comments

Show HN: HyprMac – I missed Hyprland after switching to Mac, so I built it

https://github.com/zacharytgray/HyprMac
1•zachtgray•39m ago•0 comments

Thoughts on AI and Research [pdf]

https://economics.mit.edu/sites/default/files/2026-04/IA%20AI%20note_1.pdf
2•jxmorris12•41m ago•0 comments

Jungle old school drum and bass radio

https://radio.aklein.studio/public/lounge24_radio
3•misterthp•45m ago•0 comments

It's open season for refusing AI

https://www.bloodinthemachine.com/p/its-open-season-for-refusing-ai
6•HotGarbage•52m ago•2 comments

No luck for Broadcom as Netflix and Quinn Emanuel succeed in nullity claim

https://www.juve-patent.com/cases/no-luck-for-broadcom-as-netflix-and-quinn-emanuel-succeed-in-an...
2•breve•53m ago•0 comments

How to Evaluate Claude Skill Output Quality for Prompt-to-SQL Scenarios

https://dekart.xyz/blog/how-to-evaluate-claude-skill-output-quality-for-prompt-to-sql-scenarios/
2•delfrrr•53m ago•0 comments

Mcpx: a Rust proxy that catches MCP schema changes and tool poisoning at runtime

https://github.com/MeghP89/mcpx
2•meghp89•54m ago•0 comments

Naming rights to street auctioned in San Francisco

https://paintastreet.com/auction
2•18nleung•56m ago•0 comments

Show HN: Clangine-de-Poitrine

https://github.com/jerpint/clangine-de-poitrine
1•jerpint•1h ago•0 comments

New Wave of Privacy Litigation Under 2005 Colorado Telemarketing Fraud Act

https://web.archive.org/web/20260212222452/https://www.troutman.com/insights/new-wave-of-privacy-...
1•1vuio0pswjnm7•1h ago•1 comments

Auto-harness: Self improving agentic systems with auto-evals (open-sourced)

https://twitter.com/gauri__gupta/status/2040251170099524025
2•gauri1902•1h ago•2 comments

A Big Alignment Loophole of Current Froniter LLMs

https://github.com/wuyoscar/ISC-Bench
3•pythonsen•1h ago•1 comments

I am fish and this is my little monkey terrarium

https://fish2fish.neocities.org/mainpage/main
3•random__duck•1h ago•0 comments

Show HN: Rust HTTP library modeled after Go but 2-3x faster

https://github.com/alshdavid/uhttp
1•apatheticonion•1h ago•0 comments

Lenovo ThinkPad P16 Gen 3 Review: RTX Pro 5000 Power in True Workstation Laptop

https://www.storagereview.com/review/lenovo-thinkpad-p16-gen-3-review-rtx-pro-5000-power-in-a-tru...
2•teleforce•1h ago•0 comments

Anthropic struggling with Chinese competition, its own safety obsession

https://www.theregister.com/2026/03/28/miss_anthropic_not_those_who/
4•davikr•1h ago•0 comments