News for hackers. Stuff that matters.
Re:Ask HN: Anyone making a living from a paid API? by alfons_foobar on Saturday May 31, 2025 @11:54AM (#44145080)
That's a funny idea :)

I think the first one should be very much doable, but I am not sure how I would build the "almost complete" and the "similar colors" features.

Re:Ask HN: Anyone making a living from a paid API? by yesbabyyes on Saturday May 31, 2025 @01:31PM (#44145764)
I guess calculating the Levenshtein distance between the sets would work somehow?

Edit: scratch that, just intersect the set of available pieces with each set. If there are fewer than n--or m%--missing pieces, suggest those.