Log message #4121309

# At Username Text
# Mar 2nd 2018, 14:23 inoas I just need an interface for the 'adapter'
# Mar 2nd 2018, 14:23 inoas CakePHP's Client has 'adapter' => 'Cake\Http\Client\Adapter\Stream',
# Mar 2nd 2018, 14:22 hmic it is. just not with a streamed response, as per the definition.
# Mar 2nd 2018, 14:22 inoas so I want to feed the stream one by one into say redis or a file cache
# Mar 2nd 2018, 14:22 inoas that is a performance optimization and as HTTP GET is idempotent I should be technically allowed to do so
# Mar 2nd 2018, 14:22 hmic what do you use the stream for? - things that are so big that they would exhaust the php memory, if not streamed!
# Mar 2nd 2018, 14:21 inoas I fire HTTP GET requests and want to locally cache the response
# Mar 2nd 2018, 14:21 inoas again I don't care what I should not
# Mar 2nd 2018, 14:21 hmic as it's a stream
# Mar 2nd 2018, 14:21 hmic and you should not
# Mar 2nd 2018, 14:21 inoas otherwise I cannot cache the response
# Mar 2nd 2018, 14:21 inoas yes but I need that, the stream to get all data and close
# Mar 2nd 2018, 14:16 hmic thats the whole idea
# Mar 2nd 2018, 14:16 hmic a stream does not have a "complete" response at any given time
# Mar 2nd 2018, 14:14 inoas otherwise I cannot cache it locally into whatever (files, redis, apcu)
# Mar 2nd 2018, 14:14 inoas as I said I don't want a stream, just the complete response body
# Mar 2nd 2018, 14:13 inoas admad so the interface is just missing from the class declaration head?
# Mar 2nd 2018, 13:57 admad https://github.com/zendframework/zend-diactoros/blob/master/src/Stream.php
# Mar 2nd 2018, 13:55 admad https://github.com/php-fig/http-message/blob/master/src/StreamInterface.php
# Mar 2nd 2018, 13:18 inoas just switch around the adapter from stream to non-stream and enable caching which would cache responses for the same get request (same url, same query params, same headers)
# Mar 2nd 2018, 13:18 inoas I want things to look the same from the outside
# Mar 2nd 2018, 13:18 inoas however the response cannot be cached because the adapter is a stream
# Mar 2nd 2018, 13:18 inoas I want to create an HTTP Client that uses cached responses
# Mar 2nd 2018, 13:17 inoas class Cake\Http\Client\Adapter\Stream doesn't have an interface
# Mar 2nd 2018, 12:55 loginews I have tried $_SESSION['Auth']['User']['id'] just now and it works. Thanks.
# Mar 2nd 2018, 12:42 loginews File uploaded https://cakesf.slack.com/files/U435V89H8/F9JCXDY6S/auth_component.txt / https://slack-files.com/T053DPNCM-F9JCXDY6S-57b1329d02 - Can you guide me please. Thanks in advance.
# Mar 2nd 2018, 11:55 edgaras.jan https://book.cakephp.org/3.0/en/controllers/components/cookie.html is encrypted cookie component. Use https://book.cakephp.org/3.0/en/controllers/request-response.html#creating-cookies for non-encrypted cookies
# Mar 2nd 2018, 11:53 neon1024 Ah bugged code!
# Mar 2nd 2018, 11:53 neon1024 The data to decrypt cannot be empty.
# Mar 2nd 2018, 11:52 neon1024 I want to use non-ecrypted cookies
# Mar 2nd 2018, 11:45 neon1024 Does enforce encrypted cookies ?
# Mar 2nd 2018, 09:19 neon1024 I’m hoping to attend Cakefest, I’ve submitted 3 talks, so hopefully something is of interest to the cake community :)
# Mar 2nd 2018, 09:01 johan Hm... I'll give it some thought ;)
# Mar 2nd 2018, 09:01 megan also @johan why dont you submit a talk? CFP is open until 15th March
# Mar 2nd 2018, 09:00 megan have to try! :) also - the EB rates are up, wont be there for long ;) (full prices will be from 1 April ish....)
# Mar 2nd 2018, 08:59 johan Would love to, but might be difficult to convince the powers that be :P
# Mar 2nd 2018, 08:58 megan so who's coming to CakeFest this year? :cakephp::parrotparty:
# Mar 2nd 2018, 08:49 neon1024 Morning from snowy Britain!
# Mar 2nd 2018, 08:10 pidlo associated array
# Mar 2nd 2018, 08:10 pidlo i found this select(['virtual'=>'name'] thanks for time..
# Mar 2nd 2018, 08:05 pidlo by orm?