question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
2752725
Finding whether a point lies inside a rectangle or not
5667161
C++ Returning reference to temporary
1339601
warning: returning reference to temporary
6065423
Is there something similar to iOS's canOpenURL to check URL schemes for mobile browsers?
627916
Check if URL scheme is supported in javascript
6075385
Convert a POJO to a <K,V> map
739689
How to convert a Java object (bean) to key-value pairs (and vice versa)?
5148474
Finding non-Ascii character
3001177
How do I grep for all non-ASCII characters?
6360237
Difference between WHERE and HAVING in SQL
287474
What is the difference between HAVING and WHERE in SQL?
6400925
C# different ways of casting -- (T)obj vs obj as T
6408847
Why not System.Void?
5450748
What is System.Void?
5980652
C Interpreter (Not Compiler)?
584714
Is there an interpreter for C?
6194471
How to show loading when using JQuery Mobile
7208609
Show Page Loading Spinner on Ajax Call in jQuery Mobile
5641752
Difference between mysqli and mysql?
1171344
Advantages Of MySQLi over MySQL
5660050
What is Serialization and Deserialization conceptually?
6428903
why cant int** be converted to const int** in c++
2220916
Why isn't it legal to convert "pointer to pointer to non-const" to a "pointer to pointer to const"
5151031
Does android webview supports html5 video play?
3815090
WebView and HTML5 <video>
5996896
Putting { in verbatim string with C#
91362
How to escape braces (curly brackets) in a format string in .NET
5209369
how to stop generating code on a particular button?
10108578
How can i stop jQuery mobile to apply styles to my specific form elements
6334381
How to output <!DOCTYPE html> with XSLT
3387127
Set HTML5 doctype with XSLT
5224252
What are these three dots in parameter types
2367398
What is the ellipsis (...) for in this method signature?
6271396
How to set Font for TextView in android?
2888508
How to change the font on the TextView?
6224283
php system() shell_exec() hangs the browser
222414
Asynchronous shell exec in PHP
6190312
Validate currency amount using regular expressions in JavaScript
617826
What's a C# regular expression that'll validate currency, float or integer?
6283821
How to set default value of MySQL DateTime ( not TIMESTAMP ) to NOW() or Current_DateTIme?
168736
How do you set a default value for a MySQL Datetime column?
6454950
Passing An Enum Type As An Argument?
492115
C# enums as function parameters?
6424246
Creating shortcuts in Android via Intent
6337431
Android create shortcuts on the home screen
6260440
Undefined Behavior: A checklist for code reviews
367633
What are all the common undefined behaviours that a C++ programmer should know about?
6041016
boost asio timeout
291871
How to set a timeout on blocking sockets in boost asio?
6044649
Pass object by reference in Java
5614562
How to do the equivalent of pass by reference for primitives in Java
5821719
How to use jquery or javascript to remove a row at index?
170997
What is the best way to remove a table row with jQuery?
6069126
Jquery check if image is loaded
3877027
jQuery callback on image load (even when the image is cached)
6453231
JPA: defining an index column
3405229
Specifying an Index (Non-Unique Key) Using JPA
5287342
JQuery focus() method on the ipad
5978470
iPad HTML Focus
6071266
How to flip windows in vim?
1269603
To switch from vertical split to horizontal split fast in Vim
6164138
scala as scripting language
1183645
"eval" in Scala
6464771
How can I change language of my application
2900023
Change app language programmatically in Android
6193505
Design choice: Do I want extension methods to throw exceptions on null?
788218
C#: Best practice for validating "this" argument in extension methods
6281618
Ternary Operator in Razor View
4091831
How to use ternary operator in razor (specifically on HTML attributes)?
6078843
Storing database connection in a session variable
2125403
Can't pass mysqli connection in session in php
6091679
jQuery - How to get selected text from textarea/input?
144810
jQuery get textarea text
717224
How to get selected text in textarea?
6516943
Lost connection to MySQL server during query?
1884859
Lost connection to MySQL server during query
6525790
javascript submit() is not a function?
833032
"Submit is not a function" error in JavaScript
5896091
Import JavaScript file in JavaScript function
6373776
Datepicker with no selected date?
3668325
JQuery Datepicker - no default date
6196483
Omitting Closing Php Tag
5911782
Upload file using ajax request
166221
How can I upload files asynchronously?
6442328
What is the difference between #define and const?
6393776
What is the difference between a macro and a const in C++?
5376368
entity framework 4.1 objectContext vs dbContext
5340990
ADO.NET DbContext Generator vs. ADO.NET Poco Entity Generator (ObjectContext)
5378669
Sorting a sequence in O(n) time
749585
Sorting in linear time?
6420733
How to fix "Cannot send headers; headers already sent" in Zend?
5301609
asp.net mvc time ago in words helper
11
Calculate relative time in C#
6531481
Stack and heap in c#
6449611
Check whether a value is a number in JavaScript or jQuery
18082
Validate decimal numbers in JavaScript - IsNumeric()
6586905
Convert Factor columns in data frame to numeric type columns
3418128
How to convert a factor to integer\numeric without loss of information?
4798343
Convert factor to integer
6594325
Other ways to increment a variable in JavaScript
6139679
Implicit <> Explicit interface
6545687
How to find the first day of the week a given date belongs to?
6591719
C++ exceptions catch clause
1654150
Scope of exception object in C++
5324622
How to change autocomplete braces in Xcode 4
5120343
Xcode 4 with opening brace on new line
6169125
Order of destruction of elements of an std::vector
2083603
STL containers element destruction order
6254771
Code coverage for Android
3282702
Android test code coverage, Eclipse
6624326
Programmatically get C# Stack Trace
531695
How to print the current Stack Trace in .NET without any exception?
5819570
What's Easy in F# That's Hard in C#?
2785029
In what areas might the use of F# be more appropriate than C#?
6241684
Reset primary key auto_increment
1809893
How to reset the primary key of a table?
6040785
Why do interface members have no access modifier?
516148
Why can't I have protected interface members?
6499502
Why would anyone want to overload the & (address-of) operator?
6495977
What legitimate reasons exist to overload the unary operator&?
5342857
How to subtract a vector from each row of a matrix?
4723824
How can I divide each row of a matrix by a fixed row?
5374609
merging sorted arrays
2348374
Merging two sorted linked lists
6638447
C# localization
1142802
How to use localization in C#
6250472
How to open MS Office files in Android
4854947
Android Microsoft Office Library (.doc, .docx, .xls, .ppt, etc.)
2723607
Exception handling -- Display line number where error occurred?
688336
Show line number in exception handling
6524301
Detect mobile browser
4117555
Simplest way to detect a mobile device in PHP
6350181
How to fit a webpage on android screen(webview)?
3916330
Android Webview - Webpage should fit the device screen
6358737
NSUserDefaults reset
898498
How can I reset the NSUserDefaults data in the iPhone simulator?
6565261
Can you extend two classes in one class?
356128
Can I extend a class using more than 1 class in PHP?
6383605
How to Implement a Garbage Collector in C++
5009869
How to implement garbage collection in C++
6267854
Any solution to convert HTML to BBcode
4308734
How to convert HTML to BBCode
6643389
.NET: Covariance and Contravariance
2184551
Difference between Covariance & Contra-variance
6656540
Android Convert Px to Dp (Video Aspect Ratio)
4605527
Converting pixels to dp
6676488
Remove leading zeros from a number in Javascript
594325
Input field value - remove leading zeros
6585924
How to exclude a CSS formatting?
800304
is there a way to exclude a tag from css class
6587789
send message automatically without the user interaction
4334454
How to send SMS from an iPhone app without opening the SMS interface?
6629728
Check if a string has a certain piece of text
1789945
How to check whether a string contains a substring in JavaScript?
6614424
Check if text is in a string
5377851
Get Date Range by week number c#
3854429
In .net, knowing the week number how can I get the weekdays date?
5383535
When to use GC.Collect() in .NET?
478167
When is it acceptable to call GC.Collect?
6414196
How to add std::swap for my template class?
6380862
how to provide a swap function for my class?
6646492
what is the exact difference between intent and pending intent?
2808796
What is an Android PendingIntent?
2859111
C# Math calculator
2607798
Converting string expression to Integer Value using C#
6222503
Ruby assignment methods
4963427
Ruby Assignment Syntax
6320521
Use keyword in functions - PHP
1065188
In PHP, what is a closure and why does it use the "use" identifier?
6423606
how to lock the application GUI in C# Winform
648255
How to block Winforms UI while background thread is running
6670290
Split string into different variables instead of array in Python
436599
Python Split String
6743003
How calculate sum of values in std::vector<int>
3221812
How to sum up elements of a C++ vector?
5420384
Convert an image into binary data in javascript
934012
Get image data url in JavaScript?
2084873
How to encode image data within an HTML file?
6724660
What Are the Reflection Classes in php?
2377464
PHP: The Reflection API - Great Addition To PHP With Little Use
6727851
Why would [super init] ever return nil, when "super" is NSObject?
1287950
In Objective-C why should I check if self = [super init] is not nil?
6649852
getline not working properly ? What could be the reasons?
6642865
getline not asking for input?
5578899
calling php function from jquery?
3548802
Call PHP function from jQuery?
6187470
Cast to multiple interfaces
2898925
Casting an object to two interfaces at the same time, to call a generic method
6188827
Inheritance vs. interface in C#
56867
Interface vs Base class
5816563
When should I choose inheritance over an interface when designing C# class libraries?
6460281
Removing anonymous event handlers
6280306
Is it better to import specific packages or a whole tree with wildcards in java?
147454
Why is using a wild card with a Java import statement bad?
6748083
How do I find out what Git thinks the top-level working directory is?
957928
Is there a way to get the git root directory in one command?
6736595
How can I turn a string into a Location object?
3213531
Creating a new Location object in javascript
6796866
PHP date yesterday
4780333
Get timestamp of today and yesterday in php