Latest Questions

Can't ssh into Raspberry Pi via Wifi. No problem with hotspot

When i try to connect my Raspberry Pi 3 B+ via ssh I get error. I get the IP from sudo nmap -sn 192.168.0.0/24, executed from my laptop Nmap scan report for 192

Create new productpage when new database entry

How can I create a new page when I enter a new product in my database, or hide the parameter inside a normal /.../ ? In this example I will sell Sandles with th

I want to implement only face authentication in flutter

In my application, I want to add a face unlock feature to unlock my application. but as I used local_auth package it takes both figure and face. Like, If the us

how to commit inputs v-model, recived by v-for directive

I don't know how to commit v-models of inputs after used v-for directive. Can someone tell me ho to pass index to computed or any other way of proper way of com

Hi,Why i get this error? Cannot call 'operator ?:' with argument 'expr0'='Candy'

//@version=5 indicator(title='Rsi color', shorttitle='RSI col', overlay=false) theme = input.string(defval='Dark', title='Colors', options=['Candy', 'Dark', 'L

How does Excel calculate how many pixels to add/subtract when switching from "Normal" view mode to "Page Layout" view mode?

If you create a new table in Excel and look at the column width in "Normal" view mode, it will be 64px Now if you switch to "Page Layout" mode and look at the c

I want to show validations messages on popover if there is multiple conditions then it not updating popover content

I want to show validations messages on popover if there is multiple conditions then it not updating popover content. In this form there is 2 field first name an

ApexCharts - Custom bar colour

Is it possible to customise the colour of each bar in a column chart ? This is the kind of data I'm having using React: const [data, setData] = useState([{

JavaScript Google Map API: add marker to the map without new a google.maps.Map object

I found that every time I want to add marker to the map, I have to new a map, which cost money. So I tried to define map outside function. The pseudocode looks

how to check the time using if statement and for loop for my dataframe

here is my statement in jupyter notebook ##check time frame to fill shift feature t2=dfOriginal['From'] time1=np.datetime64('1900-01-01T07:00:00') time2=np.dat

Host docker nginx multiple apps on same host Ubuntu

I want to manage reverse proxy (Nginx) with multiple Independent webapps on the same host. Means I have 4 webapps that are hosted on containers separately via d

How to get all embeds_many items in Mongoid

I'm Using Mongoid and I have two models: class User include Mongoid::Document include Mongoid::Timestamps embeds_many :tickets field :email, type: Str

Retrieving the values from the paramHankel.scaled() function (mixComp package)

paramHankel.scaled() is a function in mixComp package to be used for determining the components of a finite mixed model. For example, the following piece of cod

How to play sounds correctly?

I need to run sounds automatically in React. In order to run sounds, I use a non-standard useSound hook. It creates a button and by clicking on this button the

How to access Redirect Url of Paypal through

Using Paypal for payment it is working fine when I hit html form from a browser then It redirect's me to Paypal page for payment but on other side when I try to

how to repeat a numpy vector to create an array with the rest of array being zeros

I would like the create the following numpy array, based on the following vector e = numpy.array([1,0,0,0,0,0]) a = [ [e, 0, ---, 0], [0, e, ---, 0],

Apply function to multiple row pandas

Suppose I have a dataframe like this 0 5 10 15 20 25 ... action_0_Q0 0.299098 0.093973 0.761735 0.0

Unity Cant Connect to packages.unity.com

I am getting this error when i Try to Open any Project. I am not using any proxy servers. And my windows firewall is OFF. Does any1 knows how to fix this.Error

How to get value of input tag that changes?

Basically, I wrote this function in JavaScript: <script> function getVal(value) { console.log(value); } </script> And this is my HTML input

How to get this single column data into data frame with appropriate columns

I am learning pandas and Data Science and am a beginner. I have a data as following Rahul 1 2 5 Suresh 4 2 1 Dharm 1 3 4 I would like it in my dataframe as Rah

Django for loop in Carousel

I'm trying to add a title to each slide in a dynamic carousel in Django. I have the images functioning properly and working as expected. The title is stacking o

SQL - Returning all transactions based on one value

Using a large table of retail transactions I am trying to review customer purchases where they bought a specific product category. Table example below, customer

Mapping canvas LinearGradient to an image

function show(d) { function normalize(val, max, min) { return (val - min) / (max - min); } var canvas = document.createElement("canvas") var ct

How to make back to the top anchor link smooth scroll

i'm trying to make the back to the top button on click to be smooth scrolling but i'm stuck.. at the moment this code works but its not smooth scrolling to the

Changing XML format based off CDATA using a XSL template

This is the first time I have attempted to use XSL, but from my research this looked like the best method. I have a number of files to convert. I am planning

How can use MediaMetadataRetriever().setDataSource() while MediaStore.Audio.Media.DATA is deprecated to get the path

I'm trying to get all audio files of an android device in addition to cover image of each one of them. MediaMetadataRetriever().setDataSource() should take a pa

Writing an image to a socket in C

I made a server that can serve html to a browser, but for some reason it wont send images. Every time I send an image over the socket, the browser receives some

How to solve 'str' object has no attribute 'lemma_' using Spacy?

I tried to do a lemmatization for my DataFrame using Spacy in python. The code that I used is like this below: # import spaCy's language model nlp = spacy.load(

How to break for loop at the end of a line

Task at hand here is to create a dictionary using specified inputs. First element is key and following elements are values. Input: name, George Mason pa, 100.0,

Consent is required to transfer ownership of a file to another user [Google Drive API]

I have a Google Sheets file shared with 1 user - owner (Gmail account) and 2nd user - writer (google service account like @iam.gserviceaccount.com). I use this