frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The newest Instagram “exploit” is the goofiest I've seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
1779•ssiddharth•16h ago•408 comments

macOS needs its grid back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
247•ranebo•7h ago•134 comments

Can the stockmarket swallow Anthropic, SpaceX and OpenAI?

https://www.economist.com/finance-and-economics/2026/06/01/can-the-stockmarket-swallow-anthropic-...
352•1vuio0pswjnm7•9h ago•609 comments

CQL: Categorical Databases

https://categoricaldata.net/
32•noworriesnate•2d ago•9 comments

Chipotlai Max

https://github.com/cyberpapiii/chipotlai-max
222•nigelgutzmann•10h ago•36 comments

OpenAI frontier models and Codex are now available on AWS

https://openai.com/index/openai-frontier-models-and-codex-are-now-available-on-aws/
261•typpo•11h ago•93 comments

Muxcard, a dyi credit card size computer

https://github.com/krauseler/muxcard
15•sargstuff•2d ago•2 comments

How is Groq raising more money?

https://www.zach.be/p/how-the-hell-is-groq-raising-more
106•hasheddan•8h ago•48 comments

Strace-ui, Bonsai_term, and the TUI renaissance

https://blog.janestreet.com/strace-ui-bonsai-term-and-the-tui-renaissance/
42•matt_d•5h ago•19 comments

AI Agent Guidelines for CS336 at Stanford

https://github.com/stanford-cs336/assignment1-basics/blob/main/CLAUDE.md
414•prakashqwerty•16h ago•134 comments

Debug Project

https://debug.com/
218•Eridanus2•12h ago•89 comments

CS336: Language Modeling from Scratch

https://cs336.stanford.edu/
460•kristianpaul•19h ago•47 comments

Fooling around with encrypted reasoning blobs

https://blog.cryptographyengineering.com/2026/05/29/fooling-around-with-encrypted-reasoning-blobs/
80•supermatou•3d ago•12 comments

Should you normalize RGB values by 255 or 256?

https://30fps.net/pages/255-vs-256-division/
263•pplanu•15h ago•111 comments

Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra

https://www.windowslatest.com/2026/06/01/microsoft-builds-its-ultimate-macbook-pro-rival-with-the...
215•jbk•21h ago•448 comments

Launch HN: Expanse (YC P26) – Unlock Wasted GPU Capacity

80•ismaeel_bashir•20h ago•23 comments

What appear to be biochemical processes may be a natural feature of geology

https://www.quantamagazine.org/the-dirt-that-refused-to-die-20260601/
233•speckx•18h ago•83 comments

Crystal Nights (2008)

https://www.gregegan.net/MISC/CRYSTAL/Crystal.html
44•rorylawless•8h ago•6 comments

Not Every Byte Gets a Vote

https://mitander.xyz/posts/not-every-byte-gets-a-vote/
3•mitander•2h ago•0 comments

Alphabet announces $80B equity capital raise to expand AI infra and compute

https://abc.xyz/investor/news/news-details/2026/Alphabet-Announces-Proposed-80-Billion-Equity-Cap...
184•gregschlom•12h ago•161 comments

Ask HN: Who is hiring? (June 2026)

191•whoishiring•18h ago•266 comments

I made my phone slow on purpose

https://vinewallapp.com/notes/i-made-my-phone-slow-on-purpose/
205•gcampos•4d ago•171 comments

A new way to build chips: Sequentially stacking silicon to extend Moore's Law

https://matse.illinois.edu/news/85775
47•hhs•2d ago•27 comments

Age verification for social media, the beginning of the end for a free internet?

https://mullvad.net/en/blog/age-verification-for-social-media-the-beginning-of-the-end-for-a-free...
259•StrLght•10h ago•137 comments

Florida sues OpenAI and Sam Altman over AI risks

https://www.politico.com/news/2026/06/01/openai-hit-with-florida-lawsuit-00944215
222•cyunker•17h ago•177 comments

Ask HN: Who wants to be hired? (June 2026)

120•whoishiring•18h ago•334 comments

Flipper Zero Zig Template

https://github.com/NishantJoshi00/flipper-template
145•Nars088•20h ago•12 comments

Windows GOG DOS Games on M-Series Macs

https://f055.net/technology/windows-gog-dos-games-on-m-series-macs/
152•f055•19h ago•83 comments

Stealing from Biologists to Compile Haskell Faster

https://www.iankduncan.com/engineering/2026-05-30-stealing-from-biologists-to-compile-haskell-fas...
121•mooreds•2d ago•4 comments

Anthropic confidentially submits draft S-1 to the SEC

https://www.anthropic.com/news/confidential-draft-s1-sec
490•surprisetalk•17h ago•399 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.