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

People Really Are More Likely to Commit Crimes After a Cancer Diagnosis

https://www.vice.com/en/article/people-really-are-more-likely-to-commit-crimes-after-a-cancer-dia...
1•pseudolus•1m ago•0 comments

Show HN: Restless – a CLI that discovers and maps APIs automatically

https://github.com/bspippi1337/restless
1•bspippi1337•1m ago•1 comments

Four months of Ruby Central moving Ruby backward

https://andre.arko.net/2026/03/03/four-months-of-ruby-central-moving-ruby-backward/
1•bigiain•4m ago•0 comments

Trump Worries Iran's Leaders May Be Just 'As Bad' After War

https://www.bloomberg.com/news/articles/2026-03-03/trump-worries-iranian-leaders-could-be-just-as...
1•petethomas•4m ago•0 comments

Anatomy of a Web3 Supply Chain Attack

https://www.notesoncloudcomputing.com/posts/2026-02-27-anatomy-of-a-web3-supply-chain-attack/
1•carlesloriente•6m ago•0 comments

Windows 98 Disk Defrag Simulator

https://defrag98.com/
1•nixass•8m ago•0 comments

3M Canadian Adults Taking GLP-1 Drugs, Reshaping Eating and Spending Habits

https://www.thecanadianpressnews.ca/health/3m-canadian-adults-taking-glp-1-drugs-reshaping-eating...
2•karakoram•11m ago•0 comments

Claude's Cycles [pdf]

https://cs.stanford.edu/~knuth/papers/claude-cycles.pdf
1•cebert•11m ago•0 comments

Haptics: Tactile Feedback for the Mobile Web

https://haptics.lochie.me/
1•andresquez•12m ago•1 comments

Offshore Wind Turbine Will House a Data Center Underwater

https://spectrum.ieee.org/data-center-floating-wind-turbine
1•defrost•14m ago•0 comments

Intel appoints noted technologist Dr. Craig Barratt as Board achair

https://www.intc.com/news-events/press-releases/detail/1762/intel-board-chair-frank-d-yeary-to-re...
1•osnium123•19m ago•1 comments

OpenAI is developing alternative to Microsoft's GitHub

https://www.reuters.com/business/openai-is-developing-alternative-microsofts-github-information-r...
2•0in•21m ago•0 comments

Scaling up enhanced rock weathering for equitable climate change mitigation

https://www.nature.com/articles/s44458-026-00034-w
1•PaulHoule•21m ago•0 comments

Sam Altman says OpenAI is renegotiating Pentagon 'opportunistic and sloppy' deal

https://fortune.com/2026/03/03/sam-altman-openai-pentagon-renegotiating-deal-anthropic/
1•jacquesm•22m ago•0 comments

Show HN: I built a LLM human rights evaluator for HN (content vs. site behavior)

https://observatory.unratified.org
2•9wzYQbTYsAIc•22m ago•2 comments

The Supreme Court doesn't care if you want to copyright your AI-generated art

https://www.engadget.com/ai/the-supreme-court-doesnt-care-if-you-want-to-copyright-your-ai-genera...
2•latexr•24m ago•0 comments

Google Chrome switches to two-week release cycle

https://developer.chrome.com/blog/chrome-two-week-release
1•mkurz•26m ago•0 comments

ChatGPT Health 'under-triaged' half of medical emergencies in a new study

https://www.nbcnews.com/health/health-news/chatgpt-health-under-triaged-half-medical-emergencies-...
1•0in•28m ago•0 comments

Universal-3 Pro Streaming

https://www.assemblyai.com/universal-3-pro-streaming
1•handfuloflight•31m ago•0 comments

Show HN: Dracula-AI – A lightweight, async SQLite-backed Gemini wrapper

https://github.com/suleymanibis0/dracula
1•suleymanibis•32m ago•0 comments

Show HN: Sovereign Trace Stamp – Frozen triple-time cryptographic timestamp

https://github.com/AionSystem/AION-BRAIN/tree/main/projects/sovereign-trace
1•sheldonksalmon•35m ago•0 comments

Cancel ChatGPT AI boycott surges after OpenAI pentagon military deal

https://www.euronews.com/next/2026/03/02/cancel-chatgpt-ai-boycott-surges-after-openai-pentagon-m...
20•nothrowaways•38m ago•2 comments

Show HN: Demarkus – De-centralized Markup for Us:memory for AI agents and humans

https://github.com/latebit-io/demarkus
1•ontehfritz•41m ago•0 comments

Quantifying the Swiss Marriage Tax

https://gendx.dev/blog/2026/03/02/swiss-marriage-tax.html
2•birdculture•43m ago•0 comments

Migrating 11,000 JavaScript files to TypeScript over 7 years at Patreon

https://www.patreon.com/posts/seven-years-to-typescript-152144830
2•satvikpendem•44m ago•0 comments

Engineering over Enforcement (2023)

https://www.contraption.co/engineering-over-enforcement/
1•mooreds•45m ago•0 comments

The jellyfish knows how to survive uncertain times

https://herbertlui.net/the-jellyfish-knows-how-to-survive-uncertain-times/
1•herbertl•47m ago•0 comments

Obama is right about aliens

https://www.doomsdayscenario.co/p/obama-is-right-about-aliens
1•mooreds•50m ago•0 comments

Life in the Endless Scroll: What We're Losing

https://www.medscape.com/viewarticle/life-endless-scroll-what-were-losing-2026a10005od
2•wjb3•50m ago•0 comments

Zen of AI Coding

https://nonstructured.com/zen-of-ai-coding/
2•vinhnx•50m ago•0 comments