News for hackers. Stuff that matters.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by yokohummer7 on Wednesday July 03, 2019 @10:47AM (#20344707)
> I often would use the mouse cursor to 'mark' the position of the loading bar (we really are spoiled for speed these days).

This is just me, oh my gosh. I thought I was the only one who did that. But now I come to think about it, it can't be true.

It has been a really long time since I used that technique last time...

Re:Why did moving the mouse cursor cause Windows 95 to run m... by johnchristopher on Wednesday July 03, 2019 @10:52AM (#20344746)
What ? I still do that at least once a week/month.

Last time it was for the linux dropbox updater, last week.

I am also a fan of using another window so I can use the mouse and still have a marker to monitor progress.

Re:Why did moving the mouse cursor cause Windows 95 to run m... by Swenrekcah on Wednesday July 03, 2019 @12:22PM (#20345761)
I do this all the time too, but unfortunately many processes today only go around in circls instead of showing the actual progress.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by woodrowbarlow on Wednesday July 03, 2019 @12:41PM (#20345992)
to be fair, "actual progress" is almost always a misnomer anyway.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by wongarsu on Wednesday July 03, 2019 @01:05PM (#20346257)
When I implement progress bars I most often implement "pessimistic progress", so "considering all timeouts, worst case we are 46.5% (of the time) to some result", with an update every few hundreed milliseconds. As possible mix in data from completed subtasks.

Nobody ever complains if the process suddenly speeds up because progress was made before the timeout, as long as your initial estimate wasn't absurd (looks at Windows Explorer). Even a naive progress bar counting down the 60s timeout is more informative and satisfying to watch than an endless spinner.

Re:Why did moving the mouse cursor cause Windows 95 to run m... by delinka on Wednesday July 03, 2019 @03:11PM (#20347601)
Absurd initial estimate? All of the estimates tend to be absurd.

Done in 30s ... I mean 15min ... ah, 10s ... 1hr 7min ...

Oh, come _on_ ...

Re:Why did moving the mouse cursor cause Windows 95 to run m... by Nition on Wednesday July 03, 2019 @10:51PM (#20351097)
Windows 95/98 used to occasionally do some particularly insane estimates. I took this screenshot many years ago of copying a tiny NetHack install between drives: https://i.imgur.com/q7tc9R1.png
Re:Why did moving the mouse cursor cause Windows 95 to run m... by NeedMoreTea on Thursday July 04, 2019 @01:34AM (#20351852)
Vista, I think it was Vista, "fixed" that by adding an estimation pass first, that often took longer than the copy itself, and was almost as bad at estimating. It sometimes took much longer. The fix was far worse than the problem, yet it survived unchanged.

It was so bad I ended up discovering Teracopy which was decent at estimation, and far faster at copying. Was a must-have until I migrated away from Windows.

Re:Why did moving the mouse cursor cause Windows 95 to run m... by bcaa7f3a8bbc on Thursday July 04, 2019 @02:38AM (#20352113)
How exactly do utilities like Teracopy implement high-performance copying? In other words, what are the performance bottlenecks in explorer.exe? Personally, I've observed that:

1. Explorer attempts to do a file enumeration prior to copying, which sometimes could waste a lot of time.

2. It seems tools like Teracopy use buffering aggressively, which can speed up the copying significantly based on my experience on Windows XP with slow HDDs.

Are there any other points worth noting?

Re:Why did moving the mouse cursor cause Windows 95 to run m... by NeedMoreTea on Thursday July 04, 2019 @05:03AM (#20352882)
Single pass and aggressive buffering seems to cover what I remember, but it worked better than it I expected, even on high speed drives or SSD to high speed drive. They may have had other tricks, it's been a while now.

The other thing that I liked is it's non-blocking - you can continue doing copies while one is in progress, if it's to the same destination it gets added to the queue in progress. If different destination it goes in a new queue that waits for the first to finish.

Re:Why did moving the mouse cursor cause Windows 95 to run m... by mkd1964 on Friday July 05, 2019 @10:44PM (#20367433)
We used to call these "Microsoft Minutes"...
Re:Why did moving the mouse cursor cause Windows 95 to run m... by DoubleCribble on Wednesday July 03, 2019 @12:55PM (#20346157)
I find the Progress bar is usually about as accurate as the Time Remaining calculation. Both are better than nothing but more of a fiction than reality.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by inlined on Wednesday July 03, 2019 @02:20PM (#20347014)
True! I know some of the people involved in the windows update bar. Since cpu and dusk are so different across devices it’s hard to know actual time it will take. Instead teams divided their packages into theoretical weights and the progress bar showed the percent of total “weights”. That’s why it can be choppy is packages with few subdivisions have little to interpolate.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by derefr on Wednesday July 03, 2019 @09:08PM (#20350638)
With a process that happens on regular intervals like a Windows Update, I always wondered why the system doesn't store metrics on how long the process has historically taken on previous runs, and then just uses a weighted average of historical times as a time-based total estimate, converted into a divisor for work-based progress estimates (i.e. if previous runs took 60 minutes on average, then progress at 25% would say "45 minutes remaining", then if it suddenly jumped to 50% would immediately say "30 minutes remaining." Even if they're choppy, those time estimates would actually be correct if you sampled and averaged them.)
Re:Why did moving the mouse cursor cause Windows 95 to run m... by snupples on Wednesday July 03, 2019 @11:27PM (#20351242)
Not sure if anyone's mentioned this yet, but the old original Mac OSX boot screen had a progress bar that was based on the exact length of the previous boot time.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by delinka on Wednesday July 03, 2019 @03:09PM (#20347581)
Progress indicators that moving perfectly and steadily are probably time based, but I'd have thought they've always been work based. Example: you know you have to copy 20GB across the network; update the progress bar with 'percent of data complete' periodically (on a timer, in the byte copying loop, whatever.)

I've seen dual progress bars: one for "overall progress" (each one of five tasks fills this bar 20%) and one for the current task (maybe downloading, maybe unpacking, maybe copying, maybe waiting for hardware to reply...)

Re:Why did moving the mouse cursor cause Windows 95 to run m... by nitrogen on Wednesday July 03, 2019 @08:34PM (#20350472)
I've written progress bars that combine all of the above. Each sub-task had a weight though, and adaptive interpolation was used to animate the progress bar between chunky updates from less granular tasks based on how far they usually increment over which time interval.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by ohaideredevs on Wednesday July 03, 2019 @03:51PM (#20348056)
We pushed "progress bar" data to the client via SignalR once x% of a slow moving process were complete.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by yokohummer7 on Wednesday July 03, 2019 @10:59AM (#20344806)
I guess what has changed is me, not the computing environment. When I was young, I easily grew impatient when things were going slow. Nowadays I still kinda feel nervous, but not to the point to warrant such bookkeeping methods.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by koolba on Wednesday July 03, 2019 @11:45AM (#20345298)
My urge to measure everything has only grown with age. I don't chalk it up to nervousness though. I'd say it's driven by curiosity and and a desire to forecast.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by TomMarius on Wednesday July 03, 2019 @10:56AM (#20344781)
Today everything goes so fast that it's faster to kill and restart if it's not visibly moving, IMHO
Re:Why did moving the mouse cursor cause Windows 95 to run m... by bump-ladel on Wednesday July 03, 2019 @02:44PM (#20347310)
A couple of weeks ago, I marked the (no)progress bar on a macOS update with a piece of surgical tape.
Re:Why did moving the mouse cursor cause Windows 95 to run m... by james-skemp on Wednesday July 03, 2019 @04:05PM (#20348203)
Thank you for posting a physical marker; I was afraid I was the only person that's done so.

I've been known to use Post-its and the frame of my monitor as a marker. Both are much easier with how prevalent dual-monitors are these days.

Re:Why did moving the mouse cursor cause Windows 95 to run m... by darkpuma on Wednesday July 03, 2019 @11:05PM (#20351156)
Shit, I think I last used it last week! In my GUI wrapper for rsync while transferring some large files. It took about 45 minutes for one of the files.