This was talked about a few podcasts ago. And they referenced some other site that does this.

Currently location is a string but adding a country dropdown (and for the usa a state drop down) could be a great addition to the site.

Then allow for user filtering by country / state.


7 Answers 7


Find users in Iceland: Google - site:stackoverflow.com inurl:users "iceland"
Find users in Atlanta: Google - site:stackoverflow.com inurl:users "Atlanta"

Of course that only works for those who explicitly stated "Iceland" in their profile :)

  • 3
    The results page given lists a lot of the users repeatedly due to the multiple views of the user profile page. This isn't a very clean or efficient way of searching for them.
    – TheTXI
    Commented Jun 30, 2009 at 11:34
  • What alternative do you currently use? :)
    – Sampson
    Commented Jun 30, 2009 at 11:35
  • Currently my biggest method of communicating with other users is through the various IRC channels that we inhabit.
    – TheTXI
    Commented Jun 30, 2009 at 11:36
  • 1
    You assumed a step - I'm not questioning the best method of communication (IRC is awesome), I'm asking how to reach them to begin communicating :)
    – Sampson
    Commented Jun 30, 2009 at 11:38
  • So far, the only suggestion I've seen for what we'd use these for is narrowing employment searches. I'm not against that, but not everybody on SO et al. is looking for a job. Therefore, having it be an opt-in thing like this works nicely. Commented Jul 22, 2009 at 17:57

I like this more than other social networking-esque feature requests like friends and groups. This would allow you to search for those in your area, and then if they have websites and emails to connect with them that way. I am a big proponent of keeping the facebookiness and myspaceiness off StackOverflow as much as possible.

  • Wouldn't this be more facebooky? Facebook lists me as being in a "network" (whatever that is) of my home metropolitan area, and suggests friends based on presumed physical closeness at one time or another. Commented Jul 22, 2009 at 18:00
  • David: I don't mind finding people based on criteria, just leave the actual communication off.
    – TheTXI
    Commented Jul 22, 2009 at 18:07

Joel also talked about adding a little flag besides the name, and have rankings filtered by country.

I would really like to see this supported directly in the SO-Family

  • +1. That would be a great feature Commented Mar 18, 2011 at 7:18

This could prove useful, as you could cross reference with the the "I'm open to employers (not recruiters) contacting me" to give functionality: Employers can search for candidates near them Users could restrict that only employers in their country/county/etc. can contact them

Maybe at a future point in time extend this to go down to postal/zip code?

  • Postal/zip code is too much, IMO.
    – mmyers
    Commented Jul 22, 2009 at 17:27

And if you want to query the StackExchange database, check this.

  • +1, Also I would use following WHERE clause since sometines location contains not only contry information, WHERE (Location LIKE '%' + @country + '%')
    – sll
    Commented Nov 27, 2012 at 21:17

Try using statoverflow sandbox.


You just have to get the SQL right. For instance this:

select * from users where location like 'M%X%'

Would bring most of SO from Mexico ( and some extra from Texas but since it was Mexico once, I guess it's ok )

  • I've done that a long time ago, this question is no longer relevant. Commented Sep 10, 2009 at 23:16
  • your link doesnt work please delete it.
    – EugenSunic
    Commented Feb 8 at 10:15

I personally like StatOverflow approach, as it allows some aditional digging into users.

select * from users where location like '%country_here%'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .