WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Description of the problem

ThreeJS editor does not have enough tools to animate or apply effects to the 3D models. Hence, I guess, this might come as a new feature request, to increase the tools/options inside the editor such that almost everything can be performed using the editor's GUI alone.

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

iOS

Issue 2:
Description of the problem

There are several features of THREE that aren't accessible from the Editor. When I say accessible, I mean combination of:

properties are not visible for editing

objects not being able to be created

objects not being able to be imported or exported.

Ideally, the Editor should be capable of creating and editing most objects and features that the API contains. This issue is really more to keep track of what the Editor can and can't do currently. I'm listing features that I think the Editor would be capable of handling.

Cameras

PerspectiveCamera

OrthographicCamera

ArrayCamera

CubeCamera

StereoCamera

Core

BufferAttribute

BufferGeometry

Layers

InstancedBufferAttribute

InstancedBufferGeometry

InstancedInterleavedBuffer * (#16050)

InterleavedBufferAttribute

Geometry

BoxGeometry

CircleGeometry

ConeGeometry

CylinderGeometry

DodecahedronGeometry

EdgesGeometry *

ExtrudeGeometry

IcosahedronGeometry

LatheGeometry

OctahedronGeometry

PlaneGeometry

RingGeometry

ShapeGeometry

SphereGeometry

TetrahedronGeometry

TorusGeometry

TorusKnotGemetry

TubeGeometry

WireframeGeometry **

Lights

AmbientLight

DirectionalLight

HemisphereLight

PointLight

RectAreaLight (#16251)

SpotLight

LightProbe

Materials

LineBasicMaterial

LineDashedMaterial

MeshBasicMaterial

MeshDepthMaterial

MeshLambertMaterial

MeshMatcapMaterial

MeshNormalMaterial

MeshPhongMaterial

MeshPhysicalMaterial

MeshStandardMaterial

MeshToonMaterial

PointsMaterial

RawShaderMaterial

ShaderMaterial

ShadowMaterial

SpriteMaterial

Objects

Group

LOD

Line

LineLoop

LineSegments

Mesh

InstancedMesh

Points

SkinnedMesh

Sprite

Textures

Texture (properties not editable #13882, #15695)

CubeTexture (#13880)

VideoTexture

Misc

Animations

Audio

* = Serializable, but not deserializable

** = Serializable, but not as the original geometry (i.e. WireframeGeometry is serialized as BufferGeometry)

Three.js version

Dev

r103

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

macOS

Linux

Android

iOS
Issue 1:
since the early versions on atom this version's start up time is very much i know all these features take some time to load but this is quite too much , which is not good for text editor .

please fix this start up time issue.

thanks in advance

Issue 2:
Hi, i have used Textmate for a loong long time. But also as a big fan of new things, i decided to try Atom for curiosity purposes.

It turns out that i found Atom a great platform for day-by-day development, and im using it Atom now. But theres one thing annoying me:

I usually open Atom using the Shell command "atom [filename]", and compared to "mate [filename]" (the same command Textmate use for open files using Shell), Atom is incredible slow (i feel i have to wait twice of the time, like 1s~2s).

I know this performance also is related to machine specs, processors, memory and etc. But its the exactly same task executed for different tools.

I can record a video showing that behavior if you like.

Also, if this is a un-prioritize known issue, i can submit a pull request if theres noone working on it. I just need to know where to start looking.

][`s
Issue 1:
React version:

Steps To Reproduce

Link to code example:

The current behavior

The expected behavior

Issue 2:
React version: 16.11.0

Firefox: 73.0.1

OS: MacOS 10.15.3

Project: argu.co

Steps To Reproduce

Open argu.co in Firefox 73.01 on a Mac with Devtools installed

Open devtools (cmd + opt + i), no react devtools shown

Other react pages work fine in Firefox, and argu.co works fine in Chrome, too!
Issue 1:
I'm submitting a ... (check one with "x")

[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Multiple @HostBinding decorators re not handled properly. Only last one is used.

Expected behavior

All decorators must be used

Minimal reproduction of the problem with instructions

Create a component and set multiple HostBindings to single field, like:

@Input()
@HostBinding("style.width.px")
@HostBinding("style.height.px")
@HostBinding("style.min-width.px")
@HostBinding("style.min-height.px")
public size: number = 30;

Only last decorator is used when app is compiled, both in JIT and AoT.

What is the motivation / use case for changing the behavior?

Does not work as expected.

Please tell us about your environment:

Ubuntu 16.04

Angular version: 2.0.X

2.3.0

Browser: [all]

Language: [TypeScript 2.0.10]

Node (for AoT issues): node --version = 4.2.6

Issue 2:
I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Current behavior

When defining a @HostBinding on an attribute directive referring to an @input property of the host component, it does not update the host property after changing the value.

Expected/desired behavior

@HostBinding should probably apply to all properties of the host, including @input properties.

Reproduction of the problem

Plunker: https://embed.plnkr.co/kQEKbT/

Stackoverflow question and answer with solution using a template reference variable: http://stackoverflow.com/questions/38771403/how-to-use-hostbinding-with-input-properties-in-angular-2

What is the expected behavior?

In the example above: the attribute directive should feed the input property of the component.

What is the motivation / use case for changing the behavior?

See Plunker above. This could be useful when you want to create a directive that feeds the input of a component.

Please tell us about your environment:

Angular version: 2.0.0-rc.4

Browser: Chrome 51 (likely applies to all)

Language: TypeScript 1.8.10 (likely applies to all)
Issue 1:
I am using Julia 1.6.0-rc1. As stated at https://docs.julialang.org/en/v1/manual/embedding/, I made the necessary settings in Visual Studio 2019, but when I compile the code, I get the error 'jl_atomic_load_relaxed: identifier not found.'

Code:

#include <uv.h>
#include <Windows.h>
#include <julia.h>

int main(int argc, char* argv[])
{
jl_init();
jl_eval_string("print(sqrt(2.0))");
jl_atexit_hook(0);
return 0;
}

Error:

'jl_atomic_load_relaxed': identifier not found julia.h 880
'jl_atomic_load_relaxed': identifier not found julia.h 924
'jl_atomic_load_relaxed': identifier not found locks.h 24
'jl_atomic_load_relaxed': identifier not found locks.h 40

Issue 2:
I get a host of compile errors (about 30) by trying to compile the simple "Embedding Julia in C++" https://docs.julialang.org/en/v1/manual/embedding/.

Here are the first 5:

1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C2065: ‘__ATOMIC_SEQ_CST’: undeclared identifier

1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C3861: ‘__atomic_signal_fence’: identifier not found

1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C2065: ‘__ATOMIC_RELEASE’: undeclared identifier

1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(321,5): error C3861: ‘__atomic_store_n’: identifier not found

1>C:\Users\VitalRoberto\AppData\Local\Programs\Julia-1.7.0-beta4\include\julia\julia_threads.h(325,9): error C2065: ‘__ATOMIC_SEQ_CST’: undeclared identifier

in 1.7, atomics.h doesn’t have good definitions for MSVC.

I copied the atomics.h from Julia 1.6.5 and got it to work (also had to define jl_atomic_cmpswap). Seems like someone overlooked this platform.
Issue 1:
Bug report

Bug summary

The ImageGrid class seems to not behave correctly since the upgrade to matplotlib 3.0.0 when the inline backend is used in a Jupyter notebook: the resulting subplots fail to arrange in a grid and are placed on top of eachother. The correct behaviour is reproduced if using the notebook or ipympl backends. Thanks!

Code for reproduction

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

im = np.arange(100)
im.shape = 10, 10

fig = plt.figure(1, (4., 4.))
grid = ImageGrid(fig, 111,
nrows_ncols=(2, 2),
axes_pad=0.1,
)

for i in range(4):
grid[i].imshow(im)
grid[i].set_title('test {0}{0}'.format(i))

plt.show()

Actual outcome

Expected outcome

Matplotlib version

Operating system: Debian 9

Matplotlib version: 3.0.0

Matplotlib backend: inline

Python version: 3.5.3

Jupyter version (if applicable): 4.4.0

Other libraries:

Issue 2:
Bug report

Bug summary

When setting bbox_inches='tight' in savefig function, the colorbar is plotted in the wrong way.

Code for reproduction

import matplotlib.pyplot as plt
import numpy as np
from mpl_toolkits.basemap import Basemap

outfile = r'E:\wrong.tif'

# read in data on lat/lon grid.
hgt = np.loadtxt(r'E:\tmp\basemap\500hgtdata.gz')
lons = np.loadtxt(r'E:\tmp\basemap\500hgtlons.gz')
lats = np.loadtxt(r'E:\tmp\basemap\500hgtlats.gz')
lons, lats = np.meshgrid(lons, lats)

mnh = Basemap(lon_0=-105, boundinglat=20.,
resolution='c', area_thresh=10000., projection='nplaea')
xnh, ynh = mnh(lons, lats)
CS = mnh.contour(xnh, ynh, hgt, 15, linewidths=0.5, colors='k')
CS = mnh.contourf(xnh, ynh, hgt, 15, cmap=plt.cm.Spectral)

mnh.drawcoastlines(linewidth=0.5)
delat = 30.
circles = np.arange(0., 90., delat).tolist() + \
np.arange(-delat, -90, -delat).tolist()
mnh.drawparallels(circles, labels=[1, 0, 0, 0])
delon = 45.
meridians = np.arange(0, 360, delon)
mnh.drawmeridians(meridians, labels=[1, 0, 0, 1])
plt.title('NH 500 hPa Height (cm.Spectral)')

# colorbar on bottom.
mnh.colorbar(pad='5%')
plt.savefig(outfile, dpi=300, bbox_inches='tight') # wrong
# plt.savefig(outfile, dpi=300) # right
plt.show()

Actual outcome

The wrong one:

# If applicable, paste the console output here
# None
#

Expected outcome

The correct figure:

Matplotlib version

Operating system: Windows 10 x64

Matplotlib version: 3.0.0

Matplotlib backend (print(matplotlib.get_backend())): module://backend_interagg

Python version: 3.6.6

Jupyter version (if applicable): None

basemap version: 1.2.0

PyCharm version: 2018.2.4

I install matplotlib and basemap from https://www.lfd.uci.edu/~gohlke/pythonlibs.
Issue 1:
the following code worked within symfony 2.8 (patch action), after updating to symfony 3.2 i always get into the if statement, even if there are no errors. calling the validator myself, would tell everything is fine.

$form = $this->createForm(UserType::USER_UPDATE, $user);
$form->submit($request->request->all(), false);
if (false === $form->isValid()) {
....
}

Do i missed a change, that does not throw an exception, but ends in this strange behavior?

I already refactored the createForm to:

$form = $this->createForm(UserUpdateType::class, $user);

Issue 2:
Bundle B overrides bundle A with

public function getParent() {
return 'ABundle';
}

Twig templates exist in

ABundle/Resources/view/Controller/view.html.twig

BBundle/Resources/view/Controller/view.html.twig

No controllers are overridden, only a twig layout.

When adding a test in the overridden bundle such as:

public function testSomething()
{
$client = static::createClient();
$crawler = $client->request('GET', '/somepath');

var_dump($crawler->text());
}

The test actually picks up the wrong twig template. It picks up the template from A and not from B making impossible to test the view.html.twig properly.

The site in dev mode gives me the correct template.
Issue 1:
🐛 Bug

LSTM cell with bias produces "expected scalar type Half but found Float" error when called within an autocast context.

To Reproduce

import torch
import torch.nn as nn
from torch.cuda.amp import *
dev = 'cuda'
net = nn.LSTMCell(3, 3, bias=True).to(dev)
x = torch.randn(2, 3).to(dev)
with autocast():
h, c = net(x.half())

Error produced:

RuntimeError Traceback (most recent call last)
<ipython-input-16-1d68da89e14f> in <module>
4
5 with autocast():
----> 6 h, c = net(x.half())

~/miniconda3/lib/python3.7/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
720 result = self._slow_forward(*input, **kwargs)
721 else:
--> 722 result = self.forward(*input, **kwargs)
723 for hook in itertools.chain(
724 _global_forward_hooks.values(),

~/miniconda3/lib/python3.7/site-packages/torch/nn/modules/rnn.py in forward(self, input, hx)
967 input, hx,
968 self.weight_ih, self.weight_hh,
--> 969 self.bias_ih, self.bias_hh,
970 )
971

RuntimeError: expected scalar type Half but found Float

Note that there is no problem while setting bias=False.

Expected behavior

No error.

Environment

PyTorch Version (e.g., 1.0): 1.6.0

OS (e.g., Linux): Ubuntu 18.04

How you installed PyTorch (conda, pip, source): conda

Build command you used (if compiling from source):

Python version: 3.7.6

CUDA/cuDNN version: 10.2

GPU models and configuration: GTX 1060

Issue 2:
#42385 fixes cudnn RNNs with torch.cuda.amp.autocast but it appears the cell-based RNN API is also broken:

https://discuss.pytorch.org/t/runtimeerror-expected-scalar-type-half-but-found-float/91628

I thought cell-based RNNs were implemented in terms of autograd-exposed primitive ops (gemms, etc) already covered by autocast, but LSTMCell and GRUCell have dedicated autograd functions. I should add FP16 cast wrappers for these. I may need to add wrappers at a higher level instead, ie wrap the Python-exposed at::lstm_cell and at::gru_cell, depending where in the call chain input type checking occurs.

cc @mcarilli @ppwwyyxx @ngimel @zou3519
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.3

Operating System version: macOs Sierra

Java version: JDK 1.8

Steps to reproduce this issue

Extend the dubbo filter in 2.5.x version, and identify on whether it's RpcInvocation as below.

import com.alibaba.dubbo.rpc.RpcInvocation;

public class SomeFilter implements Filter {

@Override
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
if (invocation instanceof RpcInvocation) {
((RpcInvocation) invocation).setInvoker(invoker);
}
return invoker.invoke(invocation);
}
}

when upgrade it's to 2.7.3, it throws NotFoundClass exception as 2.7.3 removed the com.alibaba.dubbo.rpc.RpcInvocation

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

Expected Result

2.7.3 should backward compatible, should not throw exception.

Actual Result

2.7.3 cannot backward compatible with 2.5.x or 2.6.x.

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.6-SNAPSHOT

Steps to reproduce this issue

https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-etcd3/src/main/java/org/apache/dubbo/registry/etcd/EtcdServiceDiscovery.java#L64

private final ConcurrentMap<URL, ConcurrentMap<NotifyListener, ChildListener>> etcdListeners = new ConcurrentHashMap<>();

Need check this line
Issue 1:
I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

If you navigate to a route with multiple search parameters with the same key, they will be merged to one with only the last appearing parameters value. i.e.

host.com/test?p=test&p=best

would result in

host.com/test?p=best

once Angular has loaded.

Expected behavior

Navigating to

host.com/test?p=test&p=best

should result in

host.com/test?p=test&p=best

once Angular has loaded.

Minimal reproduction of the problem with instructions

Steps to reproduce: Implement routing, navigate to a route with more than one search parameter with the same key.

Here's a plnkr of the issue. Open it full screen and click on the thing that says click me.

What is the motivation / use case for changing the behavior?

The rest point I'm using for filtering/facetting adds multiple search parameter keys of the same type if I select more than one filter/facet. With the current behaviour I can only select one filter per type as it will merge everything with the same key together. Feels unnecessary to merge?

Please tell us about your environment:

OSX El Capitan 10.11.6. Locally with Brackets / Webpack / NG Live Development Server. Also reproduced in plunkr.

Angular version: 2.0.X (I tested it with Angular 2.2.3 locally and was able to reproduce. Looked through fixes for 2.3.0 and I don't think a fix has been implemented.)

Browser: I can reproduce this in Chrome 54, FF 48, Safari 10.0.1.

Language: [all]

Issue 2:
I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

The code contained in modules/@angular/facade/src is duplicated in the following published modules:

@angular/common

@angular/compiler

@angular/core

@angular/forms

@angular/http

@angular/platform-browser

@angular/platform-browser-dynamic

This causes application builds to be larger than they need to be.

Expected/desired behavior

That facade would be contained within either @angular/common, @angular/core, or published as @angular/facade and the modules above would use facade from an external module rather than an internal copy of the code.

What is the motivation / use case for changing the behavior?

Smaller application builds.

Please tell us about your environment:

Angular version: 2.0.0-rc.4

Browser: n/a

Language: TypeScript X.X | ES6/7 | ES5
Issue 1:
How to mix table and expandable panel.

I am trying to use expandable panels inside the row of the table body to expand to show more information but always get an error stating:

Warning: validateDOMNesting(...): <div> cannot appear as a child of <tbody>.

I understand this is is a html thing and there might not be a workaround but does anybody have any advice on how I can do this?

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

This is a a code sandbox detailing what I am trying to do

Your Environment

Tech
Version

Material-UI
1.0.beta.26

React
16.2.0

browser
chrome latest

Thanks

Issue 2:
After installing latest React package 0.14.0, trying install the latest material-ui (as of this post 0.12.3), the material-ui package install fails.

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!

npm ERR! peerinvalid Peer material-ui@0.12.3 wants react@~0.13

npm ERR! peerinvalid Peer react-tap-event-plugin@0.1.8 wants react@^0.14.0-0 || ~0.13.x || ~0.12.x
Issue 1:
When building an application compiled using babel, lots of developer use the runtime transformer but still requires the polyfills for ES6+ definitions. The application's package is generally similar to:

{
"dependencies": {
"babel-runtime": "^5.0.0"
},
"devDependencies": {
"babel": "^5.0.0"
},
"scripts": {
"build": "babel -d lib src"
}
}

Unfortunately the polyfills are located at babel/runtime which requires the developer to specify babel as dependencies (not a dev one) if he want to use it. Adding the polyfills to babel-runtime would solve this issue.

Issue 2:
Bug Report

Current Behavior

Error while compile:

$ babel index.js
Error: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
at NodePath.insertBefore (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\path\modification.js:55:11)
at PluginPass.Class (C:\workspace\babel-bug-report\node_modules\@babel\plugin-proposal-class-properties\lib\index.js:257:14)
at newFn (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\visitors.js:237:21)
at NodePath._call (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\path\context.js:65:20)
at NodePath.call (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\path\context.js:100:12)
at TraversalContext.visitQueue (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\context.js:142:16)
at TraversalContext.visitSingle (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\context.js:102:19)
at TraversalContext.visit (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\context.js:182:19)
at Function.traverse.node (C:\workspace\babel-bug-report\node_modules\@babel\traverse\lib\index.js:106:17)

Input Code

Repo: https://github.com/tihonove/babel-bug-report

export class Foo {
static bar = {};
constructor(b) {}
foo = b => b;
}

Babel Configuration (.babelrc, package.json, cli command)

.babelrc:

{
"presets": [
"@babel/es2015"
],
"plugins": [
"@babel/proposal-class-properties"
]
}

command:

yarn babel index.js

Environment

Babel version(s): v7.0.0-beta.47

Node/npm version: v8.6.0/5.3.0

OS: Windows 10

Monorepo: yes

How you are using Babel: cli or loader