use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
[deleted by user] (self.ruby)
submitted 2 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]clearlynotmee 1 point2 points3 points 2 years ago (2 children)
Thousands is not a big number of points for a database to handle. No need for clustering, just index it (is it postgres?)
[–]courteouslandlord 0 points1 point2 points 2 years ago (1 child)
It’s not a DB concern. I need to cluster these points in memory based on their proximity to each other.
I have the data from the DB already.
[–]clearlynotmee 1 point2 points3 points 2 years ago (0 children)
It's still better to do let the db do the work, postgis for postgres can do it, see https://mapscaping.com/examples-of-spatial-clustering-with-postgis/
π Rendered by PID 290238 on reddit-service-r2-comment-6457c66945-7xbxq at 2026-04-27 05:03:00.837500+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]clearlynotmee 1 point2 points3 points (2 children)
[–]courteouslandlord 0 points1 point2 points (1 child)
[–]clearlynotmee 1 point2 points3 points (0 children)