5,636 questions
1
vote
1
answer
54
views
SSH-bound Go CLI Daemon – SSH Connects Successfully, but No Input Accepted
I'm building a custom CLI daemon in Go for Ubuntu.
When I run the CLI locally (without SSH), everything works correctly — for example:
admin@admin> whoami
responds as expected.
However, after ...
0
votes
2
answers
69
views
How to auto-adjust the width of an input field based on character length of the decimal displayed within?
I'm working on a very simple program that takes a user-specified number (can be an integer or a float of any length) and performs one specific multiplication operation on that number. The program then ...
0
votes
1
answer
88
views
Deleting files based on input to avoid accessing parent folders
I am doing a REST API in Java (although this question may apply to other languages) where I create several local files and directories, and they can be deleted based on input. I manage my files in a ...
2
votes
2
answers
68
views
How to be able to retry an input for a specific key in dictionary in Python without skipping it
I'm trying to make a script that will ask for 5 score input from the user. Each score corresponds to a specific dilution. The input are strings and only six "characters" are allowed to be ...
-1
votes
1
answer
86
views
Automatic insertion of a value in the program [closed]
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 ...
0
votes
0
answers
36
views
Can input elements being positioned in Drupal 10 into a table
I have in Drupal 10 made a simple table that is being build with a PHP as part of a module.
When I use a buildForm-function, I can not position the input fields. I want these to be as if they were ...
2
votes
1
answer
55
views
I have input validation and now im trying to continue the code // Powershell
I am following a tutorial I found on youtube for a file integrity monitor. The code is messy but im trying to add my own twist and clean it up. I just added input validation and now the code won't run ...
0
votes
0
answers
25
views
Need difference of column filters based on slicer range selection by user
I have tables -> calender , bi_alloceffort_data & bi_alloceffort_data_main. I Have linked calendar date column to REVDATE column of bi_alloceffort_data & "PROJECTNO" of both the ...
0
votes
0
answers
35
views
Adding a NumericUpDown to a menu?
Windows Forms has a control NumericUpDown that allows the user to choose a number by clicking tiny up and down arrows, or entering a number via keys.
Is there a way to add this functionality, but ...
2
votes
1
answer
92
views
@action got an unexpected keyword argument 'id'
class CustomUserViewSet(UserViewSet):
serializer_class = UserSerializer
pagination_class = PageNumberPagination
permission_classes = [permissions.IsAuthenticated]
def ...
0
votes
1
answer
58
views
How to Display Input and Output Like Online Compilers in VS Code?
When running my programs in VS Code terminal, the input and output are printed in the same terminal window.
But I want the input and output to be clearly separated, like in online compilers.
Eg:
(...
0
votes
1
answer
247
views
How to Pre-fill Email Field on AWS Cognito Managed Login Page in Multi-Tenant SaaS?
In my multi-tenant SaaS application, I use AWS Cognito for authentication with a managed login page. Each tenant has a separate Cognito user pool. The authentication flow is as follows:
The user ...
0
votes
0
answers
70
views
How to skip checking for keys if no key is pressed
I am making a text-based game with frames, and my problem right now is that I have the code to check for keypresses
key = getkey.getkey()
But it seems like that command waits for you to press a key ...
0
votes
1
answer
656
views
MudAutocomplete does not trigger ValueChanged function on Leaving Input field in Mudblazor
I am working with MudAutocomplete in Mudblazor(6.12.0).I want the autocomplete to hold the list of values as well as allow the user to enter the text manually which is not in the list .It works fine ...
1
vote
0
answers
136
views
How can I get global input in bevy?
I am trying to make a music player with Bevy and Rust. I want to use global input to check if the play/pause button has been pressed even when the window is not in focus.
I've tried using a number of ...
0
votes
0
answers
128
views
Shape of inputs causing issues with CNN with numerical and text inputs
I am having an issue of where I am obtaining an error to do with the input shapes for the CNN model.
The code for the model
text_input = Input(shape = (max_len,), name = 'text_input')
numerical_input =...
1
vote
1
answer
115
views
C++ MFC - Open edit window at specific position [closed]
I have an application where, on a specific event, I want to open a edit control at a specific position x,y with a specific size width,height. In the opened window, I want the user to enter a string ...
-4
votes
1
answer
63
views
Why can't I use input() to get an object? [closed]
I created a list of Animals. Then I ask the user, What are you? When he answers, I can't get the program to recognize it in the list.
class Animal:
def make_sound(self):
pass # This is an ...
3
votes
3
answers
170
views
How to validate mutliple inputs of different variable types within a do/while loop?
When validating user input to check if the user has inputted correct values (i.e. letters for the strings, numbers for the integer), the below code can only detect when the strings have been ...
0
votes
1
answer
82
views
C - write() repeats after reading user input with spaces
I'm creating a shell program with C and am working on getting user input after displaying the current working directory. I'm using read() and write() as I will need to use signals within my shell ...
-1
votes
1
answer
151
views
Exiting back to main menu
I am currently writing a basic program with multiple menus. I have a function called menu1(), which is called in main and handles the first set of menu options. My issue I am having is being able to ...
2
votes
1
answer
121
views
Parsing with a space (sscanf or strtok)
For some context, my game runs in the terminal and is like a command line type game. At the moment to process commands is does a strcmp() for every single command which isn't really pretty nor ...
1
vote
1
answer
574
views
How do I use both multi-touch gestures and cancellable actions in Jetpack Compose?
I was following this tutorial (https://developer.android.com/codelabs/large-screens/advanced-stylus-support#4) which uses pointerInteropFilter to handle the MotionEvents directly and detect ...
0
votes
1
answer
255
views
Why does my Blazor form not get any value from input field?
I have been using Blazor and I encountered an issue could not find any solution. I have been trying to add text into input fields but it's not updating.
@page "/"
<PageTitle>Form</...
0
votes
0
answers
61
views
Is there any way to prompt the user using powershell script such that the user is not able to ignore it
I am able to give a prompt to the user using powershell script but the issue is that the user is able to ignore it. What I mean is the user is able to open other programs and file even when the prompt ...