 |
|
Welcome to the Invelos forums. Please read the forum
rules before posting.
Read access to our public forums is open to everyone. To post messages, a free
registration is required.
If you have an Invelos account, sign in to post.
|
|
|
|
Invelos Forums->General: General Discussion |
Page:
1 Previous Next
|
An observation regarding Profiler backup (and software development) |
|
|
|
Author |
Message |
Registered: March 14, 2007 | Reputation:  | Posts: 4,767 |
| Posted: April 1, 2025 10:11 AM | | | | I have noted that when I backup my collection (which we all do regularly, right?) the overall progress shows 88% when the profiles have been backed up and the backup of cover scans starts. I always wondered what algorithm Ken used that comes to that conclusion. That's not really important, but it does remind me of an old developer saying: "When you're 90% done, half the work remains." What that means is that you always underestimate the time it takes to test, correct, test again, etc. And, if you're anything like me, there will usually be very late realizations during testing, such as "Oh, it would be better if it was done like this", "Ah, we need to be able to configure that", "Hm, that user interface looks a bit awkward. I should fix that", "Wait, I should add such-and-such feature!" And then you need to document the stuff (fun, fun, fun  ). So when you have coded 90%, you think you're almost done, but you really aren't. PS. "An old developer saying" means that the saying is old, not the developer. Or does it ...?  | | | My freeware tools for DVD Profiler users. Gunnar |
| Registered: March 18, 2007 | Reputation:  | Posts: 6,491 |
| Posted: April 4, 2025 9:29 PM | | | | Having developed a bunch of plugins that crawl through masses of data with unknown content, yet still trying to give the user an idea of expected completion, I have sympathy for what Ken must have faced. - Do you simply report on the number of completed items? - Do you take past progress into account when estimating time to complete? - Do you report on the basis of bytes processed? I usually try to do all of the above, and usually arrange for the task bar to move to a specific point at the completion of each task. For example, for 4 tasks, at 25, 50, 75, 100. It seems from your observation that Ken has done something similar, so that when he starts that last task, he has completed 88% of the tasks, but having an indeterminate amount of processing required to complete the final 12%. I have one plugin that keeps track of bytes processed and adjusts the progress based on a prediction of the processing needed for remaining tasks. That has the odd result of the progress bar sometimes going backwards!  (Actually I'm not sure about that - I think what happens is that each task segment's progress moves at a different speed) | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: April 4, 2025 9:35 PM by mediadogg |
| Registered: March 14, 2007 | Reputation:  | Posts: 4,767 |
| Posted: April 5, 2025 12:03 PM | | | | I agree that reporting progress can be tricky. But backup isn't terribly tricky. You have a know number of profiles and a known number of cover scans. Empiric testing on my collection shows that approximately 1/3 of the time is spent backing up profiles and 2/3 of the time is spent backing up covers. I guess covers may take longer if you have a lot of covers that are locally scanned at more than 100 dpi. Still, it shouldn't be too hard to show an overall progress that is a bit more realistic than 88% for the profiles.
Estimating time of completion for this type of backup would be more complex, but Ken didn't try to do that. | | | My freeware tools for DVD Profiler users. Gunnar |
| Registered: March 18, 2007 | Reputation:  | Posts: 6,491 |
| Posted: April 5, 2025 1:59 PM | | | | I guess he should have tested using your collection.  Semi-seriously, it is possible that "way back when", the ratio was a bit different, and his progress was based more on percentage of tasks completed, not time. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: April 5, 2025 2:01 PM by mediadogg |
| Registered: March 14, 2007 | Reputation:  | Posts: 4,767 |
| | Registered: March 18, 2007 | Reputation:  | Posts: 1,674 |
| Posted: April 5, 2025 3:24 PM | | | | The custom backup shows 9 main things to backup, one of which is for cover scans. 8/9 is 88.88% so it's possible it's based on that. |
| Registered: March 18, 2007 | Reputation:  | Posts: 6,491 |
| Posted: April 5, 2025 5:25 PM | | | | Quoting rdodolak: Quote: The custom backup shows 9 main things to backup, one of which is for cover scans. 8/9 is 88.88% so it's possible it's based on that. Perfect example. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
| Registered: May 10, 2007 | Posts: 88 |
| Posted: April 6, 2025 7:13 AM | | | | | | | Last edited: April 6, 2025 7:16 AM by Matt788 |
| Registered: March 13, 2007 | Reputation:  | Posts: 3,202 |
| Posted: April 6, 2025 10:47 AM | | | | I love it when progress bars suddenly recalculate and move backwards.  |
| Registered: March 14, 2007 | Reputation:  | Posts: 4,767 |
| Posted: April 6, 2025 6:27 PM | | | | Quoting rdodolak: Quote: The custom backup shows 9 main things to backup, one of which is for cover scans. 8/9 is 88.88% so it's possible it's based on that. Ah, that makes sense. But it's still not very useful information. | | | My freeware tools for DVD Profiler users. Gunnar |
|
|
Invelos Forums->General: General Discussion |
Page:
1 Previous Next
|
|
|
|
|
|
|
|
 |