question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
5481695
How to enable GPS in android coding
4970823
Where in memory are string literals ? stack / heap?
2589949
String literals: Where do they go?
4337740
Is there a standard .NET way to test if a SqlConnection string works?
434864
How to check if connection string is valid?
5013596
When convert a void pointer to a specific type pointer, which casting symbol is better, static_cast or reinterpret_cast?
310451
Should I use static_cast or reinterpret_cast when casting a void* to whatever
4343088
How to detect whether the host device is iPhone or iPad?
2862140
Best way to programmatically detect iPad/iPhone hardware
4370521
Is null an object?
801032
Why is null an object and what's the difference between null and undefined?
4428689
Why is text in Swedish from a resource bundle showing up as gibberish?
4659929
How to use UTF-8 in resource properties with ResourceBundle
3388549
Uploading new screenshots to iTunes Connect
3368555
Editing screenshots in iTunes Connect after iOS app was approved
5265510
C++ std::list: Erasing / removing elements while iterating
596162
Can you remove elements from a std::list while iterating through it?
4804342
jQuery if checkbox is not checked issue
901712
How do I check whether a checkbox is checked in jQuery?
5471488
MVC3 check is valid form in view
4790198
MVC 3 - checking if form is valid (has passed client side validation)
5273534
Echo with single and double quote in PHP
3446216
What is the difference between single-quoted and double-quoted strings in PHP?
4380599
What weird C syntax is this?
1630631
Alternative (K&R) C syntax for function declaration versus prototypes
5035456
The connection to adb is down, and a severe error has occurred
4072706
Error "The connection to adb is down, and a severe error has occurred."
4854571
Why doesn't C# allow types that use composition to have implicit conversions for interfaces?
2433204
Why can't I use interface with explicit operator?
4460918
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
1248520
gcc-4.2 failed with exit code 1 iphone
3384498
Why is String class final?
2068804
Why is the String class declared final in Java?
5483181
PHP most efficient way to list the files in a very large directory
1086105
Get the files inside a directory
3415072
Pythonic way to iterate over sequence, 4 items at a time
434287
What is the most "pythonic" way to iterate over a list in chunks?
5045615
How to detect mobile browser using jQuery or in some other SIMPLE way..?
3514784
What is the best way to detect a mobile device?
3423974
How to convert char * to a System::string ^
56561
What is the best way to convert between char* and System::String in C++/CLI
5020561
Select * sql query vs Select specific columns sql query
3639861
Why is SELECT * considered harmful?
4512458
How to run .APK file on emulator
3480201
How do you install an APK file in the Android emulator?
1074081
Hibernate Error: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session
3557382
Why do GUIDs and UUIDs have hyphens in them?
417108
Why are there dashes in a .NET GUID?
5543824
What does "->" mean?
4549894
How can I repeat strings in JavaScript?
202605
Repeat String - Javascript
4557577
In Python, how do I make a datetime that is 15 minutes from now? 1 hour from now?
4541629
How to create a DateTime equal to 15 minutes ago?
4723100
Passing parameters to IN clause in SQL Server
2944511
SQL Server - In clause with a declared variable
3488691
How to rotate a matrix 90 degrees without using any extra space?
2968397
Algorithm to rotate an image 90 degrees in place? (No extra memory)
5525436
Xcode could not find a valid private certificate/valid key-pair for this profile in your keychain
5391786
Xcode - iPhone - profile doesn't match any valid certificate-/private-key pair in the default keychain
5326491
Why are recursive main() calls not allowed in C++?
4144030
Why calling main() is not allowed in C++
4518598
Is it legal to recurse into main() in C++?
3485541
T-SQL query where column only contains numbers
1858867
How to get only numeric column values?
3500867
How to deny the use of dangerous PHP functions?
1865020
PHP: How To Disable Dangerous Functions
4885925
Shortest way to check perfect Square?
5368196
How to create a simple checkbox in iOS?
650131
Checkbox in iOS application
4481318
CSS text-decoration property cannot be overridden by child element
5551912
android: How to call the number by android application
4275678
How to make a phone call using intent in Android?
3600732
z-index layering for HTML5 video (ipad)
3683211
iPad Safari mobile seems to ignore z-indexing position for html5 video elements
3607352
struct with 2 cells vs std::pair?
2236182
What is the difference between using a struct with two fields and a pair?
3506792
Android API Version programmatically
3423754
Retrieving Android API version programmatically
3552803
When is post-decrement/increment vs. pre-decrement/increment used in real-life examples?
1392820
Why use ++i instead of i++ in cases where the value is not used anywhere else in the statement?
1812990
Incrementing in C++ - When to use x++ or ++x?
5390331
What is a dependency property? What is its use?
617312
What is a dependency property?
3574168
How to flush the disk read cache under Windows?
4523741
Arbitrary-Precision Decimals in C#
176775
Big integers in C#
3579892
PHP: Is it possible to return multiple values from a function?
3451906
Multiple returns from a function
3594532
How to programmatically lock screen in Android?
3600097
How to check the orientation of device programmatically in iPhone?
634745
How to programmatically determine iPhone interface orientation?
5539669
What does <<<END mean in PHP?
5599027
The do-while statement
1035229
When is a do-while appropriate?
4772768
How was the first computer program created?
1653649
How was the first compiler written?
4778834
Purpose of describeContents() of Parcelable interface
4076946
Parcelable where/when is describeContents() used?
4782063
map and shared_ptr serialization between C# and C++ applications?
4677669
Binary serialization/de-serialization in C++ and C#
5126483
Unnecessary comma in enum declaration
2147333
.NET Enumeration allows comma in the last field
5133580
Which MySQL datatype to use for an IP address?
1108918
How to store an IP in mySQL
3633614
Evidence for sealed class performance benefit
2134
Do sealed classes really offer performance Benefits?
4948529
Easiest way to cause memory leak in Java?
6470651
How can I create a memory leak in Java?
3636330
What are RESTful web services?
671118
What exactly is RESTful programming?
5357932
Count the number of set bits in an integer
5394098
How to make an exe start at the Windows Startup
3012151
How to put exe file in windows Startup
5401601
problem Deleting list items in a for loop (python)
1207406
How to remove items from a list while iterating?
3635678
Can a DateTime be null?
221732
DateTime "null" value
3650125
How to parse HTML with PHP?
3577641
How do you parse and process HTML/XML in PHP?
5202447
Evaluate if integer is POT (Power Of Two)
4666171
How to create a PDF file with PHP?
4670417
Count word frequency in a text?
2984786
php: sort and count instances of words in a given string
5571744
Java: Convert a String (representing an IP) to InetAddress
2309049
Is there an easy way to convert String to Inetaddress in Java?
4798657
Python list comprehension
3432830
List comprehension for running total
4810454
How do I detect the CAPS LOCK state in a password field
348792
How do you tell if caps lock is on using JavaScript?
5619794
In C++, is a struct also a class?
5622802
method to convert from a string to an int
5585779
How do I convert a String to an int in Java?
4817173
How can I programatically determine which application is locking a file?
317071
How do I find out which process is locking a file using .NET?
3662952
Is null an object in JavaScript?
3689952
Using '==' instead of .equals for Java strings
9698260
What makes reference comparison (==) work for some strings in Java?
4844581
How do I make a UDP Server in C#?
4108100
C# How to make a simple UDP server
4849447
Detect if application is running on laptop
2837152
How can I tell if a user is using a laptop
4698259
jQuery: Highlight element under mouse cursor?
4711023
How do I efficiently highlight element under mouse cursor with an overlay?
4710763
How do I check if a list is sorted?
3755136
Pythonic way to check if a list is sorted or not
3689040
How to construct a Facebook post URL from the post id?
3103051
How to construct a permalink for objects returned by Facebook's new Graph API?
5414920
Why primitive datatypes are not allowed in java.util.ArrayList?
5640884
What is the C++ stream equivalent to perror?
3320898
C++ alternative to perror()
5250630
Difference between .load() and .ajax() functions in Jquery
2076642
Difference between $("#id").load and $.ajax?
4980360
Why doesn't a Java constant divided by zero produce compile time error?
2934063
Is 1/0 a legal Java expression?
5676945
Undefined index in PHP
4261133
"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP
5427222
Finding Extension of uploaded file (PHP)
4591523
What's the best way/practice to get the extension of a uploaded file in PHP
5431766
How to check if array is list?
4717120
c# how to get last time in foreach statement?
7476174
Foreach loop, determine which is the last iteration of the loop
5691390
When do we use the "||=" operator in Rails ? What is its significance?
3725442
Files with .sql extension identified as binary in Mercurial
2366484
Why does Mercurial think my SQL files are binary?
5647525
Validation of viewstate MAC failed
1418233
Setting ViewStateUserKey gives me a "Validation of viewstate MAC failed" error
3732199
Pluralize English words Like LINQ to SQL Does
475705
Is there any algorithm in c# to singularize - pluralize a word?
3740573
Extremely Large Integers in PHP
211345
Working with large numbers in PHP
5658021
What's the equivalent of int64_t, int_least16_t & uint8_t in Visual C++ 2008?
5657825
What's the equivalent of int32_t in Visual C++?
5453696
C# "Backward" Convert Visual Studio 2010 .csproj project to 2008?
1898325
How to convert a VS 2010 solution back to 2008
3774008
Cloning a JavaScript object?
4643894
How to access php curly brace object property
10333016
How to access object properties with names like integers?
5601623
PHP shorthand isn't working on new server?
2476072
<? ?> tags not working in php 5.3.1
5476673
CSS Justify text, fill space with dots
3097851
Fill available spaces between labels with dots or hyphens
4810537
how to clear the screen in python
517970
How to clear the interpreter console?
2084508
Clear terminal in Python
3787461
How do I convert a string into an integer in objective C?
169925
How to convert a string into double and vice versa?
3842246
Computational cost of trig functions
345085
How do Trigonometric functions work?
3845518
How do I convert escaped characters into actual special characters in Perl?
2660123
How can I manually interpolate string escapes in a Perl string?
4672549
C#: Any way to get around the 260 character limit of a fully qualified path?
1880321
Why does the 260 character path length limit exist in Windows?
4677804
Why is java.util.Map.get(...) not generic?
857420
What are the reasons why Map.get(Object key) is not (fully) generic
5539028
Converting seconds into HH:MM:SS
1322732
Convert seconds to HH-MM-SS with JavaScript?
3781385
Migrating from Rails 2 to Rails 3
3648063
Rails 3 deprecated methods and APIs
5537310
Android horizontal scroll list
5636070
Zero an array in C code