Latest Questions

Implementing a search query inside a filter

I've been trying to implement a search bar inside my application, but I don't know how to query for similar names inside my db. Here is my view.py queryprms

How to receive the IResult param in @after Hooks method in cucumber

How to receive the IResult param in @after Hooks method in cucumber at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:52) at

Adding class to element in v-for loop

I have a v-for loop, and I wanna make background: red; by adding a class. But when I click my action button it coloring all indexes. My goal is if I have 3 elem

preventing the item to add to the dictionary

In addition to this question: I want to create a hierarchical list in a 3 level category. My data are in the following ways: var appCategoryList = new List<A

How to validate a file starts with certain perfix format?

I have a list of files with names like this. ["TYBN-220422-257172171.txt", "TYBN-120522-257172174.txt", "TYBN-320422-657172171.txt", "TYBN-220622-237172174.txt

Seaborn boxplot for classification with pandas wide to long [duplicate]

I have data that I would like to train an ml classifier on. The data is in wide format. I'd like to do a boxplot with searborn sns.boxplot(x='

GAE Connection to SQL: password authentication failed for user 'postgres'

nodejs app on GAE flex deploys correctly, but won't connect to postgres, even though initial knex migration worked and the tables were created. Ive read through

TimeDistributed effect on LSTM performance

I have read in previous posts that using the TimeDistributed parameter in the LSTM model does not change the performance or how the layers work (It only gives a

Command prompt pops up and closes

My command prompt opens up randomly for like 10 seconds and then closes. The title says npm. I don't know what is causing it or how to solve it. Do you guys hav

Can you have an HTML list where you choose the number value of each individual bullet?

I need to be able to generate an HTML list like (1) sdkfljsdlkfj (4) lksdfjlksjdf (2) lksdjfklsdjf (7) sdklfjlskdfj (16) sdklfjhlskdjf The parentheses aren't ne

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