Log message #4189862

# At Username Text
# Jun 18th 2019, 08:57 martin client side I mean local :P
# Jun 18th 2019, 08:56 martin yes I’m also thinking that, testing it client side. But I’m not calculating any things with it. why do I still have problems with printing it?
# Jun 18th 2019, 08:56 martin I’m switching between irc and slack. :P
# Jun 18th 2019, 08:56 neon1024 Hey everyone! I have a ticket to add audit logging, any tooling or good solutions already out there that I should look at?
# Jun 18th 2019, 08:55 challgren @conehead is headed down the correct rabbit hole
# Jun 18th 2019, 08:54 Martin` 64bit
# Jun 18th 2019, 08:54 conehead https://www.leaseweb.com/labs/2013/06/the-php-floating-point-precision-is-wrong-by-default/
# Jun 18th 2019, 08:53 challgren Are you running on 64bit or 32bit?
# Jun 18th 2019, 08:53 challgren Does it happen with FLOATs?
# Jun 18th 2019, 08:53 martin I think it has to do with a float indeed, I was hoping that chancing to a float 8,2 would fix that but that does not help
# Jun 18th 2019, 08:51 martin I’m just using the default json render thing that is used by crud, do noting specials :slightly_smiling_face:
# Jun 18th 2019, 08:51 challgren “17763568394002504646778106689453125”
# Jun 18th 2019, 08:51 challgren the weird data comes back in this web page
# Jun 18th 2019, 08:51 challgren https://www.exploringbinary.com/using-integers-to-check-a-floating-point-approximation/
# Jun 18th 2019, 08:50 Martin` 1994
# Jun 18th 2019, 08:50 Martin` ehh
# Jun 18th 2019, 08:50 Martin` hmmm my cpu is newer than 2014 :P
# Jun 18th 2019, 08:48 bgrinter @martin running on one of these? :P https://www.techradar.com/au/news/computing-components/processors/pentium-fdiv-the-processor-bug-that-shook-the-world-1270773
# Jun 18th 2019, 08:47 conehead https://www.php.net/manual/en/language.types.float.php Is it only with DOUBLE? Or is it with FLOAT as well?
# Jun 18th 2019, 08:47 challgren Are you using any _jsonOptions?
# Jun 18th 2019, 08:46 conehead Sounds like a PHP problem to me
# Jun 18th 2019, 08:33 martin When I have a DOUBLE in database, I save 3.95 to it, and get it from database, render it to json I get 3.95000000000000017763568394002504646778106689453125, any way to fix this simple? I was hoping cake rounds it by default :P mysql returns just 3.95
# Jun 18th 2019, 07:54 conehead Morning!
# Jun 18th 2019, 07:52 neon1024 Morning all :wave:
# Jun 17th 2019, 22:31 ricksaccous use code snippet in slack or gist though
# Jun 17th 2019, 22:30 ricksaccous can you paste your getAuthenticationService
# Jun 17th 2019, 22:30 slackebot1 use Authentication\Middleware\AuthenticationMiddleware; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface;
# Jun 17th 2019, 22:30 stephenzgalbraith use Cake\Core\Configure; use Cake\Core\Exception\MissingPluginException; use Cake\Error\Middleware\ErrorHandlerMiddleware; use Cake\Http\BaseApplication; use Cake\Http\MiddlewareQueue; use Cake\Routing\Middleware\AssetMiddleware; use Cake\Routing\Middleware\RoutingMiddleware; use Cake\Routing\Router; use Cake\Http\ServerRequest; use Authentication\AuthenticationService; use Authentication\AuthenticationServiceProviderInterface;
# Jun 17th 2019, 22:30 stephenzgalbraith I have all of these:
# Jun 17th 2019, 22:30 ricksaccous you have this use statement? use Psr\Http\Message\ServerRequestInterface;
# Jun 17th 2019, 22:28 ricksaccous seems like one of those errors
# Jun 17th 2019, 22:28 ricksaccous i think...
# Jun 17th 2019, 22:27 ricksaccous lol
# Jun 17th 2019, 22:27 ricksaccous you forgot a use statement dude
# Jun 17th 2019, 22:27 stephenzgalbraith https://stackoverflow.com/questions/56635969/cakephp-4-x-authentication-2-x-fatal-error-when-initiating
# Jun 17th 2019, 22:26 stephenzgalbraith nope, fresh install of both the app skeleton and authentication plugin
# Jun 17th 2019, 22:26 ricksaccous you aren't still trying to use the auth component are you?
# Jun 17th 2019, 22:26 ricksaccous where are you having trouble?
# Jun 17th 2019, 22:26 ricksaccous oh i have that working with the new plugin
# Jun 17th 2019, 22:18 stephenzgalbraith Ah alright.. I can't seem to get authentication up on a fresh 4.x-dev install
# Jun 17th 2019, 22:18 ricksaccous I'm on 3.7 but making sure there are no deprecation errors