frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Meta Announces Nuclear Energy Projects, Unlocking Up to 6.6 GW

https://about.fb.com/news/2026/01/meta-nuclear-energy-projects-power-american-ai-leadership/
38•ChrisArchitect•19m ago•19 comments

Poison Fountain

https://rnsaffn.com/poison3/
83•atomic128•2h ago•53 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
231•akhuettel•7h ago•106 comments

A set of Idiomatic prod-grade katas for experienced devs transitioning to Go

https://github.com/MedUnes/go-kata
27•medunes•3d ago•5 comments

Ask HN: What Are You Working On? (January 2026)

49•david927•2h ago•159 comments

Happy 50th Birthday KIM-1

https://github.com/netzherpes/KIM1-Demo
49•JKCalhoun•5h ago•17 comments

"Food JPEGs" in Super Smash Bros. & Kirby Air Riders

https://sethmlarson.dev/food-jpegs-in-super-smash-bros-and-kirby-air-riders
211•SethMLarson•5d ago•52 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
514•smurda•7h ago•520 comments

C++ std::move doesn't move anything: A deep dive into Value Categories

https://0xghost.dev/blog/std-move-deep-dive/
193•signa11•2d ago•151 comments

BasiliskII Macintosh 68k Emulator Ported to ESP32-P4 / M5Stack Tab5

https://github.com/amcchord/M5Tab-Macintosh
63•rcarmo•7h ago•8 comments

Instagram data breach reportedly exposed the personal info of 17.5M users

https://www.engadget.com/cybersecurity/an-instagram-data-breach-reportedly-exposed-the-personal-i...
138•IvanAchlaqullah•4h ago•47 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
189•javatuts•13h ago•41 comments

My Home Fibre Network Disintegrated

https://alienchow.dev/post/fibre_disintegration/
225•alienchow•14h ago•193 comments

HTML-only conditional lazy loading (via preload and media)

https://orga.cat/blog/html-conditional-lazy-loading/
67•netol•7h ago•9 comments

You are not required to close your <p>, <li>, <img>, or <br> tags in HTML

https://blog.novalistic.com/archives/2017/08/optional-end-tags-in-html/
112•jen729w•1d ago•173 comments

Vojtux – Unofficial Linux Distribution Aimed at Visually Impaired Users

https://github.com/vojtapolasek/vojtux
104•TheWiggles•4d ago•26 comments

Think of Pavlov

https://boz.com/articles/think-pavlov
88•kiyanwang•8h ago•41 comments

Finding and fixing Ghostty's largest memory leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
575•thorel•1d ago•123 comments

KaraDAV – Lightweight Nextcloud compatible WebDAV server

https://github.com/kd2org/karadav
22•indigodaddy•6h ago•1 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
454•pmaze•1d ago•136 comments

More than one hundred years of Film Sizes

https://wichm.home.xs4all.nl/filmsize.html
78•exvi•10h ago•18 comments

Code and Let Live

https://fly.io/blog/code-and-let-live/
419•usrme•1d ago•160 comments

Show HN: GlyphLang – An AI-first programming language

30•goose0004•19h ago•18 comments

Learning from Sudoku Solvers (2007)

http://ravimohan.blogspot.com/2007/04/learning-from-sudoku-solvers.html
16•forks•5d ago•7 comments

CPU Counters on Apple Silicon: article + tool

https://blog.bugsiki.dev/posts/apple-pmu/
149•verte_zerg•4d ago•1 comments

Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering

https://github.com/OlaProeis/Ferrite
216•OlaProis•17h ago•128 comments

Are We ... Yet?

https://wiki.mozilla.org/Areweyet
5•mooreds•32m ago•0 comments

'Bandersnatch': The Works That Inspired the 'Black Mirror' Interactive Feature (2019)

https://www.hollywoodreporter.com/tv/tv-news/black-mirror-bandersnatch-real-life-works-influences...
78•rafaepta•5d ago•32 comments

Replace the Retiring Windows XP with Linux (2014)

https://www.linux.com/training-tutorials/replace-retiring-windows-xp-linux/
56•righthand•2h ago•19 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
315•amarsahinovic•1d ago•304 comments
Open in hackernews

Right-Truncatable Prime Counter

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

Comments

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