All Questions
20,603,753
questions
0
votes
0answers
2 views
Pointer to pointer memory leak, freeing wrong address
I have the following structures
typedef struct candidate {
int id;
char name[50];
enum FIELD field;
char phone[50];
char mail[50];
char languages[50];
struct candidate* ...
0
votes
0answers
2 views
time.replaceAll is not a function
Hello I keep getting a error of time.replaceAll is not a function and I cant figure out why since I tried time.replaceAll in a online code editor and it worked.
exports.ForgotPasswordToken = async (...
0
votes
0answers
2 views
Quick sort with only one function
public static int[] Met(int arr[]){
int low=0;
int high=arr.length-1;
int pivot = arr[high];
int i = (low-1);
for (int j=low; j<high; j++)
{
...
0
votes
0answers
3 views
How can I fix my thread which get currentlocation, signal 3 problem?
I have a problem with my thread. It's doing what it should to do but it freeze my app. I've got signal catcher: reacting to signal 3 in my logs. How can I fix this problem? Below I paste my code. I ...
0
votes
0answers
2 views
ScrollView with variable HeightRequest
I have a Label and a ScrollView with a Label inside, an image below it. I've placed the ScrollView below the main Label, but it never has the same character length, so sometimes within the ...
0
votes
0answers
2 views
Cordova textocr (Convert image to text)
I'm using from textocr plugin in my Cordova application.Cordova version is 10.0.0 And the android version is 9. I've added these plugins to my project:
cordova-plugin-camera
cordova-plugin-document-...
0
votes
0answers
4 views
How to call code in a php function with a post formular?
I have a post form. On a button press I want to pass the contents of the input field to the PHP code which is in the function "createHash". Without function it is called. But with the ...
0
votes
0answers
6 views
display an image from URL local host swiftui
model image url
i have a problem for display the image. The link is from the server.
0
votes
0answers
5 views
ng-invalid even after selecting a value in ng-select
I have 3 ng-select in my code all the three ng-select are required field.When i submit the form I need to focus the first ng-select which is invalid but I couldn't achieve this.I wrote a directive and ...
0
votes
0answers
6 views
Physic problem in python : RC circuit (with pyplot)
I have a problem with my physic problem in python...
I'm supposed to draw a graph of a RC circuit.
Here is my code :
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.widgets import ...
0
votes
0answers
4 views
CSS max-width has inaccurate pixel precision
I have an issue with max-width media rule. I test to hide the elements on different max-width values and the behavior is inconsistent. I have tested 4 scenarios varying in the screen width.
Scenario ...
0
votes
0answers
4 views
Reading data directly from keyboard with nodejs
So I was wondering if I could use a second keyboard as a custom macro one.
There is a software called luamacros that can distinct between 2 keyboards and disable one of them to be used for macros. The ...
0
votes
0answers
3 views
How to see the training samples my neural network mised in python tensorflow
I just got started coding neural networks and my code si as follows
#create model
model = keras.Sequential([
keras.layers.Flatten(input_shape=(28,28)),
keras.layers.Dense(16, activation="...
0
votes
0answers
3 views
AWS API-Gateway with Cognito, multiple resources, and LAMBDA_PROXY
I'm successfully using Cognito to make authenticated calls through API-Gateway to a Lambda application. I use the LAMBDA_PROXY integration to pass the entire request to my application; from there I ...
0
votes
0answers
3 views
Firebase observe.value not appending array
I have a function I am trying to call that collects all my users from firebase and then divided them into two groups by looking at each user and checking a child node. If the child node is one for ...
0
votes
0answers
4 views
Why do my list/array changes of dimension when append a lot of images?
It is weird, because I want to load PNG images with OpenCV from a directory in Google Colab using python, and save them in a list an then pass it to a numpy array in order to work with ML algorithms. ...
0
votes
0answers
3 views
How to upgrade from InfluxDB 1.8 to 2.0
What are the exact steps for upgrading InfluxDB v1.8.2 to the latest stable version (2.0.3 at time of writing)?
Specifically I installed v1.8.2 according to the InfluxDB docs at the time, and have ...
0
votes
0answers
5 views
Active Storage to S3 | React: CORS issue
First time posting in Stack Overflow. I am currently in a coding bootcamp and still a bit beginner. I am making a FullStack Application with Ruby on Rails and React. After deploying my code to Netlify ...
0
votes
0answers
6 views
Response.Redirect() problems
Throughout my program, I always used Response.Redirect() method. I always assumed that whenever this method is called, the current page is terminated and the redirected page is initiated. But then, i ...
0
votes
0answers
6 views
button makes one row active others inactive
This status(active 1 /inactive 0) button makes any individual record active/inactive.
I need to change it so that when clicked it makes the that record active and all others inactive by changing ...
0
votes
1answer
12 views
Including spaces in Scanner in java
I am writing a simple code that takes number,name,surname from the user with scanner.
But when user enters name with spaces in it(two or more names) the code thinks string after the first space is ...
-2
votes
0answers
17 views
Why does'nt .lower() work in the following code? [closed]
print("Welcome to the rollercoaster!")
height=int(input("What is your height in cm?: "))
bill = 0
if height>120:
print("You can ride the rollercoaster")
age =int(...
0
votes
0answers
12 views
JS environment setup [closed]
If I code in React, I install React project, write npm start and It works. I write the code, press ctrl+s and I can see the result in my browser. I want to do this same without React or other library ...
0
votes
0answers
14 views
How do i solve this issue? Uncaught TypeError: Cannot read property 'textContent' of undefined at HTMLButtonElement.botonContinuar.onclick
botonContinuar.onclick = function(){
let formulario2 = document.querySelector("#formulario-2");
let formaDePago = formulario2.TypeOfPaymentyOption.value;
valid = true;...
0
votes
0answers
6 views
Reloading recyclerView with previous data between activities
I created an app that has a Leaderboard it in.
The Leaderboard consists of 3 categories: Top rank, Most sharing, Most info.
In each category (tab), there is a recyclerView that loaded 25 results each ...
0
votes
0answers
6 views
Service manager architecture in node
I want to clear my perception about design patterns in node i was going through a project of my friend in MERN stack and found for backend he used service manager class for every process in the ...
0
votes
0answers
5 views
GitHub Checkout Action: Check out commit pushed by previous job
The first job in my GitHub workflow commits and pushes some code. The second job should checkout the latest code including the commit made by the first job. However, if I use the Checkout Action ...
0
votes
0answers
8 views
Google apps script, onChange, can't pass a trigger object to a variable
I'm trying to work out a script that will hide rows from an onChange() trigger. When a cell becomes "0", I want the row to hide. I'm new and just learning, but what I've written is below. I ...
0
votes
0answers
7 views
Using PowerShell, how do I call CURL.exe using CMD.exe AND display results in WinForm
I am building a dashboard (WinForm) for internal usage, written in PS, and have a section where users can query sites using various methods/tools for inspection.
All the other methods/tools (IWR, ...
0
votes
0answers
10 views
Image overflows the container
I have a situation like the one below. I'd like to have a container into which I'll be putting an image (it could be horizontal or vertical, or square). I want it to stay within the main-container, ...