question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
110362
How can I find the current OS in Python?
1854
Python: What OS am I running on?
110804
Integrating gyro and accelerometer readings
1586658
Combine Gyroscope and Accelerometer Data
142242
What is the best way to pick a random row from a table in MySQL?
211329
quick selection of a random row from a large table in mysql
132592
How to achieve const-correctness in C#?
114149
"const correctness" in C#
135057
Internet Explorer 8 and Internet Explorer 6 side by side
574463
Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine
153874
What is a Pointer?
92001
What is the real difference between Pointers and References?
204739
What is the C# equivalent of friend?
203616
Why does C# not provide the C++ style 'friend' keyword?
177251
Unit Testing Frameworks for C
65820
Unit Testing C Code
172279
What is obj folder generated for?
5308491
What are the obj and bin folders (created by Visual Studio) used for?
221944
Is there a performance difference between asp.net mvc and web forms?
43743
ASP.NET MVC Performance
73580
How do I send an SMTP Message from Java?
46663
How can I send an email by Java application using GMail, Yahoo, or Hotmail?
16064
What IDE to use for developing in Ruby on Rails on Windows?
16991
What Ruby IDE do you prefer?
215255
String vs string in C#
7074
What is the difference between String and string in C#?
114525
The difference between the two functions? ("function x" vs "var x = function")
336859
var functionName = function() {} vs function functionName() {}
82483
How to catch ALL exceptions/crashes in a .NET app
219594
.NET - What's the best way to implement a "catch all exceptions handler"
154256
Is there a way to iterate through all enum values?
105372
How to enumerate an enum
182298
Subversion versus Vault
57530
Any tool to migrate repo from Vault to Subversion?
41424
How do you implement a "Did you mean"?
307291
How does the Google "Did you mean?" Algorithm work?
96667
What's the difference between | and || in Java?
7101992
Why do we usually use || over |? What is the difference?
98242
Post increment operator behavior
6457130
Pre & post increment operator behavior in C, C++, Java, & C#
234241
How are echo and print different in PHP?
7094118
Reference: Comparing PHP's print and echo
175322
Reporting Services internationalization
16660
Internationalization in SSRS
119706
How to get my own code's module handle?
557081
How do I get the HMODULE for the currently executing code?
200090
How do you convert a C++ string to an int?
194465
How to parse a string to an int in C++?
213121
Use 'class' or 'typename' for template parameters?
2023977
Difference of keywords 'typename' and 'class' in templates?
314824
T-SQL: Opposite to string concatenation - how to split string into multiple records
2647
How do I split a string so I can access item x?
219470
Is it possible to view the history of a line in SVN?
53629
History of changes to a particular line of code in Subversion
224232
What is the "cost" of .NET reflection?
25458
How costly is .NET reflection?
204841
Where can I look at the C++ standard
81656
Where do I find the current C or C++ standard documents?
291804
Split a Pascal-case string into logical set of words
155303
.NET - How can you split a "caps" delimited string into an array?
280413
How do you find the caller function?
171970
How can I find the method that called the current method?
280389
How do you find out the caller function in JavaScript?
399847
.NET Memory Profiling Tools
3927
What Are Some Good .NET Profilers?
202079
WPF versus Windows Forms
57909
When creating a new GUI, is WPF the preferred choice over Windows Forms?
240161
Android application deployment
2084745
How to install an Android application on a real device without publishing and Eclipse?
249721
How to convert DateTime from JSON to C#?
249760
How can I convert a Unix timestamp to DateTime and vice versa?
247128
How to auto-size an iFrame?
153152
Resizing an iframe based on content
314505
How to mark a class as Deprecated?
1759352
How to mark a method as obsolete or deprecated?
326285
Deciding on type in the runtime and applying it in generic type - how can I do this?
307984
Declare a generic type instance dynamically
467899
Advantages of const in C++?
455518
How many and which are the uses of "const" in C++?
266562
HTML DTDs - what's the point?
255470
What are the different doctypes in html and what do they mean?
272854
WPF TreeView Binding
269523
How do I use a WPF TreeView HierarchicalDataTemplate with LINQ to Entities?
393833
Is there a size limit on a text file?
391794
Is there an upper limit on .txt file size?
373157
How can I pass a reference to a function, with parameters?
321113
How can I pre-set arguments in JavaScript function call? (Partial Function Application)
319639
What is Aspect Oriented Programming?
242177
What is aspect-oriented programming?
309329
Best free tool to build an exe from Java code?
147181
How can I convert my Java program to an .exe file?
521754
When to use friend class in C++
17434
When should you use 'friend' in C++?
392785
XMPP and Android
4769020
Android and XMPP: Currently available solutions
344341
SVN says I need to perform cleanup, but the cleanup fails
127932
Working copy XXX locked and cleanup failed in SVN
375910
Creating a Temp Dir in Java
617414
How to create a temporary directory/folder in Java?
610530
What image type should I use when? GIF, JPG or PNG?
115818
Which format for small website images? GIF or PNG?
620290
What are the differences between HTTP 1.0 and 1.1?
246859
HTTP 1.0 vs 1.1
560776
Using PHP to create a PDF from a mix of plain text and HTML text
391005
Convert HTML + CSS to PDF
575901
Why struct can not have parameterless constructor
333829
Why can't I define a default constructor for a struct in .NET?
429529
What does the @ symbol before a variable name mean in C#?
91817
What's the use/meaning of the @ character in variable names in C#?
401234
How do I set the build number based on the Subversion revision number with CruiseControl.net
1160
Use SVN Revision to label build in CCNET
320895
Using Linq to create crosstab results
167304
Is it possible to Pivot data using LINQ?
336961
Packing an exe + dll into one executable (not .NET)
72264
How can a C++ windows dll be merged into a C# application exe?
338509
C++0x - When?
226061
C++0X when?
5436139
When will C++0x be finished?
652292
What is unit testing and how do you do it?
1383
What is unit testing?
61400
What Makes a Good Unit Test?
580960
New to Unit Testing
452368
Why do lowercase and uppercase versions of string exist and which should I use?
314937
How to: Update calendar events that were imported by iCalendar file?
275759
Update an event in Outlook 2007 with an iCalendar file
318999
How many function parameters is too many?
174968
How many parameters are too many?
664277
Needed: File system interfaces and implementation in .NET
1087351
How do you mock out the file system in C# for unit testing?
426182
What is the real advantage of returning ICollection<T> instead of a List<T>?
398903
What is the difference between List (of T) and Collection(of T)?
660566
What can go wrong if one fails to override GetHashCode() when overriding Equals()?
371328
Why is it important to override GetHashCode when Equals method is overridden?
587772
Using quote inside strings in Delphi
302409
How does one escape characters in Delphi string
684684
Normalize file path with WinAPI
562701
Best way to determine if two path reference to same file in Windows?
635325
Unable to recover a file in Git
953481
How to find and restore a deleted file in a Git repository
377100
Newest Microsoft Chart and ASP.NET MVC
319835
New asp.net charting controls - will they work with MVC (eventually)?
380708
Shortest method to convert an array to a string in c#/LINQ
145856
How to join int[] to a character separated string in .NET?
429005
How dangerous is it send HTML in AJAX as opposed to sending JSON and building the HTML?
1284381
Why is it a bad practice to return generated HTML instead of JSON? Or is it?
499437
In Java, when should I create a checked exception, and when should it be a runtime exception?
27578
When to choose checked and unchecked exceptions
517721
In ASP.Net, what is the difference between <%= and <%#
115159
When should I use # and = in ASP.NET controls?
389968
Source code analysis tools for C#
38635
What static analysis tools are available for C#?
674501
publish a website using msbuild
48550
How do I publish a Asp.NET web application using MSBuild?
543515
Structs vs classes in C++
54585
When should you use a class vs a struct in C++?
551289
Should I learn to use Emacs?
48006
Is it worth investing time in learning to use Emacs?
554204
Where is Round() in C++?
485525
round() for float in C++
406729
What are some examples of LISP being used in production, outside of AI and academia?
172798
Lisp in the real world
521527
Response.Redirect and Server.Transfer
224569
Server.Transfer Vs. Response.Redirect
537820
What's a good HTML template engine for C++?
355650
C++ HTML template framework, templatizing library, HTML generator library
343852
What's a good algorithm to determine if an input is a perfect square?
295579
Fastest way to determine if an integer's square root is an integer
516399
How do I create an .exe for a Java program?
808992
Singular or plural database table names?
338156
Table Naming Dilemma: Singular vs. Plural Names
701339
Resizing iframe to fit its content
733840
What is the key difference between a 'Debug' and a 'Release' build in .NET?
367884
What is the difference between Debug and Release in Visual Studio?
403031
Changing CSS style from ASP.NET code
1501577
Change CSS Dynamically
561354
What is the purpose of Using?
75401
What are the uses of "using" in C#?
349659
String.Format or Not?
16432
String output: format or concat in C#?
369981
SQL injection attack - What is going on here?
200545
Attempted SQL injection attack - what are they trying to do?
364941
Is Multiple Inheritance Evil?
225929
What is the exact problem with multiple inheritance?
483741
How to determine which html page element has focus?
497094
How do I find out which DOM element has the focus?
561588
What is more efficient, i++ or ++i?
24886
Is there a performance difference between i++ and ++i in C?
24901
Is there a performance difference between i++ and ++i in C++?
566998
Get only the Date part of DateTime in mssql
542780
Get just the Date from grouping in select from DateTime column in SQL Server
378927
What is the best (idiomatic) way to check the type of a Python variable?
1549801
What are the differences between type() and isinstance()?
641919
Which configuration file contains the names of all projects in Eclipse workspace?
251116
Where in an Eclipse workspace is the list of projects stored?
573986
Developing for iPhone on a PC?
113547
iPhone development on Windows
611775
Regular expression for valid email address?
201323
How to validate an email address using a regular expression?
676500
How change List<T> data to IQueryable<T> data
73542
IList<T> to IQueryable<T>