Latest Questions

Is there a way to remove prevous prints?

So i am currently trying to make something that will print . and remove it then print .. and also remove it then print ... When i tried using sys module to remo

Tuple to Json (with Java & EntityManager)

For a project, i needed to fetch records from a SQL database into a list of objects (using java for backend). The exchange between the backend and the frontend

Swift saving decimal to firebase

I am trying to get my numbers as accurate as possible when the user enters the information for fuel purchased. I also would like it so in the example below a us

Losing divider in native-base Modal when styling

Using native-base Modal and theming. See their theme/components/modal.ts for a reference as to what components make up a Modal and their theme. So I'm trying to

grabToImage save the delagate pathview qml

Hello my question is the following I am trying to iterate over the pathview delegate but I am getting an error that it does not find the image I want to save af

performing a search on enter?

I have this form: <form> <label for="locationsearch">Location:</label> <input type="search" id="locationsearch" name="locationsearch" /

How can I run React with hooks in an iFrame

I am writing a React application in which I would like to dynamically render React components through an iFrame. I have a code editor on the webpage that allows

Code acting differently inside of a function in R

i've got this set of code here in R that seperates a dataframe containing tweets by their day posted. I'm finding a weird interaction where, if i was to run the

No installed build tools found. Install the Android build tools version 30.0

I have installed the build tools from the Android Studio SDK like that: Tools -> SDK Manager -> Android SDK -> Android 10,11,12 in the SDK Platforms, a

How to run JUnit5 suite using the @Suite annotation

I'm trying to figure this out for over a year now but I can't run JUnit5 suites unless I use the JUnit4 @RunWith annotation, which brings me some other issues.

Syntax error when parsing variable from XML within an SQL stored Procedure

So, I'm trying to run a stored procedure within another stored procedure and parse out some XML data into a variable. It is giving me a syntax error on the fir

Eslint to warn when there is a missing import statement?

I'm using nodejs with regular javascript, and using eslint. My eslint is setup to catch many errors in my code - however it isn't catching when I forgot to impo

How to use java native method System.loadLibrary() in xamarin android?

I need to load two libraries before starting my activity. I can use this method through the native java language in android studio, here is my java code that is

How to specify number of workers in sagemaker?

sagemaker API let's you create model ( see sample below) , are there any paramters that we can pass , as environment variables that can specify number of worker

jps does not show hmaster but <no information available>

I configured HBase today and I configured it correctly at first. However, when I ran HBase use the code 'start-all.sh' again, I could not see 'Hmaster' anywhere

Molecular MC simulation is not equilibrating

Suppose, a polymer has N monomers in its chain. I want to simulate its movement using the bead-spring model. However, there was no periodic boundary condition a

insert into NedB boolean value without quotation marks

I have a NedB database which I'm trying to insert some new data into that I retrieve from HTML form, this is my function to insert new. addEntry(name,desc,ingre

Flutter can't find file downloaded to the flutter_assets folder

I download a file from AWS after runtime, and I checked to confirm that the file gets saved correctly in: /data/user/0/APPNAME/app_flutter/flutter_assets/FILENA

Testing a React context with jest and consume it in the test file

I'm now trying to test a simple React class context that is used to sets a currency to the global state. However, I didn't know how to to consume the context in

Backingfield is null in EF Core 3.1 , Lazy loading enabled

I am using Lazy Loading in EF core 3.1 and when i try to get the navigation data,it doesn't load. public class Template { private readonly List<Spec>

How to make an autoclicker in python?

I am trying to make a simple autoclicker, I want it so that if i press a command key, ('a' for example), it will hold down the down arrow for 10 seconds, then t

Get all dates within a date range

If I have a given date range (DateFrom and DateTo), how can I get all the dates within the date range?

Uncaught Error: Objects are not valid as a React child (found: object with keys {message})

I have ReactJS application which receives data from SpringBoot API. I am successfully able to receive the data from SpringBoot as seen through console.log(). B

Apply formula on a column conditional to another column

import requests from geopy.geocoders import Nominatim import streamlit as st import numpy as np import pandas as pd import random, string print('ville :') code

On Java 17 WindowBuilder was not able to show the GUI. .wbp-component.xml description for component javax.swing.JFrame

I'm using Eclipse 2021-9 version and already have Window builder installed. this error happens when I click the designer tab. WindowBuilder was not able to sho

How to find/calculate the shaded area of this shape in python?

I'm trying to write a python program to calculate the shaded area of the circle in this picture: [![enter image description here][1]][1] Here is the input and o

gcloud compute config-ssh results in permission denied

I'm trying to ssh into a gce instance: C:\Users\Kevin>gcloud compute config-ssh You should now be able to use ssh/scp with your instances. For example, try r

How to specify series data in heatmap chart with gridIndex using eCharts

In my below sample only the first chart (for 'Cars') is populated. How should I create the input dataset (the 'data' array) so that all three charts (Cars, Boar

dbIds from the Forge Viewer and the Model Derivative API are different

I'm working on creating a forge viewer-based web system linking with my client's BIM360 environment. For the model data extraction part, I refered to the exampl