frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Zeroserve: A zero-config web server you can script with eBPF

https://su3.io/posts/introducing-zeroserve
71•losfair•3h ago•11 comments

Nvidia is proposing a beast of a CPU system for Windows PCs

https://twitter.com/lemire/status/2062880075117113739
113•tosh•5h ago•246 comments

Benchmarks in Leipzig

https://arxiv.org/abs/2606.05818
87•root-parent•4h ago•38 comments

You Can Run

https://magazine.atavist.com/2026/mccann-cocaine-fugitives
25•bryanrasmussen•2h ago•5 comments

Moving beyond fork() + exec()

https://lwn.net/SubscriberLink/1076018/16f01bbbb8e0d1f0/
175•jwilk•4h ago•156 comments

Google will pay SpaceX $920M per month for compute

https://techcrunch.com/2026/06/05/google-will-pay-spacex-920m-per-month-for-compute/
266•ramanan•6h ago•386 comments

Pokemon Emerald Ported to WebAssembly (100k FPS)

https://pokeemerald.com/
165•tripplyons•7h ago•49 comments

How LLMs work

https://www.0xkato.xyz/how-llms-actually-work/
706•0xkato•2d ago•191 comments

Running Python code in a sandbox with MicroPython and WASM

https://simonwillison.net/2026/Jun/6/micropython-in-a-sandbox/
34•theanonymousone•4h ago•16 comments

Police in England and Wales told to halt AI use in court statements

https://www.ft.com/content/229e5949-3ebc-4151-8a86-a01b5e259241
87•nmstoker•3h ago•29 comments

Show HN: Infinite canvas notes in the non-Euclidean Poincaré disk

https://uonr.github.io/poincake/
28•uonr•4d ago•5 comments

Building Rust Procedural Macros from the Grounds Up

https://www.learnix-os.com/ch02-03-implementing-the-bitfields-proc-macro.html
55•Sagi21805•5d ago•11 comments

S&P 500 rejects SpaceX, also blocking entry for OpenAI and Anthropic

https://arstechnica.com/tech-policy/2026/06/sp-500-blocks-fast-spacex-entry-wont-waive-rule-for-u...
1142•maltalex•14h ago•406 comments

The new bibliomaniacs

https://engelsbergideas.com/notebook/the-new-bibliomaniacs/
51•RickJWagner•6h ago•38 comments

Tribute to Jiro Yamada, Automotive Artist (1960-2025) [video]

https://www.youtube.com/watch?v=rJ2gQ5Md60U
29•NaOH•21h ago•2 comments

Summer of '85: DOSBOS is rejected by ANALOG Computing

https://www.goto10retro.com/p/summer-of-85-dosbos-is-rejected-by
15•ibobev•2d ago•3 comments

Mbodi AI (YC P25) Is Hiring Founding Machine Learning Engineer (Robotics)

https://www.ycombinator.com/companies/mbodi-ai/jobs/WYAcNkX-founding-machine-learning-engineer
1•chitianhao•6h ago

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
219•transistor-man•18h ago•83 comments

Trees to Flows and Back: Unifying Decision Trees and Diffusion Models

https://arxiv.org/abs/2605.00414
20•rsn243•5h ago•2 comments

Splash Is a Colour Format

https://www.todepond.com/lab/splash/
18•tobr•2d ago•17 comments

Python JIT project was asked to pause development

https://discuss.python.org/t/an-announcement-from-the-steering-council-regarding-the-jit-project/...
67•kbumsik•3h ago•23 comments

New method turns ocean water into drinking water, without waste

https://www.rochester.edu/newscenter/what-is-desalination-definition-ocean-water-704732/
465•speckx•1d ago•196 comments

Social Cache Busting

https://www.autodidacts.io/social-cache-busting/
111•surprisetalk•4d ago•40 comments

Ask HN: What was your "oh shit" moment with GenAI?

473•andrehacker•1d ago•850 comments

Pre-Modern Armies for Worldbuilders, Part I: Why They Fight

https://acoup.blog/2026/06/05/collections-pre-modern-armies-for-worldbuilders-part-i-why-they-fight/
150•gostsamo•15h ago•44 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
450•coffeemug•1d ago•102 comments

Show HN: Soft Body Jiggle Physics

https://github.com/xloveee/jiggle-physics
34•vesperance•4d ago•15 comments

The perils of UUID primary keys in SQLite

https://andersmurphy.com/2026/06/05/the-perils-of-uuid-primary-keys-in-sqlite.html
138•emschwartz•19h ago•82 comments

US House lawmakers release draft bill to prohibit state AI rules

https://www.reuters.com/business/us-house-lawmakers-release-draft-bill-regulate-ai-2026-06-04/
90•1vuio0pswjnm7•5h ago•53 comments

Astronauts told to return to ISS after sheltering over air leak repairs

https://www.bbc.com/news/live/c4g44ew3g1kt
415•janpot•1d ago•256 comments
Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•1y ago

Comments

throwawaymaths•1y ago
Curious about base 2. Obviously if you hit a 0 it's immediately not prime, but maybe adjust the rules so:

- you drill through as many 0's on the right.

- you finish on 1.

3, 5, 7, 11, 13, 15, 17 are all right truncatable, 19 is the first non-truncatable prime in this scheme.

nh23423fefe•1y ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•1y ago
I think in the base2 reformulation I propose we do not know for certain if the list of numbers terminates, as all Fermat primes are in the set and we don't know if there are infinitely many Fermat primes.

For base-10 and the original rules the set is provably closed.

"Drilling through zeros" makes the branching unbounded.

jinwoo68•1y ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•1y ago
Just in case any else is wondering: there are only 83 right-truncatable primes (RTP) and that is it. There's two constraints that let you see this "immediately":

1. An RTP must start with {2,3,5,7,9}; and,

2. An RTP must end with {1,3,7,9}.

So, let's take the largest RTP (73939133) and try to "extend" it: there are only four possible extensions: 73939133[1], 73939133[3], 73939133[7], 73939133[9]. None of these are prime. This holds for the other 8-digit RTPs. Therefore, there is no extension to a 9-or-longer RTP. Thus, the list is exhaustive.