I don't have an explicit solution, but two ideas that spring to mind are:
(a) Partition problem (similar to knapsack)
https://en.wikipedia.org/wiki/Partition_problem
If you are trying to minimize the difference in sizes, then consider the
set S of integers representing your file sizes and f
I think that avoiding coping measures on the grounds that at some
future point in time a proper fix should be done is wrong.
The right time for avoiding those coping measures is when that proper
fix is available.
If the issue is motivation, you need that anyways - but having a
system which can be
Infinite loop is bug, but replacing ok box with interrupt button
is not a proper fix to the gl paint problem. So far gl paint is
the only case that results in an infinite loop, so that I would
prefer a proper fix to the gl paint problem itself.
I suspect it is a deficiency of Qt graphic backend,
I also happened to run into the infinite popup problem, both when trying to
get started writing J GUI's (gave up because of this) and when using plot
(accidentally not specifying options in the way they should be).
I agree that in that last case, it was probably a bug in the plot package,
but in m