WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Currently there is support for using the morphTargets property of a Geometry and the morphTargetInfluences property of the corresponding Mesh to animate Meshes. It would be nice if one were able to use a similar interface to animate Lines - I don't think this is currently possible; at least it doesn't seem to be documented.

Issue 2:
idea

I'm not sure how much performance gain this would have, but it is possible that we can traverse only the subtrees that need updates by keeping track of which objects have been updated.

basic impl:

any time a property is changed (f.e. position or rotation), push the object onto an array of nodes that need update. (either make the properties setters to trigger this automatically, or require users to call object.needsUpdate(), the latter of which is a breaking change)

in the renderer.render call, instead of traversing the scene tree, iterate on this array of nodes that need update.

for each object in array of nodes that need update

perform object.updateMatrix()

if the new matrix result differs from before

add the object into a Set of subtree roots only if the object does not have an ancestor that is already a subtree root (simplest way is to traverse upward to the root and check if each object is in the Set of subtree roots)

after finished iterating the array of nodes that need update, iterate the Set of subtree roots.

for each root in Set of subtree roots

perform root.updateMatrixWorld()

finally, render the WebGL like before.
Issue 1:
Atom 0.192.0

Linux Mint 17.1

Actual Results:

Expected Results:

･ ·̩　　 ｡　☆　　　ﾟ｡ ＊ 　 ｡*　　+　 　＊ 　･ ｡☆+　 　＊ 　･ ｡☆
＊ 　 ｡*　　+　 　＊ 　･ ｡☆ 　　　ﾟ･　　｡ﾟ･　　☆ﾟ　+ ｡　☆　　　ﾟ｡･ ·̩
☆　　　*　　　* 　 。 　 ･ ·̩　　 ｡　☆　　　ﾟ｡　☆　　　*　　　* 　　☆ﾟ　+
ﾟ･　　｡ﾟ･　　☆ﾟ　+ 　☆　　　*　　　* 　 。＊ 　 ｡*　　+　 　＊ 　･ ｡☆

Issue 2:
Text:

这上面的夜的天空，奇怪而高，我生平没有见过这样奇怪而高的天空。他仿佛要离开人间而去，使人们仰面不再看见。然而现在却非常之蓝，闪闪地睒着几十个星星的眼，冷眼。他的口角上现出微笑，似乎自以为大有深意，而将繁霜洒在我的园里的野花草上。

It happen after update to 0.189.0, and it's normal in 0.188.0 .

I try disabled all community packages or star with --safe mode, still happen.

Update: Ubuntu 14.04
Issue 1:
It would be very convenient if UnivariateSpline.__call__() would support evaluation on a grid. The following example illustrates the use case. With scipy-0.12.1 and current git master (4a5d2ae) it fails on the last line:

#!/usr/bin/env python
import numpy as np
from scipy.interpolate import UnivariateSpline

x = np.linspace(-3, 3, 100)
y = np.exp(-x**2)
s = UnivariateSpline(x, y)

# But in my case x is a function of x1 and x2:
x1 = np.linspace(-3, 3, 1000)
x2 = np.linspace(-3, 3, 1000)
xx1, xx2 = np.meshgrid(x1, x2)
xx = np.sqrt(4.2 * xx1**2 + xx2**2)

yy = s(xx) # bang!

Issue 2:
The scipy.interpolate.UnivariateSpline class and its subclasses only support one-dimensional univariate spline-curves like scipy.interpolate.splrep does, but not multidimensional univariate splines like scipy.interpolate.splprep.

I would be nice to have an object-oriented model for multidimensional univariate splines, even if not all features of the scipy.interpolate.UnivariateSpline class might be available. As far as I can see, at least evaluation and derivation should be available.
Issue 1:
Describe the issue:

I forked numpy and started to set it up on VS Code (windows). I downloaded Visual C++, configured git with all the prerequisites and ran runtests.py before i started writing code.

However, the console returned 77 failures which seems bizzare because i hadn't written any code yet? Probably something to do with my system but for the life of me i can't figure it out, maybe someone has encountered the same problem?

Reproduce the code example:

py runtests.py -v

Error message:

https://gist.github.com/Mike-gag/2629afe3a0b5f7077ae5ccd369f85d0a (the gist from the output, although it seems like not all of it would load since itts pretty big)

Runtime information:

print(numpy.__version__)

1.25.0.dev0+1184.g6073588dd

print(numpy.show_runtime())

'found': ['SSSE3', 'SSE41',

'POPCNT',

'SSE42',

'AVX',

'F16C', 'FMA3',

'AVX2'],

'not_found': ['AVX512F',

'AVX512CD',

'AVX512_SKX',

'AVX512_CLX',

'AVX512_CNL',

'AVX512_ICL']}}]

None

Context for the issue:

I can't really begin writing code if i don't build the project properly so i'd appreciate the help.Thanks in advance!

Issue 2:
This may seem silly, but raising exceptions for mathematically legitimate request causes problems downstream.

See: dask/dask#3659 (weird case of distributed computation where there is an empty 0×n matrix that needs to be handled by np.linalg.qr; this happens when a distributed array of blocks blocks, called chunks in dask, are filtered, and it is unknown a priori which blocks, if any, are empty)

There are two cases, both of which are "mathematically legitimate":

0×n -> q is 0×0 and r is 0×n

m×0 -> q is m×0 and r is 0×0

If this suggestion is found to be reasonable, I'll create a PR.
Issue 1:
I'm using

compile 'com.github.bumptech.glide:glide:3.6.1

this way, loading local drawables into imageViews

Glide.with(getContext()).load(resIds[item]).dontAnimate().diskCacheStrategy(DiskCacheStrategy.ALL).into(imageViews.get(i));

infact it works faster then setImageDrawable() but it's giving blinking effect. ImageViews changing every 300ms and when I use setImageDrawable() there is no such effect. How to avoid it?

Issue 2:
I know this has been discussed several times, in several issues, in several ways with several different conclusion. (I have read #232 and related issues)

However, as awesome as this library is, I can't stress how important 'image download progress listener' feature is from users' or developers points of view (irrespective of whether one uses OkHttp or volley). It would be wonderful if we could have it as simple as just another callback in Litener (right where onResourceReady is).

Therefore it is my humble request to please consider this as a feature in one of the upcoming release. I do understand that this might be a not as easy as it looks.

Glide v3.6.0 with Volley integration
Issue 1:
Hello!

I cloned the project fount at: https://github.com/callemall/material-ui/tree/v1-beta/examples/create-react-app as docs suggest and I also had an error as mentioned in: #4664

Apart this, I tried to change colors to customize them and I had:

TypeError: undefined is not an object (evaluating 'color.charAt')

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

Expected Behavior

Have the colors set correctly

Current Behavior

An error pop-ups with: TypeError: undefined is not an object (evaluating 'color.charAt')

Steps to Reproduce (for bugs)

Please, check out the cloned code from you at: https://codesandbox.io/s/rr25l6v7rq

In styles/createContext.js line 9 the color is printed correctly.

However, when placed in the configuration like at line 12 the error happens.

Changing the line 12 from purple[500] to purple everything works fine.

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

Expected Behavior

I'm trying to follow the material-ui documentation, with the end goal being creating a left anchored permanent Drawer which has ListItem buttons that link to different pages.

Current Behavior

The documentation seems to me to be incomplete. It fails to describe in any detail how you link the actual ListItems to the Drawer, or even how to create buttons out of ListItems in general. If you look at the Demos for Drawers (https://material-ui.com/demos/drawers/), the ListItems are abstracted out to another file which is not shown. This ensures that there's no way to understand how to connect the two.

I've searched excessively on how to accomplish this, and have tried numerous variations of my own. Granted, I'm new at this. But I feel the documentation should be there to help. In all honesty, I'm just looking to help solve this issue, so I can move on with my project 😄 but perhaps I can help you guys improve your Docs as well.

Thank you!

Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI
1.0.0-beta.20

React
16.0.0

browser
Chrome
Issue 1:
Is it possible to filter the choicelist after querying the entities?

I know that you can filter it with the query_builder option but in some case you can't filter in this way.

For example if you use "array" as column definition in your entity.

I find only bad way to resolve this problem:

$builder->add(
'contact',
'entity',
array(
'query_builder' => function (EntityRepository $repository) {
return $repository->createQueryBuilder('c')
->where('c.roles LIKE :role')->setParameter('role', '%ROLE_CONTACT%');
},
'label' => 'Contact',
'class' => 'AppBundle\Entity\User',
'required' => false
)
)

Or you must implement your own loader.

I think it would be nice and easy to use if you have an option to filter the data after hydration.

Like this:

$builder->add(
'contact',
'entity',
array(
'choice_filter' => function ($user) {
return $user->hasRole('ROLE_CONTACT');
},
'label' => 'Contact',
'class' => 'AppBundle\Entity\User',
'required' => false
)
)

As with #14050 choice_filter can be a callback or property path. And i think it should be add in ChoiceType so you can filter every choicelist.

I know you should use query_builder to filter the data in the database but in some case you don't have a choice.

Issue 2:
Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC?
no

Symfony version
3.1.8

I use php 7.0.0 with symfony 3.1.8. The issue is when I got errors from php - symfony doesn't return me stack trace, all I can see is "Internal Server Error" page. In logs of apache I found FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php7.0.0.fcgi" aborted: error parsing headers: duplicate header 'Content-Type'

I started debugging, and that's what I found. I use php scalar type hinting, so when the wrong type comes as argument, php returns TypeError, symfony catches it, and then step by step:

Symfony\Component\Debug\ErrorHandler:handleException

call_user_func($this->exceptionHandler, $exception) L:546

Symfony\Component\Debug\ExceptionHandler:handle

$this->sendPhpResponse($exception); L:121

Symfony\Component\Debug\ExceptionHandler:sendPhpResponse

header('Content-Type: text/html; charset='.$this->charset); L:173 - which sends me header of content type first time.

Symfony\Component\Debug\ExceptionHandler:handle (continue)

call_user_func($this->handler, $exception); L:144

Symfony\Component\HttpKernel\HttpKernel:terminateWithException

$response->sendHeaders(); L:104

Symfony\Component\HttpFoundation\Response:sendHeaders

header($name.': '.$value, false, $this->statusCode); L:339 - which sends me header of content type second time.

The output of headers_list function:

0 = "X-Powered-By: PHP/7.0.0"

1 = "Content-Type: text/html; charset=UTF-8"

2 = "Cache-Control: no-cache"

3 = "X-Debug-Token: 242fbb"

4 = "X-Debug-Token-Link: http://pr.project/app_dev.php/_profiler/242fbb"

5 = "Content-Type: text/html; charset=UTF-8"

6 = "Date: Sun, 08 Jan 2017 18:45:04 GMT"

Which causes error of duplicating headers.

Please fix.
Issue 1:
I have a problem while installing react-native-cli. When i type npm install -g react-native-cli it gives me so much no such file or directory errors. One example is ENOENT: no such file or directory, open 'C:\Users\KUBİLAY\AppData\Roaming\npm\node_modules.staging\winston-6bc268e1\test\transports\webhook-test.js'. When look this winston-6bc268e1 folder's inside, first name of folders are deleted(like est for test, ib for lib).

Issue 2:
*Updated* as of 01/15/2021

Note: Please read this doc before filing a new issue.
Issue 1:
I'm trying this demo:

http://getbootstrap.com/javascript/#collapse

If you open a tab then you click on a second one before the first is completely visible, than you get both panel opened.

To try it I suggest to use keyboard to open the first panel then click in the second.

Issue 2:
Step 1. Navigate to this page: http://getbootstrap.com/javascript/#collapse

Step 2. Click on one of the links that trigger opening of the accordion sections (ie. Collapsible Group Item #1)

Step 3. Before the section's opening animation has a chance to complete (the one from 'Step 2' above) click on a different link to trigger opening a second panel (ie. Collapsible Group Item #2)

At this point you should see that you have two accordion panels open at the same time.
Issue 1:
Hello,

I am working with the new Bootstrap release and IE8. The problem is that IE8 doesn't recognize the grids I have defined in the website.

I have a demo in http://www.fotografosasturias.es.

Best,

Jorge Méndez

Issue 2:
I don't know if the IEs less than 9 are being abandoned in BS3. But the responsive navbar is always collapsed in IE8 and IE7 browsers.

Also the brands are wrapping.
Issue 1:
It would be nice in my opinion to be able from the validator errors to know what kind of assertion has been done to generate that error.

For example, we've inserted to the User entity an email field with value 'somebadvalue'. If we're displaying a form that's ok since it automatically shows the error in the right place and the user knows about it.

But if we manually validate the User entity, using the validation service, we've just a bunch of errors that doesn't let us know which kind of assertion has been done in an unique way.

We can just match the message but it's easy to be wrong checking only that. It would be nice to add the assertion object or at least the assertion class name, what you guys think?

Issue 2:
Following my (unanswered) question at StackOverflow I'm reporting this as a bug, as no one seems to know the answer.

Currently there's no way that I can see to populate the code property for the ConstraintViolation class, as it is not defined in the Constraint class. But as I see, it goes farther than that, as all the validators just ignore the parameters for the addViolation method, making it impossible for simple asserts to define a code for the violation.

What I expect it to allow is the following:

/**
* @Assert\NotBlank(code=400)
* @Assert\Email(code=401)
*/
protected $email;

Problem is, the current validators call addViolations without setting the 5th argument (code). Plus, the Constraint class doesn't implement such a code property as mentioned.

If this is indeed considered a bug, I would like to send a PR with a patch, provided that this is the way that it should be working.If it's not, some directions would be amazing!
Issue 1:
Hi,

I'm trying to use glide alongside google vision api. However I am getting the following error when I try and the glide and google vision api dependencies at the same time.

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

java.lang.NoSuchMethodError: com.google.common.collect.FluentIterable.join(Lcom/google/common/base/Joiner;)Ljava/lang/String;

Glide Version:

compile 'com.github.bumptech.glide:glide:4.1.1'

annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1'

Integration libraries:

compile 'com.google.apis:google-api-services-vision:v1-rev360-1.22.0'

Issue details / Repro steps / Use case background:

This error occurs on a clean new android studio project if you add the glide and the google vision api dependencies.

Glide load line / GlideModule (if any) / list Adapter code (if any):

I am trying to get the generated api working.

Using standard Glide.with... works fine but if I add the MyAppGlideModule class thats when the error occurs.

I am trying to use GlideApp.... as i want to edit my caching strategies.

Issue 2:
Glide Version: 4.0.0-RC1

Integration libraries: OkHttp3

Issue details / Repro steps / Use case background:

I'm trying migrate to v4 and got stuck with auto-generated GlideApp.

Glide load line / GlideModule (if any) / list Adapter code (if any):

GlideApp.with...

I'v got a Glide Module class:

@GlideModule
public final class MyGlideModule extends AppGlideModule {

@Inject
@Named("GLIDE_CLIENT")
protected OkHttpClient client;

public MyGlideModule() {
AccountComponent().inject(this);
}

@Override
public void applyOptions(Context context, GlideBuilder builder) {
builder.setMemoryCache(new LruResourceCache(10 * 1024 * 1024));
}

@Override
public void registerComponents(Context context, Registry glide) {
glide.replace(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory(client));
glide.register(SVG.class, PictureDrawable.class, new ImageLoadingUtils.SvgDrawableTranscoder())
.append(InputStream.class, SVG.class, new ImageLoadingUtils.SvgDecoder());
}

@Override
public boolean isManifestParsingEnabled() {
return false;
}
}

In my build.gradle file i have those dependencies

compile "com.github.bumptech.glide:glide:4.0.0-RC1"
compile 'com.android.support:support-v4:25.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC1'
compile 'com.caverock:androidsvg:1.2.1'

Stack trace / LogCat:

Error:(83, 4) error: cannot find symbol variable GlideApp

Also i cloned SVG's samples and there autogeneration works fine. Can Dagger2 conflict with Glide? Or any suggetions, how can i fix it?
Issue 1:
This is a metabug for rustc --explain error descriptions.

All the errors in need of descriptions are listed in this spreadsheet. If you'd like to help out, comment with the bunch of errors you'd like to tackle, and list yourself as assigned on the spreadsheet!

Choosing a few errors in the same file is probably a good way to start.

How to add an error explanation

Error explanations live in src/librustc*/diagnostics.rs. To add a new explanation you have to delete the error from the register_diagnostics! invocation and add it to the register_long_diagnostics! invocation, along with the explanation. The format for the explanation is 80 characters per line, with a newline at the very start and end of the string. Including code examples is encouraged, with full markdown formatting (single-tick for inline, triple for blocks). Copy the format of the existing errors and you should be good!

Once you've added an explanation you can test it out by compiling and running stage1 as follows:

$ make rustc-stage1
$ export PATH=x86_64-unknown-linux-gnu/stage1/bin:$PATH
$ export LD_LIBRARY_PATH=x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH
$ rustc --explain EXXXX

If you want to see how it renders as HTML you'll have to build the error index, which requires stage2:

$ make doc/error-index.html

You can add -j 4 to use 4 parallel make processes.

Once you're happy with the result, submit a pull request and we'll review it.

Progress

We're tracking progress with a shared spreadsheet. If you'd like to write an error message, put your name down for one of the unassigned errors.

Rust Error Diagnostic Spreadsheet (click me!)

As you complete error descriptions it would also be great if you could mark the errors as "merged" on the spreadsheet 😄

Issue 2:
The following function compiles:

fn foo<A: Share, A>(a: A) -> A{ a }

When unused the compiler issues the standard unused code warning.

As far as I can tell, there is no way to actually use the function without annotating the types for everything (foo::<&str, uint>(5u)) because otherwise the compiler can't infer the type of the function.
Issue 1:
(*** This section is for bug reports and feature requests only. This is NOT a help site. Do not ask help questions here. If you need help, please use stackoverflow. ***)

Description of the problem

Example here: http://jsfiddle.net/uawfq6t3/

This is a cube with all ShadowMaterial sides except the front and back. However, you'll notice that these two sides are dark on the inside of the cube instead of having a color, despite them being DoubleSide.

Three.js version

Dev

r84

Latest

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

Hardware Requirements (graphics card, VR Device, ...)

Issue 2:
Description of the problem

OBJ file larger than 256 MiB does not get loaded. This is because OBJLoader.js relies on storing the content in a single string, and Chrome does not allow strings larger than 256 MiB (besides, Firefox has even lower limit).

Three.js version

Dev

r76

...

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

Hardware Requirements (graphics card, VR Device, ...)
Issue 1:
I'm submitting a

[x] bug report

[ ] feature request

[ ] support request

Current behavior

When using angular model driven form and binding one Form Control to multiple inputs, then after editing one of these inputs, the value in Form Control is properly updated, but the other inputs views do not get updated

Expected behavior

The expected behavior in my point of view should be, that all the inputs bound to one Form Control should show the same value, when one of the inputs gets edited

Minimal reproduction of the problem with instructions

The behaviour can be observed in the following plunk

There can be seen, that editing one text box does not update the other text box, but updates (as expected) the following interpolated text, which is also bound to the value of the Form Control.

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

Sometimes it can be useful to have two or more inputs bound to one Form Control at the same time. In my use case, I would like to have a table, which allows for editing records both inline inside a row and in a detail that can be expanded below every such row. In this case, two inputs come into existence. But other use cases come to mind and are in use in various web or desktop applications.

Angular version: 2.4.2

Browser: [all]

Language: [all]

Issue 2:
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

When updating a value through a form field that uses the formControl directive, the view isn't updated. When, say, two fields hold the same form control, changing one does NOT change the other.

This does happen when using NgModel, and does happen when calling formControl.setValue(newVal)

Expected behavior

Behaviour is expected to be the same in NgModel as when using Reactive FormControls

Minimal reproduction of the problem with instructions

http://plnkr.co/edit/LXyo6uHdbEpP3feudYoo?p=preview

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

The contract custom form fields have when using the ControlValueAccessor interface is broken. A good example is http://valor-software.com/ng2-bootstrap/#/buttons#radio - which works currently only with NgModel, as it requires updating the view on all relevant buttons on value change.

When using a set of buttons with reactive forms, currently, a (click) based hack needs to be put in place:

<div class="btn-group">
<label
class="btn btn-primary"
formControlName="privateApplication"
(click)="form.get('privateApplication').setValue(false)"
[btnRadio]="false">
{{'LABEL_PUBLIC' | translate}}
</label>
<label
class="btn btn-primary"
formControlName="privateApplication"
(click)="form.get('privateApplication').setValue(true)"
[btnRadio]="true">
{{'LABEL_PRIVATE' | translate}}
</label>
</div>

Please tell us about your environment:

OS Not relevant

Angular version: 2.4.1

Browser: Chrome 55

Language: TypeScript 2