frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
130•transistor-man•5h ago•40 comments

How LLMs work

https://www.0xkato.xyz/how-llms-actually-work/
137•0xkato•2d ago•27 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/
34•gostsamo•2h ago•4 comments

The back cover of C++: The Language raises questions not answered by front cover

https://devblogs.microsoft.com/oldnewthing/20260605-01/?p=112391
59•paulmooreparks•2h ago•9 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...
102•maltalex•1h ago•15 comments

Lockdown Mode

https://help.openai.com/en/articles/20001061-lockdown-mode
34•berlianta•2h ago•14 comments

No Let, No Rec, No Problem: A Gentler Introduction to the Y and Z Combinators

https://irfanali.org/blog/zcom
26•sayyadirfanali•3d ago•3 comments

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

https://www.bbc.com/news/live/c4g44ew3g1kt
376•janpot•15h ago•243 comments

pg_durable: Microsoft open sources in-database durable execution

https://github.com/microsoft/pg_durable
375•coffeemug•14h ago•85 comments

New method turns ocean water into drinking water, without waste

https://www.rochester.edu/newscenter/what-is-desalination-definition-ocean-water-704732/
323•speckx•15h ago•138 comments

Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency

https://blog.google/innovation-and-ai/technology/developers-tools/quantization-aware-training-gem...
320•theanonymousone•13h ago•99 comments

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

267•andrehacker•1d ago•513 comments

Did Claude increase bugs in rsync?

https://alexispurslane.github.io/rsync-analysis/
372•logicprog•17h ago•375 comments

Mouseless – keyboard-driven control of macOS/Linux/Windows

https://mouseless.click
508•riddley•2d ago•211 comments

Ten Years of Franz

https://meetfranz.com/blog/ten-years-of-franz
8•tosh•2d ago•1 comments

My Agent Skill for Test-Driven Development

https://www.saturnci.com/my-agent-skill-for-test-driven-development.html
162•laxmena•1d ago•66 comments

The perils of UUID primary keys in SQLite

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

Ask HN: Why is the HN crowd so anti-AI?

82•Ekami•3h ago•153 comments

Gov.uk has replaced Stripe with Dutch provider Adyen

https://www.theregister.com/public-sector/2026/06/04/govuk-goes-dutch-on-payments-as-it-dumps-str...
402•toomuchtodo•13h ago•137 comments

Europe's largest Copper Age tomb: children's bones show ancient health crisis

https://phys.org/news/2026-05-europe-largest-copper-age-tomb.html
25•gmays•1d ago•5 comments

Conventional Commits encourages focus on the wrong things

https://sumnerevans.com/posts/software-engineering/stop-using-conventional-commits/
293•jsve•14h ago•225 comments

The Quiet Numbers Station: Decoding Nineteen Years of GPS Cryptography

https://www.benthamsgaze.org/2026/06/02/the-quiet-numbers-station-decoding-nineteen-years-of-gps-...
80•lordgilman•17h ago•69 comments

Nine Ways to Do Inheritance in Rust, a Language Without Inheritance

https://medium.com/@carlmkadie/nine-ways-to-do-inheritance-in-rust-a-language-without-inheritance...
27•pjmlp•2d ago•1 comments

Three of our worst VC stories

https://twitter.com/eastdakota/status/2062860530360959273
215•orgonon•11h ago•105 comments

Show HN: ABC Classic 100 Rankings visualised

https://classic100.gotski.workers.dev/
26•gotski•4h ago•17 comments

Nordstjernen 1.0

https://github.com/nordstjernen-web/nordstjernen/releases/tag/1.0.0
37•andreasrosdal•6h ago•14 comments

Transformers are inherently succinct

https://openreview.net/pdf?id=Yxz92UuPLQ
110•brandonb•11h ago•32 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
383•mimorigasaka•21h ago•201 comments

India's surprise baby bust

https://www.economist.com/leaders/2026/06/04/indias-surprise-baby-bust-is-a-warning-to-the-world
160•hakonbogen•15h ago•707 comments

Cooldown Support for Ruby Bundler

https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html
152•calyhre•3d ago•42 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.