[01:02:59] <louie_louiie> hey guys quick question, how do you mongoexport on an aws EC.micro server
[01:03:07] <louie_louiie> the mongoexport command doesnt work...
[01:08:30] <Boomtime> louie_louiie: what do you mean the mongoexport command doesn't work? mongoexport is a binary contained in the mongodb-org-tools package
[01:11:36] <louie_louiie> i think my bin path is wrong
[01:12:18] <louie_louiie> the bash command for 'mongoexport' cannot be found, however the command 'mongo' is found
[01:12:37] <Boomtime> what packages did you install?
[01:12:55] <Boomtime> for reference here is the ubuntu package names: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/#packages
[01:16:41] <StephenLynx> GothAlice you know anyway to detect the last time a file was modified on gridfs besides unlinking it and rewriting?
[04:04:32] <sabrehagen> hey guys, i'm having trouble connecting to my mongodb 3 instance. my config file has auth=true and bind_ip=0.0.0.0 on default port (27017). i can connect via the mongo shell on the box and auth to my database using db.auth() but using the same credentials in robomongo i can't why might this be? http://i.imgur.com/1ktF419.png
[04:15:31] <Boomtime> @sabrehagen: default auth method in 3.0 uses scram-sha1
[04:48:37] <sabrehagen> Boomtime: thanks, much appreciated
[10:26:45] <donCams> so I'm doing a real-time analytics app. I created a sort of tracking pixel. wondering if I should insert each event to mongodb and just listen to the oplog for the real-time visualization or separately listen to the event for the real-time visualization?
[16:30:20] <StephenLynx> you just can't save the store time on their local time.
[16:30:24] <loadh> so a client might have a device in the shop's time zone but the device is still in another time zone (if they traveled to tht country say)
[17:22:27] <johnnyrs> Hi. Quick question that I'm hoping you can answer: what is a driver for MongoDB in laymen's terms. I know each language can have one to many different drivers for MongoDB, but I'm not sure what exactly they do. Thanks for your help!
[17:23:39] <StephenLynx> they perform the low level operations on the database by providing a high-level interface.
[17:24:14] <StephenLynx> among other things. the node.js driver gives you a connection bool by default, for example
[17:24:41] <StephenLynx> they also resolve dbrefs and perform the multiple queries needed to obtain the correct results.
[17:24:50] <StephenLynx> the whole database interface.
[17:25:06] <StephenLynx> every single functionality implemented.
[17:25:41] <johnnyrs> Ok, thanks for your help. I get it!
[17:25:55] <StephenLynx> its no different than hardware drivers for your OS.
[17:26:25] <StephenLynx> it implements a high-level standard interface for that kind of hardware so other applications can easily interact with the hardware.
[20:05:41] <jamiel> The documentation for index intersection states "involves two indexes; however, MongoDB can employ multiple/nested index intersections to resolve a query." but it doesn't elaborate on the performance implications or how that relates to sorting. If I'm querying on 5 fields and sorting on one, if I have all 6 fields indexed individually will MongoDB 3.0 be
[20:05:41] <jamiel> smart enough to plan correctly and use all indexes in groups of two? Or is index intersection purely for queries of 2 fields and we should use compound indexes for the rest?
[20:08:21] <Derick> in general, use compound indexes when you can
[20:46:37] <skullcrasher> how do I track schema changes properly? Is it possible with mongodb itself or do I depend on other tools (using nodejs here)
[20:46:58] <skullcrasher> sry, if I'm asking totally wrong in here
[21:07:58] <girb1> moveChunk directory consuming huge space on a sharded cluster is it safe to remove the directory ?
[22:18:02] <StephenLynx> I am familiar enough to know it is buggy and cripples performance an I never hesitate to tell people its should be avoided at all costs.
[22:27:58] <StephenLynx> notice that inside the callback I do nothing but check simple conditions and in each condition I just write a single line of code.
[22:28:20] <StephenLynx> I nest a second if there, small slip
[22:30:22] <nodeNoob> "Use 2 spaces for indenting your code and swear an oath to never mix tabs and spaces - a special kind of hell is awaiting you otherwise."
[22:30:31] <nodeNoob> I'm curious what sort of hell
[22:31:32] <nodeNoob> The author's writing is pretty good
[22:31:38] <nodeNoob> Thanks for the link StephenLynx
[23:05:43] <StephenLynx> keep your dependencies to a minimum, I personally just use dependencies to handle with protocols. like db drivers, email, DOM, websockets
[23:10:12] <StephenLynx> mongo is not a one-size-fits-all
[23:10:28] <StephenLynx> and you can screw up big time doing a wrong pick regarding databases.
[23:10:46] <StephenLynx> is not like runtime environments where you will just lose some performance most of the time.
[23:10:57] <StephenLynx> in the end is just a http machine.
[23:11:31] <nodeNoob> I basically need to record users (drivers, fleetmanagers), jobs, truck states and truckdata of each truck every 300ms (speed, location). The app is supposed to be used as live monitoring, job assigning, HQ-Truck chat and notifications, and report generating (average fuel consumption)
[23:11:34] <StephenLynx> not with databases. there are multiple scenarios where each type of database might suit you better of completely screw you.
[23:11:48] <nodeNoob> Almost all the itneraction with the data supposed relational stuff
[23:12:01] <StephenLynx> yeah, mongo is not the thing you need there.
[23:12:13] <nodeNoob> I just picked it up because it went along with node everywhere
[23:15:15] <StephenLynx> anyone that I find that is like me, a general developer that started doing web development along with previous experiences shared this opinion.
[23:15:28] <nodeNoob> If i only had to record truckdata and just display the most recent information on the screen live, i think mongodb would have been perfect
[23:20:30] <StephenLynx> they don't know the single basics of HTTP but think they know stuff because they have been playing with their crayons for over 15 years.
[23:25:47] <StephenLynx> they think a dependency works like magic, you just add, call a function and thats it.
[23:26:36] <StephenLynx> and they will always defend said bloat, they will talk like its impossible to develop without them without never trying to work without them.
[23:27:01] <StephenLynx> they are probably too busy blogging over starbucks with their macs and buying skinny jeans.