Latest Questions

Why do I get this when using pip WARNING: Ignoring invalid distribution -ip?

For the past few weeks everytime I have downloaded a package using pip i get this: WARNING: Ignoring invalid distribution -ip (path to packages) . Any ideas why

Horizontal Calender with SwiftUI

I'm exploring my way through swift & swiftui trying to teach myself. My current challenge is to produce a horizontal calendar that scrolls on a single line

"The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used." when node js app deployed to azure app service

I created azure app service and deployed node js app into it through Filezilla by connecting through FTP. but when i test it in postman using "post" method with

Error: querySrv ESERVFAIL _mongodb._tcp.cluster0.abcd0.mongodb.net

My nodejs app was working fine with mongodb connection and suddenly this error got appeared. Then I tried to connect to mongodb with mongo compass and same erro

Create an azure pipeline agent on linux

I wanted to create an Azure Pipeline Agent on a linux machine, but I met such error - Error reported in diagnostic logs. Please examine the log for more details

Keep ModelState After Redirect inside ExceptionFilterAttribute

I have a Mediatr pipeline behaviour which handles validation as a cross cutting concern, using FluentValidation it throws a ValidationException containing the v

Get user's ids to a list from guild discord.py

Is it possible to get all of the members's user ids from a guild (server)? Edit: I can't use guild, because I need to get the ids when the bot gets online (on_r

Transform array into object with custom properties

I have this array myarr = [ '=title1', 'longText0...', 'longtText1...', '=title2', 'longTextA...', 'longtTextB...', 'longtTextC...' ]; symbo

SIMCOM A7600E trouble receiving UDP packages

I'm having trouble receiving UDP packages using a A7600E modem. I am required to send and receive UDP packages over LTE using dedicated IP addresses. I am able

Updating MySQL database with jquery, displaying update on page

Standard disclaimer--I am brand new to coding and I have never used a MySQL database before. I also do not know PHP (I know that many of the answers on this sit

Grant user permission to bigquery.datasets.create in schedules notebook in Vertex AI

I have a notebook in which I access data through APIs, work with the data and send the results to a BigQuery table as well as to a GCS bucket. Everything works

How to apply test-driven development for storing data on db?

Let us assume that the next feature that I have to develop is to store some data on a database. Following the TDD paradigm, I have to first write a failing test

Props object not working on mounted method

i have preFile variable whitch is coming from props and i am changing on mounted method but when i try to use preFile to pass fileProcess method, for is not not

How to show login page by default after logout?

I want to show my login screen after logout. Currently without LogoutModule after logout my page is redirecting to a blank screen and if I implement it as per t

Telegraf.js custom keyboard how to make a Back button?

I don't know how to return to the previous menu by clicking to Back button. bot.command('course', ctx => { ctx.replyWithHTML('<b>Courses</b>'

Stopping map.on() listener in Mapbox GL-JS

I am having difficulty understanding how to stop an event listener for my map after I set it. There are two other similar questions here but after effort I cann

Java Time & Rest API

I’ve red multiple articles and discussions and still I have some uncertainty: I’m not sure if I should use Instant or any other type to store Bookin

How to scrape sofifa website positions. Text inside of span beautiful soup

So I am webs scraping the sofifa website into a workable csv. Each player gets a column. My main problem is the position section of the website is only exportin

Django and Axios Forbidden (CSRF token missing or incorrect.)

I am having issue with my django server when trying to connect it to axios. It should be a simple fix but I am stuck! I am getting this error from my django ser

Complex keyboard input to child process in C, Linux

Ive been trying to solve this one for some time but im unable to come up with a solution. I need a child process to understand complex WASD keyboard input (with

Moore-Penrose Pseudoinverse of matrix using Singular Value Decomposition

I am trying to compute the pseudoinverse of a matrix in C code. Specifically, I am trying to compute the Moore-Penrose pseudoinverse using singular value decomp

flask jwt extended with status code 401 in React frontend

I am using Flask-JWT-Extended, and Flask CORS with React to make a web app. According to the documents of Flask-JWT-Extended which provide the "Protected" rout

Nextjs Routes are not working when deployed to Azure App Service Linux Instance

I wanted to deploy a nextjs app to Azure App Service with Linux instance. I followed the instructions here: https://developinjay.com/deploying-nextjs-app-to-azu

Can not configure hazelcast monitoring center health check (different port) on GKE

I'm kind of new with K8s things, and now run into the problem that I can not configure health check on Google Cloud ingress/load balancer. The hazelcast man-cen

how to pass many variables in ansible?

I faced problems when I don't know how to pass many variables in with_items: I have these vars: - vars: paths: - /tmp/tecom/python3/ - /tmp/teco

Exceljs vs SheetJs [closed]

I'm working with xlsx file. I've foudn 2 great libraries for it ExcelJS Sheetjs (Community Edition / ProEdition) But I'm not able to decide be

Using library that calls requestAnimationFrame in Angular

I'm using a library (https://echarts.apache.org/v4/en/api.html#echarts) inside Angular that internally calls requestAnimationFrame. When I have chart in idle st

Node.js benchmarking with autocannon npm

I have a api that define liveness by checking sended video file. I want to check server strongness by bencmarking with autocannon. I want to send n requests by

How to add complex inner query to @Query annotaion

normal sql query which work correctly in db in sql developer passing values for bID and period. SELECT * FROM A WHERE abcID IN (SELECT abcID FROM B WHERE bID=1)