Re: CouchPotato Object Document Mapper for C#

2014-02-05 Thread Ido Ran
This is funny. It is a bit loaded term CouchPotato :) @Robert - I've create a username *Ido Ran* ( https://wiki.apache.org/couchdb/Ido%20Ran) Thank you, Ido. On Mon, Jan 27, 2014 at 9:23 PM, Andy Wenk wrote: > On 27 January 2014 14:48, Robert Samuel Newson wrote: > > > H

CouchPotato Object Document Mapper for C#

2014-01-27 Thread Ido Ran
Hi, My name is Ido Ran. I've wrote a C# library name CouchPotato that is object-document-mapper for CouchDB <https://github.com/ido-ran/CouchPotato>. It is like Hibernate for CouchDB. The company I'm working in has been using it in production for the past 4 month. I&#

HTTP POST to _replicate is sync?

2013-09-23 Thread Ido Ran
Hi, We are trying to write a ruby script that replicate a remote database to local CouchDB server. I thought that I should do an HTTP POST to the _replicate special URL and that I'll get back the replication information and the replication will run asynchronously but as we found out the HTTP POST r

Re: Strange Reduce Value

2013-08-26 Thread Ido Ran
:: "_sum" > > > The answer will be an array where the first element is the 'yes' > votes, the second element is the total number of answers, and you can > calculate the no votes trivially. > > Alternately; > > emit(doc.surveyID, [doc.answer ? 1 : 0, !doc

Strange Reduce Value

2013-08-26 Thread Ido Ran
Hi. I have CouchDB with documents that contain possible answers to survey. All the possible answer documents have shared SurveyID field and either have *answer* field or they do not. I have this map function: function(doc) { if (doc.$type === 'employee') { var val =

Re: CiuchApp logic

2012-09-19 Thread Ido Ran
do anything >> serious with this. Some browsers are getting close to supporting >> crypto extensions, but its not there yet. That being said I am sure it >> would be sufficient for a monopoly type game as long as it's not real >> money at stake :) >> >&g

Re: CiuchApp logic

2012-09-19 Thread Ido Ran
I want to build game using CouchApp. It's not sensitive data but I don't want very easy way to cheat. Ido ב-19 בספט 2012, בשעה 20:30, Benoit Chesneau כתב/ה: > On Wed, Sep 19, 2012 at 6:06 PM, Ido Ran wrote: >> Hi, >> I'm trying to understand how to build couc

CiuchApp logic

2012-09-19 Thread Ido Ran
Hi, I'm trying to understand how to build couchapp that is truly distributed. If I'm building web version of Monopoly game using CouchDB and CouchApp; 1. Where will the business logic of changing the turn from one player to the next will be? 2. How can I prevent malicious user from changing the

Re: use case: replication of many databases, with/by many users

2012-09-18 Thread Ido Ran
This solution will make the hub node a single point of failure and further make it either unable to use peer-to-peer or by using p2p you go around the security model and there is no good way to denied p2p replication. I'm also looking into the use case of database per topic replicated to each

Re: Include CouchDB in Windows Application

2012-09-10 Thread Ido Ran
gt; On 1 September 2012 07:54, Ido Ran wrote: > > Hi, > > I have some news about running CouchDB in Windows. > > I've run the setup application setup-couchdb-1.2.0-otp-R15B.exe and > install > > it in C:\Program Files (x86)\Apache Software Foundation\CouchDB (wh

Re: Include CouchDB in Windows Application

2012-08-31 Thread Ido Ran
e values in etc\couchdb\local.ini, for administator, port, url, and run CouchDB as child process of my main application. This way I'll have control over starting and stopping CouchDB for my application. Have I missed something? On Fri, Aug 31, 2012 at 9:44 PM, Ido Ran wrote: >

Re: Include CouchDB in Windows Application

2012-08-31 Thread Ido Ran
I use ClickOnce so the application get installed into the user AppData directory. I'll try it on virtual machine see how it works. ב-31 באוג 2012, בשעה 15:10, Dave Cottlehuber כתב/ה: > On 31 August 2012 14:01, Ido Ran wrote: >> I can try to ensure there are no space in

Re: Include CouchDB in Windows Application

2012-08-31 Thread Ido Ran
rael). I guess I'll have to try and see how this works. Thank you for the link. Ido On Fri, Aug 31, 2012 at 2:33 PM, Dave Cottlehuber wrote: > On 31 August 2012 11:58, Ido Ran wrote: > > > Hi, > > I'm developing a Windows 7 Client Application. > > I would lik

Include CouchDB in Windows Application

2012-08-31 Thread Ido Ran
Hi, I'm developing a Windows 7 Client Application. I would like to use local CouchDB as my data store. I am currently using Microsoft ClickOnce deployment framework which allow to install an application without administrator privileges, which means it get install on the user home directory. 1) Is

Operational Database

2012-04-04 Thread Ido Ran
Hi, I'm evaluating the idea to use CouchDB for online operational system (as opposed to reporting system). There are several factors I take into account: * There are no tx between different documents * Topology of databases * Distributed Security Model I would like to know if people are willing to

Re: Security Questions

2011-11-11 Thread Ido Ran
About securing replication, SSL only solve confidentiality, not authorization. How do I go about making sure only authenticated party can replicate? Thank you ב-10 בנוב 2011, בשעה 21:47, Alexander Shorin כתב/ה: > On Thu, Nov 10, 2011 at 7:59 PM, Ido Ran wrote: >> 1. Does couch_ht

Re: Security Questions

2011-11-10 Thread Ido Ran
Hi, Thanks for the answer. On Thu, Nov 10, 2011 at 9:47 PM, Alexander Shorin wrote: > On Thu, Nov 10, 2011 at 7:59 PM, Ido Ran wrote: > > 1. Does couch_httpd_oauth means CouchDB support OAuth authentication as > is, > > without reverse proxy or anything else? > >

Security Questions

2011-11-10 Thread Ido Ran
1. Does couch_httpd_oauth means CouchDB support OAuth authentication as is, without reverse proxy or anything else? 2. How can I secure the replication between two couches? Thank you, Ido

Re: Authentication Question

2011-10-23 Thread Ido Ran
Hi Marcus, Sounds like you really solve the login via 3rd party cleanly. Can you please refere me to some code or document explain it in more details? Also, is it possible to extend such solution to use CouchDB replication? Thank you, Ido On Thu, Oct 20, 2011 at 4:55 AM, Wordit wrote: > On Wed

Re: Architecture Question

2011-10-18 Thread Ido Ran
Thank - that's help. Now, how to model the docs and handle security. Ido ב-18 באוק 2011, בשעה 15:58, Dave Cottlehuber כתב/ה: > On 18 October 2011 12:05, Ido Ran wrote: >> Hello again, >> >> I am developing a desktop application that run on Windows using WPF >

Re: Architecture Question

2011-10-18 Thread Ido Ran
> make a few minor changes to JSON and two images). > > Bob > rwadh...@maf.org<mailto:rwadh...@maf.org> > > > On Oct 17, 2011, at 3:42 AM, Ido Ran wrote: > > Many thanks > > On Mon, Oct 17, 2011 at 10:36 AM, Dave Cottlehuber <mailto:d...@muse.net.nz>> wro

Re: Architecture Question

2011-10-17 Thread Ido Ran
Many thanks On Mon, Oct 17, 2011 at 10:36 AM, Dave Cottlehuber wrote: > On 17 October 2011 07:16, Ido Ran wrote: > > Thank you all. I'm targeting Windows platform - so I'll be glad to hear > how can I run the database there. > > It's not going to be in-proces

Re: Architecture Question

2011-10-16 Thread Ido Ran
ar, people have asked for ways to do this without the user >> having >>> to install couchdb themselves. I don't think this is possible yet. >>> >>> On Sun, Oct 16, 2011 at 3:14 PM, Ido Ran wrote: >>> >>>> Hi, >>>> I have an

Architecture Question

2011-10-16 Thread Ido Ran
Hi, I have an application that currently use RESTful web service that I'm thinking to convert to use CouchDB to allow offline work. I have an idea of what I need and how to do it but I would like to hear if it is the right way and what problem it may bring along the way. It this mailing list is th

Re: where is couchDBX storing the actual database file?

2011-03-23 Thread Ido Ran
Right click on CouchDBX and select Show Content. Dig in there you will find both config and DB files. Ido ב-17 במרס 2011, בשעה 09:33, Edward de Jong כתב/ה: > I have created a database, and playing around with Futon. > i did this on the macintosh OSX system, but where on earth is the couch

Re: What is the semicolon means in rewrite rule

2011-01-18 Thread Ido Ran
) > ; is a semicolon > > Stefan > > On Mon, Jan 17, 2011 at 12:53 PM, Ido Ran wrote: > > > So any part of the url that start with semicolon is like a "variable" > that > > can be used in "to" and "query" parts, right? > > > &g

Re: What is the semicolon means in rewrite rule

2011-01-17 Thread Ido Ran
ou would > be willing to guide me where to find the information. > > Regards, > > > On Sat, Jan 15, 2011 at 12:21 PM, Ido Ran wrote: > > > rewrites config: [ { "to": "../..", "from": ":db" } ] > > > > Thanks, > > Ido. > > >

What is the semicolon means in rewrite rule

2011-01-15 Thread Ido Ran
rewrites config: [ { "to": "../..", "from": ":db" } ] Thanks, Ido.

Re: Anonymous Identity

2010-12-21 Thread Ido Ran
Thanks for sharing. I guess another option, for statistics only, is to use Google Analytics but I'm not sure I am able to programmatically query it without authenticating (anonymously). Ido On Tue, Dec 21, 2010 at 3:58 PM, Jason Smith wrote: > On Tue, Dec 14, 2010 at 2:53 AM, Ido Ra

Re: Document model of network

2010-12-20 Thread Ido Ran
Thank you very much for the great info. I agree that the the requirements I have are most important to select database that fits. Ido On Mon, Dec 20, 2010 at 1:06 AM, Miles Fidelman wrote: > Nils Breunese wrote: > >> I'm not familiar with neo4j, but it appears they have full support for >> trans

Re: Document model of network

2010-12-19 Thread Ido Ran
e. Ido On Sun, Dec 19, 2010 at 6:25 PM, Cliff Williams wrote: > Ido, > > I hope you are well. > > have you had a look at > http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API > > (the section labelled Transactional Semantics with Bulk Updates) > > best regards >

Re: Document model of network

2010-12-19 Thread Ido Ran
u looked at graph databases like neo4j [0]? > > Nils. > > [0] http://neo4j.org/ > ____________ > Van: Ido Ran [ido@gmail.com] > Verzonden: zondag 19 december 2010 16:17 > Aan: CouchDB MailingList > Onderwerp: Document model of network > >

Document model of network

2010-12-19 Thread Ido Ran
Hi, I have application which the primary data model is a network (graph). Currently I use RDBMS in which I have table of Node and table of Link. The Link table has FromNode, ToNode and LinkType fields. What is a good document model to put this type of data in CouchDB? Should I provide information

Re: Anonymous Identity

2010-12-13 Thread Ido Ran
> I think the easiest way for you to have an anonymous session like that > would be to put CouchDB behind some kind of application server, e.g. > PHP, Sinatra, Express. > > Cheers, > Zach > > On Wed, Dec 8, 2010 at 3:56 PM, Ido Ran wrote: > > Hi, > > I have an a

Anonymous Identity

2010-12-08 Thread Ido Ran
Hi, I have an application which show album of photos (this is new). I would like to keep track of how many people view each album. If I allow anyone to change the document of the album the data will not worth anything. How can I ensure that client side code does not do bad stuff? I though that Co

vhost debug

2010-11-23 Thread Ido Ran
Hi, I've follow this article in CouchOne: http://blog.couchone.com/post/1602827844/of-rewrites-and-virtual-hosting-an-introductionabout vhost. I have domain in GoDaddy and I've add CNAME record point ot my CochOne host, and the vhosts config value yet my url still does not work. How can I see that

Re: changes from view

2010-11-23 Thread Ido Ran
Hi, This is actually good question. In my use case I have CouchDB with documents of different "types". For simplicity and future ability for change I've create two views, one for each type of document: TasksView and ProjectsView (it is a POC application). If I'll use _changes notification I'll hav

Re: Write race conditions, working without _rev

2010-11-07 Thread Ido Ran
Hi, I think this question raise the general question of "document model" (in the same way OO programming has Object Model) and that is "how do you model you document to contain you problem domain including the process of changing those documents". In relation databases we use table diagram and des

Re: OAuth example

2010-11-03 Thread Ido Ran
Hi, I hope it the right place to ask it. I want to write an application and I don't want my users to remember yet another username and password set. Does OAuth is the answer for it? Can I use it for single-sign-on using Gmail, Facebook, Yahoo or any other provider? Ido On Wed, Nov 3, 2010 at 10:4

Re: Yet another transaction

2010-10-24 Thread Ido Ran
at we (as community) can is provide "Best Practice" or guideline and set of examples of how to handle both "non-transactional changes conflict" and "replication conflict". Does it make sense? On Fri, Oct 22, 2010 at 5:05 PM, couchdb user wrote: > Ido, > > On

Re: Yet another transaction

2010-10-22 Thread Ido Ran
with the replication and optimistic locking, not against it. Thanks, Ido On Fri, Oct 22, 2010 at 2:49 PM, couchdb user wrote: > Ido, > > see comments below: > > On Fri, Oct 22, 2010 at 5:40 AM, Ido Ran wrote: > > Hi, > > I know tx question have been asked, but I never got a

Yet another transaction

2010-10-22 Thread Ido Ran
Hi, I know tx question have been asked, but I never got a straight answer. I will present an example but I'm afraid that example distract us from the main issue which is "what is the new way of changing data?" Suppose I have CouchDB in which each document represent item in my warehouse. Each item

Re: Embed CouchDB in Windows Application

2010-10-20 Thread Ido Ran
Hi, Thanks for the reply. My use case is I have application which work in two (at least) different environments. 1. enterprise, that is multiple users work on the same database. 2. local in which single user work on single machine. 3. I have not even though for now about mixing them, that is an en

Embed CouchDB in Windows Application

2010-10-20 Thread Ido Ran
Hi, I have a Windows Application that currently work with J2EE server as backend via RESTful protocol. I am using Glassfish 3 as the J2EE container and have looked into the possibility to use Glassfish 3 embedded for local installation. The problem is I still have to use relational database like Ja

CouchDB for SproutCore developers

2010-10-18 Thread Ido Ran
Hi, I'm working on page in SproutCore wiki which explain how to build SproutCore sample Todos application using CouchDB as backend. I've finish the part explain how and what CouchDB is and I'll be more than happy if anyone how has time will be kind enough to read it and tell me if it is any good an

Re: VHosts and Rewrite rules

2010-10-18 Thread Ido Ran
If you have estimate of when it will be available it will be nice to hear. Until then I'll just keep work the long path. Thanks for the help, Ido On Mon, Oct 18, 2010 at 8:45 PM, Benoit Chesneau wrote: > On Mon, Oct 18, 2010 at 8:37 PM, Ido Ran wrote: > > OK, there is

Re: VHosts and Rewrite rules

2010-10-18 Thread Ido Ran
to http://localhost:5984 go to http://localhost:5984/todos? Thank you again, Ido On Mon, Oct 18, 2010 at 7:30 PM, Benoit Chesneau wrote: > On Mon, Oct 18, 2010 at 7:20 PM, Ido Ran wrote: > > Is that valid vhosts? */app/todo > > > * mean all coming hosts. > > > It

Re: VHosts and Rewrite rules

2010-10-18 Thread Ido Ran
, Oct 18, 2010 at 7:01 PM, Benoit Chesneau wrote: > On Mon, Oct 18, 2010 at 6:48 PM, Ido Ran wrote: > > > I've add vhosts section to my local.ini file and there I'm not sure how > to > > redirect http://localhost:5984/todos/* to > > http://localhost:5984/t

VHosts and Rewrite rules

2010-10-18 Thread Ido Ran
Hi, I've found these two articles about rewrite urls and virtual host in CouchDB: [1] http://mail-archives.apache.org/mod_mbox/couchdb-dev/201001.mbox/%3cb7cd8ed11001241100r259306d2g1f00981051791...@mail.gmail.com%3e [2] http://blog.couchone.com/post/443028592/whats-new-in-apache-couchdb-0-11-part-

Re: JSONP

2010-10-12 Thread Ido Ran
Futon or the config HTTP API. > > Should be something lie: > >$ curl -X PUT http://hostname/_config/httpd/allow_jsonp -d true > > > > On Tue, Oct 12, 2010 at 5:19 PM, Ido Ran wrote: > > OK, I've change the file default.ini, set allow_jsonp to true. > > My qu

Re: JSONP

2010-10-12 Thread Ido Ran
OK, I've change the file default.ini, set allow_jsonp to true. My question now is how can I do that change in couchone.com for production use? Thank you, Ido On Tue, Oct 12, 2010 at 11:14 PM, Ido Ran wrote: > I'm using 1.0.1 in CouchDBX.app. > What setting do I need to change

Re: JSONP

2010-10-12 Thread Ido Ran
I'm using 1.0.1 in CouchDBX.app. What setting do I need to change? On Tuesday, October 12, 2010, Paul Davis wrote: > What version are you using? > > jsonp has to be turned on in the .ini on recent releases. > > On Tue, Oct 12, 2010 at 3:33 PM, Ido Ran wrote: >> Hi,

JSONP

2010-10-12 Thread Ido Ran
Hi, I'm trying to access CouchDB using JSONP. I'm using curl to see if I get the right response but I never get the callback around there data, only the data itself just like a regular call. I've try it on single doc and a view and it does not work for me. I've notice this bug fix https://issues.

Re: SproutCore as CouchApp

2010-10-09 Thread Ido Ran
pefully it will be more common way of work soon. Ido On Sat, Oct 9, 2010 at 6:49 PM, Ido Ran wrote: > Hi, > > I'm back from vacation and I wonder if in the meantime someone has actually > manage to deploy SC app on CouchDB? > Last time I try the sc-build create 2 MB file in

Re: SproutCore as CouchApp

2010-10-09 Thread Ido Ran
after that. Thank you, Ido On Sat, Sep 18, 2010 at 4:11 PM, Chris Anderson wrote: > On Sat, Sep 18, 2010 at 3:07 AM, Ido Ran wrote: > > I plan on deploy my application on either CouchOne or CloudAnt so the > first > > option is not available there (to my understanding). > &

Re: $.couch.app.saveDoc

2010-09-18 Thread Ido Ran
It's not exactly about this problem but where is the code of $.couch.db and $.couch.login is actually at? I've looked in jquery.couch.app.js and jquery.couch.app.util.js but there is nothing there. Thank you, Ido On Sat, Sep 18, 2010 at 4:08 PM, Chris Anderson wrote: > On Sat, Sep 18, 2010 at 5

Re: SproutCore as CouchApp

2010-09-18 Thread Ido Ran
ckend? It will be hard to recreate all controls in evently, does it? Ido On Sat, Sep 18, 2010 at 7:03 AM, Dave Cottlehuber wrote: > On 18 September 2010 04:50, Ido Ran wrote: > > Hi, > > I have some new things I've found. > > 1. SproutCore build is very large. 62MB la

Re: Username is case-sensative

2010-09-18 Thread Ido Ran
Hi, All right. I agree that using Hebrew usename and password is a good solution. I think people not using it much because of legacy software which simply fail to support Hebrew username and/or passwords but I'm glad to say CouchDB handle it excellent. Hopefully the iPhone capital fix will solve

Re: Username is case-sensative

2010-09-17 Thread Ido Ran
e to check for every permutation of capitAliZatION > to see if the docid was taken. > > stephen > > > On Sep 17, 2010, at 2:45 PM, Ido Ran wrote: > > I agree that the auto-shift is not that bright, but start patch the login >> form for every thing out there may get hard

Re: Username is case-sensative

2010-09-17 Thread Ido Ran
I agree that the auto-shift is not that bright, but start patch the login form for every thing out there may get harder. Don't you think default to case-insensitive search will be better? Ido On Fri, Sep 17, 2010 at 9:21 PM, Chris Anderson wrote: > On Fri, Sep 17, 2010 at 3:07 AM,

Re: SproutCore as CouchApp

2010-09-17 Thread Ido Ran
se issues it will be great. Thank you, Ido On Wed, Sep 15, 2010 at 11:54 AM, Ido Ran wrote: > One more thing: it looks like geoffreyd fork Sproutcore repository and > integrate CouchDB server into it. > http://github.com/geoffreyd/sproutcore > > Check it out see if it works for y

Re: Username is case-sensative

2010-09-17 Thread Ido Ran
vents thing from getting > complicated > > with two users one named tyler and one named Tyler > > > > On Thu, Sep 16, 2010 at 12:50 PM, Randall Leeds >wrote: > > > >> On Thu, Sep 16, 2010 at 03:13, Ido Ran wrote: > >> > Unix, Linux, Windows, Gmail

Re: CouchDB The Definitive Guide - Part III

2010-09-16 Thread Ido Ran
Hi, I suggest looking at Focus <http://github.com/couchone/Focus> couchapp and taskr <http://github.com/jchris/taskr> couchapp. They both small enough application from which I learn more about how to write CouchApps. Ido On Thu, Sep 16, 2010 at 3:17 PM, Foobee wrote: >

Re: Username is case-sensative

2010-09-16 Thread Ido Ran
Unix, Linux, Windows, Gmail, Skype Any application I can think of treat username in case-insensitive way. Ido. On Thu, Sep 16, 2010 at 10:06 AM, Sebastian Cohnen < sebastiancoh...@googlemail.com> wrote: > where is this the "standard"? > > On 16.09.2010, at 00:29, Ido

Re: iPhone Safari and CouchDB Website

2010-09-15 Thread Ido Ran
How is that other sites the user ajax and longpoll does not keep the page loading forever? the setTimeout look like a patch, working one, but still a patch. Ido On Thu, Sep 16, 2010 at 12:52 AM, Chris Anderson wrote: > On Wed, Sep 15, 2010 at 1:59 PM, Ido Ran wrote: > > Hi, > >

Re: Username is case-sensative

2010-09-15 Thread Ido Ran
these circumstances. > > B. > > On Wed, Sep 15, 2010 at 10:00 PM, Ido Ran wrote: > > Hi, > > While testing how CouchApp works in iPhone I notice that the > authentication > > using username and password check the user name in case-sensitive maner. > > I think it's ba

Username is case-sensative

2010-09-15 Thread Ido Ran
Hi, While testing how CouchApp works in iPhone I notice that the authentication using username and password check the user name in case-sensitive maner. I think it's bad because in my iPhone for example when I write my name it always fix it to be with capital first letter. I guess the fix is easy a

Re: iPhone Safari and CouchDB Website

2010-09-15 Thread Ido Ran
wrote: > On Wed, Sep 15, 2010 at 7:12 AM, Ido Ran wrote: > > I'm not an expert, but I think it is longpoll. > > I can see the parameter in the querystring when I run the same > application > > on CouchDBX.app on my local machine. > > > > It is the taskr applic

Re: iPhone Safari and CouchDB Website

2010-09-15 Thread Ido Ran
4:06 PM, Ido Ran wrote: > > Hi, > > I've try to view my CouchApp using my iPhone and found something not so > > good: Because CouchApp use _changes feature of CouchDB by long polling on > > the server the address bar of the iPhone Safari never goes away. > > M

iPhone Safari and CouchDB Website

2010-09-15 Thread Ido Ran
Hi, I've try to view my CouchApp using my iPhone and found something not so good: Because CouchApp use _changes feature of CouchDB by long polling on the server the address bar of the iPhone Safari never goes away. Most users will not understand why it is and frankly it pretty annoying. If also hap

Re: SproutCore as CouchApp

2010-09-15 Thread Ido Ran
One more thing: it looks like geoffreyd fork Sproutcore repository and integrate CouchDB server into it. http://github.com/geoffreyd/sproutcore Check it out see if it works for you. Ido On Wed, Sep 15, 2010 at 11:40 AM, Ido Ran wrote: > Hi, > I share your excitement but I still have t

Re: SproutCore as CouchApp

2010-09-15 Thread Ido Ran
Hi, I share your excitement but I still have to tell you using SproutCore is not as easy as it first seem, at least not to me. Also I've found this project: http://github.com/geoffreyd/sproutcore-couchdb. At first I thought it is a DataSource for CouchDB which is the part you need to connect Sprout

Re: "IN" SQL Clause in Couch View

2010-09-15 Thread Ido Ran
unese wrote: > > You'll need to get the documents containing "Blue" and the documents > containing "Cat" and let the client do the intersection. Or add > couchdb-lucene to the mix, which offers full-text indexing: > http://github.com/rnewson/couchdb-lucene >

"IN" SQL Clause in Couch View

2010-09-14 Thread Ido Ran
Hi, I am trying to create a view like the one exist in taskr application called tag-cloud/ I want to be able to retrieve all documents which contain all the keywords I specify. For example: { _id: "A", keywords: ["Dog", "Cat", "Blue"] } { _id: "B", keywords: ["Dog", "Tree", "Blue"] } Now,

JavaScript Cross-Site in CouchApp

2010-09-12 Thread Ido Ran
Hi, It is not exactly CouchDB specific question so if it not the place tell me and I'm sorry for bugging. I'm building a CouchApp (finally it start to work :) which will be a "gateway" to PicasaWeb. The idea is to have hierarchical folders which contain links to picasaweb albums. My question is:

Re: Revsion Explained

2010-09-12 Thread Ido Ran
y (at least parts of it). The algorithm ensures that the same document > with the same history result in the same _rev token even on two different > nodes. This behavior is required for conflict detection/resolution. > > Best > > Sebastian > > > On 12.09.2010, at 14:43,

Revsion Explained

2010-09-12 Thread Ido Ran
Hi, I've read that the _rev fiel in each document is composed of two parts - integer which increment by 1 on each change and MD5 hash of the JSON of the document. What part of the JSON is included in that hash? I've created a new document with _id of "foo" and single field name "start" with value

Re: SproutCore as CouchApp

2010-09-12 Thread Ido Ran
I'll be glad to, but I'm not sure how to get the trace. There was no output in the command line. Ido On Sun, Sep 12, 2010 at 2:30 PM, Benoit Chesneau wrote: > On Sat, Sep 11, 2010 at 9:25 PM, Ido Ran wrote: > > Hi, > > I've try to deploy SproutCore as CouchAp

Re: CouchDBX Mac Application Repair

2010-09-12 Thread Ido Ran
ents" > Go to "Contents/Resources/couchdbx-core/couchdb/etc/couchdb" > Edit the local.ini file > Inside there you should see the admin users. Just delete the lines to > remove > the users. > > On Thu, Sep 9, 2010 at 15:29, Ido Ran wrote: > > > Hi, >

Re: SproutCore as CouchApp

2010-09-11 Thread Ido Ran
10 at 1:29 AM, Dave Cottlehuber wrote: > On 12 September 2010 07:25, Ido Ran wrote: > > Hi, > > I've try to deploy SproutCore as CouchApp but fail - I guess I've done > > something wrong. > > > > I've create new SproutCore application using *sc-i

Re: SproutCore as CouchApp

2010-09-11 Thread Ido Ran
execute *couchapp init* **I've execute *couchapp push http://* * * I've got a lot of warnings and it looks like the command just stuck. Should I do it other way? Thank you, Ido On Fri, Sep 10, 2010 at 9:22 PM, Ido Ran wrote: > Thank you all. > > One thing that might

Re: SproutCore as CouchApp

2010-09-10 Thread Ido Ran
middle tier, but > otherwise it was all good. > > James > > Sent Via iPhone > > On Sep 10, 2010, at 10:47 AM, Noah Slater wrote: > > > I hate "me too" posts, but this sounds REALLY interesting. > > > > I hope you keep us updated with your progress!

SproutCore as CouchApp

2010-09-10 Thread Ido Ran
Hi, I would like to know if it is possible (even just in theory at this point in time) to deploy SproutCore application as CouchApp. >From what I've understand SproutCore are static content once they are build and to deploy them on web-server like apache you just copy the files to the server. Couch

CouchDBX Mac Application Repair

2010-09-09 Thread Ido Ran
Hi, I've download and play with CouchDBX MacOS application. Then I've delete all files in ~/Library/Application Support/CouchDBX because I thought it will "start fresh" all the databases. But, it did not. Now I can't login nor create any admin users so I'm stuck. How can I repair this and start fr

Re: CouchDB The Definitive Guide - Part III

2010-09-07 Thread Ido Ran
I really like using ruby (mainly cause I can write html and css in > haml/sass) and will most likely be building apps that require the 3 layers > > Nicholas > > On Tue, Sep 7, 2010 at 5:39 PM, Ido Ran wrote: > > > Hi, > > > > I have successfully download Pag

Re: CouchDB The Definitive Guide - Part III

2010-09-07 Thread Ido Ran
progress so it's not very fast. Ido On Mon, Sep 6, 2010 at 10:21 PM, J Chris Anderson wrote: > > On Sep 6, 2010, at 12:15 PM, Ido Ran wrote: > > > Thank you very much. > > I'll try to use Pages and see how it goes. > > > > Does the draft version

Re: CouchDB The Definitive Guide - Part III

2010-09-06 Thread Ido Ran
Thank you very much. I'll try to use Pages and see how it goes. Does the draft version of the book is the "most recent" or is it the other way around? Thank you, Ido On Mon, Sep 6, 2010 at 6:14 PM, J Chris Anderson wrote: > > On Sep 5, 2010, at 11:37 PM, Ido Ran wro

CouchDB The Definitive Guide - Part III

2010-09-05 Thread Ido Ran
Hi, I'm learning CouchDB using the CouchDB Definitive Guide (draft edition). I've got to part III where I start playing with Sofa application to get my hand on real CouchApp, but there are some prolems: 1. The code presented in the book does not match the code in sofa github repository - jc

CouchDB with WebSocket

2010-09-03 Thread Ido Ran
Hi, I'm new to CouchDB (reading the book right now) but I already have a question. I notice CouchDB has notification abilities and without getting into details it looks like polling style. Are there plan (or maybe already implemented) to use WebSocket with CouchDB to make notification two way? Th