Re: sugar start-up profiling

2008-08-01 Thread riccardo
On Thu, 2008-07-31 at 17:27 +0100, Tomeu Vizoso wrote: On Tue, Jul 29, 2008 at 3:15 PM, riccardo [EMAIL PROTECTED] wrote: Problem: sugar starts up slowly on the xo Tests were ran on an xo after a clean joyride-2181 install plus sucrose's activities. A graph of the ending part of the

Re: sugar start-up profiling

2008-08-01 Thread Tomeu Vizoso
On Fri, Aug 1, 2008 at 7:55 AM, riccardo [EMAIL PROTECTED] wrote: On Thu, 2008-07-31 at 17:27 +0100, Tomeu Vizoso wrote: On Tue, Jul 29, 2008 at 3:15 PM, riccardo [EMAIL PROTECTED] wrote: I guess that's for the mesh and friends view? Oh, right! +1 for changing the algorithm. Eben, can you

Re: sugar start-up profiling

2008-08-01 Thread Eben Eliason
Spread layout should: * Position icons so as to minimize overlap * Support a suggested location for the position of a given icon * Support both addition and removal of nodes * Support in-place scaling of nodes, both growing and shrinking * Have a low big-O (O(n)? O(nlogn)? But, as we've seen, it

Re: sugar start-up profiling

2008-08-01 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: | Spread layout should: ... | * Have a low big-O (O(n)? O(nlogn)? But, as we've seen, it also needs a | fairly low constant) Surely the layout should be cached on disk, so that the algorithm is not invoked on boot? The layout

Re: sugar start-up profiling

2008-08-01 Thread Erik Garrison
On Fri, Aug 01, 2008 at 10:19:50AM -0400, Eben Eliason wrote: Another potentially interesting solution is a pseudo-spring algorithm, by which we detect some numbers of neighbors (O(n)) and then we push those neighbors away with some force vector, the magnitude of which is weighted based on the

Re: sugar start-up profiling

2008-08-01 Thread Eben Eliason
On Fri, Aug 1, 2008 at 10:27 AM, Benjamin M. Schwartz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: | Spread layout should: ... | * Have a low big-O (O(n)? O(nlogn)? But, as we've seen, it also needs a | fairly low constant) Surely the

Re: sugar start-up profiling

2008-08-01 Thread Eben Eliason
On Fri, Aug 1, 2008 at 10:29 AM, Erik Garrison [EMAIL PROTECTED] wrote: On Fri, Aug 01, 2008 at 10:19:50AM -0400, Eben Eliason wrote: Another potentially interesting solution is a pseudo-spring algorithm, by which we detect some numbers of neighbors (O(n)) and then we push those neighbors

Re: sugar start-up profiling

2008-08-01 Thread riccardo
On Fri, 2008-08-01 at 10:41 -0400, Eben Eliason wrote: On Fri, Aug 1, 2008 at 10:29 AM, Erik Garrison [EMAIL PROTECTED] wrote: On Fri, Aug 01, 2008 at 10:19:50AM -0400, Eben Eliason wrote: Another potentially interesting solution is a pseudo-spring algorithm, by

Re: sugar start-up profiling

2008-08-01 Thread Martin Dengler
On Fri, Aug 01, 2008 at 04:53:20PM +0200, riccardo wrote: What about doing collision detection with Box2D (fast, well maintained etc..) ? Didn't get shouted down last time you (or someone) mentioned it on IRC. +1. riccardo Martin pgppPHCGMuWG1.pgp Description: PGP signature

Re: sugar start-up profiling

2008-08-01 Thread Erik Garrison
On Fri, Aug 01, 2008 at 10:41:41AM -0400, Eben Eliason wrote: On Fri, Aug 1, 2008 at 10:29 AM, Erik Garrison [EMAIL PROTECTED] wrote: On Fri, Aug 01, 2008 at 10:19:50AM -0400, Eben Eliason wrote: Another potentially interesting solution is a pseudo-spring algorithm, by which we detect

Re: sugar start-up profiling

2008-08-01 Thread Martin Dengler
On Fri, Aug 01, 2008 at 10:41:41AM -0400, Eben Eliason wrote: I could also see this working to bring frequently used activities to the center of the screen, and less frequently used ones to the edge (thought that interferes with free placement). As long as we don't end up with personalized

Re: sugar start-up profiling

2008-07-31 Thread Tomeu Vizoso
On Tue, Jul 29, 2008 at 3:15 PM, riccardo [EMAIL PROTECTED] wrote: Problem: sugar starts up slowly on the xo Tests were ran on an xo after a clean joyride-2181 install plus sucrose's activities. A graph of the ending part of the boot process can be found at:

sugar start-up profiling

2008-07-29 Thread riccardo
Problem: sugar starts up slowly on the xo Tests were ran on an xo after a clean joyride-2181 install plus sucrose's activities. A graph of the ending part of the boot process can be found at: http://dev.laptop.org/~rlucchese/boot/boot.stats.svg (http://dev.laptop.org/~rlucchese/boot/boot.stats)