Skip to main content

Questions tagged [input]

Input is usually related to user input, i.e., to the data that user supplies to a running application. In many systems this input is considered to be potentially dangerous and needs to be sanitized to ensure that the user has not injected runnable code into the application.

Filter by
Sorted by
Tagged with
0 votes
1 answer
75 views

I'm new to ASP.NET MVC and want to create a web-based recipe app. In this app, I want to read XML files from my computer or mobile. For that reason, I want to copy the file location into a text file ...
Kees Dapperens's user avatar
0 votes
1 answer
69 views

I am attempting to simulate keyboard input on Wayland with Gnome. Consider the following Python script: ...
merlin2011's user avatar
  • 76.6k
3 votes
2 answers
94 views

I'm working on my unit conversion solo project from the Scrimba Front-End developer course, and I'm struggling hard to make my text input squarish yet responsive. I managed to make it somewhat like ...
Fedor Trishkin's user avatar
0 votes
0 answers
23 views

I want to automate the installation of a program (cuda toolkit to be precise) which uses an interactive cli by providing predefined arguments. I can pass arguments based on strings like ...
Eypros's user avatar
  • 5,737
Tooling
3 votes
2 replies
68 views

Pov: you have a website full of courses. How do you make it easily accessible to customers using a search bar. Including a navbar and a possible way of rearranging the page in such a way that it ...
Fidelis Omoni's user avatar
0 votes
2 answers
75 views

I'm using Angular Material 21. The component's template has two <mat-form-field> elements, each one contains an ...
deemon's user avatar
  • 145
Advice
0 votes
6 replies
97 views

I am a beginner learning GCSE level python, but stuck on this book problem Here, the num1.txt file data is appended to the temp1list num1.txt file data: ...
nova's user avatar
  • 1
0 votes
3 answers
172 views

I’m a B.Tech CSE 1st-year student and I’m learning C. I wrote a simple program to take two integers as input and print their sum. But when I run it, the program either skips the input or gives the ...
Dilip M's user avatar
Best practices
0 votes
7 replies
176 views

...
P Jaideep's user avatar
1 vote
2 answers
98 views

I have this piece of code <input matInput type="number" [(ngModel)]="value" (ngModelChange)="onChange(true)" /> But I want ...
Lako12's user avatar
  • 376
1 vote
1 answer
117 views

If I want consistent scrolling behavior across platforms and different wheel resolutions, I need a way to make wheel input independent of the device’s physical precision. Different mice seem to have ...
Zhi J ZhiJ's user avatar
0 votes
1 answer
56 views

I’m learning Python and trying to take two numbers as input from the user, then print their sum. My code: ...
Apurva Bhoyar's user avatar
Advice
1 vote
0 replies
109 views

The prompt_toolkit module allows displaying output while simultaneously waiting for input without breaking the input line. Here's an example from the developer: ...
IlayVanse's user avatar
1 vote
1 answer
118 views

I have a basic input grabber which looks like this: ...
Coarse Rosinflower's user avatar
0 votes
2 answers
133 views

What I'm doing is having the value of my <input> reflected in the value of the data attribute every time I click a button, ...
3Code's user avatar
  • 93
0 votes
0 answers
53 views

I'm encountering an inconsistent event behavior with the FileTrigger component from @react-aria/components in a React ...
Howa's user avatar
  • 1
0 votes
0 answers
86 views

I’m seeing noticeable UI hitches only on Android when the keyboard opens/closes while using react-native-keyboard-controller. On iOS everything is smooth — inputs scroll correctly, no dropped frames. <...
Pasha Marchenko's user avatar
3 votes
1 answer
62 views

How do you read multi-line input from clipboard at once? I tried using input but line change appears treated as Enter pressing. ...
Argyll's user avatar
  • 10.1k
0 votes
1 answer
91 views

I'm working on a R shiny application. When I use the "Run App" button on the R interface my fileInput doesn't seem to be working (see image below). My browser console shows this error: :...
Joran van Noort's user avatar
0 votes
2 answers
97 views

I'm new to Python and I am building a simple interactive calculator as a project. When I run the code in the terminal, it takes all the inputs but does not return the final output. The code restarts ...
new_coder's user avatar
0 votes
0 answers
60 views

I am trying to use the test harness to verify the function of my Simulink model. I set the input from Workspace, and write a .m file to build the input structure(I got embedded bus element in my bus ...
tyrela's user avatar
  • 101
1 vote
0 answers
366 views

I have a .gitlab-ci.yml template that looks something like so ...
A Simple Programmer's user avatar
1 vote
2 answers
83 views

I'm trying to add a python terminal onto a website using pyscript to run programs I've written using ...
onomatopoeia's user avatar
2 votes
0 answers
88 views

I have a problem with one of my class methods. ...
Neblinus's user avatar
1 vote
1 answer
139 views

I have a small issue that I "understand" but cannot fix. Imagine you have s = float(input("Write a number")) When on a linux terminal the user ...
Atmos's user avatar
  • 113
-3 votes
2 answers
80 views

I'm getting a filtered record set from a SharePoint list to a collection, and then I'm getting that collection data to a gallery. In the gallery, I have added a text input. If we think, for example, ...
Thushara Chinthaka's user avatar
2 votes
2 answers
85 views

I have 2 inputs (date and number) in view - blade, like this: ...
ronny hidajat's user avatar
0 votes
0 answers
79 views

I would like to resize the spinner buttons of the number input I declared in a ion-alert. view of the too small spinner buttons I tried tips I found but it does not work in my case. In my ts file: <...
Sapart09's user avatar
0 votes
1 answer
75 views

I'm learning to program in Python with a focus on Data Science using VS Code, along with the Python and Jupyter extensions. However, whenever I run any code that uses input(), the input prompt doesn't ...
Eduardo Silva's user avatar
1 vote
1 answer
87 views

I have a very simple scenario that looks like ...
avigt's user avatar
  • 674
0 votes
2 answers
379 views

I'm making a small game with Godot, and the player can keep some panels on top of the game display while playing, for easy access to some actions. The panel is a Control node, and it could appear on ...
devil0150's user avatar
  • 1,501
2 votes
2 answers
130 views

How do I convert a numeric string input from a user into an integer array in Java? What I did so far is: ...
its.spark.dev's user avatar
1 vote
1 answer
103 views

I'm a newcomer to programing and I have an issue regarding the camera controls in my 3d strategy game. I've been trying to add a "rotation" functionality to the camera using the Q and E keys ...
agfessel's user avatar
-1 votes
1 answer
37 views

I am working on a standard NextJS/React app and have a (maybe basic) question. It is related to the code below in a component. ...
Michel's user avatar
  • 11.9k
1 vote
1 answer
67 views

When typing in Japanese, pressing Enter often just confirms the conversion but not the submission. How can I achieve this? I have an input field and upon pressing ...
Haidepzai's user avatar
  • 1,124
-1 votes
2 answers
76 views

I am trying to build a custom form component. In this I use inertiajs useForm hook to automatically load the data into a state (similar to react-use-form). But my problem is, that everytime i type a ...
Henry's user avatar
  • 1
0 votes
0 answers
68 views

I'm building an Airbnb-style React app. The header starts as an expanded version and shrinks once the user scrolls. To detect scroll, I placed a 1px invisible div at the top of the page and observe it ...
Nir's user avatar
  • 1
3 votes
1 answer
145 views

I am writing a CLI text editor in c. I have to handle a lot of CTRL+key inputs. Right now, I am using a macro that gets the key you want to pair with CTRL, like this: ...
Everlee Jones's user avatar
-1 votes
1 answer
73 views

I have problem in telegram web app on macOS (Vue js). If i use input with type file, then click and choose nothing - input don't work again. ...
Archon's user avatar
  • 1
1 vote
3 answers
535 views

My operating system is Arch Linux and my desktop environment uses Wayland. I've been trying to make a small renderer in the terminal which moves the camera around using WASD. I've disabled canonical ...
johny's user avatar
  • 42
-4 votes
1 answer
63 views

I am very new to this. I wanted to use EXCEL table data as input for my AMPL optimization code through Google Colab. I wrote the code as below, but it said Syntax Error. I don't know why. Can anyone ...
Mentor Town's user avatar
-2 votes
1 answer
91 views

I'm trying to get the input of index from the user using the code below: ...
amit rai's user avatar
-2 votes
1 answer
86 views

I use pug template with Node.JS. How can I use a label to hide file input control and use the label click to upload file? I have done the same thing using bootstrap but not sure about about to ...
khteh's user avatar
  • 4,300
-1 votes
1 answer
87 views

I need to periodically record a value in the program using a dialog box. The program is written in Borland Delphi 7, Windows API. The recorded value is stored in RAM. I also have a Java program in ...
Alexandr X's user avatar
0 votes
0 answers
142 views

I'm currently trying to analyze the spectrum of a prbs signal in order to better desing inputs for my experiments. However, I have some confusion so far. On one side, we can use Matlab's cpsd function ...
Jean-Fr's user avatar
  • 111
0 votes
1 answer
79 views

In Java I want to print after press enter to do an input but in the same line, e.g: 'Username: // User input // Other print'. Doesn't matter if I need to print in the loop or in the find method, if ...
Bujakiewicz Franco's user avatar
-1 votes
2 answers
126 views

I'm working on a simple mortgage calculator right now cause I'm new to coding and not very good at it I'm trying to get ask the user how big the loan is so I'm trying to user Number.format for ...
kenneth templeton's user avatar

1
2 3 4 5
702