←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.236s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
api_or_ipa ◴[] No.35748760[source]
https://neighbs.us/

Really fucking dumb. Uses browser geolocation to tell me which neighborhood in San Francisco I'm currently standing in. Grabbed the lat/longs of each neighborhood from the SFData [0]. It works by plotting a circle representing your location + uncertainty and determining which of SF's 117 neighborhoods intersect with it. If your circle intersects with more than one neighborhood, it's smart enough to categorize them in order of certainty. It even automatically updates as you move, it's pretty fun to sit in an Uber and watch the neighborhood change as you move across the city. Learned a lot about polygon intersection algorithms, they're pretty amazing!

Built it a number of years ago when I moved here. Since it runs entirely in the browser, it's hosted for free on github pages and I don't need to maintain a server.

0 https://datasf.org/opendata/

replies(1): >>35748833 #
KMnO4 ◴[] No.35748833[source]
Small aside, I hate the concepts of neighborhoods. If someone tells me they’re from Highland, or Bakerson, or Rockwell, that means absolutely nothing to me. The boundaries are so arbitrary, and when I’m driving I don’t have any indication when I cross one or which one I’m in. I’d rather people just tell me they’re close to the intersection of Major St A and Big Road B. Or that they’re near the IKEA.

It’s especially frustrating on dating apps like Hinge which only show neighborhoods. Half the time I don’t even know if they live in the same city as me.

replies(2): >>35748942 #>>35752995 #
1. zamnos ◴[] No.35752995[source]
But how does that work when you've never heard of Major St A or Big Road B? I know I don't know where all of the neighborhoods in my city are, but I know I've not heard of all of the major streets in my city.