<     May 2017     >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 _2_6 27  
28 29 30 31
00:00 Necromantic joined
00:23 Necro|senseless joined
00:24 timg__ joined
00:29 Necromantic joined
00:40 ArchDebian joined
00:54 Necromantic joined
01:16 `jpg joined
01:21 artok joined
01:25 timg__ joined
01:34 Necromantic joined
01:47 Liara- joined
02:04 edrocks joined
02:05 acidjazz left
02:26 timg__ joined
02:42 ArchDebian joined
02:54 mdorenka joined
03:00 sandstrom joined
03:27 timg__ joined
03:32 lqez joined
04:06 edrocks joined
04:25 lpin joined
04:27 timg__ joined
04:30 pxed joined
04:39 lqez joined
04:56 lqez joined
05:07 timg__ joined
05:10 lqez joined
05:23 lqez joined
05:31 lqez joined
05:46 lqez joined
05:50 GGMethos joined
06:07 sterns joined
06:08 edrocks joined
06:34 tildes joined
06:37 rendar joined
06:41 `jpg joined
06:43 bguery joined
06:57 Folkol joined
07:00 jri joined
07:05 sterns joined
07:07 compeman_ joined
07:10 Lujeni joined
07:14 sandstrom joined
07:26 yeitijem joined
07:34 preludedrew joined
07:38 bguery joined
07:45 Mia joined
07:45 gfidente joined
07:46 compeman joined
08:05 `jpg joined
08:08 kexmex joined
08:09 edrocks joined
08:13 artok joined
08:16 `jpg joined
08:18 Folkol joined
08:18 `jpg joined
08:26 `jpg joined
08:26 artok_ joined
08:29 okapi joined
08:30 `jpg joined
08:35 slajax_ joined
08:40 `jpg joined
08:49 Folkol joined
09:08 artok joined
09:11 ngmvit joined
09:11 Mia joined
09:11 Mia joined
09:14 valkyr3e joined
09:15 nishanth_ joined
09:23 Ulrar joined
09:24 <Ulrar> Hi, using the latest debian package I'm looking to enable authentification. I created an admin user and added authorization: enabled under security in the .conf, then restarted the daemon, but just typing "mongo" in the shell I get a connection with which I can do apparently whatever I want without logging in
09:24 `jpg joined
09:24 <Ulrar> Am I missing something ?
09:26 bguery joined
09:41 Folkol joined
09:43 <joannac> Ulrar: run db.serverCmdLineOpts() in the mongo shell and pastebin the output?
09:43 artok joined
09:45 <Ulrar> No sign of the auth in "parsed"
09:46 bguery joined
09:46 <Ulrar> And yet, the config path is valid .. that's strange
09:47 <joannac> Ulrar: https://docs.mongodb.com/manual/reference/configuration-options/#security.authorization
09:47 <Ulrar> security:
09:47 <joannac> oh wait, I missed the "under security" in your line
09:47 <Ulrar> authorization: enabled
09:47 <joannac> hmmm
09:47 <Ulrar> I've used two spaces, to make sure it's identical to the other options
09:47 <Ulrar> Strange
09:47 <joannac> anything else in your config file not picked up?
09:47 <Ulrar> No, but the config is the default one besides the auth
09:48 <joannac> are you sure it's the same config file that the mongod is using?
09:48 <joannac> maybe save the config file in your editor just in case?
09:48 undertuga joined
09:48 <* joannac> is grasping at straws now...
09:48 <Ulrar> /usr/bin/mongod --config /etc/mongodb.conf
09:48 <Ulrar> Oh yep
09:48 <joannac> save the config file, and restart?
09:48 <Ulrar> /etc/mongod.conf
09:48 <Ulrar> That's not the same one
09:48 <Ulrar> Great
09:48 <joannac> ah, there you go
09:49 <Ulrar> Works a lot better now
09:49 <Ulrar> Well, thanks :)
09:49 <joannac> excellent!
09:49 <joannac> no problem
09:50 <Ulrar> Guess it must be a difference between the debian package, that doesn't work, and the mongodb deb which does
09:56 Ulrar left
10:09 goldfish joined
10:11 edrocks joined
10:17 michaeldgagnon joined
10:43 linuxson joined
10:47 <linuxson> Hey guys....stupid question, but I am busy writing a electron app using mongodb.js to communicate with the db. Is it preferable to rather create a single connection to the database, and then use the "cursor" to do CRUD operations?
10:48 <linuxson> F.Y.I...the link to register your nick is returning a 404
10:50 <linuxson> What eactly is the cursor() used for?
10:52 kedare joined
10:58 bguery joined
11:04 yeitijem joined
11:20 okapi joined
11:20 YoY joined
11:22 Folkol joined
11:28 okapi joined
11:37 harry1 joined
11:42 dump joined
11:52 okapi joined
12:04 compeman joined
12:06 bguery joined
12:15 Folkol joined
12:16 ssarah joined
12:25 michaeldgagnon joined
12:28 compeman joined
12:30 gentunian joined
12:30 Kake_Fisk joined
12:44 compeman joined
12:45 edrocks joined
12:46 fub left
13:05 ramortegui joined
13:19 okapi joined
13:24 <Kake_Fisk> What does $sum: 1 means? Why 1?
13:29 <Derick> Kake_Fisk: you can use 2, and it would increase by 2 for each document, or you can use $sum : '$fieldname' and it adds the value in fieldname to the sum
13:30 <Kake_Fisk> Ohh, I see. Thanks! :)
13:35 joshontheweb joined
13:36 Folkol joined
13:53 kexmex joined
13:54 ssarah joined
14:00 geoffb joined
14:06 kexmex joined
14:11 Folkol joined
14:17 timg__ joined
14:18 itaipu joined
14:25 okapi joined
14:26 joshontheweb joined
14:36 kexmex joined
14:39 <Kake_Fisk> Does anybody know how to use the unwind aggregate function without using a model in C#?
14:50 RickDeckard joined
14:59 RickDeckard joined
15:01 MatheusOl joined
15:01 RickDeckard joined
15:31 raspado joined
15:34 StephenLynx joined
15:35 orbyt_ joined
16:02 culthero joined
16:06 culthero joined
16:07 tildes joined
16:07 okapi joined
16:15 okapi joined
16:16 orbyt_ joined
16:18 timg__ joined
16:19 timg__ joined
16:21 Lujeni joined
16:23 blizzow joined
16:25 edrocks joined
16:37 davidmichaelkarr joined
16:38 culthero joined
16:47 felixsanz joined
16:51 lpin joined
17:07 joshontheweb joined
17:08 bguery joined
17:11 sandstrom joined
17:11 orbyt_ joined
17:11 okapi joined
17:20 orbyt_ joined
17:22 Necromantic joined
17:22 kexmex joined
17:34 orbyt_ joined
17:44 orbyt_ joined
17:48 okapi joined
17:58 culthero joined
18:03 edrocks joined
18:12 trevor_ joined
18:14 culthero joined
18:16 orbyt_ joined
18:17 Sasazuka joined
18:18 culthero joined
18:46 n1lp0int3r joined
18:50 okapi joined
18:58 orbyt_ joined
19:09 rendar joined
19:09 rendar joined
19:28 gitgud joined
19:33 gitgud joined
19:34 sspreitz joined
19:36 culthero joined
19:37 culthero joined
19:38 culthero joined
19:38 Necromantic joined
19:38 gentunian joined
19:43 Liara- joined
19:54 edrocks joined
19:58 lessthan_jake joined
20:05 Necromantic joined
20:08 okapi joined
20:14 orbyt_ joined
20:24 okapi joined
20:31 culthero joined
20:32 undertuga joined
20:45 orbyt_ joined
20:49 timg__ joined
20:57 kexmex__ joined
21:00 Bdragon joined
21:02 drapetomaniac joined
21:04 <drapetomaniac> I'm doing several $rename and then immediately trying to use one of those renamed columns. The column isn't there to be used until I run the script again (time delay)
21:04 <drapetomaniac> Is there something similar to flush or commit?
21:09 <drapetomaniac> nevermind - had to update the collection in memory
21:10 lessthan_jake joined
21:17 orbyt_ joined
21:23 metasansana joined
21:23 metasansana joined
21:30 culthero joined
21:48 bguery joined
21:49 hal-j joined
21:51 culthero joined
22:00 timg__ joined
22:01 edrocks joined
22:15 shackra joined
22:20 culthero joined
22:42 okapi joined
22:57 okapi joined
23:05 joshontheweb joined
23:22 orbyt_ joined
23:29 michaeldgagnon joined
23:49 blizzow joined