Nicky Gerritsen

Results 119 comments of Nicky Gerritsen

I have a very minimal repo to reproduce this for my case. It comes down to: ```php $p = PropertyAccess::createPropertyAccessor(); $item = new \Proxies\__CG__\App\Entity\Item(); $item->setName('test'); dump($item); dump($p->isReadable($item, 'name')); // isReadable($item,...

This should be as 'easy' as: * Dropping all events. * Calling EventLogService::initStaticEvents`. * Making sure we call `addMissingStateEvents` at the correct times to insert the state events. * Looping...

> We need to drop all existing connections as well, right? Or at least add some form of synchronization mechanism... Yeah and have new event ID's, as in if a...

Thanks a lot for this big write up. We normally advice to not run many judgehosts on one machine (since there will always be *some* overhead) but it might indeed...

> > Some notes: > > ``` > > * We need the Symfony built in serializer for request mapping, so that is why I'm adding it. We can't get...

Proposal: * Hide the edit button ever where except the top clarification * Make that edit button edit all of them

I think we need some compiler pass for this, which is hard or even impossible since it can’t have access to the db. Maybe we should prefix the log entries...

Seems to be this query: https://github.com/domjudge/domjudge/blob/main/webapp/src/Controller/API/JudgehostController.php#L176-L192

Doing an explain gives: ``` 1 SIMPLE j4_ const PRIMARY,hostname hostname 258 const 1 Using index; Using temporary 1 SIMPLE j2_ ALL testcaseid,judgingid,IDX_29A6E6E13CBA64F2 92 Using where 1 SIMPLE j0_ eq_ref...

So still slow but less slow? How many judgings, rejudgings, judging_runs and judgetasks do you have? And could you try the same query but then twice: * Once with only...