close
Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
42 views

I am developing a Vue.js web application that involves a photo upload feature. It works perfectly on desktop browsers, but I am encountering a critical issue on Mobile Chrome (Android). The Symptom: ...
user2837684's user avatar
Advice
0 votes
4 replies
106 views

With this code I was able to get my character to move and aim a reticle around with an Xbox controller using Unity's new input system. It will also reorient the reticle to face outward from the center ...
Bubba0796's user avatar
-1 votes
1 answer
106 views

At the end of an input element change callback, I'm calling a long-duration computation and want to show a wait cursor. What I've tried is setting document.body.className = 'waiting'; and having in ...
user2183078's user avatar
0 votes
0 answers
80 views

I need to issue a lot of, say, wget commands manually. I figured the following would make it convenient: $ sed 's/.*/wget &/g' | bash -i Indeed, stdin is now listening to my input as I copy-paste ...
iago-lito's user avatar
  • 3,276
Advice
0 votes
7 replies
191 views

I tried doing user input in Rust, but it's very hard to understand. I would be grateful if any of you gave me some best practices, examples, and maybe an explanation that is not just "You do that ...
TheHiddenDev's user avatar
2 votes
1 answer
72 views

I have a timer that counts up to 360 seconds or 6 minutes and switches between PM and AM between 12PM and 1AM-6AM Because I wanted the timer to run in the background I used sys.stdout.write(timer) for ...
Gil's user avatar
  • 23
0 votes
1 answer
91 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
0 answers
93 views

I am attempting to simulate keyboard input on Wayland with Gnome. Consider the following Python script: from evdev import UInput, ecodes as e ui = UInput() ui.write(e.EV_KEY, e.KEY_A, 1) ui.write(e....
merlin2011's user avatar
  • 76.7k
3 votes
2 answers
110 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
36 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 accept etc as ...
Eypros's user avatar
  • 5,747
Tooling
3 votes
2 replies
71 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
126 views

I'm using Angular Material 21. The component's template has two <mat-form-field> elements, each one contains an <input> element. I would like to set a red border to the first input element ...
deemon's user avatar
  • 143
Advice
0 votes
6 replies
112 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: 10,20,30,40 20,30,40,50 30,40,50,60 40,50,60,70 ...
nova's user avatar
  • 1
0 votes
3 answers
180 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
211 views

import random number_to_guess = random.randint(1, 10) while True: guess = input("Guess a number between 1 and 10: ") # This crashes if 'guess' is not a number if int(guess) == ...
P Jaideep's user avatar

15 30 50 per page
1
2 3 4 5
2337