Latest Questions

React scroll to element (ref current is null) problem

I have a problem I'm not able to solve. The app got a component where a do looping array and making multiple elements off it. Then I want to make buttons in ano

HLS player is not streaming

I have a stream url which is getting from server. The streaming url is working in android and web, but whenever I try to play that ham getting a black screen wi

Add body to luasocket POST request with generic form?

From https://w3.impa.br/~diego/software/luasocket/http.html, there are two ways to make a request, simple and generic. I have gotten the body to work with the s

Create JavaScript event triggers for Google Analytics 4

Articulate Storyline is a software for creating interactive learning courses. I can execute JavaScript triggers in storyline files to track button clicks with G

Material doesn't apply properly to the mesh Unity

So I created a mesh (parallelogram) in code in Unity and i have a prefab of this object with mesh renderer, I tried to apply material 1 to this renderer 2 and i

Unable to find record, no key specified

I am coming across this infamous error in my Delphi application. In my ADODataSet, I have set my CommandType to cmdText, and then set CommandText to SELECT * FR

ERROR `input` must not start with a slash when using `prefixUrl` | Changing Wordpress URL in Gatsby Error

When I move from local wordpress headless CMS to azure headless CMS I get the following errors: ERROR input must not start with a slash when using prefixUrl I h

Health Kit: How to set 'totalEnergyBurned' for workout?

Today I worked for the first time with Apple Health Kit and successfully saved a workout in Health with the basic informations (activityType, start and end). My

React + vitejs + storybook setup

I am trying to setup react that is bundled with vitejs and storybook after running the setup command as per vitejs docs storybook vite builder storybook runs bu

How to connect azure synapse and an enterprise git repo using personal access token?

Im trying to link my git repo to an azure synapse sandbox and Im facing this error Failed to list GitHub repositories. Please make sure account name is correct

Mutually exclusive types in a function signature

Is this possible to achieve with conditional types in TypeScript? type Type1 = { field: string, } type Type2 = { field: number, } // I would like to make

ValueError: You must pass a freq argument as current index has none

I'm using pycaret.time_series alpha module but I have this problem avec launching my experiment. I think this is internal to the module. Can anyone help ? `from

How to implement authentication by use of JSON Web Tokens (JWT)

I'm trying to implement authentication by use of JSON Web Tokens (JWT).I searched a lot in google and GitHub but found nothing useful. Is there any pre-built we

Using Nuke build to push a tag to an Azure Devops repository

I'm trying to figure out how to push a tag after a successful build back to the azure devops git repository. Whether I'm just asking the wrong questions or goi

How to make button which swaps out the title with an input field that allows the user to edit and save the title

i'm asked the following question. "Each article in the array should have an edit button which swaps out the title with an input field that allows the user to ed

How to set cmake, in order to add txt files into working directory as resource?

CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(untitled) set(CMAKE_CXX_STANDARD 11) set(SOURCE_FILES main.cpp) add_executable(untitled ${SOURCE_F

Spring boot - adding a secondary data source causes nothing to get save during a integration test

In a project I am working on we added a secondary data source. This meant adding the entity factory and the transaction manager at the @EnableJpaRepositories. W

Why does SwiftUI View background extend into safe area?

Here's a view that navigates to a 2nd view: struct ContentView: View { var body: some View { NavigationView { NavigationLink {

How to export image links in different columns in WooCommerce?

I want to export the image links of my products in different columns. For example like IMG1 IMG2 IMG3. So i wrote this code below (Not Worked): foreach( $articl

How to capture an authorized payment using PayPal Checkout-Java-SDK?

Docs provides HTTP requests as example to "Capture an authorized payment": https://developer.paypal.com/docs/archive/payments/authorize-and-capture-payments/ Ch

Does Flutter 3 support Webview on Desktop?

Flutter 3 was released recently with Desktop platform support for Windows, Linux and macOS. Can Flutter developers clarify if Flutter 3 also supports Webview on

Is it possible to store a KeyValuePair of a dictionary without the use of a foreach loop?

The syntax for iterating over a dictionary with a foreach loop is: foreach (KeyValuePair<key, value> item in dictionary) Inside the foreach loop the key

How to freeze an SPL token?

so confused with the spl token docs here - https://spl.solana.com/token. Can someone tell me if it's possible, using the js lib - to create a spl token (specify

Steps to integrate fabricjs into existing application

There exists legacy application having 3 canvas. First canvas to display objects which is stored in container, second canvas when object is selected and third o

Do not want to show all datatypes in listview, is there a chance to hide some datatypes?

I want to show just tree dataypes in my list view.(GeometryNode, ToolNode and StockNode). But my item source has 5 dataypes. How can I filter this datatypes? My

Disable azure durable function in staging slot

I have a function app (a service bus trigger function and it is a durable function containing a starter, orchestrator, activity functions) with a production and

Turning incomplete lines into new columns on Pandas

Folks, I have converted a PDF using tabula-py and, due to the formatting (there are two lines with names in each name cell) I get this: col1 name doc col

Colab Session Crashes on importing torch_geometric.data

My colab session always crashes while trying to import torch_geometric.data module. For reference, the code I am writing is as follows: import torch def&n

How can I get Xcode to remember my Git credentials?

Does anyone know how to get Xcode to remember Git credentials for a Git repository that is not hosted on Github or Bitbucket or Gitlab? My company uses Beanstal

Is there a way to execute an EC2 Action with a CloudWatch Alarm in Terraform?

Following this guide: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingAlarmActions.html I have alarms created to alert me on StatusCheckFail