Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


Why are my App tests not being recognized by Django tests?


TclTk library issue while install Rcmdr package on MacBookPro

Error ".onLoad failed in loadNamespace() for 'tcltk'"


When using os.execlp, why `python` needs `python` as argv[0]


What does (void) 'variable name' do at the beginning of a C function?


How to set an axis interval range using Matplotlib or other libraries in python

Python/Matplotlib - Is there a way to make a discontinuous axis?


Declaring array as static won't crash program

Why does a large local array crash my program, but a global one doesn't?


VBScript readline from file and check equal to


One Image to be image source of all buttons and windows icons

How to assign one image to all image sources of buttons


404 error , request resource is not available

Servlet returns "HTTP Status 404 The requested resource (/servlet) is not available"


How to generate a URL for ASP.NET MVC action, including hostname and port?

How do I find the absolute url of an action in ASP.NET MVC?


Why are overloaded inherited static methods ambiguous?

Function with same name but different signature in derived class


Calculate total business working days between two dates


How to make an array of arrays with different sizes in c?


Find the Non-integer value from a List<T> using LINQ or Lambda C#


How to make an option as selected in the list using Jquery in JQM based website

HTML 1st option in select is not render selected item on page Jquery mobile?


How to get the value of this.id in string?


What is a Django "app" supposed to mean?


ScrollView has ambiguous scrollable content height

UIScrollView Scrollable Content Size Ambiguity


How to get uploaded image full path using Java or JavaScript?


"Index was out of range" exception in c#

What is an "index out of range" exception, and how do I fix it?


how to read a new line from a text file in php?

What is the best way to read last lines (i.e. "tail") from a file using PHP?


Is it Ok to call method on NULL pointer instance of a class?

Accessing static member through invalid pointer: guaranteed to "work"?


Eclipse returned error message “Java was started but returned exit code= 1”

Eclipse returns error message "Java was started but returned exit code = 1"


sqlclient fails to execute anything except select statements


How to use a function inside a custom jQuery function

How to pass a callback as a parameter into another function


How to capture the contents of graphics as an image


How to replace forward slash with comma from date

Fastest method to replace all instances of a character in a string


How to pass a Variable through JavaFX Application to the Controller?


Why does the terminal say "invalid operands to binary expression"? C

Why we can't use operator % for float and double type operands?


Why and how does ([![]]+[][[]])[+!+[]+[+[]]] evaluate to the letter "i"?


The simplest way to open a new window to show an HTML or URL?


Check if two classes have the same superclass

How do I determine if a class extends another class in Java?


Python: Joining adjacent members of a list?

How do you split a list into evenly sized chunks?


css property value in percentage not working in safari using jquery

get CSS rule's percentage value in jQuery


Python change dictionary value with values in array

Creating dictionary using list/tuple elements as key


How to horizontally and vertically center align the text in the div?

How to center an element horizontally and vertically


Deploy iOS app with Provisioning Profile that lasts longer than 1 year


Jsonexception - cannot be converted to JSONObject

JSONException: Value of type java.lang.String cannot be converted to JSONObject


Why sizeof('\n') and sizeof(char) not equal?

In C, why is sizeof(char) 1, when 'a' is an int?


how to read a part of xml file in C++ using Libxml2


select the last article inside of a section if it is odd


How to print a variable using string using C++

Easiest way to convert int to string in C++


What is the SQL Select Statement for merging 2 sets of results with the same column names?

combining results of two select statements


Editing the filename in a HTML file input element


How to fix fieldset width and height in Zurb foundation?

How do I disable the resizable property of a textarea?


How to convert a backslash hexadecimal string to a binary string in Ruby?

Best way to escape and unescape strings in Ruby?


iOS 7: MPMusicPlayerController volume deprecated. How to change device volume now?


java.lang.OutOfMemoryError: GC overhead limit exceeded after the service gets executed for a week

Error java.lang.OutOfMemoryError: GC overhead limit exceeded


Why is event.returnValue is deprecated? What's the point of this?

event.returnValue is deprecated. Please use the standard event.preventDefault() instead


iOS Smart App Banner - how to have banner return after hiding

Smart app banners do not appear after being closed on iPad with IOS7


Improve performance of File.IsDirectory()

How to retrieve a list of directories QUICKLY in Java?


Python: Charmap Codec Unicode Encode Error

Python, Unicode, and the Windows console


Why does dispatch_once only get called for the first instance of class?


Python: Call method by instance object: "missing 1 required positional argument: 'self'"

TypeError: attack() missing 1 required positional argument: 'self'


How to create a variable inside a variable's name?


What exactly do we want when we copy a pointer from one object to another of the same class?

What are the differences between a pointer variable and a reference variable in C++?


No type inference with DataRowCollection

Why can't I do foreach (var Item in DataTable.Rows)?


NullReferenceException - Set Image property of PictureBox - Winforms

What is a NullReferenceException, and how do I fix it?


Convert all types of smart quotes with PHP

How to replace Microsoft-encoded quotes in PHP


How to get the name of the calling method?


I totally don't get the result from the R 'order' example


how to produce the most listed item in list in python


Make a two-digit string from a single-digit integer


How do objects inside an NSWindow persist with only a weak outlet to them?

When should I use Strong vs Weak for IBOutlets (further clarification)


Using bootstrap 3.0 modals to load dynamic, remote content within an iframe


How to add an integer value into NSMutableArray?


Is there an expression in `R` for "output of the last command"?


Add a UIButton as a subview to a UITabBar


How to convert Bitmap to BitmapImage for WPF VB.NET

Load a WPF BitmapImage from a System.Drawing.Bitmap


Changing the current working directory in Java?


How to remove items from a list while iterating?


Removing ' ' and returning the list items without ' ' - Python

How can I format a list to print each element on a separate line in python?


Simulating group_concat MySQL function in Microsoft SQL Server 2005?


What is the meaning of the prefix N in T-SQL statements and when should I use it?


How to get the paragraph inside a contenteditable div that has the caret?

CSS: :focus of elements within contenteditable


Learning python the hard way, exercise 1 SyntaxError: invalid syntax


jQuery Ajax parameters are not formatted properly


cannot return css property of HTML element


Xcode: What is a target and scheme in plain language?


can't add current directory to classpath

How to really read text file from classpath in Java


Is it bad practice to not include type="text/css" in style tags?

Is type="text/css" necessary in a <link> tag?


the scope of arguments declared in functions in javascript

What is the scope of variables in JavaScript?


php - session lost after refreshing page


Select single ID in SQL statement with multiple criteria

SQL: how to select a single id ("row") that meets multiple criteria from a single column


TypeError: unsupported operand type(s) for -: 'str' and 'int'


How to avoid having class data shared among instances?


How do I attach events to dynamic HTML elements with jQuery?


How to use OR condition in a JavaScript IF statement?


Moving Content That Is Located Under the Keyboard

How can I make a UITextField move up when the keyboard is present - on starting to edit?


Cron job to run on every LAST Friday of every month

How to schedule to run first Sunday of every month


MaxLength="255" property does not seem to be working?

Specifying maxlength for multiline textbox


Avoid jQuery click function on <a href=""> elements


memory allocation for static singleton class object

Where are static variables stored in C and C++?


How to extract numbers from a string using regex?


How to parse data from HTML and export in Excel in PHP


Zero-filled results for unused (but matching) rules

Boost Spirit Qi: Omit element in Kleene Star parser


Code works in console/scratchpad but not in a Greasemonkey script?

Code working in browser console but not in tampermonkey


Changing theme in android project in eclipse


java:generalized 8 queen to work for any initial state using depth first search

java:implement 8 queen using depth first search


Can I speed up code by moving typeof out of loops?

Efficiency of C#'s typeof operator (or whatever its representation is in MSIL)


Why is 'True == not False' a syntax error in Python?


Use of an unassigned local string variable

C#: Use of unassigned local variable, using a foreach and if


Is there a way to tell if an ES6 promise is fulfilled/rejected/resolved?

How can I synchronously determine a JavaScript Promise's state?


Removing input placeholder on a printable version of an html page


Error when trying to insert a variable from C# into MySQL


error to write text to a text file line by line by appending in C# , but got nothing in the file

StreamWriter.Write doesn't write to file; no exception thrown


Is there a benefit to defining variables together with a comma vs separately in JavaScript?


SQL: get min and max value along with another respective column for each value

How can I SELECT rows with MAX(Column value), PARTITION by another column in MYSQL?


How to block the enter parameter value prompt from crystal report?

Crystal Reports keeps prompting for Parameter


How to concatenate text from multiple rows into a single text string in SQL server?


How can I create UIKeyboard with done button on top right corner?


Assetic dump producing a parse error after installing Bootstrap

Error while executing assetic dump (parse error: failed at `&:extend(.clearfix all);`)


How do you force form validation for all fields on submit?

Trigger validation of all fields in Angular Form submit


Python dictionary switching keys around in dictionary

Why is python ordering my dictionary like so?


Is there a method to pull string variables from a list/tuple etc to serve as variable names for other variables?


Display view from different controller in action

Display a view from another controller in ASP.NET MVC


What is this perl code comparing files actually doing?

Explain this perl code which displays common lines in 2 files


Locate the index of largest value in an array python

Pythonic way to find maximum value and its index in a list?


What is a NullPointerException, and how do I fix it?


What is an undefined reference/unresolved external symbol error and how do I fix it?


Create a simple Login page using eclipse and mysql

Authentication filter and servlet for login


Where can I find documentation on formatting a date in JavaScript?


css width: calc(100% -100px); alternative using jquery


Heat map with Highcharts and csv string data

Syntax to create a heat map with Highcharts


java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView

ArrayAdapter requires ID to be a TextView error


What does the "$#" special parameter mean in Bash?


convert string to array and get value in php


How to add zeros to the left of a number


Why doesn't summarize work the same way in dplyr and plyr?

dplyr: "Error in n(): function should not be called directly"


MySQL really unexpected error. BIGINT out of range


Delete Function for a Menu Driven Program


my application crashes when i start new thread

Application crashes while starting the new thread


Able to see a variable in print_r()'s output, but not sure how to access it in code


How to screengrab current page using JavaScript?

How to screenshot website in JavaScript client-side / how Google did it? (no need to access HDD)


Cannot make a static reference to the non-static method


iOS UITextField the keyboard is not hiding after touching done. Why?

UITextField - capture return button event


I'm trying to find the sum of primes below 2 million in Java

Sum of primes below two million. Sieve of Eratosthenes


How to get the full fraction value of a division result in java?


How can I remove duplicates out of an ArrayList?


I can rotate a 3D body by 90 degrees. How do I iterate over all possible rotations?

How to get all 24 rotations of a 3-dimensional array?


memcmp multiple BYTEs, not finding address

SizeOfImage member causing program crash


Image upload in one click - Onchange not being triggered


How can I get the font names bundled in my iOS app?

List of Fonts Provided by Application (iOS)


How to convert an NSString into an NSNumber


Difference between Nil and nil and Null in Objective-C

When should I use nil and NULL in Objective-C?


is defining a function first more efficient or is it better to def when is about be used?(see example)

can the order of code make this program faster?


How to inject jQuery or JavaScript to an iFrame?

inject a javascript function into an Iframe


Comparing two strings with equal(==) operator

String comparison and String interning in Java


Calling member function of number literal


How to get an object property value when property name is in a variable?

JavaScript object: access variable property by name as string


Dropdown select with background images and w/o Javascript


How do I save a copy of an array before sorting?


How to calculate modulus of large numbers?


Strange results when using C++11 regexp with gcc 4.8.2 (but works with Boost regexp)

Is gcc 4.8 or earlier buggy about regular expressions?


how can i measure more than 16 digits after zero with python?

How to define a decimal class holding 1000 digits in python?


How do I create an average from a Ruby array?


Scanner issue when using nextLine after nextXXX


Shell: find files in a list under a directory


Can i hide some code in Javascript from the user?

How can I obfuscate (protect) JavaScript?


How do you convert a byte array to a hexadecimal string, and vice versa?


Someone has dropped a table in my database. How?

SQL injection that gets around mysql_real_escape_string()


PHP Variable as HTML Link with PHP Function as HREF

How do I run PHP code when a user clicks on a link?


Behavior of lists in python during assignment

List changes unexpectedly after assignment. Why is this and how to prevent it?


Collections.counter of list of tuples regardless of order in python

Count the number of unique elements of a list of tuples regardless of order in Python


How to test randomness (case in point - Shuffling)


Is a partial request possible with GM_xmlhttpRequest?

How to download/read only the first 80KB of a file?


Bash: remove numbers at the end of names.


How to know when all interactive users have logged out?

How to get the current number of interactive user sessions in Windows?


Login in Java shows all users and all usertypes

Get the username and user type in the database to the program Java


What is wrong with this simple running JAVA class?


LINQ query to create a collection of objects combined from a collection of strings


Why is this PHP script working in one subdomain and not another identical one?

Why identical PHP script might work in one subdomain and not another?


Really impossible to use return type overloading?


Why SQL comparison with <> doesn't return the row with NULL value


Share audio to Facebook, making it playable inline

how to share a video from my website on facebook like youtube


Why is the loop assigning a reference of the last index element to?


How to remove/delete a large file from commit history in Git repository?


Undefined function or method 'findjobj' for input arguments of type 'double'. MATLAB

"Undefined function 'function_name' for input arguments of type 'double'."


How can I determine if the same user is registering again in my application?

Prevent users from starting multiple accounts?


<form action> the requested resource is not available with servlet

Servlet returns "HTTP Status 404 The requested resource (/servlet) is not available"


Locating the first item in a list of lists

List of lists changes reflected across sublists unexpectedly


Why isn't this very simple JQuery working?

Register On-Click Event with jQuery - Not Firing


Declaring a pointer to multidimensional array and allocating the array


Why can't I implement a parametrized interface mutiple times with different parameters?

Getting error for generic interface: The interface Observer cannot be implemented more than once with different arguments:


Changing the text of the button (at runtime)


Jquery cannot get value from each function


How to defined constructor outside of template class

Why can templates only be implemented in the header file?


How can I resize an uploaded image in PHP


What does the (unary) * operator do in this Ruby code?


Using Javascript variables within a string


How to fix "Headers already sent" error in PHP


getElementsByClassName() doesn't work in old Internet Explorers like IE6, IE7, IE8


Why do people say that is not recommended using constructors on Servlets/SIP Servlets?

How to initialize a Servlet during startup with parameters?


Efficient load of 2D/4D masked array with h5py

Why file read is faster on reading again?


FATAL EXCEPTION: main Caused by: java.lang.NullPointerException at Home.java:35

What is a NullPointerException, and how do I fix it?


PYTHON ERROR: IndentationError: unindent does not match any outer indentation level


SQL Query to get first two highest column values from a table


How to call Date constructor with arguments (javascript)?

How to construct JavaScript object (using 'apply')?


how to run through each class item and set value to it

how to make foreach loop in MVC to set new value to items.


Setter of h:selectOneMenu is not invoked

Conversion Error setting value for 'null Converter' - Why do I need a Converter in JSF?


Calculate positive fractions in objective-c


Fatal error: Call to a member function prepare() on a non-object.

Reference - What does this error mean in PHP?


How do you allow spaces to be entered using scanf?


Why is the return value not what I expected in this C program with macro?


Locking and opacity not woring with fancyBox JQuery


How do I get a YouTube video thumbnail from the YouTube API?


Formatting my numbers with leading zeros with knockout

How can I pad a value with leading zeros?


How to split a string (input) and each section used as a dictionary value?

How do you split a list into evenly sized chunks?


PHP regex match something not starting with words like "admin", "login"... and so on?

Regular expression to match a line that doesn't contain a word


rand() function in c++ generate even and odd number with a periodic of 3276800 ,who know why?

How to generate different random numbers in a loop in C++?


SQLAlchemy: How to get result in a list while querying single columns of table using all()?

Query for list of attribute instead of tuples in SQLAlchemy


How can I access and process nested objects, arrays or JSON?


Delete Rows from HTML Table After x Rows PHP

How do you parse and process HTML/XML in PHP?


Overflow when multiplying Integers and assigning to Long


What's the difference between the macros "#define STR(x) #x" and "#define STR(x) VAL(x)" with "#define VAL(x) #x"?


What is a NullPointerException, and how do I fix it?


python string with whitespace doesn't point to same memory address

About the changing id of an immutable string


ASP.NET MVC 4 Websecurity.CurrentUserId returns -1

MVC 4 SimpleMembership - Why WebSecurity.CurrentUserId -1 after login


Always got nil value from the function in iOS


How can I get query string values in JavaScript?


Java - How to check if two Date values are X days apart

Calculating the difference between two Java date instances


MailMessage c# - How to make it HTML and add images etc?


Function for flatten a multi-dimensional array


Why does VS not define the alternative tokens for logical operators?

When were the 'and' and 'or' alternative tokens introduced in C++?


Is there a difference between the terms "scalar" and "primitive" in Objective-C?

Scalar vs. primitive data type - are they the same thing?


Are these usages of LINQ's Find and Single methods with lambda expression are equal?

Entity Framework 4 Single() vs First() vs FirstOrDefault()


Why do we need Boolean(boolean) constructor in java?

Why does the Boolean object have a public constructor in Java?


Wrapping multiple server calls using IEnumerable and IEnumerator


Converting a tuple inside a list to a list

How to make a flat list out of a list of lists?


Is there something in Python that is similar to Harmony's let keyword?


memory management in C# for high speed applications


How to sort possibly alphanumeric array in Java?

Sort on a string that may contain a number


Can a method contained in an abstract class be considered polymorphic?

Run-time Polymorphism in Java without "abstract"?


Page refresh required before jQuery events update

Event binding on dynamically created elements?


Why wrap a FileReader with a BufferedReader?

Why is using BufferedInputStream to read a file byte by byte faster than using FileInputStream?


Xcode error - Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]:

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


reading cat file passing to command not working properly

Read a file line by line assigning the value to a variable


How to measure performance in Java developement


Using a php variable in concatenated string in javascript


initializing char array in a function and returning it causes wrong outputs in main

Can a local variable's memory be accessed outside its scope?


How to fix: Fatal error: Call to undefined method mysqli_result::fetch_all()...?


What is the difference between client-side and server-side programming?


R How to separate simple function like“-10.81+2.02” in to numbers eg.“-10.81”and “2.02”?

R: How to split list into several numbers and do the calculation?


I dont understand my result after using findAssocs in R

Math of tm::findAssocs how does this function work?


How to Start a timer in other form in C#


C++: Forwarding the sum of parameter pack and a std::tuple/array


Why does a space in my scanf statement make a difference?


Node.js npm install express failed to fetch from registry

"message failed to fetch from registry" while trying to install any module


Why are these constructs using pre and post-increment undefined behavior?


How to make a list from a raw_input in python?

Get a list of numbers as input from the user


Sending list box items to a servlet using Jquery AJAX

How to send request parameter array to servlet using jQuery $.ajax?


How #define work? Strange result for CUBE(y) y*(y*y)


When iterating through a list of items in AngularFire, how do I get the ID of each item?

How do I get the UID of the new list item I just added to Firebase using AngularJS?


Merge two arrays as key value pairs in PHP


Set Variable to specific element of an array returned by function

Getting element from PHP array returned by function


Is there an easier way to get the lesser of two values in Swift


stop triggering event on child if put on parent

jquery stop child triggering parent event


I can't connect to my sql and my driver is not found

How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools?


Index variable incorrect in onchange event

JavaScript closure inside loops – simple practical example


JSON object parsing and how to escape unicode characters


Writing C function parameter types after name list, and no type for some parameters

Why does omitting explicit 'int' type for a parameter fail to compile in gcc sometimes?


Make Maven child poms have same version number as parent?

Maven project version inheritance - do I have to specify the parent version?


Using a WrapPanel/converting from a grid


How do I convert a java.util.Map to scala.collection.immutable.Map in Java?

What is the difference between JavaConverters and JavaConversions in Scala?


JavaScript string replace function loses class object

How to access the correct `this` inside a callback?


What is a Thread? How many threads does my program have?


"Object reference not set" using FindControl

What is a NullReferenceException, and how do I fix it?


Getting Warning: " 'newdata' had 1 row but variables found have 32 rows" on predict.lm


How to use reflection to determine if a type can be resolved to a number?

Using .Net, how can I determine if a type is a Numeric ValueType?


php ignores if for $_SESSION['variable']


C++ precision and truncation with file stream

C++ precision of numbers and truncation with fstream


python pandas convert string values into rows

Split (explode) pandas dataframe string entry to separate rows


Console.Read() - need string output, not numbers


Raise exception in except block and suppress first error

How can I more easily suppress previous exceptions when I raise my own exception in response?


I wish i could mute shutter sound of camera using ios sdk

AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection?


What do querySelectorAll and getElementsBy* methods return?


How Could Python iterate the directoriy and detect the new files?

Monitoring contents of files/directories?


What is the JavaScript version of sleep()?


Boost program_options Can I create shorthand options with more than one character?


How to transfer control back to the program from where the shell command is called in vb6.0?

How to wait for a shell process to finish before executing further code in VB6


PHP Default Function Parameter values, how to 'pass default value' for 'not last' parameters?


Passing in function parameters that don't exist or are undefined?

How to pass the value 'undefined' to a function with multiple parameters?


Deleting rows in excel using VBA depending on values found using a formula


How to make use of store parameter openerp?

How does one use the store parameter of function fields?


Moving multiple SVN repositories into one

Combining multiple SVN repositories into one


How do you use multiple rails versions with rbenv?


How do you stop numpy from multithreading?

Python multiprocessing: restrict number of cores used


HTTP request parameters are not available by request.getAttribute()


How to develop or migrate apps for iPhone 5 screen resolution?


Python: Reference an object attribute by variable name?

How to access object attribute given string corresponding to name of that attribute


Bash script: syntax error: unexpected end of file

here-document gives 'unexpected end of file' error


What does this regex `str.gsub(/\#{(.*?)}/)` do?

Greedy vs. Reluctant vs. Possessive Qualifiers


How do I get a JLabel to show over a JButton?


JSF action never triggered on h:commandButton (with f:ajax)

commandButton/commandLink/ajax action/listener method not invoked or input value not set/updated


ReferenceError: event is not defined in mozila firefox

ReferenceError: event is not defined error in Firefox


PHP how to retrieve a string inbetween 2 characters?

PHP: Return string between two characters


How do I return the response from an asynchronous call?


Download HTML of any website and echo it in PHP

How can I find where I will be redirected using cURL?


What's the purpose of the LEA instruction?


How to handle infinite loop caused by invalid input (InputMismatchException) using Scanner


Confusion regarding java's multiple inheritance.Please read below

Why is Multiple Inheritance not allowed in Java or C#?


Dictionary in C# WinForms App causing null reference (Again)

What is a NullReferenceException, and how do I fix it?


PHP time() function is not giving desired results

How to get difference of a time in seconds in PHP?


Automatically change textSize to fit layout width


Python Pandas add column for row-wise max value of selected columns

Find the max of two or more columns with pandas


Difference between using append method of StringBulder class and concatenation "+" operator

String Concatenation Vs String Builder Append


Python index out of range in list slicing

Why does substring slicing with index out of range work?


null or empty string comparison in java? or Something else?


Issue with Random Number Generator in a Class


Notice: Undefined index: "$file = $_POST['file'];"

"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


Run Tampermonkey script on domain but not on iframes

How to exclude iframe in Greasemonkey or Tampermonkey?


Remove Duplicate Objects From NSMutableArray object property?

How to remove all objects with the same property value but one in NSMutableArray


Is there a standard method in Ruby to prepend and/or append a string onto each of an array of strings?

How do I modify an array while I am iterating over it in Ruby?


Making methods to print array (newbie in java)

How do I generate random integers within a specific range in Java?


BitmapImage to byte[] Windows 8 metro (WinRT)


How to implement inheritance in JS Revealing prototype pattern?


Is any method can get current file path?


Is there a native call on Mac OS X like SetForegroundWindow() on Windows?


Using Jquery's .getScript is it possible to pass variables to your current script

How would I pass data to an external script loaded with $.getScript()?


how to get string from different locales in Android?


Why is not "a good programming" to throw exception for evreything?

Bad idea to catch all exceptions in Python


Error when trying to run python in terminal: "[Errno 2] No such file or directory"


Clicking the text to select corresponding radio button


What's the best way to parse a fixed position ascii file in c#


Why dividing a float by a power of 10 is less accurate than typing the number directly?


RandomAccessFile setLength(0) adding a string of null characters to a file

Clear contents of a file in Java using RandomAccessFile


how to wait for input before proceeding?

Scanner is skipping nextLine() after using next() or nextFoo()?


Transferring UIImage from one class to another


What does the ## macro operator do in C++?

What does ## mean for the C(C++) preprocessor?


How to cd into a directory with space in the name?


Cross-thread operation not valid in static method

Getting Cross-thread operation not valid


Why can't I echo the characters #! in a string in bash?


Why return 0 from main() in a C program?


what is the java code to get ip address and mac of devices connected to my wifi in laptop?


What are "sequence points" and how do they affect undefined behavior?


Can I change the vertical position of a strike-through on a website?


Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in line 47

Reference - What does this error mean in PHP?


INSERT multiple values in one query (order)

Is INSERT RETURNING guaranteed to return things in the "right" order?


How to replace element with text using JavaScript / jQuery?

How to replace DOM element in place using Javascript?


How to open dropdown control(html) without mouse click and using pure javascript

How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)?


an error when I load a form the first time


Does Java have pointers? if yes, how manipulate them?


Access the iterator and append it to variable name in SASS

Creating or referencing variables dynamically in Sass


Easiest way to save game data for a mastermind game.


Why can't MOV have both operands as memory locations?


Python can't define tuples in a function


How do I return the response from an asynchronous call?


How to concatenate a std::string and an int?


Searching through a collection of an array list pair


How do I give text or an image a transparent background using CSS?


Row count for tables in a specific schema


Switch statement always selects same case


How do you parse and process HTML/XML in PHP?


Code doesn't work unless I include a println or breakpoint

Loop doesn't see value changed by other thread without a print statement


Why it is wrong to use jdbc in android application?

Android JDBC not working: ClassNotFoundException on driver


running a php function inside javascript code

What is the difference between client-side and server-side programming?


How to make a snapshot of the current view in in objective C?

Why does my programmatically created screenshot look so bad on iOS 7?


Python: for loop - print on the same line


Error while installing VIM package in R-2.15.3

Windows 7, update.packages problem: "unable to move temporary installation"?


Error when installing gem 'ruby-debug-base' with ruby 2.0.0


LNK2019 Unresolved External Symbol Help Please

What is an undefined reference/unresolved external symbol error and how do I fix it?


Display a time clock in the R command line


Accessing the properties of an object created elsewhere


transferring localstorage to another website

Can HTML5 databases and localStorage be shared across subdomains?


Non-static variable cannot be referenced from a static context


how to transition left to right push with code

Push ViewController from Right To Left with UINavigationController


Redirect To www from non www site for subfolder using .htaccess


How to access public variable accross projects in one solution

Declare global variables in Visual Studio 2010 and VB.NET


Differences between "java -cp" and "java -jar"?


How do i check the length of a number in python 3?

How to find length of digits in an integer?


Object reference not set to an instance of an object with no error line

What is a NullReferenceException, and how do I fix it?


Specifying EclipseLink MOXy as JAXB Provider not working

jaxb.properties missing at runtime when built with Maven


git push not working over https (even with a user option)

Pushing to Git returning Error Code 403 fatal: HTTP request failed


Why do list operations in python operate outside of the function scope?


Is there equivalent for PHP's print_r in Ruby / Rails?


c# how to change array to array or arrays


How can I change php.ini settings so I can alter the maximum data being sent through a file transfer?


How to display name using ID from database

How to display name from database using id?


Javascript: how to set a variable's value as the key in an associative array?

Dynamically access object property using variable


Error inserting data SQLite: table foo has no column named bar

When does SQLiteOpenHelper onCreate() / onUpgrade() run?


Definition of constant variable vs. #define


Sorting Array of objects into alphabetical order

How do I sort custom objects alphabetically in an array in Java?


Easiest way to format a number with thousand separators to an NSString according to the Locale


Why shouldn't I use the equality operator for objects


How to turn a Python file into exe [Python34]


mysql_query returns true instead Resource

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


How to force garbage collection in Java?


I get these weird characters when I try to print out a vector element!


Is it possible to make an operating system using java?


How to get numbers with precision without round up or round down

Truncate (not round off) decimal numbers in javascript


No module named _view when bundling a pygame application

My py2app app will not open. What's the problem?


Changing the default indentation of etree.tostring in lxml


if a variable is a date then convert it?

Detecting an "invalid date" Date instance in JavaScript


I want to write with javascript such a condition that if the user enters into my site through google chrome, makes alert or perform any action

JavaScript: How to find out if the user browser is Chrome?


C++ 2 dimensional array with variable size rows


Why some javascript is beginning with jQuery(....?


How to implement a tree data-structure in Java?


How to customize the height of bootstrap navbar?


What is the error "exited with code 9009"? and what solution for that?

What does "exited with code 9009" mean during this build?


Differences in using srand and time functions

rand() generating the same number – even with srand(time(NULL)) in my main!


Get variable by name dynamically - Without Reflection


What is the difference between Ruby and ROR?

What is the difference between Ruby and Ruby on Rails?


Removing currency character from NumberFormat format()


How to find how many objects are live for a particular class at a particular instance?

how many instances for a class exists at runtime in java


Why do I get a segmentation fault when using modulo in the Python interpreter?

Python crashing when running two commands (Segmentation Fault: 11)


Specific differences between Jetty and Tomcat


How to prove if an array contains a string?

How do I check if an array includes a value in JavaScript?


How to AutoSize the height of a Label but not the width


How can i create pages in PHP without create physical pages?

Reference: mod_rewrite, URL rewriting and "pretty links" explained


getLine1Number() Returns blank, not null

MSISDN : Is it a SIM Card Data? Why all The Provided Function (from Blackberry and Android) to fetch MSISDN not reliable?


Add to an array while in a loop with a key


Overloading member access operators ->, .*


Struggling to get number of chars in char*


Why filtering an unsorted list is faster than filtering a sorted list

Why is processing a sorted array faster than processing an unsorted array?


Calculating the position of points in a circle


How can i share image using sharer.php of Facebook

Facebook Sharer not showing image thumbnail


How to dump string variables to a text file


java.sql.sqlexception parameter index out of range (1 number of parameters which is 0) can't run it

java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0)


Generally: why use click-handlers instead of subclassing?


Convert one date format into another in PHP


In Docker, what's the difference between a container and an image?

What is the difference between a Docker image and a container?


Running cmd commands and getting results to a string variable

How do I execute a command and get the output of the command within C++ using POSIX?


while loop including or " while DIF != 'Y' or 'N': "

How to test multiple variables against a single value?


How do I return the response from an asynchronous call?


Is there a python-equivalent of the unix "file" utility?


Java - How to extend final swt class? How to create wrapper class?

Equivalent to extending a final class in Java


Must I close a prepared statement before or after I used the result in PHP

Code after a return statement in a PHP function


Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])


Putting custom objects as datapoints in python

How to use custom png image marker with plot?


Generate all combinations of an array with a given number of slots in PHP


How to update listbox from inside a thread?

How do I update the GUI from another thread?


IF statement never executes inside a method


How do i convert a set to a sorted array using java


Checking if a string starts with another string

In Bash, how can I check if a string begins with some value?


When should I use double or single quotes in JavaScript?


Get HANDLE to the memory region and what HANDLE actually is


Cannot populateListView from database using sqlite

How to populate a ListView from my database using sqlite


JavaScript closures. Access in loop to current i, j variables

JavaScript closure inside loops – simple practical example


3 plus symbols between two variables (like a+++b) in C


Use PHP to create, edit and delete crontab jobs?


JQuery Ajax is sending GET instead of POST


In C#, how do I solve multiple enumeration warning when one use is in base constructor call?

Handling warning for possible multiple enumeration of IEnumerable


JSF/primefaces selectOneMenu does not work with commandButton

commandButton/commandLink/ajax action/listener method not invoked or input value not set/updated


How do I replace NA values with zeros in an R dataframe?


How to sort a dataframe by multiple column(s)


How to specify decimal places not significant digits in xtable output

Control number of decimal places on xtable output in R


How to calculate the difference between two dates using PHP?


Xcode -how sending info to TableView from another view controller in storyboard


PDO "ORDER BY" only works when hardcoding

Can PHP PDO Statements accept the table or column name as parameter?


According to Id only working 1 HTML form HTML/PHP

"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


How to remove "warning Invalid argument supplied for foreach()" in php?

PHP Warning: Invalid argument supplied for foreach()


How to get a random number from 0 to N-1 with a "same probability" in C?

How to generate a random integer number from within a range


How can i get string with name of object?

How to get class object's name as a string in Javascript?


Explain this python string operation s[:6][::-1]


How to count for a certain amount of seconds before breaking from program


C++ undefined reference to WinMain@16 (Code::Blocks)


How to create a semi transparent window in WPF that allows mouse events to pass through


How to call out javascript function which is assigned to a variable?


How to set border's thickness in percentages?


Change the background color in my HTML code through JavaScript

How do I change the background color with JavaScript?


How to solve the java.lang.ArrayIndexOutOfBoundsException: 1 >= 0 error in my java program?

What is a stack trace, and how can I use it to debug my application errors?


Import Error in Python Textbook Sample Program

Why does this work in the Python IDLE shell but not when I run it as a Python script from the command prompt?


Time complexity analysis. while loop with inner for loop

Time complexity analysis. choosing operator for counting number of times a line of code runs


AFNetworking expected byte to read is -1

totalBytesExpectedToRead in setDownloadProgressBlock remains -1 until download is done


How to use "with" construction in javascript?

Are there legitimate uses for JavaScript's "with" statement?


How to Convert 2-D array into Image in c#


python appending a dictonary to list is changing all the list elements

Python The appended element in the list changes as its original variable changes


Allow php sessions to carry over to subdomains


Index Undefined in Second php code block

"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


Rails html.erb filetype, difference between <% %> and <%= %>

What is the difference between <%, <%=, <%# and -%> in ERB in Rails?


bash quotes in variable treated different when expanded to command

Why does shell ignore quoting characters in arguments passed to it through variables?


Assigning a generic List to a concrete ArrayList is causing a compile-time error

Is List<Dog> a subclass of List<Animal>? Why are Java generics not implicitly polymorphic?


Next without For in nested loops excel VBA


HttpPost + setEntity : how to know content-length?


Python complicated regex string expansion

Reversing a regular expression in Python


Simple capitalization of first letter of each word in C

C function to capitalize first letter of words in an array


How do I use WebRequest to access an SSL encrypted site using HTTPS?


How to refresh by pulling down the items?


Can't get Freeglut to work with Haskell on Windows


Not finding the library files directed to in Makefile


How to make a div 100% height of the browser window


Where and why do I have to put the "template" and "typename" keywords?


How to apply a CSS filter to a background image


What is the best way to remove html tags from an html page?


Performance wise what is the best way to compare 2 DataTables with approximate 1000 records?

Compare two DataTables and select the rows that are not present in second table


Disable the Battery Charging in android after reach 100%

How to stop an android device from being charged programmatically?


How to Unit test a method that calls different Private functions based on the parameter value?

How do I test a private function or a class that has private methods, fields or inner classes?


Is there any possibility to compile something for CentOS from the c# solution?


ASP.NET MVC web application inside a webforms web site


Do I have to define a function before I call it?

Declare function at end of file in Python


Can you share with me about features of java 7 comparing to previous versions?


What is difference between python mock and magic mock?


How to open pdf file in Windows Phone 8?


After using Template (jsf) in my xhtml, the commandLink and CommandButton tags are not invoking any action

How to include another XHTML in XHTML using JSF 2.0 Facelets?


How to perform and display the progress of a sequence of operations in PHP?


Is it bad practice to have a function prototype in the main in C

Function prototype declared inside main - best practice?


Separating Different Types of Buffers in HLSL

Non-interleaved vertex buffers DirectX11


How to use an URL param in a templateUrl using ngRoute?

AngularJS - How to use $routeParams in generating the templateUrl?


Is possible to use std::deque::push_back() and std::deque::front()/std::deque::pop_front() on different threads without synchronization?

Is using std::deque or std::priority_queue thread-safe?


How can I pass arguments to the functions called by "jQuery then"?

Passing a function with parameters as a parameter?


How do you deal with numbers larger than UInt64 (C#)


how to convert an executable java jar file to an window service

How to create a windows service from java app


How can I find a special character in my string and store all value after this character in a variable

How to get everything after a certain character?


getting default value of registrykey via powershell

Error retrieving registry value with Powershell


Why use an HTML5 semantic tag instead of div?


How to import .py file from another directory?


try and Finally giving exception with no return statement , but there is no exception when return statement is written in method


Why is the asterisk before the variable name, rather than after the type?


Best setting for scanners for scanning documents(TIFF and PDF)


How to get most specific X such that y instanceof X is true?


Form, receive variables on same php file

How to '$_POST' back to the same page or to a different result page in php?


How to override the onbackpressed event for Dialog box in android?

How to handle Back button with in the dialog?


error C3493: 'variable' cannot be implicitly captured because no default capture mode has been specified

Compiler error C3493: 'func' cannot be implicitly captured because no default capture mode has been specified


Unable to get file type for certain file


How to rewrite this Oracle Query to hibernate Query?


Can you specify a 'print method' or something equivalent in Python?

What is the purpose of __str__ and __repr__?


Constrained linear regression coefficients in R

R : constraining coefficients and error variance over multiple subsample regressions


How would you recreate this Windows API Structure with ctypes?


Store full URL including #bookmark in it

Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?


i am using mail() in php . when i change the subject of my mail , mails are going to spam. how to avoid it when i change the subject line

How to avoid my mails sent from PHP mail() being marked as spam?


My random number generator does not create a new value in my loop C#

Random number generator only generating one random number


Restrict user from copying their own text written in input feild


Should I use one SessionScoped bean for all datatables?


Can SelectNodes be used without the namespace?

Select node without namespace with XPath


gcc compiler reporting size of class=zero


unnecessary exclamation marks(!)'s in HTML code


Trim text elements at beginning, not end


NSUnknownKeyException for dividing integers?

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


Fast algorithm to count the number of 1 for binary number

How to count the number of set bits in a 32-bit integer?


Benefits of @implementation Convenience methods

Difference between @interface definition in .h and .m file


Failed to transfer data between view controllers in iOS

IBAction Button “Unrecognized Selector Sent to Instance” Error


Overriding "static" method/field with "non-static" method/field

Why doesn't Java allow overriding of static methods?


Strange method overload selection behavior

Peculiar overload resolution with while (true)


All Methods of Class Throw Same Exceptions

How can I throw an exception for the whole class instead of doing it method by method


Using "this" keyword with a Constructor - how does "this" refer to to the Point object?

what is this() ? can it have multiple parameters?


“Exception in thread ”AWT-EventQueue-0“ java.lang.NullPointerException”. I have no clue what I'm doing wrong

What is a NullPointerException, and how do I fix it?


Executing bash commands in Ruby with variable interpolation?

How to make the say command echo a variable value in a script?


How to implement contradictory interfaces

Java: how do you call this multiple inheritance ambiguity?


Java - Method name collision in interface implementation


vim: C indent braces at the same level as case

How to disable vim's indentation of switch case?


Shuffle an array so every value will have a different index

How to test randomness (case in point - Shuffling)


Undefined symbols for architecture x86_64: stack

What is an undefined reference/unresolved external symbol error and how do I fix it?


Why does this KML line not get plotted in the right place?

After importing KML to Google Maps, point is showing in Antartica


What to do Regular expression pattern doesn't match anywhere in string?


php date stripping, covert one format to another

Convert one date format into another in PHP


How to retrive the alt value from an image tag which is found in an <a> tag

Grabbing the href attribute of an A element


Writing/reading a struct from a file to a std::vector<>

STATUS_ACCESS_VIOLATION when reading file int struct


bind many data frames adding a column with their id

Combine (rbind) data frames and create column with name of original data frames


How to fix "Headers already sent" error in PHP


Where is System.out.println() printed in Servlets?


Explain the output when converting Float to integer?


Where and why do I have to put the "template" and "typename" keywords?


Javascript function won't return variable correctly

How do I return the response from an asynchronous call?


error: "Some projects cannot be imported because they already exist in the workspace" when i tried to import SWT to Eclipse

Some projects cannot be imported because they already exist in the workspace error in Eclipse


Prevent Windows Forms application from closing when the Console is closed

Why does closing a console that was started with AllocConsole cause my whole application to exit? Can I change this behavior?


Calendar API How to get month from getTime(); saved as a variable


Unable to upload app through application loader due to errors

Error delivering iOS App update. "This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK."


c++ struct declaration within a function


static block vs initializer block vs constructor in inheritance

Use of Initializers vs Constructors in Java


Haskell demonstration of equivalents to OOP Design Patterns

Does functional programming replace GoF design patterns?


passing Arabic parameter in sql server stored


Why is the output of this array different from the values stored in it?

Clarification about "int" number that begins with 0


Get $_SESSION value from external PHP file into source file


Convention for compiling and executing Java apps from shell?


How would you count occurrences of a string (actually a char) within a string?


Java Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

What is a NullPointerException, and how do I fix it?


How to concatenate multiple lines of output to one line?

How to concatenate all lines from a file in Bash?


How to remove xmlns:php from output in a XSL produced by `registerPHPFunctions`?

Omit unneeded namespaces from the output


Why child input field is wider than parent div


How to return value from "eventCallBack" from JS method

How do I return the response from an asynchronous call?


DbContext Query performance poor vs ObjectContext

Is it always better to use 'DbContext' instead of 'ObjectContext'?


Undefined reference to pthread_create in Linux


Is there a way to run a method/class only on Tomcat/Wildfly/Glassfish startup?


All elements in LinkedList have same value as element added

Why does my ArrayList contain N copies of the last item added to the list?


How to display product description and additional information in single page without tab

Magento: Merge Product Description and Addition Information Tab


Can you set rowspan / colspan through apps script in Google document?

How to merge the two cells of a table in a Google text Document without this weird result?


Android ListView add items to top without list view scroll

Retaining position in ListView after calling notifyDataSetChanged


IOError: [Errno 22] invalid mode ('r') or filename: 'c:\\Python27\test.txt'

Region: IOError: [Errno 22] invalid mode ('w') or filename


How to specify correctly codebase and archive in Java applet?


Listen to incomming SMS with iOS Jailbreak app

IOS Jailbreak How do intercept SMS / Text Messages


how to check that a value represents an address

Check if a pointer points to allocated memory on the heap


Dynamically access object property using variable


How to ignore an output of a multi-output function in Python?


Is php's 'include' a function or a statement?


How to make two threads wait on each other to perform a task?


What is the difference between MKCoordinateSpan and CLLocationCoordinate2D


Vertical TextView taking too much space in Android


Could not change executable permissions on the application appears when changing the bundle identifier

Rewrite iOS app from scratch "Could not change executable permissions on the application."


configured and built the app and app appears in AVD but doesn't work on clicking, opens a blank screen. using pygame subset for android


How to sort strings that contain a common prefix and suffix numerically from Bash?


Is there any way to accept only numeric values in a JTextField?


Weird behaviour in "not in" and "union" query


How to get start date and end date of a week in ios


My exe does not pass anything to logfile (jampded.exe)


How to get text only from the DIV when it has child elements with text using jQuery?


multiple greater than in query with compound index

Search for a record where a value is between two item fields in MongoDB


IOS Core location manager on a short timer

iPhone CLLocationManager updates every 0.5 seconds


How can only "set timestamp " statement be in MySQL slow logs

How can "set timestamp" be a slow query?


print_r() adds properties to DateTime objects

Why can't I access DateTime->date in PHP's DateTime class?


purgeIdleCellConnections: found one to purge conn = 0x1d57ba00


Retrieving a specific element in my javascript array

Find object by id in an array of JavaScript objects


Confusion over in app purchase rejected for not including "restore" button

Restore button for iOS non-consumable in-app purchase


+= operator appears to modify frozen string


HTML table with 100% width, with vertical scroll inside tbody


Convert second to day hour min second format

Convert seconds into days, hours, minutes and seconds


unable to open new tab in FIreFox,, Help me finding the solution


How do I pass variables and data from PHP to JavaScript?


How to display errors for my MySQLi query?

mysqli_fetch_assoc() expects parameter / Call to a member function bind_param() errors. How to get the actual mysql error and fix it?


Configure log4j to ignore certain exception class

Log4j filter in Grails Log4j DSL configuration


Javascript function not working inside composite control JSF

Adding <h:form> causes java.lang.IllegalStateException: Cannot create a session after the response has been committed


How to handle yaxs in geom_bar in ggplot2?

set only lower bound of a limit for ggplot


Efficient way of declaring and using a variable in this scenario

Does moving variable declaration outside of a loop actually increase performance?


Access property of current class, such as background-color, in SASS


How to have every attribute's names and values of an element?

Get all attributes of an element using jQuery


FileNotFoundException when uploading file to Unix from Java

Recommended way to save uploaded files in a servlet application


Java: Prefix/postfix of increment/decrement operators?


The calling thread cannot access this object because a different thread owns it


How to check if user is Sysop using Php in Mediawiki?


Access to '/SVN/[repo name]/!svn/me' forbidden


How to perform operations on 2D vectors using thrust?

CUDA Thrust: reduce_by_key on only some values in an array, based off values in a "key" array


What are the issues with not enter TYPE in your SCRIPT tags

Various script type attributes and vanilla js, what makes difference in user agents


How can I pretty-print ASCII tables with Python?


HTML5 changing <input type="time"> to 24hrs. format? it is possible

How to change the time format (12/24 hours) of an <input>?


Position a background image outside an element using percent

Using percentage values with background-position on a linear-gradient


Can't load audio - "Content-Type" of "audio/mpeg" is not supported. - Firefox

Why doesn't Firefox support the MP3 file format in <audio>


How can I put strings in an array, split by new line?


How do I call a non static method from a main method?

Java: How To Call Non Static Method From Main Method?


Update datatype with mixed date and date and time

Best approach to remove time part of datetime in SQL Server


How to send a “multipart/form-data” POST in Android with Volley


PHP import sql from multiple directories


How to get the difference between two dates in php

How to calculate the difference between two dates using PHP?


Regular expression to extract a section from the wikipedia page

How to extract information from a Wikipedia infobox?


How to detect whether the app is coming from background?

How to detect and count when activity goes from background to foreground


How do I know whether my iPhone/iPad is connected to 2G or 3G?


JavaScript - Generating combinations from n arrays with m elements


How to impelment a custom controller factory ASP.Net MVC


Why ObjectOutputStream.writeObject(Object o); but not ObjectOutputStream.writeObject(Serializable o)

Why does ObjectOutputStream.writeObject not take a Serializable?


already defines a member called 'Create' with the same parameter types

GET and POST methods with the same Action name in the same Controller


why should a condition variable must always associated with a mutex?

Why do pthreads’ condition variable functions require a mutex?


How to push content up when keyboard appears?

How can I make a UITextField move up when the keyboard is present - on starting to edit?


How to save and retrieve ListItems in Android

How to save state when activity it destroyed with this


Snap.svg can't find dynamically (and successfully) appended SVG element with jQuery

jquery's append not working with svg element?


Difference between using Throwable and Exception in a try catch


java naming class naming convention when it has acronyms?


Java - Background song to my game (How can I add it)


Concatenate all the values present in a particular column of a table to a single value

Simulating group_concat MySQL function in Microsoft SQL Server 2005?


09 is not recognized where as 9 is recognized


How to test multiple variables against a single value?


SASS doesn't work with "rem" - produces errors when adding two "rem" values

Adding two values in Sass function creates double instance of 'px'


Can someone explain the /e regex modifier?

Replace preg_replace() e modifier with preg_replace_callback


Node.js class issue, or Am I doing something wrong?

Javascript object members that are prototyped as arrays become shared by all class instances


Why can I change HTMLMediaElement.prototype.play from console, but not via user script?

Injecting JS functions into the page from a Greasemonkey script on Chrome


QtCreator: how to set parameters for debugging?


Why we don't directly assign values for layout views in android?


Assigning a method to a delegate where the delegate has more parameters than the method

Can a method be attached to a delegate with predefined parameters?


ubuntu bash script to identify files in subfolders, pass them onto external program and create a text file for each input file


centre a div larger than the viewport with jquery

Centering in CSS, when the object is larger than the viewport


Changing a button's background color when it's clicked

How do I reference a JavaScript object property with a hyphen in it?


mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


how to have quotation marks in html input values


Execute method after page has been loaded

Execute managebean method from javascript onload event


How do I programmatically play an MP3 on an iPhone?


Why are my application settings not getting persisted?


Why can't I inherit from dict AND Exception in Python?


Cant inject Bean class into Restfull WebService (JAX-RS)

Inject an EJB into JAX-RS (RESTful service)


python pprint: how to output utf8 characters?


Uncaught ReferenceError: $ is not defined?


How can I configure git to default push my current branch to the origin?

Default behavior of "git push" without a branch specified


Error #1241 - Operand should contain 1 column(s) in Mysql

Operand Should Contain 1 Column - MySQL NOT IN


Differences between TCP sockets and web sockets, one more time

What is the fundamental difference between WebSockets and pure TCP?


Accessing values in nested hash securly (without tripping over nil)?

Ruby Style: How to check whether a nested hash element exists


How to give command line arguments to gnuplot

How to pass command line argument to gnuplot?


Can a HTML element have multiple unique ID attributes?


Safely turning a JSON string into an object


random number generator for special characters

How to generate a random alpha-numeric string


Screen capture program in C or C++ and Linux

Fastest method for screen capturing on Linux


Passing multiple PHP variables to shell_exec()?

What is the difference between single-quoted and double-quoted strings in PHP?


Using while in list comprehension or generator expressions


UnsupportedOperationException in Java when checking whether the resultSet is Closed or not

Duke Fast Deduplication: java.lang.UnsupportedOperationException: Operation not yet supported?


replace www.anylinks.com or anylinks.com to http://www.anylinks.com within the html content

How do you parse and process HTML/XML in PHP?


delete multi line comments line c# "// or /*...*/"


How can I support multiresolution in cocos2d Android?

Cocos2d for android supporting different resolutions


Why do function pointer definitions work with any number of ampersands '&' or asterisks '*'?


PDO::FETCH_ASSOC not fetching everything


How can I center text (horizontally and vertically) inside a div block?


How to precisely identify & work greedy or reluctant quantifiers?


Postgres: Distinct but only for one column

Select first row in each GROUP BY group?


"SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"


How to pass on php variables into Javascript

How do I pass variables and data from PHP to JavaScript?


Spring @Value with multimine properties file value


Efficient way to delete entire row if cell doesn't contain '@'


const to non-const iterator comparisons, are they valid

Is comparison of const_iterator with iterator well-defined?


Secure UUID v4 generation in PHP - without mt_rand()


How to read multiple lines of text in to one scalar variable in Perl

How do I read the contents of a small text file into a scalar in Perl?


Error when starting rails server: warning: Insecure world writable dir /usr in PATH, mode 040777

Getting the warning "Insecure world writable dir /home/chance " in PATH, mode 040777 for rails and gem


Force GCC to notify about undefined references in shared libraries


Call a view works in iOS 6 but doesn't in iOS 5

NSInvalidUnarchiveOperationException: Could not instantiate class named NSLayoutConstraint


In PHP, can you instantiate an object and call a method on the same line?


Avoid points on edges of plots when the last x-value equals the tick

Add margin when plots run against the edge of the graph


SelectOneMenu:"Validation Error: Value is not valid"


Are there concurrency issues when incrementing in update statement

Is there a concurrency with UPDATE count=count+1?


How to create a string with n characters? How to create a string with specific length?


How to distinguish between mouse click and .click() in javascript/jquery?

In jQuery, how can I tell between a programmatic and user click?


Dynamically change column name in PDO statement

Can I use a PDO prepared statement to bind an identifier (a table or field name) or a syntax keyword?


Return correct value once asynchronous callback is completed

How do I return the response from an asynchronous call?


JavaScript splice function inside foreach loop decrements index

Splicing a Javascript array from within the callback passed to forEach


Your content must have a ListView whose id attribute is 'android.R.id.list' when extending ListActivity


How to change the background colour's opacity in CSS

How do I give text or an image a transparent background using CSS?


How to write jUnit tests for random output?

How to test randomness (case in point - Shuffling)


Whats wrong with this SQL query? Syntax error


C scanf not working in recursive function


Flask WTForms - How to identify multiple submit buttons on the same form?

Multiple forms in a single page using flask and WTForms


how to match numbers with dash or space in between

Regular expression to match 7-12 digits; may contain space or hyphen


assign a variable with the value from a command + bash

Assign command output to a variable and do if branch on the return value


Java wierd error when trying to load image

Nonstatic method cannot be reference from a Static context


Why am i a getting little green dashes and a green box in my code in MVS 2010?

How to change Visual Studio whitespace settings?


Java Incremental operator query (++i and i++)

Is Java "pass-by-reference" or "pass-by-value"?


How to get client public ip address in servlet java


What is the pattern for this date format?

What is the Time format for this "date": "2014-08-20 00:00:00 -0500"?


How to use String variable value in 'create table' statement?


How to get video id from embed URL using PHP?

Get Youtube Video ID from html code with PHP


Function name followed by assignment operator

What is the difference between def func(var) and def func=(var)?


How to parse doc files on a mac with python?

extracting text from MS word files in python


why expression with 'undefined' does not return boolean

Javascript AND operator within assignment


how to print the progress of the files being copied in bash

How can I make a progress bar while copying a directory with cp?


Getting a normal looking unicode down arrow in a UILabel like this ⬇


How to replace all occurrences of a string in JavaScript?


what means this javascript code function

What is the (function() { } )() construct in JavaScript?


How does visual studio (or Resharper ?) know that "Expression is always true"?

How does ReSharper know "Expression is always true"?


Is relying on custom exception types for flow control considered good practice?

Why not use exceptions as regular flow of control?


How to count characters in a file and print them sorted alphanumerically


The PDOException 'could not find driver' and display_errors quandary

Uncaught exception 'PDOException' with message 'could not find driver' using Sqlite: mis-configuration?


Why PostgreSQL is not accepting while group by on one table and selecting towards another tables

PGError: ERROR: column "p.name" must appear in the GROUP BY clause or be used in an aggregate function


Why using macros in C++ is considered wrong ? and usage of C++ standard libraries

Why are preprocessor macros evil and what are the alternatives?


Completly confused with jQuery and Callbacks

How do I return the response from an asynchronous call?


What's the point of "javascript:" in code (not URLs)?

Do you ever need to specify 'javascript:' in an onclick?


Spring - No WebApplicationContext found: no ContextLoaderListener registered?


How to strip punctuation from a text file

Best way to strip punctuation from a string


Using SFINAE to detect a member function

Templated check for the existence of a class member function?


Subscript out of bounds (Caret variable importance for randomForest)

Variable importance using the caret package (error); RandomForest algorithm


How to define interdependent functions in F#?

How to have two methods calling each other?


How to capitalize all letters in an NSString

Capitalize or change case of an NSString in Objective-C


Delete duplicate entries from Database in SQL server 2008

How to delete duplicate rows in SQL Server 2008?


How do you print a complex/imaginary number in C?


VS 2010 Express - how to generate UML diagrams from code?


Using JSF as view technology of Spring MVC


How to stop simultaneous login with same user on different pcs

Multiple applications using same login database logging each other out


UK Date issue in java script date object


Export and Import all MySQL databases at one time


How to conditionally include code only if above certain iOS version?


Need help: simplifying/changing a Oracle SQL-query, so I can use it in LINQ


Javascript alert value after ajax request

How do I return the response from an asynchronous call?


jQuery rewriting src attribute on script tag dynamically written onto page (adding timestamp, prevents use of browser cache)

Adding a script to the page dynamically with jQuery never uses the cached file


How to call an Objective-C Method from a C Method?


Multiple inheritance: only 1 parent init'd

calling init for multiple parent classes with super?


How does one run rails console in an Elastic Beanstalk EC2 instance?

Can you run a rails console or rake command in the elastic beanstalk environment?


ggplot's qplot does not execute on sourcing


How to add flurry into android studio project?


Scanner system.in, doesnt read the 1st,3rd,5th,etc input

Scanner skipping every second line from file


Using DateTime?.Value.TimeOfDay in LINQ Query


Error in generating C# classes using xsd.exe

Cannot add a nested relation or an element column to a table containing a SimpleContent column


How to add number of days to exact date format


Displaying floating point variable as a hex integer screws up neighbouring integer


Can a c++ class include itself as an member?


Why same values differ with float and double

Difference between decimal, float and double in .NET?


convention to name interface and implementation?


Linq result data binding - How to change the column header?

Change header text of columns in a GridView


How to iterate numbers 001 002 ... with javascript

Show a leading zero if a number is less than 10


What is the reason behind "non-static method cannot be referenced from a static context"?


How can I allow HTML in a whitelist with PHP


File upload with Javascript without user intervention


List of String from List of object in java 7

Converting List<Integer> to List<String>


Search an specific record in all the tables with postgresql

How to search a specific value in all tables (PostgreSQL)?


Best way to "Clip" (saturate) a variable

Fastest way to clamp a real (fixed/floating point) value?


Pass a pointer to a function as read-only in C


Is there an exhaustive list of functions that can be disabled using disable_functions in PHP?


Fetch some records from one table corresponding to the records from another table


what is the meaning of int[1] in c programming


How to use jquery to create element with conditional class on the element?

How to add class to a jQuery element if a condition is true and remove the same class if the condition is false?


TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows


validator.w3.org finds error in an <a href="">

Ampersands in hyperlinks cause W3C validation to fail


jQuery toggle() malfunction on version upgrade

jQuery click / toggle between two functions


How do I use gets/chomp in ruby to login in account without display strings in terminal?

How to hide password input from terminal in ruby script


Passing array of uint8 to function reduces its size (c++ code)

Why does a C-Array have a wrong sizeof() value when it's passed to a function?


why I can use Stack<Double> but not Stack<double>?

Why don't Java Generics support primitive types?


CSS calc not working in Safari and fallback


How to calculate how many times a string appears in another string?


python program as "sit and wait listener"


show file name instead of No file selected at update time

How to set file input value when dropping file on page?


Javascript Array of objects get single value

From an array of objects, extract value of a property as array


Can't use Scanner.nextInt() and Scanner.nextLine() together

Scanner is skipping nextLine() after using next() or nextFoo()?


Generate a random point within a circle (uniformly)


Is there a browser plugin to step into javascript code when an event occurs in the page?

How to step through code in Google chrome javascript debugger


How to center text vertically and horizontally in responsive container

How to center an element horizontally and vertically


Exception when adding a toList() at the query? (C#)

Why a simple linq command is not executed at the second case?


How to cast a double to an int in Java by rounding it down?


Is there a way to detect if an image is blurry?


invoke iPad native "camera" app from website


Why does my Bash counter reset after while loop


how to pass inputs to java using eclipse?

Invoking Java main method with parameters from Eclipse


How to prevent an iframe from uniframing itself

Frame Buster Buster ... buster code needed


What is a NullPointerException, and how do I fix it?


Unable to understand $variable and how it works

Why would a JavaScript variable start with a dollar sign?


How to manipulate a value on a sqlite database on an android app using SQLiteDatabase.Update() method


How to solve this error in Android? java.net.MalformedURLException: Protocol not found:

"java.net.MalformedURLException: Protocol not found" read to html file


Creating a Map<Object,Array<Object>> in objective c

What is the Java equivalent of Objective-C's NSDictionary?


exporting to excel 2003 with one column with indian number format using NPOI

Display a number with thousand separator in Indian style using NPOI


Match full number only regular expression


Splitting a String using split() not getting required result

Split string on spaces in Java, except if between quotes (i.e. treat \"hello world\" as one token)


getting exception while putting list data into the map


Analysis of Algorithms - Mathematical Model

Nested loops into mathematical model to count number of operations


How can I compress or decrease the size of an image while displaying in picturebox?

Resize image proportionally with MaxHeight and MaxWidth constraints


Why CurrentCulture and UICulture are two different properties?

What is the difference between CurrentCulture and CurrentUICulture properties of CultureInfo in .NET?


Count number of selected images on file upload

Count number of files in input box with jQuery?


Differences Nullable values: .Value or not?

What is the difference between Nullable<T>.HasValue or Nullable<T> != null?


select multiple column from multiple table join query

SELECT query for multiple column with multiple table


mysql2 gem is not compatible with mysql 5.6.19

mysql2 gem compiled for wrong mysql client library


How can I get a matrix table from two related table by one query statement?

MySQL pivot table query with dynamic columns


Disabling text box on click of checkbox not working using jquery


How to clear cookies in javascript without keeping any expiry time


Use a helper method on a interpolated string

NoMethodError when trying to invoke helper method from Rails controller


Modelica: Which algorithm for which model? Dassl, Euler


How to use custom icons with mapKit framework?


Clear local storage when user closes window

How to delete a localStorage item when the browser window/tab is closed?


Google: Divide and return result in form of string

convert fraction into string and also insert [] for repeating part


Why does simply importing a python module executes everything present in that module ?

Why is Python running my module when I import it, and how do I stop it?


How to connect to SQL Server database from JavaScript in the browser?


mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


Mocking private method of class under test using JMockit

How do I test a private function or a class that has private methods, fields or inner classes?


PHP - convert yyyy-mm-dd to Month, Year format i.e, ( 2013-01-12 to Jan 2013 )

Convert one date format into another in PHP


Directly put a global object to a HTML element

How to duplicate object properties in another object?


How to handel JsonMappingException try catch


How does the String class override the + operator?


Decimal values in tuple give garbage values in Swift


How to add a path to sys.path permanently

Add a directory to Python sys.path so that it's included each time I use Python


How to delete lots of mongodb collections at once?


How to use a $_session[] name to defined a table for mysql database?


How can I literally print out an escape sequence in python?


Best practice looping through a JavaScript object

How can I access and process nested objects, arrays or JSON?


Vector of strings returning null characters

sizeof continues to return 4 instead of actual size


How to read from console in netbeans 7.0

How do I get input from System.in (Java) in Netbeans?


Traversing Through Object + Array + Object


Android 4.3 Native crash in unknown.unknown


How To Make A Button Do An Action Then When I Tap It Again Another Action

How to Make A button do more than one action xcode


Is it fine to use getter & setter methods in a interface

Java Interface Usage Guidelines -- Are getters and setters in an interface bad?


Javascript - error when a script tag in a string

javascript variable that contains </script>


Get selected value of a dropdown's item using jQuery


Binary search tree insertion not associating with the root

Binary search tree insertion - root always null


Using the iterator variable of foreach loop in a lambda expression - why fails?


PHP MySql - Check if column B matches GET input


C program debug window console won't stay

Preventing console window from closing on Visual Studio C/C++ Console application


CUDA Measuring the time between 2 _syncthread() point

How to measure the inner kernel time in NVIDIA CUDA?


Where can I find all ruby classes(data types)


For some reason, paint() is being called twice

paint() in java applet is called twice for no reason


How get the :hover css style of an anchor with jQuery?


Why do java intrinsic functions still have code?


Selecting and manipulating CSS pseudo-elements such as ::before and ::after using javascript (or jQuery)


Access private function of a RequireJS module

Is it possible to gain access to the closure of a function?


I don't know what's wrong with my code. I'm a newbie. The prob is - Notice: Undefined variable: result

"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


Why need to pass jQuery object as parameter to closure?

Why define an anonymous function and pass it jQuery as the argument?


How to write an algorithm in java to evaluate an arithmetic expression with brackets

Handling parenthesis while converting infix expressions to postfix expressions


Getting mangled name from demangled name


Is there a PHP equivalent of Perl's WWW::Mechanize?


Updating nested arrays in mongoDB via mongo shell


What is the difference between these different ways to escape square brackets inside jQuery selectors

Escape square brackets when assigning a class name to an element


What is the difference of these array declarations?


LINQ Where(): are these two LINQ statements the same?

And difference between FirstOrDefault(func) & Where(func).FirstOrDefault()?


Are evals in Javascript really a security risk, when the code is available anyway.


Please help understand the C++ : operator

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


What does the git error: "some refs could not be read" mean, and how do I fix it?

IntelliJ error: branch 'origin/HEAD' does not point at a commit, some refs could not be read


logic to select the zip file from source and sending it to another directory


Android : Is there any alternative to listFile function (Android java.io.File.listFiles())

Android java.io.File.listFiles() not working properly in Environment.getDataDirectory()


How can i integrate custom html form in facebook page


Android change image size before sending via HTTP


What is the scope, life of typedef, if typedef is a storage class?


Passing directly an array initializer to a method parameter doesn't work


Is there a built in function for string natural sort?


Redner HTML.TextBoxFor name as pascal case

Can ASP.NET MVC generate elements with lower case name and id attributes


Number of digits for an int to use in a file name in c++

Print leading zeros with C++ output operator?


How to open a winform with different thread in c#


How to avoid having class data shared among instances?


JavaScript remove item from nested Array


How to set default attribute values in a laravel 4 model

How to set a default attribute value for a Laravel / Eloquent model?


C++: Is it possible for a class to called its member variable's method and send itself as the argument?

Resolve build errors due to circular dependency amongst classes


Combining multiple data frames with different number of columns

Combine two data frames by rows (rbind) when they have different sets of columns


How can I interpolate empty values of partially-filled array?


Quickly reading very large tables as dataframes


try{} catch(Exception e){} VS try{} catch(Exception e){ throw;} - What the difference?

The difference between try/catch/throw and try/catch(e)/throw e


How can I find both reference tables and referencial tables in Oracle SQL Developer

How can I find which tables reference a given table in Oracle SQL Developer?


'gcloud' is not recognized as an internal or external command, operable program or batch file

gcloud not recognized as an internal or external command on Windows


How can I check if a URL exists via PHP?


How to split a string, but also keep the delimiters?


fread error "unexpected character ending field"


Python psycopg2-2.5.1 installation on Windows 8


How to stop a thread containing a while(1)


How to catch a key event when JFrame is minimized?

how to obtain mouse click coordinates outside my window in Java


How does the following increment in address work ..


How to get qualified tag name using getElementsByTagName


Python syntax error when defining a mapping


"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


Is Java's default value for Boolean 'true'?


R displays numbers in scientific notation

How can I paste 100000 without it being shortened to 1e+05?


What is the fastest or most elegant way to compute a set difference using Javascript arrays?


Polymorphism in C - Two "open" functions


Python regex remove double character from string


Can I automatically sort tuple from one column in postgresql?

How do I retrieve all tuples from similar tables in a postgresql database?


"id cannot be resolved or is not a field" error?


Combining data frames with unequal number of columns

Combine two data frames by rows (rbind) when they have different sets of columns


Prevent Javascript from being executed twice


Use of [Authorize] with custom membership provider

Using [Authorize] without SimpleMembershipProvider


Which characters shouldn't be used in a filename?

What are reserved filenames for various platforms?


fetching the value from map and addidng it to arguements of another method call

Iterating over the map and calling another method


How do I read in a local text file with javascript?


What is an undefined reference/unresolved external symbol error and how do I fix it?


why Web Application Projects have designer.cs files and web site not in asp.net

ASP.NET Web Site or ASP.NET Web Application?


Why does jQuery or a DOM method such as getElementById not find the element?


I am getting the error Operand should contain 1 column(s)

Operand Should Contain 1 Column - MySQL NOT IN


How to add create a string var from integer and string?

How to combine two strings together in PHP?


Excel vba Deleting a row if a cell contains a text


List files modified for particular git commit

How to get a list of all files that changed between two Git commits?


CSS Hover over something and have a completely different div change its attribute

Is there any way to hover over one element and affect a different element?


What is the performance overhead of nested functions?

Is there an overhead when nesting functions in Python?


How to filter Pandas dataframe using 'in' and 'not in' like in SQL


increment operator not working with sizeof


How can I find all placeholders for str.format in a python string using a regex?

How can I extract keywords from a Python format string?


How to limit UITextView character limit in MonoTouch?

MonoTouch.Dialog: How to set limit of number of characters for EntryElement


function returns undefined in some pages


How can i color a selected item in a listbox ? To color only the selected item text when clicking the mouse right button

How to change ListBox selection background color?


Track campaigns with Google Analytics without query string parameters?


What is a NullPointerException, and how do I fix it?


How to test a private constructor in Java application?

How to add test coverage to a private constructor?


Android sqlite unrecognized token exception


Invoke method in main thread from other thread

Use Unity API from another Thread or call a function in the main Thread


Why can't I update data in an array with foreach loop?


Interleaving of putchar() and printf() functions

scanf() leaves the new line char in the buffer


JPA: How to load original entity in transaction

Hibernate: comparing current & previous record


Getting key with maximum value in dictionary?


How do I detect what .NET Framework versions and service packs are installed?


What is the correct way to create white-space on a page with CSS/HTML?


A class implements two interfaces. Which interface does a method belong to?

Implementing multiple interfaces having same method


Store update, insert, or delete statement affected an unexpected number of rows (0) EntityFramework

Entity Framework: "Store update, insert, or delete statement affected an unexpected number of rows (0)."


Strange javascript error: form field can't have same name as function?

Why JS function name conflicts with element ID?


Why do this fail? Perl string comparison

Why can't I match my string from standard input in Perl?


Method for sorting Arabic words alphabetically ios7

How can I sort an array of strings alphabetically when the strings contains åäö?


Reading emails from an Microsoft Exchange Server Account


Using variables for CSS properties in Sass


Entity framework - how long should it take to add 75k rows?

Fastest Way of Inserting in Entity Framework


File size validation in javascript / jQuery?


Check all exceptions that a piece of code can throw

How can I determine which exceptions can be thrown by a given method?


looping through the accessdata set from access

Code to loop through all records in MS Access


Creat App load database is available in android


what is this jQuery syntax and how is it useful?

What's the meaning of the comma in a jQuery selector


Trying to figure out if two line segments intersect

Efficient maths algorithm to calculate intersections


Uploading file with ajax and java servlet

How to upload files to server using JSP/Servlet and Ajax?


Android - Gridview with Custom BaseAdapter, create onclicklistener

How to fire onListItemClick in Listactivity with buttons in list?


iOS crash log catch, debug info.. Catch and send via email to the Dev team


How to list all combinations in this scenario?

Get all the combinations of N elements of multidimensional array


complex error!!!Subscript indices must either be real positive integers or logicals

Subscript indices must either be real positive integers or logicals, generic solution


How to serialize/deserialize to `Dictionary<int, string>` from custom XML not using XElement?


How to write the equivalent Sqlite statement for query given below?

How to write the equivalent SQL case statement for query given below?


My calculator messes up when I use digits more than 8

Floating point arithmetic not producing exact results


What does the "~" (tilde/squiggle/twiddle) CSS selector mean?


How are "anded" 'if' conditions evaluated?

Difference between | and || or & and && for comparison


How to evaluate a math expression given in string form?


How do I return the response from an asynchronous call?


Delete Hidden/Invisible Rows after Autofilter Excel VBA


Why does my compiler expect a ';' before '}' token at a label?

In C why do you need a statement after a goto label?


How to parse this type of JSON Response in ios?


Status bar won't go away on scaled up version of iOS 7 app

iOS storyboard - Disable status bar on storyboard once


What is the return value if we dont return anything from a non void return typed function in c++?[Experimental]

Why does flowing off the end of a non-void function without returning a value not produce a compiler error?


How to iterate over existing classes of my project?


How can stream manipulators in C++ be functions?


Error in query - Warning: mysqli_fetch_assoc()

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


How to find a specific line in a text file, and replace it with something else

How to replace a specific word in a specific line of text


Ioc/DI - Why do I have to reference all layers/assemblies in application's entry point?


SimpleXML and print_r() - why is this empty?


How do i keep the footer always at the bottom while content resize with different resolutions


Finding a key for a certain value python


In objective c, when creating objects, why do we need to use *?


Warning: fsockopen() unable to connect to ssl://smtp.gmail.com:465 -

Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?


Represent date from long, starting from year 0 instead of 1970

How to calculate difference between two dates in years...etc with Joda-Time


Getting attributes from arrays of objects in NumPy


Not getting date whien time format in 24 hours iphone

What is the best way to deal with the NSDateFormatter locale "feechur"?


Why doesn't this array_unique work as expected?


How does the event dispatch thread work?


which is better?visibility property or display property of an element in html?

Performance differences between visibility:hidden and display:none


Why isn't sizeof for a struct equal to the sum of sizeof of each member?


Warning: mysql_num_rows() expects parameter 1 to be resource, boolean

Reference - What does this error mean in PHP?


ECSlidingViewController disabling swipe to delete in UITableView

UITableView swipe gesture requires near perfect accuracy


what is the difference between const, readonly and get in a static class

What is the difference between const and readonly in C#?


Why can templates only be implemented in the header file?


Append Non-Editable text to body of mail

Disable body of mail in WINRT application


Yii change class of errorHandler in config/main.php


How concatenate a string and a const char?


placing mean,total and max together in a table in r


virtual function calls in constructor and destructor

Calling virtual functions inside constructors


What is the "#!/usr/bin/" line at the top of every .py file


Is there a better way to compare nullable dates?


Why do I need interface when I can implement full class?


cannot understand the result of ruby logic operator

Difference between "and" and && in Ruby?


C - What Happens To Memory After free()?


subtracting two days from current date in epoch milliseconds java


Get count for each day in mongodb using aggregate or map reduce


C- Program skips a scanf request in Main

Does scanf() take '\n' as input leftover from previous scanf()?


Underscore.js filter not returning all results

Why does a RegExp with global flag give wrong results?


CUDA: how to use thrust::sort_by_key directly on the GPU?


Perform a LEFT Join on Derived tables failing with aliases

What is the error "Every derived table must have its own alias" in MySQL?


String.Format store double quotes inside string

How to add double quotes to a string that is inside a variable?


Why `pattern.test(name)` opposite results on consecutive calls


What is the best way to detect a mobile device?


Best Approach For Configuring Multiple .Net Applications


Trouble understanding how to use .on properly

Events triggered by dynamically generated element are not captured by event handler


Can I add extension methods to an existing static class?


Prevent user from seeing previously visited secured page after logout


How to activate a function before user close browser/tab?

JavaScript, browsers, window close - send an AJAX request or run a script on window closing


Parsing JSON giving "unexpected token o" error

I keep getting "Uncaught SyntaxError: Unexpected token o"


Client side encryption of posts with user defined string

How do you Encrypt and Decrypt a PHP String?


jdbc error Parameter index out of range (2 > number of parameters, which is 1)

java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0)


Java update when data exists and insert if doesnt

Does SQL Server Offer Anything Like MySQL's ON DUPLICATE KEY UPDATE


How can I redirect the "bin" and "obj" directories to a different location?


Is it ok to define a prototype function on Object in Javascript?

How to define method in javascript on Array.prototype and Object.prototype so that it doesn't appear in for in loop


jmeter compatible version with jmeter-amf plugin?

Unable to record in JMeter using AMF proxy server


'throw' of exception caught locally. Why is this bad?

Why not use exceptions as regular flow of control?


How to create a view with more than 1000 columns in Oracle?

Oracle LIMIT and 1000 column restriction


Reading large Xml files downloaded from a zip and loaded into MemoryStream

What is the best way to parse (big) XML in C# Code?


(my)SQL delete duplicate DB-entries WHERE ...

How to delete duplicates on a MySQL table?


Git tracking entire home directory. Get error - fatal: bad default revision 'HEAD'


Check if a given key already exists in a dictionary


Strategy pattern using Enums. Need a simple example in Java

Where is the benefit in using the Strategy Pattern?


Java to CSV file, SuperCSV Dozer: How to avoid looping for a nested object


Given a classpath resource, is there a way to get the java.io.File object that has/contains it?


Colouring and shading/texture of bars according to grouping ggplot2

How to add texture to fill colors in ggplot2


Javascript method to find number of milliseconds from 1970-01-01?

How do you get a timestamp in JavaScript?


Class methods which create new instances


Constructor publishing itself then throwing exception

Can constructors throw exceptions in Java?


Math.cos(Math.radians(90)) doesn't give 0


Swift compiler inconsistency with operator +=

Is this response from the compiler valid?


How can I disable ARC for a single file in a project?


TCL/Expect:: How to automate the router boot loader function

How to automate console scenario using TCL script?


Combine multiple javascript arrays into a single array

Cartesian product of multiple arrays in JavaScript