<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I like the current status display of Tryswift, and think it merits
thought for the swift command as well:<br>
<br>
<meta charset="utf-8">
<pre id="swiftOutput" style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">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
</pre>
<br>
<div class="moz-cite-prefix">On 4/16/14, 3:10 PM, David Kelly wrote:<br>
</div>
<blockquote
cite="mid:CA+_+Ey8Ni-73tRgSg7JZdi3JMYE8ndvPUrGeFEDNSbxQTrOBNQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">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:
<div>
<br>
Initializing<br>
Selecting site<br>
Stage in<br>
Submitting <br>
Submitted<br>
Active<br>
Stage out <br>
Failed<br>
Replicating<br>
Finished in previous run <br>
Finished successfully</div>
<div><br>
</div>
<div>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.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Apr 16, 2014 at 10:38 AM,
Michael Wilde <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:wilde@anl.gov" target="_blank">wilde@anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> For the progress
output:<br>
<br>
<pre style="line-height:normal;text-indent:0px;letter-spacing:normal;text-align:start;font-variant:normal;text-transform:none;font-style:normal;font-weight:normal;word-spacing:0px">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
</pre>
<div>
<div class="h5">
<div>On 4/15/14, 11:32 PM, Michael Wilde wrote:<br>
</div>
<blockquote type="cite">David, just to clarify: by the
[Explain] notation below I just meant to make
"Explain" a "button". <br>
<br>
- Mike <br>
<br>
On 4/15/14, 3:56 PM, Michael Wilde wrote: <br>
<blockquote type="cite">[Moving discussion to
swift-devel] <br>
<br>
On 4/15/14, 12:06 PM, David Kelly wrote: <br>
<blockquote type="cite">Hi Mike, <br>
<br>
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 <a
moz-do-not-send="true"
href="http://swiftvm4.ci.uchicago.edu"
target="_blank">http://swiftvm4.ci.uchicago.edu</a>
and try the foreach example (still working on
some CSS changes there as well). <br>
<br>
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. <br>
</blockquote>
Hi David, <br>
<br>
I think this is heading in a nice direction. It
looks very nice and clean. <br>
<br>
Some thoughts: <br>
<br>
Top window: <br>
- Add text in front of menu: Example:
[example-menu] [Explain] <br>
- [Explain] button should pop out in a new window,
sized and placed "nicely" (not quite sure what
nicely involves yet ;) <br>
<br>
Bottom window <br>
- its hard to tell when the script completes or
how many files it produced <br>
- when you view a file it overwrites the progress
window <br>
- (reset is broken, btw) <br>
<br>
How about: <br>
- dont show the output-files menu while the script
is running <br>
- when script completes, show the menu with a
label [N files produced:] [output-files-menu] <br>
- when you select a file, show it in a new popup
window "placed nicely" with a [close] button top
and bottom <br>
- allowing that window to be multi-media sounds
nice <br>
<br>
Bigger project: <br>
- for status, show running tally of the status to
the right of the control buttons <br>
- 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. <br>
<br>
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. <br>
<br>
How do these sound to you? <br>
<br>
- Mike <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<pre cols="72">--
Michael Wilde
Mathematics and Computer Science Computation Institute
Argonne National Laboratory The University of Chicago
</pre>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Wilde
Mathematics and Computer Science Computation Institute
Argonne National Laboratory The University of Chicago
</pre>
</body>
</html>