So, he wants to give the illusion of having a background worker that can actually check progress over 5 seconds. What he's done, is provided a completely arbitrary way to make it seem like there are pieces loading without that actual background worker. Hell, 5 seconds is probably his best guess for the longest it could take this process to happen on this particular setup. I mean, everyone reading this has probably assumed as much, but there's no pattern to the percentages or times used, and the "loading" could have been instantiated before this piece of code. It's exactly what it smells like!
Given that it looks like Python, I'm hoping it's for an embedded device. Shit like this is common in the world where code only needs to work on one device but no one is expected to maintain it.
You have no doubt heard of the Doherty Threshold? This is the requirement set in 1982 that said a computers responsiveness had to be less than 400ms to keep the users attention.
This is the opposite.
What we have found is another phenomenon that when an interface is TOO fast the user does not believe an action has taken place.
I address this in every program I write. When executing a central piece of code, I will randomly generate a wait. Most of the time its just a quick 1s but occasionally you need a 10s wait. That really gets the users invested in the app.
Can anyone give me a take on the Ethical implications of all this? It almost sounds like this is a justification to keep peddling software that is intentionally designed to operate in ways other than advertised. Cool theory and study and all, but to me this seems borderline irresponsible to apply such techniques just to walk the line with a user dopamine response.
Jane Addams - a social activist of the 20th century - said that "Action is the sole medium of expression for ethics." But we are not talking about action, we are talking about INaction, viz sleeping within a program.
If you want ethics to take a larger role in programming perhaps you had better use Pascal.
While I can agree here with what's being said about action, I tend to disagree with the idea that executing a sleep procedure is inaction. In fact it seems more to be action by the programmer, simply for the sake of an appearance of action to the user, which seems to be an expression of unethical behavior, or rather an action with a lack of conscious application of ethics to minipulate user impulse and loyalty.
I guess it's the same crap they use in marketing, sales, and advertising so really why should any really care. It's all just common bate, hook, reel tactics.
Well ethics is about figuring out which concept of good should apply right? I think we only need to extrapolate some user experiences to figure out which good is the best good.
Scenario 1: User fills out a form on a website. They spend an hour filling out the fields perfectly and they are ready to submit the form. The form being part of a MV(W) application automatically detects the changes and saves the data in the background.
Unaware of this technology, the user attempts to save the form but because there is no save button they become agitated. They are unaware their changes have been saved and they begin to escalate in anger. They run to the break room screaming about their data and inexplicably slap an ice cream cone out of Karen(from accounting)'s hand. It's OK, no one likes her.
They run into the parking lot and slash a bunch of tires with the rationale that no one should leave work before he can confirm his data is saved. Eventually they are shot with a tranquilizer in a 13 hour stand off in front of the backup generators since he thinks they will prevent his data from being loss. Unaware the FBI has already confiscated and searched his work PC in the process closing the browser, which was irrelevant anyways since the data was saved.
Scenario 2: Exact same set up, except in this case there is a fake Save button on the form which throws up a progress bar for half a second. The user sees the bar and is relieved his data is saved.
Scenario 3: Same set up as one but the situation is defused before the user can escalate because there was birthday cake in the break room. Yum.
Granted 3 is the best outcome but, I think 2 is better than 1. 2 is the "goodest" scenario.
Scenario 1: I totally agree with user and her reaction. (Ice cream is simply unacceptable in a crises Karen!) If no one can quickly aleeveate users fear that the data was saved, this is a demonstration of bad design, not an application of a dark design, unless it was infact designed as such to be malicious. (Side note: Kudos to the FBI for their quick response time.)
Scenario 2: to me, this is still bordering on dark design patterns as it is leveraging user comfort instead of applying an evolved design that both optimizes and informs the user of optimizations. In all of these, it would seem that the question should not be about how to keep a user complacent and complicit, but rather how to most effectively communicate to user that the internet is evolving... Again... Sorry bro. (No place for noobs?) An example might be having a message the gets updated on the page using the same type of background work that secretly submits and updates the data. In progress Spinny icon to "Update successful" or something similar.
In the previous version I trolled people by pointing out that, if what the Python project says is true and it would have been "impossible" to support Python 2, then they broke it and Python 3 is not turing complete. Obviously Python 3 is turing complete, but Python project members frequently claim something this basic is "impossible" soooooooooooo alright. I even had a note after the gag saying it was a gag, but everyone is too stupid to read that note even when they do elaborate responses to my writing. Even more telling was when people said this was stupid, I'd feign ignorance further and ask, "Wait, so why doesn't Python 3 support Python 2 then?" This then sent them down a logic loop death spiral of simultaneously trying to defend the design decision and also state that Python 3 is fully capable. It was pretty funny to watch, but after a while I guess I have to straighten this out and simplify it so here you go.
I've used this on occasion in user interfaces early in development, where we were using a UI with mock data because the backend hadn't been written yet. Users would see it with the mock data and that would set their expectations for performance / responsiveness of the application, even though it wasn't actually doing real work. So we decided our mockups needed to start including speedup loops that we could take out as we wired the UI up to the real backend, keeping the performance roughly equivalent as we went from what was basically a mockup to the real thing.
What always got me though is that people would complain about how slow the system was. A year earlier they'd spend an hour manually writing up a report. Now they spend most of the hour complaining about how slow the system is because it took 8 seconds to deliver the same report.
I must confess I have done that once in my first, pretty shitty PHP/MySQL Wordpress-like CMS. For some reason I thought it would look way more professional and secure if instead of just logging the user in (what took a few ms basically) I display "logging in..." progressbar that took about 5s to load (the timeouts and progress were Math.random()). I have no idea why
I once had a designer ask me to place in an artificial progress bar because interactions were happening too quickly and you couldn't see the fancy progress bar animation that they worked on. Instead, lets make the user wait a few extra seconds!
To me, it doesn't seem too unreasonable to request something that allows the user a little insight, especially if it would help progress. In this instance, perhaps a countdown timer instead of a process bar would be less deceptive.
284
u/[deleted] Dec 13 '18
Should've slept for a few minutes on 99%
25
u/GeorgeRRZimmerman Dec 13 '18
I think I figured it out!
So, he wants to give the illusion of having a background worker that can actually check progress over 5 seconds. What he's done, is provided a completely arbitrary way to make it seem like there are pieces loading without that actual background worker. Hell, 5 seconds is probably his best guess for the longest it could take this process to happen on this particular setup. I mean, everyone reading this has probably assumed as much, but there's no pattern to the percentages or times used, and the "loading" could have been instantiated before this piece of code. It's exactly what it smells like!
Given that it looks like Python, I'm hoping it's for an embedded device. Shit like this is common in the world where code only needs to work on one device but no one is expected to maintain it.
285
u/trexdoor Dec 13 '18
When the user wants to see progress information but it's Friday afternoon.
157
u/calsosta Dec 13 '18
You have no doubt heard of the Doherty Threshold? This is the requirement set in 1982 that said a computers responsiveness had to be less than 400ms to keep the users attention.
This is the opposite.
What we have found is another phenomenon that when an interface is TOO fast the user does not believe an action has taken place.
I address this in every program I write. When executing a central piece of code, I will randomly generate a wait. Most of the time its just a quick 1s but occasionally you need a 10s wait. That really gets the users invested in the app.
39
u/obliveater95 Dec 13 '18
Update notes for version 1.1 Decreased loading time by 2ms
Update notes for version 1.2 Decreased loading time by 2ms
Update notes for version 1.3 Decreased loading time by 2ms
Update notes for version 1.4 Decreased loading time by 2ms
86
u/[deleted] Dec 13 '18
> Using Python 2 in 2018
Yeah, good question, why?
30
u/UnexpectedEntity Dec 13 '18
Wow
9
u/AusIV Dec 13 '18
Reminds me of the ol' speedup loop.
I've used this on occasion in user interfaces early in development, where we were using a UI with mock data because the backend hadn't been written yet. Users would see it with the mock data and that would set their expectations for performance / responsiveness of the application, even though it wasn't actually doing real work. So we decided our mockups needed to start including speedup loops that we could take out as we wired the UI up to the real backend, keeping the performance roughly equivalent as we went from what was basically a mockup to the real thing.
What always got me though is that people would complain about how slow the system was. A year earlier they'd spend an hour manually writing up a report. Now they spend most of the hour complaining about how slow the system is because it took 8 seconds to deliver the same report.
4
u/mediocre_nothingness Dec 13 '18
This is next level programming
4
u/dinfekted Dec 13 '18
The creator must be talking the language of gods.
4
u/[deleted] Dec 13 '18
I must confess I have done that once in my first, pretty shitty PHP/MySQL Wordpress-like CMS. For some reason I thought it would look way more professional and secure if instead of just logging the user in (what took a few ms basically) I display "logging in..." progressbar that took about 5s to load (the timeouts and progress were Math.random()). I have no idea why
2
u/[deleted] Dec 13 '18
I can't stop laughing at this lmao
2
u/imawookie Dec 14 '18
this is only fun if you give estimated time remaining, but make it jump all over the place.
2
u/akshay-nair Dec 14 '18
When your code is waay to fast so you slow it down a bit.
1
u/HipercubesHunter11 Dec 13 '18
full lolroflmao
1
u/heyf00L Dec 13 '18
Microsoft Windows Explorer file search has an obviously fake progress bar.
If it's good enough for 80% of desktop users, it's good enough for me.
1
u/dethnight Dec 13 '18
I once had a designer ask me to place in an artificial progress bar because interactions were happening too quickly and you couldn't see the fancy progress bar animation that they worked on. Instead, lets make the user wait a few extra seconds!
I said to hell with that.
1
u/[deleted] Dec 13 '18
Reticulating splines
1
u/Hans5958_ Dec 14 '18
he's lying all around
9
u/[deleted] Dec 13 '18
[removed] — view removed comment