Tom Worster

Results 13 issues of Tom Worster

Refactor `DynamicActiveRecord` so that methods use `parent::` only to call the parent of the same method, e.g. `DynamicActiveRecord::getAttribute()` is allowed to call `parent::getAttribute()` but not `parent::__get()`. Does this [improve maintainability](https://github.com/yiisoft/yii2/issues/9656#issuecomment-158679162)...

PDO doesn't have a type for float [so Yii uses string](https://github.com/yiisoft/yii2/blob/master/framework/db/Schema.php#L252-L265). So a PHP value that was a float is string by the time the DB receives the command. It...

bug

For better performance please use the VirtualBox SATA controller. From https://docs.oracle.com/cd/E97728_01/E97727/html/harddiskcontrollers.html > Like a real SATA controller, Oracle VM VirtualBox's virtual SATA controller operates faster and also consumes fewer CPU...

Enhancement request: It would be very interesting to be able to compare PHP 5.6 against 7.0 using your benchmarks. I mean: update the readme to show both.

The command b2 sync --noProgress --keepDays 14 /home/data/v2 b2://backup/ > /path/to/logfile produced this error on stderr. WARNING:b2sdk.sync.report:could not output the following line with encoding None on stdout due to 'ascii'...

Feature request for discussion. When the DB server uses multi-master replication, conflict can occur when clients of different replication masters write to the same row. In the case of Galera...

Docs for `\yii\db\BaseActiveRecord::save()` ``` @return boolean whether the saving succeeded (i.e. no validation errors occurred) ``` As far as I can tell there are three ways that it can return...

type:enhancement

The graph of Package Frequency spikes to 2147.48 THz every minute or so. The graph therefore scales itself so that it shows no useful information: ![graph](https://i.imgur.com/2SrZwai.png) Z97X-UD5H - F8 -...

PHP 7.3 introduced the FPM ini config directive `request_terminate_timeout_track_finished`. I think the Performance Tuning of the Yii 2 def guide should suggest turning it on. I quote [PHP Manual](https://www.php.net/manual/en/install.fpm.configuration.php#request-terminate-timeout) below...

type:docs

Docs for `\yii\db\BaseActiveRecord::save()` ``` @return boolean whether the saving succeeded (i.e. no validation errors occurred) ``` As far as I can tell there are three ways that it can return...

type:enhancement