Latest Questions

Why is my NFT metadata not showing on opensea?

I am developing a NFT contract on ETH using open Zeppelin, and reached the stage where, I am deploy on rinkeby. However there appears to an issue with the token

Python3: Import Module over Package

I'm looking for suggestions to import a module over a package in Python3. I don't have control over the names of the files so changing them is not an option. Ad

Jquery UI Sortable execute function on drop outside or inside the same list

I am working with Jquery ui sortables. I have made bootstrap cards sortable in a table. When i drop a card i want a to execute a function. This works fine when

Add a waiting point in a heredoc block running on a remote server

I am trying to add a waiting point to my code which can then be resumed/unblocked manually. Sadly it is not working as expected. I guess due to how heredoc work

How can I loop through pages of 100 records until the last page is less than 100 using PHP?

I have this bit of PHP code below. try { echo "Try for getting data"; $starttime = ("1900-01-01"); $endtime = $currDate; $day1 = strtotime($

Update an element in faiss index

I am using faiss indexflatIP to store vectors related to some words. I also use another list to store words (the vector of the nth element in the list is nth ve

unable to run docker within docker

I am using gitlab and need to build a docker image within the container image. Every-time I am trying to do that I am getting error : Cannot connect to the Dock

Echo SSH key into the container messes docker build output

I need to use SSH keys inside a container during build stage and I do that with RUN echo "${SSH_KEY}" > /root/.ssh/id_rsa Where SSH_KEY is build arg. The pr

java.lang.IllegalAccessError: issue coming while running maven build

I am getting the below issue while trying to run the maven build . Project runs fine in java application but while running maven build getting the below issue .

Azure Function does not connect to Cosmos DB

I keep getting an error in application insight when trying to run my Azure function, it works locally on my computer but does not work in Azure. Here is the err

Update foreign key field in table to primary key values in another table

After adding SID to the TRANSACTIONS table, I need to update SID column in TRANSACTIONS based off STORE_NBR in the STORES table. Basically, I want to update the

How to print result in one line [duplicate]

I am trying to solve a problem with this code: equipoa = input("Digite las iniciales del equipo a: ") equipob = input("Digite las iniciales de

Amazon SP_API POST createReport() responded return Invalid Input

I am trying to create a report so I can import products in bulk. The issue i am facing right now is that whatever I have done always got Invalid input error. It

I need to create a simple pie chart in SAS from a Proc SQL Table

I need to create a pie chart showing gender distribution for a state pulled through a macro variable. The code for the sql table looks like this: proc sql; crea

Getting sum value in Dataweave

I need to get the total price of the order in Dataweave. <?xml version='1.0' encoding='UTF-8'?> <Orders> <Order id="10001"> <ProductI

Why i get added 5 hours instead 4 on daylight saving time when i use the add method and how can i resolve it?

I need to add 4 hours to my moment js date. So for that i am using /* this timestamp is this date 27-03-2045 00:00 */ const someday = moment(2374178400000); con

I want get some suggests to protect my services

I have one network service, I want get some suggests to avoid cyber attacks. who can help me? which production I can buy it for protect my service? how about cl

Laravel Backpack

I need help. I am currently working with Laravel backpack and I have the following problem: I have a field called Media, that field has two behaviors, one to up

npm shows vulnerabilities when installing firebase tools

I already installed node js and when I try to run npm install -g firebase-tools, it shows me this error, and it says run npm audit fix [#########.........] | re

Radio button text click result wrong answer [duplicate]

When I click the text of "prefer not to say" of the second and third questions, the first question's answer changes to "prefer not to say". Wh

Show the center coordinate of the object tracking bounding box

I would like to know how I can print the tracking coordinate rectangle onto the video. I want the coordinate of the center point of the rectangle and, of course

Error: A JNI error has occurred, please check your installation and try again in IntelliJ IDEA for Scala-Spark Program using SBT

import org.apache.spark.sql.SparkSession object RDDBroadcast extends App { val spark = SparkSession.builder() .appName("SparkByExamples.com") .maste

Calling useState inside useEffect on DOM load

I am building an app to track habits, and when a user is directed to a dashboard, I want them to immediately see their habits as pulled from a database. I have

R: How can I add titles based on grouping variable in word_associate?

I am using the word_associate package in R Markdown to create word clouds across a grouping variable with multiple categories. I would like the titles of each w

Spring Apache Kafka onFailure Callback of KafkaTemplate not fired on connection error

I'm experimenting a lot with Apache Kafka in a Spring Boot App at the moment. My current goal is to write a REST endpoint that takes in some message payload, wh

How to get the variable value inside sigle quote by variable name using php [duplicate]

I need to get the value of the given variable name without quotes(''). Is it possible with php? variableName='value' I think using preg_match

execute next request once the execution of first request is completed in node

Let's assume I have an endpoint /print. Whenever a request is made to this endpoint, it executes a function printSomething(). While printSomething() is processi

unrecognized arguments: –html

I am trying to create an application using Azure App service. However, it shows the above error: unrecognized arguments: –html The command that I use is a

IS kivy a good python module?

so i was making an kivy app but then thought is there any module better than it?