r/programming • • Apr 11 '16

How an Internet Mapping Glitch Turned a Random Kansas Farm Into a Digital Hell

http://fusion.net/story/287592/internet-mapping-glitch-kansas-farm/
276 Upvotes

59 comments sorted by

View all comments

Show parent comment

1

u/bobindashadows Apr 11 '16

With the information "a circle exists with a given radius but I won't tell you where it is" I would do nothing because that information is completely useless.

Hint: look up the definition of a circle

1

u/kurav Apr 11 '16

That information is completely useless.

Are you sure? Maybe you can draw a line, or print out a number. Or you can draw a color.

Hint: look up the definition of a circle

TBH, I am just kidding, obviously I meant radius with a centerpoint, i.e. a circle.

1

u/bobindashadows Apr 12 '16

Oh, well in that case: they already return a radius and a center point.

1

u/kurav Apr 12 '16

Yes, but as already pointed out even their own example application for using the data completely ignores the radius parameter, spitting out an exact coordinate for any IP you throw at it. Clearly, they are pushing developers to interpret the data as pinpoints rather than rude approximations.

Which is of course great for their business, so they can associate terms like "Precision" with their products. It still sucks for the people who happen the live where their "precision" products send deranged Internet lunatics and misguided SWAT teams.

0

u/bobindashadows Apr 12 '16

So your suggested API is their exact API and they're still monsters for providing a terrible API. Gotcha.

1

u/kurav Apr 12 '16

An API in itself is pretty useless. What creates the meaning for the data is the documentation and examples. If the base example is to use the grossly incorrect values as exact geolocations, some programmers are going to take your word for granted.