typodupeerror

## Submission + - Progress Bars6

hyperorbiter writes: How come after 25 years in the tech industry someone hasn't worked out how to make accurate progress bars? This migration I'm doing has sat on "less than a minute" for over 30 minutes . . . I'm not an engineer, but is it that hard?
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

## Progress Bars

• #### In real life happens too (Score:2)

You have to walk several blocks, you estimate that at the speed you are going you will reach your destination in 10 minutes, and at the last street (the remaining 5% of your trip) a car runs over you. Yes, it could be stuck forever even if was just a minute remaining.
• #### Re: (Score:2)

You have to walk several blocks, you estimate that at the speed you are going you will reach your destination in 10 minutes, and at the last street (the remaining 5% of your trip) a car runs over you. Yes, it could be stuck forever even if was just a minute remaining.

In that case, the progress bar should indicate an ever increasing (approaching infinity) estimated time remaining. If it stays at "1 minute" then it's broken. The ETA calculation should be performed regularly, regardless of when or how much actual progress has been made since the last update.

When I make a progress bar, I have it tell as much truth as possible based on the information available at the time.

The problem with many developers (esp. big name software companies like those that make operating sys

• #### Re: (Score:2)

Going with the walk again, you get within 3 steps (about 1.5 seconds) of your goal and a crazy homeless guy blocks your way. You know that at any moment he will pass out and you will complete the task within 1.5 seconds, but you don't know exactly when he might pass out.

So what's your call? How should the progress bar report? Should it hang at 1.5 seconds, or should it make it's way to 52 hours? If the latter, note that people will complain when the guy passes out and it drops to zeor in 1.5 seconds.

The fac

• #### Eh.... (Score:1)

Yes.

Your code should be more efficient!

Working...