question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
1861682
php multi-dimensional array remove duplicate
2164258
Is it not possible to define multiple constructors in Python?
682504
What is a clean, Pythonic way to have multiple constructors in Python?
1608181
Unique random numbers in an integer array in the C programming language
196017
Unique (non-repeating) random numbers in O(1)?
2021373
C# base() constructor order
1882692
C# constructor execution order
2024515
Why can't you assign an int to an Integer in a loop without curly braces?
1974641
Why this is not compiling in Java?
1882734
What is your favorite R debugging trick?
1880398
What would be a good version control system for a small Delphi team?
216834
Source control system for small database dev team
1048982
good version control software for Delphi 2009
2175647
Is it possible to detect *which* trap signal in bash?
9256644
Identifying received signal name in Bash
2184646
What is the point of header files in C?
333889
Why have header files and .cpp files?
1833356
Detach a pointer from a shared_ptr?
1525764
How to release pointer from boost::shared_ptr?
2633724
Good tools which generate NUnit unit tests for .NET assemblies in Visual Studio 2008
142481
Auto-generation of .NET unit tests
1546322
What's the best way to deep copy a hash of hashes in Perl?
388187
What's the best way to make a deep copy of a data structure in Perl?
2029650
Why can I write a generic catch statement in C# that does nothing?
1577760
Why can't I catch a generic exception in C#?
1549945
Why would you ever want to allocate memory on the heap rather than the stack?
102009
When is it best to use the stack instead of the heap and vice versa?
1556348
python: run a process with timeout and capture stdout, stderr and exit status
1191374
Using module 'subprocess' with timeout
1557082
programmer-friendly search engine?
1828654
Programmer-friendly search engine?
1562064
Decrypt MD5 hash
2097805
"breakpoint will not currently be hit" in asp.net
2468852
"The breakpoint will not currently be hit. The source code is different from the original version." What does this mean?
2452670
What are the differences between MSI and EXE installers, and which should I choose?
1789530
What are the specific differences between .msi and setup.exe file?
1954700
What's the point of a main function and/or __name__ == "__main__" check in Python?
2250694
Worth having a StringBuilder for 5 concatenations?
550702
At what point does using a StringBuilder become insignificant or an overhead?
2492561
How to force Entity Framework not to lock the database
926656
Entity Framework with NOLOCK
2183388
How can I pass a parameter to the wanted function when using Perl's File::Find?
2056649
How do I pass parameters to the File::Find subroutine that processes each file?
2652138
XSS prevention in PHP
71328
What are the best practices for avoiding xss attacks in a PHP site
2691178
How to make a div center align in HTML
114543
How to horizontally center an element
1678519
Difference between ++i and i++
484462
Difference between pre-increment and post-increment in a loop?
2149368
How can I loop through files in a directory in Perl?
1045792
How can I list all of the files in a directory with Perl?
2308786
Abstract classes and interfaces in C#
1165332
Interface or abstract class?
2334883
How can I strip html tags in C#
1038431
How to clean HTML tags using C#
275831
Best way to compare 2 XML documents in .NET
167946
How would you compare two XML Documents?
309291
In a C# exception handler, can I find the parameters that were passed to the method that raised the exception?
157911
In a .net Exception how to get a stacktrace with argument values
433049
How do I get a list of all currently loaded assemblies?
383686
How do you loop through currently loaded assemblies?
440494
Share Constants Between PHP and JavaScript
168214
Pass a PHP string to a JavaScript variable (and escape newlines)
471946
How to convert XML to JSON in Python?
191536
Converting XML to JSON using Python?
502905
C# int to enum conversion
29482
How can I cast int to enum?
589852
Export from HTML to PDF (C#)
564650
Convert HTML to PDF in .NET
595482
What are 'closures' in C#?
428617
What are 'closures' in .NET?
671583
How does one make a VIM window a full on terminal?
1236563
How do I run a terminal inside of Vim?
679571
When to use "new" and when not to, in C++?
655065
When should I use the new keyword in C++?
689474
Why are we not allowed to specify a constructor in an interface?
619856
Interface defining a constructor signature?
142003
Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
864204
What happens to memory that is not freed after end of program?
654754
What REALLY happens when you don't free after malloc?
1608174
What does a double question mark do in C#?
446835
What do two question marks together mean in C#?
770186
?? Null Coalescing Operator --> What does coalescing mean?
1734663
Read a file into dynamic memory array using malloc and POSIX file operations
410943
reading a text file into an array in c
1745166
Override (or shadow) a method with extension method?
899539
Is there any way in C# to override a class method with an extension method?
1760250
How to tell if browser/tab is active
1060008
Is there a way to detect if a browser window is not currently active?
1811900
can we check push notification in simulator?
1080556
How can I test Apple Push Notification Service without an iPhone?
1663705
Difference between arguments/parameters in C#
156767
What's the difference between an argument and a parameter?
1958973
Why is ForEach Method only on the List<T> collection?
1899564
a C++ hash map that preserves the order of insertion
1098175
A std::map that keep track of the order of insertion?
2246663
Why is the 'this' keyword not a reference type in C++
645994
Why is 'this' a pointer and not a reference?
1750984
What is the right way to compare two filenames to see if they are the same file?
410705
Best way to determine if two path reference to same file in C#
1793482
PHP error: Cannot modify header information – headers already sent
8028957
How to fix "Headers already sent" error in PHP
1992384
"Program to an interface". What does it mean?
383947
What does it mean to "program to an interface"?
2017001
Adding a class attribute to a hyperlink in Markdown
975264
How do I set an HTML class attribute in Markdown?
1973431
How can I make an exe in NetBeans?
2259929
iPhone - NavigationBar Custom Background
1692487
How to add background image on iphone Navigation bar?
2657482
SQL: Find the max record per group
1313120
Retrieving the last record in each group - MySQL
2659252
Clear the form once form submitted
680241
Resetting a multi-stage form with jQuery
2396655
Resharper - convince management
2298308
Business Case for ReSharper
2418013
Custom Attribute on HTML Element
1928369
What are the concrete risks of using custom HTML attributes?
1983398
Set Eclipse to automatically switch to Java perspective when terminating debug
521442
How to change back the perspective after terminating the debugged process in Eclipse?
2031759
How to inherit from multiple base classes in Java?
70537
Cheat single inheritance in Java?
995255
Why is Multiple Inheritance not allowed in Java or C#?
1262447
Multiple Inheritance in java
2046413
Designing a Localized Database Schema
316780
Schema for a multilanguage database
2095277
Difference between C++ and Java compilation process
2099164
jQuery Array of all selected checkboxes (by class)
416752
Select values of checkbox group with jQuery
1995109
Why use string::iterator rather than index?
131241
Why use iterators instead of array indices?
2122319
C++ type traits to check if class has operator/member
257288
Templated check for the existence of a class member function?
2803488
Is it bad practice to initialise fields outside of an explicit constructor
24551
Initialize class fields in constructor or at declaration?
2824965
Clear R Console programmatically
14260340
Function to clear the console in R and RStudio
2436070
Objective-C function with default parameters?
561185
Optional arguments in Objective-C 2.0?
2438142
Dynamic memory allocation for 3D array
1824363
dynamic allocation/deallocation of 2D & 3D arrays
2848130
Vim open file under cursor
2849846
Open file from complete path under cursor in Vim
2020360
How to check if NSString is numeric or not
1320295
Check that a input to UITextField is numeric only
2289552
Can you ignore HTML in a string while doing a Replace with jQuery?
8503121
Replace words in a string, but ignore HTML
1669124
Internet Explorer 6 and Internet Explorer 7 on same computer for debugging
2798956
Python library 'unittest': Generate multiple tests programmatically
32899
How do you generate dynamic (parameterized) unit tests in Python?
2814675
When I debug my application I get frequently Launch error: Failed to connect to remote VM
975384
Eclipse Error: "Failed to connect to remote VM"
2140369
What is type safety and what are the "type safe" alternatives?
928275
What is type-safety?
2152742
Java swing: Multiline labels?
685521
Multiline text in JLabel
2022425
Comparing structs to null
1972262
C# okay with comparing value types to null
1825256
Memcache Vs. Memcached
1442411
When should I use Memcache instead of Memcached?
2878209
Real world examples of Rx
2550763
Good example of Reactive Extensions Use
2500680
ASP.NET - Dynamically register an HttpHandler in code (not in web.config)
1888016
Any way to add HttpHandler programmatically in .NET?
2530896
asp.net mvc get current logged in user id
924692
How do you get the UserID of a User object in ASP.Net MVC?
2825640
Log client side errors to the server
119432
Logging Clientside JavaScript Errors on Server
1997433
How to use scala.None from Java code
9059511
Accessing scala.None from Java
2069010
Is there any functional difference between c# sealed and Java's final keyword?
1327544
What is the equivalent of Java's final in C#?
2080442
Programmatically make the iPhone vibrate
4724980
Making the iPhone vibrate
2912520
Read file-contents into a string in C++
116038
How do I read an entire file into a std::string in C++?
2923551
How do i make a non-bare git repository into a bare one?
2199897
How to convert a normal Git repository to a bare one?
2870684
How does this iterative Tower of Hanoi work? C
2209860
How does this work? Weird Towers of Hanoi Solution
2137629
iPhone View-Based Application Doesn't Have Core Data?
1365792
iphone tab bar controller and core data
2138684
Is it possible to tell Visual Studio not to treat a source file as a "component"?
230146
Is there an attribute I can add to a class so it will be edited as code, not in the designer?
2192032
Does the StringBuffer equals method compare content?
2012305
Comparing StringBuffer content with equals
2892458
Implementing zoom on a fixed point, javascript/canvas
2916081
Zoom in on a point (using scale and translate)
1969005
Enumerations in python
2191139
Resizing image programmatically in C#
1922040
How to resize an Image C#
2197698
How to set the text of a back button on a UINavigationBar?
1449339
How do I change the title of the "back" button on a Navigation Bar
2189473
Django logs location
1925898
Django Unhandled Exception
2219792
round decimal values up to the nearest of 0.01?
164926
How do I display a decimal value to 2 decimal places?
2271697
Rewinding remote git branch
253055
How do I push amended commit to the remote Git repository?
2278700
Difference between call by reference and call by value
2207179
Difference between value parameter and reference parameter?