WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

I have a project using NPM 7 workspaces. One package is named button.

If I run npm -w button version minor, then the version number in button's package.json gets incremented as I would expect. However, the root-level package-lock.json does not get modified.

If I later run an npm -w button install then the value in packages.button.version gets updated to reflect the current version.

Expected Behavior

I would expect the value at packages.button.version in the root-level package-lock.json file to get updated at the same time as button's package.json, when the npm version command is run.

Steps To Reproduce

Set up a project with one package, run npm --workspaces install to generate basic package-lock.json

Run npm -w [package name] version minor

See that the package's package.json has been updated but the root level package-lock.json has not

Run npm -w [package name] install

See that the root level package-lock.json has one change in it: the sub-package's version number.

Environment

OS: macOS 11.5.2

Node: 16.7.0

npm: 7.20.3

Issue 2:
Is there an existing issue for this?

I have searched the existing issues

Current Behavior

Workspace

Package A

Package B

peerDependencies

Package A

I have the following situation, where Package B has a peerDependency of Package A.

I run npm version 1.2.3 --workspaces

Expected Behavior

I would expect:

The versions of Package A and Package B to be updated to 1.2.3

This works as expected

The version of the Package A peerDependency in Package B to be updated to 1.2.3

This doesn't work as expected

Steps To Reproduce

Please see above

Environment

OS: Windows 10

Node: 16.8.0

npm: 7.21.0
Issue 1:
Since it is possible to select subranges of iterators using UnitRange objects it is my opinion that Threads.@threads should use that instead of the iteration through the subrange and item-wise evaluation of the given range at a specific index. See threadingconstructs.jl#L52.

Solution: #18604

This becomes relevant when you want to use CartesianRange for parallelised ndimensional loops. CartesianRange flat representation is well defined so selecting subranges (inspiration) using indices of the flat representation is well defined, therefore: they can be split into subranges without any problems. Using that ndimensional loops can be generically parallelised.

Issue 2:
On the master branch, it looks like neither of these currently works,

julia> @Threads.threads for (i,j) in [(1,2),(3,4)]
i
end
ERROR: syntax: invalid syntax in "local" declaration

julia> @Threads.threads for i=1:2, j=3:4
i
end
ERROR: syntax: invalid assignment location "i=1:2"

I think this might be low hanging enough fruit that even I could figure it out. Would a PR adding this functionality be something the developers are interested in?
Issue 1:
Hi,

I would like to install dart on my work computer, but there is a proxy, and i can't disable it.

So when i write the command flutter it check for dart update and i got an error.

Flutter doctor :

**C:\Users\g594841>flutter doctor
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine ead227f118077d1f2b57842a32abaf105b573b8
a...
Start-BitsTransfer : État HTTP 407 : l'authentification du proxy est demandée.
Au caractère C:\Program Files\flutter\bin\internal\update_dart_sdk.ps1:47 : 1
+ Start-BitsTransfer -

Source $dartSdkUrl -Destination $dartSdkZip
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation : (:) [Start-BitsTransfer], Exc
eption
+ FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.Backgrou
ndIntelligentTransfer.Management.NewBitsTransferCommand

Error: Unable to update Dart SDK. Retrying...

Attendre 2 secondes, appuyez sur CTRL+C pour quitter ...**

it asks me to authantify the proxy, but i don't know the password. Is there a way to bypass this check and install dart by hand ?

Thanks

Issue 2:
I met errors when running flutter doctor. It's related with proxy settings.

Flutter Doctor

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\CNFEHU1>flutter doctor
Checking Dart SDK version...
Downloading Dart SDK 1.24.0-dev.6.7...
Start-BitsTransfer : HTTP status 407: Proxy authentication is required.
At C:\Users\CNFEHU1\Documents\GitHub\flutter\bin\internal\update_dart_sdk.ps1:4
4 char:19
+ Start-BitsTransfer <<<< -Source $dartSdkUrl -Destination $dartSdkZip
+ CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exce
ption
+ FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.Backgrou
ndIntelligentTransfer.Management.NewBitsTransferCommand

Error: Unable to update Dart SDK. Retrying...
Issue 1:
We should enable ProGuard for Android builds in release mode. It removes unnecessary stuff from the APK and slims down the APK size.

More information: https://developer.android.com/studio/build/shrink-code.html

Currently, enabling ProGuard on the Flutter Gallery saves about 24KB. That's not a lot, but that number could grow. For example, with ProGuard enabled, we could start depend on the Android Support Libraries in the engine without bloating our APKs as ProGuard will strip out all unused code. For the accessibility work, I'd like to depend on the Android Support Libraries because they offer much needed convenience around the raw Android APIs and also easily ensure backwards compatibility to older API versions.

/cc @jakobr-google @mravn-google @tvolkert @Hixie

Issue 2:
Environment: Linux (ubuntu 18.04 LTS)

The flutter command tries to create a ~/.flutter directory automatically, and it aborts if that fails.

Following the instructions here, I tried to untar the Flutter SDK into my desired ~/.flutter, and all the flutter commands did not work.

I think it should be stated the you should not have that directory.
Issue 1:
Currently --allow-net=domain/A has the same effect as --allow-net=domain. It would be nice to be able to only allow network access to an URL with a given domain & path prefix.

Issue 2:
Deno should allow URLs to be allowed in --allow-net and or other than domain names and ports pair.

As of current to run this simple JavaScript file:

fetch('http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh/').then( (resp) => {
console.log(resp)
} )

I would need to allow all URLs possible with gist.githubusercontent.com, or allow any Domain names URL(which both are not fully secure):

All URLs possible with gist.githubusercontent.com:

deno --allow-net="gist.githubusercontent.com" test.js Does compile
Response {
responce data...
}

Allow any Domain names URL:

deno --allow-net test.js
Does compile
Response {
responce data...
}

And if I try running the secure way, I get en error:

$ deno --allow-net="http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh" test.js
Does compile
error: Uncaught PermissionDenied: network access to "http://gist.githubusercontent.com/KSXGitHub/62cb052060dc169796ab3698ff53c33b/raw/9d7d84910b344eb8580be8b91cf539e18e565e5d/init.sh/", run again with the --allow-net flag
at unwrapResponse ($deno$/ops/dispatch_json.ts:43:11)
at Object.sendAsync ($deno$/ops/dispatch_json.ts:98:10)
at async fetch ($deno$/web/fetch.ts:591:27)

Thanks,

Dex Devlon
Issue 1:
Jon Brisbin opened SPR-8201 and commented

The ApplicationEvent dispatcher should take generics information into account when deciding whether to call a particular ApplicationListener. This would allow the user to register an ApplicationListener for their event subclass like this:

public class BeforeSaveEvent<T> extends ApplicationEvent {}
public class MyListener implements ApplicationListener<BeforeSaveEvent<MyDomainObject>>{}

When a BeforeSaveEvent<MyDomainObject> event is dispatched, only those ApplicationListener that have specified MyDomainObject in the generics clause will be dispatched to the configured listener (such as MyListener)

Affects: 3.0.5

Issue Links:

#15847 improve ApplicationListener to support generic types ("duplicates")

2 votes, 6 watchers

Issue 2:
Julie Mather opened SPR-4174 and commented

If you look at the MailSendException class' printStackTrace methods, note the first line:

if (this.messageExceptions.length == 0) {

The messageExceptions variable is only not null if you call the MailSendException(Map failedMessages) constructor. The other two constructors do not initialize the messageExceptions variable to a value and thus when printStackTrace is called a NullPointerException is thrown. Our code (and one of our unit tests that exposed this to me) calls:

throw new MailSendException("boom");

And thus breaks.

It's really as simple as not referencing messageExceptions directly but using the getter instead, which is what it's there for.... It has a null check in it and will return an empty array if the variable hasn't been initialized yet. Nicely done, it's just not being used.

And by the way, that you very much for 2.5. It was quite easy to migrate to.

Affects: 2.5 final

Issue Links:

#8817 NullPointerException in MailSendException ("duplicates")
Issue 1:
Sorry, closed on accident.

To get this to work I had to do other things, you can see from my gist: http://gist.github.com/422460

It would be nice if this was done automatically so I could just use test_request_context the way the documentation states.

Issue 2:
To get this to work I had to do other things, you can see from my gist: http://gist.github.com/422460

It would be nice if this was done automatically so I could just use test_request_context the way the documentation states.
Issue 1:
I found a very, very small error in pubspec.yaml.

Steps to Reproduce

Create fresh flutter project, and

Create Image.asset in main.dart

Uncomment the assets section to add a sample image asset

Try to run app

Then, an error occurs: Error on line 40, column 4 of pubspec.yaml: Expected a key while parsing a block mapping. assets: ^ Unable to reload your application because "flutter packages get" failed to update package dependencies. Exception: pub get failed (65)

Solution

All you have to do to fix it is to add one space before uses-material-design: true. By default intendation is broken.

PS When you know how to fix it, it takes 3 seconds, but you still need some time to find a solution on the Internet. But it isn't what we would call "seamless experience". Also, as you could see, error log doesn't give usable hint

Issue 2:
Background: #13242 covers a specific memory consumption issue (which we'll continue looking into). I'm opening this bug for a more general discussion of the sorts of finer-grained control over image caching and handling that developers would like to see from Flutter.

Today, the only real control the framework provides is the ability to set ImageCache.maximumSize to indicate the maximum number of images to store in Flutter's image cache.

In terms of the really basic things, a few thoughts:

finer-grained control over cache eviction

finer-grained control over cache strategy (e.g. local storage, store scaled/compressed)

de-duplication of identical source images

It would be useful to understand what features developers would like to see from the framework and what priorities people have around image caching.
Issue 1:
Problem description

The Nearby entry uses inline SVG and is left-aligned in contrast to the both other icons, which are centered.

Steps to reproduce

Have a look at http://www.material-ui.com/#/components/bottom-navigation

Versions

Material-UI: v0.5.14

React: v15.3.0 (?)

Browser: Chrome Canary v54

Possible fix

If I add margin: auto; to the SVG element in the rendered code (Inspect), the icon is centered. I'm not sure how to apply this fix to the source code however, as I'm unfamiliar with React / MUI.

https://github.com/callemall/material-ui/blob/master/docs/src/app/components/pages/components/BottomNavigation/ExampleSimple.js

Issue 2:
Problem description

SVG icons are not centered when used within BottomNavigation elements.
Issue 1:
It's a very light bug. When I start atom ide, it correctly picks up where I left, but scroll-bars as you can see are not correctly rendered. If I click on another tab, scroll-bars now gets rendered correctly. Same happens with tree-view, I have to press Ctrl-k + Ctrl-b to hide it first and then again Ctrl-k + Ctrl-b to show it again which renders scroll-bars properly.

Thought, it might help :)

Issue 2:
When I open the menu for the first time, there are ampersands ("&") in from of shortcut characters. When I hover away and back again, they disappear:

(Sorry for the crappy GIF that looks like it is the other way around and the ampersands appear only after hovering away and back again.)
Issue 1:
In latest version v1.0.0-beta.33 I can see several problems in IE 11.

Problems can even be seen on demo pages

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

Expected Behavior

Behaviour should be o.k. in all browsers

Current Behavior

Layout Problems. Please see below

As a side note: I am experiencing much slower performance in IE11 than in other browsers. Unfortunately I don't know since which version this is the case. As I don't have a codesandbox (don't have the time) to reproduce, you can also ignore this side note.

Steps to Reproduce (for bugs)

https://material-ui.com/demos/selection-controls/

https://material-ui.com/demos/expansion-panels/

Context

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.33

React
^16.0.0

browser
IE11

etc

Not sure if

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

Expected Behavior

Navigate the Material-UI 1.0 docs using Internet Explorer 11 (useful to check component demos, etc).

Current Behavior

An error is thrown in the console and unable to click on the drawer navigation.

Steps to Reproduce (for bugs)

Go to https://www.material-ui.com using Internet Explorer 11 and attempt to click on a link on the drawer.

Context

Check component compatibility with Internet Explorer 11.

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.33

browser
Internet Explorer 11
Issue 1:
Environment

Windows build number:
Microsoft Windows [Version 10.0.18362.449]

Windows Terminal version (if applicable):
No.

Any other software?
No.

Steps to reproduce

Open cmd.exe.

Go to window properties, "Colors" page.

Set "Screen Background" value to exactly 128 128 128.

Expected behavior

Cursor is visible no matter what background color is.

Actual behavior

Now you see it, now you don't.

Current "inverse" logic is too straightforward - it literally takes the inverse of the background, and for 128 128 128 the inverse is... 127 127 127, which is basically the same thing. Oops.

Note: Legacy console handles this corner case properly, as well as all Windows versions prior to 10.

Also, legacy console inversion algorithm is not exactly "inverse" - the colors are slightly different (and subjectively more pleasant). Is it possible to get this classic inversion in the modern console please?

This issue affects a text editor app that uses console color 8 (128 128 128 in classic color scheme) to highlight various parts of text (e.g. current line). Sudden cursor disappearing is confusing and annoying.

Example:

Issue 2:
I have not been able to find a way to open Terminal as a different user. I can run Terminal as an administrator, but that is not the option I am looking for.

Is running Terminal as a different user not possible because it is a UWP app?
Issue 1:
ISSUE TYPE

Bug Report

COMPONENT NAME

win_chocolatey

ANSIBLE VERSION

2.4.2.0

SUMMARY

A single double quotes are ignored:

- name: Install ImageMagick
win_chocolatey:
name: imagemagick.app
install_args: "/DIR=\"{{ ansible_env['ProgramFiles'] }}\\ImageMagick\""

A working workaround is:

- name: Install ImageMagick
win_chocolatey:
name: imagemagick.app
install_args: "/DIR=\"\"{{ ansible_env['ProgramFiles'] }}\\ImageMagick\"\""

This seems like a bug as single double quotes are ignored (checked against chocolatey log), but they should be probably double somewhere in the module.

Issue 2:
BUG REPORT

I'm probing a freshly installed Archlinux installation on a Raspberry PI 2 like so:

ansible -i PI2 arch -m setup -c paramiko -k -u alarm -vvvv

This reads to me: Fire the setup module against the IP connecting with the user "alarm" asking for the password of this specific user. However the user that eventually attempts to connect is "root".

Here's the debug response:

Loaded callback minimal of type stdout, v2.0
<192.168.1.18> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO 192.168.1.18
192.168.1.18 | UNREACHABLE! => {
"changed": false,
"msg": "ERROR! Authentication failed.",
"unreachable": true
}

The inventory looks like this:

[arch]
192.168.1.18

ansible.cfg is:

[defaults]

host_key_checking = False
private_key_file = /Users/xyz/.ssh/id_rsa_ansible
deprecation_warnings = True
system_warnings = True
retry_files_enabled = False

[paramiko_connection]

record_host_keys=False

[ssh_connection]
pipelining = True

The expected result, as version 1.9.4 delivers is:

⤷ ansible --version
ansible 1.9.4
configured module search path = None
(ANS19TEST)~/Documents/Code/VENVS/ANS19TEST

⤷ ansible -i PI2 arch -m setup -c paramiko -k -u alarm -vvvv

SSH password:
<192.168.1.18> ESTABLISH CONNECTION FOR USER: alarm on PORT 22 TO 192.168.1.18
<192.168.1.18> REMOTE_MODULE setup

The control machine is a MBA on 10.11.3. The command was run against a Raspberry PI 2 running Archlinux.

Cheers

Ralph
Issue 1:
Hello All,

My spider is created by scrapy 1.6.0.

These days, the scrapy updated to 1.7.1, and we found that it cannot support the code build by 1.6.0.

Here is the error:

Traceback (most recent call last):
File "/usr/bin/scrapy", line 6, in <module>
from scrapy.cmdline import execute
File "/usr/lib64/python2.7/site-packages/scrapy/cmdline.py", line 10, in <module>
from scrapy.crawler import CrawlerProcess
File "/usr/lib64/python2.7/site-packages/scrapy/crawler.py", line 11, in <module>
from scrapy.core.engine import ExecutionEngine
File "/usr/lib64/python2.7/site-packages/scrapy/core/engine.py", line 14, in <module>
from scrapy.core.scraper import Scraper
File "/usr/lib64/python2.7/site-packages/scrapy/core/scraper.py", line 18, in <module>
from scrapy.core.spidermw import SpiderMiddlewareManager
File "/usr/lib64/python2.7/site-packages/scrapy/core/spidermw.py", line 13, in <module>
from scrapy.utils.conf import build_component_list
File "/usr/lib64/python2.7/site-packages/scrapy/utils/conf.py", line 4, in <module>
import configparser
ImportError: No module named configparser

Would you please take time to check the issue?

Appreciate for your help in advance.

Thank you.

Issue 2:
I've run pip install scrapy, but it doesn't seem that this has been installed properly.

Now when I ran scrapy on CLI, it ends up in the following message.

Traceback (most recent call last):
File "/usr/bin/scrapy", line 6, in <module>
from scrapy.cmdline import execute
File "/usr/lib64/python2.7/site-packages/scrapy/cmdline.py", line 10, in <module>
from scrapy.crawler import CrawlerProcess
File "/usr/lib64/python2.7/site-packages/scrapy/crawler.py", line 11, in <module>
from scrapy.core.engine import ExecutionEngine
File "/usr/lib64/python2.7/site-packages/scrapy/core/engine.py", line 14, in <module>
from scrapy.core.scraper import Scraper
File "/usr/lib64/python2.7/site-packages/scrapy/core/scraper.py", line 18, in <module>
from scrapy.core.spidermw import SpiderMiddlewareManager
File "/usr/lib64/python2.7/site-packages/scrapy/core/spidermw.py", line 13, in <module>
from scrapy.utils.conf import build_component_list
File "/usr/lib64/python2.7/site-packages/scrapy/utils/conf.py", line 4, in <module>
import configparser
ImportError: No module named configparser

I googled configparser, and apparently this used to be called ConfigParser.

Has anyone seen this issue?

Any advice will be appreciated.
Issue 1:
the function of short cut guide does work, when I press the windows key, threre is no reaction.

Issue 2:
Environment

Microsoft Windows [Version 10.0.18363.836]

PowerToys [Version v0.17.0]

Shortcut Guide

Steps to reproduce

When I hold [Win], Shortcut Guide is not appear.

Sometimes it doesn't work suddenly.

This bug sometimes fix suddenly or doesn't fix until reboot windows.

Expected behavior

Hold [Win] then appear Shortcut Guide.

Actual behavior

Hold [Win] but there is no actions.

Release [Win] then appear Start menu.

It doesn't help me to reboot PowerToys or Toggle ShortcutGuide.

Other apps (e.g. Window Walker) work well, but FancyZone doesn't work sometimes at the same time.

Screenshots

It is my setting.
Issue 1:
I've created the simplest babel programme I can think of, that I would expect to do nothing.

var babel = require('babel-core');
var code = '"use strict";'; // Edited typo
var result = babel.transform(code);

// Expected result: "use strict";
// Actual result: "use strict"; "use strict";

I had presumed that a call to transform with no transformers specified would do nothing. At the very least it's forcing strict mode on me. Is this a bug or a feature? Are there other things babel forces on me by default?

Issue 2:
A class which extends itself isn't compiled correctly:

class A {
...
}

class A extends A {
...
}

I think the error comes from:

inherits(A, A);

A workaround is to do:

var A_ = A;
class A extends A_ {

}