question1_id
stringlengths 1
8
| question1
stringlengths 10
149
| question2_id
stringlengths 2
8
| question2
stringlengths 13
150
|
---|---|---|---|
2974860 | How can i simulate a slow network connection | 1094760 | Network tools that simulate slow network connection |
2994544 | How many files in a directory is too many (on Windows and Linux)? | 466521 | How many files can I put in a directory? |
2985646 | How to store a reference to an integer in C#? | 2980463 | How do I assign by "reference" to a class field in c#? |
2255917 | How to import java class? | 187453 | Import package.* vs import package.SpecificType |
3008683 | Why does Java allow multiple inheritance from interfaces but not from abstract/concrete classes | 2515477 | Why is there no multiple inheritance in Java, but implementing multiple interfaces is allowed? |
3011092 | How can I dynamically create a button in Android? | 1851633 | How to add a button dynamically in Android? |
2992615 | How to create an array of a collection? | 2927391 | What's the reason I can't create generic array types in Java? |
2435986 | With a SELECT...WHERE id IN (...), order results by IN()? | 396748 | Ordering by the order of values in a SQL IN() clause |
3048669 | How can I add entries to an existing zip file in Java? | 2223434 | Appending files to a zip file with Java |
3062709 | What is the difference between Classic and Integrated pipeline mode in IIS7? | 716049 | What is the difference between 'classic' and 'integrated' pipeline mode in IIS7? |
2320380 | How can I determine the current exception in a catch (...) block? | 561997 | Determining exception type after the exception is caught? |
2653759 | How can I write a "Hello World" app in assembly language? | 1023593 | How to write hello world in assembler under Windows? |
2657810 | Deep copy vs Shallow Copy | 184710 | What is the difference between a deep copy and a shallow copy? |
2092611 | Why is it recommended to avoid unidirectional one-to-many association on a foreign key? | 1307203 | Hibernate unidirectional one to many association - why is a join table better? |
2093890 | ASP.NET MVC Paginated List Example | 1663616 | Paging search results with asp.net MVC |
2299037 | Abstract constructor in C# | 2303717 | Define new operators in C#? |
1040114 | Is it possible to create a new operator in c#? | 2307602 | How to disable the automatic asterisk in Visual Studio when adding a multi-line comment in C#? |
51180 | How do I stop Visual Studio from automatically inserting asterisk during a block comment? | 2348491 | What is a good programming language to start my Grade 1 son learning? |
20059 | Suggestions on starting a child programming | 2374416 | Why use simple properties instead of fields in C#? |
1216958 | Difference between Automatic Properties and public field in C# 3.0 | 1277572 | Should I use public properties and private fields or public fields for data? |
2381195 | What is the purpose of views in SQL? | 214132 | What are views good for? |
2986229 | Is it good practice to use std::size_t all over the place? | 1951519 | When to use std::size_t? |
3001108 | NameValueCollection vs Dictionary<string,string> | 617443 | IDictionary<string, string> or NameValueCollection |
2887177 | when to use === operator check in JavaScript? | 2439811 | What is difference between \n and \r? |
1279779 | What is the difference between \r and \n? | 3005881 | how properly remove item from list |
1582285 | How to remove elements from a generic list while iterating over it? | 2545027 | Exception during iteration on collection and remove items from that collection |
2450704 | Writing String.trim() in C | 656542 | Trim a string in C |
3099753 | Why do we use fixed-width fonts in our IDEs? | 218623 | Why use monospace fonts in your IDE? |
3031885 | What is the difference between .html and .htm file extension in a Basic Web Page? | 1163738 | Should you use .htm or .html file extension? What is the difference, and which file is correct? |
2072475 | Does SQL have a list type that can be used in a WHERE ... IN clause? | 337704 | Parameterize an SQL IN clause |
2904776 | PHP: Singleton vs Static Class | 519520 | Difference between static class and singleton pattern? |
3129374 | how to prevent this error : Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in ... on line 11 | 2973202 | mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource |
3139619 | Check that an email address is valid on iOS | 800123 | What are best practices for validating email addresses on iOS 2.0 |
2808583 | Read a file from line X to line Y? | 514673 | How do I open a file from line X to line Y in PHP? |
2662140 | how to measure running time of algorithms in python | 889900 | Accurate timing of functions in python |
1685221 | accurately measure time python function takes | 3144673 | Java object copy best option? |
869033 | How do I copy an object in Java? | 2841114 | Is there a concurrent container library for C++ |
1164023 | Is there a production ready lock-free queue or hash implementation in C++ | 2194999 | How to calculate an age based on a birthday? |
3159254 | How do I detect that a hardware keyboard is attached to an iPhone? | 2893267 | How can I detect if an external keyboard is present on an iPad? |
3162181 | Would making 'this' a reference rather than a pointer be better in retrospect? | 2948494 | Unix timestamp vs datetime |
409286 | Should I use the datetime or timestamp data type in MySQL? | 1868102 | ORDER BY RAND() alternative |
1823306 | MySQL: Alternatives to ORDER BY RAND() | 2203734 | What is the difference between Array() and [] in Javascript and why would I use one over the other? |
931872 | What’s the difference between "Array()" and "[]" while declaring a JavaScript array? | 3183064 | Git vs Mercurial vs SVN |
1218471 | For home projects, can Mercurial or Git (or other DVCS) provide more advantages over Subversion? | 2738048 | How to make a link have the gloved hand mouse when hovering |
3087975 | How to change the cursor into a hand when a user hovers over a list item? | 2998768 | How can a language's compiler be written in that language? |
193560 | Writing a compiler in its own language | 3112998 | Remove unused CSS selectors |
3574136 | How do I identify and eliminate unused CSS styles from my bloated stylesheet? | 3144904 | May I take the address of the one-past-the-end element of an array? |
988158 | Take the address of a one-past-the-end array element via subscript: legal by the C++ Standard or not? | 2149208 | How to properly catch a 404 error in .NET |
1949610 | How can I catch a 404? | 2785612 | C++, What does the colon after a constructor mean? |
1272680 | What does a colon following a C++ constructor name do? | 2349978 | Variables after the colon in a constructor |
3158083 | What is big-O notation? How do you come up with figures like O(n)? | 487258 | What is a plain English explanation of "Big O" notation? |
3221968 | What's difference between #pragma and #ifndef? | 1143936 | #pragma once vs include guards? |
2241268 | In C# what is the difference: string vs String | 3013506 | Creating exe for my java Application in eclipse? |
3032492 | Save Settings in a .NET Winforms Application | 26369 | What is the best way to store user settings for a .NET application? |
3221175 | var vs Object in C# | 1552881 | Difference between "var" and "object" in C# |
1888407 | How to write conditional statements in WPF? | 1213576 | XAML Conditional Compilation |
1916515 | How defensive should you be? | 6847 | Defensive programming |
2170557 | split method of String class does not include trailing empty strings | 545957 | Java split() method strips empty strings at the end? |
2190863 | Why are Nodes and Elements different in XML? What was the rationale? | 132564 | What's the difference between an element and a node in XML? |
3277812 | C++ Template class inheriting another template class with a template-specified input type | 11405 | GCC issue: using a member of a base class that depends on a template argument |
1239908 | Why doesn't a derived template class have access to a base template class' identifiers? | 2218841 | Is it advisable to go with Python 3.1 for a beginner? |
2090820 | What version of Python should I use if I'm a new to Python? | 2876887 | Using Entity Framework 4.0 in a .Net 3.5 Application |
2500609 | Using EF 4 on .NET 3.5 SP1 | 3295464 | Java equivalent of C# 'using' statement |
2943542 | "using" keyword in java | 2271509 | "Between" in Linq C# |
1447635 | LINQ Between Operator | 3059149 | When to use <strong> and when to use <b>? |
2243074 | Is it ok to use <strong> in place of <b> blindly? | 3063027 | When exactly is constructor of static local object called? |
246564 | What is the lifetime of a static variable in a C++ function? | 2955562 | The C++ 'new' keyword and C |
2841204 | Use the keyword class as a variable name in C++ | 2241012 | .net: Is there a way to read a txt file from bottom to top? |
452902 | How to read a text file reversely with iterator in C# | 2886320 | int i vs int index etc. Which one is better? |
130775 | Is a variable named i unacceptable? | 2889921 | How do I become better in math, after being a programmer for several years |
862804 | How to improve my math skills to become a better programmer | 3067586 | How to capture the android device screen content? |
2661536 | How to programmatically take a screenshot on Android? | 2316199 | jQuery get DOM node? |
1677880 | How to get a DOM Element from a JQuery Selector | 3082728 | How does free() function collect the info about the no. of bytes to be freed |
1518711 | How does free know how much to free? | 2256802 | How do I check scalar for an 'inf' value in Perl? |
1185822 | How do I create or test for NaN or infinity in Perl? | 3234216 | How to parse command line arguments in Python? |
20063 | What's the best way to parse command line arguments? | 3235402 | Is there any true point to the Java interface? |
504904 | Is there more to an interface than having the correct methods | 2274143 | Is there something in PHP similar to Option Explicit in VB |
3193072 | Strict mode in PHP | 2301015 | Shuffle List<T> |
273313 | Randomize a List<T> | 2308460 | How can I get a traceback in Perl? |
738628 | How do I force a stack backtrace for all fatal errors in Perl? | 2948258 | is memset(ary,0,length) a portable way of inputting zero in double array |
1373369 | Which is faster/preferred: memset or for loop to zero out an array of doubles? | 2337540 | When should you use the "this" keyword in C++? |
1057425 | Excessive use of `this` in C++ | 2340841 | fileName or filename? |
742115 | Parameter naming: filename or fileName? | 3172179 | Valid Permutation of Parenthesis |
727707 | Finding all combinations of well-formed brackets | 3112078 | rails boolean fields: `is_foo` or just `foo`? |
1524154 | Naming Boolean columns in Rails | 2964100 | #pragma once Versus #if !defined MYHEADER_INCLUDED_ |
2965229 | nbsp not working in CSS content tag | 190396 | Adding HTML entities using CSS content |
3359916 | Format to two decimal places | 3364259 | SQL: BETWEEN and IN (which is faster) |
3308280 | Is there a performance difference between BETWEEN and IN with MySQL or in SQL in general? | 2640110 | How can you suppress checkstyle checks within a block of code only for specific rules? |
4023185 | How to disable a particular checkstyle rule for a particular line of code? | 2577233 | Threading in python: retrieve return value when using target= |
1886090 | Return value from thread | 2663237 | A scripting language for Windows? |
326775 | Best "official" scripting language for Windows programmers | 1104886 | Universal scripting language for Windows |
2587236 | Generic Property in C# | 271347 | Making a generic property |
3316801 | Which programming languages can be used to develop in Android? | 1994703 | Which programming languages can I use on Android Dalvik? |
3332216 | What's the difference between 'atomic' and non-atomic? | 588866 | What's the difference between the atomic and nonatomic attributes? |
3333631 | :(){ :|:& };: Forkbomb? | 515844 | The Bash command :(){ :|:& };: will spawn processes to kernel death. Can you explain the syntax? |
2968414 | Disable specific days of the week on jQuery UI datepicker | 501943 | Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)? |
3376141 | OpenID vs. OAuth | 1087031 | What's the difference between OpenID and OAuth? |
3001695 | How to determine whether a linked list contains a loop? | 34249 | Best algorithm to test if a linked list has a cycle |
494830 | How to determine if a linked list has a cycle using only two memory locations | 3382643 | XCode 4: How do you add an existing framework? |
3352664 | How to "add existing frameworks" in Xcode 4? | 3221861 | Does a JIT compiler have any disadvantages compared to a traditional compiler? |