Robert Korulczyk

Results 275 comments of Robert Korulczyk

> @rob006 what kind of overhead do you mean? In such libraries, the main performance losses are the result of poor implementation, but not the result of using objects. I...

I would like to remind you that AR is is not a final class but only a base for user models - every new method reserves some name and may...

WordPress uses such approach. https://developer.wordpress.org/themes/functionality/internationalization/#descriptions https://develop.svn.wordpress.org/trunk/tools/i18n/extract.php

AFAIK `preg_split()` returns `false` only if you pass invalid input or regex. In `countWords()` regex is hardcoded, so input must be a problem - for what value (and what scenario)...

Is there any reason why you're not using: ```php $failures = Failure::find() ->andWhere(['failure.reason' => 1]) ->joinWith(['job']) ->all(); ``` ?

Uncomment 'ipFilters' setting and put there your ip adress. If not work, try set it like that: ``` php 'ipFilters' => array('*'), ``` It will show debug info for everyone,...

I process server logs from last 24 hours. I have about 38k entries in log file, and most of them are generated by bots (it is dead site with lots...

> Sorry, but that's the way, piwik works. I don't have a variable, where I can remember the last visit and don't know if the current hit is the last...

> The only case that can cause the deadlock is the usage of (massive) parallel processing. I use 2 parallel processes. It gives me about 140 errors on processing log...