frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
9•rainmans•11mo ago

Comments

throwawaymaths•11mo 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•11mo ago
i dont think smaller radixes make the problem more interesting. the problem is interesting because base 10 has a large branching factor
throwawaymaths•11mo 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•11mo ago
There's a Project Euler problem for finding truncatable prime numbers, from both left and right: https://projecteuler.net/problem=37
thechao•11mo 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.

Deterministic Fully-Static Whole-Binary Translation Without Heuristics

https://arxiv.org/abs/2605.08419
204•matt_d•6h ago•49 comments

Restore full BambuNetwork support for Bambu Lab printers

https://github.com/FULU-Foundation/OrcaSlicer-bambulab
462•Murfalo•13h ago•201 comments

New stainless steel can survive conditions for hydrogen production in seawater

https://www.sciencedaily.com/releases/2026/05/260510030950.htm
70•HardwareLust•2d ago•25 comments

Googlebook

https://googlebook.google/
800•tambourine_man•17h ago•1311 comments

Show HN: Needle: We Distilled Gemini Tool Calling into a 26M Model

https://github.com/cactus-compute/needle
486•HenryNdubuaku•17h ago•154 comments

The Boring Part of Bell Labs (2025)

https://acesounderglass.com/2025/11/15/the-boring-part-of-bell-labs/
18•surprisetalk•4d ago•2 comments

SecurityBaseline.eu

https://internetcleanup.foundation/2026/05/european-governments-3000-tracking-sites-1000-phpmyadm...
168•aequitas•3h ago•78 comments

The vi family

https://lpar.ATH0.com/posts/2026/05/the-vi-family/
185•hggh•1w ago•112 comments

How to make your text look futuristic (2016)

https://typesetinthefuture.com/2016/02/18/futuristic/
369•_vaporwave_•14h ago•48 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
604•nilirl•20h ago•265 comments

CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
324•chizhik-pyzhik•16h ago•162 comments

Kraftwerk's radical 1976 track

https://www.bbc.com/culture/article/20260511-kraftwerks-radical-1976-track-radioactivity-became-a...
168•tcp_handshaker•11h ago•117 comments

Traceway: MIT-licensed observability stack you can self-host in ~90s

https://github.com/tracewayapp/traceway
120•sebakubisz•2d ago•13 comments

Preserving Fisher-Price Pixter

https://dmitry.gr/?r=05.Projects&proj=37.%20Pixter
7•dmitrygr•2d ago•0 comments

Scrcpy v4.0

https://github.com/Genymobile/scrcpy/releases/tag/v4.0
216•xnx•14h ago•28 comments

When “idle” isn't idle: how a Linux kernel optimization became a QUIC bug

https://blog.cloudflare.com/quic-death-spiral-fix/
100•sbulaev•11h ago•12 comments

Rendering the Sky, Sunsets, and Planets

https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
483•ibobev•21h ago•39 comments

Quack: The DuckDB Client-Server Protocol

https://duckdb.org/2026/05/12/quack-remote-protocol
295•aduffy•17h ago•61 comments

My graduation cap runs Rust

https://ericswpark.com/blog/2026/2026-05-12-my-graduation-cap-runs-rust/
158•ericswpark•11h ago•59 comments

Up in Smoke

https://thebaffler.com/odds-and-ends/the-profession-that-does-not-exist-symposium
28•NaOH•2d ago•9 comments

The Future of Obsidian Plugins

https://obsidian.md/blog/future-of-plugins/
384•xz18r•19h ago•146 comments

Reimagining the mouse pointer for the AI era

https://deepmind.google/blog/ai-pointer/
210•devhouse•17h ago•178 comments

What if there was no BASIC in EndBASIC?

https://blogsystem5.substack.com/p/no-basic-in-endbasic
24•rbanffy•3d ago•5 comments

As researchers age, they produce less disruptive work

https://nautil.us/is-this-why-science-advances-one-funeral-at-a-time-1280650
81•Brajeshwar•17h ago•83 comments

Fc, a lossless compressor for floating-point streams

https://github.com/xtellect/fc
73•enduku•3d ago•20 comments

Tell NYT, Atlantic, USA Today to keep Wayback Machine

https://www.savethearchive.com/newsleaders/
341•doener•11h ago•94 comments

Starship V3

https://www.spacex.com/updates#starship-v3
243•fprog•9h ago•378 comments

I made Rust’s cargo copy but for CPP

https://github.com/user-with-username/crow
14•anybodyy•2d ago•7 comments

Show HN: Agentic interface for mainframes and COBOL

https://www.hypercubic.ai/hopper
81•sai18•17h ago•42 comments

Bambu Lab is abusing the open source social contract

https://www.jeffgeerling.com/blog/2026/bambu-lab-abusing-open-source-social-contract/
1286•rubenbe•20h ago•400 comments