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

2.6.10

Reproduction link

https://codepen.io/anon/pen/pXjBQq

Steps to reproduce

Trigger the mousemove event in the result iframe of Codepen. The text "false" is changed to "true"

Compare the two <progress> elements. One is indeterminate and the other is not

What is expected?

Both <progress> elements should be in an indeterminate state, i.e. not having a value attribute set.

What is actually happening?

There are two <progress> elements here.

The first has :value="progress" and progress === undefined (verified by the text "true")

The second has :value="undefined"

Even if both these effectively are identical (set value to undefined), they are rendered differently. The first is not indeterminate and the second is.

Note that this does not happen if the progress variable is set initially to undefined. It must be changed e.g. via the event callback.

This worked as expected in 2.4.2 but not in 2.4.3 and later.

Issue 2:
Version

2.5.17

Reproduction link

https://codesandbox.io/s/986x7y34v4?expanddevtools=1

Steps to reproduce

First of all, this is the first Issue I've created on this project. So I'll take this opportunity to thank all of the contributors and maintainers for the awesome and astonishing work they do for Vue. THANKS!

Having a functional component and trying to use it inside a v-for produces a Duplicate keys detected error, even if using :key="". It's fixable by just converting the component to a non-functional one.

According to my understanding of functional components and the way :key="" works, even functional components (without a state) should be :key-able, as that isn't related to the state of the component itself.

According to Chris Fritz (https://twitter.com/ivansieder/status/1030374407515058177) the issue is also present in earlier versions.

What is expected?

The v-for renders the component without any error.

What is actually happening?

The v-for renders the component with a Duplicate keys detected error.
Issue 1:
We can now run tests under helgrind. For bonus fun we should be able to run under thread sanitizer (a google-backed valgrind plugin) which does similar-but-different things.

Issue 2:
Currently, the following fails to compile:

struct Foo<T>;

impl<'a, T> Foo<&'a T> {
fn foo(&self) {}
}
impl<'a, T> Foo<&'a mut T> {
fn foo(&self) {}
}

The error:

<anon>:7:5: 7:21 error: duplicate definition of value `foo`
<anon>:7 fn foo(&self) {}
^~~~~~~~~~~~~~~~
<anon>:4:5: 4:21 note: first definition of value `foo` here
<anon>:4 fn foo(&self) {}
^~~~~~~~~~~~~~~~

If you construct an analogous situation using two separate impls of a trait providing foo, it works just fine, because there is no overlap. Inherent impl blocks could be similarly flexible.
Issue 1:
Not sure if the problems go together, but I cant copy from atom and paste somewhere else (ex: firefox). Also atom crashed sometime when pasting from other place to atom and this is the screen that appears

I'm on ubuntu 14.04, Atom 0.189.0

Issue 2:
No drop-down for Cut,Copy &Paste Only Reveal in Tree View shown

Pasting any text using Ctrl+v causes pasting text twice

Backspace deletes 2 characters

Right key moves 2 cursor further

Down key moves 2 lines down

Information

Atom Version: 0.132.0

OS: Windows 8.1
Issue 1:
Checklist

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the master branch.

I have included all related issues and possible duplicate issues in this issue

(If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

None

Possible Duplicates

None

Description

The existing documentation does not show the option to send some tasks ids

Suggestions

Update the document

Issue 2:
Checklist

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the master branch.

I have included all related issues and possible duplicate issues in this issue

(If there are none, check this box anyway).

Description

I was trying to add "task_annotations" to my celery configuration, I read the docs:

https://docs.celeryproject.org/en/latest/userguide/configuration.html#task-annotations

And in the list above, saw CELERY_TASK_ANNOTATIONS. I used that and realized after a while that it didn't work.

After a while of debugging CELERY_ANNOTATIONS worked.

Suggestions

While debugging, I saw that in:

celery/celery/app/defaults.py

Line 250
in
240ef1f

__old__=OLD_NS,

The value for __old__ is celery_{} and not celery_task_{}

I'm assuming this issue is there for a bunch of the other configs like acks_late and always_eager and others too probably.

The docs seem to say use CELERY_TASK, but looks like the namespace in the code is CELERY_

In the task configs, I seem to only use CELERY_TASK_SERIALIZER, and here I can see that the value for old is explicitly set and so it works:

celery/celery/app/defaults.py

Line 289
in
240ef1f

serializer=Option('json', old={'celery_task_serializer'}),
Issue 1:
hello!

see screen

on windows i haven't any problems, but on unix atom, and ts loader emits errors. I think that its compiler mistake.

windows allow use not caseSensetive strings

Issue 2:
TypeScript Version:

1.8.7

1.8.0

1.7.5

Code

{
"exclude": ["node_modules"]
}

Expected behavior:

Shouldn't build any .ts files in node_modules.

Actual behavior:

Builds files in node_modules. If target: es6 I get lots of SyntaxErrors in node.
Issue 1:
I think the dataset section in user guide (http://scikit-learn.org/dev/datasets/index.html) is hard to follow. See the subsections:

5.1. General dataset API
5.2. Toy datasets
5.3. Sample images
5.4. Sample generators
5.5. Datasets in svmlight / libsvm format
5.6. Loading from external datasets
5.7. The Olivetti faces dataset
5.8. The 20 newsgroups text dataset
5.9. Downloading datasets from the mldata.org repository
5.10. The Labeled Faces in the Wild face recognition dataset
5.11. Forest covertypes
5.12. RCV1 dataset
5.13. Kddcup 99 dataset
5.14. Boston House Prices dataset
5.15. Breast Cancer Wisconsin (Diagnostic) Database
5.16. Diabetes dataset
5.17. Optical Recognition of Handwritten Digits Data Set
5.18. Iris Plants Database
5.19. Linnerrud dataset

I can't find the logic behind such organization.

I think we should first divide the section into two subsections: one for dataset loaders, one for sample generators. For dataset loaders, we can further divide according to fetch_ and load_. For sample generators, we can further divide according to different tasks (e.g., regression, classification).

Related to #10555

What do others think?

Issue 2:
Here is an issue that I came across with Count Vectorizer and its use with Column Transformer and Pipelines

https://stackoverflow.com/questions/54541490/sklearn-text-and-numeric-features-with-columntransformer-has-value-error/57970935#57970935

I found a work around using by removing the column name to be processed directly instead of just a list.

This may be the way that it is intended to function, but if not, a simple bug fix would be just to add a simple line of code to change the list of column names to the content of the list if the length of the list is one.

Description

Steps/Code to Reproduce

Expected Results

Actual Results

Versions
Issue 1:
Environment

Windows build number: 10.0.18362.239

Windows Terminal version (if applicable): 0.3

Relatively clean OS, Ubuntu and WSL installed.

Steps to reproduce

Open the Terminal app

Close the Terminal app

Only happens when the terminal is closed and PS is the active tab. Does not happen if Ubuntu or command line is the active tab or if I close a PS tab but Terminal app stays open.

Expected behavior

I expect it to close with no errors

Actual behavior

An error pops out telling me that "PowerShell has stopped working" as in the screenshot.

"Standard" PowerShell works just fine.

Issue 2:
We have a job object for the conhost in PTY mode that is supporting the connection on each tab. But this was because the conhosts weren't exiting.

However, conhosts should just exit when they have nothing to do.

This represents taking the job object off and figuring out what the actual underlying issue is that is keeping the conhost from realizing it can just exit.
Issue 1:
My issue is about scipy.special.owens_t not returning the correct value when the second argument is infinity.

For example, scipy.special.owens_t(0,numpy.inf) should return 0.25, not 0.5.

It looks as if scipy.special.owens_t(x,numpy.inf) always returns twice the value that it should do. Please see https://en.wikipedia.org/wiki/Owen%27s_T_function for some basic information about the function. I have given some example code where the second argument gets successively larger, and it is clear what the asymptotic value should be.

Reproducing code example:

large = 1e16
larger = 1e32
largest = numpy.inf
scipy.special.owens_t(0, large) # almost equal to 0.25
scipy.special.owens_t(0, larger) # equal to 0.25
scipy.special.owens_t(0, largest) # equal to 0.5 It should be 0.25

Scipy/Numpy/Python version information:

1.5.2 1.19.1 sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0)

Issue 2:
Describe your issue.

Hello,

owens_t(0, inf) gives 0.5. However owens_t(a, inf) is atan(a)/(2*pi) , so owens_t(0, inf) shoud give 0.25.

Reproducing Code Example

from scipy import special
from math import atan, pi, inf

special.owens_t(0,inf)
# 0.5
atan(inf)/2/pi
# 0.25

Error message

No error message

SciPy/NumPy/Python version information

scipy 1.7.1, python 3.9.5
Issue 1:
Version

2.6.8

Reproduction link

https://codesandbox.io/s/wwoxp636jk

Steps to reproduce

Add a click listener on window in a child component

What is expected?

Before Vue 2.6, the click event was not propagated to the child component because it was not created yet.

What is actually happening?

The click event is now propagated to the child after it is created and mounted.

Do I need now to explicitly add the modifier .stop to all my parent click events if I add click listeners on window in my child components?

Issue 2:
Version

2.6.0-beta.1

Reproduction link

https://codepen.io/frlinw/pen/OreZMz

Steps to reproduce

Click on "Click me"

What is expected?

demo with v2.5.22 show the expected behavior: https://codepen.io/frlinw/pen/XoLYMR

the "Dropdown" component should not be able to handle a click event which is supposed to create it

What is actually happening?

the Dropdown is automatically closed because it handles the click event
Issue 1:

Issue 2:
Apologies if this has already been asked, couldn't find anything though. But do you have the capability to utilize multiple objective functions, say a "Split" similar to "Merge"? The goal would be to implement a model like the one given here:

https://github.com/rbgirshick/fast-rcnn

That is, have a classifier and a regression objective function that both provide gradient information to backprop.
Issue 1:
Preflight Checklist

[x ] I have read the Contributing Guidelines for this project.

[x ] I agree to follow the Code of Conduct that this project adheres to.

[x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

7.1.2

Operating System:

Ubuntu 18.04.3 LTS

Last Known Working Electron version:

6.0.6

Expected Behavior

BrowserWindow created in fullscreen mode

Actual Behavior

Can see toolbar with File, Edit, View etc. menus

To Reproduce

$ git clone https://github.com/webianproject/shell-kiosk.git
$ cd shell-kiosk
$ npm install
$ npm start

BrowserView is instantiated here https://github.com/webianproject/shell-kiosk/blob/master/chrome.js#L17

this.mainWindow = new BrowserWindow({
fullscreen: true,
webPreferences: {
nodeIntegration: true,
webviewTag: true
}
});

Additional Information

Used to work on Electron 6.0.6. First noticed the problem after upgrading to Electron 7.1.2.

Still works on Mac OS.

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Electron Version:

7.1.2

Operating System:

Windows 10 1909

Last Known Working Electron version:

7.x.x (in another Windows 10 1909 computer)

Expected Behavior

The menu that appears below the app title (the one with File, Edit, View...) must dissappear.

Actual Behavior

Nothing. It does nothing. The menu is still there. as if nothing happened.

To reproduce

This is basically the code I am testing:

const { app, BrowserWindow } = require('electron');

function createWindow() {

let win = new BrowserWindow({

width: 800,

height: 600,

webPreferences: {

nodeIntegration: true,

}

})

win.setMenuBarVisibility(false);

win.loadFile('./public/index.html')

}

app.on('ready', createWindow)

Everything works as expected, except the menu, which it still shows.

Screenshots

https://i.imgur.com/kJJf0JE.png
Issue 1:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
2.8+

If I register a custom expression language function via a class implementing ExpressionFunctionProviderInterface and tagging it with security.expression_language_provider then I cannot use this function within an allow_if expression in my access control config.

Specifically in my case I have the is_granted function registered with a custom provider. Using it with the authorization checker for example works fine:

$authorizationChecker->isGranted(new Expression("is_granted('something') and/or ..."));

However using it inside the access control config results in an error:

access_control:
- { path: ^/, allow_if: "is_granted('some_custom_attribute')" }

=>

(1/1) SyntaxErrorThe function "is_granted" does not exist around position 1 for expression `is_granted('some_custom_attribute')`.
--
in Parser.php (line 198)
at Parser->parsePrimaryExpression()in Parser.php (line 149)
at Parser->getPrimary()in Parser.php (line 110)
at Parser->parseExpression()in Parser.php (line 100)
at Parser->parse(object(TokenStream), array('object', 'request', 'roles', 'token', 'trust_resolver', 'user'))in ExpressionLanguage.php (line 108)
at ExpressionLanguage->parse('is_granted(\'some_custom_attribute\')', array('object', 'request', 'roles', 'token', 'trust_resolver', 'user'))in SecurityExtension.php (line 671)
at SecurityExtension->createExpression(object(ContainerBuilder), 'is_granted(\'some_custom_attribute\')')in SecurityExtension.php (line 224)

This happens because custom function providers are not loaded at all within the SecurityExtension:

https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php#L741

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.2.9

It's exactly the same problem of this issue : #21305

Except i using it in securty.yml allow_if and i got :

Error: The function "test" does not exist around position 1.

With @Security annotation everything is ok.
Issue 1:
In ui.window.sendPlatformMessage, we should have a way to pass an error callback.

Once we had that, in PlatformMessages._sendPlatformMessage, we could wire it up so as to call Completer.completeError()

Issue 2:
https://docs.flutter.io/flutter/services/HostMessages-class.html

We can use the Futures error handling API for this. Throwing a native exception crashes the app (on Android), so it's not a good way of handling errors.

The HostMessages API should complete with an error if you send a message to native code and a handler isn't installed. (Right now on Android it completes with null and on iOS it never completes.)
Issue 1:
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.14.5

TensorFlow installed from (source or binary): pip install tensorflow==1.14.0

TensorFlow version (use command below): 1.14.0

Python version: 3.7.4 with virtualenv

Describe the current behavior

When I try to run tensorboard --logdir=. I get this ValueError: Duplicate plugins for name projector

Describe the expected behavior

Tensorboard should launch

Code to reproduce the issue

tensorboard --logdir=.

Other info / logs

Ideally, I would ultimately like to run tensorboard --logdir=gs://[bucket_name], but I have not even been able to use tensorboard for models with logdirs that are local.

Traceback (most recent call last):
File "/Users/len/research/.venv/bin/tensorboard", line 10, in <module>
sys.exit(run_main())
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/main.py", line 64, in run_main
app.run(tensorboard.main, flags_parser=tensorboard.configure)
File "/Users/len/research/.venv/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/Users/len/research/.venv/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/program.py", line 228, in main
server = self._make_server()
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/program.py", line 309, in _make_server
self.assets_zip_provider)
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/backend/application.py", line 161, in standard_tensorboard_wsgi
reload_task)
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/backend/application.py", line 194, in TensorBoardWSGIApp
return TensorBoardWSGI(plugins, path_prefix)
File "/Users/len/research/.venv/lib/python3.7/site-packages/tensorboard/backend/application.py", line 245, in __init__
raise ValueError('Duplicate plugins for name %s' % plugin.plugin_name)
ValueError: Duplicate plugins for name projector

Issue 2:
Hi!

So far, I I have to say that TensorBoard is a really great tool to analyze the training procedure.

However, I often find myself comparing various runs and wondering "wait, which version of my code was that and which parameters did I use?".

Currently, the only way to "document" a Run is the name of the log directory - so I find myself encoding all kinds of cryptic acronyms into the directory name.

What would be really awesome is some sort of feature that allows the training scripts to pass Data to the TensorBoard logs. This could be in any form, maybe as sort of "tags" or as key-value pairs, or simply as a plain old string called "description" or something.

Is this something that sounds useful to others as well? Is this feasible?
Issue 1:
Bug report

Bug summary

After upgrading to 3.0.0, colormaps added to images with mpl_toolkits.axes_grid1.make_axes_locatable().append_axes overwrite the entire image. This happens in a jupyter notebook with %matplotlib inline but not with %matplotlib notebook. Also sometimes seen in scripts saving to .PNG (but I cannot reproduce it today).

Code for reproduction

This should be run as a Jupyter Notebook so see the problem.

import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable
import numpy as np

a = np.random.normal(size=(300,300))
cmap = 'hot'

fig, ax = plt.subplots(figsize=(6,5))
imshow = ax.imshow(a,cmap=cmap)
divider = make_axes_locatable(ax)
cax = divider.append_axes("right", size="5%", pad=0.05)
plt.colorbar(imshow, cax=cax)

Actual outcome

The colorbar overwrites the entire image.

Expected outcome

A nice colorbar next to the image - it worked in v. 2.1.1 and I am 99% sure it worked in later 2.X versions of matplotlib.

Matplotlib version

Operating system: MacOS 10.13.6 AND Ubuntu 18.04.1

Matplotlib version: 3.0.0

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

Python version: 3.7.0 and 3.6.6

Jupyter version (if applicable): notebook 5.7.0

Other libraries:

Issue 2:
Problem

As discussed in #23525, the legend treats every label as distinct and will therefore display them even when visually indistinguishable.

Proposed solution

@timhoffm raised the good point that we don't want to break the artist-(label, handle) link in case the artist gets updated, so I think an alternative solution is maybe to have this logic in the legend. Something like a duplicate keyword argument to legend:

duplicate=True, default, current behavior

duplicate=False - triggers a check of legend objects. If multiple legend handles have the same properties (class, color/edgecolor, hatch, size/width/edgewidth, etc) and the same label, then a new handle with those properties linked to all the artists is shown in place of the original handles.

I'm not sure if this is even doable in the current architecture, but if possible this would be designed so that updates to properties that update handles/legends propagate back to create new entries on the legend as needed. The advantage of this approach is that it would facilitate explicitly linking legend labels & handles to multiple artists.

I think currently duplicates are eliminated manually either by omitting the labels on some artists or creating a custom legend handle. Neither approach preserves a link between a legend entry and all the artists it is intended to describe.
Issue 1:
Issue Type:

Can you help us out in labelling this by telling us what kind of ticket this this? You can say:

Bug Report

Ansible Version:

winrm_v2_fixes b07f8e7 (currently in PR, shouldn't matter)

Ansible Configuration:

N/A

Environment:

Control node: ubuntu 14.04, target node Windows 2012R2

Summary:

I have a role with a delegate_to: 127.0.0.1 which loops but should never report "changed". Although changed_when: Never is set, it reports changed on V2. The V1 branch stays silent as it should

Steps To Reproduce:

Use the role trondhindenes.win_reboot with the following vars:

winreboot_simulate: yes (note that this will reboot the target node)

Expected Results:

None of the task in the role should report change

Actual Results:

The task "Looping while waiting for WinRM" reports changed.

Issue 2:
Issue Type:

Bug Report

Ansible Version:

1.9.4

Environment:

Controller OSX 10.10.5

Targe nodes CentOS 6.6

Summary:

Using ":" as a key:value format in /etc/ansible/facts/* it seems the behavior varies, sometimes omitting one of the values and displaying only the first one while other times if I have only 1 line using ":" and the others are without then it's displaying the output accurate .

Steps To Reproduce:

Different examples bellow :

1

[tags]
role:db
role:slave

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "slave"
}
},

2

[tags]
role:db=
role:slave=

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "slave="
}
},

3

[tags]
role:db=
slave=

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "db=",
"slave": ""
}
},

4

[tags]
role:db=
role:slave=

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "slave="
}
},

5

[tags]
role:db
role:slave

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "slave"
}
},

Expected Results:

[tags]
role:db
role:slave

success >> {
"ansible_facts": {
"ansible_local": {
"monitoring": {
"tags": {
"role": "db",
"role": "slave"
}
},

Actual Results:

See steps To Reproduce section.