Latest Questions

Unable to create AWS CloudFormation stack

I am changing the Node version of my project to 14 and trying to custom deploy it to my staging environment for testing. But after changing the version to 14, I

how to move placeholder to top on focus and while typing

I am trying to implement a simple input box where when I click on the box the placeholder value moves to the top but have an issue that it always shows on top.

Import “nextcord” could not be resolved

I have just installed nextcord, but when I try to import it to code it says: “Import “nextcord” could not be resolved” please help me.

Does Windbg display addresses as virtual or physical when issuing a command such as

Would someone be able to clarify whether when you type a command at the Windbg command prompt are the 64 bit addresses displayed in the very first column virtua

Mimicking compile time interfaces in python

Summary This question first uses Java examples to demonstrate what I am trying to achieve, then shows Python equivalents where I attempt to replicate the compil

How do I use ffmpeg to concatenate 2 videos and add a period of silence + black screen between them?

There are several existing examples, but I'd like a single command that uses complex_filter to achieve the objective without doing extra things like generating

How to detect ID Card in react native

I'm trying to detect ID Card in react native Everything. I found was Payed Libraries that scan id card and OCR at the same time but my use only to check if this

listen EACCES: permission denied 127.0.0.1:80 - macOS

I need to serve an angular app with specific --host flag and --port 80. I added the host to my /etc/hosts file but when i use command "ng serve --host local.xxx

Sharepoint: Lookup against a large list with CAML Query

I have a SharePoint List (list_dls) which has all the Email addresses. The list has a single column with Field name "Title". I need to validate that the Item in

AttributeError: 'BaseModel' object has no attribute '_sa_instance_state'

I have the following code in my app: models.py class MainTable(Base): __tablename__ = "main_table" id = Column(Integer, primary_key=True, index=True)

How to get the partition column names for a table?

I have a table that is partitioned on one or more columns. I can do ... SHOW PARTITIONS table_db.table_1 which gives a list of all partitions like this, year=2

Does Document AI not detect the shopping receipt?

I can successfully extract the details of the shopping receipt (products, store name, etc.) with the expense parser in Document AI. I wrote the store name and p

what does method mean/do in gtag event?

I'm reading the google analytics documentation and I'm slightly confused about what method means. In their documentation they have gtag('event', 'login', {'meth

UnmarshallerImpl finalize() method leads to memory leak

I'm using webServiceTemplate in my multithread Spring app. There are my jaxb dependencies: compile('javax.xml.bind:jaxb-api:2.3.0') compile('org.glassfish.jaxb:

Dynamic Icon content in Android Compose

What I need is to adjust Icon's content accordingly to the available screen space. If the screen height is enough - I would like to display a bigger image versi

AJAX/FLASK/JS: How to POST existing array into endpoint?

I am trying to POST the songFiles array pushed from the getTableData() function (inside the ajax request) into the /api/fileNames endpoint, which is then sent t

How do I remove hours and seconds from my DataFrame column in python? [duplicate]

I have a DataFrame : Age Gender Address Date 15 M 172 ST 2022-02-07 00:00:00 I Want to remove hh:mm:ss I tried: import datetime

invalid client when POSTing JSON to get OAuth token

I am using perl to POST a JSON object to fetch an Oauth token but am getting an "invalid_client" response. (I checked, and it doesn't look like I have a Client

OpcUA address space

I'm working the first time on a project that requires an OpcUA connection. I'm using the Qt wrapper (Qt OPCUA) with the open62541 backend. The manufacturer of t

Adding Javalin dependencies

I'm trying to use Javalin in my project and I can't seem to understand how to add the needed dependencies in order to work with Javalin without compliation erro

How to merge different shaped netcdf4 files?

I am storing weather forecasts as netcdf4 files. These netcdf4 files are batched following the google maps tiles principle. This means I define a zoom level (he

The DELETE method is not supported for this route. Supported methods: GET, HEAD, POST in laravel 8

I get the following error with the code below. The DELETE method is not supported for this route. Supported methods: GET, HEAD, POST Controller public functio

Custom Item Field not showing up on form

I have 2 custom item fields that will not show up on my custom item form. I have moved them to the main tab, primary information and saved to the custom form. W

How to set up Firebase Cloud Messaging via APNs using an already registered bundle identifier?

The docs for setting up FCM via APNs state that you should copy the bundle identifier from your application (under the "Registering an App Identifier") section,

carousel only with pure javascript - cannot figure out some things

I have a really important project to present next week and I cannot seem to figure out how to do a simple carousel with js and css. I have always used bootstrap

How can I solve this loop function?

L 36 [L 4 [F 100 R 90] R 10] Explanation : This program first loop 36 times inside the closed paranthesis and inside 4 times draw F 100 and R 90 (basic square d

How to implement Modular Exponentiation Code

Please I was learning from the book Introduction to algorithm (Chapter 31 page 957) and came across this pseudocode. This pseudocode is how we can implement the

Set numbering value with python-docx

Is there a way to set the numbering value of a numbered list with python-docx inside a word document? I created a word template that has a custom style that gen

Signal and Wait in C#

In the below application there are two parties that are calling ChannelReservationCache to fetch or add information. I want to use the "signal and wait" thing i

Preg_match function in PHP 8.1 does not work properly

I am using the preg_match function in PHP 8.1, but unfortunately, this function does not give me any output. I am looking for @extends('admin.layouts.app') in m