this post was submitted on 17 Nov 2024
123 points (96.2% liked)

Programmer Humor

19589 readers
494 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

LOADING...

top 8 comments
sorted by: hot top controversial new old
[–] sbv@sh.itjust.works 27 points 18 hours ago

As someone who has tried to make useful and accurate progress bars: fuck progress bars.

[–] oo1@lemmings.world 2 points 10 hours ago

It slows down when it more accurately predicts all the shit you're going to ask it to do next.

[–] Rhaedas@fedia.io 18 points 18 hours ago (1 children)

I saw a discussion once about how difficult the idea of an accurate progress bar really is. Note how so many things now take the easier approach of a circular or other shape that shows activity without being tied to any particular time prediction. My preference is a combo progress bar with actual throughput numbers/graph, so you can tell if there's really progress or some bottleneck that will make it longer.

[–] marcos@lemmy.world 11 points 14 hours ago (1 children)

A progress bar isn't generally hard.

What is hard is making it move smoothly while still only incrementing and getting the correct time. But I don't think there's a single person that still cares about smoothness except for the very extreme cases. By now, everybody has learned they don't work that way.

Anyway, about those extreme cases, just avoid filling the bar up to 99% on the first 10 seconds and leaving it there for the next 2 hours. Just do that and you'll be already better than Microsoft, so nobody will complain.

[–] JackGreenEarth@lemm.ee 4 points 12 hours ago

And Pojav Launcher for some reason makes the progress bar of the number of files downloaded, while ignoring the size of the actual files, so it is very uneven when hundreds of files download in one second, and 1 file takes 10 seconds to download.

[–] jlow@beehaw.org 12 points 18 hours ago

Love how my heartrate sped up as soon as the three dots animation started to slow down ...

[–] JudahBenHur@lemm.ee 2 points 14 hours ago

there was a This American Life about the progress bar

[–] disguy_ovahea@lemmy.world 5 points 18 hours ago* (last edited 18 hours ago)

~~Progress bar~~ Dummy bar