News for hackers. Stuff that matters.
Re:Lessons learned from sharding Postgres at Notion by alberth on Wednesday October 06, 2021 @03:50PM (#28777551)
That’s super interesting. It’s counterintuitive but 480 has the same # of factors that 360 has (which is 24 factors)

https://www.calculatorsoup.com/calculators/math/factors.php

Re:Lessons learned from sharding Postgres at Notion by ulucs on Wednesday October 06, 2021 @04:23PM (#28777962)
so it's weakly highly composite?
Re:Lessons learned from sharding Postgres at Notion by smolder on Wednesday October 06, 2021 @06:03PM (#28779067)
I think you can still say it's highly composite, but doesn't qualify as an anti-prime when it isn't the lowest number with that many factors.
Re:Lessons learned from sharding Postgres at Notion by infogulch on Thursday October 07, 2021 @01:27AM (#28782415)
"anti-prime" is just Brady trying to rebrand an old boring name to sound cooler (as he does). "highly composite" has a perfectly well defined meaning already, trying to shift it to shoehorn in some artificial distinction between it and "anti-prime" is counterproductive. If the aim is to produce a more descriptive name for a similar sequence of numbers that includes 480, I think GP's "weakly highly composite" is much better. I might propose just "weakly composite" or "mediocrely composite".

Edit: Actually, this was (also) already done by Ramanujan and has a better name than any proposed here: http://oeis.org/A067128 - "largely composite numbers" which does in fact contain 480. Perhaps every sharded system should choose a shard count from this list?

Re:Lessons learned from sharding Postgres at Notion by smolder on Thursday October 07, 2021 @06:11AM (#28784358)
Thanks for correcting me, but I don't think drawing a distinction between "anti-prime" (clearly specific) and "highly composite" (vague) is counterproductive. On the other hand, "highly" and "largely" mean roughly the same thing, so treating "highly composite" and "largely composite" as distinct in this way is linguistically counterintuitive and counterproductive. Likewise, "weakly highly" reads like ambiguous nonsense when you don't go out of your way to specially define it.