All Questions

Filter by
Sorted by
Tagged with
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
3 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
4 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
4 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
13 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, ...
0
votes
0answers
5 views

Interactive Visualization on Kaggle Notebooks Using Matplotlib

I know plotly should work, but can we do it only with matplotlib? The following code snippet is what I can do, it works well until I clicked "RUN". And then in the viewer, users are not ...
0
votes
0answers
9 views

How to interpolate a dataframe according another dataframe

I have two data-frames that have the same cadence but the staring time is different. I would like to interpolate the second dataframe is such a way that the measurements occur at the same time as the ...
0
votes
0answers
5 views

Why popup dismiss method causes an error? (python kivymd)

I'm trying to make a app. On button click on the bottom right of the screen there appears a dialog window(popup). On "Done" click the popup window is expected to close (close_dialog method), ...
0
votes
0answers
21 views

Javascript promise never resolves

I am using rotateByDegrees from a library called node-poweredup in a typescript project: motor.rotateByDegrees(20,10).then(function(value) {console.log("test");}, function(value) {console....
0
votes
0answers
4 views

junit test for a method with return type int and parameters as arraylist

The following method checks for all triplets with the given value/sum. I want to write a @Test method for this method that returns an integer and also takes in an arraylist and a variable as ...
-1
votes
1answer
15 views

Issue with installing python modules

I am pretty new to python. Just been working though some online tutorials on udemy. I seem to have an issue with pip installing modules. I've tried reinstalling them. Upgrading my python version. In ...
0
votes
0answers
5 views

How to check the current VAT regime in WooCommerce

My webshop is based in Belgium. So when a foreign company buys something, the VAT is not applicable anymore. To manage this, I have a plugin installed, called WooCommerce EU VAT assistant. So when ...
0
votes
0answers
11 views

ValueError: Item wrong length 71163 instead of 891938

I am trying to loop over a df, but I keep getting the value error, my df is 71163 rows long, and im trying to make a list with the values lower than 10000 so that I can then count them. so far my code ...
0
votes
1answer
12 views

Is there an idiomatic way to cache Spark dataframes?

I have a large parquet dataset that I am reading with Spark. Once read, I filter for a subset of rows which are used in a number of functions that apply different transformations: The following is ...
0
votes
0answers
13 views

Cannot resolve method 'setEmail' in 'User' classes

I'm getting the following error : Cannot resolve method 'setEmail' in 'User' in AuthService.java . I try to add the constructor with parameters and it works. But why it doesn't work without ? Here the ...
0
votes
1answer
8 views

How to update AWS lambda docker container version?

My intension is to deploy a new container version to my AWS lambda. Lambda now offers docker run time and I have successfully updated the lambda docker container from the web console but not able to ...
0
votes
1answer
9 views

how to alert Error Messagen in Marketing form

i have a Marketing form and i need to change the display error message see Picture. my form : and I want That my error message be like This:
0
votes
0answers
3 views

I keep gettting an InFlateException error in my Wearable app

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2914) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049) at android.app....
0
votes
0answers
5 views

Pandas returns different datetime formats with iloc vs. with condition

I am struggling to get consistent datetime formatting out of a pandas array. I have a df with a calendar date colum of dtype datetime64[ns]. When I access the calendar date directly by iloc, say index ...
0
votes
1answer
8 views

nested for loop in a list of logical vectors R

I have a list of 4 logical vectors (mylist): list(a = c(NA, FALSE, FALSE, TRUE, FALSE, NA, NA, NA, FALSE, FALSE, FALSE, FALSE, NA, FALSE, NA, FALSE, FALSE, TRUE, TRUE, TRUE, TRUE, NA, FALSE, NA, ...
0
votes
0answers
5 views

How can I define a varialbe as mpvar in python using xpress?

I am trying to implement an optimization model usinf xpress as a library in Python. And one of my friends is using xpress' own language. We both implemented the same constraints. However our results ...
0
votes
0answers
6 views

Raspi Servo is jittery and moves back and forth when it should be still

(Sorry about formatting) I am trying to write an opencv program to track the color red. So far it works okay, but the servo is jittery and when the object is still and centre the servo moves back and ...
0
votes
0answers
5 views

Moq Extended Setup With Single shared Return

What I want to do is to define one or more Setup(s) to one Return call on multiple method calls of the mocked object; hence avoiding multiple single calls to do Setup().Return()s. The compiler ...
0
votes
0answers
10 views

what is the reason for this behaviour await is not working in ngOnInit?

if I am not subscribe this getCart() method await is working fine . Why await is not working if i subscribe this inside ngOnInit and means this result printed console.log("UTKARSH" +" &...
0
votes
0answers
6 views

How can you Interact and log in to the physical steam client using Python?

In summary; I want to be able to interact with a non-logged in steam client and log it in, and I dont want to use some type of Windows only interaction. I don't mean the SteamCLI, or logging into ...

15 30 50 per page
1
2 3 4 5
412076