Latest Questions

How do I clone a AWS instance?

I had a developer create a react app and he hosted it on AWS. He never sent us the code and stopped responding. I'm trying to edit a few things on the app but I

Automapper - Map setup from collection<double> failing

I have a Automapper setup that was working on the v10 version but since i updated it to the latest v11, it wont work anymore. I have no clue what could be the i

How can I request turn on the location?

I have previously requested location permission in Android Studio (Java) for Android version higher 6.0, and now I want to request to turn it on. On the other h

compilation problem while trying to iterate a class of ArrayList<Obj>

I have a class to generate an Arraylist it all seems to work but in main it produces a compilation problem which I guess does not recognize my variable name as

How to write a TXT from multiple sheets, same range, into one file?

I am a real novice at VBA, so any help would be welcome. I am trying to convert certain ranges across multiple sheets into only one file. I have written code fo

apt-update in Azure Nvidia gives publickey error

I started a NVIDIA VM on AZURE and trying to do update using sudo apt update but gives error: Hit:2 http://azure.archive.ubuntu.com/ubuntu focal InRelease

Unable to execute "trunk serve"

I was getting into Rust and looking at these simple instructions for Yew framework (a frontend framework for Rust). (Found at: https://yew.rs/docs/tutorial) I f

How to find the cause of occasional slowness in .NET WebApi

I am investigating some occasional slowness in a aspnet Webapi method (.NET 4.8, not core). The symptoms are that most of the time the API responds in a few ten

How to search nested hash of arrays and arrays of hash and return multiple matching objects from the parent node?

Say I have the below ruby hash nested hash_or_array = [{ "book1" => "buyer1", "book2" => { "book21" => "buyer21", "book22" => ["buyer23", "b

Determine butterfly subtopologies in a network topology

I recently got a project where I have to identify all the butterfly subtopologies in a network. The network has to be implemented using a graph. Fortunately, I

How do I replace values in a category by group in R

Hi I have a dataframe sleep_data where I am attempting to change Id values to user1:user33 based on groups. So where Id == 1503960366 change to user_1, Id == 16

Can't perform a React state update on an unmounted component. memory leak in my function

this is the image Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, can

RLE ALgorithm in python

like the title suggest I want to do an RLE algorithm and I have few problems with that for example in RLE algorithm if we take aaaabbbccd it should return a4b3c

How can I tell another script to instantiate a special prefab in Unity?

I have code that generate order of obstacles: using UnityEngine; using System.Collections.Generic; public class GroundSpawner : MonoBehaviour { public G

Gnuplot heatmap interpolation with svg

I am trying to plot a heatmap using gnuplot (5.2.8) with the SVG terminal. Gnuplot interpolates the colors between the center points of the cells. When I use th

How to handle data in development, staging and production databases?

If you have a local database, Staging/UAT database, Production database 1)Say 10 developers have the database script to generate the database (I'm using liquiba

What is a good microservice-friendly technique for refresh token security?

I've got an OAuth2-driven authorization system for the applications in my ecosystem using the Auth Code flow. At the moment, it is working extremely well follow

Find a pattern in middle of multiple sentences

I have a dataframe as below, data = [ [ 1, 'AR-123456' ], [ 1, '123456' ], [ 2, '345678' ], [ 3,'Application-12345678901'], [ 3, '1234567890

How to generate RSA PKCS5 keypair in Javascript?

I need to create a set of RSA keys (public+private) on the client (javascript), send it to the server (Ruby) that uses those keys to encrypt data, which is sent

error generating documentation my component

I have created a backstage scaffolding template to create a Spring boot rest service deployed to AWS EKS. When a component is created from it in backstage the c

Error message while adding AWS SSO SAML app in gsuite "Can't add AWS SSO. Please try again"

I am facing an issue when adding a SAML APP within gsuite for AWS SSO. We are using google as an external identity provider for AWS SSO. I get the following err

EF Scaffold table name is null

I'm trying to reverse engineer a Firebird 3 database using dotnet-ef scaffold. I tried it using EF Core 5 and EF Core 6. Both do not work but for different reas

CSS Button is not displayed properly

I have written the CSS code below to create a button, the result is like this: HTML CSS OUTPUT PICTURE ATTACHED HERE, there is some kind of grey button around t

What is the formula in SQL to calculate time/ number of days taken to sell x units of a product since its launch?

As part of a dashboard development, I need to know the number of days taken by a newly launched item to reach sales of 1000 units. This is for benchmarking perf

Write empty packets into avi file ffmpeg

A task: I have a trusted video event detector. I trust to my event detector for 100% and I want to write an uncompressed frame to my avi containter only if my e

Django REST Framework Render a result from an hyperlink in API response

I am building an application with a DRF/React stack, and I have a bit of an issue. I am using a HyperlinkedModelSerializer to be able to easily make a GET reque

Dynamic Text under Product Price on Product page in case a variation is selected

How can I create a text A under the product price on the product page in case a variation is not selected. When a variation is selected I would like to have ano

is there any difference between this commands to install webpack? "npm install webpack webpack-cli --save-dev" & "npm install -D webpack webpack-cli "

Hello everyone I´m learning about webpack and i saw this two ways to install it, I was wondering if there is any difference between this two ways: this on

Why is my filtered index not being used for one statement?

I have the following table (an excerpt follows w/o other columns): USE [opg-systems-dev] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [db

Trying to find a graph in matplotlib

I have data that show the difference of temperatures from 1955 to 2020 from an average. I want to make a graph in matplotlib that looks like this: It shows tem