question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
8747005
"Backporting" nullptr to C++-pre-C++0x programs
8228257
What does `if name == "__main__"` mean in Python?
8228758
what is the meaning of O(1), O(n), O(n*n) memory?
9510741
How to Get the current location of my device
1513485
How do I get the current GPS location programmatically in Android?
10510077
size_t convert/cast to string in C++
5290089
How to convert a number to string and vice versa in C++
9444988
How to print a variable's name in C++?
1623111
Programmatic way to get variable name in C?
9551117
Visual C++11 executables and Windows XP
7702463
What is special about the executables compiled with Visual Studio 11 which results in that the executables cannot be executed on Windows XP?
10513336
How do the new Scala TypeTags improve the (deprecated) Manifests?
12218641
Scala: What is a TypeTag and how do I use it?
9542031
No previous prototype?
9541768
Error: No previous prototype for function. Why am I getting this error?
8982730
UnsupportedClassVersionError unsupported major.minor version 51.0 unable to load class
8989218
Strange ARC issue not releasing ivar in UIView subclass
8408071
Why is object not dealloc'ed when using ARC + NSZombieEnabled
9603486
Deselect/Unfocus input field using JQuery
857245
Is there a jQuery unfocus method?
8661634
Execute Java code in Java
935175
Convert String to Code
4166135
Dynamic code execution
9125016
Get url from a text
2343177
regex for URL including query string
9614918
Xcode 4.2 (Snow Leopard) and iOS 5.1
9613565
Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?
8698151
How to update process template in special team project?
2998503
How do I change Process Template on an existing Team Project in TFS 2010?
8599200
Calculate distance given 2 points, latitude and longitude
4726031
MySQL latitude and Longitude table setup
9277684
what is a abstract method on a interface in java
641536
Why would one declare a Java interface method as abstract?
9285572
Method parameters order in Java
2201688
Order of execution of parameters guarantees in Java?
9651311
Buffer flushing: "\n" vs. std::endl
9329921
What does two consecutive blocks of code {}{} do?
1563030
Anonymous code blocks in Java
9586989
Difference Between map and each
9429034
What is the difference between map, each, and collect?
9588959
Difference between HashMap and Map in Java..?
1348199
What is the difference between the HashMap and Map objects in Java?
9617069
How to count the number of 1's a number will have in binary?
9546353
Where are .NET 4.5 assemblies located?
12070518
Where is the .NET Framework 4.5 directory?
10635113
Android twitter tweet with image
7609656
Can we post image on twitter using twitter API in Android?
9213761
Cartesian product two lists
482866
Cross product of two lists
9215790
Silently call parent method behind my back
8005951
Enforcing call to parent method
8610495
How to see refcursor result/output in Oracle SQL Developer?
3556336
Oracle SQL Developer: Show REFCURSOR Results in Grid?
8642970
C: Map string to ENUM
147267
Easy way to use variables of enum types as string in C?
9323844
Android: Invalid use of SingleClientConnManager: connection still allocated
4612573
Exception using HttpRequest.execute(): Invalid use of SingleClientConnManager: connection still allocated
9327188
java == for Integer
1148805
Inconsistent behavior on java's ==
9622817
ruby boolean operator or || difference
7842117
how does Facebook change the url without reloading the page?
3997181
How could I change window's location without reloading and # hack?
8646650
difference between forwarding and redirection
6068891
Difference between JSP forward and redirect
8667736
What does the "$" sign mean in jQuery or JavaScript?
1150381
What is the meaning of "$" sign in JavaScript
8668121
array with one value converted to string?
6262186
Convert the first element of an array to a string in PHP
9365583
Print the time an hour ago
1978546
Given a time, how can I find the time one month ago
8657710
Does Git need more space than SVN?
7727791
How much space do I need for Git vs SVN?
8689877
Can't find socket.io.js
10191048
socket.io.js not found
8727430
Play audio file when receiving the call
3900564
Play an audio clip onto an ongoing call
8758384
How to Debug Apps on Amazon Kindle Fire with Eclipse on Mac?
8189488
Debugging android apps on the kindle fire
9335310
What are the rules to initialization order in C#?
1405709
What is the static variable initialization order across classes in C#?
9037831
How to use fork() to daemonize a child process independent of its parent?
8817394
Javascript: Get deep value from object by passing path to it as string
6491463
Accessing nested JavaScript objects and arrays by string path
10687857
How can I combine multiple rows into a comma-delimited list in SQL Server?
2046037
Can I Comma Delimit Multiple Rows Into One Column?
9407869
Java null to int Conditional Operator issue
8098953
Returning null as an int permitted with ternary operator but not if statement
9408210
Print 1 to 10 without any loop in java
2044033
Display numbers from 1 to 100 without loops or conditions
9421071
Can I put arbitrary elisp code in .dir-locals.el?
7334565
How can I move php-mode settings from .emacs to .dir-locals.el?
9220537
HTML5 Video not working only in IE9
7913377
IE9 HTML5 video support
10701840
What does the '/' symbol mean in CSS
701732
Size of font in CSS with slash
8821457
Get the number of days in the current month in Java
2545110
Find the number of days in a month in Java
8835042
Convert Array to Json
191881
Serializing to JSON in jQuery
3904269
Convert Object to JSON string
9276040
How to search a string in another string?
687577
How do I see if a substring exists inside another string in Java 1.4?
8835413
Difference between load vs DOMContentLoaded
2414750
Difference between DOMContentLoaded and load events
7894511
Why can't I use lambda expressions in the Immediate Window?
725499
Visual Studio debugging "quick watch" tool and lambda expressions
10715801
Javascript decoding html entities
1147359
How to decode HTML entities using jQuery?
9110697
Best tool to decompile a C# .Net 1.1 application
578883
A .net disassembler/decompiler
4876347
Is there a “free” alternative to .NET Reflector?
9772686
How to write a generic conversion method which would support converting to and from nullable types?
793714
How can I fix this up to do generic conversion to Nullable<T>?
8355720
How to disable UITextField's edit property?
599733
Easy way to disable a UITextField?
10736100
Android listview with photo
8869622
malloc() is non-reentrant but thread-safe?
855763
Is malloc thread-safe?
8879732
Is there a Python module to parse line break notation in a raw string?
4020539
Process escape sequences in a string in Python
8891717
Get out of multiple loops?
324831
Breaking out of a nested loop
9544182
Why are strings immutable in many programming languages?
93091
Why can't strings be mutable in Java and .NET?
9546181
Flatten multidimensional array concatenating keys
1882894
PHP convert nested array to single array while concatenating keys?
9622211
How to make correct clone of the List<MyObject>?
222598
How do I clone a generic list in C#?
9144927
Who calls the main function in C
3469955
In C, how is the main() method initially called?
10798761
How to link an input button to a file select window?
793014
jQuery trigger file input
10735679
How to convert string into float value in android
4229710
String from EditText to float
10834393
PHP: How to get all possible combinations of 1D array?
1256117
algorithm that will take numbers or words and find all possible combinations
9570245
Create Dictionary-style collection initializer on custom class
2495791
Custom Collection Initializers
9348889
CSS Vertical align text to the middle of image
489340
Vertically align text next to an image?
8974026
Are there differences between ' and "
3149192
Difference between single quotes and double quotes in Javascript
9188362
what does &: mean in ruby, is it a block mixed with a symbol?
9366280
Android - Round to 2 decimal places
9390521
Mac OS X Lion Menu Bar Application
3409985
How to create a Menubar application for Mac
8824359
Why use virtual functions?
2391679
Why do we need virtual functions in C++?
9581745
SQL is null and = null
2749044
What's the difference between " = null" and " IS NULL"?
3777230
Is there any difference between IS NULL and =NULL
10832326
difference between 'is' and '=='
26595
Is there any difference between "foo is None" and "foo == None"?
10837423
Pick random element of NSArray in Objective-C
3318902
Picking a Random Object in an NSArray
9209167
Extension Methods: Performance issue when using too much?
9853906
Django - Switch language setting for template rendering
5258715
Django switching, for a block of code, switch the language so translations are done in one language
9882211
Pass Javascript Variable to PHP POST
133925
JavaScript post request like a form submit
9404523
Set property value using property name
7718792
Can I set a property value with Reflection?
9053842
Advanced JavaScript: Why is this function wrapped in parentheses?
8228281
What is the (function() { } )() construct in JavaScript?
10868976
How to make PHP errors in text instead of HTML
8941243
How can I tell PHP to dump exceptions as raw text instead of HTML?
9021104
try … finally equivalent in Matlab
1098149
How do you handle resources in MATLAB in an exception safe manner? (like "try ... finally")
9043432
How to get window to stay open after C++ code runs?
2529617
How to stop C++ console application from exiting immediately?
9915610
The difference between $* and $@
3008695
What is the difference between "$@" and "$*" in Bash?
9917564
What is the difference between int++ and ++int?
24853
C: What is the difference between ++i and i++?
9706517
Sort a vector of objects by an object's attribute
328955
How to use std::sort with a vector of structures and compare function?
9084309
how to add { in String Format c#
9709121
Is there a way to narrow-to-region in one window, while not narrowing in another window visiting the same file?
2387287
Emacs: same buffer, two windows, one narrowed, one not
9455271
Integer division always zero
8906722
Why does division result in zero instead of a decimal?
9461884
How to detect the character encoding of a text file using Delphi?
90838
How can I detect the encoding/codepage of a text file
373081
How Can I Best Guess the Encoding when the BOM (Byte Order Mark) is Missing?
10897737
VS compiler could access private copy ctor
10103645
Can objects with private copy constructors be thrown?
7647864
get a common parent for two DOM elements
3960843
How to find the nearest common ancestors of two or more nodes?
7651007
Convert an int to a CSS colour
2262100
RGB Int to RGB - Python
7691083
C# int to Flag Enum
7835447
Check if device is running iOS 5 or higher
7839691
GetType in static method
2081612
.NET: Determine the type of “this” class in its static method
7868235
Why is "sleeping" not allowed while holding a spinlock?
4752031
Why can't you sleep while holding spinlock?
8110003
Change href value for a hyperlink
8157324
What is the ideal datatype to store IP address in a mysql table?
4590192
What type should I store IP addresses for MySQL?
8202180
Defering return statement