6 ms·
The requirements were surely to give preference to closer delivery people, and the easiest code to write will simply order delivery people by distance. The sim
by crazygringo 6y ago
The requirements were surely to give preference to closer delivery people, and the easiest code to write will simply order delivery people by distance.
The simplest solution is therefore that, yes, someone 10 feet away will get it before someone 20 feet away.
The developers would have to go out of their way to add a buffer zone, e.g. find the closest person, add 1,000 feet, find everyone within that range, then select randomly. Or create a "local zone" distance range and a queue. Or other options -- once you try to figure out "what's fair" it gets really complicated.
That extra code is only going to get written if it has to.
So there's nothing ridiculous about it at all. In fact it's the simplest, most expected solution.
Now that it's news, however, Amazon might actually come up with more sophisticated requirements.
- cortesoft 6y agoThis sort of "unintended consequence of over precision" has happened a few times... I remember a while back a dating app (I think?) was returning the distance between the two people with a ridiculous amount of precision, which allowed people to triangulate where someone was with three phones
- Terr_ 6y agoAye, with Tinder, but no extra-devices or actual travel was needed: https://blog.includesecurity.com/2014/02/how-i-was-able-to-track-location-of-any.html https://blog.includesecurity.com/2014/02/how-i-was-able-to-t...
- cortesoft 6y agoOh right, they just used the API.
- cyral 6y agoHere’s an article about how Tinder fixed it: https://robertheaton.com/2018/07/09/how-tinder-keeps-your-location-a-bit-private/ https://robertheaton.com/2018/07/09/how-tinder-keeps-your-lo...
- cortesoft 6y agoOh man, I forgot they originally sent the actual location. I still can’t believe how many developers think you can trust the client.
- pishpash 6y agoIs "cutting the queue" (what this is) an unintended consequence of having a queue? It's perfectly normal behavior. Maybe it gets resolved socially, or the solution could involve tracking whether the follow-up movement happened as assumed (the real hidden assumption). Making a buffer and reducing precision doesn't solve anything actually, it makes it socially more difficult, but it's really a hack, as was choosing the closest physical phone whether a warm body was attached or not.
- cortesoft 6y agoI think if they randomly select someone with a range, it would make it not as important to try to be physically closer. It wouldn't stop all gaming of the system, but it would be a start.
- hombre_fatal 6y agoYou'd want to tweak it so you were picking the person in range who went the longest without a gig rather than a naive random pick. Lot more encouraging for the workers vs watching the guy who just got a gig receive yet another before them.
- badwolf 6y agoSomeone even made a triangulation app to pinpoint other users of Grindr.
- stjohnswarts 6y agowhy not randomize selection of everyone within a certain radius rather than just "closest" ? That seems like it would be more fair.