WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
The descenders of letters are cut off in TextField when viewed in Firefox:

(screenshot taken on the Text Fields demo page)

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Letters should not be cut off in input fields.

Current Behavior

Letters with descenders are cut off in input fields (in Firefox, not in Chrome).

Steps to Reproduce (for bugs)

Type jjyyqqpp in a Material-UI text field in Firefox.

Observe that the bottoms of the letters are cut off.

Context

This StackOverflow question/answer suggest changing the height of the input to match its line height. I see that the computed line-height is 21.5px, so I changed my input's height to 21.5px and it fixed the problem. I doubt that this is any more than a hack, though.

Your Environment

Tech
Version

Material-UI
1.0.0-beta.20

React
16.1.0

browser
Firefox 57.0

OS
MacOS 10.13.1

Issue 2:
The latest release of Material-UI (v1.0.0-beta.9) doesn't render correctly.

Error in ./node_modules/material-ui/Chip/Chip.js

Module not found: Can't resolve '../svg-icons/Cancel'

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

The material-ui page should compile correctly.

Current Behavior

Compiling a component using Chip throws and error.

Error in ./node_modules/material-ui/Chip/Chip.js

Module not found: Can't resolve '../svg-icons/Cancel'

Steps to Reproduce (for bugs)

Add Chip component to page

Start app

Exception is thrown

Context

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.9

React
15.4.2

browser
Chrome
Issue 1:
Steps to reproduce and a minimal demo of the problem

create a new A2RC1 app with angular-cli:

ng new blah
cd blah
npm start

load the page with your dev tools open and observe that it submits over 290 xhr requests at startup. beta-14 (from which we just upgraded) loads about 40.

Current behavior

more than 290 requests. (>600 once our 20-30 client-side classes are added)

Many of these requests are duplicated, e.g. exception_handler.js, base_wrapped_exception.js, and collection.js.

Expected/desired behavior

Far fewer requests.

Other information

This many requests is going to KILL us at roll-out time.

Issue 2:
I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

The '**' catch-all definition lazily loads the module, however it does not properly handle the child routes.

Expected behavior

Lazy load the module and properly handle all the child routes. The catch-all '**' lazily loaded module could either define more '**' catch-all's with other lazy loaded modules or it could of course also have it's own '**' catch-all to just a component to show a not found component if desired.

Minimal reproduction of the problem with instructions

This SO post describes the issue:

http://stackoverflow.com/questions/40276372/angular-router-wildcard-as-a-catch-all-with-child-routes-using-latest-2-4

This plunkr demonstrates the issue:

https://plnkr.co/edit/QfXx5KJGfhMskIldA0AA?p=preview

If you open the console, you will see created [NameComponent] for each link you click on except the 'whatever' link which lazily loads the AnythingModule.

What is the motivation / use case for changing the behavior?

More flexible routing setups.

Please tell us about your environment:

Mac os Sierra

Angular version: 2.0.X

Angular 2.4.0, Router: 3.4.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

All

Language: [all | TypeScript X.X | ES6/7 | ES5]

TypeScript

Node (for AoT issues): node --version =

Node 6.9.1, npm 3.10.1

/cc @zoechi since he had helped initially with the SO post. Thank you!
Issue 1:
I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Can you give us insights on Angular Universal (is it merged yet?), will it be updated and part of the 2.4 release?

Issue 2:
Create platform-node inside this repository, to be consumed by Angular Universal and other packages that would rely on platform-node. By having it inside this repository, the package will be tested and updated alongside the core, and will be maintained by the core team.

The API should be generally compatible with the existing [platform-node](https://github.com/angular/universal/tree/master/modules/platform-node) inside the angular/universal repository so that Universal would ideally be able to just change its dependency to point at the @angular/platform-node npm package.

CC: @jeffwhelpley @gdi2290 @IgorMinar
Issue 1:
VSCode Version: 1.0.0

I use multiple variable declaration in JavaScript, but only the first variable declaration is highlighted as a variable declaration, the rest of them are in the default variable color.

Issue 2:
From @vsccarl on March 10, 2016 1:2

When defining multiple var in JavaScript the colorization is not working properly after the first defined variable if they are on separate lines.

var wm1 = new WeakMap(), wm2 = new WeakMap(), wm3 = new WeakMap();

On the same line they are correctly colorized

Expected: wm2 and wm3 should be the same color as wm1 regardless of the line they are on.

Version 0.10.12-alpha

Commit e8d5a7932b99f6b7559d48536bfc84732bfc8582

Date 2016-03-09T09:53:18.387Z

Shell 0.35.6

Renderer 45.0.2454.85

Node 4.1.1

Copied from original issue: microsoft/vscode#3940
Issue 1:
When you are typing on iOS, every time you hit a character the cursor is supposed to stop blinking. In a Flutter app, the cursor keeps blinking while you are typing, which is extremely distracting and a tad bit disconcerting as you can momentarily lose track of the text that is being inserted. (Interestingly, if you backspace the Flutter cursor does reset: it is only incorrect when taking forward motion.)

Issue 2:
The text cursor should temporarily stop blinking when typing, hitting backspace (especially noticeable when holding down the backspace key), or when moving the text cursor.

With the current behavior, the text cursor keeps blinking, which makes it sometimes hard to see which character in the text is being edited.

Steps to Reproduce

Open a random text field and start typing away

Logs

[✓] Flutter (Channel master, v0.5.3-pre.2, on Mac OS X 10.13.4 17E202, locale en-US)
• Flutter version 0.5.3-pre.2 at /Users/vik/Projects/flutter
• Framework revision c53245c61d (11 days ago), 2018-06-06 22:57:26 -0700
• Engine revision fca976d8c7
• Dart version 2.0.0-dev.60.0.flutter-a5e41681e5

[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/vik/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
✗ Android license status unknown.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4, Build version 9F1027a
• ios-deploy 1.9.2
• CocoaPods version 1.5.3

[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 171.4424
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio - old.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.2.5)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 21.2.2
• Dart plugin version 172.4343.25

[✓] Connected devices (1 available)
• Nexus 5X • 01023965355db590 • android-arm64 • Android 6.0 (API 23)
Issue 1:
Hi folks,

Currently in Theano I am using images2neibs to partition the image in smaller patches embedded in the architecture (an online step). However, in PyTorch, at first sight, no information regarding this feature is available.

Cheers

Issue 2:
Would be good to have N-dimensional convolution and separate im2col-col2im ops, like in caffe: https://github.com/BVLC/caffe/blob/master/src/caffe/util/im2col.cu
Issue 1:
For some inputs which have a step change, scipy.interpolate.interp1d returns incorrect values.

The conditions for this to happen are:

The same x value should be present twice in the input with different y values, and

Some random property of the input: if it happens for a certain input, it will always happen, but it may not happen for a subset of the input which includes the problem values

The problem appears to be that the order of the y values as used is swapped versus what is in the input; similar to what might happen if the x and y values are sorted using an unstable sort (ie: non-order-preserving for equal inputs).

Reproducing code example:

import numpy as np
import scipy.interpolate

x, y = (np.array([0.00000000e+00, 8.81834215e-05, 1.23456790e-03, 1.23456790e-03,
2.29276896e-03, 2.29276896e-03, 2.55731922e-03, 2.55731922e-03,
2.91005291e-03, 2.91005291e-03, 5.02645503e-03, 5.02645503e-03,
5.11463845e-03, 5.11463845e-03, 2.40740741e-02, 2.40740741e-02,
2.54850088e-02, 2.54850088e-02, 2.91005291e-02, 2.91005291e-02,
3.08641975e-02, 3.08641975e-02, 5.41446208e-02, 5.41446208e-02,
5.91710758e-02, 5.91710758e-02, 7.87477954e-02, 7.87477954e-02,
9.88536155e-02, 9.88536155e-02, 1.16666667e-01, 1.16666667e-01,
1.72927690e-01, 1.72927690e-01, 6.92151675e-01, 6.92151675e-01,
8.38447972e-01, 8.38447972e-01, 1.00000000e+00]),
np.array([0. , 0. , 0. , 0.05555556, 0.05555556,
0.11111111, 0.11111111, 0.16666667, 0.16666667, 0.22222222,
0.22222222, 0.27777778, 0.27777778, 0.33333333, 0.33333333,
0.38888889, 0.38888889, 0.44444444, 0.44444444, 0.5 ,
0.5 , 0.55555556, 0.55555556, 0.61111111, 0.61111111,
0.66666667, 0.66666667, 0.72222222, 0.72222222, 0.77777778,
0.77777778, 0.83333333, 0.83333333, 0.88888889, 0.88888889,
0.94444444, 0.94444444, 1. , 1. ]))

f = scipy.interpolate.interp1d(x, y)
print(f(0.90))
# output is 0.9656113509141464, should be 1.0

x2 = np.linspace(0,1,1000)
y2 = f(x2)
plt.plot(x,y)
plt.plot(x2,y2)

Note that the x value 8.38447972e-01 is present twice in the input; the interp1d function interpolates between the y value corresponding to the first of these x values and the following value, not between the y value corresponding to the second of these x values and the following value.

The same thing happens at x values 7.87477954e-02 and 9.88536155e-02

Using mode='previous' and mode='nearest' shows an equivalent bug on this data.

Truncating the beginning of the input may make the bug disappear (or cause it to show up for different duplicated x values) depending on how much is truncated.

Error message:

Scipy/Numpy/Python version information:

1.4.1 1.18.1 sys.version_info(major=3, minor=6, micro=10, releaselevel='final', serial=0)

Issue 2:
I would like to reuse the my numpy code that applies a function to a numpy matrix for application to sparse matrices. However, the or operation (or) is not supported for Boolean matrices. For example, the following code fails after converting the dok matrix to a csr matrix.

import scipy.sparse as sp
x = sp.dok_matrix((10,10))
x[1,2] = 4
y = (x > 3) | (x < 5)

Would there be interest in adding Boolean logic support for matrices with a bool type?
Issue 1:
Bug report

Bug summary

When using named arguments for x and y, the plots created with plt.plot respectively ax.plot are keeping empty. plt.errorbar (or ax.errorbar) are producing the desired output (see code below).

The documentation shows that x and y are valid named arguments.

Code for reproduction

import matplotlib.pyplot as plt
import numpy as np

x = np.arange(0, 12, .5)
y = np.random.rand(*x.shape)
plt.plot(x, y) # works as expected
plt.plot(x=x, y=y) # shows empty plot
plt.errorbar(x=x, y=y) # works as expected

Actual outcome

Expected outcome

or

Matplotlib version

Operating system: Windows 10x64

Matplotlib version: 2.2.3 (had the same issue with 2.2.2)

Matplotlib backend (print(matplotlib.get_backend())): 'module://ipykernel.pylab.backend_inline'

Python version: 3.6.2

Jupyter version (if applicable): 1.0.0 (Jupyter notebook 5.1.0rrc1)

Other libraries: numpy 1.14.5+mkl

Python was installed using WinPython, packages installed with pip.

Issue 2:
When I execute the following command:

python3 -c "import matplotlib.pyplot as plt; plt.plot(x=[0,1], y=[0,1]); plt.show()"

it outputs:

Edit: I see my error. I was not supposed to provide the data as keyword arguments. Indeed plt.plot([0,1], [0,1]) works fine.

I don't know anything about how matplotlib works, but perhaps plot should be able to handle this (similar to how pandas.DataFrame.plot can handle this):

import pandas as pd
df = pd.DataFrame([[0,0],[1,1]], columns=['A', 'B'])
df.plot('A', 'B')
df.plot(x='A', y='B')

If that's not desirable, then perhaps it could at least throw an error or give a warning that an unexpected keyword argument was given...
Issue 1:

Issue 2:
Applying navbar-fixed-top to the navbar class adds unwanted behavior when forms or drop downs are used in the navbar.

This can be seen in the BS examples;

try clicking in a form field at http://getbootstrap.com/examples/jumbotron/ and watch the "Project Name" text and green button text change to a finer/'less bold'/grayed out version.

try opening the drop down at http://getbootstrap.com/examples/theme/ and again watch the surrounding navbar text.

This is most noticeable on the inverse navbar but occurs on both. The scrolling navbar is not affected (so this cannot be by design).
Issue 1:
Environment

Windows build number: [run "ver" at a command prompt]
Microsoft Windows [Version 10.0.18363.900]
PowerToys version:
0.19.2
PowerToy module for which you are reporting the bug (if applicable):
PT Run

Steps to reproduce

Activate PT Run

Type a program name

Open the program

(PT Run closes)

Activate PT Run again

The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again

Expected behavior

When reopening PT Run, the list should clear and focus on the text area again to allow user to type new commands

Actual behavior

The focus is on the program on the list instead of focusing on the text area and allowing the user to type/search again

Issue 2:
Microsoft Windows [Version 10.0.18363.900]

PowerToys version: 0.19.1

PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

When I activate PT Run with the Alt-Space hot-key, the application does not always place the cursor in the search box.

When I press Alt-Space, PT Run appears. However, often and without an apparent pattern, the cursor will not be active in the search dialog box. I need to manual click in the search dialog box before I can type the search letters.

I expect the cursor will always be placed in the search dialog box and ready for me to type, whenever I activate PT Run with the hot-key.
Issue 1:
I have a system with limited network bandwidth. if I make an upload or download large file operation using the requests library, the single request is consuming the whole available bandwidth of the system. is there a way to add latency to these requests (which slows down throughout of serial requests but not consume overall bandwidth)?

A direct solution to set download/upload bandwidth for an individual HTTP request or to keep a part of the total available bandwidth free would be great.

Issue 2:
As far as I know currently it's not possible to specify the password for the client side certificate you're using for authentication.

This is a bit of a problem because you typically always want to password protect your .pem file which contains the private key. openssl won't even let you create one without a password.
Issue 1:
This is an issue after launch my apk on a device or emulator.

Issue 2:
facebook/react-native#23092

Unfortunately this exact same issue strikes again with the release of Babel v7.5.0.

These are the Babel related dependencies I am having:

"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-decorators": "7.4.4",
"@babel/plugin-transform-flow-strip-types": "7.4.4",
"@babel/preset-flow": "7.0.0",
"babel-eslint": "10.0.2",
"babel-jest": "24.8.0",
"metro-react-native-babel-preset": "0.54.1",

With the package-lock.json I generated a few days ago everything's fine with npm install, but if I try to do it without the lockfile the error appears. Judging from my lockfile's diff I can say that a few secondary Babel dependencies were updated to v7.5.0 without the lockfile (eg. @babel/generator, @babel/helper-create-class-features-plugin) so am pretty sure this is a Babel issue again.
Issue 1:
Hi everyone,

I don't really know if I have done something wrong, but here is my problem.

On every browser the carousel doesn't loop at the end of the last picture.

To fixe it, I have deleted the line 1389 from bootstrap.js:

if (!$next.length) return

and now, it seem to work, am I the only one having this problem?

Thanks.

Issue 2:
carousel slide can not run cycle.

btw, can you set the first item active if there's no active item?
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

I was about to update my global package I has in my machine. Turns out, when I did it DELETED all my global packages.

After it, I had to reinstall the npm.

Also looking at /usr/local/bin the npm wasn't there anymore.

I can't remember the exactly version I had , it was deleted, but my node version is 14.17.0 and I was using the npm version that comes with it.

Expected Behavior

To update the global package

Steps To Reproduce

npm update -g detox

See the attached image

Environment

OS: MAC OS

Node: 14.17.0

npm: ????

Issue 2:
Current Behavior:

Attempting to update a package with a tag using the update command globally causes ALL global packages to be removed.

Expected Behavior:

Packages should not be removed when updating global packages.

Steps To Reproduce:

npm i -g typescript nodemon @angular/cli # Install some global packages
npm ls -g --depth=0 # This shows the 3 installed packages
npm update -g @angular/cli@latest # Attempt to update one of the packages with a @latest tag
# Oh no! removed 620 packages
npm ls -g --depth=0 # Shows `-- (empty)

Environment:

OS: Windows 10 20H2

Node: 15.9.0

npm: 7.11.2

Additional Info

This only happens on the global scope
Issue 1:
Environment

Windows build number: 10.0.18362.0
Windows Terminal version: 0.5.2762.0

Steps to reproduce

Keep adding tabs until the newest tabs are no longer visible

Expected behavior

The new tabs should be visible

Actual behavior

The new tabs are not visible

Issue 2:
When pasting

gci `
C:\test\ `
| select name

into windows powershell or powershell core in windows console, I get expected results. If I try to paste and run any command with >1 line continuation it fails.

As a user, I would expect windows terminal powershell to behave exactly the same as the legacy console powershell.
Issue 1:
Hi

When resizing the window, i notice that the position of the arrow has been changed from bottom to the center of tooltip/popover.

Here is my JSfiddle, and some screenshots taken from JSFiddle

If this issue is a duplicate, please guide me to the right way!

Thanks.

PS: i've already searching cross the closed issues and found no solution for my problem.

Issue 2:
When a tooltip/popover would appear slightly offscreen to the right or left, it's correctly shifted slightly however the arrow ends up appearing in the middle of the popover, rather than at the edge of it like it should.

In this case, getViewportAdjustedDelta always returns {top: 0, left: 0} because getCalculatedOffset already made the correction to fit the tip on the page, however there are subsequent "delta.left" tests in applyPlacement to deduce left/right vs top/bottom positioning that will break in top/bottom mode.

A fix would be to change the "delta.left" tests with a horizShift test, where horizShift is defined as:

var horizShift = !/right|left/.test(placement);

e.g.

var arrowPosition = horizShift ? 'left' : 'top'
Issue 1:
There seems to be a genuine bug in scipy.interpolate.interp2d. In this example the input arrays are given as full coordinates (and not as a regular grid). This data here, is part of a much bigger non-regularly sampled surface, thus I can't call interp2d with x, y as column and raw coordinates on a regular grid.

>>> data
array([(0.11, 1.0, 10.045999999999999), (0.13, 1.0, 9.6010000000000009),
(0.14999999999999999, 1.0, 9.2579999999999991),
(0.17499999999999999, 1.0, 8.9199999999999999),
(0.20000000000000001, 1.0, 8.6479999999999997),
(0.25, 1.0, 8.2159999999999993), (0.11, 2.0, 10.045999999999999),
(0.13, 2.0, 9.5999999999999996),
(0.14999999999999999, 2.0, 9.2579999999999991),
(0.17499999999999999, 2.0, 8.9190000000000005),
(0.20000000000000001, 2.0, 8.6460000000000008),
(0.25, 2.0, 8.2089999999999996)],
dtype=[('M', '<f8'), ('age', '<f8'), ('J', '<f8')])
>>> interp_data = interp2d(data['M'], data['age'], data['J'])
Warning: No more knots can be added because the number of B-spline coefficients
already exceeds the number of data points m. Probably causes: either
s or m too small. (fp>s)
kx,ky=1,1 nx,ny=7,5 m=12 fp=0.000284 s=0.000000

The result definitely doesn't look right, I don't expect any interpolated value to be around 0 especially with linear interpolation.

Issue 2:
Original ticket http://projects.scipy.org/scipy/ticket/1642 on 2012-04-14 by @rgommers, assigned to unknown.

This warning was showing up by default for a long time. The cause seems to be that the optional nxest/nyest parameters to surfit, which are determined in fitpack.pyf, are too small if kx=ky=1.

>>> x = [1,1,1,2,2,2,4,4,4]
>>> y = [1,2,3,1,2,3,1,2,3]
>>> z = array([0,7,8,3,4,7,1,3,4])
>>> lut = SmoothBivariateSpline(x, y, z, kx=1, ky=1, s=0)
/Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:613: UserWarning:
The required storage space exceeds the available storage space: nxest
or nyest too small, or s too small.
The weighted least-squares spline corresponds to the current set of
knots.
warnings.warn(message)

This needs some investigation. I'll filter out the warning for now.

A likely related problem:

In [3]: %paste
x = [1,1,1,2,2,2,3,3,3]
y = [1,2,3,1,2,3,1,2,3]
z = [0,7,8,3,4,7,1,3,4]
s = 0.1
tx = [1+s,3-s]
ty = [1+s,3-s]
lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1)
## -- End pasted text --
/Users/rgommers/Code/scipy/scipy/interpolate/fitpack2.py:684: UserWarning:
The coefficients of the spline returned have been computed as the
minimal norm least-squares solution of a (numerically) rank deficient
system (deficiency=7). If deficiency is large, the results may be
inaccurate. Deficiency may strongly depend on the value of eps.
warnings.warn(message)