Log message #4170166

# At Username Text
# Oct 4th 2018, 13:04 steinkel @vinicius.big we just fixed the warning in the cakedc/auth plugin, please do composer update
# Oct 4th 2018, 13:03 birdy247 but maybe the rule just needs more logic!
# Oct 4th 2018, 13:03 birdy247 execpt in a special edit case
# Oct 4th 2018, 13:03 admad having optional application rule is highly suspicious
# Oct 4th 2018, 13:03 birdy247 we want it to run in all scenarios
# Oct 4th 2018, 13:03 birdy247 well, its more when the rule runs
# Oct 4th 2018, 13:03 neon1024 If it’s optional I wonder if you need a rule?
# Oct 4th 2018, 13:02 birdy247 application rule
# Oct 4th 2018, 13:02 neon1024 So that you can set your own context
# Oct 4th 2018, 13:02 neon1024 @birdy247 Validation rule? Perhaps you need a callback in your validation rule for the ‘when’
# Oct 4th 2018, 12:58 ricksaccous you'd have to put in your own logic
# Oct 4th 2018, 12:58 ricksaccous not by default though
# Oct 4th 2018, 12:57 ricksaccous lol
# Oct 4th 2018, 12:57 ricksaccous if you feed an option that disables it
# Oct 4th 2018, 12:53 birdy247 Can an indivudal rule be disabled in a controller?
# Oct 4th 2018, 12:48 btx thanks, I’ll give that try first.
# Oct 4th 2018, 12:47 btx challenge accepted
# Oct 4th 2018, 12:47 btx :slightly_smiling_face:
# Oct 4th 2018, 12:47 admad you can use all the system memory available
# Oct 4th 2018, 12:47 btx oo
# Oct 4th 2018, 12:47 admad "but I’d hit the same memory issue at the cli level" i doubt it, php in cli doesn't have memory limits like webserver
# Oct 4th 2018, 12:46 admad doesn't need anything extra, diactoros already provides a stream reponse class but you need to understand how to generate a streaming response in php in general
# Oct 4th 2018, 12:46 btx I was also thinking of generating the XML on a CRON but I’d hit the same memory issue at the cli level
# Oct 4th 2018, 12:45 btx @admad is that something that needs special libs? or is it as “simple” as using javascript to keep calling paginated data until the resultset is empty?
# Oct 4th 2018, 12:43 drkhshOy But won't that show the base widget a lot of times? I mean widgetShowAll is recursive
# Oct 4th 2018, 12:43 drkhshOy use imgur
# Oct 4th 2018, 12:43 admad streaming is what you are looking for
# Oct 4th 2018, 12:43 drkhshOy koala_man presented a more compelling use case
# Oct 4th 2018, 12:43 drkhshOy its like a very gay song
# Oct 4th 2018, 12:43 drkhshOy rf?
# Oct 4th 2018, 12:43 btx that’s because I’m not sure what approach is best (or even an option)
# Oct 4th 2018, 12:43 admad cake's View will always buffer, if you want to stream than you need to create a streaming response yourself
# Oct 4th 2018, 12:42 admad first get your terms right: buffering and streaming are kinda opposite :slightly_smiling_face:
# Oct 4th 2018, 12:42 btx does anyone know if it’s possible to buffer/stream/etc large datasets to a Cake view? I have an XML view that needs to display a large dataset (10k-30k records) and i’m hitting memory errors (as is to be expected)
# Oct 4th 2018, 12:41 vinicius.big they are all in the last version
# Oct 4th 2018, 12:15 vinicius.big I've just checked the versions: ``` cakephp/cakephp: 3.6.12 cakedc/auth: 3.0.0 cakedc/users: 7.0.2 ```
# Oct 4th 2018, 12:14 vinicius.big I did a fresh install for `Cakephp` and `CakeDC/Users` So, Its suppose to do the last version
# Oct 4th 2018, 11:55 admad slack threads are awful
# Oct 4th 2018, 11:54 admad thanks :slightly_smiling_face:
# Oct 4th 2018, 11:49 nwokigM And pZombie that's what the linked Wikipedia page does
# Oct 4th 2018, 11:49 nwokigM https://i.imgur.com/DS62QMd.png any CAD gurus around?