[Swift-devel] Tryswift enhancements
Michael Wilde
wilde at anl.gov
Thu Apr 17 08:35:47 CDT 2014
I like the current status display of Tryswift, and think it merits
thought for the swift command as well:
Swift run starting at 08:21:55
08:21:59
08:22:00 Ready:7 Active:3
08:22:10 Ready:7 Active:3 Done:3
08:22:20 Ready:7 Active:3 Done:6
08:22:30 Ready:7 Active:3 Done:9
08:22:40 Ready:5 Active:3 Done:12
08:22:50 Ready:2 Active:3 Done:15
08:23:00 Active:2 Done:18
Final status: 08:23:10 Done:21
Generated 21 file(s)
Swift completed
I suspect its a matter of continuing to maintain the detailed state as is, but abstracting that to a simpler state (as an option)
Doing this well and documenting it well is non trivial, though.
- Mike
On 4/16/14, 3:10 PM, David Kelly wrote:
> Maybe we should take a look at these and see if we should change them
> in Swift as well? If the ticker naming is not clear in tryswift, it
> may not clear from the command line either. Here is the list of ticker
> values I see:
>
> Initializing
> Selecting site
> Stage in
> Submitting
> Submitted
> Active
> Stage out
> Failed
> Replicating
> Finished in previous run
> Finished successfully
>
> I don't think most people are interested in many of these, or
> understand what they mean. I'd be in favor of a cleaner ticker,
> perhaps with just timestamp, "pending", "active", and "completed"
> nicely formatted and aligned.
>
>
> On Wed, Apr 16, 2014 at 10:38 AM, Michael Wilde <wilde at anl.gov
> <mailto:wilde at anl.gov>> wrote:
>
> For the progress output:
>
> Swift trunk swift-r7139 cog-r3806
> RunID: 20140416-1029-alqxvvi1
> Progress: time: Wed, 16 Apr 2014 10:29:54 -0500
> Progress: time: Wed, 16 Apr 2014 10:29:55 -0500 Selecting site:7 Active:3
> Progress: time: Wed, 16 Apr 2014 10:29:56 -0500 Selecting site:7 Active:3 Finished successfully:3
> Progress: time: Wed, 16 Apr 2014 10:29:57 -0500 Selecting site:7 Active:3 Finished successfully:6
> Progress: time: Wed, 16 Apr 2014 10:29:58 -0500 Selecting site:7 Active:3 Finished successfully:9
>
> - start with Swift run starting at 10:23:03
> - suppress Swift version # and RunID lines
> - change: Progress: time: Wed, 16 Apr 2014 10:29:58 -0500 Selecting site:7 Active:3 Finished successfully:9
> to: 10:29:58 Ready:7 Active:3 Done:9 [Failed: 3] (show failures only if non-zero)
>
> Use spaces to make these line up "nicely"
>
> - add a line saying Swift run completed at 10:24:59
>
> Mike
>
>
> On 4/15/14, 11:32 PM, Michael Wilde wrote:
>> David, just to clarify: by the [Explain] notation below I just
>> meant to make "Explain" a "button".
>>
>> - Mike
>>
>> On 4/15/14, 3:56 PM, Michael Wilde wrote:
>>> [Moving discussion to swift-devel]
>>>
>>> On 4/15/14, 12:06 PM, David Kelly wrote:
>>>> Hi Mike,
>>>>
>>>> One idea I had for tryswift was to change the way that file
>>>> outputs are displayed. Keeping them in a drop down list saves
>>>> some space and I think makes it look a little cleaner. To see
>>>> what I mean, check out http://swiftvm4.ci.uchicago.edu and try
>>>> the foreach example (still working on some CSS changes there as
>>>> well).
>>>>
>>>> Right now it only handles html/text, but if the file output was
>>>> images or videos, they could be loaded in the same window. Just
>>>> wanted to get your initial thoughts before I did too much with it.
>>> Hi David,
>>>
>>> I think this is heading in a nice direction. It looks very nice
>>> and clean.
>>>
>>> Some thoughts:
>>>
>>> Top window:
>>> - Add text in front of menu: Example: [example-menu] [Explain]
>>> - [Explain] button should pop out in a new window, sized and
>>> placed "nicely" (not quite sure what nicely involves yet ;)
>>>
>>> Bottom window
>>> - its hard to tell when the script completes or how many files
>>> it produced
>>> - when you view a file it overwrites the progress window
>>> - (reset is broken, btw)
>>>
>>> How about:
>>> - dont show the output-files menu while the script is running
>>> - when script completes, show the menu with a label [N files
>>> produced:] [output-files-menu]
>>> - when you select a file, show it in a new popup window "placed
>>> nicely" with a [close] button top and bottom
>>> - allowing that window to be multi-media sounds nice
>>>
>>> Bigger project:
>>> - for status, show running tally of the status to the right of
>>> the control buttons
>>> - add button [Progress log] that shows the progress to date or
>>> after the fact, as a pop-up. With cleaner timestamp etc. WHich
>>> we should make the default for all Swift runs.
>>>
>>> So with this improved progress menu, you'd have a very clean
>>> look with the Swift text taking most of the window, bracketd by
>>> a script-selector stripe at the top and an execution control
>>> strip at the bottom.
>>>
>>> How do these sound to you?
>>>
>>> - Mike
>>>
>>
>
> --
> Michael Wilde
> Mathematics and Computer Science Computation Institute
> Argonne National Laboratory The University of Chicago
>
>
--
Michael Wilde
Mathematics and Computer Science Computation Institute
Argonne National Laboratory The University of Chicago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20140417/ad9b58a3/attachment.html>
More information about the Swift-devel
mailing list