Integrating facebook SDK to to SDL2 android project
Vote count: 0 I am a newbie to android development and am facing problems. I am trying to integrate the Facebook SDK to my app. My application is a game that uses SDL2. I am using ant to build my project and integrating the facebook sdk manually. I have performed the following steps to integrate it ...
Prolog Same Expression but different result
Vote count: 0 hello i wrote a code but need help. kip(A,B) :- A#= 2*B. ?- kip(100,L). L=50 I wrote almost same thing differently. kip_v1(A,B) :- A#= (B+1)*(B+1) - B*B -1. (B+1)(B+1) - BB -1 is 2*B is same for kip but this does not give 50: ?- kip_v1(100,P). P+1#=_G12699, P+1#=_G12711, P^2#=_G12723, ...
find values of given key in an unstructured text data
Vote count: 0 I have some healthcare data and need to find key value pairs from this data set. I have pre processed the data (i.e. remove stopwords , stemming etc. ) and it looks something like this : 1. chest clear 2. chest b lclear 3. chest pt incent spirometri 4. chest nad 5. pain left chest 6. s...
Search Image in DB by foto (C#)
Vote count: 0 Is possible to get a image from DB by searching by a foto? the Idea is to use a phone to take a picture and upload that picture into a app who will search for similar imagens in a private data base. For example i want to search for a lamp, i will take a picture of the lamp with my phon...
Dynamic linq and configuration file
Vote count: 0 I have two class : public class Customer { public string FirstName { get; set; } public string LastName { get; set; } public DateTime Date { get; set; } public bool isActif { get; set; } public Quantity Quantity { get; set; } } public class Quantity { public string Color { get; set; } ...
Qt custom tree model display correctly but buggy and slow
Vote count: 0 I'm trying to implement a model in which different first-level parents have a child tables of different sizes. In this code there is only one first level parent index and child table of 8 by 8, and the application when displaying clearly buggy and slow, although the data is correct. Wh...
Call web service in java code
Vote count: 0 I use CXF library to invoke web service in my code.I use this code but it gives me error : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun....
"module" cannot be resolved - Eclipse
Vote count: 0 So I've been working on a modded Client for Minecraft but I can't fix this thing.(Please don't blame me if this is a obvious fault, because I'm really new to Java and I don't know much.)Eclipse says that "module" can't be reached and first I thought that I didn't imported the right thi...
Can't make test execute
Vote count: 1 Folders structure: . ├── db.sqlite3 ├── homepage │ ├── admin.py │ ├── apps.py │ ├── __init__.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ └── views.py ├── manage.py ├── photoarchive │ ├── admin.py │ ├── apps.py │ ├── __init__.py │ ├── migrations │ │ └── __in...
Looking for a Banking API for Personal Loan info
Vote count: 0 I am looking to build a loan calculator, it would send the loan amount, number of months, credit score range, and state. I ca ot seem to find anything that would retu this information. There are websites like creditkarma and bankrates that has a loan calculator that retu loan rates fro...
using angular $http and php to retrieve data
Vote count: 0 i can send data to mysql table and it is working good. now i want to get that data. i tried this code but it doesn't show any data from mysql table. can anyone help? maybe there is a different way? thank you PHP code: <?php $con = mysqli_co ect('localhost','root','','hamatkin'); if(!$c...
How to load pop only once for a user?
Vote count: 0 I have used the below code to load pop on Page load,i dont want it load everytime a user refreshes page $(function () { var overlay = $('<div id="overlay"></div>'); overlay.show(); overlay.appendTo(document.body); $(document).ready(function() { $('.popup').show(); $('.close').click(fun...
Unable to delete table from sqlite database in iOS
Vote count: 0 I have written a delete query in applicationDidEnterBackground Appdelegate METHOD. But when i stop the simulator it does not delete the database table. I want to delete the database tables when the app enters in the background or when the app terminates. Here is my applicationDidEnterB...
How clear CodeCombat codecombat sarven desert Hoarding Gold?
Vote count: 0 How clear this stage?.. please help me.. Line9 : Type error : Can't read protected property : MoveXY // Collect 25 gold, and then tell Naria the total. // Use break to stop collecting when totalGold >= 25. var totalGold = 0; var coin = 0; while (true) { coin = this.findNearestItem(); t...
How to put 2 containers into 1 container in java?
Vote count: 0 My class has 4 parts of textfields, 1 on the top, 1 on the left, 2 on the right. As I am using containers, so I think I need to put those 2 together under 1 big container so that I can set it's location in "East", but I'm not sure how... private void display1(Container container){ JPan...
How would I make a Yes/No prompt in Console using C#?
Vote count: 0 I'm mostly new to C# and I've been writing code to practice. I've written some code where you enter a line of text, or a "login key", and I want to make it where you can confirm that login key. Here's the code I've done so far, I will use "//" on the part I'm stuck on. (Wont include an...
can't figure our error 400 for elasticsearch query
Vote count: 0 I'm just trying to use elastic search and I ran this query: curl -XPOST "http://host/logstash-2016.05.19/_search" -d' { "query": { { "match": { "serviceName": "systemA" } } } }' but keep getting this error: { "error": "SearchPhaseExecutionException[Failed to execute phase [query], all ...