Re: Allow user-defined views

2014-11-29 Thread Florian Westreicher Bakk.techn.
Alternatively, don't allow the user to write the video. Build some Ui that helps creating the view function, specify some things that can be run on the data and construct the view with that. This is essentially a query builder for couch db. On November 29, 2014 9:48:14 PM CET, Tim Black

Re: CouchDB Backend article I wrote on Google+

2014-03-25 Thread Florian Westreicher Bakk.techn.
The article has no clean line to follow and is confusing to read. You also have a few grammar mistakes and typos here and there. On March 25, 2014 3:21:19 AM CET, Olafur Arason olaf...@olafura.com wrote: https://plus.google.com/u/0/113901280667512186151/posts/fCmaosPgmwN I would love to get

Re: Which interface/library is better for couchDB

2014-03-04 Thread Florian Westreicher Bakk.techn.
Roll your own, it's just REST and json Ramanadham, Radhika radhika.ramanad...@emc.com wrote: Hi, I am trying to see if couchDB is a good fit for my project. For the most part, looks like it is. I also wanted to know which interface/library is a better one with better support out there to talk to

Re: replication with authentication

2014-02-18 Thread Florian Westreicher Bakk.techn.
Works as intended. You can easily verify this with Wireshark. Jason Winshell ja...@jasonwinshell.com wrote: Hi folks, I need to replicate between a master and backup database in a high-security environment. Replication, like any interaction with the database must be authenticated. Both Couch

Re: What is the status of GeoCouch?

2014-02-17 Thread Florian Westreicher Bakk.techn.
Alternatively, go polyglot and use both databases. There is no reason to restrict yourself go a single technology. Volker Mische volker.mis...@gmail.com wrote: Hi Patrick, On 02/17/2014 07:15 AM, Patrick Arlt wrote: I love working with CouchDB and I'm starting to think about using it in more

Re: CouchDB 1.5.0 at Linux

2014-02-15 Thread Florian Westreicher Bakk.techn.
Which headers did you send? Anthony Ananich anton.anan...@inpun.com wrote: Hi! I'm trying to make CouchDB work in RedHat EL.I was able to build it and server launches. But when I try to make any query, the server responds with HTTP Error 500: {error:unknown_error,reason:undef} In log file I

Re: Migration from bigcouch to later couchdb

2014-01-31 Thread Florian Westreicher Bakk.techn.
Would replication not solve that problem all by itself? Robert Samuel Newson rnew...@apache.org wrote: Good question. We are certainly obliged to ensure couchdb pre-merge data upgrades to couchdb post-merge but the bigcouch to couchdb path is not something we’ve yet committed to. That said,

Re: Marketing suggestion

2014-01-22 Thread Florian Westreicher Bakk.techn.
I know from experience that the automatic Facebook postings will most likely not work well. The new Facebook algorithm wants you to spend money on posts and automatically posted stuff from Twitter gets less than one percent organic insertions into peoples' streams. Ashley Parkes

Re: Disabling doc include

2014-01-02 Thread Florian Westreicher Bakk.techn.
I put a design doc behind a desk record / virtual host, that should do the trick. The user that is used by the app is read only Robert Newson rnew...@apache.org wrote: there’s no notion of read-protection in CouchDB. There’s no document level read protection, but you can certainly grant or

Re: Disabling doc include

2014-01-02 Thread Florian Westreicher Bakk.techn.
I was referring to Apache / nginx vhost. But I did not know this issue , good to know for the future. Jan Lehnardt j...@apache.org wrote: On 01 Jan 2014, at 23:32 , Stanley Iriele siriele...@gmail.com wrote: Can't you just use vhosts and rewrites to take care of that?... Also...you could use

Re: Disabling doc include

2014-01-02 Thread Florian Westreicher Bakk.techn.
achieve the same effect, though, the virtual host + url rewriter is not an access control mechanism. You’re still granting database-wide read permissions to the user. B. On 2 Jan 2014, at 09:09, Florian Westreicher Bakk.techn. st...@meredrica.org wrote: I put a design doc behind a desk record

Re: use startkey/endkey to discribe a range problem

2013-12-11 Thread Florian Westreicher Bakk.techn.
That's an interesting idea but it will not work in all situations. You could not query for areas that span multiple quadrants. If you would like to get all locations around 0,0 in a 20km square this won't work. Vivek Pathak vpat...@orgmeta.com wrote: You can replicate the two dimensional

Re: couchdb teporaly average view

2013-11-30 Thread Florian Westreicher Bakk.techn.
I think Roberts' approach is better, especially for disk usage. Simon Metson si...@cloudant.com wrote: If you split your data out into a list like [year, month, day, hour, minute] and used that as the key for the map you’d be able to query with different group levels to get averages at different

Re: proposed feature - list function /update handler half baby

2013-11-27 Thread Florian Westreicher Bakk.techn.
This would create the ability that one document that is updated changes all the other docs. I don't think that is a good idea. It will also run forever in a database with a few million documents as they are not filtered by a view first. You can already do something like this with the changes

Re: Tool to upload an entire website to CouchDB

2013-11-08 Thread Florian Westreicher Bakk.techn.
I think OP wants a tool to push crawled pages to couch, not couch apps. If I'm correct it should be doable with a simple curl loop. Simon Metson si...@cloudant.com wrote: Yeah, I’ve done this. Use the ST build thing to call grunt, and the grunt couchapp task to push the code. On Friday, 8

Re: CouchDB vs RethinkDB

2013-11-06 Thread Florian Westreicher Bakk.techn.
You will need the replicator db when something crashes, I should have mentioned that. Jens Alfke j...@couchbase.com wrote: On Nov 5, 2013, at 1:42 PM, Florian Westreicher Bakk.techn. st...@meredrica.org wrote: Couch can and will handle net splits. If you use the replicator db. Conflicts

Re: CouchDB vs RethinkDB

2013-11-05 Thread Florian Westreicher Bakk.techn.
Couch can and will handle net splits. If you use the replicator db. Conflicts will be detected and a winning version is determistically chosen on each node, resulting in the same doc everywhere. Alain Mouette amlista...@fastmail.fm wrote: Em 05-11-2013 19:13, Jim Klo escreveu: On Nov 5, 2013,

Re: osqa

2013-10-31 Thread Florian Westreicher Bakk.techn.
The problem I see is account explosion. I have a SO account, why would I register another? Also, I would not even think about looking somewhere else first (apart from docs and Google) Daniel Gonzalez gonva...@gonvaled.com wrote: If you are worried that no specific stack exchange site will be

Re: osqa

2013-10-31 Thread Florian Westreicher Bakk.techn.
, 2013 at 9:45 AM, Florian Westreicher Bakk.techn. st...@meredrica.org wrote: The problem I see is account explosion. I have a SO account, why would I register another? Also, I would not even think about looking somewhere else first (apart from docs and Google) This is [mostly] a non-issue

Re: Design Question: What is a Good Model?

2013-10-09 Thread Florian Westreicher Bakk.techn.
Quick question: why would a complex key be required? Could we not emit (userid, eventid) and be happy? Filippo Fadda filippo.fa...@programmazione.it wrote: Mark is right, you need 3 different document types. The Favorite structure will have: _id, _rev, userId, eventId, timestamp (it's always a

Re: Design Question: What is a Good Model?

2013-10-08 Thread Florian Westreicher Bakk.techn.
I'm also new but I would just use a view for that. You can emit user names as key and favorites as values and later query it with key=username function map(doc) { if(doc.type === 'favorite') { emit(doc.user, doc.favorite_id); } } Cheers, Florian (coding on mobile is hard) Benjamin Reed