frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's time to talk about my writerdeck

https://veronicaexplains.net/my-first-writerdeck/
174•hggh•3h ago•99 comments

.NET (OK, C#) gets union types

https://andrewlock.net/exploring-the-dotnet-11-preview-2-dotnet-gets-union-types/
77•ingve•1d ago•60 comments

Markdown Is Not LaTeX

https://www.iconoclasts.blog/joe/markdown-is-not-latex
7•joesuf4•16m ago•0 comments

My two-part desk setup (2025)

https://arslan.io/2025/11/18/my-two-part-desk-setup/
156•James72689•3d ago•102 comments

On The <dl> (2021)

https://benmyers.dev/blog/on-the-dl/
319•ravenical•9h ago•102 comments

Texas woman arrested for Facebook post about town water quality

https://reclaimthenet.org/texas-woman-arrested-for-facebook-post-about-town-water-quality
510•abawany•4h ago•229 comments

Green card seekers must leave U.S. to apply, Trump administration says

https://www.nytimes.com/2026/05/22/us/politics/green-card-changes-trump.html
338•tlhunter•1d ago•676 comments

Hengefinder: Finding When the Sun Aligns with Your Street

https://victoriaritvo.com/blog/hengefinder/
85•evakhoury•1d ago•20 comments

Reverse engineering circuitry in a Spacelab computer from 1980

https://www.righto.com/2026/05/reverse-engineering-spacelab-computer.html
74•elpocko•5h ago•6 comments

New map reveals lost roads of the Roman Empire

https://www.scientificamerican.com/article/new-high-resolution-map-transforms-what-we-know-about-...
10•sohkamyung•3d ago•0 comments

z386: An Open-Source 80386 Built Around Original Microcode

https://nand2mario.github.io/posts/2026/z386/
107•wicket•7h ago•21 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
202•nand2mario•10h ago•39 comments

SpaceX launches Starship v3 rocket

https://www.space.com/space-exploration/launches-spacecraft/spacex-starship-v3-megarocket-first-t...
309•busymom0•22h ago•218 comments

PHP's Oddities

https://flowtwo.io/post/php%27s-oddities
83•thejoeflow•4d ago•88 comments

The Art of Money Getting

https://kk.org/cooltools/book-freak-210-the-art-of-money-getting/
157•dxs•9h ago•110 comments

Making Deep Learning Go Brrrr from First Principles (2022)

https://horace.io/brrr_intro.html
138•tosh•10h ago•55 comments

Italy moves to Airbus A330 tankers

https://www.euronews.com/my-europe/2026/05/21/italy-moves-to-airbus-a330-tankers-in-major-nato-al...
214•embedding-shape•6h ago•69 comments

-​-dangerously-skip-reading-code

https://olano.dev/blog/dangerously-skip/
75•fagnerbrack•12h ago•89 comments

Kindle loyalists scramble as Amazon turns page on old e-readers

https://www.reuters.com/business/retail-consumer/kindle-loyalists-scramble-amazon-turns-page-old-...
92•cf100clunk•4d ago•97 comments

sp.h: Fixing C by giving it a high quality, ultra portable standard library

https://spader.zone/sp/
166•dboon•3d ago•154 comments

Rubish: A Unix shell written in pure Ruby

https://github.com/amatsuda/rubish
161•winebarrel•15h ago•95 comments

Oura says it gets government demands for user data

https://this.weekinsecurity.com/oura-says-it-gets-government-demands-for-user-data-will-it-share-...
240•donohoe•8h ago•140 comments

Highest Random Weight in Elixir

https://jola.dev/posts/highest-random-weight-in-elixir
55•shintoist•2d ago•2 comments

Lisp in Vim (2019)

https://susam.net/lisp-in-vim.html
45•whent•7h ago•6 comments

Evaluating Spec CPU2026

https://chipsandcheese.com/p/evaluating-spec-cpu2026
21•zdw•6h ago•3 comments

Spanish court declines to fine NordVPN over LaLiga piracy blocking order

https://torrentfreak.com/spanish-court-declines-to-fine-nordvpn-over-laliga-piracy-blocking-order/
93•gslin•15h ago•80 comments

Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

https://twitter.com/YoavCodes/status/2058064720553222567
106•bundie•10h ago•117 comments

Improving C# Memory Safety

https://devblogs.microsoft.com/dotnet/improving-csharp-memory-safety/
132•soheilpro•2d ago•28 comments

Microsoft starts canceling Claude Code licenses

https://www.theverge.com/tech/930447/microsoft-claude-code-discontinued-notepad
442•robertkarl•1d ago•427 comments

Solving the “Zork” Mystery

https://www.dpolakovic.space/blogs/zork-part2
50•dpola•4d ago•19 comments
Open in hackernews

Right-Truncatable Prime Counter

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

Comments

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