Simon Heimberg
Simon Heimberg
On my linux machine, this would work perfect. Not sure if it would work on every system. I found some formats which would not: https://unix.stackexchange.com/questions/255558/understanding-the-output-of-proc-cpuinfo (AArch64, in 1 section, 7...
More concerning **linux**: Looks like /proc/cpuinfo is meant for human consumption and thus lacks a stable format (from https://stackoverflow.com/a/23378780). Makes it hard to use. `lscpu -p` gives the topology information...
Wondering if another structure would be more useful for many cases. Functions like `os.sched_getaffinity()` or `psutil.Process().cpu_affinity()` work with the id of the logical cpu. Taking the (logical) cpu id as...
That is strange. In [5.9.0 `psutil.cpu_count()` ](https://github.com/giampaolo/psutil/blob/release-5.9.0/psutil/__init__.py#L1570) has the argument. And it checks for value < 0 and replaces it with `None`. What does `os.cpu_count()` return? (no argument supported) What...
I guess plugin timer (of pr GH #6030) could be used instead of implementing real time scheduled commands. Those two are for a similar problem. The repeated called function would...
Additional idea: - one test could have `custom_starting_positions="false"` to check that the AI selects a position. Currently the AI just selects the default position, but the test should not care...
> > Why is the map not in test/maps/ ? As long as there is no test/maps/XXX.wmf/scripting/test_*.lua, no other test will be created for it. > > I think that...
> > one test could set random="true" (and ai=empty, ...) for an additional player and check if it is generated. > > Done, except for the check. How should I...
I reverted my last commit. (I would bring it again in case it ever gets helpful.)
I suggest to do a small, much more moderate cleanup. I vote to do 8df0cd8 because this not as planned quite sure. ( [ -f a/b -a c/d ] should...