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

Comments

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

Show HN: Use Claude Code to Query and Analyze Your Finances

https://github.com/theFong/mmoney-cli
1•alecfong•24s ago•0 comments

4-Hour Builds: Anatomy of a Developer Experience Collapse

https://fabioluciano.com/en/4-hours-build-anatomy-devex-collapse/
1•fabioluciano•3m ago•0 comments

Spellcasting

https://phyous.github.io/spellcasting/
1•wpnx•5m ago•0 comments

OpenClaw Is Lonely [video]

https://vimeo.com/1160861583
1•laserduck•6m ago•0 comments

Strava removes 2.3M rides from leaderboards in clampdown on cheats

https://www.cyclingweekly.com/news/strava-removes-2-3-million-rides-from-leaderboards-in-clampdow...
1•brippalcharrid•6m ago•0 comments

Constant 14ms attention: 512→524K tokens (24.5x faster than FlashAttention)

https://github.com/RegularJoe-CEO/vllm/blob/waller-operator-integration/benchmarks/attention_benc...
1•luxiedge•8m ago•1 comments

Sequoias Need for Churn

https://www.gnupg.org/blog/20250117-aheinecke-on-sequoia.html
1•mocknen•9m ago•0 comments

Investigators found 'concerning similarities' between Reedley, Las Vegas labs

https://abc30.com/post/investigators-found-concerning-similarities-between-reedley-las-vegas-labs...
1•petethomas•14m ago•0 comments

Sam Altman Responds to Anthropic Ad Campaign

https://twitter.com/i/status/2019139174339928189
2•gradus_ad•15m ago•0 comments

Show HN: I've been running OpenClaw on a $640 Mac Mini for a week. Honest report

https://github.com/openclaw/openclaw
1•Legin82•26m ago•1 comments

Show HN: Tiny PWA to encrypt files using Passkeys

https://filokey.github.io/
2•dansjots•28m ago•0 comments

Doc2Calendar – I built an LLM pipeline to parse complex PDF schedules

https://www.doc2calendar.com/
1•mikebuilds•30m ago•1 comments

Ask HN: Is Connecting via SSH Risky?

3•atrevbot•33m ago•3 comments

Betterment Data Breach

https://haveibeenpwned.com/Breach/Betterment
1•skogstokig•35m ago•0 comments

Show HN: Buquet – Durable queues and workflows using only S3

https://horv.co/buquet.html
1•h0rv•36m ago•0 comments

AI Command and Staff–Operational Evidence and Insights from Wargaming

https://www.militarystrategymagazine.com/article/ai-command-and-staff-operational-evidence-and-in...
1•mooreds•40m ago•0 comments

Understanding the Political Disconnect

https://www.swarthmore.edu/understanding-political-disconnect
1•mooreds•40m ago•0 comments

How to Connect with Your Developer Audience (2022)

https://maida.kim/how-to-build-developer-audience/
1•mooreds•41m ago•0 comments

Open secrets about Hacker News

https://bengtan.com/blog/open-secrets-hacker-news/
4•thunderbong•42m ago•0 comments

Tenstorrent Cuts 20 Cores from Already-Shipping "Blackhole" P150 Cards

https://www.techpowerup.com/345977/tenstorrent-cuts-20-cores-from-already-shipping-blackhole-p150...
1•signa11•42m ago•0 comments

The Newsroom You Carry with You *to WP Staff Laid Off

https://claudepress.substack.com/p/the-newsroom-you-carry-with-you
1•Paodim•45m ago•0 comments

A few CPU hardware bugs

https://www.taricorp.net/2026/a-few-cpu-bugs/
5•signa11•50m ago•0 comments

Wirth's Revenge

https://jmoiron.net/blog/wirths-revenge/
2•signa11•51m ago•0 comments

Andrej Karpathy on 1 year anniversary of vibe coding

https://twitter.com/karpathy/status/2019137879310836075
1•vinhnx•55m ago•0 comments

CIA ends publication of its popular World Factbook reference tool

https://apnews.com/article/cia-world-factbook-ratcliffe-trump-fbec61ce16c4b3db59db9cefce0da043
5•prawn•58m ago•1 comments

Show HN: Rho – an OpenClaw like micro-agent that lives in termux

https://github.com/mikeyobrien/rho
1•mobrienv•1h ago•0 comments

Dictating anywhere with Nvidia open models – Nemotron ASR and Tambourine

https://kingstonkuan.com/blog/nemotron-voice-dictation/
2•kstonekuan•1h ago•0 comments

Prominent Individuals in the Files

https://en.wikipedia.org/wiki/Prominent_individuals_mentioned_in_the_Epstein_files
1•oldfuture•1h ago•0 comments

Ask HN: Are "provably fair" JavaScript games trustless?

1•rishi_blockrand•1h ago•0 comments

MLIR-Tutor: Exercises for Learning MLIR (Originally Written for PPoPP 2026)

https://github.com/Groverkss/mlir-tutor
1•matt_d•1h ago•0 comments