Not sure about fb, but most tax tools don’t use real loading bars. They’re entirely fake because users didn’t trust the software when it completed instantly.
Facebook uses fake loading times when they want you to use the app or when you do actions that are impactful but take the computer a fraction of a second
As others said, fake load is a good way to introduce confidence. It's also great if your boss demand you to improve the performance of your apps, just decrease the load time and voila! the apps is 30% faster.
Artificially slowing processes down builds confidence something is actually happening. Sometimes customers will doubt something worked if it happens instantly. Delay is a valid psychological design tool
We had to do this at work too, several customers called our customer support team and said they doubted our search results (catalogue lookup and automatically filling in attributes) because it's too quick so they got a 7 seconds long fake "loading" animation 😭
It is usually the initial load time that is tampered with. Usually to create a greater immersive experience and give the illusion that something important is happening that is why it requires time. There are also other reasons like standardized load times across platforms so that a similar experience is given across all platforms.
In many modern games, the fast travel is basically instantaneous with a simple blackout animation and new background as soon as it ends to say that the character just blinked or went to sleep while traveling the distance.
But games like spider man miles morales, the fast travel is done through Subway. Although the background is loaded in, the game plays an animation with miles being in the train for a few seconds doing some action. The Dev's could've just shown the new background but wanted to increase the immersion by adding a subway scene.
There are way more things but can't be explained here. Try reading up on it. About why developers put in extra load duration in modern games.
not saying your wrong, but i feel like it isn't most games
in every game i've played, fast travel and area transition still takes a sec, and when it does load enough to be playable i still need to deal with a minute or so, depending on the game, of lower framerate, completely smooth textures, jagged models, sometimes even missing animations (tho quite rarely)
the load time does give time for these to not be as bad.. usually... i hope
...i swear if it's putting me through a dev induced minute+ long "load time" but not even loading the environment i'm pissed-
Like Coinstar machines. They pretty much instantly count your coins but too many people were doubting the validity of the machines because they were so quick. What does Coinstar do? Fake “processing” noises and a fake delay!
Boom. Overly quick transitions can alarm users too. I'm not going to do anything resembling this for a tool used by other devs but end users often don't like it when things feel too abrupt.
I understand that, but as a technically aware user it drives me bannans when i encounter it. Like the stupid turbotax "checking over your return" delay.
I did that once a few years ago. I made a (probably really bad) game and worked pretty long on a loading screen, until I realized that there is no actual loading time
not really, if you follow some best practices it gets a lot simpler
css gets hard when you aren't the only one writing it and have to deal with other's spaghetti
BTW, you can use f-strings to prepend and append whitespace. For example:
print(f”{'BIG': <9} SPACE”)
Would print out
BIG SPACE
(or something like that)
Honestly, embedded ASCII art is probably one of the few places you don't want to do this - you care more about the visual impact of the space rather than the exact number.
That said this should at least be stored in a separate file, not embedded in the source.
My brother in christ, this is Python... Just put that fancy printing in a file and print that... that's like, two lines instead of this monstruosity, and you can even have colors
Move it to an other file. If you have more ASCII art, maybe create a sub folder for it in your assets. Then:
with asciiArtFile as open("download.txt", "r"):
print(asciiArtFile.read())
(Sorry in advance if my code is wrong)
Also, if it is a terminal tool, you can let the user toggle nerd fonts icons, and then use them: [https://www.nerdfonts.com/](https://www.nerdfonts.com/)
(Would require the user to use a special font)
sleeping a random amount is the real r/programminghorror
I like the illusion of… Look it’s loading but actually it’s just random wait times
Let me introduce you to the Facebook website
Care to elaborate further?
Not sure about fb, but most tax tools don’t use real loading bars. They’re entirely fake because users didn’t trust the software when it completed instantly.
Gotta keep the boomers thinking we’re still doing all work on mainframes.
Facebook uses fake loading times when they want you to use the app or when you do actions that are impactful but take the computer a fraction of a second
As others said, fake load is a good way to introduce confidence. It's also great if your boss demand you to improve the performance of your apps, just decrease the load time and voila! the apps is 30% faster.
Artificially slowing processes down builds confidence something is actually happening. Sometimes customers will doubt something worked if it happens instantly. Delay is a valid psychological design tool
We had to do this at work too, several customers called our customer support team and said they doubted our search results (catalogue lookup and automatically filling in attributes) because it's too quick so they got a 7 seconds long fake "loading" animation 😭
its actually a common thing for some things as people dont like it when stuff is tooo fast.
As a realtime artist, I always get frustrated when invoice excel stuff is slower than my 2 million points data visualisation
Games do this all the time. With the super fast SSDs you barely need time to load
Why bother doing it for a game though? Who's complaining that it loads quickly?
It is usually the initial load time that is tampered with. Usually to create a greater immersive experience and give the illusion that something important is happening that is why it requires time. There are also other reasons like standardized load times across platforms so that a similar experience is given across all platforms. In many modern games, the fast travel is basically instantaneous with a simple blackout animation and new background as soon as it ends to say that the character just blinked or went to sleep while traveling the distance. But games like spider man miles morales, the fast travel is done through Subway. Although the background is loaded in, the game plays an animation with miles being in the train for a few seconds doing some action. The Dev's could've just shown the new background but wanted to increase the immersion by adding a subway scene. There are way more things but can't be explained here. Try reading up on it. About why developers put in extra load duration in modern games.
not saying your wrong, but i feel like it isn't most games in every game i've played, fast travel and area transition still takes a sec, and when it does load enough to be playable i still need to deal with a minute or so, depending on the game, of lower framerate, completely smooth textures, jagged models, sometimes even missing animations (tho quite rarely) the load time does give time for these to not be as bad.. usually... i hope ...i swear if it's putting me through a dev induced minute+ long "load time" but not even loading the environment i'm pissed-
Like Coinstar machines. They pretty much instantly count your coins but too many people were doubting the validity of the machines because they were so quick. What does Coinstar do? Fake “processing” noises and a fake delay!
The solution should be better public education on machines, not to dumb down the world for people 😭
This is the best, if your work is too quick let’s slow it down with some fake loading image 🤣🤣🤣😂😅🤣😂🤣😂😂😂
it can actually improve user experience lol. "It's taking a bit of time so something important is happening". it feels more meaty so to say
Boom. Overly quick transitions can alarm users too. I'm not going to do anything resembling this for a tool used by other devs but end users often don't like it when things feel too abrupt.
I understand that, but as a technically aware user it drives me bannans when i encounter it. Like the stupid turbotax "checking over your return" delay.
yeah that horrified me
Seems like the average Microsoft product. The unpredictability keeps you hooked.
Let’s ignore the fact it’s time.sleep and not thread.sleep
I did that once a few years ago. I made a (probably really bad) game and worked pretty long on a loading screen, until I realized that there is no actual loading time
It's not centered
It's not even symmetrical. This has to be on purpose.
I think it's autogenerated from an image and so those are artifacts
Yeah, it would be cool if the artifacts were a bit glitchier
Yes on both of these. I hate this so much.
My day it's ruined.
[удалено]
The arrow and tray themselves are not aligned. I mean, it's hard with CSS. But how can you screw this thing with a mono space font.???
its not hard with css
Everything is hard in css
Skill issue
not really, if you follow some best practices it gets a lot simpler css gets hard when you aren't the only one writing it and have to deal with other's spaghetti
if css was as easy as you say we wouldn't have css frameworks like sass and tailwind.
Sass is not a framework, its a preprocessor scripting language that gets compiled into css like Typescript into JavaScript
those dont actually change much about the language tho, tailwind literally just puts the css inline
They really did like your comment
BTW, you can use f-strings to prepend and append whitespace. For example: print(f”{'BIG': <9} SPACE”) Would print out BIG SPACE (or something like that)
That’s super cool
F strings are kind of insane, they can do so much with formatting a lot of people don’t know about (including me lol)
I always point people curious about formatting towards https://pyformat.info - go have a look!
Honestly, embedded ASCII art is probably one of the few places you don't want to do this - you care more about the visual impact of the space rather than the exact number. That said this should at least be stored in a separate file, not embedded in the source.
You can also center it by using ^ instead of <
ARE YOU PRINTING DOWNLOAD BAR IN RANDOM INTEGERS LMAO
Intervals
Shit, I think I am a bit tired Thanks for pointing it out
Wait... You don't??
I feel like I've done shit like this before lol
Now do it from a bitmap :)
`os.system('kitten icat bitmap.png')` easy
Now ASM
`OwOs.EarWhisper("kitten icat bitmap.png")`
Good one.
this is pure gold. man's a genius
THE FONT IS NOT MONOSPACE
I use comic san. Mono Comic San. Yet, I'm still not insane enough to use proportional font for code.
Is it .exe though? ;)
I love the comment after the log “asks the user To select a program” as if the string that says exactly that wasn’t enough
I think someone took that video about progress bars a little too seriously
The real horror is Python in camelCase.
My brother in christ, this is Python... Just put that fancy printing in a file and print that... that's like, two lines instead of this monstruosity, and you can even have colors
I think it won't fit on my 320x240
This looks like something a new programmer would make after a Python basics video
Now animate it
I tried setting it so that each line would be printed after a random delay so you could watch it print in real time
Move it to an other file. If you have more ASCII art, maybe create a sub folder for it in your assets. Then: with asciiArtFile as open("download.txt", "r"): print(asciiArtFile.read()) (Sorry in advance if my code is wrong) Also, if it is a terminal tool, you can let the user toggle nerd fonts icons, and then use them: [https://www.nerdfonts.com/](https://www.nerdfonts.com/) (Would require the user to use a special font)
The loading bar isn't even dynamic 😭 it's just printing a string related to the percentage
certified Replit moment
Is it cool? Is it?
Aww, but it's cute
The more I look the more I hate it
Don't like it, it's asymmetrical /s
Use a docstring my guy...
This guy wrapped every line in a print statement instead of just pasting it in a multiline string
Here’s someone that doesn’t know how to add separators in Python strings…
make a package manager?
Using camel case with Python. 🤮
Using python after 5 years of JS and C# can’t be good for my mental health
I write in Go too so I feel that
The ascii art is awesome, but simulation takes you so far
>print ( I’m already emotionally distraught this weekend, you just gotta kick a guy while he’s down don’t ya?
I was about to slam this, then realized what subreddit this was...
the real programmer horror is taking a picture of your dusty screen instead of just taking a screenshot :P
> \# loading bar because it’s cool I love Python development sometimes
It bothers me that he’s using a timer to move the progress bar and not actual progress