Latest Questions

How can i fix nativescript ios build error "Unable to start application" domain=NSPOSIXErrorDomain, code=3

Error while trying to start application myApp on device AFF18839-33C3-40F1-A53C-656BD6995C19. Error is: Command xcrun with arguments simctl terminate AFF18839-3

Python using less than 1% of the CPU, how do I get Python to use more resources?

I am working on translating a rather complex script from Matlab to Python and the results are fine. However Matlab takes around 5 seconds to complete, whether P

Session issue with cypress aws-amplify

We are using the AWS Cognito users pool for our signup/sign-in process which is having the app secret key and client id set in the user pool setting on the AWS

Find and replace certain words across multiple excel workbooks

This is my first post, but I am trying to figure out a way to write a VBA code for excel(and ideally MS Word) that would change certain cells/information across

Index was outside the bounds of the array. Login+<LoginPlayer>d__4.MoveNext () (at Assets/Login.cs:29)

I'm building a system in Unity that takes a register and login menu connected to a MySQL database through PHPMyAdmin, has users log in, then allows them to choo

Tailwinds Css not recognized after deployment

After I run the build script in svelte project together with tailwind after deployment it does not recognize the styling of tailwind but it shows it as plain ht

-Wlogical-op-parentheses analog in rustc

C++ compilers have an option to warn against writing a || b && c without parentheses (clang and gcc do this automatically on -Wall, the specific option

How to Identify if an input string is an int, float or char in C

I'm working on a code where I use linked list to accept a string data and put it into a main list and specific list where the data belongs. I'm having trouble o

How do I center the content the same as the header and footer?

This is what it currently looks like: How can I automatically center the content which is currently has a green color border? The problem here is that it will

How to receive a json response using proxycrawl

from proxycrawl import CrawlingAPI from bs4 import BeautifulSoup api = CrawlingAPI({'token': 'wMtzOpKeL9CCASWQBGiRLA'}) # a = """GET 'https://api.proxycrawl.com

Android JetPack - run code on WorkRequest completion

Let's say I need to fetch data from a db asynchronously and then pass it to a recyclerview's adapter. Using AsyncTask, I can do the following: void getItemsFrom

Enable Nvidia GPU CUDA support for theano and PyMC3 for Windows 11

Has anyone figured out how to install GPU support for Theano and PyMC3 on Windows 11? I keep getting an error message about a DLL load failure. Here are the s

How do I use the new Server Discover and Monitoring pass option { useUnifiedTopology: true } to the MongoClient constructor in Docker

I am quite new to docker. I am trying to configure mongodb and mongo-express in the same docker network. I created a network called some-network. Then I ran mon

How to get WellKnownFolderName.MsgFolderRoot using Microsoft graph SDk (GraphClient) in C#

In EWS WellKnownFolderName.MsgFolderRoot is present to get root folder details but in Graph SDK unable to find similar method. Our application supports EWS call

Override Ship-To Contact & Address via UDF

I have a requirement on which the Ship-to Contact & Address in Shipments screen (for Transfer only) will be overridden by using the location of Customer sel

when I input string instead of integer then why it does print 0 and 1 on VScode?

when I input string instead of integer then why it does print 0 and 1 on VScode? #include <iostream> using namespace std; int main() { int a , b ;

System.NotSupportedException: 'Collection is read-only.' When Reading Entity From DbContext

I have an aggregate root in my domain model named Employee. it has 3 list of different domain objects like below: public class Employee: EntityBase, IAggregateR

Check if auth user has voted and then take count of polls?

I encountered an issue that blocks my way forward. I have tried getting count of polls as of now as shown below: public function user_dashboard(){ $ac

How can we change behaviour of c++ method depending on initialization parameter?

In python I can write something like class C: def __init__(self, mode): if mode == 0: self.f = self.f0 elif mode == 1:

How can I make it so the Tkinter button can only be pressed once?

I have this code where I am trying to have it so I can only press the button once and then it becomes disabled, but I keep getting the error TypeError: 'NoneTyp

How to traverse a matrix in a spiral fashion in C using pointers?

This is the algorithm for traversing a matrix in spiral fashion and printing the traversal as an array in Python: def spiralTraverse(array): result = []

Java generics: getting rid unchecked cast warning (case described inside)

Please forgive the bad naming, the problem described below is a very crude simplification and alteration of real code I have the following types defined: interf

Jest - how to isolate tests when they use the same class?

I am trying to test a class with some properties and methods on it and running into some strange behaviour of the new keyword using Jest. The code that is being

selecting variable from a column

starwars <- merge(starwars, num, sort =TRUE) starwars sex_male <-subset(starwars ,select=c("male") sex_male using rstudio dplyr how do I narrowdown the

Angular 13 how to configure manually lazy loaded module

I've tried everything to find a solution online and did research for days now but I'm unable to understand Angulars current concept of lazy loading module / com

want t print the max integer ot of four but extra 1 is added to the result [closed]

#include <stdio.h> int max_of_four(int, int, int, int); int main() { int a, b, c, d; scanf("%d %d %d %d", &a, &b, &c

None if the following functions can be called with the Arguments supplied Jetpack Compose Error

I keep getting this error whenever I try to use a textfield in Compose, I have tried both Textfield implementations, ie one with a String value and TextFieldVal

How to store a user-filled HTML table in local storage and then display it in a different results HTML page?

Summary of my program: Users fill out a HTML table (I'm not having problems with this step) in table.HTML page HTML table is stored in localStorage (using .SET

How many levels of recursion does SVG support?

I cannot get past 2 levels. (Tried on Iceweasel and Chromium.) As a test, I tried a variant of the code presented in this earlier reply. This one consists of