PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 19th of April, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:46:08] <kuku> How can I show the result of a query in a browser, and have it auto update as the data in the DB changes ? like a live scroll of the data being added
[00:47:47] <ianp> ajax
[02:05:56] <reactormonk> any way to get the version out of a mongodump?
[04:51:33] <reactormonk> so mongodb 2.6.9 doesn't compile with c++11 :-/
[04:54:38] <exp10r3r> need help with creating a custom wrapper around mongojs
[07:01:34] <xaxxon> if i have a record with an embedded array and I want to increment the value of certain elements in the array (but not all), is there a single queiry to do that or is that this: https://jira.mongodb.org/browse/SERVER-1243 ?
[07:02:12] <xaxxon> this doesn't work but I think it describes what I want to do: db.polls.update({name: 'test_poll', 'options.name': {$in: ['b','c']}}, {$inc:{'options.$.votes':1}}, {multi:1})
[07:02:33] <xaxxon> that statement only increments b's vote, not c's
[09:03:24] <xaxxon> this place is dead
[09:03:53] <xaxxon> [00:00] <xaxxon> if i have a record with an embedded array and I want to increment the value of certain elements in the array (but not all), is there a single queiry to do that or is that this: https://jira.mongodb.org/browse/SERVER-1243 ?
[09:03:53] <xaxxon> [00:01] <xaxxon> this doesn't work but I think it describes what I want to do: db.polls.update({name: 'test_poll', 'options.name': {$in: ['b','c']}}, {$inc:{'options.$.votes':1}}, {multi:1})
[09:03:53] <xaxxon> [00:01] <xaxxon> that statement only increments b's vote, not c's
[13:32:45] <squeakytoy> Hey all. Which online hosters do you guys use, if any?
[17:11:21] <sudomarize> If i'm storing categories in mongo, what's the best way to do this? e.g. for a category "House Cleaning", how should i store this?
[17:11:44] <sudomarize> e.g. as a lower case string -> "house cleaning", or "house-cleaning", or even it's original "House Cleaning"?
[18:21:42] <sudomarize> anyone?
[18:24:30] <sudomarize> anyone here?
[18:55:44] <winem_> good evening. I would like to know if I get this right from the course... is class_id = 54 executed before the range query in the following query: db.foo.find({ student_id: { $gt: 50000 }, class_id: 54 })?
[18:58:19] <winem_> ah, ignore it. I got it wrong :)
[20:06:43] <angle> hallo?
[20:08:07] <angle> Is anyone here?
[20:19:41] <angle> well, of anyone is here, do you know if mongdb's js-bson library is compatible with the BSON functionality from the mongo java driver? can data sent by one be interpreted by the other?
[20:26:50] <cheeser> they both should conform to the bson spec, yes.
[21:07:44] <sudomarize> cheeser: you there?
[21:24:16] <angle> Ah, thank you. I'm having difficulty getting them to work together, but I'll keep at it.
[22:04:28] <sudomarize> can someone give me a hand?
[22:29:37] <joannac> sudomarize: it generally helps to ask your question
[22:30:31] <joannac> oh, you asked like 5 hours ago
[22:30:40] <Derick> :)
[22:30:51] <joannac> sudomarize: is "House cleaning" distinct from "house cleaning" or "House Cleaning"?
[22:30:59] <joannac> or "house-cleaning"
[22:31:26] <joannac> if not, decide on a standard format and stick to it (i.e. no dashes, lowercase only)
[22:31:32] <joannac> which will make your searching easier
[22:49:04] <sudomarize> joannac: basically i'm trying to figure out how best to lay this out
[22:52:15] <sudomarize> joannac: there's two things really, 1. how to structure the categories, e.g. should i define a set of categories (and subcategories) myself, or should I allow users to define their own categories. Im thinking that defining my own categories and then letting users add extra information within the title is probably the best way to go about things. e.g. I have a category "tasks for home", a subcategory
[22:52:16] <sudomarize> "gardening" and then they can put in their title a speciality like pruning
[22:52:50] <sudomarize> the issue with this method is that if i want to change the structure/layout of my categories later on it will complicate things
[22:53:07] <sudomarize> and 2. is how to store the values of these categories
[22:54:26] <sudomarize> should i store it as a json object that has a keyword (e.g. house-cleaning) and a formatted value (e.g. "House Cleaning")