From: David v. d. S. <dav...@te...> - 2003-06-04 15:46:45
|
On Wed, 2003-06-04 at 16:54, Chris Cannam wrote: > Silvan wrote: > > You can make a good case for the progressive tips thing we discussed. > > I see indeed that the GIMP uses that to good effect, but the most > > productive thing in that case would be to patch KDE, as you suggested > > at that time. > > I would like to do that, but the subject of ordered tips has been > so hotly debated here that I rather doubt I could persuade the powers > that be at KDE that it was a good idea. Perhaps as an option I guess. > > Ordered tips probably wouldn't appear inconsistent with the unordered > ones in other apps to most users, who I think wouldn't think about the > mechanism much. The problem is that it seems to require duplicating > the code, which means we'd lose any enhancements made to the KDE > version after we did it. That's the main reason I dropped my attempt > to do this last time. How hard can it be, really? You have a list of strings and pick either out one at random, or use the next one you haven't had. Four lines of extra code, one extra flag to the the tip of the day routine. if (rand_flag == -1) index = rand(); else index = (rand_flag+1) % nr_tips; -- David van der Spoel <dav...@te...> Uppsala University |