Latest Questions

Azure managed application: How to allow resources in the application access each other with system assigned identities

The way we use Azure Managed Applications is to offer an end-to-end solution to the customer. We must be able to hide the intellectual property, while offering

How to map PagingSource to another object

I implement paging 3 follow this codelab. codelab But when i create UserPagingRepository, i have problem that data class is not map. In Room DataBase, i use Use

Replace contents of an item in a list using Kustomize

I'm having difficulty trying to get kustomize to replace contents of an item in a list. My kustomize file apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kust

TypeError: Class extends value undefined is not a constructor or null while using stream-browserify

While using stream-browserify to import Transform class and extend it in the code causing the following exception in the browser console AudioUtils.ts:52 Uncaug

MPI communication problem, passing wrong values

I have just installed OpenMPI-4.1.3 on my Ubuntu 22.04 64 bit OS. I tested the MPI communication with a sample. The idea is that all ranks sends its rank ID to

add collection to firestore with kotlin problems

I am trying to understand and use firebasefirestore from android studio with kotlin. I have been following tutorials from the official docs, and from udemy and

Is it possible to perform an automatic action on the order when using a coupon? - WooCommerce

First of all, I will try to explain my problem. Basically, I have an online store built in WooCommerce and, so far, everything is working properly. In parallel

data format to predict with model fitted via Sagemaker's XGBoost built-in algorithm and training container

Looking at the following code, taken from here, I wonder what format dtest is (sorry I could not gleen this from the post): import pickle as pkl import tarfile

How to add the value passed in the view to a href attribute in a pug view

Here is the function passing the data to the view I don't understand what i am doing wrong that i receive an error at this line when the view is loaded a(href="

Angular RouterModule - getting 404 on page refresh with path defined in routes Azure Static Web Apps

I had created child components to lazy load based on nav menu click which has paths "HTML". The app-routing.module.ts has the following routes defined, const ro

Saving PDF file in SQL Server using Golang

I'm having issue in saving a PDF file in SQL Server database using stored procedure in Golang. Below is the code. tsql := fmt.Sprintf("DECLARE @tmp varbinary(ma

C# WPF Datagrid slow Scrolling

I have a problem with scrolling my datagrid. I am using a WPF C# application with the 4.7.2 .NET Framework. I load about 5000 datasets into a datatable, which I

Why history on chrome not working when added a new state?

I have pushed some states into browser but when I clicking on the back button browser it can not navigate to previous state. Although, I clicked and hold on the

how to apply displacement map to a vertex shader in Webgl?

Hello I have an image of displacement like this. I want to make the surface displace more when the part of image getting darker. Here is my code in vertex shad

Every time i refreshes my app it logs out even though i've used this onAuthStateChanged. Below is my code of loading screen

I'm using this screen to navigate between two screens by using the onAuthStateChanged but still every time It refresh the app it logs out even though I'm not lo

How to get numbers to cycle around specific range in JavaScript?

I have this which isn't working, for cycling like 1 2 3 4 5 6 7 8 9 1 2 3 4 ..., cycling between 1 and 9. const cycle = integers => { let i = 0 let x

Using a multiple arrays in order to find the lowest "Ranking" in an character defined ranking system

Wordy title but I was interviewed on this question, couldn't derive the answer and really would love to better understand array usage in excel. Question: You ha

Trying to refactor React App to React-Redux issue w/ volume slider

I've been doing freecodecamps Drum Machine app. I was able to complete the app completely with React but I made a copy to try and get familiar with using react-

extracting holder exponents and singularity spectrum from signal in python

Is there any way of computing the holder exponents and singularity spectrum of a signal using multifractal 1-D wavelet leader estimates? Matlab has dwtleader: h

Data-content gets stuck on hover (Bootstrap)

Whenever I hover over an element and data-content shows on hover, if I scroll fast or quickly, the content gets stuck on page even if I scroll. enter image desc

Nodejs concatenating numbers as a string

This function is triggered on button click nextPage() { this.tweets = [] this.$route.query.page += 1 this.getTweets() }, What it's doing is resetting arr

How to you check whether Hardhat is installed locally or globally. And how do you uninstall a global Hardhat installation?

How do you check whether Hardhat is installed locally or globally. And how do you uninstall a global Hardhat installation? Thanks!

Compute a function whose arguments stored in rows of a data frame in R

I have a very long function whose arguments take in different threshold values for different variables and give an event study result at the end. I want to comp

AttributeError: 'list' object has no attribute 'i_sd'Which function can be used to get values from a Callback Class

The callback is called when specific events occur in an environment (e.g. at the beginning/end of a reset and beginning/end of a step). I have written a stub of

React - .map returning not a function?

I was following this example: https://reactjs.org/docs/faq-ajax.html But my code is returning weather.map is not a function? function App(props) { const [wea

Sql Database sync error in azure Database Sync Group

I'm trying to connect my local database with online database. I've followed the full procedure but Database Sync Group is showing a log error of following type

next-sitemap "Error: Expected ';' on Windows 11

Trying to get a sitemap made for my Next JS site using next-sitemap. From my research, next-sitemap doesn't work on Windows without including cross-env. Any sug

How to get right msg.sender calling from contract instance a.foo() and have all secure from 3rd parties

I got stucked in thoughts guys and I need bit of clarification to move it forward. (Description is about real problem, code is for best (I hope so..) understand

How to know if the file end with a new line character or not

I'm trying to input a line at the end of a file that has the following shape "1 :1 :1 :1" , so at some point the file may have a new line character at the end o

How to save SHA256 object to a file?

(I'm doing all this in python 3.10.4 using pycryptodome) I'm trying to do this process: Get a hash of a file Save that hash somewhere Load that hash and perform