WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
If you use $CELERYD_CHDIR with $CELERYD_OPTS and use a relative path to the dir, then status needs to do the same or otherwise it won't find the application.

Also, status and start look at different option env variables which leads to duplication (the -A option needs to be repeated).

As a side note, I'm curious if anyone is using these init.d scripts in production successfully? Because I've run into several issues (all fixed imminently, thanks Ask!) and I'm wondering if there's a better working alternative.

Issue 2:
currently celery, by default, will add a set of fixtures and a mark, which can be confusing to new developers on a project when running pytest --fixtures and begin using them even through we've not yet opted into and started configuring them.

An alternative is to use an approach like https://github.com/aio-libs/pytest-aiohttp/ where there is a shim package that just lists an entrypoint, and depends on aiohttp.

Those that don't want to install the shim package can add pytest_plugins = 'celery.contrib.pytest' to their pytest.ini

Checklist

I have checked the issues list

for similar or identical feature requests.

I have checked the pull requests list

for existing proposed implementations of this feature.

I have checked the commit log

to find out if the if the same feature was already implemented 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

Brief Summary

Design

Architectural Considerations

None

Proposed Behavior

Proposed UI/UX

Diagrams

N/A

Alternatives

None
Issue 1:
Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Our application has credit card input fields hosted in iframes and we make use of postMessage restricted to a targetOrigin.

The problem is that ReactInputSelection tries to access the contentDocument of the iframe but this result in a security violation on iOS, breaking the post message flow.

// react-dom/src/client/ReactInputSelection.js
function getActiveElementDeep() {
let win = window;
let element = getActiveElement();
while (element instanceof win.HTMLIFrameElement) {
// Accessing the contentDocument of a HTMLIframeElement can cause the browser
// to throw, e.g. if it has a cross-origin src attribute
try {
win = element.contentDocument.defaultView;
} catch (e) {
return element;
}
element = getActiveElement(win.document);
}
return element;
}

This seems to work fine in most of the major browsers except on iOS 11.2.1.

By changing the code bellow to use contentWindow instead fixed the issue:

// This results in 'Blocked a frame with origin' on iOS
// and the post messages are not being sent
win = element.contentDocument.defaultView;

// fix the issue
win = element.contentWindow;

Steps to reproduce:

1 - Connect your phone to Safari's developer tools

2 - Visit the code sandbox sample at https://codesandbox.io/s/vv8w1zwm90

3 - Tap on the input field hosted on codepen

4 - Tap on the console tab on code sandbox

5 - It should log Blocked a frame with origin "https://codesandbox.io" from accessing a frame with origin "https://vv8w1zwm90.codesandbox.io". Protocols, domains, and ports must match

What is the expected behavior?

Accessing an iframe should not result into cross origin security error.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React 16.8.4

iOS 11.2.1

Issue 2:
hey folks, looks like this code added small issue with safari and it could flood devtools console output with messages like this:

As I understand it happens here and I see you catch the error, but safari still adds the error message if you have iframes with different origin
Issue 1:
I am not sure which package to blame for this but autocomplet does not work with non-ascii words.

When I type eg. "Immat" I get the autocomplete proposal "Immaterialgut" but not "Immaterialgüter". I guess autocomplete does not work with non-ascii chars at all. Thatmay be ok for programmers but not for writers, because we have a lot of non-ascii words out there.

Issue 2:
Current implementation seems to break words on unicode characters - so when I write "somēthing" in the editor, it gets tokenised into "som" and "thing" for purposes of autocomplete.

If I follow the code correctly, it's due to JS regex used at Provider.wordRegex not being unicode-enabled.

Possible solutions:

use a character whitelist like here;

bring in unicode-aware library like XRegExp;

Which would you rather see implemented - nasty regex without additional libraries, or cleaner regex plus additional dependency? Or something else entirely?
Issue 1:
I just tested the Gallery app on my tablet (Samsung Galaxy Tab E) and I ran into an issue. The toolbar or at least a portion of the upper part of UI is cropped.

Flutter Version

Flutter • channel master • https://github.com/flutter/flutter.git

Framework • revision b41645c (2 hours ago) • 2016-10-28 14:37:17

Engine • revision 1bc79de

Tools • Dart 1.21.0-dev.2.0

Issue 2:
Shrine on a Nexus 9:
Issue 1:
I ran into this when trying to add a user toggle for switching between point and linear filtering like so:

const renderTarget = new WebGLRenderTarget();

// ...render scene...

renderTarget.texture.minFilter = NearestFilter;
renderTarget.texture.needsUpdate = true;

// rendering fails because texture can't be updated

Here's a fiddle demonstrating the issue (needsUpdate is set in the render loop):

https://jsfiddle.net/qg7rmu4k/

I see that issue #9327 was closed previously for not having a use case attached to it. In this case it's because I'm setting needsUpdate in order to change any of the texture sampling fields.

Issue 2:
Sometimes, when we want to save some memory, it happens that we have to reuse a render target, by just changing some possible parameters on the fly. I am talking about wrapping and filtering, obviously not format and type. Changing these parameters is (generally) fast enough (depending on the drivers).

However, it is not currently possible to do that, because of this part of the code:

https://github.com/mrdoob/three.js/blob/dev/src/renderers/webgl/WebGLTextures.js#L225-L244

As a WebGLRenderTarget has obviously no image attribute.

Maybe I am missing something, but it looks like the data uploading and the parameters and couple together. Am I the only one looking for a change on this side?

It would be nice to separate the data uploading from the parameters.

Three.js version

All of them

Browser

All of them

OS

All of them
Issue 1:
I have a change to the gomobile tool that appears to make .app bundles produced with Xcode 7. It needs a bit more testing.

The gist of it is that the DevelopmentTeam ID needs to be in the project file. Unfortunately this requires a bit of machinery to detect, and I fear on complex setups we will have to guess which is the correct ID. We probably already were taking the first team ID, so that's not a new problem.

Issue 2:
Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.8

gomobile version +0f31740 Wed Apr 19 17:20:05 2017 +0000 (android,ios); androidSDK=

What operating system and processor architecture are you using (go env)?

macos

xcode 8.1

What did you do?

build example flappy and upload it to itunesconnect

edit below and go install gomobile

--- a/cmd/gomobile/build_iosapp.go

+++ b/cmd/gomobile/build_iosapp.go

@@ -31,7 +31,8 @@ func goIOSBuild(pkg *build.Package) (map[string]bool, error) {

infoplist := new(bytes.Buffer)

if err := infoplistTmpl.Execute(infoplist, infoplistTmplData{

// TODO: better bundle id.

BundleID: "org.golang.todo." + productName,

BundleID: "org.xxxx.mug",
Name: strings.Title(path.Base(pkg.ImportPath)),
}); err != nil {
return nil, err

@@ -366,6 +367,7 @@ const projPbxproj = `// !$UTF8$!

CLANG_WARN_UNREACHABLE_CODE = YES;

CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;

"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";

DEVELOPMENT_TEAM = xxxxxxxxx;//
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";

gomobile build -target=ios golang.org/x/mobile/example/flappy

flappy.app --itunes--> flappy.ipa

xcode Application Loader Upload.

What did you expect to see?

go build app upload success

What did you see instead?

Application Loader Reports

ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.xxxx.mug [Payload/flappy.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."

Bundle id is correct. Provision profile exist.
Issue 1:
After finishing the exercise I hit "run test" but nothing happens. I had the same problem few hours ago with he new waypoint (10 on Jquery)

Challenge Waypoint: Target the Parent of an Element Using jQuery has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.

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

My code:

<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red")

});
</script>

<!-- Only change code above this line. -->

<body>
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
</body>

Issue 2:
A bug seems to be present: Chrome 46.0.2490.86 m; Windows 8.1 with respect to appendTo() function.

$("#target2").appendTo($("#right-well")); does work, but not the $("#target2").appendTo("#right-well");, the latter being suggested in the tutorial.

Hard reload and cache clearing did not seem to solve the problem.
Issue 1:
Apache Airflow version

2.4.0

What happened

Task policies on airflow 2.4 are raising ERROR [airflow.models.dagbag.DagBag] can't set attribute error on trying to override the values.

What you think should happen instead

No response

How to reproduce

Override an attribute using task_policy

on config/airflow_local_settings.py using the docker image apache/airflow:slim-2.4.0-python3.10

def task_policy(task):
task.owner = "newowner"
task.on_failure_callback = lambda context: print(context)

Operating System

docker image apache/airflow:slim-2.4.0-python3.10

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
Apache Airflow version

2.3.2 (latest released)

What happened

Using cluster policies, I set a default on_failure_callback.

This works great with all tasks expect with task new task mapping.

What you think should happen instead

Policies should work on all tasks, including the dynamic mapping or generate an exception with the error.

How to reproduce

Overwrite any parameters using the task_policy.

Operating System

Official docker image

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct
Issue 1:
Issue Type:

“Bug Report”

Ansible Version:

v1.5.1-1155-gf09c0c7

Environment:

Debian mix of unstable/testing

Summary:

There was #1509 some time ago which presumably resolved similar issues before. Trying in current devel (v1.5.1-1155-gf09c0c7):

$> mkdir venv; virtualenv venv
New python executable in venv/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
$> venv/bin/python setup.py install
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
creating /home/yoh/proj/misc/ansible/venv/lib/python2.7/site-packages/ansible
...
running install_scripts
copying build/scripts-2.7/ansible-doc -> /home/yoh/proj/misc/ansible/venv/bin
copying build/scripts-2.7/ansible-vault -> /home/yoh/proj/misc/ansible/venv/bin
copying build/scripts-2.7/ansible -> /home/yoh/proj/misc/ansible/venv/bin
copying build/scripts-2.7/ansible-pull -> /home/yoh/proj/misc/ansible/venv/bin
copying build/scripts-2.7/ansible-playbook -> /home/yoh/proj/misc/ansible/venv/bin
copying build/scripts-2.7/ansible-galaxy -> /home/yoh/proj/misc/ansible/venv/bin
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible-doc to 755
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible-vault to 755
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible to 755
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible-pull to 755
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible-playbook to 755
changing mode of /home/yoh/proj/misc/ansible/venv/bin/ansible-galaxy to 755
running install_data
copying ./library/utilities/accelerate -> /usr/share/ansible/utilities
error: could not delete '/usr/share/ansible/utilities/accelerate': Permission denied

still tries to deal with '/usr/share'

Steps To Reproduce:

see above

Issue 2:
Issue Type:

Bug Report

Ansible Version:

ansible 1.4.5

Environment:

Debian 7

Summary:

Role vars and role defaults are not available in hostvars.

Steps To Reproduce:

Consider host a in group appservers. If host a has role foo and this role has some variable in roles/foo/defaults/main.yml or roles/foo/vars/main.yml then this role is not available in hostvars during the following iteration:

{% for host in groups['appservers'] %}
{{ hostvars[host]|to_nice_json }}
{% endfor %}

Expected Results:

Variable is available in hostvars

Actual Results:

Variable is missing in hostvars
Issue 1:
Both type and value parameters. This compiles just fine, short of the unused-variable warnings:

fn f<T, T>(t: T, t: T) {}

That seems like a fairly useless feature, I imagine people would only ever do this by accident and then get fairly confused about why the "wrong" parameter is being used, if they somehow don't run into type errors. So I am posting this here in the hope it is a bug and not something that needs an RFC to be fixed.

This is half a duplicate of #15969 but not a duplicate of the issue that is a duplicate of, imo.

Issue 2:
Currently the crate-file-name flag to the compiler can return more than one name if a build is made against a different crate type than the library defines. For instance if the crate type is set to lib it will generate an rlib, even if --crate-type=dylib is defined. This obviously is not a fault of the --crate-file-name parameter but the compiler itself in that it does not override the default crate type but append it to the list of things to build.

The reason this is frustrating is because --crate-file-name is very useful for building makefiles but it becomes much more complicated to manage if a target can produce more than one output file.
Issue 1:
This may be a duplicate of #7368, but since that bug involves (external) modules and this one just involves namespaces (or internal modules), I figured I would report it.

Given a namespace X, if you have import Y = X and also declare a variable X, TypeScript thinks that Y is the variable X. For example, my angular.d.ts has:

declare var angular: angular.IAngularStatic;
import ng = angular;
declare namespace angular {
...

Now when I call a member of IAngularStatic on ng, I get no compile error, e.g.

let copy = ng.copy(item);

compiles fine, but of course I get an error at runtime because ng does not exist.

This is with TypeScript 1.8

Issue 2:
Hi there,

Not sure whether this has been already mentioned before (I would be surpirsed if it never was)... Wouldn't it be a good idea to name arrow functions, which is what apparently ES6 does?. Think about the benefits of this in the stacktrace. It's quite useful to have a "named" function in there, instead of an anonymous one ;-)

So, this:

const double = x => x * 2;

would be transpiled down to:

var double = function double(x) {
return x * 2;
};

Just to mention that Babel does it like that ;-)

Thanks.
Issue 1:
While metrics can be useful, some of us would prefer not to send extra data over the wire. Could you please set it to ask us if we want to send analytics on start and disable it if we say no, rather than just assuming we do?

Issue 2:
You need to leave the metrics disabled by default and then at least ask users, first time they activate the editor, whether they would allow it to be enabled.

I for one will not allow spyware to run on my box, hence I disable or remove such applications, but Atom doesn't provide a clue in the application, so if someone haven't seen the FAQ, they don't know.

This is a problem because Atom is then collecting data WITHOUT consent, even if it is in the FAQ and even if the user has downloaded the application.

Besides, I find the whole concept of tracking users with the excuse of collecting useful data ridiculous!

In the entire history of Open Source this has never been needed and users are extremely helpful in sharing information, data, and reports about bugs, how they use the application, and other stuff.

The metrics package in Atom should to be removed from the default install, and then you can leave the package for anyone who want to install it by himself from the installation menu. Or as suggested, leave it OFF at first.

Another important point is that Atom is NOT simply collecting statistical data! If that where the case there certainly is no need to create a SHA1 of each installation MAC address. That is NOT collecting statistical data, that is specific and individual surveillance, which is unacceptable.
Issue 1:
Bug report

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

df = pd.DataFrame({'Depth': [0.2, 0.4, 0.4, 0.4, 0.4, 0.4, 0.6, 0.4, 3.2, 2.0],
'DateTimeUTC': [pd.Timestamp('2018-03-28 06:25:08'),
pd.Timestamp('2018-03-28 06:25:49'),
pd.Timestamp('2018-03-28 06:27:06'),
pd.Timestamp('2018-03-28 06:32:11'),
pd.Timestamp('2018-03-28 06:32:59'),
pd.Timestamp('2018-03-28 06:34:02'),
pd.Timestamp('2018-03-28 06:35:38'),
pd.Timestamp('2018-03-28 06:37:04'),
pd.Timestamp('2018-03-28 06:39:08'),
pd.Timestamp('2018-03-28 06:40:52')]})

x = np.asarray(df['DateTimeUTC'])
y = np.asarray(df['Depth'])

fig, axs = plt.subplots(2, 1)

ax = axs[0]
ax.scatter(x, y)
ax.set_title("using scatter")

ax = axs[1]
ax.plot(x, y)
ax.set_title("Using plot")

fig.tight_layout()
plt.show()

Matplotlib version

Matplotlib version: master

Issue 2:
This demo:

https://matplotlib.org/examples/axes_grid/demo_parasite_axes2.html

If I copy/paste all the code from that, the output is a graph doesn't have the "Temperature" axis - neither the axis label, nor the tick labels are there.
Issue 1:
I often see the header displayed twice in the output area. I noticed this in HTML/CSS and Bootstrap waypoints so far.

cc: @QuincyLarson

Issue 2:
Challenge http://www.freecodecamp.com/challenges/waypoint-line-up-form-elements-responsively-with-bootstrap has an issue.

I think the problem is happening on all Waypoint pages; the device right side of the screen where the CatPhotoApp page displays the information is being displayed duplicated;

Another point is that the HTML / CSS code is not completely displayed when the page is loaded, it is necessary to click or edit the code so that the code from the previous lesson is displayed correctly;
Issue 1:
When sending a Response with the Flash server, and the user provides a Content-Length header, the Flash server will add an additional Content-Length header with the content length as it calculated it, where as if the Content-Length is provided to the "native" stable server, it does not duplicate the header (I am not sure if it is overriding it or if it is just letting it pass through).

It feels like the Flash server should follow the behaviour of the native stable server.

Ref: oakserver/oak#587 (I will fix it in oak by simply omitting the content-length in all cases as the servers are actually better at handling this header now)

Issue 2:
I installed deno with brew.

$ brew install deno
...
...
Bash completion has been installed to:
/usr/local/etc/bash_completion.d

zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/deno/1.0.0: 9 files, 41.7MB
$ deno --version
deno 1.0.0
v8 8.4.300
typescript 3.9.2
$ deno --help

After created /usr/local/etc/zsh_completion.d/:

$ deno completions zsh > /usr/local/etc/zsh_completion.d/deno.zsh
$ source /usr/local/etc/zsh_completion.d/deno.zsh
_arguments:comparguments:325: can only be called from completion function

So how can I add shell completion?

I tried this but get the same output.

$ deno completions zsh > /usr/local/share/zsh/site-functions/_deno
$ source /usr/local/share/zsh/site-functions/_deno
_arguments:comparguments:325: can only be called from completion function
Issue 1:
Navigate to http://doc.rust-lang.org/std/macro.format!.html

Click [src]

Browser navigates to broken link: http://doc.rust-lang.org/src/std/%3Ccore_collections%20macros%3E.html#1-2

Issue 2:
Step 1: Visit http://doc.rust-lang.org/std/macro.assert_eq!.html

Step 2: Click Link [src]

Page should link to http://doc.rust-lang.org/src/core/macros.rs.html#80-93, but instead links to http://doc.rust-lang.org/src/std/%3Ccore%20macros%3E.html#1-9

Suggested label A-Docs A-Rustdoc