Latest Questions

How can I take a generated token from a Test Suite and add it as an Authorization header?

I'm having an issue with a readyAPI project i'm migrating. I'm not a backend-lover so it's quite diff from my perspective, hope you guys have another pov and ca

How to print p variable inside ipdb

I have variable called p and I want to print its value inside ipdb. p = 100 breakpoint() # DEBUG ipdb> help p p expression Print the value of the e

text file upload line by line getting "\r"

hello everyone I want to get the data line by line I have done it successfully now I want line by line plus word by word so I used this code var openFile = fun

Why do I get different output depending on whether I enter the values manually or read a CSV file with exactly the same values?

I'm trying to plot the fall of an object (an optical fork to be precise) as a function of time in order to verify that the law of gravity is indeed 9.81. The di

OmniSharp fails to load properly in Visual Studio Code

I've recently started to write in C# on VSC using the 'C#' extension by Microsoft and I've been noticing that intellisense doesn't work at all. Every time I ope

JavaFX [FXML] Keep components in the center of the window when the window is resized

I am using javaFX and FXML file to create a UI. Here is the fxml file. <VBox alignment="CENTER" prefHeight="720.0" prefWidth="1080" spacing="20.0" xmlns="htt

Compress files with same name in powershell

I have a folder with more than 1000 file extensions. This is a sample of my files. AFG.cpg AFG.dbf AFG.prj AFG.sbn AFG.sbx AFG. shp AFG.shx AFG.cpg AGO.dbf AGO.

Python argparse unexpected behavior when passing "``" to the argument string in pysaprk cluster mode

I am trying to pass a string in my pyspark code and it works fine but when i pass the following string to escape reserved keyword `date` or any value passed in

How to set up navigation to a specific page base on FirebaseAuth State?

I want to create an authorization check to display different screens depending on whether the user is logged in. When the user is logged in, then HomeScreen ()

Unable to set theme in latest MUI v5 with ReactJS

I am building a small, simple Wiki for myself; just started learning React, although I've been working with JavaScript before. I cannot seem to set the theme. I

multistep form with fieldset is not going to next fieldset even if required field is filled

I have a multistep form with fieldset, but on the next button click, it is not going to the next step it still shows the required field is empty. Blade <form

Cucumberjs Parallel execution-for 3 or more instances - Only one usage of each socket address (protocol/network address/port) is normally permitted

I am trying to execute Cucumber-js feature files in parallel. Providing number of parallel runs in cucumber.js file let runCucumber = [ --parallel 3, It runs fi

Alert function for order blocks

I recently started trying to code in Pine on my own and built my own OB indicator with help from some other indicators. I know want to add an alert, that is tri

communicating with serial virtual COM port using python

I have written snippet below to communicate (send a simple '1' character) with serial virtual COM3 port, which is connected to a STM32 board, using python. But

Why does on_member_join() is not working in my discord.py bot? [duplicate]

I try to run this code below, but on_member_join is not working for me. async def on_member_join(self, member): guild = member.gui

HOW TO GET QUERY IN SQL USING PHP IN SQL TIGGERING

This is my code my $sql variable didn't give query plese help me for this I try this but I couldn't please help me with that <?php $connect = mysqli_con

React Native iOS integration with Microsoft InTune

Is there a way to integrate Microsoft InTune with an enterprise iOS application written in React Native? There is an npm package called react-native-mdm that li

Sagemaker charge from ListBucket

Looking at the breakdown of charges from AWS Sagemaker, I noticed only about 30% of total cost is from actually running the instances, surprisingly ~50 percent

Discord.js client immediately crashing as soon as a member joins

I have a Discord bot that is supposed to check the user info of a server member as soon as they join. Yet, what happens as soon as a member joins is that the cl

Discord Bot Auto Deletes Links In certain Channels

im pretty new to javascript and i tried to get and modify a script that delete link if its not in the list, i tried multiple modification for hours but none suc

PS1.7 Move ProductComments into DisplayProductExtraContent

I am tryng to show product comments list (default Prestashop1.7 module productcomments) into a custom tab called "Comments" But the contents doesn't show.. trie

spark sql Find the number of extensions for a record

I have a dataset as below col1 extension_col1 2345 2246 2246 2134 2134 2091 2091 Null 1234 1111 1111 Null I need to find the number of extensions available fo

Octave error filename undefined near line 1 column 1

I tried to run a function with octave-GUI. I first write a function in 'testFunc.rtf'(in WordPad). function y = testFunc(x) y = x^2 + x^3 The path to this file

Virtualbox: "UUID already exists

I'm trying to install an Ubuntu guest on a windows host with Virtualbox. Whenever I try to create a VM the process fails. I get a message saying the that the vd

Export HANA SQL query or table in CSV

I use a HANA 2.0 database. I want to export a table or a sql query from the database to an external client as fast as possible and using a command line (i'm on

Why does Attr inherit from Node in the DOM?

according to the DOM Core, Attr objects inherit the Node interface, but since they are not actually child nodes of the element they describe, the DOM does not

Hide and show element and stay with the same option selected

i have this code if checkbox is checked i need to show my front_dashboard_custom_formula div and hide front_dashboard_formula_formula_id and set select null if

How can I add "TrustServerCertificate=Yes"; or "Encrypt=False;" to a SQL Server RDS in AWS?

While trying to run my migrations in a Laravel App I have in an EC2 server, I run into this error message. SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL

Dart 2.17 has warning when using code snipplet

I just update dart sdk to 2.17 and when I use snipplet (in VScode) to auto generate code for Stateless/Stateful it auto import these two package. But it tel