question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
6806929
is URL valid or not
4437223
What is the best way to check if a URL exists in PHP?
6472338
How do I iterate over a JSON array using jQuery/AJAX call from PHP?
684672
How do I loop through or enumerate a JavaScript object?
6577346
jQuery bind all events on object
5848598
How can I bind all events on a DOM element?
6582748
how to trigger a mouse click event using javascript
2381572
How can I trigger a JavaScript event click
6815685
Move semantics - what it's all about?
3106110
What is move semantics?
6497117
Convert a System.Drawing.Image to a stream
1668469
System.Drawing.Image to stream C#
6830176
What is the meaning of NULL != value in C++?
5854317
What is the difference between these (bCondition == NULL) and (NULL==bCondition)?
6372065
Regex.Replace: replace only first one found
148518
How to Regex search/replace only first occurrence in a string in .NET?
6306935
PHP - Copy image to my server direct from URL
6224925
How to compress javascript?
194397
How can I obfuscate (protect) JavaScript?
5613738
Why do people declare something as null in JavaScript?
461966
Why is there a `null` value in JavaScript?
6690789
Cross-thread operation not valid: Control 'listBox1' accessed from a > thread other than the thread it was created on
6413956
C represent int in base 2
2611764
Can I use a binary literal in C or C++?
6935345
Why is 09 "too large" of an integer number?
565634
Why are integer literals with leading zeroes interpreted strangely?
6010862
What is the meaning of the three dots in a method declaration?
3158730
What do 3 dots next to a parameter type mean in Java?
6240601
How to convert a string to float?
3191034
Convert string to float in Objective-C
6324085
What is thread Safe in java?
2033879
What does threadsafe mean?
6333450
Why are pure functions faster in Mathematica code?
4187822
Performance difference between functions and pattern matching in Mathematica
6779515
Can you select the script element that included the JavaScript?
403967
How may I reference the script tag that loaded the currently-executing script?
6709148
Supporting both covariance and contravariance for a single type parameter
4528186
Covariance and Contravariance on the same type argument
6970641
C++ usage of template<>
6288812
What is the meaning of template<> with empty angle brackets in C++?
2992329
Check if string is just white space?
2352779
If string only contains spaces?
2996487
memcpy function in c#
510971
C# memcpy equivalent
3027275
Individual programmer interested in version control for the first time
2658
Getting started with Version Control
3038464
How to call Java function from string stored in a Variable
2882948
Calling a method named "string" at runtime in Java and C
3055926
Test if a method is an override?
2932421
Detect if a method was overridden using Reflection (C#)
3110299
Difference between const char* p and char const* p
1143262
What is the difference between const int*, const int * const, and int const *?
3160814
ASCII char to int conversions in C
781668
Char to int conversion in C
3165701
Is there a Java equivalent of C#'s InvalidOperationException?
3381322
Java equivalent to .NET System.InvalidOperationException
3275612
What is the explicit keyword for in c++?
121162
What does the explicit keyword mean?
3315938
Is it possible to view bytecode of Class file?
3308351
Is there a java classfile / bytecode editor to edit instructions?
3339302
Set a virtual function declaration to zero?
2156634
Why is a pure virtual function initialized by 0?
3343089
What is LINQ exactly?
16322
Learning about LINQ
3468919
What is the difference between int[][] and int[,]?
1159222
What are the differences between using int[][] and int[,]?
5002228
iPhone AppStore encryption export for openssl usage - How?
2128927
Using SSL in an iPhone App - Export Compliance
3500485
Difference between converting strings
2828154
Difference between Convert.ToString() and .ToString()
3504215
What does the colon mean in a constructor?
5073967
What is the use of rt.jar file in java?
3091040
Why do we use rt.jar in a java project?
3538275
How can you explain the difference between an interface and an abstract class to a non-programmer?
479142
When to use an interface instead of an abstract class and vice versa?
5133302
What's the best way to parse URLs to extract the domain?
278622
Ruby code to extract host from URL string
3586975
What is IIF in C#?
822810
Iif equivalent in C#
3594177
Random number between -10 and 10 in JavaScript
3609653
Hibernate Error: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session
3658560
Why is Count not an unsigned integer?
5200572
What does "const" mean (in context) at the end of a function definition?
4059932
What is the meaning of a const at end of a member function?
3678180
How to check if a specific UIViewController's view is currently visible?
2777438
How to tell if UIViewController's view is visible
3689898
How to programmatically detect iphone 4
3177634
iPhone - How do I detect the iPhone version?
5278316
Django: How do I get the model a model inherits from?
2611892
How to get the parents of a Python class?
5501374
basic difference between value types and reference types
2414906
What are the differences between value types and reference types in C#?
5518439
Enclosing js function between ()?
423228
Difference between (function(){})(); and function(){}();
5523936
How to get shadow on android linear layout?
4406524
how to set shadow to a View in android?
3769457
How can I remove accents on a string?
249087
How do I remove diacritics (accents) from a string in .NET?
5314241
Difference between consecutive elements in list
2400840
Python: Finding differences between elements of a list
5670769
jQuery - Detecting if a file has been selected in the file input
1299052
jQuery: get the file name selected from <input type="file" />
5686588
how to rename a repository on github?
5751585
How do I rename a repository on GitHub?
3781932
Is typedef'ing a pointer type considered bad practice?
750178
Is it a good idea to typedef pointers?
5362816
Should the .idea folder be kept under source control?
3041154
IntelliJ IDEA 9/10, what folders to check into (or not check into) source control?
5814810
Target :before and :after pseudo-elements with jQuery
5041494
Selecting and manipulating CSS pseudo-elements such as ::before and ::after using javascript (or jQuery)
5829413
WPF MVVM - How to Show a view from MainWindowViewModel upon Clicking on button
2108949
The best approach to create new window in WPF using MVVM
5703214
how to convert Vector<Integer> to an int[]?
960431
How to convert List<Integer> to int[] in Java?
3822787
How can I redirect STDOUT and STDERR to a log file in Perl?
1532544
Can I send STDOUT and STDERR to a log file and also to the screen in Win32 Perl?
6320804
Get extension from filename like variable
173868
How do I get a file extension in PHP?
5402799
C# coding convention for line width
2151836
C# coding style - line length / wrapping lines
5405732
zero length arrays
1036666
Use of array of zero length
6429087
Matlab - reverse value of axis in plot
2865600
How do I edit the axes of an image in MATLAB to reverse the direction?
3912699
Why swap with xor works fine in c++ but in java doesn't ? some puzzle
3844934
Why is this statement not working in java x ^= y ^= x ^= y;
3916729
PHP headers already sent while redirecting page
5636729
Using "umlauts" in C++ code
331690
Using Unicode in C++ source code
6534460
What happens when you don't follow the practice of argv and argc
1621574
Can the arguments of main's signature in C++ have the unsigned and const qualifiers?
6390394
Executing subprocess from Python without opening Windows Command Prompt
3390762
How do I eliminate Windows consoles from spawned processes in Python (2.7)?
6648059
Why is there a limit on the stack size?
5497502
Passing data from one activity to another in Android
3510649
How to pass a value from one Activity to another in Android?
3938021
how to check for special characters php
3937569
preg_match special characters
5764782
Iterate through pairs of items in a Python list
5389507
Iterating over every two elements in a list
6428781
How to check if a generic type parameter is nullable?
5181494
Determine if a generic param is a Nullable type
6445946
Display Yes and No buttons instead of OK and Cancel in Confirm box?
3110825
how to create yes/no/cancel box in javascript instead of ok/cancel?
6820400
Does Google+ have a public API?
6518150
Is there already a Google+ API?
6724056
Can parameter expansion be nested in Bash?
917260
Can ${var} parameter expansion expressions be nested in bash?
6833909
Get size of Bitmap Android
2407565
Bitmap byte-size after decoding?
6451615
Getting the thread ID
1679243
Getting the thread ID from a thread
6842750
Merge two png images with transparency and retain transparency
465172
Merging two images in C#/.NET
6976975
Why does Objective-C allow a semicolon at the end of a method definition?
5678360
Semicolon after the method name in Objective-C implementation file
3950260
How to Uninstall RVM?
3558656
How to remove RVM (Ruby Version Manager) from my system
5528493
What is "1;" in a Perl source?
1940182
What does "1;" mean in Perl?
6355003
Android: Encrypt password
5359399
Storing a password
6990883
Move cursor to end of contenteditable
1125292
How to move cursor to end of contenteditable entity
6472233
Can I store images in MySQL
1665730
Images in MySQL
6478485
jquery: change the URL address without redirecting?
1457
Modify Address Bar URL in AJAX App to Match Current State
6589101
How to get screen size of device?
1016896
How to get screen dimensions as pixels in Android
6603430
How do I call a Java method named the same as a Scala keyword?
1793984
Using a Java library with Scala reserved words
6486307
Default argument values in JavaScript functions
894860
Set a default parameter value for a JavaScript function
5677271
Why doesn't c = a+++++b work in C?
5341202
Why doesn't a+++++b work?
5682470
Applying '==' operator to generic parameter
390900
Can't operator == be applied to generic types in C#?
5863777
when is a struct too big?
203695
Does using "new" on a struct allocate it on the heap or stack?
6497722
How to create a very large file cheaply using Python in Windows 7?
982659
Quickly create large file on a Windows system
3964357
How to tell if class contains a certain member function in compile time
3982348
Implement generic swap macro in C
2637856
Is there a built-in way to swap two variables in C
5581241
How to programmatically rotate image by 90 Degrees in iPhone?
1315251
How to Rotate a UIImage 90 degrees?
5869925
Grabbing title of a website using DOM
4348912
Get title of website via link
6639037
Lifetime of temporary within operator+ sequence
584824
Guaranteed lifetime of temporary in C++?
4214153
Lifetime of temporaries
5708308
Should I use PHPMailer or SwiftMailer?
303783
PhpMailer vs. SwiftMailer?
5717183
Create a zip with all dependencies with Maven
1792763
With Maven, how can I build a distributable that has my project's jar and all of the dependent jars?
6396749
xcode 4 product still in red
5409015
.app file appears in red (missing) in new projects with Xcode 4
6398519
Objective C: How to create a multi-line UITextField?
1345561
How to create a multiline UITextfield?