frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Prime Number Grid Visualizer

https://enda.sh/primegrid/
39•dduplex•2d ago
Hello HN. I made this simple little tool that let's you input rows and columns to create a grid, then it plots the grid with prime numbers.

I made it for fun, but I'd love suggestions on how I can improve it in any way. Thanks, love you.

Comments

wordglyph•2d ago
So cool! I'd like to be able to start at any number
dduplex•2d ago
Thanks! Do you mean you’d like to be able to input any number you like?

The numbered values are editable inputs. You can click into them and type in the amount you’d like. If you couldn’t tell they were editable inputs, that’s valuable feedback! I’ll redesign them to make it more obvious that you can do so, and don’t have to just click the +/- buttons.

kawfey•7h ago
I spammed the columns from 1 to 402 (with 400 rows), and i saw some cool patterns. I can see a few nodes of clockwise rotation that converges into a single node from >200 columns that starts makes its way down the screen. Trippy.

I made a screen recording of it: https://n0ssc.com/wp-content/uploads/2025/08/prime-doublespe...

artemonster•7h ago
I did the same thing and saw galaxies
physix•5h ago
I was waiting for

          .....   ......   ......   ....   ..    ..   ......
         ..       ..   ..  ..   ..   ..    ...   ..   ..     
         ..       ..   ..  ...  ..   ..    .. .. ..   ..     
          .....   ......   ......    ..    .. .. ..   ..  ...
           .....  ...      .. ..     ..    ..   ...   ..   ..
              ..  ..       ..  ..    ..    ..    ..   ...  ..
         ......   ..       ..   ..  ....   ..    ..    .....

to show up, until I realized I've been coding too much today.
eps•6h ago
Ha, super, thanks for making it.

Check out 431 columns - this yields no obvious persistent patterns.

cgijoe•5h ago
You sure about that? I see some clear diagonal lines at 431 cols: https://imgur.com/a/rNKjTtr
ljsprague•5h ago
I think you'll find this to be the case with any prime.
mfoc•5h ago
When choosing rows = 4000 and columns = 546, an interesting pattern emerges.

For all n ≥ 1, the ranges [243 + (n * 546)] to [249 + (n * 546)] inclusive appear to contain no prime numbers. Same with the ranges [297 + (n * 546)] to [303 + (n * 546)].

In both cases, the minimum gap between the closest neighbouring primes apears to be at least 10 (in decimal). Does anyone know of a number-theoretic explanation for this kind of pattern?

PuTTY has a new website

https://putty.software/
39•GalaxySnail•1h ago•19 comments

The future of large files in Git is Git

https://tylercipriani.com/blog/2025/08/15/git-lfs/
265•thcipriani•8h ago•104 comments

AI is different

https://www.antirez.com/news/155
130•grep_it•2d ago•124 comments

Best Practices for Building Agentic AI Systems

https://userjot.com/blog/best-practices-building-agentic-ai-systems
40•vinhnx•2h ago•5 comments

Show HN: Edka – Kubernetes clusters on your own Hetzner account

https://edka.io
287•camil•11h ago•90 comments

I accidentally became PureGym’s unofficial Apple Wallet developer

https://drobinin.com/posts/how-i-accidentally-became-puregyms-unofficial-apple-wallet-developer/
213•valzevul•17h ago•51 comments

Occult books digitized and put online by Amsterdam’s Ritman Library

https://www.openculture.com/2025/08/2178-occult-books-now-digitized-put-online.html
359•Anon84•12h ago•142 comments

Do Things That Don't Scale (2013)

https://paulgraham.com/ds.html
283•bschne•13h ago•90 comments

OpenBSD is so fast, I had to modify the program slightly to measure itself

https://flak.tedunangst.com/post/is-OpenBSD-10x-faster-than-Linux
138•Bogdanp•10h ago•105 comments

California unemployment rises to 5.5%, worst in the U.S. as tech falters

https://www.sfchronicle.com/california/article/unemployment-rate-rises-tech-20819276.php
211•littlexsparkee•6h ago•231 comments

Porting Gigabyte MZ33-AR1 Server Board with AMD Turin CPU to Coreboot

https://blog.3mdeb.com/2025/2025-08-07-gigabyte_mz33_ar1_part1/
51•pietrushnic•8h ago•0 comments

ADHD drug treatment and risk of negative events and outcomes

https://www.bmj.com/content/390/bmj-2024-083658
200•bookofjoe•14h ago•242 comments

Launch HN: Embedder (YC S25) – Claude code for embedded software

82•bobwei1•11h ago•38 comments

TextKit 2 – The Promised Land

https://blog.krzyzanowskim.com/2025/08/14/textkit-2-the-promised-land/
56•nickmain•7h ago•20 comments

Deep-Sea Desalination Pulls Fresh Water from the Depths

https://www.scientificamerican.com/article/deep-sea-desalination-pulls-drinking-water-from-the-depths/
12•noleary•3d ago•0 comments

Model intelligence is no longer the constraint for automation

https://latentintent.substack.com/p/model-intelligence-is-no-longer-the
43•drivian•14h ago•46 comments

A privacy VPN you can verify

https://vp.net/l/en-US/blog/Don%27t-Trust-Verify
55•MagicalTux•6h ago•59 comments

A mind–reading brain implant that comes with password protection

https://www.nature.com/articles/d41586-025-02589-5
32•gnabgib•1d ago•17 comments

Show HN: Prime Number Grid Visualizer

https://enda.sh/primegrid/
74•dduplex•2d ago•37 comments

Recto – A Truly 2D Language

https://masatohagiwara.net/recto.html
100•mhagiwara•3d ago•49 comments

ARM adds neural accelerators to GPUs

https://newsroom.arm.com/news/arm-announces-arm-neural-technology
142•dagmx•3d ago•28 comments

Claude Opus 4 and 4.1 can now end a rare subset of conversations

https://www.anthropic.com/research/end-subset-conversations
194•virgildotcodes•8h ago•279 comments

Bullfrog in the Dungeon

https://www.filfre.net/2025/08/bullfrog-in-the-dungeon/
103•doppp•12h ago•26 comments

Secret Messengers: Disseminating Sigint in the Second World War [pdf]

https://media.defense.gov/2025/Jul/25/2003761271/-1/-1/0/SECRET_MESSENGERS.PDF
9•sohkamyung•2d ago•0 comments

Compiler Bug Causes Compiler Bug: How a 12-Year-Old G++ Bug Took Down Solidity

https://osec.io/blog/2025-08-11-compiler-bug-causes-compiler-bug/
120•luu•3d ago•58 comments

Vaultwarden commit introduces SSO using OpenID Connect

https://github.com/dani-garcia/vaultwarden/pull/3899
157•speckx•16h ago•84 comments

Open hardware desktop 3D printing is dead?

https://www.josefprusa.com/articles/open-hardware-in-3d-printing-is-dead/
635•rcarmo•16h ago•391 comments

Thai Air Force seals deal for Swedish Gripen jets

https://www.scmp.com/news/asia/southeast-asia/article/3320828/us-f-16s-lose-out-thai-air-force-seals-us600-million-deal-swedish-gripen-jets
135•belter•7h ago•172 comments

Is air travel getting worse?

https://www.maximum-progress.com/p/is-air-travel-getting-worse
123•mhb•15h ago•206 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•11h ago