Latest Questions

Make YouTube video embed responsive

I have some videos that are embedded on my webpage from YouTube. The thing is I am using the below-attached code to make it responsive (via bootstrap). It's goo

How to convert array into JavaScript object

I have an array like this (which is similar to a JSON array) of length n: const mainData = [ { phrase: "Phrase 1", categorynumber: 1, optionnumber

Force User input string to turn into lowercase

I am working with React and Javascript I'm not sure where to add the function. I have my input working great--but I realized I needed to add a function or the a

Merging csv files deletes data

I need to choose and merge multiple csv files. All are in the same structure, however the name of file and sheets change. The separator is ; The code merges the

Handling this website which is redirecting to the same url with BeautifulSoup

So I'm scrapping this website: https://www.hepsiburada.com/apple-macbook-pro-m1-cip-8gb-256gb-ssd-macos-13-qhd-tasinabilir-bilgisayar-uzay-grisi-myd82tu-a-p-HBV

getting error when trying to install python3-venv in vagrant ubuntu bionic64

I am trying to install virtual environment in ubuntu (apt-get install python3-venv) syntax correct can you resolve my problem why i am getting below error E: C

SqlException while initializing database, but only on Azure and only with CF Migrations

I'm getting a SqlException when running initialization against an Azure SQL Server database: The server was not found or was not accessible. Here's my Context c

Docker over CentOS 8 Fails to start after prev container with systemd ran

Trying to test docker containers over server with CentOS 8.5 Server. The container has CentOS 7.9 within it. Entrypoint for it is /usr/sbin/init. First launch:

CGAL cmake on ubuntu 16.04 fails

I am trying to run the code of PU-GAN(https://github.com/liruihui/PU-GAN),you can get the program(evaluation code) in (https://github.com/liruihui/PU-GAN).but I

Connecting your own header file in C

Project structure: enter image description here When starting the makefile, I get an error: src/main.c:1:10: fatal error: lib/hello.h: No such file or directory

What should be the value of the sku field when creating Azure NAT Gateway?

I want to create a NAT gateway and there is a parameter called SKU is there in the list of parameters. Here is the code for the same $nat = @{ ResourceG

React - 3 same inputs but only one change it state

I have a custom file input component, which I created to show the preloaded image when the person uploads their file. But the problem is, I'm using this compone

Angular 10 PrimeNG | Cannot assign value "XXXX" to template variable "activeTabIndex". Template variables are read-only

I have create one html component to create tabs using template to render the html, but here I want to make active specific tab from my code. I am using template

Why are my inline divs at different heights?

I am using a grid container on an html page; inside two adjacent divs in the grid I have some little divs. I want these little divs to appear at the same height

OpenCV cannot read manually edited YAML parameters

I manually add a custom matrix to a YAML file for openCV parameters, the problem is it cannot read the matrix and so OpenCV returns none-type. I do not know wha

Hide button before enter valid data, unhide it after enter valid data

{{ Form::label('name', __('Task name***'), ['class' => 'form-control-label']) }} {{ Form::text('name', null, ['class' => 'form-con

Heroku - Run Heroku CLI commands from web dashboard

Is it possible to run heroku-cli-commands like heroku regions from the Heroku Dashboard? I tried to run those in the console, but it did not work..

Azure function app scaled out but the performance of each instance are not equal

I have a durable function app to handle xml file in blob which size is between a few megabytes and hundreds of megabytes. The requirement requires up to 20 file

Facetgrid Formatting and sorting each graph

Below is the code I've created to run the facetgrid graph. As you can see, merged1 is the first dataframe and merged2 is the second dataframe I am iterating on.

I'm using a html.beginform to when i click in a button i go to a diferente Action, but i need to pass the values that i have inside my model aspnet c#

I'm developng a school project using a html.beginform to when i click in a button i go to a diferent Action, but i need to pass the values that i have inside my

WebGL2 how to draw feedback buffer to texture that is passed to shader uniform

Apologies in advance if I don't have all the right terminology, I'm still learning and it takes time to get your head around GPU coding. Anyway, I have a transf

Gitlab upgrade fail 12.1.17 to 12.10.14

I was upgrading gitlab docker image. It's since 11.11.8 to the 14.Y.Z, also follow the document version.(https://docs.gitlab.com/ee/update/index.html#upgrade-pa

Twilio SMS is sent but not Delivered

Twilio SMS is sent but not Delivered I'm using Twilio SMS service in my PHP application. Everything was going well but suddenly, I faced a problem that my SMS w

Express JS TypeError: Cannot read properties of undefined (reading 'id')

I am trying to build a database query with express js to get a recipe from a table that joins a recipe's information with specific ingredients from a third tabl

Firebase React Native Expo login error with google

Error message : (0, _auth.signInWithRedirect) is not a function. (In '(0, _auth.signInWithRedirect)(_firebaseConfig.authentication, _firebaseConfig.provider)',

Validate parameters passed into Constructors during compile time

In a huge project with tens of thousands of Java files there are a couple of Java classes where developers may pass in strings as parameters to a constructor cl

DLQ redrive failed events back to DynamoDB streams?

I have a DynamoDB stream triggering a Lambda, and I want to push any failed events to a DLQ. If the source of a DLQ is an SQS queue, it looks like you can do so

How to setup `vite-plugin-pages`, cannot find module `~pages`

I'm trying to set up file system based routing for a Vue 3 application using Vite with the help of vite-plugin-pages. I created the project using yarn create vi

Why the characters in buffer cannot enter a while loop?

why there is no "*" in output? the input is : abcde[enter key] #include<stdio.h> int main(void){ char ch; while ((ch=getchar( ))== 'e') pr

Why is my create react app giving no output?

I'm doing a tutorial for a basic CRUD app with React and Tailwind, this is my first time setting it up and I'm trying to display a navbar but when i run 'npm ru