Skip to content

Instantly share code, notes, and snippets.

@semprebon
Created February 26, 2015 18:59
Show Gist options
  • Save semprebon/bd9c616bd89d9faad098 to your computer and use it in GitHub Desktop.
Save semprebon/bd9c616bd89d9faad098 to your computer and use it in GitHub Desktop.
25 locations computed in 36.886 seconds
Found: (adobe offices within 100 mi of operating location)
[:san_jose, :san_fran, :delhi, :lehi, :seattle, :tokyo, :london, :hamburg, :paris, :arlington_mclean, :new_york, :basel, :seoul, :sao_paulo, :moldova]
All operating loctions found:
[location, radius, number of location, nearest adobe office, distance to adobe office]
[[-118.20598467988565, 33.99849543788449], 50, 147, :san_jose, 295]
[[-46.6361, -23.547499999999996], 50, 7, :sao_paulo, 0]
[[-115.14120570960752, 36.10976359376279], 50, 17, :lehi, 338]
[[74.32007898918357, 19.43811440808108], 102, 13, :mumbai, 102]
[[-122.6762, 45.523399999999995], 50, 36, :seattle, 149]
[[9.46510758511762, 50.611607414109116], 195, 239, :maastricht, 166]
[[80.72335392265055, 26.71976809423585], 50, 2, :delhi, 253]
[[10.31414005579451, 53.82384445972054], 155, 98, :hamburg, 22]
[[126.97895182052454, 37.58757500294673], 50, 15, :seoul, 0]
[[75.39485892499141, 32.459768862737135], 145, 19, :delhi, 283]
[[135.51999999999998, 34.68639999999999], 50, 10, :tokyo, 248]
[[7.9680697019746205, 47.04240139166183], 50, 63, :basel, 40]
[[2.324517748023828, 48.827348476741356], 50, 105, :paris, 0]
[[-5.120830521527634, 54.355423755972836], 84, 5, :london, 287]
[[0.13858338607003803, 51.560577552305126], 50, 157, :london, 10]
[[139.73911183145876, 35.664438942693], 50, 61, :tokyo, 1]
[[-73.9769579086628, 40.755526055470284], 50, 196, :new_york, 0]
[[-122.34824540097668, 47.692379010244856], 50, 85, :seattle, 1]
[[-111.92671391517068, 40.37257754041874], 50, 63, :lehi, 3]
[[77.2081344416922, 28.620763097426064], 50, 17, :delhi, 3]
[[-81.7329, 28.022199999999998], 50, 22, :arlington_mclean, 796]
[[-122.0203994000625, 37.46904456336523], 50, 213, :san_jose, 25]
[[-77.16540808682119, 38.89697139386651], 50, 118, :arlington_mclean, 0]
[[-80.96775068669177, 43.21760897090392], 132, 113, :ottawa, 297]
[[28.857500000000005, 47.0056], 50, 1, :moldova, 0]
Hits: 15 misses: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment