UnboundLocalError: local variable referenced before assignment Python

Don't understand why UnboundLocalError occurs (closure)


Scala path-dependent type: testing for type error

How do I write a scala unit test that ensures compliation fails?


PHP mail: All emails are received in the SPAM folder


Differentiating between copy-by-value and copy-by-reference instances/objects

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


How to set close browser or tab when open pop up


Efficiently convert rows to columns in sql server


Is it possible to get attribute printf format checks on an expanded variadic template pack?

How to use GCC's printf format attribute with C++11 variadic templates?


a click event in JQuery it's not responding

jQuery doesn't work after content is loaded via AJAX


Why does shuffling two different decks yield the same result?

Random String Generator Returning Same String


How to install and Run Visual Basic 6.0 Application on Windows 7 64 bit Operating System

Will a Visual Basic 6 program run on a 64-bit machine?


How can I develop for iPhone using a Windows development machine?


Is there any reason why recursive list comprehension is prohibited (or not recommended) in Python?


How does a for loop work, specifically for(;;)?


How to display mm/dd/yyyy hh:mm:ss am/pm in MySQL?

Return null for date_format when input is null in mysql


How to test multiple variables against a single value?


Using a variable from a different subprogram

UnboundLocalError on local variable when reassigned after first use


Create folder in same directory as shell script

How can I get the source directory of a Bash script from within the script itself?


How to access object properties containing special characters?


Using the for loop to pull data from two lists

Is there a better way to iterate over two lists, getting one element from each list for each iteration?


Good way to pull new lines from (non indexed/non sequential) huge file

How to import CSV file data into a PostgreSQL table?


Converting year and month ("yyyy-mm" format) to a date?


PHPExcel_IOFactory::load Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes)

PHPExcel throws Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes)


Objective-C: enforce call to super when overriding specific super methods in subclass

Give warning when [super method] is not called


Multiple github accounts on the same computer?


video tag src not picking ftp url as a source?


How do I center text in a console application?

Centering text in C# console app only working with some input


Why doesn't this division work in Python?


How to make a footer stay on the bottom?

Fixed header, footer with scrollable content


How do I line up multiple values from System.out.print into columns neatly?

How can I create table using ASCII in a console?


Tomcat hot deployment, JDBC driver failed to unregister

To prevent a memory leak, the JDBC Driver has been forcibly unregistered


Replacing first occurence of two asterisks in a String in java

How to use replaceFirst to Replace {....}


CRM 2011: To display the webpage again the web browser needs to resend the information error


Transposing multidimensional arrays in PHP


C++ template member function not declared in this scope

Why can templates only be implemented in the header file?


Highcharts multiple series in drill down

Highcharts 3.08 drilldown with multiple parent series


Implicit super constructor Event() is undefined

Java error: Implicit super constructor is undefined for default constructor


Error coming up while running query on empty fields

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


Adding in a new script - not working with JQUERY

Defer loading of JavaScript - Uncaught ReferenceError: $ is not defined


why does the jquery change event not trigger though the value of input changed indeedly?

Why does the jquery change event not trigger when I set the value of a select using val()?


Read the directory, the current opened script is located in


Why can't pip install the metar distribution even though it's in the search results?

python pip: no distributions at all found for an existing package


How to format unicode string to fixed width?

how to control output format when chinese characters and ascii mixed?


Significance of text inside square brackets

What does square bracket [] mean in the below code?


Why can templates only be implemented in the header file?


Why don't Python dictionaries treat keys independently in this script?

How to copy a dictionary and only edit the copy


What's the differences between Array declaration and Collection declaration

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


SFINAE check if expression compiles and return std::true_type

Templated check for the existence of a class member function?


extract multiple parameters from a string & do something


What is wrong with this To_Date() statement?

Extract a full timestamp (date included) from a Select query; Oracle


Initializing ArrayList with some predefined values

Initialization of an ArrayList in one line


Error The length of the query string for this request exceeds the configured maxQueryStringLength value

Asp.Net MVC: requests with too long URLs and error handling


PHP and MySQL error: Object of class mysqli_result could not be converted to string


struts multi-dimensional map-backed action form

Combining Mapped properties with Indexed properties in Struts


Get current URL path with query string in PHP


Inheritance-Why can't I declare a private method in a subclass with same method signature in super?

When overriding a method, why can I increase access but not decrease it?


Accessing dataframe column causes Error in sort.list(y) : 'x' must be atomic for 'sort.list'

Accessing column with df[col] gives: Error 'x' must be atomic for 'sort.list'


class methods and different styles of programming in ruby

Why isn't the eigenclass equivalent to self.class, when it looks so similar?


Primefaces cellEditor passing the entire datatable in ajax submit

How to decrease request payload of p:ajax during e.g. p:dataTable pagination


Primefaces with managedBeans always return null

p:commandbutton action doesn't work inside p:dialog


Bash if statement with multiple conditions throws an error

How to represent multiple conditions in a shell if statement?


pygame Camera class Error: Cannot set capture resolution

python pygame blit. Getting an image to display


javascript - Why add parenthesis when evaling objects?

Why does JavaScript's eval need parentheses to eval JSON data?


How to check if a date Object equals yesterday?


Is it possible to write custom text on Google Maps API v3?


How to resign numeric textfields in iOS?

Dismiss keyboard on touch anywhere outside UITextField


Objects added into my arrayList are being overridden by the last object that was added? why is this?

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


How to get JS variable to retain value after page refresh?


Group by: ORA-00937: not a single-group group function


How to create a circular ImageView in Android?

How to make an ImageView with rounded corners?


Hover action not working with dynamically created UL


WebBrowser control not auto-selecting text on double-click after IE 10 install

How to detect double click on WebBrower control?


Unsure what this while statement is doing


How to prevent an application from being uninstalled


Rails Installation error :The 'atomic' native gem requires installed build tools

The 'json' native gem requires installed build tools


Getting the Full Path Of A File Upload Field In A Form in PHP


Get only twenty five data from hundred data in foreach php

XML Feeds & PHP - Limit the number of items


Float and Double value creating confusion in c

What is the difference between float and double?


Why does my C# Random not create any random number?

Random number generator only generating one random number


Tree Table with Jquery/ Ajax using Dynamic Data from Mysql

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


How to make selected an option of tag select in jquery without value

jQuery - setting the selected value of a select control via its text description


call a phtml file in Layout Update XML to set title in magento

How to call a phtml file in cms page to set page title


Android google maps custom icon from url stored in sqlite


jQuery - how to assign click() to an element inside html that was loaded using load()

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


When using Collections.sort(), it sorts and prints the hashcode

How do I print my Java object without getting "SomeType@2f92e0f4"?


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


What's the best solution to check a users country?


NSString cString is Deprecated. What is the alternative?


Sub-Protected Method in java. (Can't think of a better way to phrase this)

how to restrict protected method access to only subclasses


How to check if a row exists in MySQL? (i.e. check if an email exists in MySQL)


get selected value between li asp.net mvc

Onclick event for li with javascript in asp.net mvc


Is there any easy way to increment a DateTime by monthly/yearly/daily units without having to parse it out like crazy?


PHP Notice: Use of undefined constant dbserver - assumed 'dbserver'

What does the PHP error message "Notice: Use of undefined constant" mean?


Send keys to a inactive window in Python

Send some keys to inactive window with python


How to write a program that determines its compiler

Can code that is valid in both C and C++ produce different behavior when compiled in each language?


How to check if a CGSize is initialized (or if its value is different from "nil")


How to deal with floating point number precision in JavaScript?


Objective-C: How to build command dispatch table?

Block gets released whilst in NSDictionary (ARC)


when arrays are implicitlly converted to pointers in c

C: Behaviour of arrays when assigned to pointers


With arrays, why is it the case that a[5] == 5[a]?


Use of XSSFWorkbook Sheet interface results in Java Null Pointer exception

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


Splitting a String for use in a UI selection element


C# Can't get combobox Selected Item string

How to get the selected item of a combo box to a string variable in c#


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


How to disable "extends" for a php class?


how to delete files in the remote repository?


Google Maps v3 - limit viewable area and zoom level


Performance of && operators in JavaScript

Does a javascript if statement with multiple conditions test all of them?


How to convert an array to object in PHP?


Passing vector, getting ArrayList in Android

How to put a Vector into an intent.extra?


Initialization in definition vs. initialization in constructor

What are the best practices for determining the tasks of Constructor, Initialization and Reset methods


Disable Close Button without Disabling Icon

Visually remove/disable close button from title bar .NET


Using system commands in Perl instead of built in libraries/functions

Using Perl modules vs. using system() calls


How to use # symbol in terminal password

Escaping username characters in basic auth URLs


Using generic types in XAML x:Type markup

Can I specify a generic type in XAML (pre .NET 4 Framework)?


How to append data to an existing .mat file without loading the existing data from that mat file in MATLAB?

How can I load part of a .mat file that is too big in memory for my machine?


Can I join a table to a list using linq?

EntityFramework - contains query of composite key


How to compare two DateTime strings and return difference in hours? (bash shell)


Capturing mouse/keyboard events outside of form (app running in background)


What does Runtime.getRuntime().availableProcessors() exactly return?

Runtime.availableProcessors: what is it going to return?


MongoDB $project: Retain previous pipeline fields

Include all existing fields and add new fields to document


git: inspect the contents of files in other branches without modifying any repositories

View a file in a different Git branch without changing branches


How to give an abbreviation to a namespace?


Explicit array for params with optional arguments?

C# 4.0, optional parameters and params do not work together


Creating a two dimensional array in Objective-C


“Unexpected T_OBJECT_OPERATOR” error in PHP


Can django support chunked transfer encoding (in http push request) in general and when deployed on heroku?

Handling HTTP chunked encoding with django


Updating factor levels while filtering R data.frames

Drop unused factor levels in a subsetted data frame


Keeping my body and menu centered together

Centering my body to the menu and the rest of the page


Access window variable from Content Script

Chrome extension - retrieving global variable from webpage


Putting iPhone to sleep hides tableview cells

UITableView cells strangely disappearing


Prevent adding controls from toolbox to a UserControl at Design Time

UserControl with header and content - Allow dropping controls in content panel and Prevent dropping controls in header at design time


How to calculate the distance between points?


Integers adding as strings in Javascript

How to convert a string to an integer in JavaScript?


Why this line of Shell works in eval() but get failed in bash


Warning: Invalid argument supplied for foreach()


PHP: How do I loop through every XML file in a directory?


Get string between two strings in a string


PHP header("location: filename.php"); does not work when session _start(); is running before

How to fix "Headers already sent" error in PHP


Winform webbrowser control not rendering in IE8 mode in a machine having IE9

how to make winforms webbrowser control to work very similar to targeted Internet explorer


JSON unmarshalling single element arrays


What is the use of this kind of declaration?


Autowired Service is null in jsf Converter

How to inject @EJB, @PersistenceContext, @Inject, @Autowired, etc in @FacesConverter?


What is the meaning of `struct X typedef` vs. `typedef struct X`?


In Javascript, Check the array element include in another array

How to check whether multiple values exist within an Javascript array


Declaration of a Class in different ways

Is there any benefit of using an Object Initializer?


Finalize Method in java [Garbage collection]

Java Finalize method call when close the application


Decimal checking using Regex in javascript

Simple regular expression for a decimal with a precision of 2


Does registring to events saves a class from bieng garbage collected?

Do event handlers stop garbage collection from occurring?


dplyr: Add group aggregates directly to long data frame

Calculate group mean (or other summary stats) and assign to original data


how to submit a form containing file in ajax?


Remove elements from string after list of characters- without using a foreach loop

Replacing multiple characters in a string, the fastest way?


Export the project in Eclipse without including the third party jars

How to create a jar with external libraries included in Eclipse?


How can I add my own style property and values?

Create CSS styling properties using JavaScript


Read row and search for only uppercase “words”


Is it possible to assign char pointer to float value?

Pointers and assignment, how does it work with different types?


What is the difference between Window and window?


How do I write this if condition with Jquery?

Detect if an element is visible with jQuery


AngularJS : Render HTML in $scope variable in view

Insert HTML into view from AngularJS controller


How do I update the GUI from another thread?


Reshape three column data frame to matrix ("long" to "wide" format)


Constructors C++, What does the colon after a constructor mean?


Conditional coloring of cell in a dataframe using R

heatmap-like plot, but for categorical variables


WPF displaying 'object' does not contain a definition for 'GetElementById'

How do I cast a System.Windows.Control WebBrowser.Document to an mshtml.MSHTMLDocumentClass?


Force download with Swedish characters (åäö) filename

How to encode the filename parameter of Content-Disposition header in HTTP?


"Unrecognized Selector Sent to Instance" - Error When Adding Search Bar

Error: unrecognized selector sent to instance


Exception in thread "main" java.lang.NullPointerException

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


What does the statement "int? i1 = i2" do in c#?


two plots sharing x-axis with different geoms in ggplot2


How to convert string date to Timestamp in java?


While implementing HashMap: type mismatch when trying to program to interface

Why can't you have a "List<List<String>>" in Java?


What happens when __init__() gets some arguments

What does ** (double star/asterisk) and * (star/asterisk) do for parameters?


Any way to pass args from test to setUp() method for a Python unittest test?


what does breaking ties mean in Order function in R?

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


Is there a way to only delete letter out of an entry without deleting the entire entry?

Restricting the value in Tkinter Entry widget


JavaScript: 2 questions on JSON data manipulation

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


new to java - synchronized static methods lock on the class

Concurrency in Java: synchronized static methods


Perl: How to replace a string in file with a paragraph

sed find and replace between two tags with multi line


Performing an arbitrary number of self joins in mySQL


Python : pop() inside while loop returns error


Can't register cookie, I got an error code about headers

How to fix "Headers already sent" error in PHP


Javascript - Sort an array of strings that can contain letters,numbers and dates

Sort Array Elements (string with numbers), natural sort


Sorting an array which contains string, date and number


Commands out of sync; you can't run this command now


How to pass quoted arguments from variable to bash script

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


UIDevice uniqueIdentifier deprecated - What to do now?


How to make JavaScript choose one of three options at random?

Generating random whole numbers in JavaScript in a specific range?


How to extract duration time from ffmpeg output?


Java SimpleDateFormat parse not reversibile?


How to get files more than one extension?

Can you call Directory.GetFiles() with multiple filters?


What is the purpose of adding a version in CSS?

Why adding version number to CSS file path?


Why can't i specify constructor restrictions for type parameters besides : new()

Restricting a generic type parameters to have a specific constructor


How do I scrape website with term acceptance page?

How to code an automated bot that can browse and do operations on a webpage


Java: Avoid inserting duplicate in arraylist


android google maps v2 or v3 to recognize the polygon click event

Polygon Touch detection Google Map API V2


Why can't C# compiler infer generic-type delegate from function signature?

Why can't C# infer type from this seemingly simple, obvious case


how to make Visual Studios 2012 add a "}" right after a type a "{"

Curly braces autocomplete in Visual Studio 2012


Can anyone explain me the logic behind this hash-function?

Understanding strange Java hash function


how to get only particular fields in response in struts2


What error code does a process that segfaults return?

Are there any standard exit status codes in Linux?


How could I write a MEX+CUDA code and compile?

mex linking of cuda code in separate compilation mode


Google Places Autocomplete - Pick first result on Enter key?

Google maps Places API V3 autocomplete - select first option on enter


javascript confused with the keyword this

Javascript: Do I need to put this.var for every variable in an object?


Is there any way of getting time for a given city?


In python, why can't I inherit pandas.Series in a simple manner?

subclasses of pandas' object work differently from subclass of other object?


Caused by: java.security.UnrecoverableKeyException: Cannot recover key


how to set a column as unique indexer on Sqlite


Bash Script with command line arguments which are files

Variable Syntax Error with Bash Script (Homework)


One-instance only application in C and Linux

How to create a single instance application in C or C++


Building Expression Tree for string.Contains

How do I create an expression tree to represent 'String.Contains("term")' in C#?


Element-wise array replication in Matlab


Simple reshape of a data frame from wide to long

Reshaping data.frame from wide to long format


How to split a large file into many small files using bash?

How to split a large text file into smaller files with equal number of lines?


SimpleXML, XPath: how to get content of element by unique id?

PHP - Access first index of array of SimpleXML::xpath function


jquery onclick change css background image

Setting background-image using jQuery CSS property


Can I apply CSS to the elements within an iframe?


Android -How to upgrade database from asset folder?

DB File in Assets Folder. Will it be Updated?


java.lang.RuntimeException: Fail to Connect to camera service


Why can't a list of an interface type accept instances of an inheriting interface?

Convert List<DerivedClass> to List<BaseClass>


GCC compilation errors related to while statement

Lots of stray errors - "error: stray ‘\210’ in program in C++"


How to create an ArrayList of incoming data from text file


C++ Template class definition and declaration seperation

Why can templates only be implemented in the header file?


How to filter a queryset for dates matching a given day?

Convert a datetime.date object into a datetime.datetime object with zeros for any missing time attributes


Run interactive REPL first with input from a file then from user input

Running a Common Lisp function from a Terminal command prompt


function accepts one argument either object or null


Is it safe to remove "RewriteBase /" within this context


How can I chain many sequential promises while limiting stack depth?

Building a promise chain recursively in javascript - memory considerations


Why can't I reassign a LinkedList reference that was passed to a static method?

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


Defining Functions in Sections of a MATLAB file

Is it possible to define more than one function per file in MATLAB, and access them from outside that file?


How do I only read the header for a URL in Ruby?

How to get HTTP headers before downloading with Ruby's OpenUri


How to access a variable in one function in another function?

How to access variables defined and declared in one function in another function?


R: matrix double summation and normalization by vectors

Fastest way to do this double summation?


Why is my UINavigtionController bar getting incorrectly positioned on iOS 7 only when I override it?


difference between the dot operator and arrow operator by structure object variable for tree creation in c or c++

What is the difference between the dot (.) operator and -> in C++?


Insert into ... values ( SELECT ... FROM ... )


Trouble in overriding the equals(...) method in Java

When overriding equals in Java, why does it not work to use a parameter other than Object?


Java: What is the idiomatic way to extract month and year from Date

Get integer value of the current year in Java


Printing integers starting with 0's - java


What's the difference between Int16, Int32 and Int64?

What is the difference between int, Int16, Int32 and Int64?


What is the purpose of calling Array.prototype.slice against a NodeList?

Explanation of [].slice.call in javascript?


How to store a series of vectors from a for loop matlab

Subscript indices must either be real positive integers or logicals?


send a large number from php to jquery without scientific notation

Display float value w/o scientific notation


c++: function that concats all its arguments as a string


Python: TypeError: 'str' object is not callable (mssql)

TypeError: 'str' object is not callable (Python)


mysql - retrieve specific column name from table

Get column name dynamically by Specific row value


Javascript memory concerns and deleting unused variables

Is it good practice to set variables to null when they are no longer needed?


capturing the clicked option in bootstrap selectpicker

Get last clicked option in multiple select


Ways to circumvent the same-origin policy


How to get current network signal strength in android?

Android: How do I get GSM signal strength for all available network operators


common controller functions in a codeigniter module


Roboto font doesn't render well in Chrome but looks good in FireFox

Is there any "font smoothing" in Google Chrome?


Change html5 drag and drop feature so that element looks attached to cursor

Controlling the appearance of the HTML5 drag and drop effect


Ant error when trying to build file, can't find tools.jar?


Dealing with 0.0 and -0.0, how to properly compare values


Subtracting two dates gives error "The operator - is undefined for the argument type(s) java.util.Date, java.util.Date"


Django model for storing multiple files in a single user profile


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


Assign / cast more specific type of IEnumerable<object> not working with structs

Why cannot IEnumerable<struct> be cast as IEnumerable<object>?


Escape JavaScript in Expression Language


how to delete spaces in specific elements of a vector?

How can I trim leading and trailing white space?


No matching function call for an already defined function


How can I check if a SQL Server constraint exists?

How to check if a Constraint exists in Sql server?


What is the most efficient way to check if item exists in Arraylist?

Most efficient way to see if an ArrayList contains an object in Java


jQuery get the value from selectbox by its text

Get selected text from a drop-down list (select box) using jQuery


JQuery UI Tabs - Spinner Background Image


Output changes with respect to the compiler

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


javascript - regular expression to validate date in mm/dd/yyyy format


PHP unit testing protected variables in an abstract class

Best practices to test protected methods with PHPUnit (on abstract classes)


Different layout styles for each row in android custom listview

Android ListView with different layouts for each row


Compiling issue with Code::Blocks and OpenGL

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


JavaScript closure inside loops – simple practical example


jQuery selectors for dynamically generated HTML elements?

Event binding on dynamically created elements?


Whether or not to force type checking for python


Child selector with .has() method not working

jQuery: subtle difference between .has() and :has()


Insert an hidden character in an HTML text string?

Insert an hidden character in text string using JavaScript


How to access object properties containing special characters?


jQuery animate({left:"+=10"}) not working


How do I get a TextBox to only accept numeric input in WPF?


How to get Json Array to work inside Asyntask - Android

How to put Json inside asynctask - Android


Delphi TWebBrowser CTRL + Scrollwheel doesn't change zoom

How to make TWebBrowser Zoom when using ctrl+mousewheel like Internet Explorer does?


simple html dom does not work on my dedicated server

Simple HTML Dom - Fatal error when using load_file


Regular Expression Capturing word/non-word and non-word/non-word boundaries

Custom word boundaries in regular expression


Random from Python Dict with lowest values as priority


This code returns distinct values. However, what I want is to return a strongly typed collection as opposed to an anonymous type


Get surface that java.awt.Graphics is rendering onto, and then capture current display


placeholder attribute not working when imbedded in iframe in IE

can't get placeholder attribute to work in IE using iframe


Why can't decimal numbers be represented exactly in binary?


Why is this head method without a return type or void declaration?


Why is .call(this) used instead of parenthesis

Reason behind this self invoking anonymous function variant


Check if a URL is valid in PHP allowing wildcards


Math.Round of 14.5 rounds to 14 instead of 15, why?

Why does .NET use banker's rounding as default?


C++ - template classes, header files and duplicate errors

Automatically stop Visual C++ 2008 build at first compile error?


Printing On a Single Line with A While Loop?

How do I keep Python print from adding newlines or spaces?


Pass each list item to a new thread one by one


How do I read a resource file from a Java jar file?


Target Unreachable, identifier resolved to null in JSF 2.2

Identifying and solving javax.el.PropertyNotFoundException: Target Unreachable


Does try/catch work outside of Task.Factory.StartNew?


How does the URL change without refreshing the page?

Change the URL in the browser without loading the new page using JavaScript


How to squeeze error message out of PDO?


Can a foreign key reference multiple tables?

Possible to do a MySQL foreign key to one of two possible tables?


Tracking linear movement on mobile devices

Android accelerometer accuracy (Inertial navigation)


How to access variables dynamically by building a string


Why can templates only be implemented in the header file?


Why does the order in which libraries are linked sometimes cause errors in GCC?


Why does my python regex code not work properly?

RegEx match open tags except XHTML self-contained tags


Multi dimensional array of unknown depth to one dimensonal array and relevant keys in PHP

How to Flatten a Multidimensional Array?


Why am I only getting the last item from javascript for loop?

JavaScript closure inside loops – simple practical example


PHP- browser detection script working offline but not working online

How to fix "Headers already sent" error in PHP


The I got this error "method format(String, Object[]) in the type String is not applicable for the arguments (String, int, int, int)"

The method format(String, Object[]) in the type String is not applicable for the arguments (String, int, int)


When I insert "'50261111111s11", it inserts 2147483647 instead

Long integer is transformed when inserted in shorter column, not truncated. Why? What is the formula?


Getting std::thread/mutex to work under Win7 with mingw and g++ 4.7.2


Variable name definition in front of for in loop

Is using 'var' to declare variables optional?


Is Python a pure object-oriented language

Is everything an object in Python like Ruby?


Cannot read multiple externalizable objects from InputStream

StreamCorruptedException: invalid type code: AC


Perso-Arabic Characters are not correctly shown on the command-line

Why am I getting the last octet repeated when my Perl program outputs a UTF-8 encoded string in cmd.exe?


Python how to sort a dictionary by value in reverse order


Calling a generic method in .NET that matches multiple interfaces?

Casting an object to two interfaces at the same time, to call a generic method


Calculating mean values based on two different groupings in a data frame

Get the means of sub groups of means in R


NullReference exception thrown during if statement, what's wrong?

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


Why isn't my if statement working properly?


Browser specific prefixes necessary CSS?


PDO - Fatal error: Call to a member function fetch() on a non-object

PDO: Call to a member function fetch() on a non-object?


In Powershell 2.0, how do I create a GUI that not only displays text, but can take input for the script?

is it possible to have a window to insert data made by powershell?


When should I use os.name vs. sys.platform vs. platform.system()?

When to use os.name, sys.platform, or platform.system?


How to format a floating number to fixed width in Python


I am creating a PHP script for logging into a website but i keep getting an error with the headers and session

How to fix "Headers already sent" error in PHP


Is it a bad practice to always capture all in a lambda expression?

Do c++11 lambdas capture variables they don't use?


Redirect to login page when user clicks on back button after logout in JSF

Avoid back button on JSF web application


How does a Java HashMap handle different objects with the same hash code?


SQL Error: ORA-00979: not a GROUP BY expression


Is there documentation for the Rails column types?


error CS0027: Keyword 'this' is not available in the current context

Keyword 'this' (Me) is not available calling the base constructor


How to merge in smaller units in Mercurial?

Easiest way to perform incremental merge in mercurial


Remove extra spaces from left and right of a text


MySql Transpose Row into Column and Column into Row

How can I return pivot table output in MySQL?


How can I get query string values in JavaScript?


What is the wrong if i compare string using == operator in java instead of equals() method


How to read an audio file from IsolatedStorage?


Java: Try/Catch Statements: While exception is caught, repeat try statements?


What is character encoding and why should I bother with it


Push notification issue on Setting Screen

Determine on iPhone if user has enabled push notifications


Disable spellcheck in h:inputtextarea using jQuery

How to select JSF components using jQuery?


use javascript xml xslt to set click event on last li


Running a foreground service in Android without a notification icon

How to startForeground() without showing notification?


Rotating image / marker image on Google map V3


How do I create an instance of the Array type with a given ElementType?


gridview inside listview layoutparams android


How to detect the active iTunes store on the iPhone/iPod Touch/iPad?


Get the offset position of the caret in a textarea in pixels

How do I get the (x, y) pixel coordinates of the caret in text boxes?


How to change border color of radio button in android?


Instruction reordering & happens-before relationship in java

How to understand happens-before consistent


Converting dates with a format of d/mm/yy (for years earlier than 69)

Add correct century to dates with year provided as "Year without century", %y


java.lang.NullPointerException on version upgrade

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


Convert string in base64 to image and save on filesystem in Python


how to post route map on facebook not image


$(this) inside of AJAX success not working


Primefaces Chat Application - web.xml Invalid content was found starting with element

cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'


Remove items from array with splice in for loop

Looping through array and removing items, without breaking for loop


Code compiles but I have this error that I am unable to figure out a solution to since a long time.

How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds


How should I transfer pdo qoute into query?

How to include a PHP variable inside a MySQL statement


Simple Delegate (delegate) vs. Multicast delegates


What is the purpose of calling Array.prototype.slice against a NodeList?


How can I force www, remove trailing slash, force non-ssl and remove the .php extension using .htaccess?


How to read elements in header as is in R?

R: loading a table with number as the column heading all were wrongly added a X, how to solve it?


Updating Core Data executes UITableView problems

Sections in UITableView not showing properly


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


Alignment of Wide east asian characters with format function

Align unicode text in terminal window using default monospace font


How do I write a rails migration to convert a field type?

Changing a column type to longer strings in rails


How to make a header for C++0x/11 and non C++0x/11?

How to determine the version of the C++ standard used by the compiler?


Storyboard picked color differs from coded color

Color difference between drawRect and Interface Builder?


Static Initializers vs Instance Initializers vs Constructors

Use of Initializers vs Constructors in Java


JavaScript Regex not after a specified character

Javascript: negative lookbehind equivalent?


How to create an PDF reader for Android without text editing

Example of code to implement a PDF reader


Why do we use return *this in overloaded assignment?

Why must the copy assignment operator return a reference/const reference?


set combobox's item list based on my query's field


What is the statement to get counts for unique values in a table?

How to get the count of each distinct value in a column?


Unbounded Local Error: Why Does it occur when a global variable is redefined inside a function but not when it is merely referenced?


Conditional comment to include content where IE > 8 or !IE?

IE Conditional operator: OR ... if is greater than ie9 or not IE


Simple Javascript calculations ending up with huge decimal places


Android: Set number of visible items in a list view

Android ListView set Number of items to show


Which is better in storing and retrieving images?


Assign same value to multiple variables at once?


Which is better, return value or out parameter?


Prevent stop of code execution on undefined value

Test for existence of nested JavaScript object key


Using JSoup with AsyncTask to Access a URL & Always throwing an Exception in doInBackground()

How to fix 'android.os.NetworkOnMainThreadException'?


PHP in math operations I have strange issue


SQL Select from table where timestamp is greater than 1 hours ago


How to UNCOMMENT a line that contains a specific string using Sed?

SED/tr etc.. : How to comment out a line that contains "string" in a file?


I'm getting the strange output from in_array function

PHP in_array() / array_search() odd behaviour


Are class names in CSS selectors case sensitive?


Pythonic way of accessing recursively nested dict

Access nested dictionary items via a list of keys?


Strange warning about operation may be undefined for var++

Parameter evaluation order before a function calling in C


Autolayout unable to simultaneously satisfy constrains

Unable to simultaneously satisfy constraints, will attempt to recover by breaking constraint


Get textblock text value on contextmenu click

DelegateCommand is not invoked in context menu


Better solution to get differences between list elements

Python: Finding differences between elements of a list


Customize UIActivityViewController to only show selected apps, excluding AirDrop functionality and bottom row of actions?

Exclude AirDrop and Add to Reading List from apps build with iOS 6 SDK


Reading output of a command into an array in Bash


How to convert string representation of list to a list?


Best way to display a PDF within an android app


Having a contructor extend into a sub-class from an abstract class?


Python search list according to another reference list

Sorting list based on values from another list


Double dot syntax in JavaScript - What is this expression doing and how is it valid syntax?

Calling member function of number literal


Why does 10..toString() work, but 10.toString() does not?


How do I return the response from an asynchronous call?


How do I do this jquery pattern in dart?

Waiting for Futures raised by other Futures


Syntax error due to using a reserved word as a table or column name in MySQL


How to validate an XML file using Java with an XSD having an include?


Phpmyadmin giving me sintaxerror on creating a procedure

Creating functions in phpMyAdmin - Error: access denied you need the super privilege for this operation


What is the default access modifier in Java?


What is a function that allows character vector creation without using quotation marks?

Does R have quote-like operators like Perl's qw()?


Sum of prime numbers below 2,000,000 giving wrong result


Applicable of Spring Annotation in different layers

What's the difference between @Component, @Repository & @Service annotations in Spring?


Is it possible to convert this if/else if to switch statements?

How do I select a range of values in a switch statement?


Convert to absolute value in Objective-C


Why is there an unexplainable gap between these inline-block div elements?


Server with 4GB RAM - amount of memory to set the memory_limit in PHP for this server?


Perl - Reading a file and appending data to a line that is already existing

How do I change, delete, or insert a line in a file, or append to the beginning of a file in Perl?


Model Empty Null Exception Error on Delete

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


Is it better to use "<>" or "!=" for not equals in MySQL?

Difference between "not equal" operators <> and != in PHP


How to put legend outside the plot with pandas


How to grep for specific pattern in a file

Can grep show only words that match search pattern?


Store extra properties in a javascript integer


How to pass two generics types into an extension method


Fatal error: Maximum execution time of 30 seconds exceeded


How can I improve my program in Python for reversing words in a string


What's the different between <!DOCTYPE> and <!doctype html>(CSS set inner block height by percentage and containing block to auto , something wrong)

<body> background-color property doesn't work correctly with HTML5 DOCTYPE


How to associate pressing "enter" with clicking button?


error: function returns address of local variable


jQuery does not seem to work when I rename a class

Event binding on dynamically created elements?


Dividing the integers in two separate arrays

Array Division - What is the best way to divide two numbers stored in an array?


comparison dates with string dd-mm-yyyy format in sqlite


How to make a .net app run on either 3.5 or 4.0/5 without asking users to install a target framework?


X sends many key up events when a key is held


How can an app use files inside the JAR for read and write?


Change the image source on rollover using jQuery


Determine if Program is Run from CMD or from Explorer

How can I get the PID of the parent process of my application


NA in `i` expression of data.table (possible bug)

DT[!(x == .)] and DT[x != .] treat NA in x inconsistently


Difference between Queue q = new LinkedList and LinkedList q = new LinkedList?

What does it mean to "program to an interface"?


document.getElementById Outside of Function not Working?

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


What's the simplest way to print a Java array?


Results of XML parsing start from the last & found in the

NSXMLParser don't get all the tag if the tag have accent


how to add icon in button that's aligned to the left and make it either black or white?


Making $.get assign something to a variable

How do I return the response from an asynchronous call?


How do I define what an operator does for a class in Java


Is there a way to replace the default image-not-loaded-yet browser icon?

jQuery/JavaScript to replace broken images


How to stop facebook app photo uploads grouping together

Disable grouping of photos on the timeline


Using static methods in Android with getApplicationContext()?

the method getApplicationContext() is undefined


How to add r^2 values graph in R using ggplot2?

Add regression line equation and R^2 on graph


Event binding on dynamically created elements?


How to make a SplashScreen in C# WindowsFormsApplication

How to build splash screen in windows forms application?


How can I use std::maps with user-defined types as key?


How to send sms using asp.net C# (For Free)

How send sms from websites using asp.net c# without third party sms gate way


Make DIV extend in height to bottom of parent DIV


creating a c++ class file in both a .h and .cpp file

Separating class code into a header and cpp file


convert html special character code in string coldfusion

Decode Numeric HTML Entities in ColdFusion?


Is that possible to bind a new property for an existing class's instance like JavaScript in c++?


How do I extract data from JSON with PHP?


Do something different depending on what the user clicks on


Using Play/Anorm with more than 22 fields?

How to get around the Scala case class limit of 22 fields?


What's the differences between document and window

What is the difference between window, screen, and document in Javascript?


Member variables, get and set methods, public and private (Java)


Why im not getting the response back from this factory function in angularJS

How do I return the response from an asynchronous call?


Custom encryption decryption function not decrypting properly


Is there something equivelant in c++(or c++11) for @ like in c#?

What is the C++ equivalent of the C# @ symbol prefixing strings?


Generating random sample from the quantiles of unknown density in R

How do I best simulate an arbitrary univariate random variate using its probability function?


How to fix 'android.os.NetworkOnMainThreadException'?


Pythons equivalent to PHP's file(fn, FILE_IGNORE_NEW_LINES)

How to read a file line-by-line into a list?


Are arrays in PHP copied as value or as reference to new variables, and when passed to functions?


Remove part of URL using Mod_Rewrite with #

Remove hashtag from redirect with RewriteRule


What is the difference between a URI, a URL and a URN?


NSInvocation getReturnValue: called inside forwardInvocation: makes the returned object call dealloc:


how to read last line in a text file using java

Quickly read the last line of a text file?


mysql sort table and get row position mysql

How best to get someone's 'rank' from a scores table with php and mysql without looping


What are access specifiers? Should I inherit with private, protected or public?


How can I set the value of a UILabel following a segue?


Searching for specific file extensions in a folder/directory (PHP)


Stop async dispatched queue on button clicked iphone

Objective-C, cancel a dispatch queue using UI event


Spotting law of demeter violations in c# code


Are cookies persistent across different browsers?

Cross browser cookie in php. Pass cookies between different browsers


Can I nominate my own shorthand name for frequently used types in VB.NET?

What is the equivalent or workaround for a typedef in VB.NET?


How to set an ints Hex Literal from a string,


How do you convert a decimal with a unit of measure to a float with the same unit?

Maintaining Units of measure across type converstions


How to prevent click events on the document body (maybe a bug in Cordova?)


What's the deal with a leading underscore in PHP class methods?


CSS absolute div inside relative parent for Firefox

Firefox ignores absolute positioning in table cells


AndroidRuntimeException: requestFeature() must be called before adding content


How can you check for a #hash in a URL using JavaScript?


How to call mouseup event after calling preventDefault on mouseMove event?

How to trigger an event after using event.preventDefault()


Error While starting/stopping the application-Apache tomcat server

java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException


Why can't I write this code in the usual for statement?


In jsf how integer properties get value 0 in client page without process validation phase for first time request

How to make number input area initially empty instead of 0 or 0.00?


Duplicate values removal using Javascript

Get all unique values in a JavaScript array (remove duplicates)


Undefined, unspecified and implementation-defined behavior


Eclipse is not running due to eclipse.ini

Eclipse will not open due to environment variables


Find number of lines in csv without reading it

How to get line count of a large file cheaply in Python?


Absent Code attribute in method that is not native or abstract in class file javax/faces/webapp/FacesServlet error in compilation

How to properly install and configure JSF libraries via Maven?


Sorting an array which contains string, date and number

Javascript - Sort an array of strings that can contain letters,numbers and dates


Difference between static class and singleton pattern?


Android GCM Registration fails with AUTHENTICATION_FAILED exception


Best Practice for WCF Service Proxy lifetime?


Starting with a forward slash in html for "href"


What is the difference between Class.this and this in Java


How does instance_eval work and why does DHH hate it?


Inherited data member in generic class not visible in derived class unless prefixed with this->

Why do I have to access template base class members through the this pointer?


How do I make a WinForms app go Full Screen


JSON object undefined in IE compatibility mode

JSON object undefined in Internet Explorer 8


rounding numbers up in javascript having problems

How to round to at most 2 decimal places, if necessary?


Create database index with Entity Framework


Difference $('div').on('click'... and $(document).on('click', 'div'

Difference between .on() functions calls


JSONP returning "Uncaught SyntaxError: Unexpected token :"

json Uncaught SyntaxError: Unexpected token :


How to capture the image without showing Camera View in ios

How can I capture an image from iOS camera without user interaction?


Why does time incorrectly report such a fast time?

Why does Python "preemptively" hang when trying to calculate a very large number?


How to put a shadow in all four sides of an image?

How to apply box-shadow on all four sides?


how to change Jquery datepicker date format

How to change date format (MM/DD/YY) to (YYYY-MM-DD) in date picker


Double free or corruption when using destructor

Dynamically allocating an array of objects


Remove "x" number of characters from a string?

How do I get a substring of a string in Python?


successively calling temporary object's methods


String.Format in javascript as in vb.net

JavaScript equivalent to printf/String.Format


how to add reference of c# dll to windows phone 8 project

Unable to add DLL reference in Windows Phone 8


Scanner issue when using nextLine after nextXXX


How to get current date - two weeks date in Java?

How to get the date 7 days earlier date from current date in Java


How can I add third state in Android Switch?


SQL Sum Function limit 0, 3 returning sum of entire column

MySQL select SUM of results with a LIMIT


How to SELECT (n-1) Columns without writing all column names in SELECT Query, SQL?

Select last N# of columns of a table from MySQL


How do I tokenise a string in C++ into substrings

How do I iterate over the words of a string?


Fetch notifications from notification bar


What's the benifit of filter in servlet?


When i inserted string "Jack - Jill" in mysql db it saved as "hello â€“ world"


static_assert even if member is not instantiated

static_assert fails compilation even though template function is called nowhere


JVMs terminate simultaneously with error code 143


What is the reason implementing IEnumerable and IEnumerator

What is the difference between IEnumerator and IEnumerable?


Why is it possible to assign recursive lambdas to non-lazy vals in Scala?


Pythonic way of looping through a binary file?

What is the perfect counterpart in Python for "while not EOF"


Trying to create a bitmap from a ByteArrayOutputStream


populating values to a new table from the existing tables in SQL server

Insert into ... values ( SELECT ... FROM ... )


HTML + CSS: Ordered List without the Period?


Excel 2010 VBA - Close file No Save without prompt

VBA workbooks.Close without being prompted to if the user wants to save?


Updated values in global variable is lost in Shell Script


How to return a result from a SQLite SELECT?


Cannot get key in JSON string, comes up null

How do I gather JSON data nested in an array using NSDictionary


Use Expect in a Bash script to provide a password to an SSH command


Android Studio new project shows Runtime exception error


Is there a way to get the function call stack as a textual output in C or C++ application?


Communicating from fragment back to main activity

Interface communication from fragment to activity issue


Session invalidates after Tomcat restart


What is the maximum Tuple Size in Swift, and why?

What is the limit (if any) to the tuple cardinality in Swift?


Python else statement inside and outside while loop


What's the best way to regex replace a string in python but keep its case?

How do I write a regex to replace a word but keep its case in Python?


What is wrong with my php code? How should i fix it?

PHP mail function doesn't complete sending of e-mail


Does python have a magic function that formats a arbitrarily formatted date into a standard form?


Why does this JSON response have code for an infinite loop?

Why does Google prepend while(1); to their JSON responses?


How do you perform an if then else statement as a concatenation?

One-liner if statements, how to convert this if-else-statement


how to select record whose matching percentage is higher than other using like operator in sql server?


typedef int* intptr OR typedef int *intptr;

What makes more sense - char* string or char *string?


How do I find the lowest score entered using for loops

Getting the lowest and highest value from integers without using arrays?


Is it possible to install two different versions of Visual Studio in the same computer?

Can I install two different versions of Visual Studio on the same computer?


How to remove the web address from graph in HTML


Is there a reason not to use <=> (null safe equals operator) in mysql instead of =?


How to serialize ArrayList of float arrays

How to retrieve data from ArrayList consists of array objects


While loop with delay makes JFrame unresponsive


issue in adding common elements of arraylist in third arraylist using for loop


Automatic "fancy" comment insertion with Vim


jQuery Mobile Header and footer take a lot of space when in landscape mode on iphone

How to keep footer at the bottom even with dynamic height website


How do I replace the entire HTML node using jQuery


Multiple inheritance/prototypes in JavaScript


how to get the entire url in php including the # symbol with values

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


display files from a directory with their time stamps [last modified date] so that to move least used files to a temporary folder

Finding the 3 most recently modified files in a long list of files


Keeping a list of websocket connections in Tornado

Tornado: Identify / track connections of websockets?


When is a constructor called a default constructor?


How to fix screen orientation to portrait mode for smartphone in android using only application class.

android:screenOrientation tag in application does not work


Find if request is child action request before controller context is available


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


can single xml file be linked to multiple java classes?

android multiple activity declaration in manifest


How to enter a linear model with many factors

Using R's lm on a dataframe with a list of predictors


Python weird behavior in list comprehension

List comprehension rebinds names even after scope of comprehension. Is this right?


I can't get images to show up in Eclipse


how sparse array differs from a hashmap in java

Warning shows when i use Hash Map In android(Use new SparseArray<String>)


The issue about call by reference in Java

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


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


Adding comma-separated numbers to Javascript output


how to delete $rootScope variable in angularjs?


How to merge transparent PNG with image using PHP?


MyClass.prototype.settings = {} gets overwritten by second instantiation

Crockford's Prototypal inheritance - Issues with nested objects


Passing an image from oneview to anohter view in IOS


How to get class name dynamically from element on jQuery?


How can I add the French trademark symbol (MC)?

How can I add the French trademark symbol (MD)?


List of Strings VS String Array VS Stringbuilder


Generate class diagram using xcode project

How can I generate UML diagrams from Xcode4


if we apply some properties in both html and css code which one will apply first and which will be finally applied


Access denied for user 'root'@'localhost' (using password: NO) for PHP

Access denied for user 'root@localhost' (using password:NO)


Compile error: "Function or interface marked as restricted or the function uses an Automation type not supported by visual basic"

Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic


Errno 121, duplicate key on write or update?


How to send data to PHP server from android

How to send a data to a web server from Android


Getting the next and the previous record in mysql

How to get next/previous record in MySQL?


How to print function pointers with cout?


PHP- Codeigniter - return all input data trimmed

How do you strip whitespace from an array using PHP?


How to pass Blob object via message passing?

Chrome extension: how to pass ArrayBuffer or Blob from content script to the background without losing its type?


Highlight search term in javascript according to term

Javascript for replacing an abreviation by his equivalent


Listener doesnt work for dynamically added radio button

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


header redirect to Location does not work

How to fix "Headers already sent" error in PHP


Can a .NET windows application be compressed into a single .exe?


Is there a way to output a lot of data from MySQL without making many queries?

function returns only first array value with mysqli query result


JQuery Mobile - Appending new dynamic content - CSS not applied

.listview() is not a function error when creating a dynamic listview in jquery mobile


Bizarre behavior with DOS batch if statement: expected or bug?

Example of delayed expansion in batch file


how to define a timeout for a function in c

How to set a timeout for a function in C?


Getting required information from Log file using Split


Smaller operator gives error in javascript code

Error parsing XHTML: The content of elements must consist of well-formed character data or markup


how to deal with array subscript warning in C when using isxdigit()?


Real time usage and difference between left outer join and right outer join


Load SetupIconFile icon from an exe file

Load unistall icon from exe file in the inno setup


Warning: Invalid argument supplied for foreach() and Warning: Cannot modify header information - headers already sent

How to fix "Headers already sent" error in PHP


jQuery Ajax: request content by using $.get

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


function f1() is returning the address of variable k but as k is on stack so after parenthesis it should unwind variable k from the stack memory

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


Can't specify the 'async' modifier on the 'Main' method of a console app


My method in Java is keeps running when I want it to stop


Format current date and time in VBScript


Detecting if "Find on Page" is activated

Is there a way to detect find on the page searches in javascript


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


Why the scrollTop in jQuery doesn't work on Firefox?


Is it possible to use display:block on td in HTML email, to achieve responsive table design?


Is there a ready made infra for running cucumber tests parallelly?

How to execute cucumber feature file parallel


PHP sending mail and not receiving on gmail

PHP mail not showing up at Gmail but shows up at Hotmail and other 3rd party/ISP account


Correct way to define Python source code encoding


How to determine which Python install is being used by the interpreter?

Find full path of the Python interpreter?


How to stop the user from highlighting any text using javascript?

How to disable text selection highlighting


Animating a path in SVG in Firefox using transform-origin 50% 50%


Consuming Restful WCF Service using Android

How to fix 'android.os.NetworkOnMainThreadException'?


How can I ensure that paths with spaces are passed as a single argument when my app is set as the default handler for a file type?


Floating point arithmetic not producing exact results


What are valid values for the id attribute in HTML?


What Exceptions bypass catch blocks in .net

What kind of Exceptions cannot be handled?


Ruby: How to post a file via HTTP as multipart/form-data?


Create an @property with a multidimensional array


What does "Warning: corrupt .drectve at end of def file" mean?


Github for Windows ignoring .gitignore file


How can I center the following boxes using CSS


Stream Reader process cannot access file because its in use by another process

How can I read a file even when getting an "in use by another process" exception?


Performance many If-statements vs long logical Expression

What is better: multiple "if" statements or one "if" with multiple conditions?


Group Column values as row result in oracle

SQL Query to concatenate column values from multiple rows in Oracle


While reading a file in java how to detect we have a line?


How to generate "www" in the url automatically when I enter without it

.htaccess redirect - automatically add www. if no subdomain exists


Elegant alternatives to the weird multiple inheritance


How to encrypt and decrypt String with my passphrase in Java (Pc not mobile platform)?

Java 256-bit AES Password-Based Encryption


How to insert close button in popover for Bootstrap


Carbon/Carbon.h file not found, installing pygame


malloc/free in C++: why does free not accept a const void*, and is there a better way?


Why does 1==1==1 return true, "1"=="1"=="1" return true, and "a"=="a"=="a" return false?

How does (A == B == C) comparison work in JavaScript?


Using foreach iterator value inside EventHandler


Intercept AJAX responses in Chrome Extension

Scrape / eavesdrop AJAX data using JavaScript?


Does logical or ignores second statement if first is true


Proper Email Regular Expresssion Validation in c#

How to validate an email address using a regular expression?


SQL Server : check for existing entry before UPDATE

Solutions for INSERT OR UPDATE on SQL Server


Pass string variable in R script to use it in SQL statement


What is difference between following agularjs controller definition?

What is the purpose of square bracket usage in Angular?


Java: Find matching keys of two HashMaps


Mcrypt PHP extension required in Laravel

Laravel requires the Mcrypt PHP extension


How to define a custom ORDER BY order in mySQL


mysql DATE fieldtype to return value as years

Calculate age with decimals from date of birth


Warning: strpos() [function.strpos]: Empty delimiter on line 70


T-SQL substring - separating first and last name


Does python have a magic function that formats a arbitrarily formatted date into a standard form?


Parsing Decimals to significant figures in JavaScript

Remove insignificant trailing zeros from a number?


Getting checkboxes values on email with method="post"


C# if statement readline must equal number

How can I validate console input as integers?


How to add a trailing zero to a price with jQuery


move (copy) IMAPMessage to another folder on the mail server

IMAP: how to move a message from one folder to another


Shortcut key to go to the method declaration?

Is there a keyboard shortcut to move the cursor between methods in Visual Studio 2010?


A Base Class pointer can point to a derived class object. Why is the vice-versa not true?


Save record in database and get its referance immediately in C# and MySQL


Difference between assignment by = sign and strcopy

I can use more memory than how much I've allocated with malloc(), why?


How to pass elisp function or command into function parameters?

How do I pass a function as a parameter to in elisp?


How do I addObject in Spring RedirectView


"Access is Denied" on contentDocument in IE9 on same domain

"Access is denied" JavaScript error when trying to access the document object of a programmatically-created <iframe> (IE-only)


Is the order of static class initialization in C# deterministic?


How to select an element based on tag name?

lxml etree xmlparser remove unwanted namespace


Replacing string in UTF-16LE encoded file

Ruby 1.9: Regular Expressions with unknown input encoding


Bootstrap Writing In Columns (like a newspaper)

flow 2 columns of text automatically with CSS


array_merge() without losing null values


How does an equal to expression work in a printf placeholder?

C Programming : Confusion between operator precedence


How can I achieve IF ELSE under clause of WHERE?


Not allow a blank character / space in a input form

How to prevent invalid characters from being typed into input fields


Column issue with table data arrangement

Start new column when readdir moves to new dir


Connect iOS 7 device with Xcode 4.6 for debugging

Why is my iPad mini not detecting in Xcode after updating it to iOS 7?


Python check next three elements in list

Check for presence of a sliced list in Python


Why is python ordering my dictionary like so?


Is any way to pass object or list to sql server stored procedure?


Kth smallest element in a matrix with sorted rows and columns


Alert view is showing white rectangle in iOS7


How to add my app to long press on home button?


Android ImageView in random position with OnClickListener

In Android, how to make an image randomly appear ??


Why native Android application restarts immediately after crashing?

Android app restarts automatically after a crash


How to get GET (query string) variables in Express.js on Node.js?


Where is GAC (Global Assembly Cache) located? How it is Useful?

Where is the .NET Framework Global Assembly Cache?


removeAttr doesn't remove disabled attribute in Firefox

removeAttr() not removing "disabled" attribute in IE


comparing arrays in php, without caring for the order


Are there any XSLT processing command line tools?


headers already sent while starting session

How to fix "Headers already sent" error in PHP


How to place the intercept of x and y axes at (0 , 0) and extend the x and y axes to the edge of the plot


My header(); function is not working after hosting our website


Why would I prefer using vector to deque


Wierd ambiguious call on overloaded function with a function parameter

Compiler Ambiguous invocation error - anonymous method and method group with Func<> or Action


Custom BroadcastReceiver is calling twice android parse.com

Android Service start when push notification send and stop after service task complete


Preventing SQL Injection in dynamical SQL


How to get query result in same order as given in clause


window.open and document.location stop window.setTimeout

Is is possible to call a function after window.location has loaded new URL?


Facebook page tab redirect to fan page after form submit

PHP "header (location)" inside IFRAME, to load in _top location?


Simulating group_concat MySQL function in Microsoft SQL Server 2005?


Declare object where one key is variable

How to use a variable for a key in a JavaScript object literal?


How to check that a div exists jquery and if it does do nothing

Is there an "exists" function for jQuery?


How to automatically update an application installed with Inno Setup


Smallest integer value greater than or equal to value of log


Firefox extension to access DOM (with jQuery)

FireFox extension: How to access page element via jQuery?


No side effect with comma operator, return statement, and nullptr?


Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on


How can a Java program get its own process ID?


Multiple similar forms using the same submit function

Event binding on dynamically created elements?


Why we can't access to a protected base class member using the pointer to derived class?

Why can't I access a protected member from an instance of a derived class?


How to Sort Multi-dimensional Array by Value?


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


Python: Difference between list.extend and list.__iadd__

Don't understand why UnboundLocalError occurs (closure)


Upload Blob data to php server, retrieving data from url

Pass Blob through ajax to generate a file


How can I select an element with multiple classes in jQuery?


Can I recover accidentally deleted data in SQL Server? If yes How?

How to recover deleted rows from SQL server table?


Watch mathematical C++ expression in Eclipse Debugger

gdb gives strange output when using math.h functions


CSS Dotted Line in the box is messed up at the corner and looks weird


How to align content of a div to the bottom


What are the reasons and benefits of overriding toString() for string representation of an object?


How to find the 'sizeof' (a pointer pointing to an array)?


Enable Access-Control-Allow-Origin for multiple domains in Node.js

Access-Control-Allow-Origin Multiple Origin Domains?


Convert NSData to sockaddr struct in swift


Invoking SAS 9.2 to edit a program from the command line (windows)


2-How to make a field required to enter a specific number?


How to split the data in json file using java?


Coffeescript if variable is undefined in function

How does CoffeeScript's existential operator work?


Find the position of each capture group in a string

Find both pattern and position of multiple regex matches in Ruby


GUI pauses until task is completed - should I use backgroundworker or is there a better solution?

How do I keep a responsive UI while processing large amounts of data?


What is the difference between "||" and "or" in PHP?


Building a JavaScript function to sort by object property

Sort array of objects by string property value


Need advice on approaching a little graphics project

Need to read input of two JTextfields after a button is clicked


How to squash git commit history up until 5 commits ago

How do I reduce the size of a bloated Git repo by non-interactively squashing all commits except for the most recent ones?


Combine the first two commits of a Git repository?


inserting Å Ä Ö into mysql database table using php


Action buttons doesn't show up on Action Bar?


Problems when calling srand(time(NULL)) inside rollDice function


How I get different versions of browsers on windows 7

Cross-browser testing: All major browsers on ONE machine


why to_char and to_date returns different results

issue with to_date function with sysdate


Java was started but returned exit code 13

Can't start Eclipse - Java was started but returned exit code=13


Activity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44f72ff0 that was originally added here


How to handle stacked controls in .NET Winforms?


How to do Water color painting in iOS using CoreGraphics?


unable to understand inc/dec operators behaviours in macros in c language

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


Sorting list based on values from another list


Activity or Fragment which is better way to use for performance and reliable?


Opening the Settings app from another app


Changing Preference Category background color

Android set background color of preference category


Incorrect command line arguments number when passing `*`


How to check if a variable is empty in wp7?


Difference between float and decimal data type


Why do we need to implement interfaces to provide certain functionality instead of just defining the methods without implementing the interface?

Why do we use Interface? Is it only for Standardization?


How can I put main title in the horizontal center of the whole plot window?

How to align ggplot title with window rather than plot grid?


How to list all the folders and its files in php

Listing all the folders subfolders and files in a directory using php


How to find wifi/cellular signal strength in ios


Why this list cloning result strangely (python 3.3)

Python: deepcopy(list) vs new_list = old_list[:]


Remove category & tag base from WordPress url - without a plugin


How to prevent browser back button after logout?

How do we control web page caching, across all browsers?


want to fetch data from array of dictionary from plist in iPhone?


"undefined symbol: SQLAllocEnv" error in Java

Java ODBC Data Source ( undefined symbol: SQLAllocEnv )


Pass server-side variables to Javascript in PHP

Efficient way to Pass variables from PHP to JavaScript


If statement in TableView Cell not working


How do I decode a URL parameter using C#?


Why does "T" not equal "T" in this example?


Convert yyyy/mm/dd-hh-mm-ss.00 to Y-m-d H:i:s in php

Convert one date format into another in PHP


Remove decimals from a number shown in a TextView


how to calculate time difference between two time

How to calculate the difference between two dates using PHP?


Show last login date on form as dd/mm/yyyy or 12-February-2014


Why are local variables not set to zero?


Is it necesarry to comrpress CSS (browser parses it slowlier maybe? SEO?)

Best practices - Only download CSS you need, or use a minification process?


Random print program, prints multiple outputs at once despite sleep() function?


__init__ list maintains change after deletion

"Least Astonishment" and the Mutable Default Argument


Android change color of messages in listview after its read

How to differentiate read and unread messages in android ListView?


What are the operations supported after an object is moved?


How to determine whether file share server is online?

Fast way to check if a server is accessible over the network in C#


Desktop browse does not work in java for Ubuntu


how to remove .0 when i gave input also in integer


Creating a string with value blank and set it on clipboard


Can a bool read/write operation be not atomic on x86?

Why is integer assignment on a naturally aligned variable atomic on x86?


Is web storage preferable over cookies for storing sessionId?

Is it okay to store session id in localStorage?


Find keyword in text when keyword match certain conditions - C#


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


Correct HTML mark-up syntax? (to remove whitespace between inline-block elements)

How do I remove the space between inline/inline-block elements?


UnicodeEncodeError: 'charmap' codec can't encode - character maps to <undefined>, print function

Python, Unicode, and the Windows console


Convert query string dictionary (or associative array) to dictionary

How to parse a query string into a NameValueCollection in .NET


How can I detect a create, update, delete query is successful in Codeigniter


in Python how to convert number to float in a mixed list

Python - How to convert only numbers in a mixed list into float?


free(): invalid next size (normal) on fclose. But not when Valgrind runs

Facing an error "*** glibc detected *** free(): invalid next size (fast)"


Elif and if not working or me not understanding

Why does `a == x or y or z` always evaluate to True?


Performing len on list of a zip object clears zip

Why can't I iterate twice over the same data?


Choreographer(697): Skipped 152 frames! Debug log

Meaning of Choreographer messages in Logcat


Binary Bomb Phase 5 - lookup table translation -> string compare

Bomb Lab phase 5: 6 char string substitution lookup table, strings_not_equal


Why do regex constructors need to be double escaped?


One key and many different values in Dictionary


What do these characters do in Javascript

JavaScript plus sign in front of function expression


mysqli - fetch_Array error call to a member function fetch_array() on a non-object mysqli

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


PHP mail function doesn't complete sending of e-mail


What happens if i name a field in a mysql table with "when"

Syntax error due to using a reserved word as a table or column name in MySQL


ADB Install Fails With INSTALL_FAILED_TEST_ONLY


Chaining in Javascript, why is it useful inside this code?

What does return this in Function.prototype.method do?


how to list full paths of folders inside a directory in linux?

Unix ls command: show full path when using options


How to prevent multiple user login with same user name and password?

How do I expire a PHP session after 30 minutes?


C++: Replace character in a string with more than one number?

Replace substring with another substring C++


Google Maps Javascript API showing map in small square


How do I fix the error "Non static variable being referenced from static content"?

Non-static variable cannot be referenced from a static context


How to know whether a file is encrypted by AES 256 in Mac using Objective C


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


What is the main difference between static class & Singleton class

Difference between static class and singleton pattern?


Returning two strings in a function in C#

Return two strings with a function in C#


setTimeout in for-loop does not print consecutive values


Reference - What does this error mean in PHP?


What does <T> (angle brackets) mean in Java?


How do games/programs calculate numbers higher than limits in C++?

What variable type for extremely big integer numbers?


How to create a string from one char with JavaScript?

Create a string of variable length, filled with a repeated character


How can I share resources between the different Eclipse projects, so as to avoid duplication?


How do I translate an encoded error message from PHP?

Reference: Why are my "special" Unicode characters encoded weird using json_encode?


Merge login/signup for multiple sites on same server

Why is it good save to save sessions in the database?


Console.log Internet explorer 8 particular case

'console' is undefined error for Internet Explorer


laravel use multiple database, query syntax

How to use multiple databases in Laravel


how to merge characters of a certain group into a new column in r


CSS - height of a div across multiple devices

Media Queries: How to target desktop, tablet, and mobile?


Infix to postfix not working as expected

Handling parenthesis while converting infix expressions to postfix expressions


What information does the bottom bar in emacs convey?


Use of t.test function in data frame or matrix

R : use of t.test function in data frame or matrix


validates_format_of :with => URI::regexp(%w(http https)) issue

Rails: What's a good way to validate links (URLs)?


Why should there be spaces around '[' and ']' in Bash?


Javascript parseInt() with leading zeros


calling a php function from a javascript script

Calling a php function using ajax/javascript


Loop and conditionals not working properly


easy_install not working-windows 8 64 bit

python3 --version shows "NameError: name 'python3' is not defined"


Exceptions thrown in the `OnLoad` method are ignored?

VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows


Sources for AT&T syntax instruction format

Is there a complete x86 assembly language reference that uses AT&T syntax?


Retrieving the last record in each group - MySQL


WCF and DataContract on a complex type containing complex types

Can I add a WCF DataContract to a complex type?


dismissmodalviewcontrolleranimated is deprecated first deprecated in ios 6


Operator precedence and operator associativity rules in c++

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


The difference between a compile/link function and a controller function in AngularJS?

Difference between the 'controller', 'link' and 'compile' functions when defining a directive


Why is the sizeof() a char array sometimes sizeof(void *) and sometimes sizeof(the array)?


How do I compare two DateTime objects in PHP 5.2.8?


MySQL check if a table exists without throwing an exception


How can we track hashtags with the new facebook hashtag implementation


Getting windows special folder in code when provided by a user

c# open file, path starting with %userprofile%


jsFiddle: no connection between html and js? Can't call simple function from button?


Can't write dictionary to plist objective c

writing NSDictionary to plist in my app bundle


Couting occurrences of each value in an array


Difference between .on('click') vs .click()


How to select an element inside "this" in jQuery?


Embedding a MasterDetail ViewController in a Tab Bar

Create a TabBar Controller with a Master-detail template?


Deleting a heap then dereferencing a pointer to that memory


How to run MATLAB in bash shell REALLY quiet?


Failing installing pg gem, "mkmf.rb can't find header files for ruby" (Mac OSX 10.6.5)


UIDevice uniqueIdentifier deprecated - What to do now?


python How to remove None on my method call?

this code isn't printing as I want it to - python


Sort ArrayList of custom Objects by property


Why does Django's User Model set the email field as non-unique?

How to make email field unique in model User from contrib.auth in Django


Why do the first and the third printf work so differently?


How to add a not null to an already existing column in SQL Server?


Set an object property by using its value

Add a property to a JavaScript object using a variable as the name?


How to disable repetitive keydown in JavaScript

Prevent JavaScript keydown event from being handled multiple times while held down


Behaviour of PreIncrement and PostIncrement operator in C and Java

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


Array initialization syntax when not in a declaration


What is the correct way to pass strings to javascript function?

When should I use double or single quotes in JavaScript?


JavaScript not working with Form Submit button

"Submit is not a function" error in JavaScript


How do you create a number input without the increment/decrement buttons?

Disable webkit's spin buttons on input type="number"?


Compiling C++ code makes the system hang


Java String array: is there a size of method?


Fatal Error: unidentified method mysqli:fetch_array()

Fatal error: Call to undefined method mysqli_stmt::fetch_array()


How to use two arrays to create an object literal array in JavaScript


How to round QToolTip corners with CSS and QT


Can someone illustrate how to use const constructor, and under what circumstances do I need to use it?

How does the const constructor actually work?


non-static variable v_var cannot be referenced from a static context

Non-static variable cannot be referenced from a static context


how to use switch case(range of number) in jquery?

How can I use ranges in a switch case statement using JavaScript?


hadoop native library only shows up with sudo

Hadoop "Unable to load native-hadoop library for your platform" warning


where to get identifier for instantiateViewControllerWithIdentifier

instantiateViewControllerWithIdentifier in xcode 5


Swift Optional Chaining with Objective-C Objects

Compiler error when assigning the Delegate for a Protocol in Swift iOS


Getting an object with a variable. -javascript-

How to use variables in dot notation like square bracket notation


Passing data into node.js callbacks - the asynchronous issue

JavaScript closure inside loops – simple practical example


In R, how do I compute factors' percentage given on different variable?


Getting string instead of defining it in Java

Android: How do I get string from resources using its name?


Insert values in to SQLite database ? java.lang.NullPointerException

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


PHP do every x time something else in a foreach loop


hide actual url in status bar when a link or actionlink is mouseovered or clicked

how can url be hidden in hyperlink when mouse hover


How to keep light on while game is on running mode?

How can I prevent the display on an iOS device from dimming and turning off?


Reference — What does this symbol mean in PHP?


Why I cannot grab <option> tag with :visible selector?

jQuery "visible" doesn't work in all browsers, but in Firefox


TypeError: expected string or buffer | Python


NullPointerException Minecraft MCP Forge 1.6 when adding crops?


How to fix 'android.os.NetworkOnMainThreadException'?


tried to change the inner element of dynamic div through class name but its not working

How to use getElementsByClassName in javascript-function?


android update database column based on the current column value


Remove margins between container for border-spacing?

No border-spacing before first item and after last item


Dynamic Web Project option missing in Eclipse Kepler


How to handle special characters in HTML document and JS

How to access object properties containing special characters?


What is the difference between the dot (.) operator and -> in C++?


Creating certificates for SSL communication


Simulate from an (arbitrary) continuous probability distribution

How do I best simulate an arbitrary univariate random variate using its probability function?


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


In Foundation Zurb, how do I make a class only effective on certain screen sizes?

Anyone familiar with mobile visibility and zurbs foundation


How to convert an image to base64 encoding?


In C what is the difference between a normal array and an array created with malloc?

Difference between static memory allocation and dynamic memory allocation


Convert a random alphanumeric string into random Integer in php?

PHP hashing function that returns an integer (32bit int)


How to tell who was the author of removed line?


What is the difference between Tomcat, JBoss and Glassfish?


wp_get_current_user when not in root wp folder

extend wordpress session into main domain


Difference between $() and $(document).ready()

Differences between document.ready and $function


How to encrypt a string to a string of the same size is Python


Is it bad to not unregister event handlers?


in c++ main function is the entry point to program how i can change it to an other function?


Production and Development Certifcate Option is disable

Create iOS "In-House and Ad Hoc" certificate option disabled


Matching numbers with regular expressions — only digits and commas


How does a delegate remember it's parameters?

The scope of variable in inner anonymous method


UIView block animation: how to put view back in initial state without a strange effect?


Getting Error retrieving field value from bean Exception with JasperReports API

Unable to retrieve value from a JavaBean while generating reports using JasperReports API


How to apply appearance none property in IE9 & Firefox?

IE & Firefox - custom drop down could not remove native arrows


"Can't locate DateTime.pm" error in perl

What's the easiest way to install a missing Perl module?


How to write actions for UIButton placed in every cell of tableview?


Downloading a list of files from ftp to local folder using c#?

How to List Directory Contents with FTP in C#?


Read extern file and wait for changes in Python

How can I "watch" a file for modification / change?


How to prepare a string with foreign / accented characters for XML in C#?


Greek and alpha numeric in ggplot2 axis labels


can i get mobile number of iphone from ios 6

Programmatically get own phone number in iOS


Creation of View should be a part of View or ViewModel [MVVM]?


How to set which of the forms appear first


is my php code vulnerable to sql injections


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


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


AngularJS leaves comments in HTML: is it possible to remove them?


ios change the tabbaritem's badge in the AppDelegate

Best way to update badgeValue of UITabBarController from a UIView


OOP - Connecting to database via __construct


Can you get culture info string in javascript just like in .NET?


Can I use member function as first argument to EnumWindows

how to pass a non static-member function as a callback?


Android: How to get list of countries and cities


Conway's Game of Life in PyGame not generating correct patterns

Conway's Game of Life Update(Next Generation)


Object reference not set to an instance of an object when referencing a settings object

How to store a list of objects in application settings


How to correctly show accents or special characters (ñ) in php-gd?

Working with GD ( imagettftext() ) and UTF-8 characters


Java Regular expression for checking validity of Variable name

How to form a regex to recognize correct declaration of variable names


XElement with colon in the name doesn't work


Make MySQLi conenction variable available inside functions too


js conflict for two js libraries on same page

Can I use multiple versions of jQuery on the same page?


Where in the Standard does it say that calling B::foo() below is legal?


ExecuteReader requires an open and available Connection. The connection's current state is connecting. in execute reader

ExecuteReader requires an open and available Connection. The connection's current state is Connecting


How rectify an image from a single calibrated camera using Matlab toolbox

How to do perspective correction in Matlab from known Intrinsic and Extrinsic parameters?


Grab xml data from website with password

How do I make a request using HTTP basic authentication with PHP curl?


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


Obscure Scala: what does following mean in scala? ( : _* )


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? WHERE userid

MySQLSyntaxErrorException near "?" when trying to execute PreparedStatement


Rails - Devise - Error messages when signing in?


In contrast to C++, why method visibility can't be narrowed while overriding?

Java, Cannot reduce the visibility of the inherited method from object


Unresolved external symbol 1 and the difference b/w virtual and pure virtual?

"Error: Unresolved external symbol" whenever I use a pure virtual function


Javascript: What is additional Zero in the if syntax?


Reading a file line by line into elements of an array in Python

How to read a file line-by-line into a list?


Reading Java system.out.print via Python subprocess

Calling Java app with "subprocess" from Python and reading the Java app output


How to prevent duplicate usernames when people register?


AbandonedMutexException on single instance app

Why doesn't Mutex get released when disposed?


How to get variables in for loops to update properly

Variable issues for loops with batch script


How to get the indexPath of a UIButton in a UITableViewCell?


using text-overflow:ellipsis; only when reaching 3 lines in a div


Debugging *** glibc detected *** python: realloc(): invalid next size without Valgrind

Facing an error "*** glibc detected *** free(): invalid next size (fast)"


Strange results when & is used in conjunction of two integers C#


Set the caret position always to end in contenteditable div

How to move cursor to end of contenteditable entity


modulus returning incorrect amount in c program when a negative number is entered


Row autofit property not working properly


Copying an array of objects into another array in javascript


java.lang.IllegalArgumentException: The servlets named [X] and [Y] are both mapped to the url-pattern [/url] which is not permitted


Entity Framework Error: ObjectContext instance has been disposed

Solving "The ObjectContext instance has been disposed and can no longer be used for operations that require a connection" InvalidOperationException


In R: Repeat each raw of a data frame a desired number of times (that could be different for every row)


Why percent signs (%) do not work in crontab?


Synchronizing on an object in java, then changing the value of the synchronized-on variable


How can I view assembly code produced for C functions?

How do you get assembler output from C/C++ source in gcc?


Trying to place DIV's side by side, but its not working

How to arrange many <div> elements side by side with no wrap


Which kind(or kinds) of GC algorithms does python actually use?


How do I clone a closure, so that their types are the same?


calling with special charector "#" using intent

Make a Call in on number followed by # key


sql query to fetch all tables in a schema that was updated on sysdate

How to find out when an Oracle table was updated the last time


Strip special characters from string, retain, alphabets, numbers and punctuation marks

Removing unicode \u2026 like characters in a string in python2.7


Why is the "f" required when declaring floats?


setting time limit for Runnable thread in java?

Killing thread after some specified time limit in Java


text moving out of the element using transform rotate

Text overflowing out of div using transform: rotate(xdeg)


Difference between a user and a schema in Oracle?


What is the difference between re.search and re.match?


"Optional feature not implemented" error when trying to execute a query with pyodbc

"Optional feature not implemented (106) (SQLBindParameter)" error with pyodbc


Saving the content of a div tag into an image file

How to save a rendered webpage as image with JavaScript?


Split a string using C++ boost::split without splitting inside quoted text


PHP multi dimensional array search and get array of the key

PHP multidimensional array search by value


How to make the Execution of the javascript in an ajax response page?

jQuery - script tags in the HTML are parsed out by jQuery and not executed


How to set conditional breakpoint based on string comparison in Visual Studio?

how to create conditional breakpoint with std::string


Is JavaScript a pass-by-reference or pass-by-value language?


Start executing jQuery function when I scroll to a specific <div>

How to check if element is visible after scrolling?


Why can templates only be implemented in the header file?


stringify doesn't works with my javascript array

Convert a javascript associative array into json object using stringify and vice versa


How to put duplicate numbers between brackets in javascript?


ssh executes remote command in the background

Getting ssh to execute a command in the background on target machine


Issue: "error LNK2019: unresolved external symbol"

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


remove white space from the end of line in linux

How to remove trailing whitespaces with sed?


How to automatically INSERT or UPDATE with SQLite.Net?


Can we declare an interface class by making all the methods abstract using the keyword ‘abstract’ in a class in C++?


How do I transfer information back to a View Controller from a View Controller it pushed to?


how to fix: error LNK1123: failure during conversion to COFF: file invalid or corrupt

Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview


Remove set of items from an array jQuery


How does the TOP, DESC and CROSS APPLY make this query faster?

In what order does execution on WHERE and ON clauses work?


How to make XmlnsDefinition work on the local assembly?


mysql_fetch_array() expects parameter 1 ? how to fix?

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


How to commit only a specific folder Mercurial

Mercurial (hg) commit only certain files


Python, RHS of assignment is "None" (this isn't expected)


create time stamp and compare time by mysql field

MySQL convert date string to Unix timestamp


Why can't decimal numbers be represented exactly in binary?


How do I select record except specific field

SQL exclude a column using SELECT * [except columnA] FROM tableA?


Loop through all Lua global variables in C++


Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit/UIKit-2903.23/UITableView.m:5261

Assertion failure in dequeueReusableCellWithIdentifier:forIndexPath:


gdb "Junk at end of arguments." when trying "catch throw std::bad_aloc"

How to break when a specific exception type is thrown in GDB?


Is it a good practice to import only the necessary classes from JUnit API

Why is using a wild card with a Java import statement bad?


Check if checkbox is checked with jQuery


How to add a image inside a edit text android


want to show only 2 names at a time from list and click on button next 2 names comes but there is a bug

I want to show only 2 names at a time from a list and then clicking on a button next 2 names comes up but there is a bug


what is the use of public, private, protected class where it can be access via reflection class?

PHP protected classes and properties, protected from whom?


How to multi threading on webBrowser DocumentCompleted?


javascript document.getElementsByClassName compatibility with IE


Loading Log4j.properties from outside of the war without spring framework


Error page fails with XML Parsing Error: no element found Location: http://localhost:8080/3c/login/Login.xhtml Line Number 1, Column 1

XML Parsing Error: no element found Location: http://localhost:8081/web-app/pages/login.xhtml Line Number 1, Column 1: ^


Bold word of a sentence of NSString in Xcode


What's the best way to calculate the size of a directory in .NET?


"Defective token detected" error (NTLM not Kerberos) with Kerberos/Spring Security/IE/Active Directory


detecting chinese characters in php string

Php - regular expression to check if the string has chinese chars


UnboundLocalError on local variable when reassigned after first use