Latest Questions

Whats wrong with my RK4 Orbital Propagator?

I am working in a RK4 orbital propagator, and I have followed the basic structure of: k1​=dt×f(tn​,yn​) k2​=dt×f(tn​

How to match the input image with the ground truth image (the order)

I'm a beginner learning deep learning and trying to do semantic segmentation problems on histologic image using python and TensorFlow. There is 2 main file : Im

PHP array filled by a MySQL query [closed]

I need to fill multiple different arrays by using a MySQL query. This would have up to 16 different arrays. I want to specify each array with

How to add classpath in new version of Android Studio

I updated my android studio version to bumblebee version. Now I want add navigation component to my project. I want add classpath to gradle, but this file gradl

FFmpeg change video speed with -r vs -filter and setpts

If I want to change the video speed with ffmpeg, what exactly is the difference changing the fps: ffmpeg -y -r 10 -i video.mp4 video_new_fps.mp4 or using filter

I pushed .env file in git without .gitignore in my node project. how can I remove it from my github? [duplicate]

I tried this method [https://daily-dev-tips.com/posts/removing-a-env-file-from-git-history/] but still .env file showing on my git repo.

Bookmarklet redirecturl trims off #tag

I have a bookmarklet I use to autologin to certain test sites but I have it to where I can redirect them to specific pages after the login occurs. However the u

Pip Install failure with error TLSV1_ALERT_PROTOCOL_VERSION in RHEL 8

I am getting error when installing packages using pip install on RHEL8 version WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=

Is obtaining the list of all user IDs in a discord server illegal or considered botting?

If I follow the instructions here, would it be considered against Discord TOS? Such as botting or whatever.

Amazon SQS:: Got an error while trying to create queue: NoCredentialProviders: no valid providers in chain. Deprecated

I am trying to create Amazon SQS from my local machine and facing errors like Got an error while trying to create queue: NoCredentialProviders: no valid provide

Receive massages with @aws-sdk/client-chime-sdk-messaging

I'm using @aws-sdk/client-chime-sdk-messaging to make requests to get/send/delete channel messages import { ChimeSDKMessagingClient, ListChannelMessagesCommand

Implementation details of K-means++ without sklearn

I am doing K-means using MINST dataset. However, I found difficulties in the implementation on initialization and some further steps. For the initialization, I

Removing nested variables if there are NAs in certain variables inside the nested variable

I have a dataframe that looks something like this: df <- data.frame(gvkey = c(1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6), date = c(01,02,03,01,02,03,01,02,03,01,0

Specifying fill color independent of mapping aesthetics in boxplot (R ggplot)

I have a lot of categorical variables that are going into a single graph, which is split on a particular status. Something like this, but with many more groups

Laravel Store , corrupted or not all are saved on database

public function patient_aprrovedischarge(Request $request, $id) { //get patient details $patientDischarge = DischargedPatients::where('id'

MetaData Generation Failed while installing PyQt5

I have a similar problem as AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' for PyQt5 5.15.0. Most of the solutions pr

Is there a way to control which vertices connect in a plotly.express.line_geo map?

I'm trying to make a connection map that has the option to use an animation_frame to show different months/years. Plotly.express has this option, but the plotly

Error message "Cannot set properties of undefined (setting 'x')"

I got the error message "Cannot set properties of undefined (setting 'x')" The message directs at this code: function spelareHitRoman(spelare, romans){

SignalR with Angular front-end works on localhost, but doesn't work remotely

I have two Azure Web App Services: front-end (written on Angular) and back-end (written in C# with SignalR). Either of them is placed on its own server, and I a

Phaser3 Scene switching error. How can i do?

I have this error when I touch a wall to change scene: Cannot read properties of undefined (reading 'start') I tried several techniques but none worked, yet I

Common used functions abstraction (correct structure)

I do know that there is commands.js where functions can be added that we often use but isnt it gets way to messy if we just have bunch of functions in that js f

How to install and use Scrapy within a TERMINAL opended within Visual Sudio Code under Windows 10?

within the TERMINAL window having the prompt PS C:\Rolf\py_scripts I have run pip install scrapy I got the message Successfully installed Automat-20.2.0 PyDisp

Stream, return value of characters that didn't pass the filter

I would like to count the characters that didn't pass the filter, and return this value too. How can i do that? My exc: Within class LambdasStreamExercise, impl

How to use SwiperJS (npm package) in VueJS (CDN)

I have basic problem, but i don't know, how to solve it. I am using Twig templates, where SwiperJS is installed via npm. I import all Swiper dependencies which

Creating a Vector Field Simulation for Random Windfield Modeling

I'm a research undergraduate looking for some guidance as I approach a problem: we need to create a random time varying 2d vector field in Python, with the capa

How to get the name of child realtime database kotlin

I am trying to get the email (in this case [email protected]) however I don't see any method I can use that gets me the name of the child instead of the v

error in publish blazor-wams version.net5 after install visual studio 2022

I'm having a weird issue with publishing my Blazor WASM version .net5 project to IIS Service after I install my Visual Studio 2022 In Console Write This Error :

with python convert csv to xml file

I am trying to read csv file and convert to xml file using python version 3.8. I didn't get the proper solution after referring the link With PYTHON convert CSV

Specify v$session.program for R2DBC Oracle connection

I was trying to set the v$session.program at the connection from a R2DBC Oracle connection (within a Spring application) For now I've tried this but without suc

get Forbidden: 403 Access Denied when do request to transfer data from google cloud storage to bigquery using python

I'm owner in google cloud console. I want transfer data from gcs to Bigquery, but I get "Forbidden: 403 Access Denied: File gs://data/silver/rates/nbu_rates/nbu