Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to Call Parametrized Method from LibraryCollection Class to Main Class

Hi Everybody!!  I am working on library management system project. Below is my LibraryCollection class. I would like to call my checkOutMaterial() method in the main class.  I need help on how to call the method.  Any help wo...

How to Track Client IP Address Using PHP App?

Hi i'm using this below code for track the client address but this code is working fine on our local server but once i have hosted on live server they are returning hosted server IP not user IP address please if any one knows his solutio...

I Need Some Help to Implement Eulerian Cycles in C Language Program

Hello there! Well, i have a problem. a big one. I need to be re-examined in order to change my major at college. So, in order to do this, the following problem should be solved until 28 May .    > Eulerian cycles. Implemen...

How to Send More Than One Data in PHP Ajax Form

<input type="file" name="file" id="file" /> <div style="background:url() no-repeat"> <span id="uploaded_image" ><img src=" '.$row["carimg"].' " height="150" width="225" class="img-thumbnail" /></span></div...

How to Pass Message in Unity3D b/w LAN Server Only & LAN Client on Different Scenes

Hi, I want to pass message back and forth on client and server which are on different scenes, how can I do that in Unity?**   Following is my Scenario:- I have 5 scenes-     1. BaseScene (2) OfflineScene (3) O...

How to Implement Java Concurrency Code

Java!! Concurrency Code   You have been given a simple API to buy and print postage. Write a program that submits each incoming order to the API and then prints the shipping label.   Unfortunately each call to the shippin...

How to Compare Two Text Files in Java Programming Application

How can I Compare Two Text Files each line with all line in other file separated by two colons in java programming. Text file content should like this: 1.txt : accountsservice :: 0.6.40-2ubuntu11.3 :: None :: amd64 :: None 2.txt : cron...

How to Do Video Casting from Android Webview

There are websites that contain players that utilize the video casting ability. We are able to cast to Chromecast while visiting these sites on a mobile web browser. However, when viewing these sites from within a webview on my android app the ca...

What Operator is Used to Separate the Types of Exceptions in JAVA

What operator is used to separate the types of exceptions propagated in the header of a method or builder when there are more than one?

Unhandled exception type XmppStringprepException

import org.jivesoftware.smack.tcp.XMPPTCPConnection; import org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration; import org.jxmpp.jid.DomainBareJid; import org.jxmpp.jid.EntityBareJid; import org.jxmpp.jid.Jid; import org.jxmpp.jid.i...

How to Remove Error 'No Such Element Exception' From Below Python Code

I am trying to run the following code: from selenium import webdriver # create a new Firefox session driver = webdriver.Firefox(executable_path=r'C:\Program Files\geckodriver.exe') driver.implicitly_wait(30) driver.maximize_window() ...

How to Store & Retrieve Data Without Pinging Server Multiple Times?

Hi,   Hope you are doing great. I would like to know what I can be using in order to not ping the server back for authenticating the user. Where do I have to store the data and retrive it without pinging the server multiple times. ...

How to Write popen() Simulating Function in C Programming?

Hi Friends!   I have a difficulty with a recent task. I have a very little programming experience and although I got myself familiar with each function and understand what each does, I can't somehow compose them together to a ...

How to Get Acknowledgement of pubsub Publish Message from Strophe.js

I am using Strophe.js to connect with XMPP server in angular4. I send message using connectionXmpp.connection.pubsub.publish() method. How do I get acknowledgement whether message is received by subscriber or not. Right now I haven't get any ...

Clone a division and creates a unique id for each created division

I want to clone a division and want that each sub division created should have a different id

Why My Quiz Web App Not Displaying Result on Submit?

Every time I click the button to submit my answers the page refreshes and no grade is shown and I don't know why.   Any help would be greatly appreciated.   My code is below: <!DOCTYPE html> <html> <h...

Why MongoDB on Nodejs Shows Different Results

I want to add a comment object to an array in camps collection. When i console.log the array i find my added data. But then i check my data base, i find that the comments array is empty.       app.post('/campgrounds...

How to Auto-load Classes using spl_autoload_register and Namespaces in PHP App?

I have this simple project built by oop php but it seems that i cant make the autoload class working properly.   I keep getting this error unable to load class. So how can i make the autoloader working in the right way    ...

Can You Provide Android Tutorials or Resource Links for Real Time Tracking Applications?

Hello everyone I have to complete a project based on real time asset tracking can anyone help me with any reference tutorial or any link.   I have already checked codelab tutorial.

Why my If Statement not Working in While Loop in PHP Program?

I have searched and an IF statement seems to be the only way   The only thing is,when i put IF statement in - it doesn't seem to DO the INSERT statement at all, so nothing is being inserted, it's as if it's stopping before ...

User position marker Rotation (Animation) as in Uber app

Hello,  I was reading through this post http://findnerd.com/list/view/Problem-in-Google-map-rotation-in-Android/23827/ and was searching for a solution of rotation issue. I want to implement same as in uber app. https://drive.goo...

Why isAuthenticated() Function In JavaScript App Always Returns False in express-passport?

The req.isAuthenticated() function of api.js always returns false regardless whether the user is logged in or not. This particular function doesn't seem to work. I don't know what to do. I am stuck on this for a long time.   I...

How to Resolve Fragmentation Error in Android Application?

I am trying to create a tab layout . So,I am trying to inject an instance of FragmentManager to pass into the constructor of the ViewPagerAdapter. While doing this I'm getting this Error: Error:(16, 10) error: android.app.FragmentManager c...

How to Resolve Running Session Failed Issue for Python Chatbot App Using Tensorflow

This is where I'm getting the error. I just want to ask what should I do, to make this code running. I'm building a chatbot using tensorflow. And mostly the error is encountered in the if-else statements. So please have a look at it. And ...

How to Get Rid of Oreo Signalr Issue in Android 8.0

Hello, When i am using signalr client sdk in android , but its not installing application in android oreo(anroid 8.0) and error occurs like "Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Fa...

How to Resolve Android Oreo Signalr Error?

Hello,   When i am using singalr client sdk in android studio its working fine emulator API 23, but when i am change emulator API 26 (Android 8.0 oreo) its shown error like "Installation failed with message Failed to finalize sess...

How to Pass a Checked Box Value to URL Without Submit in PHP JS App?

I have a page which is for product filtration I wanted to get checkbox value to the URL so i can make the box check using the URL which helps me to make a link for the particular product . The page does not have any submit button.   I ...

How to Get the Customer Value as Null in An Android App?

Here is my code public class NewAddressActivity extends BaseActivity { private RobotoEditText houseNumber, fullName, phoneNumber, alternateNumber; private RobotoEditText region; private RobotoEditText landMark, town, pi...

How to Combine Inner Hits Using MongoDB in Elasticsearch?

I currently have a dataset that features a nested datatype in products, these are all listed within different vendors. I have various queries that check for search terms within the nested products array, ideally I want to be able to combine all t...

How to Develop a Database Optimiser System?

I have database of shapes, each shape has a color and value.   There are only 6 types of shapes and each shape can be used only once for a combination. Each shape in the database also has a different value, and a different color of sha...

How to do Jsonrequest on main thread or to run adapter view after the request in Android

@Override public View onCreateView(final LayoutInflater inflater, final ViewGroup container, Bundle savedInstanceState) { Bundle args = getArguments(); double lats = args.getDouble(LATS, Lats); double lo...

How to Do 2 Steps Verification with Google Authentication in PHP App

Hi,   I wan to add google two step authentication process (http://findnerd.com/account#url=/list/view/How-to-Use-2fa-Google-Authentication-in-CakePHP-3-and-Above---8-Steps-Guide/33464/?utm_source=hashnode.com).   I have alre...

How to use an argument returned by a decorator in another decorator that is called after the first decorator

I am using two decorators to decorate a function "add_user", the first one @auth_user authenticates the logged in user via json web token request headers and returns the user's information as an argument "user_info" back t...

How to Get Pattern of Even & Odd Numbered Months of Year in Python Programming

I don't know why I get a wrong answer for this question. Help please.   Chef has decided to start a new firm called PatentChef. However, he's stuck with some big legal issues. Their firm has received offers from a lot of compan...

What is API and SDK?

Hello Nerds, I am a non-techie and would like to know what API and SDK mean. Can someone here help me understand these?   Regards, Priyanka   P.S. Please don't copy the answers from Google as I have already lo...

How can I Get Fetched Tweets Only One Time in Python Program?

How can I Get Fetched Tweets Only One Time in Python Program?  And in this case, I don't want to get retweets, or the same tweet more than once.   the following link has the code and a sample of the problem:   ...

How to fix Error:(52,55): Incompatible Types: EditText Can't be Converted to String in Android Studio

bRegister.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { final String password = etPassword.getText().toString(); final String email = etEmail.getText().toString(); ...

How to Solve PHP Connectivity Error with MySQL

<?php if(isset ($_POST['Signup'])) { $file_name = $_FILES['image']['name']; $file_tmp =$_FILES['image']['tmp_name']; $file_ext=strtolower(end(explode('.',$_FILES['image']['name...

How can I Make a Photobooth App Using Python Programming Language?

App must use the smart phone camera to capture image and store that captured image directly in pc instead of saving it into phone storage. Already Tried   https://www.pyimagesearch.com/2016/05/30/displaying-a-video-feed-with-openc...

How to Covert Function Query from Mysql to Mysqli

can you please help to convert the outdated function query into mysqli       function query($querystring)         {                 $this->q...

Solve Extra points in football (Probabilistic Game Strategies and Backward Induction)

The above example is taken from book Algorithms Design and Applications by Michael T. GoodRich (page number 336 to 338 in text book and in pdf it's from 354 to 356, section 12.4.2) http://canvas.projekti.info/ebooks/Algorithm%20Design%20an...

How to Update Members Inside eMail Distribution List Using CSV Input File

  Can the members inside a email distribution list be updated automatically, using csv file as input ? I have an email distribution list , next, I want to add members to this distribution list using csv file as input. note :- the csv...

How to Create Login Function in Python Programming Application

How do I create a login function where their username and password inputs are compared to a text document full of previously registered accounts to see if their input matches any accounts and if so calls another function?   Code so far...

Android: make a view visible in RecyclerView without calling notifyDataSetChanged()?

 Hi,   I have building an exhibition venture. I am utilizing RecyclerView to demonstrate every one of the pictures originating from server. I am utilizing Picasso to stack the pictures into the Adapter. Presently I have an Edit ca...

Can Android Handle Accidental Touch Input due to Sudden GUI Change?

Hi, I am trying to search for Android method which handles the following situation:   When there is a sudden change in the GUI, during a user input, it might be interpreted incorrectly. For example, when user provides touch input an...

Which framework should I use to make desktop app for factory line products?

On Windows or Ubuntu or Android or embedded linux. The similar apps are NI Vision Assistant and VBAI for image processing. I want a framework: 1. it can create controls with nice looking and animation like apps on android. 2. it is effi...

Can I Alter Postfix Notation to Prefix Notation with Small Tweak in C++

Preferred language using C++// Basically the expression below has been converted into a C++ postfix expression. Now i need to reckon the result. I used deque somehow, instead of stack, because i tried using stack and it didn't seem to w...

How to Execute Multiple Insert Queries in NodeJs Application?

I am trying to perform an insert query, use the insertid of the row and then perform another insert query using the inert id. the first query is executing but the second query is not. please help. Below is my code: $("#addopdfrm").subm...

Convert flat multidimensional array into a hierarchical multidimensional array

I am trying to list photo albums where each album contains individual photos. This is similar to categories where each category cotains posts. I have two database tables, namely "albums" and "photos".  The albums table ...

Gradle Sync Error While Connecting to Firebase with Android Studio. How to Fix?

I am trying to connect firebase with android studio 2.2 After adding the dependencies, I am getting the error message "no cached version of google play services 3.0.0 " in offline gradle mode. when i switch to online mode, i am ge...
prev 1 3 18
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: