<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user">
    <title>gmane.comp.db.couchdb.user</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22080"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22079"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22078"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22077"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22076"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22075"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22074"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22073"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22072"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22071"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22070"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22069"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22068"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22067"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22066"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22065"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22064"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22063"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22062"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22061"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22080">
    <title>Re: Question about using moment.js in a map function</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22080</link>
    <description>&lt;pre&gt;Yep. That sounds about right. I've got a non-kanso couchapp that does exactly that. 

Sent from my iPhone

On May 25, 2013, at 5:55 PM, "Troy Martin" &amp;lt;troy-lAFUwtX9PX4rx4h/O56vldBPR1lH4CV8&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jim Klo</dc:creator>
    <dc:date>2013-05-26T06:59:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22079">
    <title>Question about using moment.js in a map function</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22079</link>
    <description>&lt;pre&gt;If I want to use moment.js in a view, can I just replace " with ' in the minified source code (https://raw.github.com/timrwood/moment/2.0.0/min/moment.min.js), and use Futon to save the source code as a string under views.lib? Would I then be able to access it a view by calling require('views/lib/moment')? Sounds like Kanso would make this easier, but I don't want to install it just for this if I don't have to.

Thanks,

Troy&lt;/pre&gt;</description>
    <dc:creator>Troy Martin</dc:creator>
    <dc:date>2013-05-26T00:54:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22078">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22078</link>
    <description>&lt;pre&gt;Awesome, I guess I overlooked that.
I believe I now have some abused list functions to go refactor :)


On Fri, May 24, 2013 at 10:36 AM, Robert Newson &amp;lt;robert.newson-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Travis Paul</dc:creator>
    <dc:date>2013-05-24T14:46:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22077">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22077</link>
    <description>&lt;pre&gt;Since the introduction of commonjs, yes. The libs are positioned under views so that we can include the code in the checksum for the reason you mentioned. 

Sent from my iPhone

On 24 May 2013, at 15:29, Travis Paul &amp;lt;Tr-oL+bxNnI65tBDLzU/O5InQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Robert Newson</dc:creator>
    <dc:date>2013-05-24T14:36:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22076">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22076</link>
    <description>&lt;pre&gt;Thanks Robert, Sorry Noah,
Has this always been the case? I was always under the impression that you
could only use require in validate, list, and show functions.


On Fri, May 24, 2013 at 10:25 AM, Robert Newson &amp;lt;robert.newson-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Travis Paul</dc:creator>
    <dc:date>2013-05-24T14:29:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22075">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22075</link>
    <description>&lt;pre&gt;I can confirm you are wrong. You can require() into map functions. 

Sent from my iPhone

On 24 May 2013, at 14:50, Travis Paul &amp;lt;Tr-oL+bxNnI65tBDLzU/O5InQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Robert Newson</dc:creator>
    <dc:date>2013-05-24T14:25:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22074">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22074</link>
    <description>&lt;pre&gt;Forgive me for not reading the whole email and ignore this if I missed some
critical information. But if you're tring to import a library in a view,
you can't. Views must be side-effect free. Someone please correct me if I'm
mistaken.

On May 24, 2013 4:36 AM, "Noah Diewald" &amp;lt;noah-LJ/xIhIu6xpBDLzU/O5InQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

I have a design document where I'm trying to use commonjs in a view. At this
point I've failed at trying to do the more complicated stuff that I
intended to
use this functionality for. I'm just trying to do something simple so that
I can
figure out why things aren't working for me. I'm following this wiki page
fairly
closely: https://wiki.apache.org/couchdb/CommonJS_Modules

I have a views property that looks like this:

views: {
  lib: {
    blue: "exports.ninenine = 99;"
  },
  mymap: {
    map: "function (doc) {emit(require('../lib/blue').ninenine);}"
  }
}

I get errors that look like the following for every document in the log when
attempting to run the view in the temporary vie&lt;/pre&gt;</description>
    <dc:creator>Travis Paul</dc:creator>
    <dc:date>2013-05-24T13:50:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22073">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22073</link>
    <description>&lt;pre&gt;yes, that was a type, thanks Robert!

btw there is a more extended discussion on the topic with feedback of Dale &amp;amp; Dave here:
https://github.com/hoodiehq/hoodie.js/issues/66#issuecomment-18394013


&lt;/pre&gt;</description>
    <dc:creator>Gregor Martynus</dc:creator>
    <dc:date>2013-05-24T11:13:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22072">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22072</link>
    <description>&lt;pre&gt;Side-note: You do know it's ?new_edits=false, not edits=false, right?

B.


On 24 May 2013 12:04, Gregor Martynus &amp;lt;gregor-fg4rxdkaigvk1uMJSBkQmQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Robert Newson</dc:creator>
    <dc:date>2013-05-24T11:12:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22071">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22071</link>
    <description>&lt;pre&gt;Thanks Jason, I've a better understanding of the ?edits=false flag now and also what the cause of my problem is. After looking more into it, I've found that conflicts are not created on every POST /_bulk_docs?edits=false, but only for some documents. And the reason is that the `_revisions.ids` history is not correct in all cases, so it must be a Hoodie bug.

PS: Special thanks that you found the time to respond in these exciting times :-) Very happy for you &amp;amp; IrisCouch 

&lt;/pre&gt;</description>
    <dc:creator>Gregor Martynus</dc:creator>
    <dc:date>2013-05-24T11:04:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22070">
    <title>Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22070</link>
    <description>&lt;pre&gt;I have a design document where I'm trying to use commonjs in a view. At this
point I've failed at trying to do the more complicated stuff that I intended to
use this functionality for. I'm just trying to do something simple so that I can
figure out why things aren't working for me. I'm following this wiki page fairly
closely: https://wiki.apache.org/couchdb/CommonJS_Modules

I have a views property that looks like this:

views: {
  lib: {
    blue: "exports.ninenine = 99;"
  },
  mymap: {
    map: "function (doc) {emit(require('../lib/blue').ninenine);}"
  }
}

I get errors that look like the following for every document in the log when
attempting to run the view in the temporary view interface in futon:

OS Process #Port&amp;lt;0.3115&amp;gt; Log :: function raised exception (new
TypeError("mod.current is null", "/usr/share/couchdb/server/main.js", 1125))
with doc._id cccb3bb779549b28b2e48eb628934107

So it looks like relative paths don't work but if I use the property path as
shown in the wiki:

views: {
  lib: {
    bl&lt;/pre&gt;</description>
    <dc:creator>Noah Diewald</dc:creator>
    <dc:date>2013-05-23T19:40:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22069">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22069</link>
    <description>&lt;pre&gt;Oh. I cut and pasted badly. The two errors are not the same. The first should be
"mod is undefined".

On 05/23/2013 02:40 PM, Noah Diewald wrote:

&lt;/pre&gt;</description>
    <dc:creator>Noah Diewald</dc:creator>
    <dc:date>2013-05-23T19:51:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22068">
    <title>Re: Problem with commonjs in view</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22068</link>
    <description>&lt;pre&gt;If anyone is curious about the "dumb" thing that I did, here it goes.

I created a view that referred to the exported function using a relative path.
This didn't work. I decided to try and debug the problem using the temporary
view editor. This didn't work because I guess that temporary views are special
somehow. I had thought that I'd tried updating the view to match this example,
without using a temporary view:


But I must not have done this because I tried it again and got it to work. Moral
of the story, temporary views are not a good place to debug commonjs problems.

On 05/23/2013 02:51 PM, Noah Diewald wrote:

&lt;/pre&gt;</description>
    <dc:creator>Noah Diewald</dc:creator>
    <dc:date>2013-05-23T21:12:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22067">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22067</link>
    <description>&lt;pre&gt;Calculating _rev "correctly" depends on what you need.

If you and I have the same document and make the same changes except _rev
(and _revisions), then we will get a conflict when we replicate to each
other.

The only project I know that uses edits=false somewhat successfully is
mikeal/replicate. It might help, although it gets its _revisions value from
CouchDB, it doesn't calculate anything.

Can you paste some example documents (with the _revisions) value?


On Fri, May 24, 2013 at 3:28 AM, Gregor Martynus &amp;lt;gregor-fg4rxdkaigvk1uMJSBkQmQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Jason Smith</dc:creator>
    <dc:date>2013-05-24T05:36:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22066">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22066</link>
    <description>&lt;pre&gt;Thanks Jens,

I am using the bulk api as described in Posting Existing Revisions[1] already, and I pass the the new and the past rev ids in _revisions.ids. But still I do get errors.

But I think I've spotted an issue, I'll check that one first. Cheers!


[1] http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Transactional_Semantics_with_Bulk_Updates  

&lt;/pre&gt;</description>
    <dc:creator>Gregor Martynus</dc:creator>
    <dc:date>2013-05-24T01:18:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22065">
    <title>Re: using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22065</link>
    <description>&lt;pre&gt;
On May 23, 2013, at 1:28 PM, Gregor Martynus &amp;lt;gregor-fg4rxdkaigvk1uMJSBkQmQ&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


Are you _sure_ you want to do that? It can create conflicts. Regular PUTs won’t lose data; the 409 Conflict error is to alert the client that there’s a newer revision on the server, so the client can do the necessary conflict resolution and then retry. It’s generally better to handle conflicts before they’re saved, rather than afterwards, because you’re more flexible in how to interact with the user.


Don’t make up your own revIDs! If you really, really want to create conflicts on the server, use the all_or_nothing mode of _bulk_docs instead:
http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Transactional_Semantics_with_Bulk_Updates

—Jens
&lt;/pre&gt;</description>
    <dc:creator>Jens Alfke</dc:creator>
    <dc:date>2013-05-24T00:13:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22064">
    <title>using POST _bulk_docs with ?edits=false</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22064</link>
    <description>&lt;pre&gt;Hey, 

I'm using the edits=false flag to push changes from the browser to the couch, to prevent that data can get lost. My current implementations randomly generates a _rev number and adds the _revisions attribute with the current _rev and the newly generated _rev number. But that leads to conflicts. I was told that the _rev number has to be calculated based on the objects.

I try to find out how to calculate a new the _rev number correctly but can't figure it out. I've described the issues here:
https://github.com/hoodiehq/hoodie.js/issues/66

Would really appreciate your help 

&lt;/pre&gt;</description>
    <dc:creator>Gregor Martynus</dc:creator>
    <dc:date>2013-05-23T20:28:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22063">
    <title>Re: music database</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22063</link>
    <description>&lt;pre&gt;Hello!
We are create project for music with couchdb, if you are really interesting
this, we can help you!


2013/5/23 Brad Rhoads &amp;lt;bdrhoa-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;




&lt;/pre&gt;</description>
    <dc:creator>Александр Опак</dc:creator>
    <dc:date>2013-05-23T18:55:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22062">
    <title>Re: music database</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22062</link>
    <description>&lt;pre&gt;https://github.com/rwadholm/The-Little-Library can get you started.

---------------------------
www.maf.org/rhoads
www.ontherhoads.org


On Wed, May 22, 2013 at 3:37 AM, Rana Bunnni &amp;lt;rana_ios-QqNU3IAdlV0&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Brad Rhoads</dc:creator>
    <dc:date>2013-05-23T18:46:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22061">
    <title>music database</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22061</link>
    <description>&lt;pre&gt;Hi all,
I would like to create a database that can store music.
How can I save music in couchDB ?
and how can i retrieve a specific music from the database ?

Greetings
/RB&lt;/pre&gt;</description>
    <dc:creator>Rana Bunnni</dc:creator>
    <dc:date>2013-05-22T09:04:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.db.couchdb.user/22060">
    <title>music database</title>
    <link>http://permalink.gmane.org/gmane.comp.db.couchdb.user/22060</link>
    <description>&lt;pre&gt;Hi all,
I would like to create a database that can store music.
How can I save music in couchDB ?
and how can i retrieve a specific music from the database ?

Greetings
/RB&lt;/pre&gt;</description>
    <dc:creator>Rana Bunnni</dc:creator>
    <dc:date>2013-05-22T09:37:02</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.db.couchdb.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.db.couchdb.user</link>
  </textinput>
</rdf:RDF>
