Log message #4033346

# At Username Text
# May 29th 2017, 12:09 inoas redux I have to say is far to abstracted and complex... though we are using it
# May 29th 2017, 12:09 inoas the only js stuff that was too my liking so far was jQuery and ReactJS
# May 29th 2017, 12:00 kareylo I hate expressjs ... :(
# May 29th 2017, 11:47 heter so i needed to separate their sessions
# May 29th 2017, 11:46 heter actually i already found it out, ive had collisision between backend and frontend users (dont ask why they cannot work on same table)
# May 29th 2017, 11:45 dereuromark why is that necessary?
# May 29th 2017, 11:31 heter hi there, Auth Component -> is there any way to change the key on which user is stored ?
# May 29th 2017, 11:09 pedroseco hi guys, anyone using psysh console for debugging?
# May 29th 2017, 10:57 bernat thanks
# May 29th 2017, 10:55 bernat Obviously I was making it harder than it is. :)
# May 29th 2017, 10:51 hmic attach there
# May 29th 2017, 10:51 bernat hmic: what if it's just for a model?
# May 29th 2017, 10:39 hmic bernat, if you need them to be attached applicationwide, sure
# May 29th 2017, 10:07 bernat Hi. I'm starting to use events in cakephp3. Is it common practice to attach listeners in the bootstrap file?
# May 29th 2017, 09:10 medic thanks @kareylo . I will test it.
# May 29th 2017, 09:08 kareylo @medic https://book.cakephp.org/3.0/en/core-libraries/collections.html#Cake\Collection\Collection::chunk
# May 29th 2017, 08:53 medic I'm talking using a cakephp sql statement.
# May 29th 2017, 08:51 hmic with the orm the results are streamable, so you can use the technique i was talking about too: chunk the result (collection!) of your query and save the chunks individually, instead of all records at once.
# May 29th 2017, 08:50 hmic if its an sql result you can do "insert into ... select from" syntax with mysql at least
# May 29th 2017, 08:49 medic My data is returned from the search results. After I give add all to array, then i using saveMany();
# May 29th 2017, 08:47 hmic we are talking about an async task anyways here. just to make sure!
# May 29th 2017, 08:47 hmic you can use the collection class to split a large dataset into chunks, while not needing to load all the data upfront, so memory footprint will be doable
# May 29th 2017, 08:46 kareylo Or create a seed (lel)
# May 29th 2017, 08:46 hmic saving large amounts at once is a bad idea. multiple tasks will help too to speed it up
# May 29th 2017, 08:46 kareylo +1
# May 29th 2017, 08:46 hmic medic: iterate.
# May 29th 2017, 08:23 medic Hi All, I have question about process data when save to DB. I want save more 1 billions records from table to other table. I using saveMany() but not good. Any good solution to help me. Thanks!
# May 29th 2017, 06:36 kareylo @joshuaso91 What's the request you make ?
# May 29th 2017, 04:06 alex-xhs456 @admad That did it, thanks!
# May 29th 2017, 03:50 admad @alex-xhs456: use 'hiddenField' false in form->input options to prevent anything being submitted
# May 29th 2017, 03:49 josh_rodarte I figured it out. I Deleted session files for apache. Had a blackout, probably what caused it.
# May 29th 2017, 03:45 alex-xhs456 Have a question with 2.9. A form as a Yes / No radiobutton. If I don't select anything it will submit the field and an empty value ("question": "") which is saved as 'false' in the db (TINYINT(1) field that is nullable). I want it to be NULL instead. Should I make sure the field is not included on submit or look somewhere else?
# May 29th 2017, 03:42 josh_rodarte I see it is a ghost error in the repo. great lol
# May 29th 2017, 03:17 josh_rodarte I suddenly am getting the error, "Session was already started". The error output is only showing core files. How can I locate the problem?
# May 29th 2017, 03:13 Lander It returns articles with only comments from "markstory" or only articles that were commented by "markstory"?
# May 29th 2017, 03:12 Lander I didn't get it
# May 29th 2017, 03:12 Lander https://pastebin.com/Y2j1L1C5
# May 28th 2017, 23:25 gustavocp hmm, change it from char(36) to varchar(36) and database is ok
# May 28th 2017, 23:22 gustavocp FK needs to be varchar(36) or char(36)?
# May 28th 2017, 23:22 gustavocp task has a owner, i called it user_id and i put dropdown getting all from users table put it still showing UUID unstead name. And it does not save in database this field
# May 28th 2017, 23:21 gustavocp Thank you for reply. bake put displayField on TaskTable look: https://gist.github.com/gustavocp/b905f3c657d219573abd56330ab2ce4e