Readit News logoReadit News
alexmolas commented on Wildthing – A model trained on role-reversed ChatGPT conversations   youaretheassistantnow.com... · Posted by u/iamwil
alexmolas · 16 hours ago
Very interesting idea, but the result is a bit disappointing. It doesn't matter what I answer, the questions are always repeating
alexmolas commented on Mapping latitude and longitude to country, state, or city   austinhenley.com/blog/coo... · Posted by u/azhenley
som · 3 months ago
Great approach.

Worth noting that there is a 6 decimal precision on the coordinates of the 90kb (gz) `coord2state.min.js` ... which suggests an accuracy that may not be present in the simplified data (i.e. <1m).

Before you increase tolerance to decrease filesize, you could consider lowering this decimal precision to 5, 4 or even 3 decimals given the "country, state, or city" requirement.

I also like the idea of using a heavily cached, heavily compressed image that is perfect for the >95% of the country that isn't within a pixel of a border. With a subsequent request for another heavily cached vector tile that encompasses any lat/lng within your 1px tolerance.

alexmolas · 3 months ago
I used to work on a logistics company and we had to map latitude and longitude to specific directions. One of the first things I learnt was to avoid storing 6 decimal precision coordinates. Also, this XKCD was shared a lot https://xkcd.com/2170/

u/alexmolas

KarmaCake day4931June 28, 2022
About
I’m a husband, father, physicist, and data scientist. In that order.

www.alexmolas.com

View Original