Log message #4202580

# At Username Text
# 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
# Sep 10th 2019, 13:50 dereuromark immutable object operation without reassignment sure is sth hard to spot.
# Sep 10th 2019, 13:50 dereuromark which is quite cool indeed.
# Sep 10th 2019, 13:49 admad @dereuromark i skimmed through it. If i understand it correctly with proper use of those annotations psalm could for e.g. warn user if they use `$this->response->withFoo()` in controller and fail to return / assign the method's return value.
# Sep 10th 2019, 13:42 admad psalm should become the defacto static analyzer for PHP. Matt Brown's development pace is awesome.
# Sep 10th 2019, 13:41 admad i got the release notification, haven't read the article yet :slightly_smiling_face:
# Sep 10th 2019, 13:39 dereuromark @admad If you're bored^^ https://psalm.dev/articles/immutability-and-beyond
# Sep 10th 2019, 13:34 neon1024 I fixed the title :slightly_smiling_face:
# Sep 10th 2019, 13:33 neon1024 Here we are, feel free to edit if you need to https://github.com/cakephp/cakephp/issues/13638
# Sep 10th 2019, 13:28 admad above i said `addBehavior()` by mistake, the association methods `hasOne()` etc. :slightly_smiling_face:
# Sep 10th 2019, 13:24 neon1024 Righto
# Sep 10th 2019, 13:24 neon1024 Or er, both perhaps?
# Sep 10th 2019, 13:24 admad core, first the properties need to be assinged