Re: cloudy BBDB

2011-10-29 Thread Ted Zlatanov
On Sat, 29 Oct 2011 08:58:19 +0700 Eric Abrahamsen e...@ericabrahamsen.net 
wrote: 

EA On Fri, Oct 28 2011, Ted Zlatanov wrote:
 I put together some code that uses CouchDB to store Gnus group
 subscriptions and marks in gnus-sync.el.  It works well; so well in fact
 that I'm considering doing the same for BBDB records.  Imagine having
 your BBDB entirely stored on a central server instead of a local file.
 Yes, kind of like LDAP, but not so hard to use and much more accessible.
 
 In order to do this I will have to generalize and improve the
 gnus-sync.el code that talks to CouchDB.  But I wanted to first find out
 if this interests anyone (and please feel free to tell me my idea
 sucks), or if there's existing functionality that I would be
 duplicating.  I'm not aware of such.

EA Out of curiosity, what sort of support would be needed on the server
EA side. Just a CouchDB installation? I assume it's the sort of thing you'd
EA need your own hosting and SSH access to set up?

Just CouchDB (you may need to install some custom design views, but
that's trivial and I already do it for gnus-sync.el).  

There's something interesting here.  CouchDB has built-in multipoint
replication (master-master) over HTTP.  So you can run your own locally
and another one somewhere else; the replication is trivial to set up.
So rather than a world-visible CouchDB server you could have two private
ones talking over HTTP.

As for third-party solutions, see
http://stackoverflow.com/questions/1091735/is-there-a-hosted-couchdb-service-provider

Cloudant and Iris Couch have free plans to provide hosted CouchDB that
will probably be good enough for most of us.  I can host people on my
server as long as I can afford it :)  But the idea is that this is an
infrastructure you can easily obtain, and the BBDB sync will ride on top
of it.

Ted


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: function to add new records from email message

2011-10-29 Thread Peter Münster
On Thu, Aug 11 2011, Roland Winkler wrote:

 On Sun Aug 7 2011 Peter Münster wrote:
 The question was rather, if there was a function like
 `bbdb-mua-edit-notes-ALL'. My solution:
 
 --8---cut here---start-8---
 (local-set-key : '(lambda () (interactive)
   (bbdb-mua-edit-notes-recipients)
   (bbdb-mua-edit-notes-sender)))
 --8---cut here---end---8---

 I guess there are just too many possiblities for defining such
 utility commands to match personal tastes. But as you noticed
 reshuffling the existing ones is hopefully not so difficult.

  Try bbdb-mua-display-sender
 
 This function does nothing, if the record does not yet exist.

 ...depending on how you configure it. As I said: the default is
 being the least aggressive.

Hello,

Finally I understand: `bbdb-mua-display-*' does not only *display*
records, but can also update them, depending on
`bbdb-mua-update-interactive-p'.
I've replaced `bbdb-mua-edit-notes-*' by `bbdb-mua-display-records' and
everything is fine now!


 But it's not a big issue, I just have to press Return for each
 new record.

 What do you mean here? Which step needs to be confirmed by typing
 Return so that apparently you get what you want?

Since I have still used the bbdb-mua-edit-notes-* functions, at every
new record bbdb asked for notes. But with the display function, this
is solved.

Thanks!
-- 
   Peter


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: cloudy BBDB

2011-10-29 Thread Eric Abrahamsen
On Sun, Oct 30 2011, Ted Zlatanov wrote:

 On Sat, 29 Oct 2011 08:58:19 +0700 Eric Abrahamsen e...@ericabrahamsen.net 
 wrote: 

 EA On Fri, Oct 28 2011, Ted Zlatanov wrote:
 I put together some code that uses CouchDB to store Gnus group
 subscriptions and marks in gnus-sync.el.  It works well; so well in fact
 that I'm considering doing the same for BBDB records.  Imagine having
 your BBDB entirely stored on a central server instead of a local file.
 Yes, kind of like LDAP, but not so hard to use and much more accessible.
 
 In order to do this I will have to generalize and improve the
 gnus-sync.el code that talks to CouchDB.  But I wanted to first find out
 if this interests anyone (and please feel free to tell me my idea
 sucks), or if there's existing functionality that I would be
 duplicating.  I'm not aware of such.

 EA Out of curiosity, what sort of support would be needed on the server
 EA side. Just a CouchDB installation? I assume it's the sort of thing you'd
 EA need your own hosting and SSH access to set up?

 Just CouchDB (you may need to install some custom design views, but
 that's trivial and I already do it for gnus-sync.el).  

 There's something interesting here.  CouchDB has built-in multipoint
 replication (master-master) over HTTP.  So you can run your own locally
 and another one somewhere else; the replication is trivial to set up.
 So rather than a world-visible CouchDB server you could have two private
 ones talking over HTTP.

 As for third-party solutions, see
 http://stackoverflow.com/questions/1091735/is-there-a-hosted-couchdb-service-provider

 Cloudant and Iris Couch have free plans to provide hosted CouchDB that
 will probably be good enough for most of us.  I can host people on my
 server as long as I can afford it :)  But the idea is that this is an
 infrastructure you can easily obtain, and the BBDB sync will ride on top
 of it.

Cool, thanks! I do have my own server, so this would be pretty simple --
just curious!

E


--
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World#153; now supports Android#153; Apps 
for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/