question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
7832841
Which version of OpenGL should I learn?
6823371
Which version of OpenGL to use?
8121322
How exactly does .data() attach data to elements?
2764619
How does jQuery .data() work?
6987907
Access modifiers for inner classes
595179
protected/public Inner Classes
8521543
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, object given
7645578
Best way to represent Nullable member in C++?
2537942
Nullable values in C++
7003416
Validating a URL in PHP
206059
PHP validation/regex for URL
7010768
iterating on enum type
7218061
JavaScript copy text to clipboard
6300213
Copy selected text to the clipboard WITHOUT using flash - must be cross-browser
6296299
accessing parameterized type information at runtime
2320658
Why are not all type information erased in Java at runtime?
7815196
How to generate a random five digit number Java
363681
How do I generate random integers within a specific range in Java?
7658319
Set caret to end after focus CKEditor
4536532
How to set cursor position to end of text in CKEditor?
8550674
Android calculate distance between two locations
6981916
How to calculate distance between two locations using their longitude and latitude value
7857878
window.location vs. document.location
2430936
What's the difference between window.location and document.location in JavaScript?
8177215
Change span text?
1358810
How do I change the text of a span element using JavaScript?
8527180
Can there be an apostrophe in an email address?
2049502
What characters are allowed in an email address?
8558625
How to get the current time in milliseconds in C Programming
361363
How to measure time in milliseconds using ANSI C?
3729169
How can I get the Windows system time with millisecond resolution?
7699053
C++ Semicolon after class, struct, enum,... useless but compilers still emit errors?
785686
Semicolon after class declaration braces
6876751
Differences between unique_ptr and shared_ptr
5576922
Should I use shared_ptr or unique_ptr
8189859
Please Explain The Meaning of Following Cast
4083851
Weird use of void
8581090
How to do the opposite of diff?
746458
how to show lines in common (reverse diff)?
7716309
iOS zoomToRect with duration
3238567
Any way of changing the duration of zoomToRect for UIScrollView?
8189384
I want to put cursor in beginning of text-box onfocus
1865563
Set cursor at a length of 14 onfocus of a textbox
8191905
What is difference between file descriptor and file pointer?
2423628
What's the difference between a file descriptor and file pointer?
7489201
how can I run multiple ios simulators to test p2p
5835063
Is there a way to run multiple iOS Simulators at once?
7491391
Is there a reliable way to determine the system CPU architecture using Python?
466684
How can I return system information in Python?
7728713
Get list of countries and /or list of cities via web service
7083453
Copying a hashref in Perl
6893700
How to construct std::array object with initializer list?
5549524
How do I initialize a member array with an initializer_list?
8590332
difference between sizeof and strlen in c
7255199
NSMutableArray to NSArray in objective C
1768937
How do I convert NSMutableArray to NSArray?
7237536
Exception in thread "main" java.lang.UnsupportedClassVersionError: a (Unsupported major.minor version 51.0)
10382929
How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
7888494
Recommended JSON parser in C?
6673936
Parsing JSON using C
8640821
How to save application state on Android
151777
How to save an activity state using save instance state?
7511597
why math.Ceiling (double a) not return int directly?
3481696
Why doesn't Math.Round/Floor/Ceiling return long or int?
7728465
Implementing NotifyPropertyChanged without magic strings
2711435
typesafe NotifyPropertyChanged using linq expressions
7924585
Using LINQ to iterate combinations
3093622
Generating all Possible Combinations
4073713
Is there a good LINQ way to do a cartesian product?
8642858
What are the chances to get a Guid.NewGuid () duplicate?
39771
Is a GUID unique 100% of the time?
8660456
Changing the Title of a Web Page Using Javascript
413439
How to dynamically change a web page's title?
7101751
Navigator Object in javascript. How to determine all properties
85992
How do I enumerate the properties of a JavaScript object?
7768102
Socket and TCP in java
4666180
how to implement TCP server and TCP client in java to transfer files
8616483
Javascript Comparison Operators != vs !==
7985687
Why use std::for_each over a for loop?
2047414
Advantages of std::for_each over for loop
8004495
Deleting a null pointer
615355
Is there any reason to check for a NULL pointer before deleting?
6332774
sync databases Mysql SQLite
6511402
How to sync SQLite database on Android phone with MySQL database on server?
7990267
Android check GPS availability on device
2584867
Programmatically find device support GPS or not?
8122079
Python: How to check a string for substrings from a list?
3389574
Check if multiple strings exist in another string
8122109
Difference between OOP interfaces and FP type classes
6948166
Java's Interface and Haskell's type class: differences and similarities?
7546582
Check if iPad is in silent mode
7798891
Detect Silent mode in iOS5?
6341855
How to decide what to use - double or decimal?
1165761
decimal vs double! - Which one should I use and when?
8312829
How to remove item from a python list in a loop?
8773181
C# field vs. property
653536
Difference between Property and Field in C# 3.0+
7571250
Final keyword in method signatures
5380177
Final arguments in interface methods - what's the point?
8671942
php string comparasion to 0 integer returns true?
6843030
Why does PHP consider 0 to be equal to a string?
8690619
How to get screen resolution in C++?
2156212
How to get the Monitor Screen Resolution from a hWnd?
8042174
jquery click on a child ignore parent click
7696098
Prevent click event from affecting parent jquery
6373093
How to print binary number via printf
6374915
Java - Convert int to Byte Array of 4 Bytes?
1936857
Convert integer into byte array (Java)
6386447
Meaning of '*' in CSS
3359201
css: the meaning of * mark
8276187
Determine if today's date is in a range of two dates on iOS
949416
How to compare two dates in Objective-C
6986133
Why stack overflow causes segmentation fault instead of stack overflow in Linux?
2685413
What is the difference between a segmentation fault and a stack overflow?
7301062
Passing variable number of arguments from one function to another
1959040
Is it possible to send a variable number of arguments to a JavaScript function?
8179869
Should I include "-ObjC and -all_load" in Other Linker Flag to all my iOS projects?
2906147
What does the -all_load linker flag do?
8194250
Polymorphism (in C)
524033
How can I simulate OO-style polymorphism in C?
7631843
Python: How to get the created date and time of a folder?
237079
How to get file creation & modification date/times in Python?
7634890
How to deminify javascript
7012941
rails, how to get params from url string?
916067
How do I easily parse a URL with parameters in a Rails test?
8054009
jQuery/JavaScript: Is it a date? (Validate whether is a date)
3880615
How can I determine whether a given string represents a date?
8375452
How to loop through all the combinations of e.g. 48 choose 5
4504974
How to iteratively generate k elements subsets from a set of size n in java?
8378277
Cannot use ruby-debug19 with 1.9.3-p0?
9442200
Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with "Symbol not found: _ruby_threadptr_data_type"
7861506
Recursive call in lambda (C++11)
2067988
Recursive lambda functions in C++11
8723852
Change strike-through text color in css
1107551
CSS strikethrough different color from text?
8786203
Compiling Python to native code?
138521
Is it feasible to compile Python to machine code?
7308071
Disadvantages of using MARS (multiple active result sets)
374444
Disadvantages of MARS (Multiple Active Result Sets)?
7310186
Function in R, passing a dataframe and a column name
2641653
Pass a data.frame column name to a function
7187302
What is serialVersionUID in java, normally in exception class?
8082517
unrecognized attribute 'targetframework'
7530725
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive
7893492
Is Java really passing objects by value?
7315309
C# , Difference between property with variable and without variable
4267144
What's the difference between encapsulating a private member as a property and defining a property without a private member?
7053989
How in c# console application on WriteLine i can do so it will replace each line of the same one in for loop?
888533
How can I update the current line in a C# Windows Console App?
7056075
Java equivalent to C#'s @ symbol for escaping \
2673855
Java equivalent of C#'s verbatim strings with @
7068058
Good cryptographic hash functions
401656
Secure hash and salt for PHP passwords
7082398
Overloading +=, +, ==, and != operators
6916884
Why must we define both == and != in C#?
8404328
Can't add the "!" symbol in my git commit message
5131948
Use of an exclamation mark in a Git commit message via the command line
8436467
Why is copy constructor not allowed pass by value?
2685854
Why should the copy constructor accept its parameter by reference in C++?
4391350
Can a object be passed as value to the copy constructor
8460033
What is the correct way to prevent sleep on OS X?
5596319
How to programmatically prevent a Mac from going to sleep?
8462539
Retrieving Total amount of RAM on a computer
105031
How do you get total amount of RAM the computer has?
7912169
Where is svn.exe for TortoiseSVN?
2967176
Where is svn.exe in my machine?
8225125
Remove last commit from remote git repository
4647301
Rolling back local and remote git repository by 1 commit
8876915
What does @Override mean in this java code?
4341432
What does @Override mean?
7097374
PHP "pretty print" json_encode
6054033
Pretty-Printing JSON with PHP
7350893
Click event on jTable -Java
1378096
ActionListener on JLabel or JTable cell
7347011
Generic C# method taking where the enum value as a parameter
7247202
How to use variable in CSS?
47487
Create a variable in .CSS file for use within that .CSS file
8809354
Replace first occurrence of pattern in a string
141045
How do I replace the *first instance* of a string in .NET?
8809713
c++ inheritance syntax
8462641
Convert int (number) to string with leading zeros? (4 digits)
5972949
Number formatting: how to convert 1 to "01", 2 to "02", etc.?
7742361
C++ writing an object to a file then later reading it in?
234724
Is it possible to serialize and deserialize a class in C++?
1809670
How to implement serialization in C++
7747934
Can someone explain Polymorphism to me?
210460
Try to describe polymorphism as easy as you can
8166693
Hidden type inference with generics?
7891259
Can I have JavaScript select printer to use?
206880
Printing to a client printer from a web app
7897877
How does the C offsetof macro work?
713963
Why does this implementation of offsetof() work?
7124546
SQL Best Practice: count(1) or count(*)
1221559
Count(*) vs Count(1) - SQL Server
8503536
javascript test function
3911690
Strange JavaScript idiom - what does "/xyz/.test(function(){xyz;})" do?
8395079
How to enumerate over enum in Objective-C?
1662719
looping through enum values
2632747
Iterate over enum?
8176946
What does the ? in Android XML mean