Latest Questions

Error: Element type is invalid thrown by reactjs

for the code below in next.js index page import { Typography } from '@mui/material/Typography'; import { createTheme, ThemeProvider } from '@mui/material/styles

What is the purpose of additional diamond parameters in a method signature (that look like an additional return type(s))? [duplicate]

I have the following class which builds: public class Test<T> { public T DoSomething(T value) { return value; } } I can

C# LINQ Filter records in child tables

I have a main table "SALES" and two secondary tables "PRODUCTS" and "SERVICES", I need to select only the records in "SALES" that contain some product or servic

How to integrate backspace functionality in a program?

I have created a program that prints a character whenever that character is pressed but when i press "backspace" button to remove the last entered character the

JavaScript How to create elements into each created element?

I'm trying to put a content div into each parent div, but this way it puts all the content divs to the first parent div, not each parent div. I've tried to do i

How to copy a file from SFTP to S3bucket

I am new to coding.I wants to copy a file from SFTP server to S3bucket.I don't want to copy it in to my local..I am trying to do this in Java springboot.Is ther

How do I type hint a method with the type of the enclosing class?

I have the following code in Python 3: class Position: def __init__(self, x: int, y: int): self.x = x self.y = y def __add__(self, oth

Javascript and bootstrap won't work together

I have a product list, I made a js file which ads filter buttons and a search bar which works well but when I put it in my html file it stops working because of

How to improve message processing faster in spring boot and MQ app?

Got a small spring-boot messaging app that receives a message from the queue and inserts/updates a row in DB2 table. Noticed this week it received lot of messag

Unable to install and run Android Emulator for VSCode without Installing Android Studio

I'm new to VScode and Flutter development. I'm attempting to install and run an android emulator in VScode without installing Android studio. The following is t

Trying to understand this potentially virus encrypted pyw file

Today I realised this .pyw file was added into my startup files. Though I already deleted it, I suspect what it may have initially done to my computer, but it's

Bicep isHnsEnabled Cannot be updated

We are in the process of upgrading our ARM Templates to Bicep, one of which is for storage. In the initially ported Bicep file, everything worked fine and then

Migrate Gitlab repo to TFS (Azure DevOps) include history and branches

I've been searching the entire day and haven't found any answer yet. I found how to migrate from TFS to Gitlab. I wonder if there is any easy way to do the oppo

How to export application oracle apex with all data in all tables using supporting objects?

I want to export/import an oracle apex application between two different workspaces. i have already tried to create supporting objects then export the applicati

MySQL dynamically find available reservations

I have a requirement to create a room reservation system with dynamic booking slots (a reservation can start at any time and last anywhere from 15 minutes up to

Azure Queue Listener - On-premise Azure Queue Listener

I have a scenario that our Azure environment can't connect to on-premise, but on-premise can connect to Azure. So a service call from Azure to on-premise to be

How can I get output value from the stored procedure in C# using Entity Framework

I have connected a stored procedure to a C# program using Entity Framework with a .edmx model. I am trying to get an integer output value to a variable from the

Simulating expectation of continuous random variable

Currently I want to generate some samples to get expectation & variance of it. Given the probability density function: f(x) = {2x, 0 <= x <= 1; 0 othe

Adding Leading Zeros in .csv file

I am trying to create a PowerShell script that adds two leading zeros to all the numbers in a particular column.This script is able to add the two zeros to the

How does WhatsApp use and manage the storage. some of the files are stored in android/media, some are in DCIM, and some are in app-specific storage?

I have some doubts regarding the storage in the android! I am making a messenger like WhatsApp and am stuck in the storage part? Please help me! I am open to su

Changing a variable initialized in the outer scope after fetching using mysql

I'm trying to make a history page where users can see the videos they recently uploaded or downloaded. I'm writing it in NextJS. I'm using Mysql to store the da

Upload Offline Conversion migration to V9

I used to upload offline conversion using following code in v201809 version as provided at https://github.com/googleads/googleads-php-lib/blob/master/examples/A

Is there any way to return the color of a JTextField?

For example if you set the color of a textfield as Color.RED, is there a method to actually return that color? I found a method in the Oracle logs called getCar

How to solve two first order ODEs in which one of the variables contains a list of elements?

I need help with solving three first-order ODEs using the scipy.integrate.ode module with the integration method of the Runge Kutta Method. My problem is that I

adb server version (40) doesn't match this client (41); killing... On MacOS

I am looking my problem solution. I try many method to solve this problem. ( I am using MacOS) I am trying to run Flutter Demo App on Android Studio before the

How to populate array of arrays in react state variable?

I'm trying to add an array to an array of arrays every function run. How can I append the array to my array of arrays state variable? Here is my code: const [vo

Compare HashMap Values structured as List [closed]

I have a HashMap structured like {a=[test], b=[test, test2]} I want to compare entry values (test, test2) with each other and if any entry ha

Converting Geojson to kml using Python

I can convert it kml/kmz to geojson also, creating kml from geojson.. I tried with the below libraries Shapely kml2geojson geojson Source code below.. import j

Use a turtle as parameter variable in function netlogo

I'm trying to create a parameter variable of a turtle and use it for a function. In this simplified example I have two turtle breeds 'cars' and 'garages'. breed

Ardalis CleanArchitecture - BaseEntity & Composite Keys for AggregateRoots

What is the recommendation for extending BaseEntity as an AggregateRoot is I need to have a composite Key? Essentially I need to be able to manage an Entity tha