Trending questions in Edureka Community

0 votes
1 answer

When to use margin vs padding in CSS ?

MARGIN vs PADDING : Margin is used in an element to ...READ MORE

Jun 28, 2022 in CSS by Edureka
• 12,700 points
665 views
0 votes
1 answer

How Can I use "Date" Datatype in sql server?

Your dates are interpreted as MM-DD-YYYY. This ...READ MORE

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

jQuery Get Selected Option From Dropdown

For dropdown options you probably want something ...READ MORE

Jun 20, 2022 in JQuery by rajatha
• 7,680 points
898 views
0 votes
0 answers

How to write into a file in PHP?

I have this script on one free ...READ MORE

Jun 20, 2022 in PHP by Kithuzzz
• 38,000 points
840 views
0 votes
1 answer

understanding sapply function in r

Do you read 2? sapply. Either a ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
824 views
0 votes
1 answer

How can I create a simple page vertical scroll bar without using jQuery?

Surprisingly, there is not a great, simple ...READ MORE

Jun 22, 2022 in Web Development by rajatha
• 7,680 points
808 views
0 votes
1 answer

How to use Aggregate function in R

Where dat is the name of your ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
958 views
0 votes
0 answers

Get URL query string parameters

What is the best way to get ...READ MORE

Jun 24, 2022 in PHP by narikkadan
• 86,360 points
783 views
0 votes
0 answers

What does this mean in PHP: -> or =>

Possible duplicate: where we use object operator “->” ...READ MORE

Jun 18, 2022 in PHP by narikkadan
• 86,360 points
968 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
4,217 views
0 votes
0 answers

How to detect the OS from a Bash script?

I would like to keep my .bashrc ...READ MORE

Jun 22, 2022 in Linux Administration by Korak
• 5,820 points
835 views
0 votes
0 answers

No US HAWAII time zone in Momentjs or nodejs

How can I use Momentjs to adjust ...READ MORE

Jun 23, 2022 in Node-js by Vaani
• 7,070 points
798 views
0 votes
0 answers

Can you use "cin" with string?

To enter a string, I was instructed to use gets(str) rather than cin.  In the programme below, though, I can use cin perfectly well.  Could you please tell me if you can use cin?  Please accept my apologies for my poor English.  The application allows you to enter up to five names and then print them on the screen. The code is as follows: #include <iostream> #include <string.h> using namespace std; int main() { ...READ MORE

Jun 27, 2022 in C++ by Nicholas
• 7,760 points
584 views
0 votes
1 answer

How to get Australia/Sydney timezone offset in javascript/nodejs?

I haven't done any study to find ...READ MORE

Jun 14, 2022 in Node-js by Neha
• 9,020 points
1,145 views
0 votes
1 answer

Problem with sample function in R

The first time works, but after that, ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
810 views
0 votes
1 answer

What is compile-time polymorphism and why does it only apply to functions?

"Compile time polymorphism" used to signify function overloading.  It only applies to functions because that's all you can overload. Templates in modern C++ modify this.  One example has previously been provided by Neil Butterworth.  Another technique is template specialisation.  As an example: #include <iostream> #include <string> template <class T> struct my_template { ...READ MORE

Jun 20, 2022 in C++ by Damon
• 4,960 points
991 views
0 votes
0 answers

ImportError: cannot import name api ,when we try to export swagger specification in python restplus

from flask import json from myapp import api urlvars ...READ MORE

Jul 8, 2022 in Python by Rakshitha

edited Mar 4 140 views
0 votes
1 answer

std::greater on a an std::pair of a double and a class

std::greater is simply a wrapper for a ...READ MORE

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

What is the best way to use a HashMap in C++?

The ordered and unordered map containers (std::map and std::unordered map) are included in the standard library.  The items in an ordered map are sorted by key, and insert and access are in O (log n).  For ordered maps, the standard library often use red black trees.  However, this is only an implementation detail.  Insert and access are in O in an unordered map (1).  It is simply another term for a hashtable. An illustration using (ordered) std::map: #include <map> #include <iostream> #include <cassert> int main(int argc, char ...READ MORE

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

jQuery Animate not working on background-color property

The background color animate can be performed ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,049 views
0 votes
1 answer

How do I add options to a DropDownList using jQuery?

Without using any extra plugins, var myOptions = ...READ MORE

Jun 21, 2022 in JQuery by rajatha
• 7,680 points
829 views
0 votes
1 answer

Mixing JavaScript and TypeScript in Node.js

Combine the following TypeScript compiler options --allowJs Explicitly supports ...READ MORE

Jun 15, 2022 in TypeSript by Nina
• 3,060 points
1,115 views
0 votes
0 answers

PHP is not recognized as an internal or external command in command prompt

I am getting this error when I ...READ MORE

May 7, 2022 in PHP by narikkadan
• 86,360 points
2,732 views
0 votes
1 answer

Abort Ajax requests using jQuery

Instead of aborting, you can choose to ...READ MORE

Jun 16, 2022 in JQuery by rajatha
• 7,680 points
1,070 views
0 votes
1 answer

static memory allocation like dynamic memory allocation

This declaration int r, c; cin >> r >> ...READ MORE

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

Get array of synonyms from natural nodes's wordnet - NodeJS

You can't return values in an async ...READ MORE

Jun 7, 2022 in Node-js by Neha
• 9,020 points
1,577 views
0 votes
0 answers

Consumer is not consuming messages, but service is running, please help me on this

Consumer is suddenly stopped consuming messages but ...READ MORE

Jul 6, 2022 in Apache Kafka by KsP

edited Mar 4 226 views
0 votes
1 answer

How to use the switch statement in R functions?

Switch definitely wasn't intended to operate this ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
916 views
0 votes
0 answers

Open Whatsapp Windows app directly from python program using url

According to this FAQ page of Whatsapp on How to ...READ MORE

Apr 18, 2022 in Python by Edureka
• 13,680 points
1,348 views
0 votes
1 answer

What is this weird colon-member (" : ") syntax in the constructor?

Foo(int num): bar(num) In C++, this is known as a Member Initializer List. Simply put, it sets the value of your member bar to num. There is a significant difference between initializing a member with the Member initializer list and assigning a value to it within the function Object() { [native code] } body. When you use the Member initializer list to initialise fields, the constructors are only called once, and the object is constructed and initialised in a single operation. If you use assignment, the fields will be initialised with default constructors and then reassigned with actual values (via the assignment operator). As you can see, there is an extra overhead of creation and assignment in the latter, which may be significant for user defined classes. Cost of Member Initialization =Object ...READ MORE

May 27, 2022 in Others by Damon
• 4,960 points
1,896 views
0 votes
1 answer

Are these interview questions too challenging for beginners?

As a new employee, I would expect ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
1,277 views
0 votes
1 answer

What happens when prob argument in sample sums to less/greater than 1?

Excellent query. The documentation is ambiguous on ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
834 views
0 votes
1 answer

Online java coding test: compile submitted java code in nodejs

Given that the user's source code will ...READ MORE

Jun 13, 2022 in Node-js by Neha
• 9,020 points
1,158 views
0 votes
1 answer

jQuery document ready function

Posted in: Using jQuery Core $( document ).ready() A page ...READ MORE

Jun 1, 2022 in JQuery by Edureka
• 13,690 points
1,690 views
0 votes
1 answer

Difference between paste() and paste0()

paste possesses 3 arguments. (paste, sep = " ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
978 views
0 votes
1 answer

Java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse

Just follow these two steps: Step 1 Add This ...READ MORE

Apr 29, 2022 in Other DevOps Questions by narikkadan
• 86,360 points
3,140 views
0 votes
1 answer

Windows git "warning: LF will be replaced by CRLF", is that warning tail backward?

 Depending on the editor you are using, ...READ MORE

Feb 16, 2022 in Others by Aditya
• 7,680 points
6,203 views
0 votes
1 answer

How to increase maximum execution time in php

Add this at the top of your PHP ...READ MORE

Jun 18, 2022 in PHP by Kithuzzz
• 38,000 points

edited Mar 5 977 views
0 votes
0 answers

pass character strings to ggplot2 within a function

In order to streamline my work process, ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
721 views
+3 votes
2 answers

Error - 419 Sorry, your session has expired.Post request in Laravel?

Sometimes the cache can also lead to ...READ MORE

Aug 28, 2020 in Laravel by Ishita
• 150 points
32,473 views
0 votes
1 answer

jQuery if checkbox is checked

for jQuery  if ($('input.checkbox_check').prop('checked')) { ...READ MORE

Jun 20, 2022 in JQuery by rajatha
• 7,680 points
845 views
0 votes
0 answers

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

An easy illustration of standard deviation calculation: The ...READ MORE

Jun 27, 2022 in Data Analytics by avinash
• 1,840 points
588 views
0 votes
0 answers

How can I rbind multiple single-value rows to my data.frame?

0 What follows functions as expected: Data.frame(c(1, 2, 3)) ...READ MORE

Jun 24, 2022 in Data Analytics by Avinash
• 1,260 points
718 views
0 votes
1 answer

Add two lines on graph using abline in R

I am using "y 0+x" to fit ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
906 views
0 votes
0 answers

Android facebook login not working with installed Facebook app

Session.openActiveSession(this, true, new Session.StatusCallback() { ...READ MORE

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

How do I format date in jQuery datetimepicker?

jquery datepicker format” Code Answer's $('#timePicker'). datetimepicker({ // dateFormat: ...READ MORE

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

re.sub erroring with "Expected string or bytes-like object"

I tried looping through my function but ...READ MORE

May 7, 2022 in Python by narikkadan
• 86,360 points
2,749 views
0 votes
0 answers

Difference between call by value and call by reference in php and also $$ means?

What is the difference between call by ...READ MORE

Jun 26, 2022 in PHP by narikkadan
• 86,360 points
645 views
0 votes
0 answers

Hashing a string in php

This is the hashed output "bWNgAQW2FLc" I ...READ MORE

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

Salesforce Apex SingleEmailMessage with Template to User not contact

// Pick a dummy Contact Contact c ...READ MORE

Mar 17, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 27, 2023 by Khan Sarfaraz 5,089 views