Trending questions in Edureka Community

0 votes
0 answers

Purpose of Unions in C and C++

I had previously utilised unions with ease; however, I was startled when I read this post and discovered that this code union ARGB { uint32_t colour; ...READ MORE

Jul 13, 2022 in C++ by Nicholas
• 7,760 points
1,068 views
0 votes
1 answer

TypeScript, Angular & ESlint - Definition for rule '@typescript-eslint/space-infix-ops' was not found

I managed to resolve this by forcing ...READ MORE

Jun 16, 2022 in TypeSript by Nina
• 3,060 points
2,283 views
0 votes
1 answer

How to use CSS media query to scale background-image to viewing window

If you only want the desktop version ...READ MORE

Jun 17, 2022 in CSS by Edureka
• 12,730 points
2,219 views
0 votes
0 answers

PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I'm running MySQL version 8 on PHP ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
2,164 views
0 votes
0 answers

How to replace innerHTML of a div using jQuery?

How could I replace the below code ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 5,380 points
1,515 views
0 votes
0 answers

mysqli_fetch_array while loop columns

I have this code to iterate over ...READ MORE

Jun 4, 2022 in PHP by Kichu
• 19,040 points
2,358 views
0 votes
1 answer

How to use std::sort to sort an array in C++

We receive std::begin and std::end in C++0x/11, which are overloaded for arrays: #include <algorithm> int main(){ int v[2000]; ...READ MORE

Jun 1, 2022 in C++ by Damon
• 4,960 points
2,907 views
0 votes
1 answer

Error using sklearn and linear regression: shapes (1,16) and (1,1) not aligned: 16 (dim 1) != 1 (dim 0)

Based on documents LinearRegression. An x array ...READ MORE

Apr 13, 2022 in Machine Learning by anonymous
5,063 views
0 votes
0 answers

HTML Select multiple as dropdown

I want to use a multiple-select field ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 564 views
0 votes
1 answer

How to delete duplicate rows in SQL Server?

WITH CTE AS ( SELECT *,ROW_NUMBER() OVER (PARTITION BY ...READ MORE

Jun 21, 2022 in Others by nisha
• 2,210 points
2,049 views
0 votes
0 answers

How to toggle class using pure javascript in html

I have a <div>, and I want to ...READ MORE

Jul 26, 2022 in HTML by Tejashwini
• 5,380 points

edited Mar 4, 2025 563 views
0 votes
0 answers

How to choose between map and unordered_map?

Assume I wanted to map data that ...READ MORE

Jul 4, 2022 in C++ by Nicholas
• 7,760 points
1,448 views
0 votes
0 answers

How to set environment variables in Dockerfile via Azure DevOps

My  environment variables look like this: ENV ACCEPT_EULA=Y ENV ...READ MORE

Apr 12, 2022 in Other DevOps Questions by Kichu
• 19,040 points
5,109 views
0 votes
0 answers
0 votes
1 answer

Is this the Correct Way to Access Array Elements in jQuery?

Array elements are accessed by using an integer ...READ MORE

Jun 13, 2022 in JQuery by rajatha
• 7,680 points
2,365 views
0 votes
1 answer

How to define props in TypeScript where a parent component injects props in its children?

Typescript doesn't remove this special rule "!text" ...READ MORE

Jun 16, 2022 in TypeSript by Nina
• 3,060 points
2,253 views
0 votes
0 answers

Jquery Ui date time picker

I am using jquery date time picker and using start ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
1,657 views
0 votes
0 answers

How to add a link in Jquery PrettyPhoto to download the image

I am using Jquery PrettyPhoto to have ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
1,719 views
0 votes
0 answers

HTML 'container' tags - proper usage?

I've been building websites for a while, ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
1,319 views
0 votes
1 answer

Is it possible to change the region of a Google Cloud Platform project?

There is no such thing as a ...READ MORE

Apr 6, 2022 in GCP by Korak
• 5,820 points
5,424 views
0 votes
1 answer

jQuery $(this) selector function and limitations

this isn't a jQuery "thing", but a basic JavaScript ...READ MORE

Jun 23, 2022 in Web Development by rajatha
• 7,680 points
1,923 views
0 votes
0 answers

Difference between set.upper_bound() and upper_bound(set.begin(), set.end()) stl

I discovered that set.upper bound() was quicker ...READ MORE

Jun 29, 2022 in C++ by Damon
• 4,960 points
1,628 views
0 votes
0 answers

How to write a:hover in inline CSS?

I need to write inline CSS code ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 577 views
0 votes
1 answer

Save dynamically created table content in excel file using SheetJS

text inside tr instead of td in dynamic content. This results ...READ MORE

Apr 4, 2022 in Database by Edureka
• 13,690 points
5,377 views
0 votes
1 answer

bashrc not found on MacOS Monterey version 12.0

Assuming that you believe your content should ...READ MORE

May 27, 2022 in Linux Administration by Korak
• 5,820 points
3,072 views
0 votes
1 answer

Auto deduct the payment from account using razorpay in nodejs

To interface with Razorpay APIs, install the ...READ MORE

Jun 14, 2022 in Node-js by Neha
• 9,020 points
2,303 views
0 votes
0 answers

Drop shadow for PNG image in CSS

I have a PNG image, that has ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 571 views
0 votes
0 answers

Explicitly calling return in a function or not

A while back, Simon Urbanek from the ...READ MORE

Jul 6, 2022 in Data Science by avinash
• 1,840 points
1,397 views
0 votes
1 answer

CountifS + multiple criteria + distinct count

Please enter this formula into a blank ...READ MORE

Apr 4, 2022 in Database by Edureka
• 13,690 points
5,371 views
0 votes
0 answers

php convert date to mktime function

I posted a date input $_POST['date'] with format 2013/11/22 and time $_POST['time'] with ...READ MORE

Jun 27, 2022 in PHP by narikkadan
• 86,360 points
1,243 views
0 votes
1 answer

Rails - how to integrate a form with bootstraps css?

Here is how I did it  in my ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,730 points
2,104 views
0 votes
1 answer

How to shorten repeating code with html function and return tags in jquery

Firstly note that replace() only accepts two arguments, the ...READ MORE

Jun 15, 2022 in JQuery by rajatha
• 7,680 points
2,256 views
0 votes
0 answers

Button Center CSS

Usual CSS centering problem, but it's not ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 569 views
0 votes
1 answer

How to get current location in google map android

package com.example.sandeep.googlemapsample; import android.content.pm.PackageManager; import android.location.Location; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import ...READ MORE

Jun 1, 2022 in Others by nisha
• 2,210 points
2,887 views
0 votes
0 answers

Karma, Typescript definition file not loading

I am working on setting up development ...READ MORE

Jun 22, 2022 in TypeSript by Logan
• 2,140 points
1,994 views
0 votes
1 answer

Facebook debugger does not pick up Next.js next-seo meta tags

It's a common pattern to have a ...READ MORE

Feb 26, 2022 in Others by narikkadan
• 86,360 points
6,990 views
0 votes
1 answer

Ceil function: how can we implement it ourselves?

You can disassemble the components of an IEEE754 floating point number and put the logic together yourself: #include <cstring> float my_ceil(float f) { ...READ MORE

Jun 13, 2022 in C++ by Damon
• 4,960 points

edited Jun 14, 2022 by Hemant 2,338 views
0 votes
0 answers

Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?

I've tried every option I could find ...READ MORE

Apr 18, 2022 in Docker by pranav
• 2,590 points
4,562 views
0 votes
1 answer

SQL Server: Difference between PARTITION BY and GROUP BY

We can take a simple example. Consider a ...READ MORE

Jun 21, 2022 in Others by nisha
• 2,210 points
2,003 views
0 votes
1 answer

Python error "TypeError: unsupported operand type(s) for -: 'list' and 'int'"

what he said READ MORE

Dec 12, 2021 in Machine Learning by anonymous

edited Mar 5, 2025 28,824 views
0 votes
0 answers

jQuery: Test if checkbox is NOT checked

I'm having trouble figuring this out. I ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 25,250 points
1,623 views
0 votes
1 answer

Ajax load issues with space in url

You should URL encode the message body ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
2,868 views
0 votes
0 answers

What's the right way to decode a string that has special HTML entities in it?

Let's say I submit a service request ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
1,291 views
0 votes
1 answer

Datatables export Excel

Follow the following steps : Add Interop References. ...READ MORE

Jun 9, 2022 in JQuery by gaurav
• 25,250 points
2,516 views
0 votes
0 answers

How to create nested table in html ?

I need to make an HTML table ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 5,380 points
1,282 views
0 votes
1 answer

Easiest way to convert int to string in C++

std::stoi (and variations for each numeric type) ...READ MORE

Jun 15, 2022 in C++ by Damon
• 4,960 points
2,245 views
0 votes
1 answer

Google AJAX Libraries CDN for jQuery

The Google Hosted Libraries is a stable, ...READ MORE

May 30, 2022 in Java by gaurav
• 25,250 points
2,996 views
0 votes
0 answers

Is there a CSS parent selector?

How do I select the <li> element that is ...READ MORE

Jul 25, 2022 in CSS by Edureka
• 13,790 points

edited Mar 4, 2025 546 views
0 votes
1 answer

Sorting a vector of custom objects

A simple example using std::sort struct MyStruct { ...READ MORE

Jun 1, 2022 in C++ by Damon
• 4,960 points
2,867 views
0 votes
1 answer

What does backbone mean in a neural network?

According to my understanding, the "backbone" refers ...READ MORE

Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
5,544 views