<    March 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  
26 27 28 29 30 31
00:00 svm_invictvs joined
00:15 hays_ joined
00:16 swiftkey joined
00:30 swiftkey joined
00:36 sterns joined
00:49 MacWinner joined
00:56 Gwayne joined
01:12 philipballew joined
01:26 gentunian joined
01:26 jaequery joined
01:30 swiftkey joined
01:34 blizzow joined
02:24 jaequery joined
02:25 philipballew joined
02:27 caley joined
02:30 MJBrune joined
02:30 swiftkey joined
02:31 philipballew joined
02:56 ayogi joined
03:04 gentunian joined
03:06 ayogi joined
03:22 caley joined
03:26 jaequery joined
03:29 Koarl joined
03:30 swiftkey joined
03:34 jaequery joined
04:12 raspado joined
04:21 svm_invictvs joined
04:26 kyuwonchoi joined
04:35 der_landgraf joined
05:02 ayogi joined
05:05 thapakazi joined
05:09 point joined
05:28 castlelore joined
05:28 castlelore joined
05:44 armyriad joined
05:57 philipballew joined
06:02 philipballew joined
06:04 MPZ joined
06:08 malglim_ joined
06:09 heroux_ joined
06:09 Frozen-Solid joined
06:10 philipballew joined
06:13 kali joined
06:13 Champi joined
06:14 rossdm joined
06:14 rossdm joined
06:14 philipballew joined
06:15 mantazer joined
06:20 jaitaiwan joined
06:21 <jaitaiwan> Hey folks... just quickly any way to do an update using elemMatch + sort? I have an array which I need to update the most recent item of using a date field...
06:29 lpin joined
06:30 swiftkey joined
06:42 quattro_ joined
06:43 igniting joined
06:52 xtrntr joined
06:55 philipballew joined
06:55 _jd joined
07:11 philipballew joined
07:13 xtrntr1 joined
07:17 philipballew joined
07:19 lpin joined
07:23 basiclaser joined
07:31 xtrntr joined
07:31 rendar joined
07:33 kyuwonchoi joined
07:39 jamesaxl joined
07:45 quattro_ joined
07:48 chovy joined
07:53 evil_gordita joined
07:55 VeeWee joined
08:04 s2013 joined
08:07 xtrntr joined
08:12 philipballew joined
08:18 Lujeni joined
08:18 chovy joined
08:18 chovy joined
08:44 scristian joined
09:01 joshua joined
09:12 Tantamounter joined
09:19 goldfish joined
09:22 philipballew joined
09:26 philipballew joined
09:28 <Bodenhaltung> I need help how to access "milliseconds" korrekt: https://gist.github.com/Bodenhaltung/ed5baf02386bcd57866bd76325242946 I would guess $a['date']->milliseconds is the right way, but it doesnt work always...sometimes it works, but $a['date'] works sometimes too?! :confused:
09:37 philipballew joined
09:43 kexmex joined
09:47 silenced joined
09:56 <Bodenhaltung> Hmm :(
10:00 Lujeni joined
10:10 VeeWee joined
10:23 undertuga joined
10:24 Liara- joined
10:26 <Derick> Bodenhaltung: sounds like you've sometimes stored it as a Unix timestamp, and sometimes as a ISODate value then
10:27 <Derick> Bodenhaltung: your best bet is to use http://php.net/manual/en/mongodb-bson-utcdatetime.todatetime.php
10:27 <Bodenhaltung> Derick: Hmm, it is a migration, so it make sense with old and new timestamps
10:31 re1 joined
10:33 goldfish joined
10:34 <Bodenhaltung> Derick: What is the best practise to store and read timestamps? And read the timestamps from the old php driver inseerts too.
10:36 kyuwonchoi joined
10:39 <Derick> you should store them as ISODate / UTCDateTime values
10:42 Waheedi joined
10:46 <Bodenhaltung> Derick: Is there a simple example for that? Just to be sure to do it the right way, $a['date']->toDateTime()->format('U')) looks weird to me.
10:59 <Derick> Bodenhaltung: why do you need the unix timestamp?
11:13 samwierema joined
11:22 <Bodenhaltung> Derick: Hmm, not really, actually mongoshell shows me it is "ISODate" i need a way to compare two dates with the diff in seconds.
11:51 StephenLynx joined
11:55 samwierema joined
12:27 jwd joined
12:58 ramortegui joined
12:59 ksa joined
13:00 geoffb joined
13:02 philipballew joined
13:03 gentunian joined
13:10 armyriad joined
13:10 <Bodenhaltung> Ok, i am getting nuts. Really. :D $a['date']->milliseconds shows me "Undefined property: MongoDB\BSON\UTCDateTime::$milliseconds" BUT when i call somewhere in the source a var_dump($a) has $a['date']->milliseconds the correct value. I dont get it. :D
13:12 <Derick> that sounds like a bug
13:12 <Derick> which driver version are you using?
13:13 <Bodenhaltung> MongoDB extension version => 1.2.3, PHP 7.1.3-2+deb.sury.org~trusty+1
13:13 <Derick> no need, I can reproduce that
13:13 <Bodenhaltung> Ah, lol
13:13 <Bodenhaltung> lol?
13:13 <Bodenhaltung> :D
13:25 <Bodenhaltung> Should i do something? I am now afk for a few hours.
13:27 <Derick> no, you don't
13:27 <Derick> I'll file an issue
13:27 <Derick> i'll ping the issue link here when I'm done
13:28 orbyt_ joined
13:35 kyuwonchoi joined
13:46 yeitijem joined
13:51 goldfish joined
14:04 caley joined
14:08 _jd left
14:10 goldfish joined
14:10 freeport joined
14:29 Diggsey joined
14:30 geoffb joined
14:34 <Derick> Bodenhaltung: https://jira.mongodb.org/browse/PHPC-939
14:41 freeport joined
14:49 mortal1 joined
15:01 armyriad joined
15:07 AvianFlu joined
15:07 igniting joined
15:15 synchroack joined
15:16 orbyt_ joined
15:27 bweston92 joined
15:56 synchroack joined
15:58 philipballew joined
15:59 gitgud joined
16:09 kyuwonchoi joined
16:19 raspado joined
16:30 svm_invictvs joined
16:33 SkyRocknRoll joined
16:53 fullerja joined
16:55 artok joined
17:04 kexmex joined
17:07 fullerja_ joined
17:13 point joined
17:21 Necromantic joined
17:23 energizer joined
17:25 Necro|senseless joined
17:30 Soopaman joined
17:33 <Soopaman> greetings
17:35 <Soopaman> is there a different way to add plugins to the base schema?
17:35 <Soopaman> can't figure out the right way of adding the timestamp and findorcreate plugins
17:37 synchroack joined
17:38 blizzow joined
17:52 mortal1 joined
18:12 skullcrasher joined
18:15 fullerja joined
18:16 skullcrasher joined
18:17 Sasazuka joined
18:23 skullcrasher joined
18:24 skullcrasher_ joined
18:24 gentunian joined
18:24 Sasazuka joined
18:25 RickDeckard joined
18:37 quattro_ joined
18:40 m1dnight_ joined
18:45 Soopaman left
18:46 canderson9 joined
18:47 canderson9 left
18:49 dump joined
18:54 m1dnight_ joined
19:02 m1dnight_ joined
19:05 kyuwonchoi joined
19:12 dantti joined
19:15 <dantti> hi, I need to write benchmarks tests for my web framework using mongo db, I have searched for PPAs of mongocxx for Ubuntu 14.04 and found noone, nor it seems there is some up to date PPA for the C driver, is there some "official" PPA for that, or something that would easily build on 14.04?
19:16 caley joined
19:17 synchroack joined
19:27 igniting joined
19:33 synchroack_ joined
19:34 artok joined
19:37 <Bodenhaltung> Derick: Oh, looks like a big one? Sorry.
19:39 dump joined
19:40 philipballew joined
19:54 m1dnight_ joined
20:03 rendar joined
20:03 rendar joined
20:08 <Bodenhaltung> Derick: I would like to named it "heisenberg milliseconds", only there if you debugging/searching for it. :D sry :D I need sleep. :D
20:08 okapi joined
20:10 synchroack joined
20:12 realisation joined
20:18 Paleo left
20:20 <Derick> Bodenhaltung: did you see the issue though?
20:27 <Bodenhaltung> Derick: I guess so, a "HashTable issue returned by zend_std_get_properties" sounds more like a Zend issue?
20:33 <Derick> no, it's a bug we added ;-)
20:58 hwrdprkns joined
21:01 Celelibi left
21:19 <Bodenhaltung> lo, i hope it is not so complicated. :-)
21:32 StephenLynx joined
21:51 quattro_ joined
22:02 jeffreylevesque joined
22:08 Liara- joined
22:24 Sasazuka joined
22:55 hays joined
23:20 Sasazuka_ joined
23:23 okapi joined
23:27 Sasazuka joined
23:38 Sasazuk__ joined
23:55 Sasazuka joined