Thanks for your input! On Tuesday, April 14, 2015 at 6:11:01 PM UTC+2, William wrote: > > I vote for 3, which is the situation with 2d graphics for the last *9 > years*, and isn't it the current situation with animations right now. > I'm not sure why you don't clearly say for this poll what the > current situation is, given that one has been able to save animations > for a long time... >
The current situation is changing rapidly, so what's current now may not be current in ten minutes… The problem is not so much what "save" can do, but whether "show" gives you as much power as "save" does. The only reliable options are 1. and 2. while 3. and 4. are subject to discussion and change. Before ticket 17234 <http://trac.sagemath.org/ticket/17234> it was possible to pass arguments to "show" which were not available for "save". But the format-specific methods provided those options and even some more. Then that ticket introduced some IPython support and completely changed the way show got routed. A great concept on the whole, but it broke some options which just got restored by my patch for ticket 18176 <http://trac.sagemath.org/ticket/18176> which is one of those tickets triggering this discussion here. Furthermore, "save" lets one control the file format via the file name extension, so when I get video output in browser working (again) for ticket 7298 <http://trac.sagemath.org/ticket/7298> I'd like to offer some choice between formats for "show" as well. But Volker argued against a format control parameter, and removed file name parameters from several show methods which used to have them. > 1. is the same as 3 with no useful functionality and would be useless to > me. > 2. what if there is no browser involved? > Then you'd overwrite the same file on disk and see whether that updates your viewer automatically or not. > 3. what it is right now, if I understand correctly. > This option has not been usable between #17234 and #18176 if you were using a custom frame rate. And it's still not possible at all for proper video formats like Theora or WebM, and likely won't be until I get #7298 implemented my way, ready for inclusion and actually included this time around, because we currently have no in-browser preview for these and now format switch to "show". > 4. what if there is no browser? > Then maybe my viewer application let's me save the temporary file to a different, more permanent location. Or I use ps to find out its command line, and copy the file name from there. Or I simply know where sage keeps its temporary files, and grab the most recent one from there. But I agree that the latter approaches become somewhat hackish, which is why I only included the “save copy as…” menu item from the viewer application as an alternative to the browser environment solution. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
