Re: [Jprogramming] Even partitions

2016-05-22 Thread 'Jon Hough' via Programming
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

Re: [Jprogramming] gl paint handler and errors

2016-05-22 Thread Raul Miller
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

Re: [Jprogramming] gl paint handler and errors

2016-05-22 Thread bill lam
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,

Re: [Jprogramming] gl paint handler and errors

2016-05-22 Thread Jan-Pieter Jacobs
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