Re: Needs some assistance

2012-04-09 Thread Kenneth Tyler
My skype name is "kennethallentyler" send me an invitation ken tyler On Mon, Apr 9, 2012 at 6:19 PM, Kenneth Tyler wrote: > Do you want to talk now ? Do you have skype ? > > Ken Tyler > > > On Mon, Apr 9, 2012 at 3:19 PM, Manuel Dahmen wrote: > >> Le

Re: Needs some assistance

2012-04-09 Thread Kenneth Tyler
Do you want to talk now ? Do you have skype ? Ken Tyler On Mon, Apr 9, 2012 at 3:19 PM, Manuel Dahmen wrote: > Le 9 avr. 2012 20:19, "Kenneth Tyler" a écrit : > > > > Manuel, > > sound very interesting. > > can we talk more about it. > > I'm in

Re: Needs some assistance

2012-04-09 Thread Kenneth Tyler
Manuel, sound very interesting. can we talk more about it. I'm in california, its 12:19 PST here now could you talk in about 5 hours ? thanks kenneth tyler On Mon, Apr 9, 2012 at 12:16 PM, Manuel Dahmen wrote: > Good evening. > Could i get some help? > I have an application whic

Re: erlang views

2011-01-27 Thread Kenneth Tyler
t's also efficient to find the > previous and next key when you do so. So couchdb provides contiguous > range queries too. Your query can only be completed by a different, > and more complicated, data structure than couchdb actually supplies. > > B. > > On Thu, Jan 27, 2011 at

erlang views

2011-01-27 Thread Kenneth Tyler
If i want to select documents by values in certain parts of a key and ignore other parts I don't think I can do that in couch using javascript views. If i have keys: a,3,b,4 -- a,2,c,1 -- a,5,b,2 and i want to return keys that match a, _ , b, _ (where _ means "i don't care") can i do that if i sw

Re: schema-driven data entry UI

2010-12-15 Thread Kenneth Tyler
Alexander, I have been working on something like this. In my case I am building documents inside of the couchdb that are templates. These templates are then used by a javascript library to erect a UI for data entry. I have written a little about it at http://crumbsinthecouch.com/ although i am beh

Re: network not available

2010-10-21 Thread Kenneth Tyler
yes, that's what i was trying to do ken On Thu, Oct 21, 2010 at 10:56 AM, couchdb user wrote: > On Thu, Oct 21, 2010 at 1:53 PM, Kenneth Tyler wrote: > > i installed couchdb on an ubuntu box using couchone's bin file.. which > > worked fine. i could start couch a

network not available

2010-10-21 Thread Kenneth Tyler
i installed couchdb on an ubuntu box using couchone's bin file.. which worked fine. i could start couch and curl to it then in changed the 127.0.0.1 in local ini to 127.0.0.0 and now when i try to curl to it, it get "network not available" this may be a linux issue... i don't know ken tyler

Re: bad views

2010-09-20 Thread Kenneth Tyler
Chris, We now suspect that because we tried to set up a "couchdb" user couchdb has trouble writing the couchdb.stderr and couchdb.stdout files... which we think might cause the timeout errors we're investigating ken On Mon, Sep 20, 2010 at 7:59 AM, Chris Anderson wrote: > I'm glad you were abl

Re: bad views

2010-09-19 Thread Kenneth Tyler
i've tried again and confirmed, the same test will fail with a timeout error, then a couple of minutes later succeed, but take a longer time than the first one... go figure ken tyler

Re: bad views

2010-09-19 Thread Kenneth Tyler
, Kenneth Tyler wrote: > so if i change the couchdb timeout from 5000 to 1 > > i get > design_docs success12850ms > > i assume that there is still some sort of problem if the test views won't > run in the 5 seconds > > ken tyler >

Re: bad views

2010-09-19 Thread Kenneth Tyler
so if i change the couchdb timeout from 5000 to 1 i get design_docssuccess12850ms i assume that there is still some sort of problem if the test views won't run in the 5 seconds ken tyler

Re: bad views

2010-09-19 Thread Kenneth Tyler
i'm working thru this i ran the test suite and got a lot of failures... mostly all timeouts... which i don't understand as there is lots of disk space and lots of memory and very little running on this server could some sort of permissions issue be causing it ? ken tyler jsonpfailure15

Re: bad views

2010-09-19 Thread Kenneth Tyler
actually, looks like this is not about my imported data at all i created a brand new database a brand new document with one field when i went to temporary views and clicked on run, before even creating a view i get an error this is the most difficult data environment to use i've ever tried to

Re: bad views

2010-09-19 Thread Kenneth Tyler
another symptom: if i try and compact views in one of the "bad" databases, i get: The view could not be compacted: {gen_server,call, [couch_view, {get_group_server,<<"g_wyght_47611">>, {group, <<143,227,38,213,39,16,222,38,43,128,238,78,41,80,127,81>>, ni

bad views

2010-09-19 Thread Kenneth Tyler
after importing a lot of data from sql server into databases i get a lot of databases that give a utf-8 error when i try to access their design documents now i have one with a different error. if i look at the design docs in futon i get a timeout error even looking at a temporary view gives the

Re: Conditional joins

2010-09-17 Thread Kenneth Tyler
y the view looking for [test.com,1] ken tyler On Fri, Sep 17, 2010 at 6:56 AM, Kenneth Tyler wrote: > Simon, > I think this is a case where the flat document structure of couch documents > makes things much simpler than in SQL. > > If you had a view like this: > function(do

Re: Conditional joins

2010-09-17 Thread Kenneth Tyler
Simon, I think this is a case where the flat document structure of couch documents makes things much simpler than in SQL. If you had a view like this: function(doc){if(doc.type=='user'){emit(doc.status,doc)} then it would return all the user documents with their status as their key and you could u

Re: One-sided 1-to-many relationship

2010-09-15 Thread Kenneth Tyler
I think this is the feature you want to use. from the wiki: Linked documents *This is a new feature in couchdb 0.11* If you emit an object value which has *{'_id': XXX}* then include_docs will fetch the document with id XXX rather than the document which was processed to emit the key/value pair.

invalid user error when starting as daemon

2010-09-15 Thread Kenneth Tyler
hello, after installing on ubuntu 10.4 using build-couchdb when i try to start couchdb as a daemon i get this error administra...@pawpaw:~$ build-couchdb/build/etc/init.d/couchdb start * Starting database server couchdb chown: invalid user: `couchdb' Unk

Re: Filtering of view results

2010-09-13 Thread Kenneth Tyler
Henrik, Can you say more about what this document is recording, what do "branch" and "platform" mean ? And what is the reason for storing this information ? I am trying to think about your document structure... and just the sample values does not give me enough background. Thanks ken tyler On M

Re: SQL-like-JOINs?

2010-09-13 Thread Kenneth Tyler
join in couchdb...because in couchdb lists can be kept in the document itself, rather than the document storing links to other records that make up the list. ken tyler On Mon, Sep 13, 2010 at 8:58 AM, Wolfgang Egger wrote: > Kenneth Tyler writes: > > > > > Wolfgang, > >

Re: SQL-like-JOINs?

2010-09-13 Thread Kenneth Tyler
Wolfgang, Just like in SQL, the first question is what is common to the two (or more) documents that you want to combine ? Do they have the same type ? Are they in a certain date range ? Do they share some other field of information ? Ken Tyler On Mon, Sep 13, 2010 at 8:23 AM, Wolfgang Egger wrot

Re: geocouch?

2010-09-12 Thread Kenneth Tyler
thanks, looks like i misunderstood what i saw on github can i run both the fork and regular couchdb on the same machine? ken tyler On Sun, Sep 12, 2010 at 9:58 AM, Benoit Chesneau wrote: > On Sun, Sep 12, 2010 at 6:36 PM, Kenneth Tyler wrote: > > this sounds like a stupid question..

geocouch?

2010-09-12 Thread Kenneth Tyler
this sounds like a stupid question... but, is geocouch built into couchdb? specifically, if i use build-couchdb to set up couch, is geocouch already part of it? when i look at the instructions on github for installing geocouch.. it looks like you're just installing couchdb thanks ken tyler

Re: not a server admin

2010-09-11 Thread Kenneth Tyler
lt"],"authenticated":"cookie"}} ken On Sat, Sep 11, 2010 at 10:54 AM, J Chris Anderson wrote: > > On Sep 11, 2010, at 10:41 AM, Kenneth Tyler wrote: > > > ;admin = mysecretpassword > > ken5 = -hashed-135a.. > > > >

not a server admin

2010-09-11 Thread Kenneth Tyler
;admin = mysecretpassword ken5 = -hashed-135a.. in order to fix admin party i edited local.ini as above i restarted couch (it hashed the password) but when i log into futon with that account and try to create a database it tells me "you are not a server admin" ? is this a

Re: installing couchdb 1.0.1 will not override .010 ubuntu 10.04 install

2010-08-29 Thread Kenneth Tyler
i'm about to try to install couchdb on the same sort of server are there any preventative steps i can take to avoid getting into this same problem? ken tyler On Sun, Aug 29, 2010 at 4:45 PM, wrote: > > I got couchdb to work...weirdly...with some help from the irc guys and > purge remove the ol

Re: let me introduce myself .. Paul G

2010-08-21 Thread Kenneth Tyler
"It can be a bit of a challenge for the more experienced among us to help people like you, because not only are we teaching you CouchDB, we're teaching you how to program as well. thanks for reminding us of that." this is one way to think about it. if you think that the potential users of couchdb

Re: ok so I've introduced myself - here is problem one

2010-08-21 Thread Kenneth Tyler
Paul, This may be one way to do what you want: Reader Access To protect document contents, CouchDB documents can have a reader list. This is an optional list of reader-names allowed to read the document. When a reader list is used, protected documents are only viewable by listed users. When a use

Re: let me introduce myself .. Paul G

2010-08-21 Thread Kenneth Tyler
Paul, I feel you. The active community right now is fairly small and pretty experienced. I think couchdb is still at the "early adopter" stage and just starting to show up for people that are not intensely into programming. So sometimes the atmosphere seems intimidating. I come from a windo

Re: couchdb for aggregating data

2010-08-13 Thread Kenneth Tyler
Dan, I assume that what each person eats does not change after the record is created. Say you had documents that were recipes, which had lists of nutrients. Then a meal document would have a list of recipes, but it would also have the totals for all the nutrients in all the recipies. A persons day

Re: bad utf8 character

2010-08-12 Thread Kenneth Tyler
you'd get an error on save, not load. > > Chris thanks chris, that would make things much easier i really appreciate all the time to take to help me ken tyler

Re: bad utf8 character

2010-08-12 Thread Kenneth Tyler
> the tests can be a bit finicky. I'd say a 99% success rate means you have > nothing to worry about. ok, thanks looks like i'll just have to try and avoid documents with the unknown "bad" text in them when i import ken

Re: bad utf8 character

2010-08-12 Thread Kenneth Tyler
u, Aug 12, 2010 at 2:57 PM, J Chris Anderson wrote: > > On Aug 12, 2010, at 2:54 PM, Kenneth Tyler wrote: > >> so i tried importing some data from ms sql server2005 into couchdb 1.0.0 >> the data imports fine >> >> but when i try to open custom views in futon i get

bad utf8 character

2010-08-12 Thread Kenneth Tyler
so i tried importing some data from ms sql server2005 into couchdb 1.0.0 the data imports fine but when i try to open custom views in futon i get a "bad utf8 character" message, and futon is trashed, after that it won't display anything but the message and won't go to any screen but the custom vie

bad utf8 error

2010-08-11 Thread Kenneth Tyler
i imported a bunch of pages from my wiki into a couch 1.0 database if i do this http://127.0.0.1:5984/tyler_kenneth_3109/ee61c397a28bdca6a9cb984215f04d96 i get back the json if i try to touch the page in futon i get error: ucs {bad_utf8_character_code} anybody know what i have to strip out of the

Re: removing / uninstalling default CouchDB on Ubuntu

2010-08-10 Thread Kenneth Tyler
Jason, are there any ebs images on amazon that you can recommend for using build couchdb on ? chris recommended a couple but they're not ebs, I looking for an image that i get get a small version of, as some images oonly come in large... even though i've had a lot of trouble trying to use build cou

Re: HTML Entities in views in Futon on 0.11.0

2010-07-27 Thread Kenneth Tyler
AJ, I think its a problem with the editor itself... i just copy the text out into some other editor to edit it and copy it back when i'm done. you could look at couchapp, that let you edit your views as separate files, in your favorite text editor, and push them into yourdatabase for you when you'

scheduled tasks

2010-07-26 Thread Kenneth Tyler
is there any way to run a scheduled task in couchdb? i'd like to create a bunch of documents that reresent data in records that need to be updated... without having to do the update immediately thanks ken tyler

Re: My first few days of using couchdb

2010-07-25 Thread Kenneth Tyler
> For example:- > > [ "holiday","camping"] > or > ["holiday","skiing"] > > I can easily create a view that allows me to search the tags with > ?key="holiday" > however I cannot work out how to select photos which contains both tag1 and > tag2. robin, one thing to consider is how you expect the t

Re: CouchCamp registration is now open

2010-07-01 Thread Kenneth Tyler
thanks On Thu, Jul 1, 2010 at 3:45 PM, Mikeal Rogers wrote: > I've got you in eventbrite, i just had it resend your confirmation email. > > see you soon! > > On Thu, Jul 1, 2010 at 3:16 PM, Kenneth Tyler wrote: > >> i registered, but did not get any confirmation

Re: CouchCamp registration is now open

2010-07-01 Thread Kenneth Tyler
i registered, but did not get any confirmation ken tyler On Tue, Jun 22, 2010 at 2:20 PM, Mikeal Rogers wrote: > Registration is now open for CouchCamp. > > http://www.couch.io/couchcamp > > Anyone who is in the THANKS file gets a 300$ discount, just email me > directly and I'll get you a code t

the req object

2010-05-24 Thread Kenneth Tyler
is there somewhere that lists the properties of the "req" request object that is passed to show functions ? thanks ken tyler

Re: Complex view

2010-05-22 Thread Kenneth Tyler
have you considered using one doc per object {"object":"aaa", "date": "2010-05-18",[ {"type": "a", "range": 3.5}, {"type": "b", "value": 2}, {"type": "c", "moved": 0.5}] it should be easier to know then if you have all 3 types of not, because they are in the same "context" ken tyler On Sat

Re: MultiKey sorting in views

2010-04-13 Thread Kenneth Tyler
>  I have documents with author and submitted time ( utc value of date ) > fields . Now i need to sort descending ( i.e latest first ) on time and > filter by author in a view. can you make a composite key: author + ':' + day + month + year where you use a reverse index for the day, month... so

Re: an aggregate object

2010-04-12 Thread Kenneth Tyler
so, a couple of people replied and caused a lot of thinking... here's where i'm at now: {"id":"088c", "key":"088c.088c.null",. ,"_attachments":{"hello.htm" {"id":"4406", "key":"088c.088c.null _attachments":{"hello2.html": {"id":"22a2", "key":"088c.null.088c":. _attachments":{"holla.h

Re: an aggregate object

2010-04-12 Thread Kenneth Tyler
field in the document that holds the id instead of using a > field prefix. It would make querying the views easier for you. > > On Mon, Apr 12, 2010 at 3:59 PM, Kenneth Tyler wrote: > >> this may sound a little strange >> >> i am trying to build up a "content&q

Re: an aggregate object

2010-04-12 Thread Kenneth Tyler
t; > } > > { >    "_id": "some_id_3", >    "type": "Movie", >    "duration": "600", >    "title": "Cool movie" > } > > And store actual image and movie as attachment. > > Use this gui

an aggregate object

2010-04-12 Thread Kenneth Tyler
this may sound a little strange i am trying to build up a "content" object that can contain several kinds of files. for example, it might contain a some text, and an image, and a video clip i want to tag my documents in couch so that i can retrieve the whole "family" of documents so i use a fie