3 ms·
One of my RC rabbit hole projects was to make a reverse probabilistic lookup from a users’s timezone (which is presumably set to local time) to locations. Nepa
by captn3m0 2y ago
One of my RC rabbit hole projects was to make a reverse probabilistic lookup from a users’s timezone (which is presumably set to local time) to locations.
Nepal for example uses a +545 offset, and a one in 6 chance that you’re in the Kathmandu valley (based on population stats, but you could do better with internet stats).
This works quite decently for small unique timezones, but gets fuzzier for the larger ones (China and India are just one timezone each).
I then thought of using other Signals to augment the probabilities (such as the locale which does have its own issues). At that point it felt like a fingerprinting project instead of anything novel and I lost interest.
- mannyv 2y agoIndia isn't one timezone. It has many timezones, some of which are 1/2 hour off.
- captn3m0 2y agoIndian boundary spans multiple time zones, but the country only follows a single +530 offset (Asia/Kolkata, IST). Assam has been attempting to switch to DST, but it isn’t approved/in-use yet. https://en.wikipedia.org/wiki/Time_in_India https://en.wikipedia.org/wiki/Time_in_India