frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

An Open-Source Maintainer's Guide to Saying No

https://www.jlowin.dev/blog/oss-maintainers-guide-to-saying-no
84•jlowin•2h ago•28 comments

Magical systems thinking

https://worksinprogress.co/issue/magical-systems-thinking/
212•epb_hn•5h ago•64 comments

Show HN: A store that generates products from anything you type in search

https://anycrap.shop/
633•kafked•9h ago•217 comments

RIP pthread_cancel

https://eissing.org/icing/posts/rip_pthread_cancel/
105•robin_reala•4h ago•47 comments

486Tang – 486 on a credit-card-sized FPGA board

https://nand2mario.github.io/posts/2025/486tang_486_on_a_credit_card_size_fpga_board/
118•bitbrewer•6h ago•35 comments

Perceived Age

https://sdan.io/blog/perceived-age
46•jxmorris12•3d ago•22 comments

Mago: A fast PHP toolchain written in Rust

https://github.com/carthage-software/mago
120•AbuAssar•7h ago•49 comments

WhoBIRD is now deprecated on certified Android devices

https://github.com/woheller69/whoBIRD
23•proactivesvcs•1h ago•10 comments

‘Someone must know this guy’: four-year wedding crasher mystery solved

https://www.theguardian.com/uk-news/2025/sep/12/wedding-crasher-mystery-solved-four-years-bride-s...
163•wallflower•6h ago•41 comments

How Ruby executes JIT code

https://railsatscale.com/2025-09-08-how-ruby-executes-jit-code-the-hidden-mechanics-behind-the-ma...
47•ciconia•4d ago•0 comments

My First Impressions of Gleam

https://mtlynch.io/notes/gleam-first-impressions/
144•AlexeyBrin•8h ago•53 comments

Safe C++ proposal is not being continued

https://sibellavia.lol/posts/2025/09/safe-c-proposal-is-not-being-continued/
57•charles_irl•2h ago•28 comments

Show HN: CLAVIER-36 – A programming environment for generative music

https://clavier36.com/p/LtZDdcRP3haTWHErgvdM
82•river_dillon•7h ago•18 comments

The Case Against Social Media Is Stronger Than You Think

https://arachnemag.substack.com/p/the-case-against-social-media-is
16•ingve•2h ago•7 comments

Open Source SDR Ham Transceiver Prototype

https://m17project.org/2025/08/18/first-linht-tests/
58•crcastle•3d ago•7 comments

SkiftOS: A hobby OS built from scratch using C/C++ for ARM, x86, and RISC-V

https://skiftos.org
401•ksec•16h ago•77 comments

UTF-8 is a brilliant design

https://iamvishnu.com/posts/utf8-is-brilliant-design
759•vishnuharidas•1d ago•300 comments

Japan sets record of nearly 100k people aged over 100

https://www.bbc.com/news/articles/cd07nljlyv0o
257•bookofjoe•7h ago•155 comments

Lessons in Disabling RC4 in Active Directory

https://syfuhs.net/lessons-in-disabling-rc4-in-active-directory
3•speckx•2d ago•0 comments

Wimpy vs. McDonald's: The Battle of the Burgers

https://www.historytoday.com/archive/history-matters/wimpy-vs-mcdonalds-battle-burgers
8•lermontov•1d ago•7 comments

Java 25's new CPU-Time Profiler

https://mostlynerdless.de/blog/2025/06/11/java-25s-new-cpu-time-profiler-1/
149•SerCe•13h ago•80 comments

Energy-Based Transformers [video]

https://www.youtube.com/watch?v=LUQkWzjv2RM
25•surprisetalk•4d ago•2 comments

How to Use Claude Code Subagents to Parallelize Development

https://zachwills.net/how-to-use-claude-code-subagents-to-parallelize-development/
217•zachwills•4d ago•99 comments

QGIS is a free, open-source, cross platform geographical information system

https://github.com/qgis/QGIS
539•rcarmo•1d ago•119 comments

Legal win

https://ma.tt/2025/09/legal-win/
226•pentagrama•19h ago•192 comments

Many hard LeetCode problems are easy constraint problems

https://buttondown.com/hillelwayne/archive/many-hard-leetcode-problems-are-easy-constraint/
617•mpweiher•1d ago•493 comments

Weird CPU architectures, the MOV only CPU (2020)

https://justanotherelectronicsblog.com/?p=771
96•v9v•4d ago•28 comments

Scientists are rethinking the immune effects of SARS-CoV-2

https://www.bmj.com/content/390/bmj.r1733
59•bookofjoe•2h ago•51 comments

Show HN: Vicinae – A native, Raycast-compatible launcher for Linux

https://github.com/vicinaehq/vicinae
121•aurellius•4d ago•25 comments

The value of bringing a telephoto lens

https://avidandrew.com/telephoto.html
87•freediver•4d ago•89 comments
Open in hackernews

Right-Truncatable Prime Counter

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

Comments

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