WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
This seems to be a duplicate of #25116. But this issue has been closed automatically, and actually I have no problem with 14.04. So I will try to reformulate it better.

ISSUE TYPE

Bug Report

COMPONENT NAME

ssh

ANSIBLE VERSION

Ansible 2.3.1.0 and 2.3.0.0

ansible 2.3.1.0
config file = /home/gsubiron/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]

CONFIGURATION

[defaults]

gathering=explicit
fact_caching=redis
fact_caching_timeout=86400

[privilege_escalation]

become=True
become_user=root
become_method=sudo
become_ask_pass=True

OS / ENVIRONMENT

Ansible is running on Debian 8 (Jessie). The host managed is an old Ubuntu 10.04.

SUMMARY

Since 2.3, Ansible cannot connect on my Ubuntu 10.04 (LTS) host.

#25116 seems to say it also concerns Ubuntu 14.04 LTS, but It works well for me on 14.04 servers. It must depends on SSH configuration.

STEPS TO REPRODUCE

ansible myhost.sysnove.net -m ping -vvvv

EXPECTED RESULTS

It is working fine with Ansible 2.2.0.0

myhost.sysnove.net | SUCCESS => {
"changed": false,
"invocation": {
"module_args": {
"data": null
},
"module_name": "ping"
},
"ping": "pong"
}

ACTUAL RESULTS

But not with Ansible 2.3.0.0 and 2.3.1.0

myhost.sysnove.net | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1t 3 May 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 10613\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Control master terminated unexpectedly\r\nCouldn't read packet: Connection reset by peer\r\n",
"unreachable": true
}

Issue 2:
I was trying to share comon tasks includes between roles, by using

the following dir structure:

util/
include1
include2
roles
foo
templates
tmpl1
tasks
task1
task2
util -> ../../../util
bar
tasks
task3
task4
util -> ../../../util

and then including util/include1 from task1/2/3/4.

However, I found that when include1 has a template (and presumably

a copy) task, tmpl1 isn't found because foo/tasks/templates/ is searched

rather then templates/.
Issue 1:
Run VS Code with a new filename ('code blah.txt').

Start to close VS Code and you will be prompted to Save, Don't Save or Cancel.

Click Don't Save - The prompt is gone but VS Code is still running.

Click Cancel - VS Code quits and the new file is lost.

It appears that Don't Save and Cancel have swapped handlers?

Issue 2:
VSCode Version: 0.10.11

OS Version: OS X 10.11.3

JS syntax highlighting for var and let leaks into some words that contain these patterns:

Steps to Reproduce:

Create a file using either JavaScript or JavaScript React syntax highlighting.

Use Dark (Visual Studio) theme, or any theme with var and let highlighting.

Observe the following code's syntax highlighting:

var // correct

variable // incorrect

var
variable // incorrect

var // random comment
variable // correct

var;
variable // incorrect

const // correct
constant // correct

let // correct

lettuce // incorrect

let // random comment
lettuce // correct

let;
lettuce // incorrect

sublet // correct
Issue 1:
Context:

Playwright Version: 0.11.1

Operating System: macOS

Extra: Yarn 1.22

Code Snippet

Minimal reproducible example in a new empty directory:

yarn init -y
yarn add playwright-chromium
ls -la node_modules/playwright-core/.local-chromium/mac-740847/chrome-mac
# Chromium revision is locally existing 🙂
yarn add -D @testing-library/react # example library
ls -la node_modules/playwright-core/.local-chromium/mac-740847/chrome-mac
# -> No such file or directory
# Chromium revision is not existing anymore.

Workaround

yarn install -f

Describe the bug

See the code above, for any questions feel free to ask. I'm experiencing this issue on various of repositories in which I'm working on locally in combination with Playwright.

Issue 2:
Context:

Playwright Version: 0.11.1

Operating System: Mac

Code Snippet

const { chromium } = require('playwright');

chromium.launch().then((browser: any) => {
console.log("launched")
})
.catch((e: any) => console.log(e))

Describe the bug

After installing playwright for the first time, I tried to run it and got the error

Error: Chromium revision is not downloaded. Run "npm install"

I am in a yarn exclusive environment so I am unable to run npm install. However, yarn install or yarn add do not resolve the issue.

Only way to solve it was

node node_modules/playwright/install.js
Issue 1:
click (6.7)

Flask (0.12.2)

flaskr (1.0.0, f:\python-flask\flask\examples\tutorial)

itsdangerous (0.24)

Jinja2 (2.10)

MarkupSafe (1.0)

pip (9.0.1)

setuptools (28.8.0)

Werkzeug (0.14.1)

(venv) PS F:\python-flask\flask\examples\tutorial> flask run

Usage: flask run [OPTIONS]

Error: Failed to find application in module "flaskr". Are you sure it contains a Flask application? Maybe you wrapped

it in a WSGI middleware or you are using a factory function.

(venv) PS F:\python-flask\flask\examples\tutorial>

Issue 2:
Rewrite the tutorial and corresponding example, taking into account new and common patterns for Flask.

example

tutorial
Issue 1:
Andreas Schildbach opened SPR-4368 and commented

@RequestMapping largely takes the responsibilities of the former AbstractFormController.isFormSubmission().

Unfortunately, I stumbled upon some cases that are not handled yet by @RequestMapping (well).

Mapping only matches if command object is present / not present

I use this frequently if a have a form with http-method GET (e.g. read-only search forms). In this case, I cannot distinguish by method, and I do not want to distinguish by parameter (the naming of the parameters is up to Spring Binding / Tag Library).

Mapping only matches if parameter is not present

Although not needed as urgently as 1), it would make @RequestMappings easier to formulate and a bit more robust. For example, I see some cases where you want a parameter to be present, and on the other related mapping you want the parameter to not be present.

Affects: 2.5.1

Issue Links:

#10360 Request header filtering in @RequestMapping ("duplicates")

Issue 2:
Mike Sample opened SPR-1727 and commented

Context: org.springframework.beans.*

It would be nice to the ability to create PropertyTypeConverters using

the same PropertyEditorRegistrySupport object as used by the

ArgumentConvertingMethodInvoker. This allows custom PropertyEditors

to have access to converters without having to create duplicate

PropertyEditorRegistrySupport objects. This approach would permit

return values to be converted as well.

A getter/setter in ArgumentConvertingMethodInvoker for the

PropertyEditorRegistrySupport would solve the problem. This would also

allow it to be reused in other Invokers etc.

No further details from SPR-1727
Issue 1:
cannot access x86_64-unknown-linux-gnu/stage2/lib/libcore-*.so: No such file or directory

IIRC, libcore was .rlib only, so I guess this is just a makefile problem.

Issue 2:
$ sudo make install
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: using clang
cfg: no pandoc found, omitting PDF and EPUB docs
cfg: no llnextgen found, omitting grammar-verification
cfg: including prepare rules
cfg: including dist rules
cfg: including install rules
cleaning destination tmp/dist/rust-0.11-pre-x86_64-apple-darwin
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/bin
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/lib
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/share/man/man1
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/lib/libcore-*.dylib
ls: x86_64-apple-darwin/stage2/lib/libcore-*.dylib: No such file or directory
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [prepare-host-lib-core-2-x86_64-apple-darwin-dir-x86_64-apple-darwin] Error 64

I observe this behavior at ab22d99.

Using a fresh git checkout does not help.
Issue 1:
We use a popover on click to show some extra buttons, and set up a body click event to close it via hide, but that leaves the markup behind though invisible, and thus still clickable. If I change it to use toggle instead it works, but then my body click event must manually track the visibility of the popover to know if it should NOP or not, otherwise clicking anywhere shows it too...

Currently using v3.0.0 but can't see anything in the changelogs or milestones that indicates this is fixed...

Issue 2:
i searched for an already opened issue but did not found any that was reporting this exact problem.

I'm trying to use the destroy method on tooltip (bootstrap v3) but it does not remove the element from the DOM.

Any idea ?

Fiddle : http://jsfiddle.net/52VtD/59/

click on the button to trigger the tooltip destroy method
Issue 1:
TypeScript Version:

1.8.10

Code

// SubClass is declared before its SuperClass
class SubClass extends SuperClass {
}

class SuperClass {
}

generated code:

var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var SubClass = (function (_super) {
__extends(SubClass, _super);
function SubClass() {
_super.apply(this, arguments);
}
return SubClass;
}(SuperClass));
var SuperClass = (function () {
function SuperClass() {
}
return SuperClass;
}());

Expected behavior:

The order of class declarations in TypeScript should not be important. As evidence, the above code passes compilation and thus should not cause runtime error

.

Actual behavior:

Runtime error is thrown Uncaught TypeError: Cannot read property 'prototype' of undefined on line 4.

The reason is that in the call to __extends(SubClass, _super) on line 7 the _super variable is undefined, but the __extends function checks for strict null (b === null on line 4) and thus fails on undefined.

Issue 2:
TS:

class A extends B { }
class B { }
// no TS errors here

JS:

var A = (function (_super) {
__extends(A, _super);
function A() {
_super.apply(this, arguments);
}
return A;
})(B);
var B = (function () {
function B() {
}
return B;
})();

When "__extends(A, _super);" is called "_super" is not defined yet and it's prototype, of course. I guess TS side should complain or JS should be reordered.
Issue 1:
I have python 3.6.0 but tensorflow only supports 3.5

Issue 2:
The current .whl does not support python 3.6. Please update to support the latest version of python. Thanks!

C:\WINDOWS\system32>python --version

Python 3.6.0

C:\WINDOWS\system32>pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl

tensorflow-0.12.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
Issue 1:
Challenge Name

Issue Description

Browser Information

Browser Name, Version:

Operating System:

Mobile, Desktop, or Tablet:

Your Code

Screenshot

Issue 2:
This is my code what wrong with it

function nextInLine(arr, item) {

// Your code here

testArr.push(item);

item = testArr[0];

testArr.shift();

return item; // Change this line

}

// Test Setup

var testArr = [5,6,7,8,9];

// Display Code

console.log("Before: " + JSON.stringify(testArr));

console.log(nextInLine(testArr, 7)); // Modify this line to test

console.log("After: " + JSON.stringify(testArr));

see below what they want done

nextInLine([], 1) should return 1

nextInLine([2], 1) should return 2

nextInLine([5,6,7,8,9], 1) should return 5(this is line is the only one not working

After nextInLine(testArr, 10), testArr[4] should be 10

see link below

https://www.freecodecamp.com/challenges/stand-in-line#?solution=function%20nextInLine(arr%2C%20item)%20%7B%0A%20%20%2F%2F%20Your%20code%20here%0A%20%20testArr.push(item)%3B%0A%20%20item%20%3D%20testArr%5B0%5D%3B%0A%20%20testArr.shift()%3B%0A%20%20return%20item%3B%20%20%2F%2F%20Change%20this%20line%0A%7D%0A%0A%2F%2F%20Test%20Setup%0Avar%20testArr%20%3D%20%5B5%2C6%2C7%2C8%2C9%5D%3B%0A%0A%2F%2F%20Display%20Code%0Aconsole.log(%22Before%3A%20%22%20%2B%20JSON.stringify(testArr))%3B%0Aconsole.log(nextInLine(testArr%2C%207))%3B%20%2F%2F%20Modify%20this%20line%20to%20test%0Aconsole.log(%22After%3A%20%22%20%2B%20JSON.stringify(testArr))%3B
Issue 1:
Chris Beams opened SPR-8411 and commented

Affects: 3.1 M2

Issue Links:

#13140 @EnableTransactionManagement conflicts with <cache:annotation-driven /> ("is duplicated by")

Issue 2:
Adriano Andrulis opened SPR-9295 and commented

Make @Cacheable implementation to support exception handling allowing the service method to be called instead of letting the provider exception to break the service.

If the cache is down we should still return the non cached response.

A new parameter i.e. ignoreCacheProviderExceptions parameter could be used to let the developers to decide if they want the behaviour or not.

Affects: 3.1.1

Issue Links:

#13913 Cache Abstraction Exception Handling ("duplicates")

2 votes, 4 watchers
Issue 1:
Describe the bug

InstancedMesh with simple geometry and multiple materials doesn't render correctly

This is probably hardware specific or OS specific issue, because it is reproducible on my macOS machine, but not on my Windows machine

To Reproduce

Steps to reproduce the behavior:

Create InstancedMesh with BoxGeometry and an array of MeshBasicMaterial

Render

See weird behavior

or alternatively check live example

Code

const materialA = new THREE.MeshBasicMaterial({ color: 0x0000ff });
const materialB = new THREE.MeshBasicMaterial({ color: 0xff0000 });
const boxG = new THREE.BoxGeometry(10, 10, 10);
boxG.faces.forEach((face, i) => {
face.materialIndex = i % 2;
});

const mesh = new THREE.InstancedMesh(boxG, [materialA, materialB], 1);
const dummy = new THREE.Object3D();
dummy.position.set(-20, 0, -20);
dummy.updateMatrix();
mesh.setMatrixAt(0, dummy.matrix);
mesh.instanceMatrix.needUpdate = true;
scene.add(mesh);

Live example

https://jsfiddle.net/khjownq1/4/

Expected behavior

Code from Code section should produce a box with red and blue faces

Screenshots

initial position of camera

when rotated there is some weirdness

gif with scene rotation

Platform:

Device: Desktop

MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)

Processor 2,3 GHz Dual-Core Intel Core i5

Memory 8 GB 2133 MHz LPDDR3

Graphics Intel Iris Plus Graphics 640 1536 MB

OS: MacOS Catalina version 10.15.6

Browser:

Google Chrome Version 87.0.4280.88

Firefox 82.0.3 (64-bit)

Safari Version 14.0

(identical behavior)

Three.js version: r123

Note:

It works as expected on Windows machine

Device: Desktop

OS: Windows 10 64-bit

Browser: Google Chrome Version 87.0.4280.88

Three.js version: r123

screenshot of expected behavior

Issue 2:
macOS and iOS seems to have an issue drawing instanced geometries with multiple materials. I am unsure whether this is an issue in Three.js or if the problem lies deeper than that.

Some older macbooks does not display the faulty behavior but I have limited access to different hardware to test on, so I am not sure exactly which generations are affected. I have tested on Safari and Chrome on MacOS and iOS.

Correct render on Linux (Chrome) image

Faulty render on Macbook Air (Chrome) image

Live example codepen

Three.js version

Dev

r107

Browser

All of them (probably)

Chrome

Safari

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

iOS
Issue 1:
Take the following dataframe:

df = pd.DataFrame({'ID':[1,2,1,1,2,3,4,4,4],
'Litmus':[False,False,True,True,False,False,True,True,True]})

I want to count the conditional number of True values, that is, I want to count the number of True values for each ID.

This works fine:

df.groupby('ID')['Litmus'].sum()

However, this does not:

df[4:7].groupby('ID')['Litmus'].sum()

To make it more interesting, this again works fine:

df[4:8].groupby('ID')['Litmus'].sum()

Bizarre behavior.

Issue 2:
Code Sample, a copy-pastable example if possible

import pandas as pd

dat = pd.DataFrame({'a': [1, 1, 2, 2], 'b': [0, 1, 2, 3], 'c': [None, None, 1, 1]})

gp = dat.groupby('a')

case_one = gp['b'].aggregate(lambda x: (x != 0).all())

case_two = gp['c'].aggregate(lambda x: x.isnull().all())

Problem description

By comparing case_one and case_two, it seems that aggregate function turns boolean values sometimes to integers 1 or 0.

For case_one we get,

a
1 False
2 True
Name: b, dtype: bool

However for case_two we get

a
1 1.0
2 0.0
Name: c, dtype: float64

Expected Output

For case_two we should get

a
1 True
2 False
Name: b, dtype: bool

Output of pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-53-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8
LOCALE: en_AU.UTF-8

pandas: 0.19.1

nose: 1.3.7

pip: 8.1.2

setuptools: 23.0.0

Cython: None

numpy: 1.11.0

scipy: 0.17.0

statsmodels: None

xarray: None

IPython: 4.2.0

sphinx: None

patsy: None

dateutil: 2.5.3

pytz: 2016.4

blosc: None

bottleneck: None

tables: None

numexpr: None

matplotlib: None

openpyxl: None

xlrd: None

xlwt: None

xlsxwriter: None

lxml: None

bs4: None

html5lib: None

httplib2: None

apiclient: None

sqlalchemy: None

pymysql: None

psycopg2: None

jinja2: 2.8

boto: None

pandas_datareader: None

This same issue appears in a different environment as well.

INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-53-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_AU.UTF-8

pandas: 0.18.1

nose: 1.3.7

pip: 9.0.1

setuptools: 23.0.0

Cython: None

numpy: 1.11.2

scipy: 0.18.1

statsmodels: None

xarray: None

IPython: 5.0.0

sphinx: None

patsy: None

dateutil: 2.5.3

pytz: 2016.6.1

blosc: None

bottleneck: None

tables: None

numexpr: None

matplotlib: 1.5.1

openpyxl: None

xlrd: None

xlwt: None

xlsxwriter: None

lxml: None

bs4: None

html5lib: None

httplib2: None

apiclient: None

sqlalchemy: 1.1.3

pymysql: None

psycopg2: None

jinja2: 2.8

boto: None

pandas_datareader: None
Issue 1:
Summary of the new feature/enhancement

Need to be able to search within the terminal window. When using bash inside of windows terminal, I am unable to search for a text string inside of the output windo.

Proposed technical implementation details (optional)

I want to be able to press something like ctrl+f and be prompted for a search string. I should type in a string and press a "search" button that will search for the string within the output text area and bring me to the next found instance.

Issue 2:
One of the superior features of iTerm2 (sadly only available on macOS) is it's content search. The search comes in two variants: search from active tab and search from all tabs. For those unfamiliar with iTerm2 and wondering, this feature would roughly equate to almost any editor like Visual Studio Code string search.

I haven't gone in-depth with the output buffering in Terminal yet to validate if this feature is realistically doable at the current state of the Terminal app, but this is a usability feature for multitasking terminal users that would be worth a LOT.
Issue 1:
Environment

Windows build number: Version 10.0.18363.836
PowerToys version: 0.18.1
PowerToy module: Run

Steps to reproduce

Press Alt+Spacebar. Run box appears.

Type "Camera"

Expected behavior

The Camera app should appear in the list of suggestions.

Actual behavior

No suggestions appear.

Screenshots

N/A

Issue 2:
Windows build number: Microsoft Windows [Version 10.0.18363.836]

PowerToys version: 0.8

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

# Steps to reproduce

open run search camera

# Expected behavior

Camera should appear in run
# Actual behavior

Camera not appearing in run

# Screenshots

![2020-05-22 (2)](https://user-images.githubusercontent.com/50367124/82690825-8df7ec80-9c7a-11ea-98d6-191e2799e28c.png)
Issue 1:
Dubbo Version: 2.5.3

I have a large provider cluster with more than 30 instances. And I found that in client side, the consumer uses a stand alone thread pools for each instances, so there are 30 thread pool to consume the service, which I can find out from the jstack that I have many diffrent thread groups named like DubboClientHandler-IP1-XXX.

Question1:

I guess the consumer uses stand alone cached thread pool for each provider instances but with the max pool size of "default.actives", am I right?

Question2:

But the problem is that, I hope to maximize the tps , so I provide a very large cluster, but now the consumer will suffer from high cpu consumption due to large thread counts.

Can I change the thread model in consumer side? Like I use a shared thread pool so that I can control the maximum thread size.

我有一个非常大的provider 集群（30个实例）。然后我们发现在客户端，为每一个实例，都准备了一个独立线程池，所以我们看到有30个线程池以去发起消费请求，这个从jstack堆栈上可以证明，因为里面很多线程组的名字是类似DubboClientHandler-IP1-XXX，其中ip都是不一样的。

问题1：

按照我的猜测，每个实例是应该会有一个cached的线程池（可回收），然后其中的最大线程数是default.actives，是否如此？

问题2：

之所以我们提供如此大的服务集群，是因为我们希望最大化TPS，但现在集群是大了，但是消费者又因此导致巨大的线程消耗（高CPU）。我们能否通过配置改变这个线程的模型，例如用一个共享的线程池去处理所有的服务实例，这样最大的线程数便可控了。

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.6.5

Operating System version: win10

Java version: 1.8

Steps to reproduce this issue

使用dubbo-spring-boot-starter,之前是用 dubbo-spring-boot-starter 自动引入的 2.6.2,没问题(除了QOS端口修改不生效),后面听说 2.6.5解决了QOS端口修改不了的问题.

然后通过单独修改 dubbo 版本号的方式升级到了 2.6.5,其他什么都没动.启动项目后报错: com.alibaba.spring.util.PropertySourcesUtils 找不到.

对比了报错部分的源码, 2.6.2 使用的是 com.alibaba.dubbo.config.spring.util.PropertySourcesUtils,该类就在dubbo的jar包里

而 2.6.5 用的是 com.alibaba.spring.util.PropertySourcesUtils

实在找不到 2.6.5 使用的 PropertySourcesUtils 在哪个包......