question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
6062636
How to clear a multiple select dropdown using jquery
2254736
Quick way to clear all selections on a multiselect enabled <select> with jQuery?
6076207
Objective-C forward declarations vs. #imports
322597
@class vs. #import
6196678
Is it possible to have tuple assignment to variables in Scala?
1624484
Tuple parameter declaration and assignment oddity
6956631
Git merge ignore spaces
1316364
git whitespace woes
6718209
When should you use friend classes?
4589405
A simple Perl regex guaranteed to never match a string?
1723182
A Regex that will never be matched by anything
6112913
How to recalculate IP checksum with scapy?
5953371
How to calculate a packet checksum without sending it?
6771166
Sorting a partially sorted array
2726785
Sorting an almost sorted array (elements misplaced by no more than k)
6996910
Is possible getMethods in order using reflections?
3148274
Get declared methods in order they appear in source code
5001172
Java Reflection: Getting fields and methods in declaration order
7351926
Is there a way to diff two registers in vim?
3619146
How to ‘diff’ two subroutines in the same file in Vim?
7048170
Running full commands through remote ssh
305035
How to use SSH to run a local shell script on a remote machine?
6991142
Writable atomic property 'result' cannot pair a synthesized setter/getter with a user defined setter/getter
3227176
error: writable atomic property cannot pair a synthesized setter/getter with a user defined setter/getter
6106795
Nullsafe navigation in c#
4110659
Safe Navigation Operator in C#?
6125247
Why can't you use 'this' in member initializers?
2023640
Cannot use 'this' in member initializer?
7387188
enable pressing tab to search in google chrome on my website
7630144
How to add google chrome omnibox-search support for your site?
4589891
MySQL dump into CSV text files with column names at the top?
262924
How to export / dump a MySql table into a text file including the field names (aka headers or column names)
4615770
Is using using Better?
212198
What is the C# Using block and why should I use it?
7016758
Is there a way to prevent browser autofill an input box?
582244
Is there a W3C valid way to disable autocomplete in a HTML form?
7025437
addEventListener in jQuery
2398099
jQuery equivalent of JavaScript's addEventListener method
7027986
Single or Double quotes in jQuery
7009090
IMDB Scraping issue
1966503
Does IMDB provide an API?
6158585
Override validation error message for SecurePassword
808547
Fully custom validation error message with Rails
6165919
Java interrupt thread when reading socket
4425350
How to terminate a thread blocking on socket IO operation instantly?
6846567
Help with PHP mail() function
5342822
php mail() function on localhost
6850977
Python type checking
6025714
Tools for static type checking in Python
7077576
How do I tell my code is running on Mono?
721161
How to detect which .NET runtime is being used (MS vs. Mono)?
7098202
MYSQL get all results but first
6209120
Scala - ambiguous reference to overloaded definition -- with varargs
3313929
How do I disambiguate in Scala between methods with vararg and without
4656546
Why don't we have a // comment in CSS?
2479351
Why do /**/ comments work in stylesheets but // comments don't?
6877390
Is $(document).ready necessary if I put all my JavaScript at the bottom of the page?
4643990
Is $(document).ready necessary?
7117873
Do 'if' statements in JavaScript require curly braces?
4797286
Are braces necessary in one-line statements in JavaScript?
6168717
Why it is called Marshalling?
2942362
Why is the concept of Marshalling called as such?
7399603
What causes "object is not an instance of declaring class"?
7202988
Why do I get "object is not an instance of declaring class" when invoking a method using reflection?
7136406
[python]: confused by super()
576169
Understanding Python super() with __init__() methods
7269369
Can wrapping a type in a struct cause additional padding?
3585033
Size of struct with a single element
7405751
Why can't static method in non-static class be an extension method?
2731695
Extension methods require declaring class to be static
4909156
Why aren't C# static class extension methods supported?
7115562
PHP built in function to determine if email is valid
5855811
How to validate an Email in PHP?
4667871
jQuery UI Dialog: How to set default button
868889
Submit jQuery UI dialog on <Enter>
2522125
jquery-ui Dialog: Make a button in the dialog the default action (Enter key)
7445182
Find out File Owner/Creator in C#
153087
Getting / setting file owner in C#
6195403
Is there a template-meta program to determine the endianness of the compiler at compile time?
280162
Is there a way to do a C++ style compile-time assertion to determine machine's endianness?
6198194
How to see count of project downloads on GitHub?
4338358
Github: Can I see the number of downloads for a repo?
4726281
Picking random element by user defined weights
445235
Generating random results by weight in PHP?
7093510
exec() waiting for a response in PHP
3819398
php exec command (or similar) to not wait for result
7093992
How to have an inherited callback in ruby that is triggered after the child class is defined instead of before
790626
Is there a hook similar to Class#inherited that's triggered only after a Ruby class definition?
6234120
Where to find the implementation of stdio.h?
5233514
Where to find stdio.h functions implementations?
7147441
Firefox addon to find Unused CSS styles
135657
How to identify unused CSS definitions from multiple CSS files in a project
7160073
In Jquery How to handle paste?
237254
How do you handle oncut, oncopy, and onpaste in jQuery?
6377961
Rotate view in xib file to landscape mode
5327927
How do i rotate a window in xCode 4 interface builder tool thing?
4746108
why the interface cannot have static member method
1062468
Why shouldn't C#(or .NET) allow us to put a static/shared method inside an interface?
6244823
Convert List<String> to delimited String
1751844
Java: convert List<String> to a String
6854283
Ruby Block Syntax Error
420147
Ruby block and unparenthesized arguments
6394741
Can a C++ function return more than one value?
7182949
How to check if a WPF application is already running?
19147
What is the correct way to create a single-instance WPF application?
6743365
Difference between parameters and attributes
5243754
Difference between getAttribute() and getParameter()
6954336
How to do nothing in SQL Server
3234871
Empty statement in T-SQL
4795551
Why is "$" a valid function identifier?
4803518
Why can’t <style> tags within the HTML <body> tag validate on W3C?
1303416
Does <STYLE> have to be in the <HEAD> of an HTML document?
7193530
Check Length of Multidimensional Arrays with Javascript
5223
Length of a JavaScript object
6778870
Difference between response.redirect and server.transfer
7313157
python: create list of tuples from lists
2407398
How to merge lists into a list of tuples?
7134261
Strange C++ rule for member function pointers?
7134197
Error with address of parenthesized member function
4812592
Use of 'ref' keyword in C#
186891
Why use the 'ref' keyword when passing an object?
2193064
When to pass ref keyword in
4828075
using see cref with < > characters in XML Documentation?
532166
How to reference generic classes and methods in xml documentation
6885452
Running Scala code on iOS
13460780
Any way to use some Scala for iOS coding?
6887171
How to select_related on reverse foreign key?
2975558
A left outer reverse select_related in Django?
7203759
Launch error: Failed to connect to remote VM
6448587
The primary use of IDisposable interface
538060
Proper use of the IDisposable interface
6290365
how to detect when an Android activity starts and ends
8515936
Android activity life cycle - what are all these methods for?
6295481
Learning Algorithms
5282969
Learning efficient algorithms
6312202
Detect current major mode in Emacs (from Lisp)?
2238418
emacs lisp, how to get buffer major mode?
6794782
definitive way to get user ip address php
6801500
Why do constructors in java not have a return type?
1788312
Why do constructors not return values?
7544847
How to run different threads on different cores?
1407786
how to set CPU affinity of a particular pthread?
7225308
Scala - What does ' => SomeType' means?
6297153
What does "code: => Unit" mean in scala?
6303369
Programmatic Bean Validation (JSR 303) without Annotation
4533130
How can I use a Hibernate validator without an annotation on a field?
6307070
A question about class definition in C++ " : 1"
6856750
What is the purpose of pure virtual destructor?
977543
Under what circumstances is it advantageous to give an implementation of a pure virtual function?
1219607
Why do we need a pure virtual destructor in C++?
7562716
how to make python script self-executable
3400381
Calling a python script from command line without typing "python" first
7189813
C++ all differences between 'struct' and 'class'?
7199666
Difference between & and && in Java?
5564410
What is the difference between & and && in Java?
6958316
What does :: mean in php?
6313783
what is the "::" notation in php used for?
6356122
Javascript if in x
5252650
Test for value in Javascript Array
6372566
Get Time Zones list in c#
442019
How do I enumerate all time zones in .NET?
6967274
How do you generate a random number in between 1 and 7 by using a function which generates 1 to 5
137783
Expand a random range from 1–5 to 1–7
7563652
Static Final Variable in Java
1415955
private final static attribute vs private final attribute
7565842
Web Service Method with Optional Parameters
1723052
Can I have an optional parameter for an ASP.NET SOAP web service
7040838
C#, DETERMINE *if* a double can become an int without any loss
6332406
Java: how to handle two process trying to modify the same file
128038
How can I lock a file using java (if possible)
7595421
Where to put js files in CodeIgniter
5072479
Where should someone put the static files such as CS, JS and images in the Codeigniter folder structure?
7273312
what is the best way to check if a string exists in another?
7294599
What's the difference between the media queries max-width and max-device-width?
6747242
What is the difference between max-device-width and max-width for mobile web?
6910932
create a index from pdf
6822884
How do I Index PDF files and search for keywords?
6345710
Skip welcome page in Delphi 2010?
5003275
Delphi 2010 - hide welcome page
6401714
PHP order array by date?
2910611
PHP Sort a multidimensional array by element containing date
7608251
Is dp the same as dip?
2025282
What is the difference between "px", "dip", "dp" and "sp"?
7611402
How to get the date of the next Sunday?
6346119
Datetime - Get next tuesday
6371632
Test App on Real iPhone
5091883
Deploy an iphone app from xcode to iphone
7620385
Why is it a bad idea to use 'new'?
6500313
Why should C++ programmers minimize use of 'new'?
6954116
Ruby’s “method_missing” in Python
6704151
Python equivalent of Ruby's 'method_missing'
6954988
C#: Definition of the scope of variables declared in the initialization part of for-loops?
1196941
Variable scope confusion in C#
2049330
C# variable scoping: 'x' cannot be declared in this scope because it would give a different meaning to 'x'
4974461
Phone Number formatting using Regex
7386459
Why HttpServlet in java implements serializable?
179743
Why does HttpServlet implement Serializable?
7328044
Matrix size limitation in MATLAB
2332430
Maximum array size in MATLAB?
7330239
How to Implement a UIButton that consisting of left side image & right side text