WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Summary

Installing scikit-learn on aarch64 via pip using command "pip3 install scikit-learn" tries to build wheel from source code

Problem description

scikit-learn don't have wheel for aarch64 on PyPI repository. So, while installing scikit-learn via pip on aarch64, pip builds wheel for same resulting in it takes more time to install scikit-learn. Making wheel available for aarch64 will benefit aarch64 users by minimizing scikit-learn installation time.

Expected Output

Pip should be able to download scikit-learn wheel from PyPI repository rather than building it from source code.

@scikit-learn-team, please let me know if I can help you building wheel/uploading to PyPI repository. I am curious to make scikit-learn wheel available for aarch64. It will be a great opportunity for me to work with you.

Issue 2:
I recently checked the Shippable CI service which offers some ARM architecture to test on. I tested it on my fork to check the required configuration and so on. However, there is a timeout of an hour, and currently, we are encountering this limit. Here, this is the log of such build:

https://app.shippable.com/github/glemaitre/scikit-learn/runs/24/1/console

On ARM 32 bits, we have a "Bus error (core dumped)":

https://app.shippable.com/github/glemaitre/scikit-learn/runs/24/2/console

I already cached the numpy, scipy, and cython wheels. Then, we still spent 15 minutes to make the scikit-learn wheel and the remaining time for the tests (the tests almost complete ~99%).

So I was wondering if it would be interesting to add this CI at least in a CRON job. Then, regarding the timeout constraint, we might have different strategies to overcome it:

Make some nightly wheels including some for the ARM target and fetching those instead of building from source in Shippable.

Ask Shippable if they can lift up the timeout constraint (they 120 minutes for paid plans) and offer to only use this CI for CRON job and not on all PR or master push.

I would be happy to have some thoughts.
Issue 1:
Do you want to request a feature or report a bug?

Bug

What is the current behavior?

I'm migrating an application from Webpack 1 to 2, where we on and off have updated code from module.exports to ES2015 import/export. Here and there, we got a mix. When cases like this occurs, Webpack seem to export/import modules in a non-backwards compatible way.

In the example repo I've made, I've been able to reproduce the bug.

__WEBPACK_IMPORTED_MODULE_0__deps_a__ has object set. However, __WEBPACK_IMPORTED_MODULE_0__deps_a__["default"] is undefined.

If the current behavior is a bug, please provide the steps to reproduce.

Here's a branch with the issue: https://github.com/jouni-kantola/webpack-output-by-build-type/tree/import-module-exports-mix

npm run serve (to build, which doesn't cause errors: npm run build)

I've made comments in the code where the bug is occurs and what can be done in the code itself to work around it

What is the expected behavior?

It would be easier to migrate old code running with Webpack 1 ifmixing imports/module.export works. However, I fully understand if you feel it's up to the applications to not do weird things.

Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.

OS: Windows 10 + MacOS Sierra 10.12.1

Node: Windows 10 > Node v6.4.0, MacOS > Node v6.8.0

Deps:

"devDependencies": {
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-preset-env": "^1.1.4",
"html-webpack-plugin": "^2.24.1",
"webpack": "^2.2.0-rc.3",
"webpack-dev-server": "^2.2.0-rc.0"
}

Issue 2:
With the 2.2.0-rc.0 release, any module that has an include declaration is also considered a harmony module and does not go through the commonjs module interop.

However, such modules are still allowed to modify the module object's exports, so they can still make commonjs exports.

This is a breaking change when a file has an import but exports using module.exports, and is imported via a default import declaration. The module.exports object is treated as if it was a namespace, and accessing default (most likely) results in undefined.

On real ES2015 modules, module or exports will no longer exist, so these variables should not be accessible (accessing should throw ReferenceError unless the user declares them in their own scope).

If you're going with this breaking change, I'd say you should go all the way 😄

// a.js
import './empty'

module.exports = { foo () {} } // `module` should be ReferenceError instead

// empty.js

// b.js
import a from './a'
a.foo() // TypeError as of 2.2.0-rc.0
Issue 1:
Return a Value from a Function with Return

https://www.freecodecamp.com/challenges/return-a-value-from-a-function-with-return#?solution=%0A%2F%2F%20Example%0Afunction%20minusSeven(num)%20%7B%0A%20%20return%20num%20-%207%3B%0A%7D%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line%0Afunction%20timesFive(num)%7B%0A%20%20return%20num*5%3B%0A%7D%0AtimesFive(10)%3B%0A

Issue Description

No matter what value I give my argument in this challenge, the code returns 25 as the answer.

Browser Information

Browser Name, Version: Safari 9.1.1

Operating System: MacOS X El Capitan

Mobile, Desktop, or Tablet: Desktop

Your Code

function timesFive(num){
return num*5;
}
timesFive(10);

Screenshot

Issue 2:
Challenge Return a Value from a Function with Return has an issue.

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function timesFive(num){

return num * 5;

}

var answer = timesFive(5);

// Example

function minusSeven(num) {

return num - 7;

}

var answer = minusSeven(7);

// Only change code below this line

**The console deck won't change no matter what you type in. Always showing "timesFive(5)===25".**

People who have this kind of problem could go to this link and test:
https://jsbin.com/daxoyifabe/edit?html,css,output
Issue 1:
It's wanted for #6085, and generally OR-ing flags together is a common pattern for which we don't otherwise have a typesafe solution. Does EnumSet meet the high bar for inclusion in std? If so, then it's API probably needs careful consideration.

Issue 2:
I don't have a repro for this, but it's a really annoying error because it seems to be a lie and it's not at all clear how users can fix it. I had a library depending on three other libraries. The external libraries were copied into a local project/bin directory so that I had more control over them.

This was all working fine until I decided to rename my project. As part of this process I removed my bin directory and copied new versions of the external libraries into bin. Now when I do rustc --out-dir bin -L bin -O src/rwebserve.rc I get:

src/rwebserve.rc:11:0: 11:42 error: duplicate definition of module socket
src/rwebserve.rc:11 use socket (name = "socket", vers = "0.1");

If I change the use statement to "use socketXXX" I get the same error which makes me think that it is not a duplicate definition (and I don't see how it would be). My guess is that this is caused when using libraries built by slightly different versions of rustc. Unfortunately I now get an ICE trying to build one of the libraries so I can't try it out atm (currently building a new rustc in the hopes that that will fix the ICE).
Issue 1:
Hi, I would like to see that pytorch could offer an element-wise production for Sparse * Dense -> Dense.

for now, I need to convert Dense to Sparse then convert the result to Dense again.

BTW, as #2886 mentioned, the Sparse function was missing. does that intentional or bug?

cc @vincentqb

Issue 2:
Hi, thanks again for the great work.

I would like to raise an issue to discussion how to implement the following features:

Dense[m,1] * Sparse[m,n] -> Sparse[m,n]

Sparse[m,n] * Dense[1,n] -> Sparse[m,n]

Sparse[m*n] * Dense[b,1,n] -> Sparse[b,m,n]

these features are fully supported by the cuSPARSE Level 3, as for the CPU side, I'm not quite sure weather MKL was satisfied.

I would like to help on the implementation if needed, could anyone give me a brief guideline that what have be done and what still need to be do?

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @aocsa @nikitaved @pearu @mruberry @vincentqb
Issue 1:
When I add tooltip to button in buttons group then on hover button is growing a little. I've got it in table and it cause ugly effect. I include images, maybe that describe problem better.

Hover:

Normal:

Issue 2:
http://jsfiddle.net/JEBdk/5/

tooltip or popover on btn-group. the btn-group is not display correctly!

the last btn have not round corners and between the btn's is a space.

my suggestion, by generating the tip or popover on the end of document .
Issue 1:
There are some constants in kubelet and kube-proxy that refers to the same thing. For example:

kubernetes/pkg/kubelet/kubelet_network.go

Line 38
in
a57561b

KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ"

kubernetes/pkg/proxy/iptables/proxier.go

Line 71
in
65f3fa9

KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ"

kubernetes/pkg/kubelet/network/hostport/hostport.go

Line 284
in
57604d1

"-s", target.podIP, "-j", string(iptablesproxy.KubeMarkMasqChain),

There must be other cases like this. Propose to have a package to store constants used by multiple components in one place.

Issue 2:
After setting up a few services, I noticed the following output in get events:

Tue, 14 Jul 2015 18:04:43 -0700 Wed, 15 Jul 2015 11:26:22 -0700 3544 my-nginx Service creating loadbalancer failed {service-controller } failed to create external load balancer for service default/my-nginx: error listing AWS subnets: RequestLimitExceeded: Request limit exceeded.
status code: 503, request id: []
Tue, 14 Jul 2015 18:04:44 -0700 Wed, 15 Jul 2015 11:26:22 -0700 2679 my-nginx Service creating loadbalancer failed {service-controller } failed to create external load balancer for service default/my-nginx: error listing AWS security groups: RequestLimitExceeded: Request limit exceeded.
status code: 503, request id: []
Tue, 14 Jul 2015 18:04:08 -0700 Wed, 15 Jul 2015 11:26:31 -0700 4926 my-nginx Service creating loadbalancer failed {service-controller } failed to create external load balancer for service default/my-nginx: error listing AWS VPCs: RequestLimitExceeded: Request limit exceeded.
status code: 503, request id: []
Tue, 14 Jul 2015 18:01:05 -0700 Wed, 15 Jul 2015 11:26:39 -0700 67946 my-nginx Service creating loadbalancer failed {service-controller } failed to create external load balancer for service default/my-nginx: error listing AWS instances: RequestLimitExceeded: Request limit exceeded.
status code: 503, request id: []
Tue, 14 Jul 2015 15:55:48 -0700 Wed, 15 Jul 2015 11:26:42 -0700 25049 my-nginx Service creating loadbalancer failed {service-controller } failed to create external load balancer for service default/my-nginx: InvalidGroup.Duplicate: The security group 'k8s-elb-a744c2a772a7b11e593680276d36fbdd' already exists for VPC 'vpc-f661fa93'
status code: 400, request id: []

I assume the service tried to configure an ELB in the past (not sure when or how or what details it tried to use) and has kept trying and now can't even use the AWS API.

How can I either:

tell it to please stop so that I can use my AWS account again

fix it so that it does configure the ELB

/cc @justinsb
Issue 1:
In requests-2.18.1 and earlier:

requests.get('https://testssl-expire-r2i2.disig.sk/index.en.html')

Used to raise SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)

But as of requests-2.18.2 (the latest version), the same URL is returning ConnectionError: HTTPSConnectionPool(host='testssl-expire-r2i2.disig.sk', port=443): Max retries exceeded with url: /index.en.html (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

I just need a confirmation that this change is intentional and if it is going to remain so (or not).

Thanks.

Issue 2:
I'm floating this idea because currently our native ssl module support isn't being utilized by any requests users and I'm planning on making major improvements to SNI within native ssl support in urllib3 including leaning on the stdlib for hostname verification. What are the thoughts on only using pyOpenSSL when urllib3.util.HAS_SNI is false?
Issue 1:
Environment:

macOS 11.0.1 Big Sur, on an Apple Silicon (M1) chip

Safari 14.0.1

React 17.0.1

React DevTools 4.10.1, running in standalone mode via Electron 11.1.0 (darwin-arm64 build)

New project using create-react-app . with the useScript hook to add the <script> tag required by React DevTools.

Steps to reproduce

Install react-devtools using npm install --save-dev react-devtools.

A <script> for the React DevTools is added in App.js. Start the DevTools in standalone mode

./node_modules/react-devtools/bin.js

Start the React app's development server:

yarn start

Refresh the React app if needed to establish a connection with the DevTools. The Components view is blank (no matter what filters are applied):

Link to code example: mglukhovsky/react-devtools-components-blank

The current behavior

Components view is blank; the React DevTools component seems to register the app but nothing further.

The expected behavior

Full component tree and a working integration between Safari and standalone DevTools.

Issue 2:
React version: 16.8.0

Steps To Reproduce

Install react 16.8.0

Build a hello world with any component

Open React Dev Tools.

Choose components tab.

Nothing will be seen.

Link to code example:

The current behavior

Tab "Component" is blank

The expected behavior

Tab "Component" should show React components

FYI: I installed Material UI library.

Chrome: Versión 86.0.4240.183 (Build oficial) (64 bits) Ubuntu 18.04.

Tested today.

Versión

4.10.0 (11/12/2020)

Actualizado

13 de noviembre de 2020
Issue 1:
Migrated issue, originally created by Anonymous

According to the ANSI standards SQL:92, SQL:1999, and SQL:2003, a UNIQUE constraint should disallow duplicate non-NULL values, but allow multiple NULL values. SQL Server has always implemented a crippled version of this, allowing a single NULL but disallowing multiple NULL values. From http://connect.microsoft.com/SQLServer/feedback/details/299229/change-unique-constraint-to-allow-multiple-null-values

To fix this issue SQL has added the filtered indexes feature. Using this feature it is possible to perform the logic of an index to a filter set of items in a table using a WHERE clause. i.e.

create unique nonclustered index idx on dbo.DimCustomer(emailAddress)
where EmailAddress is not null;

Attached is a patch which applies the above feature when SQL 2008 or newer is used as a server. This patch has been tested on Windows 7/SQL Server 2012 using pyodbc and the normal SQL Server driver.

Attachments: sqlalchemy-feature1.patch

Issue 2:
Describe the typing issue

In mypy 1.1.1 we're seeing a lot of typing errors along the lines of:

auth.py:136: error: Argument "email" to "User" has incompatible type
"str"; expected "Mapped[str]" [arg-type]
user = User(email=email, ***

Errors are not present in mypy 1.0.0.

I suspect it has to do with some new features around dataclasses.

To Reproduce

# Base defined like:
class Base(MappedAsDataclass, DeclarativeBase):
...

Let me know if you can't reproduce, and I'll try to look into it further.

Versions

SQLAlchemy: 2.0.5
Issue 1:
If possible can Deno.emit just include all typings from other files inside it's output, instead of importing them from other files. Currently, it adds imports using .ts and my theory is that these imports then somehow break the behavior in node.js or VSC making it so the library is not able to have proper typings available.

For example:

These imports should just write out the types directly in this file at the top instead of importing them.

Issue 2:
With #3352, bundles are going to be a mechanism to distribute "libraries" in Deno. It is logical that someone might want to use a distribution bundle in another Deno workload (or consume it in other runtimes) and would want to have type safe consumption of those files, therefore we should generate the declarations along with a bundle.

Related to #2475.
Issue 1:
Event do not trigger when node do not have "cursor: pointer" style on it.

Here you have an example:

http://jsfiddle.net/kb3gN/1345/

Issue 2:
iOS Safari really doesn't want you clicking anything that's not an <a> tag. This is a known issue: http://stackoverflow.com/questions/5421659/html-label-command-doesnt-work-in-iphone-browser/6472181#6472181

The way you fix this is by putting an empty "onclick" attribute on nodes you wish to emit click events. Yep.

So presumably:

div({onClick: function(){alert('clicked');}}, 'click me');

should emit:

<div onclick>click me</div>

on iOS. Ensuring that the click event is actually reachable from an iOS device.

As the stack overflow link points out, this is also an issue for <label> elements associated with <input> elements. In order to behave as a clickable label, they must also include an empty "onclick" attribute.

label(null, input({type: 'checkbox'}), check me);
<label onclick><input type="checkbox> check me</label>
Issue 1:
SELECT d.oid, d.datname AS databasename, d.datacl, pg_get_userbyid(d.datdba) AS databaseowner, d.datcollate, d.datctype, shobj_description(d.oid, 'pg_database') AS description, d.datconnlimit, t.spcname, d.encoding, pg_encoding_to_char(d.encoding) AS encodingname FROM pg_database d LEFT JOIN pg_tablespace t ON d.dattablespace = t.oid ::: DataSources: initds_master

[ERROR] 02:51:14.421 [pool-4-thread-1] o.a.s.s.f.c.CommandExecutorTask - Exception occur:

java.lang.IllegalArgumentException: Cannot find JDBC type '2003' in PostgreSQL column type

Issue 2:
Please answer these questions before submitting your issue. Thanks!

开源不易，我们希望将精力放在完成新功能和解决有价值的问题上，为了让大家的配合更具有效率，请填写以下列出的全部问题

Which version of Sharding-Sphere do you using?（您使用的Sharding-Sphere版本为？）

Expected behavior （您预期的结果是）

Actual behavior （实际运行的结果是）

Steps to reproduce the behavior （可重现问题的操作步骤）

Please provide the reproduce example codes (such as github link)，otherwise we will label the issue as Invalid and close it.（为了节省复现问题的时间，请务必提供可重现的代码，否则我们会将issue直接标记为invalid并关闭）

Code should based on https://github.com/sharding-sphere/sharding-sphere-example

（代码请基于 https://github.com/sharding-sphere/sharding-sphere-example）
Issue 1:
Environment

Version 1903

OS build : 18362.356

PowerToys version: v0.11.0

The app is installed, it does open and quickly shuts down

Steps to reproduce

Just double click the app

Expected behavior

Should show the app settings, show franzy zone

Actual behavior

Shuts down

Screenshots

Issue 2:
Environment

Version 1903

OS build : 18362.356

PowerToys version: v0.11.0

The app is installed, it does open and quickly shuts down

Steps to reproduce

Just double click the app

Expected behavior

Should show the app settings, show franzy zone

Actual behavior

Shuts down

Screenshots
Issue 1:
'Training Deep Nets with Sublinear Memory Cost' and 'Memory-Efficient Implementation of DenseNets' indicate that use drop intermediate feature map and recompute it if needed can save memory(while add computation burden),

so we need some mechanism to annotate some op's inputs recomputable , and drop this input memory after op finish(set input's reference count to 0), when need this op again, recompute it.

a = tf.get_varible(shape=[None,10])
b = tf.get_varible(shape=[None,10])
c = tf.get_varible(shape=[None,10])
d = a*b
d_recomputable = tf.recomputable(d)
e = d_recomputable+c

relate issue

#1934

#12948

in short, normal reference add reference count, recomputable reference do not add reference count

Issue 2:
The python 3 gpu package listed on: https://www.tensorflow.org/install/install_mac#the_url_of_the_tensorflow_python_package is missing.

$ curl https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-1.1.0-py3-none-any.whl
<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message></Error>
Issue 1:
From danderson@, regarding weekly.2012-03-13 (Go 1 RC1):

"""
This version of Go does not work on a subset of Linux kernels. Right off the bat I'd
like to say that I don't think this should hold up Go 1.0 . I would like to see a fix in
Go 1.0.1 or Go 1.1.0, and I have a patch to offer. But for the initial release, it's
most definitely inconsequential.

Linux kernels with the grsecurity.net hardening patch enforce write-xor-execute on
memory pages. Specifically, mmap() and mprotect() calls that attempt to make pages
write+execute will fail unless the binary is marked as needing the W^X defense disabled.
This of course makes the runtime crash on startup, as it is dependent on W+X.

It's still possible to run Go binaries compiled on a different machine, by using the
`paxctl` tool to tag the binary as needing W+X memory. However, unless the Go toolchain
can produce binaries tagged in this way by itself, the vanilla source tarball cannot be
built/used on machines with this kernel patch.

I have a patch for Go's linkers that adds the appropriate ELF program header to Go
binaries. The header maps no additional memory into the runtime, it's used only for its
flags (similar to PT_GNU_STACK). The patch is around 5 lines (times five to put it in
[568]l). Once Go 1.0 gets out there, I'll send a code review with the change needed to
get the toolchain working on grsec machines. Obviously I'll leave it to you folks to
decide whether it's worth supporting or not, as grsecurity users are a minority, and a
workaround exists for deploying on such machines, even if you can't compile on them
directly.

Thanks for what's shaping up to be a great Go 1.0!
- Dave
"""

Keywords: grsec grsecurity

Issue 2:
by feedback.test.account:

https://feedback.corp.google.com/#/Report/1182342511

Description:
Maybe not t.Mv and (&t).Mv, but t.Mp and (&t).Mp?

Вelow:
f := t.Mp; f(7) // like (&t).Mp(7)

Description translated:
Maybe not t.Mv and (&t).Mv, but t.Mp and (&t).Mp?

Вelow:
f := t.Mp; f(7) // like (&tMp(7)

UI language: en
Detected language: en