Questions tagged [user-friendly]
73 questions
44
votes
3 answers
Compressing `x if x else y` statement in Python
I'm quite acquainted with Python's ternary operator approach:
value = foo if something else bar
My question is very simple: without prior assignments, is there anyway to reference the term being evaluated in (if ...) from one of the return operands…

Rubens
- 14,478
- 11
- 63
- 92
24
votes
4 answers
Is there any Python XML parser that was designed with humans in mind?
I like Python, but I don't want to write 10 lines just to get an attribute from an element. Maybe it's just me, but minidom isn't that mini. The code I have to write in order to parse something using it looks a lot like Java code.
Is there something…

Geo
- 93,257
- 117
- 344
- 520
12
votes
4 answers
Is there way to give user-friendly error message on constraint violation
Say I have column Gender and constraint CHECK( Gender IN ('F', 'M', 'OTHER')).
If I accidentally forgot to handle this on client side, user will see smth like
ORA-02290: check constraint (SYS_C099871244) violated
which is not very helpful nor for…

Alexander Malakhov
- 3,383
- 2
- 33
- 58
9
votes
1 answer
When should I use keydown and keyup?
Which event should be used for key press handling key-down/key-up? It is sure that in both case the program will run successfully. But which one will be more user-friendly?

Nafeez Abrar
- 1,045
- 10
- 27
6
votes
1 answer
Sending SMS from Twilio doesnt show friendly name on phone
When I send a test sms from https://www.twilio.com/user/account/developer-tools/api-explorer/message-create with a predefined friendly name, it doesnt apear on my phone. I only see the number.
-if this isnt possible, do you know other providers…

Suisse
- 3,467
- 5
- 36
- 59
6
votes
1 answer
Distributing Docker Container Application for Desktop Environment
I have developed a web-based application for end-users that resides in a docker container. The container itself hosts a few python dependencies, a few public repositories, and a flask based web front-end with a MongoDB back-end that is started when…

Joshua Gilman
- 1,174
- 4
- 16
- 32
6
votes
2 answers
HTML - Semantic way of displaying images/icons/user interface elements?
Is it true that there are semantically correct & incorrect ways of displaying pictures/icons?
I mean of course it's not very friendly to include all pictures of a newspaper article as background images because that way, screen readers can't read…

Sven
- 12,997
- 27
- 90
- 148
5
votes
1 answer
tools for creating user-friendly command-line prompt?
I notice that some programs (e.g. sqlite, mysql client) provide a command-line prompt that is very similar in capabilities to the bash's, including:
line editing with left and right arrows, delete, insert, ^K, etc.
history browsing with up and down…

davka
- 13,974
- 11
- 61
- 86
4
votes
7 answers
Is it better to automatically redirect users or to show them the requested page with an error?
Given a scenario in a web application where the User has to do X before they can proceed to Y, but where the link for Y is always available, we are currently discussing two ways of redirecting the user if they try to navigate to page Y:
Display…

Noah Goodrich
- 24,875
- 14
- 66
- 96
4
votes
1 answer
Items in multiple columns - spinner
I'm creating an Android app and I want to put a lot of short items to Spinner. Basically, it works:
But it doesn't work as I want. As you can see, there is a lot of items which have a very short text. It means that user may be forced to scroll a…

m4tx
- 4,139
- 5
- 37
- 61
4
votes
1 answer
Method to install multiple Firefox extensions or addons in with least user intervention?
The Question:
How do I install multiple Firefox extensions into a fresh Firefox v11+ profile, with the least amount of user wasted motion (reduced mouse clicks and keyboard presses) other than the bare minimum for verifying security constraints…

bgoodr
- 2,744
- 1
- 30
- 51
3
votes
8 answers
are claims of Oracle being hard to administer on simple tasks correct? aren't there quality admin apps for it?
I see this claim made in a rant here http://discuss.joelonsoftware.com/default.asp?joel.3.456646.47 . As well as in various other rants that can be looked up on google using "oracle sucks". Ok, well, if let's say something as low key as Drupal…

EndangeringSpecies
- 1,564
- 1
- 17
- 39
3
votes
6 answers
What are some common elements/features for a more user-friendly GUI?
I presented a prototype piece of software to the "customer" of a product I've been working on. The program's requirements were extremely vague because the customer had doubts as to what can be accomplished through software (he normally deals with…

Anthony
- 9,451
- 9
- 45
- 72
3
votes
0 answers
How to control how much of a HTML5 video buffers?
Context
I am trying to loop several HTML5 videos one after the other. This is achieved via Javascript with an event listener listening for 'ended' - the video to end. At which point the url to the video is changed and video.play() is executed for…

Rehaan
- 119
- 1
- 10
3
votes
5 answers
What's the best way to implement password recovery from a usability perspective?
I read the other password recovery questions on SO and it seems that most people consider sending a password recovery link that can be used only once and expires after a couple of days to be most secure.
Now my question, (I know it is subjective,…

Sruly
- 10,200
- 6
- 34
- 39