News for hackers. Stuff that matters.
Re:Amazon drivers are hanging smartphones in trees to get mo... by sandworm101 on Tuesday September 01, 2020 @04:08PM (#24346406)
Does the amazon brain actually think that the person standing 10/20/50 feet closer is the better person for the job? My first impression was that these phones were being run by people blocks/miles away, but they are actually only a few feet closer.

>> That means a phone in a tree outside Whole Foods’ door would get the delivery offer even before drivers sitting in their cars just a block away.

That seems ridiculous. Plus or minus what, a minute? There has to be a better way to select drivers.

Re:Amazon drivers are hanging smartphones in trees to get mo... by crazygringo on Tuesday September 01, 2020 @05:27PM (#24347282)
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.

Re:Amazon drivers are hanging smartphones in trees to get mo... by cortesoft on Tuesday September 01, 2020 @06:19PM (#24347800)
This 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
Re:Amazon drivers are hanging smartphones in trees to get mo... by cyral on Tuesday September 01, 2020 @07:02PM (#24348139)
Here’s an article about how Tinder fixed it: https://robertheaton.com/2018/07/09/how-tinder-keeps-your-lo...
Re:Amazon drivers are hanging smartphones in trees to get mo... by cortesoft on Tuesday September 01, 2020 @07:17PM (#24348242)
Oh man, I forgot they originally sent the actual location. I still can’t believe how many developers think you can trust the client.
Re:Amazon drivers are hanging smartphones in trees to get mo... by badwolf on Tuesday September 01, 2020 @07:52PM (#24348499)
Someone even made a triangulation app to pinpoint other users of Grindr.
Re:Amazon drivers are hanging smartphones in trees to get mo... by Terr_ on Tuesday September 01, 2020 @06:57PM (#24348095)
Aye, with Tinder, but no extra-devices or actual travel was needed: https://blog.includesecurity.com/2014/02/how-i-was-able-to-t...
Re:Amazon drivers are hanging smartphones in trees to get mo... by cortesoft on Tuesday September 01, 2020 @07:14PM (#24348215)
Oh right, they just used the API.
Re:Amazon drivers are hanging smartphones in trees to get mo... by pishpash on Tuesday September 01, 2020 @07:43PM (#24348431)
Is "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.
Re:Amazon drivers are hanging smartphones in trees to get mo... by cortesoft on Tuesday September 01, 2020 @10:32PM (#24349462)
I 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.
Re:Amazon drivers are hanging smartphones in trees to get mo... by hombre_fatal on Wednesday September 02, 2020 @09:21AM (#24352931)
You'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.
Re:Amazon drivers are hanging smartphones in trees to get mo... by stjohnswarts on Wednesday September 02, 2020 @01:17AM (#24350188)
why not randomize selection of everyone within a certain radius rather than just "closest" ? That seems like it would be more fair.
Re:Amazon drivers are hanging smartphones in trees to get mo... by mypalmike on Tuesday September 01, 2020 @05:48PM (#24347509)
Why would you ever choose to penalize the actual closest driver (gamed algorithm aside)? It seems like a completely reasonable algorithm. In theory, the algorithm sends the closest driver away on a delivery, moving the next closest to the front of an implicit queue.

It would be nice to have perfect knowledge beforehand of how an otherwise reasonable algorithm will be gamed once it's out in the wild.

Re:Amazon drivers are hanging smartphones in trees to get mo... by mola on Wednesday September 02, 2020 @01:54AM (#24350382)
If there's an algorithm in charge of optimizing, it will be gamed. If there's a single algorithm controlling a large population, it'll be catastrophically gamed.
Re:Amazon drivers are hanging smartphones in trees to get mo... by piva00 on Wednesday September 02, 2020 @06:22AM (#24351763)
There is a more general rule than that, I would tie that to Goodhart's law/adage "when a measure becomes a target, it ceases to be a good measure".

It's similar here, when an algorithm is in charge of optimisation it has its heuristics, they will be gamed as they are measures that became a target.

Re:Amazon drivers are hanging smartphones in trees to get mo... by Talanes on Tuesday September 01, 2020 @11:17PM (#24349660)
This is such an obvious way to game the system though, if they had put literally any effort into trying to make a system that can't be abused, they would have caught it. Either the system wasn't thought through, or it was thought through by someone with no understanding of how groups of people behave.
Re:Amazon drivers are hanging smartphones in trees to get mo... by mypalmike on Tuesday September 01, 2020 @11:46PM (#24349795)
It's obvious that people will hang phones from trees?

The reason you're reading this on hn today is specifically because it is novel group behavior.

Re:Amazon drivers are hanging smartphones in trees to get mo... by throwawaynothx on Wednesday September 02, 2020 @02:01AM (#24350425)
Na he just means when developing something the first thing you try to do is think how can this be abused.

By handing out jobs to the closest device and not checking the last job that device received is poor programming.

Re:Amazon drivers are hanging smartphones in trees to get mo... by z3t4 on Tuesday September 01, 2020 @04:16PM (#24346507)
They are probably also measuring by bird distance...
Re:Amazon drivers are hanging smartphones in trees to get mo... by pmiller2 on Tuesday September 01, 2020 @04:39PM (#24346797)
I don't mean to be "that guy" correcting someone's English, but you don't seem to be a native speaker, so I hope this will be well received.

The actual phrase should be "as the crow flies." If you say "bird distance," you might get confused looks from people.

Just trying to help. :-)

Re:Amazon drivers are hanging smartphones in trees to get mo... by ineedasername on Tuesday September 01, 2020 @05:11PM (#24347111)
I like "bird distance". I knew immediately what was meant, and it was more succinct than "as the crow flies"
Re:Amazon drivers are hanging smartphones in trees to get mo... by scoopertrooper on Tuesday September 01, 2020 @11:51PM (#24349818)
I agree, I move that we change the idiom and that pmiller2's remarks be stricken from the record.
Re:Amazon drivers are hanging smartphones in trees to get mo... by leephillips on Tuesday September 01, 2020 @07:07PM (#24348166)
Yeah, me too. I didn’t even look twice. And I’m not sure I agree with the advice to use a tired expression rather than something more original.
Re:Amazon drivers are hanging smartphones in trees to get mo... by Cederfjard on Tuesday September 01, 2020 @05:19PM (#24347196)
In Swedish we say ”the bird way”, as in ”it’s x km going the bird way”.
Re:Amazon drivers are hanging smartphones in trees to get mo... by carlmr on Tuesday September 01, 2020 @05:26PM (#24347275)
In German we say "the airline" airline is already taken in English.
Re:Amazon drivers are hanging smartphones in trees to get mo... by smabie on Tuesday September 01, 2020 @08:35PM (#24348784)
Air-line, I like it.
Re:Amazon drivers are hanging smartphones in trees to get mo... by Kosirich on Wednesday September 02, 2020 @02:41AM (#24350638)
In Croatian we use "air distance"... I'm going to be smug about it's more understandable than both (even though I like the Game Of Thrones association when ever I hear "as the crow flies")
Re:Amazon drivers are hanging smartphones in trees to get mo... by blackboxlogic on Tuesday September 01, 2020 @09:08PM (#24348995)
But how to know if the bird is flying or driving?
Re:Amazon drivers are hanging smartphones in trees to get mo... by scubbo on Wednesday September 02, 2020 @12:38AM (#24350026)
And is it African or European?
Re:Amazon drivers are hanging smartphones in trees to get mo... by jjgreen on Wednesday September 02, 2020 @04:21AM (#24351139)
Laden or unladen?
Re:Amazon drivers are hanging smartphones in trees to get mo... by dylan604 on Wednesday September 02, 2020 @06:34AM (#24351826)
No, he said it was a crow, not a swallow
Re:Amazon drivers are hanging smartphones in trees to get mo... by ineedasername on Tuesday September 01, 2020 @11:58PM (#24349852)
Or if it gets lost along the way. And who says they actually fly in straight lines?
Re:Amazon drivers are hanging smartphones in trees to get mo... by hammock on Wednesday September 02, 2020 @12:21AM (#24349945)
Or swimming :)
Re:Amazon drivers are hanging smartphones in trees to get mo... by inopinatus on Tuesday September 01, 2020 @06:13PM (#24347756)
The correct term for this measure of the geodesic is orthodromic distance and is guaranteed to get confused looks from people, which is often my intention.

You may then proceed to explain this refers to the distance by camel.

Re:Amazon drivers are hanging smartphones in trees to get mo... by _jal on Tuesday September 01, 2020 @06:58PM (#24348105)
Telling people the shortest path is a great circle is also fun.
Re:Amazon drivers are hanging smartphones in trees to get mo... by dylan604 on Wednesday September 02, 2020 @06:36AM (#24351843)
Me: 'The shortest distance is a straight line'

You: Except on a globe, it is a great circle.

Me: 'Nobody said on the surface. I'm tunneling through.'

Re:Amazon drivers are hanging smartphones in trees to get mo... by pmiller2 on Wednesday September 02, 2020 @03:17PM (#24356802)
It's more like that on the surface of a sphere, great circles are lines. That's how it's interpreted in spherical geometry.
Re:Amazon drivers are hanging smartphones in trees to get mo... by kfrzcode on Tuesday September 01, 2020 @04:53PM (#24346937)
You're right to gently correct here.

That said, "bird distance" is going in my lexicon.

Re:Amazon drivers are hanging smartphones in trees to get mo... by awinder on Tuesday September 01, 2020 @06:03PM (#24347666)
I read this more as Charlie Day joining hn and I think I prefer it that way.
Re:Amazon drivers are hanging smartphones in trees to get mo... by ColoradoDev on Tuesday September 01, 2020 @05:17PM (#24347180)
Honestly, I prefer "bird distance".
Re:Amazon drivers are hanging smartphones in trees to get mo... by floatingatoll on Tuesday September 01, 2020 @06:15PM (#24347770)
I wish this entire thread of replies was an FP of its own. “Slang terms for linear distance through history” (arxiv.org) or something :)
Re:Amazon drivers are hanging smartphones in trees to get mo... by FabHK on Tuesday September 01, 2020 @06:09PM (#24347722)
In German, it's "Luftlinie", which literally means "air line" (while airline is "Fluglinie" ("flight line") or "Fluggesellschaft" ("flight company")).
Re:Amazon drivers are hanging smartphones in trees to get mo... by staz on Tuesday September 01, 2020 @05:53PM (#24347556)
most likely from French "distance à vol d'oiseau" (or "distance d'oiseau" in short)
Re:Amazon drivers are hanging smartphones in trees to get mo... by jeromegv on Tuesday September 01, 2020 @06:18PM (#24347788)
I'm a french speaker so I also got the reference right away, didn't realize this was not as common in English
Re:Amazon drivers are hanging smartphones in trees to get mo... by SketchySeaBeast on Tuesday September 01, 2020 @05:39PM (#24347423)
I assume the exact details of "bird distance" is found within "bird law".
Re:Amazon drivers are hanging smartphones in trees to get mo... by leephillips on Tuesday September 01, 2020 @07:09PM (#24348178)
No, the correct term is “geodesic”.
Re:Amazon drivers are hanging smartphones in trees to get mo... by op00to on Tuesday September 01, 2020 @08:23PM (#24348710)
Bird distance. Not just crows fly straight.
Re:Amazon drivers are hanging smartphones in trees to get mo... by dylan604 on Wednesday September 02, 2020 @06:39AM (#24351856)
as long as it's not these birds. they'll never get there. https://www.youtube.com/watch?v=V4f_1_r80RY
Re:Amazon drivers are hanging smartphones in trees to get mo... by totallyAbird on Wednesday September 02, 2020 @01:55AM (#24350386)
Don't want to be that guy - then don't.
Re:Amazon drivers are hanging smartphones in trees to get mo... by est31 on Tuesday September 01, 2020 @09:03PM (#24348962)
... and probably only from a specific point. You might be inside the place right at the kitchen's door and be further away in their system than if you stood outside somewhere close to the coordinates of the point.