question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
6775336
c++ explicit keyword for function without arguments
7733986
2 binary trees are equal or not
1482822
Determine if two binary trees are equal
6804216
How to initialize a container of noncopyable with initializer list?
8468774
Can I list-initialize a vector of move-only type?
7141666
In a `while` loop, why can't I declare variable in the condition as in a `for` loop?
1581364
Why can't we define a variable inside a while loop?
7583536
Using Node.js to connect to Microsoft SQL Server 2008 (MSSQL) database
4728385
Connecting to a remote Microsoft SQL server from Node.js
6936089
How to programatically select first row of DataGridView
6265228
Selecting a row in DataGridView programmatically
7264841
Thread synchronization. Why exactly this lock isn't enough to synchronize threads
7131979
Threads synchronization. How exactly lock makes access to memory 'correct'?
8052877
check if jQuery UI is loaded
2260250
Testing if jQueryUI has loaded
8059526
What does "var" do in JavaScript? Why is it sometimes part of an assignment?
7273299
Programmatically check if method is public
4160901
How to check if a function is public or protected in PHP
6361958
Delegate vs Protocol
5431413
Difference between protocol and delegates?
6365701
PHP extract link from <a> tag
4702987
PHP String Manipulation: Extract hrefs
6388766
Any tips on Linux programming for Windows programmer (C/C++)?
1073111
shifting from windows to *nix programming platform
6401297
php constants in a javascript file
8040771
How to change date format in JavaScript
1056728
Where can I find documentation on formatting a date in JavaScript?
7303379
Difference in LinkedList and ArrayList implementation?
322715
When to use LinkedList over ArrayList in Java?
7634484
add class to <a> if href starts with http://www.twitter.com/
303956
Select <a> which href ends with some string
8066314
Any R-Tree implementation in F# (or C#)?
2041834
Is there any documented free R-Tree implementation for .NET?
7786921
Why we must initialize a variable before using it?
1597405
What happens to a declared, uninitialized variable in C? Does it have a value?
7437385
Add a space between characters in a String
7371949
How to add spaces between every character in a string?
7321514
Why private members of a class instance are getting available in Equals() method body?
7245150
Yield return from a try/catch block
5067188
yield return with try catch, how can i solve it
6435793
Optional parameters in functions and their mutable default values
1132941
"Least Astonishment" and the Mutable Default Argument
6438352
Using enum as generic type parameter in C#
1331739
Enum type constraints in C#
5959836
What is MSBuild and it's purpose
3603100
MSBuild: What is it, and when do I need it?
7667163
Use apply with a function constructor
1606797
Use of .apply() with 'new' operator. Is this possible?
5970289
Page loading bar until the entire page has loaded?
5245294
Loading bar while script runs
7786493
convert string to html code in django template
4848611
Rendering a template variable as HTML
6004256
how to hide file location in <input type='file'>?
2034826
How to hide text field in Html File Upload
6748065
Embedding png images into SVG
6249664
Does SVG support embedding of bitmap images?
7336503
How to vertical align image inside div
7273338
How to vertically align an image inside a div
6533243
Create GUI using Eclipse (Java)
29426
Best GUI designer for eclipse?
7835653
Is MVC and MVP supervising controller the same?
7716367
What is the purpose of the `//` operator in python?
1535596
What is the reason for having '//' in Python?
6534830
Anybody Knows the Logic To Find Out a Number is Perfect Square or not?
6790550
Sorting object list by string property C#
722868
Sorting a list using Lambda/Linq to objects
6794779
How to convert decimal string in python to a number?
379906
How do I parse a string to a float or int?
7284956
What is the template trait classes in c++?
3979766
How do traits classes work and what do they do?
6561687
How can I set a cookie to expire after x days with this code I have?
260749
What is the "best" way to get and set a single cookie value using JavaScript
7833558
Child selector deprecated
8406642
What is the new proper way to use a child selector with a context node in jQuery?
7860942
Is it possible to compile Coffeescript code in script tags in html files?
5170473
Is there a way to send CoffeeScript to the client's browser and have it compiled to JavaScript *there*?
7856136
Java: Inaccuracy using double
322749
Retain precision with double in Java
7015773
How to decrypt the encrypted password in md5()?
7024031
Java: Open a file (Windows + Mac)
560077
How to launch the default (native) application for a given file from Java?
8206827
Convert YYYYMMDD string date to a datetime value
1592653
Convert string to DateTime in c#
8213409
Convert String to Enum?
604424
How to get an enum value from a string value in Java?
7395699
Calculate leap year in Java
1021324
Java Code for calculating Leap Year
8227672
I need to have 2 symbols after dot
6134039
Format number to always show 2 decimal places
8225558
How do I round to 2 decimal places?
6585787
getting a const_iterator from iterator
5105918
Obtaining const_iterator from iterator
8226447
Converting int to NSInteger
1752701
How to convert An NSInteger to an int?
8242032
How to get OS version number?
8340908
How to get the current OS version of Windows Phone?
8242096
The best way to know if JQuery is available?
6973941
How to check what version of jQuery is loaded?
8258244
Accessing a file inside a .jar file
403256
How do I read a resource file from a Java jar file?
6072319
Finding n-th smallest element in an array
7634015
Scala Predef unimport
2664274
How to unimport String "+" operator in Scala?
7158654
How to get random elements from an array
7179460
Why generic extension method with constraint is not recognized as extension method?
7171067
No type inference with generic extension method
7026131
Padding a list in python with particular value
3438756
Some built-in to pad a list in python
7365078
Android Gridview drag and drop example
7146639
Android GridView reorder elements via Drag and Drop
7390112
Sqlite3 database file extension
808499
Does it matter what extension is used for SQLite database files?
7706122
ActiveAdmin how to add a custom controller without model
7639978
Add page to active admin
7226056
Equivalent to <center> tag in CSS?
1798817
Why is the <center> tag deprecated in HTML?
7397791
Error: "emulator-5554 disconnected! Cancelling activity launch'?
2160454
HelloAndroid]emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!
7405654
How do you write a tab (\t) inside a "@..." C# string?
1748999
C# @"" how do i insert a tab?
6619698
How to change the size of jquery UI datepicker
659588
How to resize the jQuery DatePicker control
7065257
Permission denied (publickey). fatal: The remote end hung up unexpectedly while pushing back to git repository
3617113
GitHub: Permission denied (publickey). fatal: The remote end hung up unexpectedly
7907368
Split array up into n-groups of m size?
3864139
Need to split arrays to sub arrays of specified size in Ruby
7923369
When is the "typename" keyword necessary?
1600936
Officially, what is typename for?
6122905
what is difference between text/javascript and application/javascript
876561
When serving JavaScript files, is it better to use the application/javascript or application/x-javascript
7736313
App Widget does not appear in the widget list on Honeycomb devices until Launcher is restarted
6024025
Android AppWidget does not show up in the menu in honeycomb until reboot
7956294
Serializing enum values in JSON (C#)
2441290
JavaScriptSerializer - JSON serialization of enum as string
7586870
In JavaScript, what is the advantage of !function(){}() over (function () {})()?
3755606
What does the exclamation mark do before the function?
7246512
"#ifdef" inside a macro
5586429
#ifdef inside #define
6157887
R.string; get string from dynamic key name
3648942
Dynamic Resource Loading Android
7288835
Should 'using' be inside the namespace or outside?
6881415
When is "var" needed in js?
8371141
Why use First instead of FirstOrDefault in LINQ?
1024559
When to use .First and when to use .FirstOrDefault with LINQ?
6662817
Why it's impossible in java to refer non-final variable in inner anonymous class?
1299837
Cannot refer to a non-final variable inside an inner class defined in a different method
7865984
Open another page in php
2112373
PHP page redirect
8383243
Eclipse global preferences
4848767
How to Clone an Eclipse Workspace
8407886
Pass an event as a parameter to a method
2560258
How to pass an event to a method?
7163815
get name of a post variable
3489387
Print $_POST variable name along with value
7174277
Why put underscore "_" before variable names in Objective C
8029529
Is the .NET string hash function portable?
5154970
How do I create a HashCode in .net (c#) for a string that is safe to store in a database?
7524202
Are there any legitimate reasons to hide static methods?
2223386
Why doesn't Java allow overriding of static methods?
6697878
Get the file version of a dll or exe
1706892
How do I retrieve the version of a file from a batch file on Windows Vista?
8420354
vim - run :!commands in my .bashrc
5235543
Why doesn't my vim know my alias?
8424064
What does && mean with a parameter type in C++?
5481539
What does T&& (double ampersand) mean in C++11?
6220798
How to check for NaN value in Objective-C (iOS)
3471988
Objective-C - float checking for nan
6239032
Do you really need to specify the type attribute?
2706290
Why write <script type="text/javascript"> when the mime type is set by the server?
7711671
android: get rid of focus when enter activity
1555109
How to stop EditText from gaining focus at Activity startup in Android
7969566
Get line numbers from .NET exceptions without .pdb files
1328836
How can I include line numbers in a stack trace without a pdb?
6917512
How do I stop Dreamweaver from putting dependent files?
9026072
Dreamweaver Keeps Getting Dependent Files
8356223
Assign a string literal to a char*
59670
How to get rid of `deprecated conversion from string constant to ‘char*’` warnings in GCC?
7545209
How to get first member of an object in javascript
983267
How to access the first property of a Javascript object?
7200281
Programmatically Hide/Show Android Soft Keyboard
1109022
How do you close/hide the Android soft keyboard using Java?
8089875
Show a leading zero if a number is less than 10
8458315
More elegant way to create a 2D matrix in Python
2397141
How to initialize a two-dimensional array in Python?
7399071
Why is the Android emulator slow?
1554099
Why is the Android emulator so slow? How can we speed up the Android emulator?
6277315
Android : Open a URL in a Browser
2201917
How can I open a URL in Android's web browser from my application?
6279651
Rails 3, passing local variable to partial
4402556
Rails: confused about syntax for passing locals to partials
8427169
converting a date string into milliseconds in java
5351483
Calculate date/time difference in java
8077100
Difference between jsonstring and json object
2904131
What is the difference between JSON and Object Literal Notation?
8083282
How do I remove a big file wrongly committed in git
2100907
How to remove/delete a large file from commit history in Git repository?
7415733
how to convert double to 2 number after the dot?
8112715
How to crop Bitmap Center like imageview?
7600910
Difference between function with parentheses and without
7409502
What is the difference between def foo = {} and def foo() = {} in Scala?