top | item 3563877

Post short messages to people nearby (anonymously).

25 points| johnrob | 14 years ago |minipost.me | reply

Tossing this prototype out there to see if people find it useful.

32 comments

order
[+] grannyg00se|14 years ago|reply
Firefox asked me to share my location and then I got this in the browser:

Traceback (most recent call last): File "/home/johnrob/server/tornado/web.py", line 988, in _execute getattr(self, self.request.method.lower())(args, *kwargs) File "chat.py", line 30, in get self.do_get() File "chat.py", line 47, in do_get address = placefinder.lat_lon_to_zip(lat, lon) File "/home/johnrob/server/placefinder.py", line 20, in lat_lon_to_zip raise Exception("error looking up address for lat-lon: %s,%s" % (str(lat), str(lon))) Exception: error looking up address for lat-lon: 43.6525,-79.381667

[+] johnrob|14 years ago|reply
Thanks for the stacktrace. Using yahoo for geocoding... need to investigate.
[+] rokhayakebe|14 years ago|reply
What I really want is to drop a message anywhere (long&lat). Anyone who ever comes to that location, or close to it, can read it. I can drop a message for the next guy who will come to my house, or the next gal about to hike this trail... Get it? ... Edit: Forgot to say, Awesome :).
[+] johnrob|14 years ago|reply
Click the change link on the top right - you can put any address. Thanks!
[+] sarbogast|14 years ago|reply
There's an app for that. It's called Dropp
[+] johnrob|14 years ago|reply
Tossing this prototype out there to see if people find it useful. Feedback appreciated!
[+] lcusack|14 years ago|reply
For me the utility of something like this would be based around flirting... with that said, I think it has a lot of potential.
[+] alt_|14 years ago|reply
Entering a faulty address manually throws:

  Traceback (most recent call last):
  File "/home/johnrob/server/tornado/web.py", line 988, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "chat.py", line 33, in post
    self.do_post()
  File "chat.py", line 104, in do_post
    lat, lon, zip = placefinder.address_to_lat_lon(address)
  File "/home/johnrob/server/placefinder.py", line 9, in address_to_lat_lon
    lat = dom.getElementsByTagName('latitude')[0].childNodes[0].nodeValue
  IndexError: list index out of range
GeoIP would be a nice addition for browsers that don't share the location.
[+] johnrob|14 years ago|reply
Needs a better error page. IP location is an obvious addition as well.
[+] sossles|14 years ago|reply
I had this same idea but was way too lazy to implement it. Well done. :-)

How hard are the borders of each locality? For example, if I exchange messages with someone a few miles away, a third party might only be able to see half the conversation if they're too far from one of us.

Or is it like a thousand chatrooms, and if I travel a short distance then I suddenly flip to a new chatroom?

[+] johnrob|14 years ago|reply
In theory, each user could see a different set of posts. The posts are sorted by proximity to you. So, there are no locality borders (actually there may be some due to implementation details, but it's no the intention).
[+] lcusack|14 years ago|reply
How long do the posts last? I think it could become an interesting repository of local knowledge. Probably should have a voting system so best content goes to the top.
[+] johnrob|14 years ago|reply
Not sure yet. Right now they last forever, although newer stuff will eventually supplant older stuff (and there's no way to 'see older posts' yet).
[+] grannyg00se|14 years ago|reply
Also a search feature would be handy if there were enough posts in a given location.
[+] glenbo|14 years ago|reply
Have you thought about touching up the UI? Seems like a more refined aesthetic might attract more repeat visits... PM if you are interested in help.
[+] johnrob|14 years ago|reply
Definitely a todo item in the near term. Will let you know.
[+] dcaranda|14 years ago|reply
it's funny - a few people are opting to state their general area (Union Sqaure, Richmond, Downtown Brooklyn). And it seems like the most responses are from posts that are location-specific.

I know you're leaving it open ended - but if the general area is generating responses - maybe it could be included with the time stamp? "2 minutes ago, Union Square"

[+] johnrob|14 years ago|reply
That's a very good idea. It would be nice to have some sense of where a post came from.
[+] silkuze|14 years ago|reply
" Exception: error looking up address for lat-lon: 54.xxxxxx,24.xxxxxx"

Also, have you seen Squarechan? Does pretty much the same thing :-)

[+] johnrob|14 years ago|reply
Wow, that is very similar! Will check that out later on.
[+] alexhaefner|14 years ago|reply
These forms are open to injection. Not sanitized at all. Even for a prototype this is not good practice.
[+] johnrob|14 years ago|reply
working on that... thanks.
[+] sachingulaya|14 years ago|reply
Enter should press 'reply'. I love it, although my chat partner does not seem too interested in me =[.
[+] johnrob|14 years ago|reply
I can easily fix issue 1 ;) Thanks!
[+] 0x5a177|14 years ago|reply
Cool. I wanted to do something just like this, except the messages would decay over time.
[+] baby|14 years ago|reply
wow it is so buggy, messages disappear, if you enter your adress manually it doesn't work, sometimes a <br> appears from nowhere in clear.

I like the idea though.

[+] kuinak|14 years ago|reply
It thinks Beverly Hills, 90210 is near North Bay (SF).
[+] johnrob|14 years ago|reply
Hmmm, your browser may not be finding your location properly. You can type in an address manually using the 'change' link in the upper right.
[+] dustywusty|14 years ago|reply
What is the definition of "nearby"?
[+] johnrob|14 years ago|reply
As far as a few miles away.