I don't know the nitty-gritty of it (familiarizing myself with the
source right now) but the basic idea is the same... Alice's server would
resolve Bob's domain name, then send a request to Bob's server saying
that Alice wants to add Bob as a friend. Bob could then either accept or
deny that request. If Bob accepts, his server would send back a response
and now Alice and Bob's servers will display them as friends.
If you want to dig through the code, check out the requests model
"request.rb"
(http://github.com/diaspora/diaspora/blob/master/app/models/request.rb)
or the controller, "requests_controller.rb"
(http://github.com/diaspora/diaspora/blob/master/app/controllers/requests_controller.rb).
Best,
Sam
You must to remember that this is not meant to be actual usable software
yet. This is just a source release so that people can go ahead and start
developing Diaspora further.
Eventually some other strategy for search may be created, for instance,
one might be able to have a list of trusted servers, and when you search
for a friend your server would query all of the trusted servers for
results matching the search term(s).
Best,
Sam
P.S. The previous email from my name at gmail.com is also me. Didn't
notice which account I was sending from.
--
Sam Whited
s...@samwhited.com
404.492.6008
Georgia Institute of Technology
Mechanical Engineering Undergraduate
swh...@gatech.edu
Right now they're using a pretty simple push based system.
Best,
Sam
P.S. Not really sure what you're looking for still, but I hope I helped.
Pubsubhubbub (http://en.wikipedia.org/wiki/Pubsubhubbub) and XMPP
(http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol) are
decent (open standard) protocols for doing things like this. You might
want to read up on them.
If you don't like something, or feel that something needs to be
implemented, write a patch.
Best,
Sam
--
- Sam
--
You might even add a list to the GIT repo so that an admin can pull down
a list of well maintained / popular servers which can be kept up to date
in the version control (this would also allow you to pull down lists
from other servers as well). This way you could query a bunch of servers
for a user and display the results, and you could also query those
servers (or just pull a list from GIT) for other servers and have a
distributed search. This sort of searching is a well researched / solved
problem and can be done quickly and efficiently (think Bittorrent
peer-exchange and DHT).
Best,
Sam
If you mean, search for users from outside Diaspora, then yes - me.
From inside Diaspora: I have no idea what is planned, but I'll be surprised if the public keys of all users at least two hops away from you aren't part of the data in the distributed network.
I don't expect Diaspora to supplant all social networks. I just want a safe way to share non-public infofmation with people I trust. Those people can find other ways of getting their Diaspora IDs to me.
Maybe I'm misunderstanding what you're asking still?
Best,
Sam
--
Sam Whited
s...@samwhited.com
404.492.6008
Georgia Institute of Technology
Mechanical Engineering Undergraduate