question1_id
stringlengths
1
8
question1
stringlengths
10
149
question2_id
stringlengths
2
8
question2
stringlengths
13
150
30285680
How to convert slice to fixed size array?
19073769
How do you convert a slice into an array?
10494563
Which has better performance: test != null or null != test
2369226
object==null or null==object?
15196363
How do I create an int array with randomly shuffled numbers in a given range
1361340
How to 'insert if not exists' in MySQL?
65188192
SFINAE code to detect whether operator<< is implemented for a type behaves differently on Clang and gcc
24345399
Narrowing int to bool in SFINAE, different output between gcc and clang
12784083
What is the difference between protected and private?
224966
What is the difference between private and protected members of C++ classes?
10549345
How to remove duplicate items from a list using list comprehension?
8790515
How to check directory exist or not in linux.?
43138164
Java 8 Streams - Grouping into Single value
19555782
Android java.lang.NullPointerException: println needs a message
11449589
java.lang.NullPointerException: println needs a message
6018633
NullPointerException : println needs a message in android
64114768
Using an empty LLDB target which can cause slow memory reads from remote devices
25088252
Xcode - Error creating LLDB target
35027966
Elegant Json flatten in Spark
38753898
How to flatten a struct in a Spark dataframe?
53712796
Must use destructuring props assignment
53352851
Must use destructuring props assignment (react/destructuring-assignment)
9291061
Upload two files using PHP
2704314
Multiple file upload in php
48623005
docker error : the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
43099116
Error "The input device is not a TTY"
427760
When to use If-else if-else over switch statements and vice versa
126409
Ways to eliminate switch in code
47555613
Details of Unicode Names \N Documented?
30302766
List of unicode character names
64820697
How to fix "Exception thrown while unbinding, java.lang.IllegalArgumentException: Service not registered: lp@9f7d4ca" exception in Flutter?
64247956
Why does I'm getting "Service not registered" exception, even though I not used any service in Android - Java/Kotlin?
65277471
What is the use of functional syntax of setState in react functional components?
57828368
Why React useState with functional update form is needed?
13346424
Recursion or Looping
478570
Recursion or iteration?
35217337
Is there an efficient way to do a case-insensitive JavaScript object property name lookup?
12484386
Access JavaScript property case-insensitively?
65306167
Why does an unsigned int of bit-field become a signed int after shift operation in C++?
32529080
Should bit-fields less than int in size be the subject of integral promotion?
47823179
How can I trigger an update of the manifest.json file in an installed progressive web app on Android?
47762022
Apply changes to Web App Manifest on an installed PWA
35102193
How to generate assembly code with gcc that can be compiled with nasm
20737947
How to generate a nasm compilable assembly code from c source code on Linux?
6522446
List of tuples to dictionary
6586310
How to convert list of key-value tuples into dictionary?
26432476
PHP check if there is a file selected for upload
946418
How to check whether the user uploaded a file in PHP?
65303304
Xcode 12.3: Building for iOS Simulator, but the linked and embedded framework was built for iOS + iOS Simulator
63267897
Building for iOS Simulator, but the linked framework '****.framework' was built for iOS
17168623
Does C even have "pass by reference"?
2229498
Passing by reference in C
13953535
Distinct not working with LINQ
4438662
Using Distinct with LINQ and Objects
24315535
Remove leading zeros of a string in Javascript
8276451
Remove/ truncate leading zeros by javascript/jquery
2606899
Any Win32 APIs to get the screenshots?
531684
What is the best way to take screenshots of a Window with C++ in Windows?
65358148
Is A::B::B::B::B...B::f() right ? Why could i do that?
1577475
C++ sorting and keeping track of indexes
31994530
How to recover deleted remote branch in Git
51933189
Character encoding (UTF-8) in PowerShell session
49476326
Displaying Unicode in Powershell
36523233
Javascript Increase max array size
6154989
Maximum size of an Array in Javascript
30520505
node - invalid array length
40346498
Python foreach equivalent
18294534
Is there a 'foreach' function in Python 3?
43201392
Include filter child collection
32576094
How to use composition with pandas DataFrame and Series rather than inheritance
24504756
Pandas DataFrame Object Inheritance or Object Use?
43462814
Non-blocking input in python 3
21791621
Taking input from sys.stdin, non-blocking
47468361
get variable name into string in javascript
18327314
How to allow http content within an iframe on a https site
9280665
Insecure content in iframe on secure page
2417958
Is there possibility that a finally block might not execute?
3338123
How do I recursively delete a directory and its entire contents (files + sub dirs) in PHP?
3691101
What is the purpose of __str__ and __repr__?
2715026
Are PHP5 objects passed by reference?
1107016
Are objects in PHP passed by value or reference?
35678874
Normalize rows of pandas data frame by their sums
18594469
Normalizing a pandas DataFrame by row
40810258
The term 'update-database' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
9674983
The term 'Update-Database' is not recognized as the name of a cmdlet
12096252
Use a list of values to select rows from a pandas dataframe
59888499
macOS Catalina: Python Quit unexpectedly error
58272830
Python crashing on MacOS 10.15 Beta (19A582a) with "/usr/lib/libcrypto.dylib"
16377823
If variable equals value php
2063480
The 3 different equals
62827291
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
45954528
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
32110199
Reversing the order of key-value pairs in a dictionary (Python)
55911745
Python reverse dictionary items order
38837835
Include html in another html file
65484978
Should we still use classes or functions that require std::iterator if std::iterator is deprecated?
43268146
Why is std::iterator deprecated?
52186081
Is it possible for a macro to turn an identifier lowercase?
45533702
Is it possible to modify the case of a token inside of a macro?
32727198
What does a star * alone mean in a function declaration?
14301967
Bare asterisk in function arguments?
17150183
Plot multiple lines in one graph
3777174
Plotting two variables as lines using ggplot2 on the same graph
17994284
Variable declaration after function's argument list
3668953
Raise event thread safely - best practice
282653
Checking for null before event dispatching... thread safe?
36425898
Is C#'s null-conditional delegate invocation thread safe?
1655536
Is it possible to write extension methods for Console?
11515940
What does the <% operator mean in Scala generics?
4465948
What are Scala context and view bounds?
21006062
IE 11 cookies in Developer tools
19941029
How do I view cookies in Internet Explorer 11 using Developer Tools
65589925
Java implements multiple interfaces
14483909
Implementing Super and sub interfaces both in a class(class A implements SuperInterface, SubInterface)
2971521
What does the @ sign means in java?
31822020
in java what does the @ symbol mean?
19551022
The @ symbol in java
48768567
Reasons that ggplot2 legend does not appear
10349206
Add legend to ggplot2 line plot
14288682
Error Installing Homebrew - Brew Command Not Found
20381128
Installing Homebrew on OS X
40414526
how to read multipart/form-data in flask
6255344
How can I use JQuery to post JSON data?
43618096
Filtering on Include in EF Core
65649031
Is it safe to keep a pointer out-of-bounds without dereferencing it?
3838855
Is storing an invalid pointer automatically undefined behavior?
41667731
Does C check if a pointer is out-of-bound without the pointer being dereferenced?
17424639
Extract text from pdf file using javascript
1554280
extract text from pdf in Javascript
10604409
Sublime Text 2 console input
33556330
Pass quoted arguments to shell script and maintain quoting
5720194
How do I pass on script arguments that contain quotes/spaces?
19012991
How to pass quoted arguments from variable to bash script
24600937
Why do two tasks created after each other generate the same random value?
43769201
javascript push returning number instead of object
34259126
Why does Array.prototype.push return the new length instead of something more useful?
31830077
PHPStorm is not recognizing methods of my Model class in Laravel 5.0
29439753
Eloquent ORM Code Hinting in PhpStorm
9777122
Why does '.sort()' cause the list to be 'None' in Python?
7301110
Why does "return list.sort()" return None, not the list?
9556517
Variable assignment inside a case statement (bash)
54977863
java 8 , tamcat 8: Invalid byte tag in constant pool: 19
2707595
Rotate a 2d matrix to the right
25882480
Rotating a NxN matrix in Java
30014901
Generating random numbers without repeating.C#
26931528
Random number generator with no duplicates
49715399
Spring Boot @RestController enable/disable methods using properties
29958231
Can a spring boot @RestController be enabled/disabled using properties?
14331525
How to check if any fields in a form are empty in php
3190464
PHP: check if any posted vars are empty - form: all fields required
28687149
How to get the number of elements in partition?
46032320
Apache Spark: Get number of records per partition
41468116
Python: how to combine two flat lists into a 2D array?
16426987
how to prevent axes from intersecting in ggplot2
49899417
How to change the order of ggplot2 facets
14262497
Fixing the order of facets in ggplot
7619955
mapping private property entity framework code first
13807406
Entity Framework Many to many through containing object
32129064
What are the parentheses for at the end of Python method names?
21785933
Purpose of calling function without brackets python
20351354
Is it possible to define bit column in sqlite?
2510652
Is there a boolean literal in SQLite?
12534135
Crontab not executing a Python script?
22743548
CronJob not running
5490687
broken toFixed implementation
10015027
Javascript toFixed Not Rounding
843780
Store boolean value in SQLite
11009598
Whats the cmd/powershell equivalent of `which` on bash?
8566704
Windows / Powershell version of the Unix 'which' Utility
63805
Equivalent of *Nix 'which' command in PowerShell?
37768501
Google Apps Script Javascript Standard Support
17252409
Which Edition of ECMA-262 Does Google Apps Script Support?
9195963
ImageButton in Android with transparent background
3402787
How to have a transparent ImageButton: Android
40097590
Detect whether a Python string is a number or a letter
15558392
How can I check if character in a string is a letter? (Python)
29789204
Bash: how to get real path of a symlink?
16017500
How to see full absolute path of a symlink
24556487
It does not throw exception ConcurrentModificationException
24980651
java.util.ConcurrentModificationException not thrown when expected
29124548
How can I fix this version of the rendering library is more recent than your version of ADT plug-in in eclipse?
18852983
Eclipse reports rendering library more recent than ADT plug-in
30982767
Assign and use of a variable in the same subshell
10938483
Why can't I specify an environment variable and echo it in the same command line?
50005587
Firestore database query, ignore case (case insenstive) and like clause.
48096063
Cloud Firestore Case Insensitive Sorting Using Query
9786519
INotifyPropertyChanged for static variable
10380019
How to safely escape the input data in php for mysql
13924652
where is amd64 psABI?
18133812
Where is the x86-64 System V ABI documented?
34248737
Can't locate Digest/MD5.pm directadmin
17736330
Can't locate Git.pm in @INC
51512909
How to convert Multi-line code to single line in Visual Studio Code in Ubuntu
45204617
How vscode compact multiline to a singleline?
1518522
Find the most common element in a list
6619818
Is it possible to make a gradient border?
49187042
ModuleNotFoundError: No module named 'matplotlib'
18176591
ImportError: No module named matplotlib.pyplot
8233842
How to check if directory exist using C++ and winAPI
6218325
How do you check if a directory exists on Windows in C?