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.

Ghostty is leaving GitHub

https://mitchellh.com/writing/ghostty-leaving-github
1673•WadeGrimridge•6h ago•539 comments

ChatGPT serves ads. Here's the full attribution loop

https://www.buchodi.com/how-chatgpt-serves-ads-heres-the-full-attribution-loop/
126•lmbbuchodi•1h ago•70 comments

Before GitHub

https://lucumr.pocoo.org/2026/4/28/before-github/
260•mlex•4h ago•70 comments

Claude system prompt bug wastes user money and bricks managed agents

https://github.com/anthropics/claude-code/issues/49363
79•thomashobohm•1h ago•23 comments

We decreased our LLM costs with Opus

https://www.mendral.com/blog/frontier-model-lower-costs
21•shad42•52m ago•0 comments

Claude for Creative Work

https://www.anthropic.com/news/claude-for-creative-work
38•elsewhen•2h ago•29 comments

OpenAI models coming to Amazon Bedrock: Interview with OpenAI and AWS CEOs

https://stratechery.com/2026/an-interview-with-openai-ceo-sam-altman-and-aws-ceo-matt-garman-abou...
179•translocator•6h ago•69 comments

Carrot Disclosure: Forgejo

https://dustri.org/b/carrot-disclosure-forgejo.html
96•bo0tzz•3h ago•35 comments

I won a championship that doesn't exist

https://ron.stoner.com/How_I_Won_a_Championship_That_Doesnt_Exist/
78•SEJeff•5h ago•56 comments

Intel Arc Pro B70 Review

https://www.pugetsystems.com/labs/articles/intel-arc-pro-b70-review/
109•zdw•4d ago•61 comments

Behavioral timescale synaptic plasticity rewires the brain after an experience

https://www.quantamagazine.org/a-new-type-of-neuroplasticity-rewires-the-brain-after-a-single-exp...
55•ibobev•1d ago•0 comments

GitHub RCE Vulnerability: CVE-2026-3854 Breakdown

https://www.wiz.io/blog/github-rce-vulnerability-cve-2026-3854
246•bo0tzz•9h ago•61 comments

CJIT: C, Just in Time

https://dyne.org/cjit/
86•smartmic•6h ago•25 comments

Your phone is about to stop being yours

https://keepandroidopen.org/en/
979•doener•10h ago•473 comments

Who owns the code Claude Code wrote?

https://legallayer.substack.com/p/who-owns-the-claude-code-wrote
255•senaevren•14h ago•294 comments

Warp is now open-source

https://www.warp.dev/blog/warp-is-now-open-source
159•meetpateltech•9h ago•53 comments

Fuck Off AI Music

http://fuckoffaimusic.com/
6•marvinborner•46m ago•0 comments

I have officially retired from Emacs

https://nullprogram.com/blog/2026/04/26/
179•Fudgel•2d ago•115 comments

Localsend: An open-source cross-platform alternative to AirDrop

https://github.com/localsend/localsend
739•bilsbie•13h ago•233 comments

VibeVoice: Open-source frontier voice AI

https://github.com/microsoft/VibeVoice
319•tosh•13h ago•168 comments

UAE to leave OPEC

https://www.ft.com/content/8c354f2d-3e66-47f1-aad4-9b4aa30e386d
340•bazzmt•12h ago•469 comments

A playable DOOM MCP app

https://chrisnager.com/blog/doom-runs-in-chatgpt-and-claude/
77•chrisnager•6h ago•28 comments

Patch applies fake diffs from commit messages

https://samizdat.dev/phantom-patch/
78•reconquestio•1d ago•23 comments

Infisical (YC W23) Is Hiring Full Stack Software Engineers (Remote)

https://jobs.ashbyhq.com/infisical/782b9da8-20e1-48b2-919e-6c5430c58628
1•vmatsiiako•8h ago

Talkie: a 13B vintage language model from 1930

https://talkie-lm.com/introducing-talkie
642•jekude•1d ago•262 comments

An update on GitHub availability

https://github.blog/news-insights/company-news/an-update-on-github-availability/
314•salkahfi•15h ago•209 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
54•frabonacci•9h ago•22 comments

APL\? (1990)

https://dl.acm.org/doi/epdf/10.1145/97811.97845
19•tosh•4d ago•8 comments

Waymo in Portland

https://waymo.com/blog/shorts/waymo-in-portland/
250•xnx•7h ago•388 comments

The biggest insect ever was a "dragonfly"

https://eartharchives.org/index.html
6•anjel•2d ago•2 comments