question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
201101
How to initialize all members of an array to the same value?
2891191
How to initialize an array to something in C without a loop?
5267803
counting number of ones in binary representation of a number
5366849
convert '1' to '0001' in JavaScript
2686855
Is there a JavaScript function that can pad a string to get to a determined length?
2399619
Should a C++ constructor that interfaces with hardware do real work?
293967
How much work should be done in a constructor?
5594914
Start twitter app
2077008
Android Intent for Twitter application
5282279
Subversion: how to remove all .svn files recursively?
4891064
How can I determine that several file paths formats point to the same physical location
4717448
AJAX - What content type should have JSON encoded data?
477816
What is the correct JSON content type?
5763577
How can I draw an object in openGL that always faces the camera?
5467007
Inverting rotation in 3D, to make an object always face the camera?
3873111
Instantiate a class with or without parentheses?
1945989
PHP class instantiation. To use or not to use the parentheses?
3873262
How to create a basic operating system
254149
Resources to develop an operating system
5072535
How to retain Android ListView scroll position when returning to an activity?
4917195
How to get jQuery Autocomplete to pop up on field focus?
4479598
jQuery autocomplete UI- I'd like it to start the search onfocus without the user having to type anything
5103194
Get the list of functions loaded in R's global environment
4267744
Is there a way to get a vector with the name of all functions that one could use in R?
3808393
Bad C++ programmer behaviors in C#
2424807
Most common or vicious mistakes in C# development for experienced C++ programmers
5654518
What does *display mean in CSS?
1667531
What does a star-preceded property mean in CSS?
5665114
Python - value in list of dictionaries
1580270
What's the best way to search for a Python dictionary value in a list of dictionaries?
5107138
Adding a digital signature to a pdf file
378247
Digitally sign PDF files
4795928
Check if element exists
4257906
jQuery determining if element exists on page
4812508
Is console.writeline thread safe?
1079980
Calling Console.WriteLine from multiple threads
3903363
Allowed memory size of 268435456 bytes exhausted
4096582
Allowed memory size of X bytes exhausted
3921864
Are friends in c++ mutual?
437250
Friend scope in C++
3926842
Lint for Objective-C?
563225
Code linting for Objective C
5607902
How to change browser address bar without reloading page - HTML/Javascript
4973777
How does GitHub change the URL but not the reload?
3837214
How to get the content height of a UIWebView in iPhone sdk, objective-c?
3936041
How to determine the content size of a UIWebView?
4970314
Can Count(*) ever return null?
2552086
Does COUNT(*) always return a result?
4978372
SQL Server and connection loss in the middle of a transaction
1539564
What happens to an uncommitted transaction when the connection is closed?
3941382
what is the difference between css font size using em and percentage?
132685
Font size in CSS - % or em?
5318011
Why does Perl think "0 but true" is a number?
129945
What does "0 but true" mean in Perl?
5338733
What is the difference between Debug Mode and Release Mode in Visual Studio 2010?
4043821
Performance differences between debug and release builds
4887712
iphone how can i get month name from month number?
4488373
iOS: How to get a proper Month name from a number?
5632881
What is the Best practice for try catch blocks to create clean code?
409563
Best practices for exception management in Java or C#
5644513
Thread v/s Async task
3264383
Difference between Service, Async Task & Thread?
2469154
Using * in SELECT Query
5051349
What is the difference between Bitwise AND & and LOGICAL AND &&
5665691
Abstract classes vs Static classes in C#
2390767
What's the difference between an abstract class and a static one?
3893626
How to use AsyncTask to show a ProgressDialog while doing background work in Android?
4591878
Updating progress dialog in Activity from AsyncTask
3976714
Converting string "true" / "false" to boolean value
5077074
What's the difference between PDOStatement->bindParam() and PDOStatement->bindValue()?
1179874
What is the difference between bindParam and bindValue?
2504007
MySQL: Unique constraint on multiple fields
635937
How do I specify unique constraint for multiple columns in MySQL?
5061078
Iterate over months between two dates in Python?
153584
How to iterate over a timespan after days, hours, weeks and months?
5063835
How can I make a Hashmap in Linux shell?
1494178
How to define hash tables in Bash?
4043647
What does this "(function(){});", a function inside brackets, mean in javascript?
3921922
What does (function (x,y){...})(a,b); mean in JavaScript?
5489082
c# windows service or just normal program?
390307
windows service vs scheduled task
5836309
Stack Memory vs Heap Memory
79923
What and where are the stack and heap?
5178595
Difference between 2 DateTimes in Hours?
4946316
Showing Difference between two datetime values in hours
5190527
Expand collapse UITableViewCell
4635338
UITableViewCell expand on click
5193144
What is a Dependency Property and when is it used?
5211090
Not using parentheses in constructor call with new (c++)
620137
Do the parentheses after the type name make a difference with new?
5700746
Where do browsers store cookies?
3801675
Where cookies are stored in system?
5708784
How do I choose a random value from an array with JavaScript?
4550505
Getting a random value from a JavaScript array
5679797
Haskell string to list
919937
Convert a String list to an Int list
5689676
How can I get the screen resolution in java?
3680221
How can I get screen resolution in java?
2539460
settings file vs app.config
909688
What is the difference between app.config file and XYZ.settings file?
5126353
Get the length of dynamically allocated array in C
8269048
Length of array in function argument
3970219
C# Lambda ( => )
167343
C# Lambda expressions: Why should I use them?
3973763
Format double to 2 decimal places with leading 0s
4003087
What's the major difference between "union" and "struct" in C.?
346536
Difference between a Structure and a Union
4033018
How to print an unsigned long int with printf in C?
3209909
How to printf "unsigned long" in C?
4114892
Two ways of declaring methods in Javascript
310870
Use of 'prototype' vs. 'this' in JavaScript?
5257075
facebook share button with custom title, description, and image
5150465
What will happen if the recursive function is defined as inline?
190232
Can a recursive function be inline?
5760428
Perl: Convert string to reference?
1671281
How can I convert the stringified version of array reference to actual array reference in Perl?
5189241
How to find the average of a set of bearings
5193385
How to display HTML "title" attribute in multiple lines in Firefox?
358874
How can I use a carriage return in a HTML tooltip?
5459540
What continuous integration tool suits for php?
941537
Recommended server for continuous integration for a PHP project
4030437
var vs explicit declaration
3424195
Determining if an Android device is rooted programmatically?
1101380
Determine if running on a rooted device
3463778
Can I dismiss the iPhone keyboard by touching the background of DialogViewController (MonoTouch.Dialog)?
10824092
MonoTouch.Dialog: Dismissing keyboard by touching anywhere in DialogViewController
3498817
difference between DateTime and DateTime2
1334143
DateTime2 vs DateTime in SQL Server
3501939
Does passing values by reference improve speed significantly?
3395873
Performance of pass by value vs. pass by reference in C# .NET
3520059
Does the size of pointers vary in C?
1473935
Can the size of pointers vary between data and function pointers?
4107145
C++ polymorphism: Checking data type of sub class
351845
Finding the type of an object in C++
4074696
Why no generic implementation of OrderedDictionary?
2629027
No generic implementation of OrderedDictionary?
3649754
Examples of Design Patterns used in JDK
1673841
Examples of GoF Design Patterns in Java's core libraries
4097577
Splitting a string into n-length chunks in Java
3760152
Split string to equal length substrings in Java
4145072
How to tell if a Type is a static class?
1175888
Determine if a type is static
4134553
C# Validate XML against XSD
572853
Xml validation using XSD schema
3674197
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes)
415801
Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
4148350
is it bad practice to use href='javascript:func()' than onclick='func()' for anchors?
2479557
Why is it bad practice to use links with the javascript: "protocol"?
4164077
C++ on Windows - the console window just flashes and disappears. What's going on?
1775865
Preventing console window from closing on Visual Studio C/C++ Console application
4130703
Why does C# Math.Floor() return Double instead of Int
1348892
Why does Math.Floor(Double) return a value of type Double?
2631087
How to synchronize HTML5 local/webStorage and server-side storage?
1744522
Best way to synchronize local HTML5 DB (WebSQL Storage, SQLite) with a server (2 way sync)
4212534
How to detect current iOS is 4.1 or 4.2?
3339722
How to check iOS version?
3736794
Why would I use WCF instead of MVC when building a RESTful api?
349717
Which to choose: ASP.NET MVC or RESTful WCF?
4237534
How to prevent false positive virus alarm on my software?
3339136
Antivirus False positive in my executable
4239941
Difference between URL and URI?
176264
What is the difference between a URI, a URL and a URN?
4242499
preferring malloc over calloc
1538420
Difference between malloc and calloc?
4238028
C# Coding Guidelines
14967
Are there any suggestions for developing a C# coding standards / best practices document?
3753413
What is Serializable? What does this mean?
3753713
Error 'TF215097:...Cannot create unknown type for...' custom CodeActivity
2910983
TFS 2010 Custom Build Activity TF215097 error
4276787
Python: Selecting numbers with associated probabilities
4265988
Generate random numbers with a given (numerical) distribution
4194628
How to generate random numbers in Javascript
1527803
Generating random whole numbers in JavaScript in a specific range?
4306618
Some good C++ IDE for Ubuntu (Gnome)?
79210
Best C++ IDE for *nix
4309156
Commit specific lines of a file to git
4303418
Java unicode comparison
2397804
Java string searching ignoring accents
4388055
Remove all non-digit characters from a string jquery?
1862130
Strip all non-numeric characters from string in JavaScript
4411672
Difference between "defining" and "declaring"
1410563
What is the difference between a definition and a declaration?
4437527
Why do we use volatile keyword?
72552
Why does volatile exist?
3810494
Disable close button in Jquery UI Dialog
896777
How to remove close button on the jQuery UI dialog?
4442658
c++ parse int from string
3815860
Python how to exit main function
949504
Terminating a Python Program
3826963
PHP list all files in directory
660644
Get the hierarchy of a directory with PHP
2922954
Getting the names of all files in a directory with PHP
4360555
How to get the id of a row i've just inserted php/mysql
1685860
How do I get the last inserted ID of a MySQL table in PHP?
5230162
what does a ||= mean in Ruby language?
3849334
sizeof empty structure is 0 in C and 1 in C++ why?
1626446
What is the size of an empty struct in C?
4458734
Get last ID on inserted row in Oracle DB
3552260
PLSQL JDBC: How to get last row ID?
3886895
How to Log Console Screen into a Text File?