Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [user-interaction]

The tag has no usage guidance.

0
votes
1answer
53 views

Python - Type Hinting specific sized Vectors

Considering a class method that takes a "vector" (Tuple or List of either int or float) of defined values such as the following: import sys from numpy import isnan, array, float64 class Shape: """ ...
-1
votes
1answer
33 views

How should I update back-end data (e.g. follows, likes, etc.) which changes at an inconsistent rate?

(This is a conceptual question but as reference, I'm using Android Studio (Java) and Firebase Firestore...) My app currently has a structure where the user can follow authors and favorite their works....
3
votes
1answer
105 views

Where should the display messages on the UI be stored?

I am a backend developer and was having this argument yesterday with a frontend dev in my team about whether or not should I let him fetch the displayable text message about the result of an operation ...
-2
votes
1answer
55 views

How to implement a CLI interaction with running java programm? [closed]

I would like your tipps about implemening a command line interface to interact with a running java application. Example: The Java Application is a webserver and a cli-client should interact with it: ...
-5
votes
1answer
30 views

Easiest way to add tracking of interactivity (mouse clicks, scrolls, multi-touch gestures) to a React Web App already developed?

Context: we have a responsive web application developed in React.js, which we have successfully used a few times to run user studies on Amazon Mechanical Turk. Now, we would like to add interactivity ...
3
votes
3answers
298 views

Is it fine to trap users in a dialog until they enter valid values into components? [closed]

Assume I have a modal dialog where I allow the user to change values of an encapsulated configuration through different UI components and I want to save the effort to implement a validation per ...
3
votes
1answer
66 views

Interactive review of data in modal before inserting in db

I'm looking for a conceptual approach to a problem. I'm building a web app that imports data from a source I don't control. The data quality is pretty high, but occasionally, the data does not make ...
0
votes
2answers
199 views

Detecting and Dealing with obscene language in user input

I've seen some pretty darned restrictive 'chat-systems' in kids games, that make it nigh-on-impossible to get much of a message across whilst typing. So, I looked at some ideas, and there where two ...
5
votes
1answer
680 views

How advanced are author-recognition methods?

From a written text by an author if a computer program analyses the text, how much can a computer program tell today about the author of some (long enough to be statistically significant) texts? Can ...
-6
votes
2answers
206 views

What is a key event Dispatcher in keyboard-interactive apps? [closed]

What is a : Key-Event Dispatcher ? in keyboard-interactive apps. What does it really do ?
4
votes
1answer
284 views

Asynchronous update design/interaction patterns

These days many apps support asynchronous updates. For example, if you're looking at a list of widgets and you delete one of them then rather than wait for the roundtrip to the server, the app can ...
1
vote
3answers
2k views

Simulating double-click, how long should I wait between clicks?

I'm simulating a double click programmatically and I want to have a slight pause between both clicks in order to better simulate a real user. I know the interval should be less than ...
12
votes
6answers
6k views

How should I handle invalid user input?

I have been thinking about this issue for a while and I would be curious to have opinions from other developers. I tend to have a very defensive style of programming. My typical block or method looks ...