I need to perform a series of FBrequests. Basically it is an array which for each item I have to make a FBrequest. What I need to know is if it is guaranteed that the order of the requests received by the - (void)request:(FBRequest*)request didLoad:(
Is there a more efficient way to do the following bit of javascript? I'd love to trim this down, but couldn't think of a way to do it. Thanks! var sizes = []; //This is a dynamic array from button clicks in an above menu that will include any of ['S'
I'm trying to convert a bunch of Microsoft Word documents, containing a few pictures and many lines of text and headings to Flow Documents. I found this article useful, but I couldn't add images form docx files to Flow Documents properly. A sample co
I am trying to build a customized attendance package for a local college, there are nearly 1300 students, hence I prefer to work with SQL Compact (SQL CE) since it is free to use unlike sql server, please correct me if I am wrong. Also, please advice
I'm new to android programming, so the answer to my question is hopefully an easy one. I have an app that can receive a file from a pc program that connects via the network. This file is then stored internally and used by the app. When the app starts
my problem is I don't know how to rotate a sprite by swipe. I want to rotate it clockwise when I swipe to the left, and other way when I swipe to the right. And how fast I swipe is how fast it rotate, then it slow down and stop. I tried to look for t
I have two string arrays string[] input; //user input could be any size string[] output; //a copy of user input but, should not be larger than 50 if input length <= 50, then output is an exact copy of input. if input array length > 50 then it will c
I want to show the table horizontally like this: | data1 | data2 | data3 | data4 | .... | data5 | data6 | .... For more information, I am using visual studio 2010. and it will go to new line I saw similar question here but it goes to new page instead
My IBM Mobilefirst app connects to the server when its launched. When i try to open the app in offline mode it shows an alert with "The Application failed connecting to the service" with 3 buttons: "reload", "close" and "
I've writte a simple test tool using the .net FileSystemWatcher class. The problem is I got a memory leak because instances of MemoryLeakTest are referenced by the changed handler in the FileSystemWatcher. What would be the correct way of cleaning up
Edit: Looks like I was confusing asynchronous I/O with asynchronous function. This answer on another question also helped me in learning. https://stackoverflow.com/a/6738602/1184321 I'm a bit confused on what makes callbacks not synchronous. So I was
I have a website created in VS 2010 with .NET 4.0. There are multiple projects in the solution. In one of the projects I have a form that gives a user the option to run a console application that is in another project of the solution. (called update.
Can someone please help me to understand what exactly is the "Event" and "Event handler" in following examples? According to www.w3schools.com here is the list of some common events so why some people still keep saying Click event hand
I pull one array from a data and one array from an API. API Array (array1) ... [71] => Array ( [id] => integer [name] => example_name [logo] => url_of_image [lang] => en ) ... Database API (array2) ... Array( [0] => integer [1] => int
Using the find command, I want to see the files in /usr/include whose name contains at least one number. I tried this command : find /usr/include -type f -regex '.\*[0-9].\*$' But the number is not always in the name of the file but sometimes in the
I want to fetch records from database and display it in data tables, but when i run this PHP code in a browser, it only shows records in a simple table. I want this result in jquery data tables for searching and sorting. javascript function for data
Anyway I can use multiple email providers within the same Rails 3 app ? Context 1. Im using postmark for sending out mails currently (using delayed job) 2. Our app also needs to send out some mass emails - for which we will be using a separate provid
I have a project in C language and the teacher ordered to make a Gui of project. I can only use C or C++ for the GUI part. Can anyone please suggest me Some easy open source Graphics Library Tutorial because this will be my first ever GUI. thanksThe
I have this following images in my MYSQL database and I want to search and replace for all occurences following the pattern (everything including the asterisk * has to go but the file extension needs to stay - the number of characters after the * var
How to create custom menu for webview when longpress event occur as shown in image at the top? public class MainActivity extends Activity { private String data; private WebView webview; private String clipdata = ""; private boolean mark_text; @S
when I return from my game activity to main activity I get a NPE. In a function, which isn't even called. (when i tried to write in console before that line, it does nothing) Caused by: java.lang.NullPointerException: Attempt to invoke interface meth
I am trying to understand the behavior of bitwise operators on signed and unsigned types. As per the ISO/IEC document, following are my understandings. Left shift Operator The result of E1 << E2, is E1 left-shifted E2 bit positions The vacated bits
I'm running a blog with Drupal 6 and I have a problem. Anonmymous user see a "Create Content" option under a "Navigation" menu although they don't have permission create content. I've checked in the "permissions" table in the
So i have a form that on paper is 40 pages long. I was going to take the natural sections of this form, and make separate html forms for each section, with the idea that on the first page there would be a first form, then you hit 'Continue to next se
I have a table view which is embedded in a container view on my main view controller. In my main VC I have a Navigation Bar which has a bar button item that goes to another View controller, which for demonstration purposes I'll call View controller 2
return Response()->json(['message' => $input['first_name']]); give me in console my input text How can i save it in database? I try to use $input = Request::all(); $user = Auth::user(); $user->first_name = Response()->json(['message' => $in
I'm trying to simplify a form (using ASP.NET MVC but I guess that might be irrelevant) with a lot of fields. My initial thought was to split it up into tabs, but then I read somewhere that this would be usability hell. Also, required fields would be
This is the html when I inspect element in chrome <html> <head> <title>Please Wait</title> <link rel="shortcut icon" href="images/ajax-loader1.gif" type="image/x-icon"> <style type="text/
I have a data frame (data.frame(test)) in R with the following information. Columns1 | Column2 | Column3 1 | 11 | 33 3 | 34 | 56 4 | 24 | 23 5 | 74 | 64 3 | 45 | 52 2 | 54 | 53 1 | 76 | 92 I am trying to create a new column that is populated by the d
I have a Hashmap in Java like this: private Map<String, Integer> team1 = new HashMap<String, Integer>(); Then I fill it like this: team1.put("United", 5); How can I get the keys? Something like: team1.getKey() to return "United&