Latest Questions

No result from hyperpay after integration

I'm trying to integrate with HyperPay for payment . I'm using there demo for test . This is the demo demoUrl And I got this response payment_statusData: {resul

ICMP Golang with raw socket, control message has nil value

I'm playing around with the ICMP raw socket of Golang. I'd like to read the TTL which is part the control message returned by ReadFrom(buffer). Weirdly this val

Moving to the Spring Boot. Migration of logic from the old main class

I am very new to Spring Boot and development, so, I am stuck with a problem. I have an old project that needs to be migrated to Spring Boot. The original main m

Intersection observer - How do you remove a class after leaving the view port

I am adding a class when a div gets into the viewport using Intersection Observer. I just can't figure out how to remove the class when the div leaves the viewp

Webpack is still parsing unused/unreferenced/not-entrypoint files [duplicate]

I have the minimal Typescript+Webpack setup from the doc, with the following files : Files src/ index.ts // only a console.log in here unused.

Open A File From Dialog Box

I am trying to validate the active workbook is the proper workbook from the proper folder in our shared drive. Otherwise, the user will save data and it will no

DnsServiceRegister API issue

I'm trying to use the Windows 10+ API DnsServiceRegister to register a web server to be discoverable. DNS_SERVICE_REGISTER_REQUEST rd = {};

Kotlin - Conditional method name with same parameters (mitigation of code duplication)

Let's consider this code examples in Kotlin: if (isFooBar) method1(arg1, arg2, arg3) else method2(arg1, arg2, arg3) // Or larger example when(enumBar)

Python valueError: setting an array element with a sequence, TypeError: only size-1 arrays can be converted to Python scalars on MLP

I have this dataset (shape is (36,2)). x is a numerical pattern, y is a binary class (0,1) x y [0.2, 0.3, 0.5 ..... 0.5] 0 [0.1, 0.4, 0.5 ..... 0.9] 1 and so

How can I use WordFrequencyData from Wolfram?

Here you can fetch word frequencies from Wolfram but I would like to know how to do this in Python because I am having difficulty finding any code to do this. h

Express server can't read key in Docker container

I am dockerizing a system that uses a pem and key to authenticate with a remote dev server. Unfortunately, it would appear that it is unable to find the file de

Adding new user information from Firebase v8 to v9

I have a code to create user with image and username to Firebase v8 and I can't replace it to Firebase v9. Can someone help me? Thank you! import { useState

Can't find main.dart as entrypoint, how to connect Android project to the main.dart file?

Please don't mark as a duplicate. I have tried to read this Flutter : Target file "lib/main.dart" not found but I have found no answer, because what I ask will

Show nested JSON from API in single Page with multiple lists

Im new in Flutter and i'm struggeling with a nested JSON from API which data i want to show in one single page. I get this JSON from a URL and decode it in a cl

Is there a material TimerPicker widget in Flutter? [closed]

I want to implement a time picker widget to allow users to record duration (hours and minutes) and I also want to show differently depending o

How to save data for each loop?

I want to save the dictionary in Csv or mat file for each loop, the code is from the link FHN equations import scipy.io as sio trajectory_nonauto = {}

Finding the Column

I have an Excel file with more that 5 columns where cell values are TRUE or FALSE. If the cell value in every column is TRUE then in 6th column cell enter "No c

Android Emulator is not getting started automatically when running simple appium on windows machines

Android Emulator is not getting started automatically when running simple appium test. Eventhough I am setting both “avd” and “deviceName&rdqu

Xamarin.Forms : Error running program in debug mode after reinstalling Visual Studio 2019 v 16.11.11 preview 1.0

I had to reinstall Visual Studio 2019 after a Windows 10 crash. My program was developed under VS 2019 16.9.3, and the reinstalled version is 16.11.11 preview 1

DeIndex a URL with a version ending in a hash bang

I just want to deindex or remove the page ending with #!. It is a dynamic page which fetching data from database and rendering on two URLs example.com/detail/29

How to filter an array by deleting a tag?

i'm trying to refilter an array but the path to access the choosen parameter seems to be a bit tricky. The full project is supposed to filter on 3 parameters bu

Why is the twitch api not retuning anything?

I have a problem with this code : const getToken = async () => { const tokenResponse = await fetch( `https://id.twitch.tv/oauth2/token?

Integer encoding format

I've run across some PIN encoding which I'm trying to figure out so I can improve upon a web application used at my place of work. When I reset users' PINs (in

Truffle Chai Assertion Error with Truffle Unit Cases

Problem: facing an issue with the below Truffle test case while trying to Implement the ERC20 token in my contract. contract("Token Test", async(accounts) =>

Identifying multiple Peaks and trough in the data set of % utilization values ranging between 1 - 100

Dear VBA and Excel Gurus, I have a series of data in one column of excel sheet and i want to identify peaks and troughs in that data set having % utilization va

How to use custom schema which is created by us in postgresql rds as target instead of public schema in aws glue job?

I need to move table from aws data catalog to the schema which i created in aurora postgresql instance. I tried this using glue job. I have created connection f

How to include Tailwind CSS styles from React component library into the app CSS bundle?

G'day, I am building a React component library with TailwindCSS and ViteJS. The library outputs each component as a separate JS file, for example: // @component

Matplotlib control text properties for legend title

I have a matplotlib plot with a title in the legend and the properties of the title text I want to control, like the font family size etc. import numpy as np

What is the key scheme and encoding used in GUN?

What are the key schemes, sizes, and encodings used in GUN db? I didn't find a quick answer on searching so am adding the question here. The keys look like: let

How to Get web data based on link in excel cell?

I'd like to create an Excel sheet, where in one column there is a link to a website like this: Link in column A where there is a MAC add in that url that chang