Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a progress indicator for RV-Predict. #755

Open
wants to merge 2 commits into
base: simpler-faster
Choose a base branch
from
Open

Add a progress indicator for RV-Predict. #755

wants to merge 2 commits into from

Conversation

virgil-serbanuta
Copy link
Contributor

This also fixes some unrelated warnings in the files I touched.

@virgil-serbanuta
Copy link
Contributor Author

@virgil-serbanuta virgil-serbanuta requested a review from gnuoyd June 29, 2017 11:58
Copy link
Contributor

@gnuoyd gnuoyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I see it work?

@virgil-serbanuta
Copy link
Contributor Author

run the rv-predict tool on some trace that takes a long time, e.g. one generated by
raceless-signal -sv
You can try various window sizes, e.g. 300 and 2000.

@gnuoyd
Copy link
Contributor

gnuoyd commented Jun 29, 2017 via email

@gnuoyd
Copy link
Contributor

gnuoyd commented Jun 29, 2017 via email

@virgil-serbanuta
Copy link
Contributor Author

This progress indicator is a console one. I think that the rvpa script is redirecting the output, so you won't get anything on the console.

Would it be fine to not block the output (either the stdout, or stderr)? Or let the progress output go through the rvpa/x filtering?

Otherwise, the only option is a GUI, but that wouldn't work through ssh.

@gnuoyd
Copy link
Contributor

gnuoyd commented Jun 29, 2017 via email

@virgil-serbanuta
Copy link
Contributor Author

I have added your commit as-is. Clearing the line is more complicated, but I could do that in a follow-up pull request if you think it's important.

virgil-serbanuta and others added 2 commits July 18, 2017 14:01
does not intermingle with another.

Follow the last progress indication with a newline, so that the first
line of the first race report (or the "No races found." indication)
does not intermingle with the text of the last indication.

Insert a newline between the last progress indication and the race
reports.  (It would also look nice if we just erased the last progress
indication, instead.)

My code changes are kind of hackish, sorry.  Please feel free to handle
this another way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants