Latest Questions

TypeError: cleanUrl is not a function while creating a React Project

Hey everybody I am getting this error after hosting a website on firebase or I am not sure about it. It's the replace-info.js screenshot. I am not able to fi

How to create single platform for all the api gateways used for Rest API

I have a requirement to design a single platform to onboard all the API gateways which are being used by different teams within the project to manage the REST A

How to check for network security config with Androguard in python script

I have an .apk file and want to check wheter the res/xml/network_security_config.xml [1] trusts user supplied certificates. I read into the androguard docuemnta

ModuleNotFoundError: No module named 'telebot' on heroku

This is the official document https://github.com/python-telegram-bot/python-telegram-bot. How do I using pip install python-telegram-bot --upgrade on heroku. Th

Debug Toolbar not showing

I installed: pip install django-debug-toolbar I have DEBUG=True in my settings I have django.contrib.staticfiles and debug_toolbar in INSTALLED_APPS i have STAT

How to use Performance Profiler with Instrumentation on Asp.net Core app in Visual Studio 2022

How do you get instrumentation performance data from an ASP.NET Core web app using VS 2022 tools? We now an app with an ASP.NET Core Web API and MVC app pair. T

Packer error with build from vmx file - "file was not found"

I have a problem that I can't figure out. I'm trying to make my first clone of a VM from Packer (Hashicorp) here is my HCL : source "vmware-vmx" "basic-example"

Azure SFTP server with multiple user accounts which could be managed

I need an SFTP server hosted on Azure. The important thing is that it should support multiple user accounts and their management at runtime ( via an interface o

bootstrap 5 on rails 6 (justify-content-center)

I am a newbie here, please avoid complex answers :) A row was created to center all of its content, it worked just fine. The form submit button and the link_to

Bar plots in dygraphs

I am trying to replicate the below graph to my dataset (df) dyBarChart <- function(dygraph) { dyPlotter(dygraph = dygraph, name = "BarChart",

SwaggerUI is defaulting to version 2 when a Springboot project is generated using openapi generator cli jar

I am trying to generate a spring boot project using the below yaml file with openapi generator cli jar openapi: 3.0.0 info: title: Dealer Management System

TypeError when converting firebase data snapshot to map

I am currently following a Flutter tutorial and the instruction states that I retrieve data from Firestore and convert to a map, the tutorial uses the code belo

query cpu request and limit for each containers in kubernetes context / namespace with kubectl

Is there a way query cpu request and limit with kubectl for each container in a kubernetes context / namespace, just as I can query cpu usage with kubectl top p

How should I design my application to handle large amounts of data?

I am building an application for building sports betting models. Basically users can create their own criteria and backtest their models across historical data.

Try Except is just executing all lines simultaneously (in pyolite kernel with `input()`)

I'm "learning" Python in a course on Coursera, but this lesson doesn't have any explanation and doesn't seem to work at all. As I'm so new, I have no idea what

React - Set state object using args

I have an object saved in a state I am trying to create a function to update parts of the object. function removeError(val) { setPersonsState((prevState) =&

Extract data from XML document using t-sql

I have been trying to extract data from the following xml doc using t-sql on sql server 2019. XML: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9

Why do I need to override the handle_data method in my own class?

Why do I need to override the handle_data() method when it already exists in the library here: https://docs.python.org/3/library/html.parser.html#html.parser.HT

Graph not being displayed on django framework

I want to display a graph using C3 Javascript library which displays future prices of textile raw materials on django framework. When I run the code it does not

NMHDR definition conflict?

in richedit.h NMHDR is defined as follows: typedef struct _nmhdr { HWND hwndFrom; UINT idFrom; UINT code; } NMHDR; in winuser.h, it is def

Get error when using createContext with typescript

I am trying to make a context with hooks in react with typescript like this: // StateGlobalContext.ts import React, { Dispatch, ReactNode, SetStateAction } from

How are Highcharts event listeners handled

I have a react app which shows some chart visualizations using highcharts library. There are some custom extensions used on top of Highcharts implementation. Hi

vector addition in OPENCL /C

I hope you are well, I have a problem with an opencl program, I execute the following program of the vector addition #define CL_USE_DEPRECATED_OPENCL_1_2APIS #i

Flask Unique SQLAlchemy with Flask-LImiter

I want to make a project with flask where you sign up and sign in and then you can make new posts. I use flask-limiter to prevent users from making new posts. A

WHY tf.keras.layers.Conv2D gives different results at each run

I am trying to reproduce my code from online Jupyter Notebook (COURSERA) to my own local environment (Anaconda 3 Jupyter with CUDA installed) All Codes a

How to connect database to data files in Azure Blob?

This resource states that a Azure SQL database may be attached to a database by using the following command: WITH IDENTITY='SHARED ACCESS SIGNATURE', SECRET =

Creating payroll for promotion that is based on two criteria

We have a few coaches who work for us. When a session is booked, the data including the coach's name and student name is pushed to a master sheet. We have crite

Move the cursor to the right next cell, rather than the cell underneath

This is what I want to achieve with the code further down: If I use the RETURN key, the cell right next to the current cell should be selected, rather than the

Do any sorting algorithms or implementations consider partial key matching

Most common sort algorithms define complexity in terms of the number of comparisons, where each comparison is assumed to be independently capable of acting upon