News for hackers. Stuff that matters.
Re:Ask HN: Please help and review my weekend project. Geosay... by javery on Wednesday July 14, 2010 @08:10AM (#1514315)
I clicked on it, after approving the use of my location, I see a totally empty map of the approximate area that I live in... am I missing something? I tried search and it said it couldn't find the location, not sure what I was supposed to put in the search bar (an address? search term?)
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:21AM (#1514347)
One thing we weren't sure of was whether to automatically populate the map when you arrive. So by default it will just try to locate you (on the desktop edition) then you need to actually search. Do you think it would be better to auto load your local data?
Re:Ask HN: Please help and review my weekend project. Geosay... by shaddi on Wednesday July 14, 2010 @08:37AM (#1514380)
Yes. Or say (on the main page) that you should search for (whatever it is you call search results). If you autopopulate the map, I'd consider renaming that field "filter".

I also don't know what to search for. I typed "test" and it moved me to some result in New Mexico (several states west of where I am right now). I'd strongly recommend including some example searches that will consistently bring up good results.

Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:15AM (#1514327)
There is also a link in the bottom left to "search here" (admittedly, maybe not the best UI)
Re:Ask HN: Please help and review my weekend project. Geosay... by javery on Wednesday July 14, 2010 @10:31AM (#1514645)
Once I clicked search here it made sense, I would automatically search based on the location even on the desktop.. then I can always change the location if its not right.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:11AM (#1514317)
It should just be a location. What browser are you using? What was your search term(s)?
Re:Ask HN: Please help and review my weekend project. Geosay... by javery on Wednesday July 14, 2010 @10:32AM (#1514649)
I didn't know what to search for so I searched for "bars" assuming I was searching for bars around me... didn't realize it should be a location.
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:48AM (#1514395)
If you try it on your iphone or android it will automatically get the local data.
Re:Ask HN: Please help and review my weekend project. Geosay... by vinhboy on Wednesday July 14, 2010 @08:11AM (#1514316)
Pretty nice app. Reminds me of Buzz

1) When I drag the map, it didn't follow me with chatter 2) You should link your logo (what's with the "done" button?) 3) On google maps, when you click on a marker, it highlights the sidebar, maybe you should do that? 4) Might as well add a get directions button? 5) How about the little yellow guy?

Cool stuff.

Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:14AM (#1514320)
Thanks for the suggestions.

1) Agreed - we should make it do that (there are reasons that it is a little tricky - but not insurmountable)

2) Agreed

3) Agreed

4) The mobile version has that. As desktop locations seem a lot less accurate, I wonder what the true utility of that in the desktop versi0n would be.

5) "Little yellow guy" - erm - what little yellow guy (am I missing something?)

Re:Ask HN: Please help and review my weekend project. Geosay... by srveit on Wednesday July 14, 2010 @08:17AM (#1514334)
I think the "Little yellow guy" is the Street View icon.
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:23AM (#1514351)
That would be cool. It would rock to have geosay stuff on the street view map
Re:Ask HN: Please help and review my weekend project. Geosay... by c1sc0 on Wednesday July 14, 2010 @08:22AM (#1514350)
What this mostly did for me was drive home the point that non-geeks don't really use Foursquare all that much. Kinda embarassing to notice that I know almost half of the people behind checkins in my little 80000 ppl town. Thanks for putting the foursquare hype in perspective for me.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:26AM (#1514358)
I think that is true to a large extent. I think it also shows that many people don't turn on location in twitter (as it is off by default this is no surprise)

We do think there is room for a location based service for sharing information that isn't about check-ins, and gaming mechanisms. That's what we're trying to do anyway...

Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:29AM (#1514361)
Anytime! We think that foursquare is great but there is simply more scope for local information than just showing information about venues.
Re:Ask HN: Please help and review my weekend project. Geosay... by DEADBEEF on Wednesday July 14, 2010 @08:16AM (#1514331)
How is the geo-IP lookup performed?

It put's my location in rural Algeria (I'm in Nottingham, UK). It does this even if I check the 'share my location with geosay.com' type warning that Firefox provides.

With Chrome & Opera it again puts my location in rural Algeria, however clicking on 'Share location' narrows it down to a map of the whole of the UK (better, but still not too useful).

Saying that, I don't think it's a problem with your site, as clicking on the 'show my location' button (above the streetview guy) in Google maps can't find me either and I'm guessing you're using the same google maps API to do your lookups.

Re:Ask HN: Please help and review my weekend project. Geosay... by srjk on Wednesday July 14, 2010 @08:19AM (#1514341)
On that note, would you mind talking about what you use to store the data, efficiently query it etc?

I am in the nascent phases of developing a location based app, but have gotten stuck in trying to figure out a good way to store the data. Currently cassandra is the top contender.

Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:33AM (#1514369)
Check out this code for searching locally with mongo. It doesn't get simpler. Straight from geosay.com

class GeosayController < ApplicationController

  def api

    expires_in 1.minutes, :public => true

    results = Tweet.near(params[:lat].to_f,params[:lon].to_f)

    render :json => results
  end
end

....

class Tweet

  include MongoMapper::Document

  def self.near(lat, lon)

    self.all( :latlong  => {'$near'  => [lat, lon]}, :limit => 30) 

  end
end
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:52AM (#1514402)
We chose mongodb after reading this page http://www.mongodb.org/display/DOCS/Geospatial+Indexing

Before then we were looking at Postgres for its geo stuff and things like cassandra also.

Re:Ask HN: Please help and review my weekend project. Geosay... by djb_hackernews on Wednesday July 14, 2010 @09:58AM (#1514550)
as someone building a location based service, why not just store the lat/long in a table column and query for < >? Is it that much more efficient to use a specialized product?
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @10:47AM (#1514701)
Our understanding is mongodb should scale to tens of millions of rows better than a SQL database (which would be a nice problem to have)

Once we made the decision to use mongodb, it made sense to use the built in near functionality, rather than roll it ourselves.

Re:Ask HN: Please help and review my weekend project. Geosay... by djb_hackernews on Wednesday July 14, 2010 @10:58AM (#1514741)
Indeed. I am using Django to build my app and a mysql db with 2 float fields for lat/long. GeoDjango and GIS extensions for mysql seemed like over kill, plus I don't really know what I am doing but it seems to work. Django doesn't have very good support for mongo. Well, the django orm.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @11:16AM (#1514810)
To be honest I can see absolutely no reason why you can't use floats as you describe and < , >. Depending on what you are doing it may be a little tricky due to lat/longs being angular values, but over small distances I think this can be largely ignored. (In geosay we have some front end code that sorts out the niceties of the angular stuff)
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:21AM (#1514346)
We use mongodb as the backend datastore. It has built in location searching which so far has worked really well.
Re:Ask HN: Please help and review my weekend project. Geosay... by srjk on Wednesday July 14, 2010 @09:00AM (#1514416)
thanks for both your replies.

I have used (and liked) mongodb in the past. Horizontal scalability is important and mongo doesn't have a stable release with sharding. Also, this page http://www.mongodb.org/display/DOCS/Sharding+Upgrading+from+... seems empty.

But, the ease of use is really tempting :)

Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @09:09AM (#1514433)
According to http://www.mongodb.org/display/DOCS/Sharding production ready sharding should be available this month.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:20AM (#1514343)
There are 2 lookups. If you say "yes" to share my location in firefox then it uses the browser's navigator.geolocation functionality. If you say no, it uses MaxMind's geoIP service (see http://www.maxmind.com/)
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @08:19AM (#1514340)
We try and get a real geo lookup from your browser basically using HTML 5 JS if your browser supports. If you have gears it will fall back to that, if I remember correctly that is!, then it will go to maxmind.com javascript service to try and find you.
Re:Ask HN: Please help and review my weekend project. Geosay... by nudge on Wednesday July 14, 2010 @07:38AM (#1514266)
I discovered a café near me that apparently does really good "smoked salmon and cream chess bagels". I would love that to be true.
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @07:41AM (#1514269)
Fish takes Bishop?
Re:Ask HN: Please help and review my weekend project. Geosay... by imsky on Thursday July 15, 2010 @03:24AM (#1517177)
I really like it, but there are a couple of things:

Populate the map when you get my location, otherwise I think the app is broken.

A search for Bloomington, IN (verbatim) got me a tweet for Bloomington, IL. You don't want the same problem for cities like Brown or Jackson.

Maybe get rid of the left sidebar altogether? It's just redundant.

Re:Ask HN: Please help and review my weekend project. Geosay... by jimbobimbo on Wednesday July 14, 2010 @10:36AM (#1514659)
I clicked the link and got a prompt to install Chrome. I understand that you might be using some Chrome-specific (HTML5-specific, whatever) features, but throwing out potential user without even showing what he's missing is not cool. Why not to show some demo/screenshots page in case of not supported browser and only then prompt to upgrade?
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @10:40AM (#1514674)
Actually it's a prompt to install Google Chrome Frame (http://code.google.com/chrome/chromeframe/) in Internet Explorer. I agree that the experience for IE users could be better. (We support Firefox, Safari and Chrome on the desktop right now)
Re:Ask HN: Please help and review my weekend project. Geosay... by RossM on Wednesday July 14, 2010 @10:38AM (#1514666)
Initially it didn't bring anything up for my hometown (quite small but there are some foursquare users) but after going to my uni city and back again it actually brought up a surprising amount of stuff. There's a business networking group and a hidden cafe nearby!
Re:Ask HN: Please help and review my weekend project. Geosay... by nandemo on Wednesday July 14, 2010 @09:58AM (#1514547)
I've just found out that there's a supposedly very good bakery nearby. But I don't know how geosay works, and if I should thank geosay or foursquare.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @10:00AM (#1514561)
Thank us both. If the comment originated at Foursquare, of course that is down to them, but there is much less friction to finding the data on geosay (IMO)
Re:Ask HN: Please help and review my weekend project. Geosay... by joubert on Wednesday July 14, 2010 @07:56AM (#1514289)
It is pretty interesting to read what people have to say about their apartment buildings (mine, and those around me) - I live in Manhattan.
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @07:58AM (#1514293)
I think it is super interesting because I doubt those buildings would end up on foursquare. We want this to become a place for local information that doesn't have to be bar or restaurant focussed.
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @08:23AM (#1514352)
Oh btw, please try in in your phone (if you are an iphone or android user) as well as your desktop browser.
Re:Ask HN: Please help and review my weekend project. Geosay... by och on Wednesday July 14, 2010 @07:18AM (#1514239)
I just found out about a new cafe near me. Funny!
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @07:23AM (#1514246)
Yes. You should be able to find all sorts of stuff. Whilst right now it mainly collects from foursquare tips and geolocated tweets it can also permanently store tweets marked #geosay on geosay.com There is also an iphone/android mobile version that kicks in if you browse using one of those devices.
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @07:25AM (#1514249)
I should have also said that you need to tweet from a client that posts your geo lat/lon
Re:Ask HN: Please help and review my weekend project. Geosay... by dansingerman on Wednesday July 14, 2010 @07:38AM (#1514265)
And have your twitter account settings set to "Add location to my tweets". See http://twitter.com/settings/account
Re:Ask HN: Please help and review my weekend project. Geosay... by stewsnooze on Wednesday July 14, 2010 @07:42AM (#1514270)
It looks like we built something that needs people to click everywhere else apart from our app!!