Latest Questions

In DynamoDB, how to relate an entity with itself, via another key or attribute?

Let's say I have a DynamoDB table modelling two entities: people and the cities they have visited, in a many-to-many relationship. personName could be the prima

How to add custom indicator in trading view Charting library in reactjs

I have trading view charting library i'm working on it but now i want to add custom indicator in it but i don't know how to do.

How to add new pages without rebuilding an app with +150k static pages?

I have a MERN app in which I have integrated NextJS. First time with NextJS so bear with me. I have initially used SSR everywhere (getServerSideProps). Key poin

How do you fix this error: A namespace cannot directly contain members such as fields or methods [closed]

I am using unity code to make a game, and I get this error: "A namespace cannot directly contain members such as fields or methods." This is

How to make function get particular error in JS

In form, there is <input type="hidden" name="forcesave" value="0" id="forces"> which lets me avoid validator: if (\Frame\Validator::cidr($data['ip

Remove add to cart button on WooCommerce single product page if product has been purchased and show MP3 player instead

We have a WooCommerce store that sells files (MP3/MP4) to registered users and enables the user to play them in the "Downloads" section of their account (we hav

Setting X axis label name more frequently in Matplotlib

I have a dataframe like this Time(DDHHMM) True AOG Predicted AOG 5184 28:0:0.0 4.0 4.697324 5185 28:0:5.0 10.0 0.366948 518

Android compose ModalBottomSheetLayout jumps on content size change

I basically have the same problem as this post, except I'm using Jetpack Compose, instead of the old View model. It happens with any kind of content - I tested

Java selenium - timed out waiting for driver server to start

i need help , how to fix this bug , " timed out waiting for driver server to start " enter image description here i have tried many ways like changing google ve

How to get Total hits for an ES query after setting from and size field

searchSourceBuilder.query(query).sort(sb).from(fromField).size(sizeField); searchRequest.indices(elasticsearchUserIndex).source(searchSourceBuilder); SearchResp

Application Error while uploading to Heroku

For my application's backend I'm trying to host in on heroku. After creating a new app on heroku I've followed all the steps that it showed me and it was deploy

How to write a simple code to do float calculation in Python?

I would like to write a code for this calculation: 3.3+4.8*6-4/2 Here is my code: from decimal import * a = Decimal('3.3') + Decimal('4.8') * 6 b = 4 / 2 c =

Eclipse-Selenium-Extract the value from the table

I am relatively new to the Test Automation and in particular to the Selenium. I am using Selenium Web-driver, Eclipse. I can not extract the value from the colu

How to fix a null object reference on document snapshot

I have an program where the MainActivity display the name and the email of the user on top of the screen by using document snapshot that been stored in firestor

org.apache.commons.mail.util.MimeMessageParser never ends parsing

I have some code to parse incoming mails. I use org.apache.commons.mail.util.MimeMessageParser for this.The problem occurs in the following method: private Stri

Make a dataframe avaliable until it's update [duplicate]

I have a Flask application with reads a dataframe and provide it in a service. The problem is that I need to update it (only a reading from s

Form validation if user submits a specific phrase

in the process of adding a sign up form to a website. The form will have first name, last name, and email text fields. I want the form to also have a text strin

Show CollectionView Grouping not working in Xamarin

I have an article here about showing Data Groups from Preferences . As per everyone's input I switched to CollectionView. I have consulted the article https://d

How can create merge adapter class in android kotlin

How can create merge adapter class in android Kotlin i have two class one class contain header other class contain image card how can create merge adapter class

Getting error 'NoneType' object has no attribute 'read' in python for image processing image_dataframe['image']

I am working on image classification using CNN. I am using below source code for that task. I am stuck with this error : AttributeError: 'NoneType' object has

Java selenium - timed out waiting for driver server to start

i need help , how to fix this bug , " timed out waiting for driver server to start " enter image description here i have tried many ways like changing google ve

How to overwrite color of ElevatedButton with LinearGradient?

I am trying to do ElevatedButton with LinearGradient, I am giving it to Container around my button, but it's not affecting it. I tried to set backgroundColor of

The custom view added in the WKWebview is not listed during UITesting

I have a UITableview with the below view hierarchy. UIViewController |--UITableView |--WKWebview |--ScrollView |--UIView The UIView i

Update latitude and longitude Leaflet Vue js

const getAgenApi = () => { this.longitudeNow = parseFloat(106.105104103); this.latitudeNow = parseFloat(-123.123); // other code... }; mymap.on("geos

Split dataframe column at specific words

One column in my dataframe is a long string. I want to split out portions of the string into its own column based on a few different words. What would be the be

How to parse date from year and quarter using java.time

I am trying to parse strings in the format of "<year> <quarter>" ("2022 1", "2022 2") into java.time.LocalDate objects. The closest related question

AutoCAD : I don't know the answer, can anyone help me?

In AutoCAd, this term used to describe the status of the command line after you exit a command?

Automatically open a copy of the attached file when I open a specific message with subject on specific outlook folder

I created a custom folder on outlook with name “MyTemplate” and inside that folder an email message with subject Auto Plan ( It is a template email

How to reassign values in column by condition in dataframe?

df = pd.DataFrame([["A", "AA", "AAA", "found"], ["A", "AB", "ABA", "not found"], ["A", "AB", "ABB", "not found"],

vue filtering method how it works

Here's the some code i try what I did deleteajobewith_events(event){ const data =event.store.readQuery({ query: ClientJobesList, varia