[03:28:15] <someprimetime> if i’m connecting on one server through a mongodb driver (node.js based), do I need to have mongo installed on both servers or just the one that I’m connecting to?
[03:54:21] <phrozensilver> Can someone help me and tell me what I am doing wrong, is my data setup wrong? Trying to send an array of objects. The name field always gets sent - https://gist.github.com/rdallaire/241dd48262ec856620c1
[12:30:21] <Gargoyle> Do all members of a replicaSet have to be online when you run rs.init() rs.add(), etc?
[14:42:32] <jbelcher> Hi there. I'm seeking some outside input on creating new collection items on the client w/ optimistic updates. Right now we're basically creating a new object client-side, giving it a BSON ID we also generate clientside, and then POSTing that new object to our REST API.
[14:43:33] <jbelcher> Generating IDs client-side feels fragile. What are some other strategies we might employ? Some sort of a temporary token sent back in the response?
[14:48:54] <jbelcher> kali: I suppose it just seems natural to let the server handle UUID. Are there any real dangers to generating them clientside then?
[15:16:15] <kali> jbelcher: unless you really make it on purpose, it's safe.
[15:16:29] <kali> jbelcher: and i mean, you need to try hard
[15:22:14] <jbelcher> kali: ah, yeah that makes sense.Thanks for the link. Most client-side implementations of objectid I've seen fake the machine and pid with random and store those values in LS. I suppose that's more to the heart of it for me.
[17:31:35] <ernetas> kali: last time I did this, it destroyed all my mongo databases... So, thanks, but no.
[17:37:50] <kali> ernetas: well, don't ask for advice, then
[17:39:01] <Ragnis> Hello. I'm trying to use the c driver, however simply including the mongoc.h header causes *a lot* of errors: http://pastebin.com/KsNbW69d I installed version 0.98.0 from GitHub.
[17:52:37] <Ragnis> Now I just feel stupid. I didn't properly set the include paths when compiling.
[19:44:37] <bramgg> I'm having a very strange problem with Pymongo. When I upsert documents in my script it creates duplicates, but when I use the same upsert code in the Python console it upserts properly. Is there some sort of known issue with this?
[20:30:39] <progrock> I just install mongodb-org package on ubuntu 14.04. When I run sudo services mongod start I get: sh: 0: getcwd() failed: No such file or directory
[20:37:35] <progrock> weird now I'm getting a different error, that makes no sense, lol.. now its jsut unknown job: mongod... not sure how that changed
[20:41:18] <ernetas> progrock: check init scripts, see what it tries to run and so on.
[20:44:49] <progrock> yeah that's what I'm doing now, and making sur ei have the right user and group on folders
[23:22:12] <huleo> wondering at how much hassle I'm looking at, maybe, just /maybe/ there is a magic pill...so we have posts, in "posts" collection, and users, in "users" collection...each "post" has "author" field referencing user that created it
[23:22:51] <huleo> now, what seems to be the simplest way to get, let's say, 10 most active users - the ones that wrote most posts
[23:23:39] <huleo> actually, forget about limiting results to "10" users, that's the simplest part