Log message #4202592

# At Username Text
# Sep 11th 2019, 02:17 admad You can read the manual :slightly_smiling_face:
# Sep 11th 2019, 00:57 arai.mio.i Hi. I think `saveMany` method will issue insert query _n_ times. When I want to issue `bulk insert` SQL, what I can do is to use query builder?
# Sep 10th 2019, 20:25 hollistergraham123 Thanks so much man
# Sep 10th 2019, 20:25 hollistergraham123 I didn’t know about the preserving key
# Sep 10th 2019, 20:24 hollistergraham123 That makes sense
# Sep 10th 2019, 20:21 ndm @hollistergraham123 Because you have duplicate keys, use `toList()` or `toArray(false)` instead. See also the note at the bottom of https://book.cakephp.org/3.0/en/core-libraries/collections.html#expanding-collections
# Sep 10th 2019, 20:17 chrisshick I am pretty sure ANS.1 XD
# Sep 10th 2019, 20:13 chrisshick i know it returns binary
# Sep 10th 2019, 20:12 chrisshick This isn't much of a cakephp question, but i thought i would ask here: does anyone know what format the openssl_sign function returns? like ANS.1, P1363 etc
# Sep 10th 2019, 20:02 hollistergraham123 Why does that result in [1,6] as the output
# Sep 10th 2019, 20:02 hollistergraham123 public function test() { $test = new Collection([1]); $new = $test->prepend([5,6]); $this->set([ ‘data’ => $new->toArray(), ‘_serialize’ => [‘data’] ]); }
# Sep 10th 2019, 19:31 biffco and why composer is in local?
# Sep 10th 2019, 19:30 biffco i used composer but i didnt set anything
# Sep 10th 2019, 19:30 biffco hi, how the hell uninstall and reinstall cakephp to a correct path?
# Sep 10th 2019, 18:27 ricksaccous subquery magic worked
# Sep 10th 2019, 17:42 ricksaccous https://stackoverflow.com/questions/30241975/how-to-limit-contained-associations-per-record-group
# Sep 10th 2019, 17:20 ricksaccous but not sure if there is a better way
# Sep 10th 2019, 17:20 ricksaccous I'm planning on just putting a fk in the main model that belongsTo the hasMany and using app logic to update it
# Sep 10th 2019, 17:20 ricksaccous anyone have any experience turning a hasMany into a hasOne based on least recent entry fulfilling certain conditions?
# Sep 10th 2019, 17:19 ricksaccous why is the limit ignored in the query?
# Sep 10th 2019, 17:18 ricksaccous on leftJoinWith
# Sep 10th 2019, 16:01 dereuromark :slightly_smiling_face:
# Sep 10th 2019, 16:01 dereuromark Doing the anti composer way sure is not proper.
# Sep 10th 2019, 15:59 neon1024 I guess that’s developers for you!
# Sep 10th 2019, 15:59 neon1024 I bet most people think most other people are ‘doing it wrong’
# Sep 10th 2019, 15:58 neon1024 “Proper” is there such a thing
# Sep 10th 2019, 15:32 challgren Sweet PDU failure!
# Sep 10th 2019, 15:25 dereuromark No, proper setup of PHP apps :slightly_smiling_face:
# Sep 10th 2019, 15:24 neon1024 > we have been doing this for a while now
# Sep 10th 2019, 15:24 neon1024 @dereuromark So you’re an expert as multi-core setups?
# Sep 10th 2019, 15:14 dereuromark You are only creating issues, not solving a single real one :slightly_smiling_face: Trust us, we have been doing this for a while now.
# Sep 10th 2019, 15:14 dereuromark Yeah, avoid side effects. Really dont dont dont go down this road.
# Sep 10th 2019, 15:00 challgren Unless you are using a floppy disk or zip disk it wont really save you anything
# Sep 10th 2019, 14:59 challgren Your only saving 128mbs of space. Which in this day is nothing. Plus composer will cache everything locally so you wont even have duplicate network calls going out
# Sep 10th 2019, 14:57 admad Spend your time and effort on things that actually matter, not pointless optimisations
# Sep 10th 2019, 14:57 rsteenge :,)
# Sep 10th 2019, 14:56 admad @rsteenge are your 20 applications run from a floppy disk?
# Sep 10th 2019, 14:55 rsteenge I understand but what if you like all the applications to have the same core? for example 20 different applications
# Sep 10th 2019, 14:38 ricksaccous @rsteenge this is not recommended, especially since one project might be easier to update and another might take longer, etc
# Sep 10th 2019, 14:37 rsteenge is it possible in CakePHP 3 that multiple applications share the same CakePHP core?
# Sep 10th 2019, 13:50 admad indeed