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

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...

Should I Go For Other Programming Language Than HTML for Registration Page Creation?

Is it right that you must use something else than HTML? To make a registration page?

How to export value of a global variable in ejs fileto node module?

Hi .. I am a newbie to node.js . What I am trying to do is export value of a global variable in my ejs file , if the value is greater than 1 , insert data otherwise just display it . Now I can't find a way to use that value in my node mo...

In (Q-Municate) Android Application callActivity is Not Opening?

I am modifying (Q-Municate) application powered by (QuickBlox) but I am facing one problem. When, I receive calling notification; I launch calling activity but it's not getting appear instead application get's open normally but calling ac...

What all the code in this link mean to make Social App?

Hey I wanna make my own social network so I just wonder if someone please can tell me what all the code in this link mean: view-source:https://www.facebook.com/ except line 1 and 2

How to Understand Semantics Bootstrap Package so as to Edit JS?

Having a hard time understanding this bootstrap package. I used NPM to install it. I've done everything in the doc file (which is pretty limited). I'm trying to use the search dropdown. I want to edit the JS because putting it in the HTML...

How to Do Deployment of Repository on Public Server in Node.Js App

Can any one tell me how to Deployment Repository / Scourse Code To a Server ... Like For Localhost:3000  We need to locate our Scourse Code Folder then  Run File on Powershell then Put Commend : nmp install Then after that w...

While creating PHP login script using Javascript Ajax, Why I ain't getting response?

create php login script using javascript ajax ? i have this script for php login and i need to use ajax to login the users but i can not make it work i can't get response form processing page and i use alert function to alert response text...

Why my Andriod app crashes on some devices when clicked on button?

I just compiled an andriod app and its working fine via emulator and also tried using my device 7.0 but after trying to use the app on andriod 4.4 it crashed after clicking on a particular button..I have testes on firebase lab to get errors..test...

Where to Place Audio Files to Get Rid of Not Found Exception Error in JAVA Program?

  I am working on a game in java and I have a class that reads an audio file as InputStream and then plays that file through AudioPlayer. I keep getting a file not found exception. I have tried placing the audi...

How to do styling of a page header layout to fit in tablet & smart phones?

I have this page header and i need to make responsive so it can fit in tablet and smart phones and i need to direct form right to left and how can i use pure javascript to achive that (no Jquery needed)    <!DOCTYPE html> ...

How to Earn More From Uploading Video Other Than Youtube

Those who had good experience in uploading video on other video platform and earn from monetization Please share your experience step by steps with proper method

How to ask for multiple permission at once in android?

How to ask for multiple permission in android at once. I m using below code but it is asking one permission at once, and when I close the app and relaunch it then it asks for next permission. How to get rid of this prob,,,,,,, any help  T...

Why the order-by in hbm.xml is not resulting the sort in UI(jsf)?

The order-by in hbm.xml is not resulting the sort in UI(jsf), where as the hibernate query is printing in console is working correct   I am not able to get the sorted table from the data base,where as the hbm.xml changes are reflecting...

How to update an android application with a totally new application

I used mozilla fennec open source for my project in android application now i want to update that application with a totally new application. Even on signing with same certificate and providing higher version number i am unable to update . It sho...

Where & on Which Line Banned Word Filter Code On Mini Proxy to be Put in PHP?

Folks, Where on Mini Proxy, on which line, would I add the banned words filter code (the code which you see below) so that, when banned words are found on the proxied pages, then the banned words are substituted ? Mini Proxy is here: https...

Persistent Cookie Help Required!

This is a login.php.   The user is given a choice to either input his/her Username & Password or Email & Password. In short, either log-in inputting your Username or your Email.   It is written in mysqli procedural. ...

Why httpS Fails To Load on HTTP Request via Multiparameter in cURL in PHP Code?

Php Gurus! This is a php web proxy called Mini Proxy not written by me. Why do https pages show blank white when I visit any https pages with the proxy ?  I reckon the https pages are failing to load. Why do you think that is ? You c...

openbugs model error

Hi I hava a problem in running my openbugs model my model is: model { for(i in 1:N) { y[i] ~ dpois(mu[i]) log(mu[i]) <- alpha + beta1*x1[i] + beta2*x2[i] +beta3*x3[i] + u[i] + v[i] u[i] ~ dnorm(0, precu) } v[1:N] ~ car.normal(a...

How to Disable (delete) Permissions From App

Hi i want to disable (delete) these permissions from my app <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permissi...

Implement on-click Autocomplete Value While Data Binding in Subgrid - How To?

$("#txtautocompid").autocomplete({ source: function (request, response) { debugger; $.ajax({ url: '../WardManagement/WardResultEntry/autocomplete2', // url: '../WardMa...

Stationary: CMMotionActivity object

I would like to detect the stationary state of the person.He/she is wearing an apple watch. I tried to verify this object, therefore I recorded the data coming from the apple watch while I was sitting motionless however stationary boolean looks u...

How to Solve Array Problem in Java?

Monk was surprised to see a new game called, "Conversion Game". In this game, two arrays of N integers A1,A2...AN and B1,B2...BN are playing against each other and Array A wants to convert itself in Ar...

How To Check For Banned Word On Page With Javascript ?

Folks, I'm trying to add a content filter (banned words filter) onto a web proxy. When the Javascript detects any of the banned words on the page, it should: * echo/print on screen/display a warning to the user: "Banned word "...

Finding Banned Words On A Page And Not Within Other Words!

Php Lovers! I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page. I am not actually looking for banned words within other words but within the page (meta tags, content).  ...

How to Style Page Using Bootstrap?

i need to style this page using bootstrap but i can't get that i need to style the tags with black border and i need to add some margin to the top and the bottom of the container <?php require_once ("../templates/header.php"); ...

How to write a function that looks up values from a table within a range?

In the database I have a table for Users, and one table that is used as lookup. it holds scores and values.  i.e 10 5 15 6 20 7 After form submission, on the Users table a value like 12 is persisted. What I need is, a function to g...

Login With Username or Email And Password - Cleaning Up The Reg Page

Php Folks! You know others in other forums suggest I use regex but yet again they never provide sample or I reckon many don't know the regex. I will mention your sample on other forum and link back to this thread. Hopefully, a lot of newb...

How to Code cURL PHP Script to Auto Type In Search Box & Click Search Button?

Hi, I want to build a cURL script that auto searches a keyword on any site's search feature. In this example, imagine I want it to search ebay.com. How should I code it ? What is the code that: 1. Types a keyword in the search box; ...

How do I implement my ideas for an interactive CD ROM-inspired business website? Help!

Hello 'nerds'!   I have been recently inspired to create a website for my music project (a place where you can look at news, concerts, buy things etc.), but it is not a simple layout and there are many elements of it that I don...
prev 1 3 17
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: