Log message #3956961

# At Username Text
# Dec 9th 2016, 21:24 Seaker Hi
# Dec 9th 2016, 20:17 hdon ok that's not the problem i was having
# Dec 9th 2016, 20:11 hdon uh... are you a bot, slackebot?
# Dec 9th 2016, 20:00 cjohnson another one that I have to fight sometimes is xcache
# Dec 9th 2016, 20:00 cjohnson or it’s browser cache
# Dec 9th 2016, 20:00 cjohnson maybe you are doing some custom caching
# Dec 9th 2016, 19:43 hdon hi all :) i'm using cakephp2 and one of my views is being cached. i delete all the files in my cache dir (and see them reappear when i reload the page) but it doesn't change anything. i did a tcpdump to see if my configuration could have been contacting a memcache or something somewhere. no such luck. any ideas?
# Dec 9th 2016, 18:00 spriz Have fun n
# Dec 9th 2016, 18:00 spriz It should:thinking_face:
# Dec 9th 2016, 18:00 ceeram sushi time actually, laterz
# Dec 9th 2016, 18:00 ceeram nvm, hometime
# Dec 9th 2016, 18:00 ceeram i meant does the book say anything about you shutting up?
# Dec 9th 2016, 18:00 spriz That's the only thing the books says in this case :,),:),:)
# Dec 9th 2016, 17:59 spriz Look at the alert/info box on the link I just sent :)
# Dec 9th 2016, 17:59 ceeram does the book say anything about that too?
# Dec 9th 2016, 17:59 spriz I'll just shut up now:face_with_rolling_eyes:
# Dec 9th 2016, 17:59 spriz Ffs - didn't read his follow up....
# Dec 9th 2016, 17:59 ceeram i know
# Dec 9th 2016, 17:58 spriz 6:38 @ceeram :b
# Dec 9th 2016, 17:58 spriz Hehe, that would surprise me ,:) it was an answer to his answer to my question :D
# Dec 9th 2016, 17:57 ceeram book states he should not keep quiet?
# Dec 9th 2016, 17:57 spriz http://book.cakephp.org/3.0/en/development/routing.html#url-inflection-for-resource-routes
# Dec 9th 2016, 17:56 spriz @admad: the book states the opposite :thinking_face:
# Dec 9th 2016, 17:52 admad perhaps i should just keep quite today
# Dec 9th 2016, 17:52 admad Neon1024: sorry, earlier even though you linked cakedc/search my mind read it as foc/search and i responded accordingly :slightly_smiling_face:
# Dec 9th 2016, 17:43 pbaire Hi! I was looking at dbosource file from cake 2.x [ ref https://github.com/cakephp/cakephp/blob/2.x/lib/Cake/Model/Datasource/DboSource.php#L3261�], anybody knows why the design of insertMulti prepares a single statement and then make an execute for every inserted record instead of preparing a unique statement with all values that it can be executed later and in one-shot?
# Dec 9th 2016, 17:40 admad Oh you are talking about resource routes, sorry
# Dec 9th 2016, 17:38 admad @spriz it's just you since it's possible to specify the default route class to use
# Dec 9th 2016, 17:25 pbaire hi
# Dec 9th 2016, 17:21 savant im backkk its a dinosaur story
# Dec 9th 2016, 17:05 pbaire I moved db on an aws instance, a huge insertMulti cause a timeout on db connection, I've modified the function for use a single prepared statement instead of multi , if someone thinks it's be useful I can make a PR into repository
# Dec 9th 2016, 17:02 pbaire Hi! I was looking at dbosource file from cake 2.x , there's a reason why the insertMulti function make a single insert for every inserted record instead of preparing a unique statement executed later? [ ref https://github.com/cakephp/cakephp/blob/2.x/lib/Cake/Model/Datasource/DboSource.php#L3261�]
# Dec 9th 2016, 17:00 Leonardo_0112 BC ?
# Dec 9th 2016, 16:58 hmic otoh, it is easier to programmatically build arrays than object chains :p
# Dec 9th 2016, 16:58 hmic the array syntax is BC imho
# Dec 9th 2016, 16:57 philipgrey as to why, someone else would be better equipped to answer
# Dec 9th 2016, 16:57 philipgrey you should use the object syntax
# Dec 9th 2016, 16:48 Leonardo_0112 Why cake has the array and the object syntax for find method? Any fallback? Which should I use?
# Dec 9th 2016, 16:41 Leonardo_0112 philipgrey, thanks
# Dec 9th 2016, 16:41 Leonardo_0112 It worked! http://pastebin.com/GZ7LxCUg
# Dec 9th 2016, 16:40 pbaire Hi to all!