PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 4th of September, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:22:33] <SDr> g1eb, you need to set up network mesh between docker containers
[14:35:40] <robertparkerx> I've upgraded php and mongo driver. There was some legacy code that I've converted to latest. For some reason the search or find is not returning the proper results. I think it is this https://hastebin.com/ohuruzajaf.php can someone help me
[14:43:58] <GothAlice> robertparkerx: I don’t suppose you could share that somewhere not blocked by corporate firewall policy? Gist is good people.
[14:45:46] <robertparkerx> https://gist.github.com/robertparkerx/30a70f0d8dbe77ff14984e6d8b5f9da1
[14:45:48] <robertparkerx> Sorry
[14:46:03] <robertparkerx> I think I just remove '^'.
[14:46:10] <robertparkerx> it returned the right results then
[14:46:20] <GothAlice> No worries! :has a gander: (You preempted my follow-up: “In b4 a hilarious chain of rejected paste services are tried: nope to dpaste, pastebin, codepile, jsfiddle, pastehtml, jsbin, hastebin, …” ;^)
[14:46:33] <robertparkerx> xD
[14:47:00] <GothAlice> In regex, ^ means “prefix search”. If that’s not actually what you intend, for sure, removing that can broaden the search.
[14:50:42] <robertparkerx> I'm just trying to upgrade everything to the latest driver
[14:50:51] <robertparkerx> I didn't write any of this honestly
[14:51:33] <robertparkerx> I think that is what I needed though because th return is what it should be
[15:01:57] <robertparkerx> Thank you GothAlice
[15:02:21] <GothAlice> robertparkerx: It never hurts to help. :)
[20:49:39] <g1eb> SDr thanks for the reply, i do have a network between containers, and can verify the address gets set correctly
[20:50:14] <g1eb> i think it's on pymongo flask integration that ignores that setting and keeps trying localhost for some reason
[21:52:29] <GothAlice> (Favourite PHP-ism: parse_str being register_globals to this day, even if you do supply the optional array argument to populate, it still contaminates the calling context. Genius! Second favourite: '58afbe0ade06cd24cca00eaf4370b35f6d2450df18fd198945cb4420012cb395' == 58, which is why my Flex apps had to transfer password hashes for verification prefixed by "x" — to prevent interpretation as integers.)
[21:52:38] <GothAlice> robertparkerx: ^ ;)
[21:59:11] <robertparkerx> GothAlice :)
[22:10:28] <GothAlice> It's a hell of a thing to investigate why I was able to log in with a password that was not my password only to discover a common numeric prefix between the actual hashes as being the culprit. A (ノಠ益ಠ)ノ彡┻━┻ moment one hopes to have few of in their life.
[23:57:56] <Sasazuka> so homebrew deprecated support for mongodb and I swapped over to https://github.com/mongodb/homebrew-brew -- on starting up I get: /usr/local/var/mongodb/WiredTiger.wt: handle-open: open: No such file or directory
[23:58:16] <Sasazuka> I had data but I don't need to recover it, I don't mind starting from scratch