[04:37:01] <Havalx> SyntaxError: Non-ASCII character '\xcf' in file ./mongo on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
[04:37:59] <Havalx> The syntax arose when starting ./mongod. I replaced the ./mongod file with the original from the download package, but still gives the same error.
[07:40:18] <zcserei> I have an Article schema with a boolean field "approved". How can I count all the articles where approved is false?
[07:40:50] <zcserei> I am using Mongoose as a middleware
[09:35:04] <jglover> are queries on arrays particularly slow?
[09:35:31] <jglover> my intuition says yes, but im a mongod noob
[11:58:56] <sabrehagen> i have a settings document with multiple sub document levels that stores only booleans. rather than reading the contents of the document, is there a more performant function that checks if a given boolean is true?
[13:40:19] <jelle> sabrehagen: well you can use foo.bar.me
[15:54:17] <Doyle> Hey, what happens when mongo has open files -n ulimit of 1024, and not increased?
[16:16:37] <Havalx> Receiving SyntaxError when running ./mongod
[16:17:28] <Havalx> I did searching, and didn't find many resources.
[17:44:35] <dimon222> why do you run mongod like that
[18:25:42] <Lope> EXetoC: do I need to manually create a fake ObjectId based on my date range like this? http://stackoverflow.com/questions/8749971/can-i-query-mongodb-objectid-by-date
[18:54:25] <styles> hey $search isn't working for me. I'm running mongo 3.0.1 and I've run http://docs.mongodb.org/manual/reference/operator/query/text/ ensureIndex exists and I see the key, the query.. db.users.find( {"$text": { "$search": "style" } } ) returns no results
[19:47:16] <Lope> db.owner.insert({_id:'1'}); db.dog.insert({name:'roofus', ownerId='1', trained=1}); how can I find all `owner` documents who have dogs that are trained? Is there a way to nest one query in another, or do I manually have to get a list of all owners, then query the dogs of each owner in that list to determine if the owner has >0 trained dogs?
[20:57:29] <dimon222> you're trying to invent relational actions in non-relational database
[20:57:50] <dimon222> if you want to achieve that, you need to use relational database like mysql/postresql
[20:58:45] <dimon222> nosql is not supposed to be used in any kind of data sets that have relationships. So it never used for storing anything related to CMS user accounting parts
[21:00:19] <dimon222> so its possible to achieve it with mongo, but you will have to write this logic on your own in your code, so it wont be "in-database" command anyhow, as mongodb is nosql
[21:01:57] <dimon222> like db.owner.find(), iterate through each object and search db.users.find({ownerId=owner}) one by one
[21:02:03] <cheeser> that's ... not entirely true at all.
[21:08:41] <dimon222> seems like Lope already left, but still
[21:39:19] <realtime> I was used to Java and relational DBs. then yesterday I was giving Mongoose a try, with NoseJS. following an online tutorial (http://mongoosejs.com/docs/) I noticed that for instance: var kittySchema = mongoose.Schema({ name: String }); // if I make a typo on 'name' on a subsequent run, it will just create another document with another column called 'namw' or whatever. is this what I should expect generally when dealing with JS/mongodbb (by
[21:39:19] <realtime> 'this' I mean, no compile time checking, anything compiles but good luck) or am I missing something?
[21:41:21] <realtime> (not that it's bad, I just think this paradigm wouldn't work for me, just wanna make sure I'm not ditching the option for the wrong reasons)
[21:50:01] <cheeser> dimon222: i've helped build a mongodb-based CMS and it worked just fine.
[22:31:05] <Doyle> Hey. To replace servers in a rep-set: Build new server, add to replication set, wait for initial sync to complete, stepdown master, db.shutdown old master, retire server?
[22:31:15] <Doyle> Is it that easy, or are there other concerns?