WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.6

Operating System version: xxx

Java version: 1.8

dubbo 2.7.6 版本和之后的版本，当使用 @reference 注解修改 cluster 属性切换集群容错策略时，发现始终不生效，一直使用默认的 failover 策略。当使用 2.7.5 版本时，修改生效。

看了一下 RegistryDirectory.getUrl 方法的代码，发现从 2.7.6 版本开始，getUrl 返回的 url 为 RegistryDirectory 构造函数中传入的 url，在 2.7.5 版本中 getUrl 方法返回的是 overrideDirectoryUrl。overrideDirectoryUrl 中包含了用户设置的参数，而 url 中没有，导致无法切换集群容错策略。

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

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.3

Operating System version: ubuntu 18.04

Java version: 1.8

Steps to reproduce this issue

it's a suggestion, the method "org.apache.dubbo.config.spring.beans.factory.annotation.AnnotationInjectedBeanPostProcessor#getInjectedObject" is a protected method, but attr "injectedObjectsCache" is private. so when i override the method, it's very difficult, there are lots of modifitions. so can the attr be protected?
Issue 1:
Repro:

Use "View/Toggle Menu Bar" to hide the menu bar

Press and release "alt", the menu bar appears

Try using the arrow keys or mnemonic keys ('F' for 'File' menu)

Actual: there is no way to interact with the menu bar from the keyboard

Expected: same as the Hide Menu Bar extension for VS, where pressing alt gives keyboard focus to the "file menu", which allows navigating with the keyboard arrows or mnemonic keys.

Windows 10, VSCode 0.10.8

Issue 2:
Navigating between File/Edit/View/Goto/Help using left and right arrow keys does not work. I can reproduce the problem in at least Windows 8 and Linux Mint Cinnamon 17.2.

navigation using arrow keys works in submenus

on Windows it is possible to switch between the menus using mnemonics (ALT-e to switch from File to Edit) but on Linux even this isn't working
Issue 1:
[Enter steps to reproduce below:]

Open atom

Go to File > Open... > Select "projects" folder > Open random file from tree

The file opens, but several red error balloons show up as well.

Atom Version: 0.166.0

System: Mac OS X 10.10.1

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT, open 'undefined//Users/StruckRug67/Library/Mobile Documents/comappleCloudDocs/Projects/project.json'

At fs.js:75

Error: ENOENT, open 'undefined//Users/StruckRug67/Library/Mobile Documents/com~apple~CloudDocs/Projects/project.json'
at Error (native)

Commands

11x -0:00.0 core:close (atom-text-editor.editor)

Config

{
"core": {
"disabledPackages": [
"linter",
"linter-puppet"
],
"projectHome": "/Users/StruckRug67/Projects"
},
"editor": {
"fontFamily": "source code pro",
"fontSize": 12,
"showIndentGuide": true
}
}

Installed Packages

# User
language-docker, v1.1.2
language-dockerfile, v0.1.0
language-puppet, v0.10.0
linter-puppet-lint, v0.2.3
save-session, v0.11.2

# Dev
No dev packages

Issue 2:
[Enter steps to reproduce below:]

start an atom editor with save-session plugin on

save action might cause this error

Atom Version: 0.166.0

System: Mac OS X 10.10.1

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT, open 'undefined//Users/alopex/.atom/project.json'

At fs.js:75

Error: ENOENT, open 'undefined//Users/alopex/.atom/project.json'
at Error (native)

Commands

Config

{
"core": {
"disabledPackages": [
"npm-install",
"save-session"
],
"themes": [
"atom-dark-ui",
"base16-tomorrow-dark-theme"
]
},
"editor": {
"fontSize": 14,
"invisibles": {}
}
}

Installed Packages

# User
color-picker, v1.2.6
linter, v0.9.1
minimap, v3.5.0
save-session, v0.11.2
npm-install, v2.0.0

# Dev
No dev packages
Issue 1:
I had this issue on several machines running Windows 8.1 x64. atom.exe is flagged due to suspicious activities.

The antivirus programs tried:

Avast

Bitdefender

Issue 2:
Atom version: 0.136.0

From atom 0.136.0, the following two files are falsely detected as: Win32:Malware-gen:

atom-0.136.0\build\windows\Setup.exe

atom-0.136.0\build\windows\Update.exe

Avast version: 2015.10.0.2206

Virus signatures version: 141021-0

I will also submit this to avast.
Issue 1:
ansible 0.8 (devel 761330b125) last updated 2012/10/04 09:19:51 (GMT +200)

host variables specified in inventory file aren't stored in hostvars:

$ cat hosts
[local]
127.0.0.1 person="John.Q" ansible_python_interpreter=/usr/bin/python xxxx="foo"

---
- hosts: 127.0.0.1
gather_facts: false
connection: local
tasks:
- action: template src=templ.in dest=/tmp/t

$ cat templ.in
{{ hostvars | to_json }}

produces no mention of either person, ansible_python_interpreter or xxxx.

Issue 2:
From @simonpie on 2016-08-22T19:28:14Z

ISSUE TYPE

Bug Report

COMPONENT NAME

lineinfile

ANSIBLE VERSION

ansible 2.1.1.0
config file = /Users/simonpie/Documents/WSO2/1.10/Ansible/ansible.cfg
configured module search path = Default w/o overrides

CONFIGURATION

OS / ENVIRONMENT

The basic ansible version installed by brew on a fully patch El Capitan Mac controlling an oracle linux vm.

SUMMARY

When trying to insert a convoluted line using the lineinfile module, outer quotes are printed in the file whilst they should not be. I can go around the problem by using variables.

STEPS TO REPRODUCE

- name: Minimum example of failure for lineinfile module
hosts: wso2
vars:
wso2Home: ~wso2/WSO2API/wso2am-1.10.0
testString: " -Djava.util.prefs.userRoot=\"/home/wso2/.java/.userPrefsJijJa\" \x5C"

become: yes
become_user: root

tasks:

- name: Ajout des repertoires de prefs java Not OK
lineinfile: dest={{wso2Home}}/bin/test-wso2server.sh line=" -Djava.util.prefs.userRoot=\"/home/wso2/.java/.userPrefs\" \x5C" insertafter='^(\s*)-Djava.util.logging.config.file(.*)'

- name: Ajout des repertoires de prefs java OK
lineinfile: dest={{wso2Home}}/bin/test-wso2server.sh line={{testString}} insertafter='^(\s*)-Djava.util.logging.config.file(.*)'

Use the following file as destination

do
$JAVACMD \
-Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
$JVM_MEM_OPTS \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \
$JAVA_OPTS \
-Djava.util.logging.config.file="$CARBON_HOME/repository/conf/etc/logging-bridge.properties" \
-DworkerNode=false \
org.wso2.carbon.bootstrap.Bootstrap $*
status=$?
done

EXPECTED RESULTS

As can be seen, the lineinfile using a jinja template worked fine. But the first insertafter inserted quotes at the beginning and the end of my line.

while [ "$status" = "$START_EXIT_STATUS" ]
do
$JAVACMD \
-Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
$JVM_MEM_OPTS \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \
$JAVA_OPTS \
-Djava.util.logging.config.file="$CARBON_HOME/repository/conf/etc/logging-bridge.properties" \
-Djava.util.prefs.userRoot="/home/wso2/.java/.userPrefsJijJa" \
" -Djava.util.prefs.userRoot="/home/wso2/.java/.userPrefs" \"
-DworkerNode=false \
org.wso2.carbon.bootstrap.Bootstrap $*
status=$?
done

ACTUAL RESULTS

Copied from original issue: ansible/ansible-modules-core#4499
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: xxx

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

xxx

xxx

xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

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

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.2

Operating System version: windows 10 / CentOS release 6.9 (Final)

Java version: 1.8.0_172-b11

Steps to reproduce this issue

use cxf 3.0.14 artifacts(core,frontend-simple,transports-http,binding,wsdl) as webservice lib

define webservice protocol and services in dubbo provider xml file

start the project

use web browser to view wsdl file

Expected Result

The wsdl file should content address element like the following:

expacted.wsdl.txt

Actual Result

The wsdl address element is missing! See the attachement below:

actual.wsdl.txt
Issue 1:
ISSUE TYPE

Feature Idea

COMPONENT NAME

ANSIBLE VERSION

ansible 2.4.0
config file = None
configured module search path = ['/Users/ecosta/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible-2.4.0-py3.6.egg/ansible
executable location = build/scripts-3.6/ansible
python version = 3.6.0 (default, Dec 24 2016, 08:01:42) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]

CONFIGURATION

OS / ENVIRONMENT

running on Mac

managing Redhat

SUMMARY

Does it possible add the option --auto-attach?

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Issue 2:
ISSUE TYPE

Feature Idea

COMPONENT NAME

redhat_subscription

ANSIBLE VERSION

ansible --version
ansible 2.2.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides

OS / ENVIRONMENT

RHEL 7.3

SUMMARY

As indicated in #23013 autosubscribe is deprecated in favor of auto-attach so we should look to implement that functionality in this module. It was suggested that we copy that logic to address #19466 but wanted to suggest breaking it out as its own parameter.
Issue 1:
Challenge Escape Sequences in Strings has an issue.

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

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

My code:

var myStr = "Here is a backslash: \\.\n\t\tHere is a new line with two tabs."; // Change this line

Part of the error for this says "myStr should not have any spaces in between consecutive escape sequences."

What it fails to mention is to not have a space between the escape sequence and a word which is (Here). This code works fine....... var myStr = "Here is a backslash: .\n\t\tHere is a new line with two tabs."; // Change this line

Issue 2:
Challenge adjust-the-padding-of-an-element has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.

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

Code will not reload on phone display, If coming from previous assignment, phone will display previous assignment's code, if not, phone will display blank page. Phone code will load properly upon submitting challenge.

<style>
.injected-text {
margin-bottom: -25px;
text-align: center;
}

.box {
border-style: solid;
border-color: black;
border-width: 5px;
text-align: center;
}

.yellow-box {
background-color: yellow;
padding: 10px;
}

.red-box {
background-color: red;
padding: 20px;
}

.green-box {
background-color: green;
padding: 10px;
}
</style>
<h5 class="injected-text">margin</h5>

<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>
</div>
Issue 1:
#### Summary

I want the AxiosRequestConfig interface to be this:

{
url?: string;
method?: string;
baseURL?: string;
transformRequest?: AxiosTransformer | AxiosTransformer[];
transformResponse?: AxiosTransformer | AxiosTransformer[];
headers?: any;
params?: any;
paramsSerializer?: (params: any) => string;
data?: any;
timeout?: number;
withCredentials?: boolean;
adapter?: AxiosAdapter;
auth?: AxiosBasicCredentials;
responseType?: string;
xsrfCookieName?: string;
xsrfHeaderName?: string;
onUploadProgress?: (progressEvent: any) => void;
onDownloadProgress?: (progressEvent: any) => void;
maxContentLength?: number;
validateStatus?: (status: number) => boolean;
maxRedirects?: number;
httpAgent?: any;
httpsAgent?: any;
proxy?: AxiosProxyConfig | false;
cancelToken?: CancelToken;
// custom config
[someOtherConfig: string]: any;
}

So i can add some custom config without type matching error

#### Context

axios version: e.g.: v0.17.1

Issue 2:
Summary

Allow for typesafe extension of AxiosConfiguration

Context

Allow for the following user case (without the cast)

interface Config extends AxiosRequestConfig {
start?: Date
}
const requestConfig: Config = {
...
}
const instance = axios.create(requestConfig)

instance.interceptors.request.use(axiosConfig => {
const config = axiosConfig as Config // Cast is needed as axiosConfig is infered to AxiosConfiguration and not Config
config.start = new Date()
return config
})
Issue 1:
TypeScript Version:

1.8.7

Code

for

Expected behavior:

Emit something that's not an infinite loop. It's a syntax error so it should probably stay a syntax error in the output js.

Actual behavior:

A for loop with no parameters or body emits this:

for (; ; )
;

Issue 2:
Consider this code:

class Super {
_view:Element;

constructor(view?:Element) {
this._view = view || document.createElement('div');
};
}

class Inherits extends Super {
test = 1;
view:Element;

constructor() {
let view = document.createElement('span');
super(view);

this.view = view;
};
}

And it says: 2376 A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.

I understand that it's because of test property. but can you allow not-this code before super() call how ES6 does?

Also, this won't work too, of course:

class Inherits extends Super {
test = 1;
view:Element = document.createElement('span');

constructor() {
super(this.view); // 2332 'this' cannot be referenced in current location.
};
}
Issue 1:
This is the issue in Tensorflow tensorflow/tensorflow#50612

And this is my PR tensorflow/tensorflow#50844

Now the issues of keras are done here. If it's necessary I can duplicate the issue here.

Issue 2:
I am getting unexpected behaviour when using mean_squared_error loss.

My original issue was that fit_generator was reporting an incorrect validation loss. I was unable to reproduce that bug in a gist that I can make public, but I was able to demonstrate an incorrect training loss.

Bafflingly, if I change max_queue_size to 1 instead of the default 10 in fit_generator, the issue is resolved.

https://gist.github.com/alekseynp/1bb6cbe4ee7fb6e8ea46d68c675b934d
Issue 1:
Platform: OS X 10.10

Atom Version: 0.201.0

Description:

Changing tabs using the mouse button (clicking on them) steals the focus from the editor window and requires another click into the text to continue writing.

Expected behavior:

Text editor regains focus after tabs are switched.

Note:

Changing tabs using keyboard shortcuts works and won't steal the focus

Issue 2:
When you are working in multiple files and going back and forth between the file tabs, the cursor position for that tab is forgotten and you can't type text right away.

This is rather frustrating behaviour, as it forces you to grab your mouse and click somewhere in the code before you can start typing.

Sublime remembers the cursor position per tab/file, so that when you go back to a tab, the cursor is at the position where you left off, and you can start typing right away.

Can this be enabled for Atom as well? I couldn't find a package that does it.
Issue 1:
If you hover over an <a> with a tooltip within a .btn-group the tooltip will inserted between the <a> and its descendants. Because this css rule

.btn-group > .btn + .btn {
margin-left: -1px;
}

doesn't apply any longer to the following <a> you'll see an additional grey border.

It's kinda hard to explain, so just go there and watch for the second button when hovering it:

http://jsfiddle.net/4MBp8/

Issue 2:
This change breaks the possibilities of having tooltips and popovers on table cells.

88b1e44#L3L1086

Please let me know the reasoning behind the change of strategy so that I get an understanding of If I may have to change my code.

Thanks
Issue 1:
Vue.js version

v2.0.0-alpha.8

Reproduction Link

https://jsbin.com/dajovivoye/1/edit?html,js,output

Steps to reproduce

new Vue

assign data

What is Expected?

What is actually happening?

A tag with v-if will also has style attribute

Issue 2:
Version

2.6.8

Reproduction link

https://github.com/Cameron637/vue-runtime-error-reproduction

Environment info

Environment Info:

System:
OS: macOS 10.14.3
CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Binaries:
Node: 10.15.2 - ~/.nvm/versions/node/v10.15.2/bin/node
Yarn: Not Found
npm: 6.9.0 - ~/.nvm/versions/node/v10.15.2/bin/npm
Browsers:
Chrome: 72.0.3626.121
Firefox: 59.0.2
Safari: 12.0.3
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0-beta.2
@vue/babel-plugin-transform-vue-jsx: 1.0.0-beta.2
@vue/babel-preset-app: 3.5.1
@vue/babel-preset-jsx: 1.0.0-beta.2
@vue/babel-sugar-functional-vue: 1.0.0-beta.2
@vue/babel-sugar-inject-h: 1.0.0-beta.2
@vue/babel-sugar-v-model: 1.0.0-beta.2
@vue/babel-sugar-v-on: 1.0.0-beta.2
@vue/cli-overlay: 3.5.1
@vue/cli-plugin-babel: ^3.5.0 => 3.5.1
@vue/cli-plugin-eslint: ^3.5.0 => 3.5.1
@vue/cli-plugin-unit-mocha: ^3.5.0 => 3.5.1
@vue/cli-service: ^3.5.0 => 3.5.1
@vue/cli-shared-utils: 3.5.1
@vue/component-compiler-utils: 2.6.0
@vue/eslint-config-airbnb: ^4.0.0 => 4.0.0
@vue/preload-webpack-plugin: 1.1.0
@vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.2
vue: ^2.6.6 => 2.6.9
vue-eslint-parser: 2.0.3
vue-hot-reload-api: 2.3.3
vue-loader: 15.7.0
vue-style-loader: 4.1.2
vue-template-compiler: ^2.5.21 => 2.6.9
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: 3.5.0

Steps to reproduce

Run npm install and then run npm run test:unit

What is expected?

This is a freshly created vue project with the vue-cli. Running the example unit test should pass successfully.

What is actually happening?

The unit test fails with a reference error from vue.runtime.esm.js.

This is happening because vue 2.6.9 (which is installed by npm by default even though it is ahead of the latest stable release) references the global performance attribute that should be available in the browser on line 4251 of vue.runtime.esm.js, but it is not available in the globals provided by jsdom-global. I've made a pull request to jsdom-global (here: rstacruz/jsdom-global#49) to fix its unavailability, but that repo doesn't seem to be actively maintained and it's doubtful that the fix will be merged anytime soon. It would probably be wise to use a different package or a fork of this one. If it helps, you're welcome to use my fork which already has the fix: https://github.com/Cameron637/jsdom-global
Issue 1:
Is there an existing issue for this?

I have searched the existing issues

This issue exists in the latest npm version

I am using the latest npm

Current Behavior

In a package foo with a bin, run npx foo, and you'll see sh: foo: command not found.

Expected Behavior

In a package foo with a bin, run npx foo, and the bin is invoked.

Steps To Reproduce

Clone any repo, presumably, but in this case, https://github.com/ljharb/publishers

Run npx npm@8.7 exec publishers, see that it invokes the binary properly.

Run npx npm@8.8 exec publishers, see that it errors.

Environment

npm: <= 8.7, >= 8.8

Node.js: 19

Issue 2:
What / Why

I am behind an authenticated corporate proxy.

To set the proxy i am using

npm config set proxy http://username:password@proxy.company.com
npm config set https-proxy http://username:password@proxy.company.com

I had to reset the passord but forgot to reset it for npm.

When running:

npm install

npm responded with the error

error cb() never called!

Changing the password with npm config set proxy fixed the problem.

Where

Windows 10 VM

npm@6.13.1

node@v10.15.3

Current Behavior

npm install throws error cb() never called!

Expected Behavior

I would like to see a 407 Proxy Authentication Error printed to console and not just to the log.

Log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\MYFOLDER\\nodejs\\node.exe',
1 verbose cli 'C:\\MYFOLDER\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'update' ]
2 info using npm@6.13.1
3 info using node@v10.15.3
4 verbose npm-session 66cb6a3319a6069e
5 verbose update computing outdated modules to update
6 http fetch GET 407 https://registry.npmjs.org/@thekla%2fconfig 365ms
7 http fetch GET 407 https://registry.npmjs.org/@thekla%2fcore 364ms
8 http fetch GET 407 https://registry.npmjs.org/del-cli 392ms
9 http fetch GET 407 https://registry.npmjs.org/@thekla%2fweb-and-mobile-abilities 425ms
10 http fetch GET 407 https://registry.npmjs.org/cucumber-html-reporter 446ms
11 http fetch GET 407 https://registry.npmjs.org/npm 667ms
12 http fetch GET 407 https://registry.npmjs.org/thekla 1061ms
13 http fetch GET 407 https://registry.npmjs.org/eslint-plugin-standard 1149ms
14 http fetch GET 407 https://registry.npmjs.org/eslint-plugin-node 1357ms
15 http fetch GET 407 https://registry.npmjs.org/eslint-config-standard 1358ms
16 http fetch GET 407 https://registry.npmjs.org/eslint-plugin-import 1472ms
17 http fetch GET 407 https://registry.npmjs.org/junit-report-builder 1637ms
18 http fetch GET 407 https://registry.npmjs.org/eslint-plugin-promise 1854ms
19 http fetch GET 407 https://registry.npmjs.org/typescript 1884ms
20 http fetch GET 407 https://registry.npmjs.org/@typescript-eslint%2fparser 2157ms
21 http fetch GET 407 https://registry.npmjs.org/@typescript-eslint%2feslint-plugin 2277ms
22 http fetch GET 407 https://registry.npmjs.org/log4js 2283ms
23 http fetch GET 407 https://registry.npmjs.org/eslint 2286ms
24 timing npm Completed in 4030ms
25 error cb() never called!
26 error This is an error with npm itself. Please report this error at:
27 error <https://npm.community>