WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
I'm setting up a docker-multinode k8s. I'm trying to mount a volume (in this case, a secret). Originally, I was getting this issue:

Unable to mount volumes for pod "service-registry-eccye_default": exit status 32

I was on Slack yesterday, and @cjcullen pointed out that I should be running the kubelet with the --containerized flag. I have added it and restarted the server and now I'm having this error:

Unable to mount volumes for pod "service-registry-4b682_default": fork/exec /nsenter: no such file or directory

It looks like this issue was brought up in the past (#8734), but never resolved.

Issue 2:
When I try to create a pod which mounts secret volumes I get a Unable to mount volumes for pod: exit status 1 error. For instance, when trying to create the example pod from https://github.com/kubernetes/kubernetes/tree/master/docs/user-guide/secrets :

$ curl -s https://raw.githubusercontent.com/kubernetes/kubernetes/master/docs/user-guide/secrets/secret.yaml | kubectl create -f -
secrets/test-secret
$ curl -s https://raw.githubusercontent.com/kubernetes/kubernetes/master/docs/user-guide/secrets/secret-pod.yaml | kubectl create -f -
pods/secret-test-pod
$ kubectl describe pod secret-test-pod
[...]
Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message
Fri, 30 Oct 2015 10:56:30 +0000 Fri, 30 Oct 2015 10:56:30 +0000 1 {scheduler } scheduled Successfully assigned secret-test-pod to 127.0.0.1
Fri, 30 Oct 2015 10:56:30 +0000 Fri, 30 Oct 2015 11:31:37 +0000 211 {kubelet 127.0.0.1} failedMount Unable to mount volumes for pod "secret-test-pod_default": exit status 1
Fri, 30 Oct 2015 10:56:30 +0000 Fri, 30 Oct 2015 11:31:37 +0000 211 {kubelet 127.0.0.1} failedSync Error syncing pod, skipping: exit status 1

$ kubectl get secrets
NAME TYPE DATA
default-token-vjaxy kubernetes.io/service-account-token 2
test-secret Opaque 2

This is a single node containerized k8s cluster for local development (based on https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/docker.md ).

Here is how I specifically create the cluster and the definition of the master pod: https://gist.github.com/2opremio/12eafc0c2485d8d13f2a

I am running Docker version 1.8.2, build 0a8c2e3

Related to #16055 (I get a different error, though) and #8734 (but I do provide the --contenerized flag see https://gist.github.com/2opremio/12eafc0c2485d8d13f2a#file-create_cluster-sh-L27 ) and and somehow similar to openshift/origin#3072
Issue 1:
@sjudd Can I work on this?

Issue 2:
I'm using 4.0.0-RC0, I added it by Gradle:

repositories {

mavenCentral() // jcenter() works as well because it pulls from Maven Central

}

dependencies {

compile 'com.android.support:appcompat-v7:25.3.1'

compile 'com.github.bumptech.glide:glide:4.0.0-RC0'

compile 'com.android.support:support-v4:25.3.1'

annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC0'

}

I followed the here: https://github.com/bumptech/glide/tree/master/samples/svg/src/main/java/com/bumptech/glide/samples/svg

But when i try load SVG file to ImageView, i get error message: cannot resolve symbol 'GlideApp'

I think GlideApp class was not generated.

My source:

package com.example.quangson.glidesvg;

import android.graphics.Color;

import android.graphics.drawable.Drawable;

import android.support.v7.app.AppCompatActivity;

import android.os.Bundle;

import static com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions.withCrossFade;

import android.graphics.drawable.PictureDrawable;

import android.net.Uri;

import android.util.Log;

import android.view.View;

import android.view.ViewGroup;

import android.widget.ImageView;

import android.widget.LinearLayout;

import android.widget.TextView;

import com.bumptech.glide.RequestBuilder;

import com.caverock.androidsvg.SVGImageView;

import com.example.quangson.glidesvg.glide.SvgSoftwareLayerSetter;

public class MainActivity extends AppCompatActivity {

private static final String TAG = "SVGActivity";

private ImageView imageViewRes;

private ImageView imageViewNet;

private RequestBuilder requestBuilder;

@OverRide

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

imageViewRes = (ImageView) findViewById(R.id.svg_image_view1);

imageViewNet = (ImageView) findViewById(R.id.svg_image_view2);

requestBuilder = GlideApp.with(this)

.as(PictureDrawable.class)

.placeholder(R.drawable.image_loading)

.error(R.drawable.image_error)

.transition(withCrossFade())

.listener(new SvgSoftwareLayerSetter());

Uri uri = Uri.parse("http://www.clker.com/cliparts/u/Z/2/b/a/6/android-toy-h.svg");

requestBuilder.load(uri).into(imageViewNet);

}

}

How to generate GlideApp class?

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

Expected Behavior

No flow errors

Current Behavior

Internal error: merge_job exception: Utils_js.Key_not_found("LeaderHeap", "/my_project/node_modules/material-ui/styles/index.js.flow") Raised at file "map.ml", line 122, characters 16-25

Steps to Reproduce (for bugs)

npm install flow-bin@latest

change Atom Nuclide settings to Use the Flow binary included in each project's flow bin

open any Atom .js file in your flow project that imports from material-ui

see diagnostics panel for error

Context

Your Environment

Tech
Version

Material-UI
1.0.0.0-beta.6

React
^15.5.4

browser
Chrome

flow-bin
^0.56.0

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

Expected Behavior

I want the color and font of the text in the header row of the table to be editable in material-ui 0.19.4.

Current Behavior

I found the headerStyle property to change the default style but it doesn't seem to work.Can anyone suggest the properties in headerStyle that has to be overridden to make this requirement work. Sample codes would help..my sample code: https://stackblitz.com/edit/react-emfcf1?file=TableComponent.js

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

Material-UI
0.19.4

React
15.6.1

browser

etc
Issue 1:
Hi, guys!

This is actually a duplicate of #4958 and the issue description could be found there.

But the problem still exists.

Why after upgrading to symfony-2.1.0-beta4 aliasing of classes stopped working?

More about environment:

PHP 5.4.4-2 (cli) (built: Jun 20 2012 09:52:11)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with XCache v2.0.0, Copyright (c) 2005-2012, by mOo

Issue 2:
Now paths to files with translations adds when container compiles https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L407 . Sometimes needed change way to locate translation file, for example when there are themes, wich can override translations from bundle.
Issue 1:
Currently making a Cypher request over the REST API returns results as nested arrays that contain maps instead of just an array of maps. This makes it harder to decode. I currently read the entire response and then do string replaces to fix it up before decoding it. If the format was more standard (especially if I could get the desired results shown below) I could easily do a streaming decode which would be a lot more efficient.

MATCH (u:User)

RETURN {name: u.name, email: u.email} AS r

Actual Results

{
"columns": ["r"],
"data":[
[{"name":"foo", "email": "foo@bar.com"}],
[{"name":"bat", "email": "bat@bar.com"}] // note the extra brackets
]
}

Expected Results

{
"columns": ["r"],
"data":[
{"name":"foo", "email": "foo@bar.com"},
{"name":"bat", "email": "bat@bar.com"}
]
}

Desired results:

[
{"name":"foo", "email": "foo@bar.com"},
{"name":"bat", "email": "bat@bar.com"}
]

Is there any way to get to the expected or desired results with Cypher 2.0?

Issue 2:
Suppose I have this node:

(n:person {name: "Bob Smith", city: "Boston"})-[:brother]-(n:person {name: "Dave Smith"})

and this node:

(n:person {name: "Bob Smith", haircolor: "brown"})-[:brother]-(n:person {name: "Frank Smith"})

It would be great to have an automatic way of combining them, to get:

(n:person {name: "Frank Smith"})-[:brother]-(n:person {name: "Bob Smith", city: "Boston", haircolor:"brown"})-[:brother]-(n:person {name: "Dave Smith"})

Right now I'm doing this manually, by taking one node's properties and relationships, inserting them with MERGE into the other node, and then deleting the redundant first node, but this is clunky and requires multiple round-trips between neo4j and the server. One person suggested using MERGE to avoid duplicates, but unfortunately I can only detect them with a complex machine learning algorithm, so there's no real way to screen them out in advance.

Relevant StackOverflow thread: http://stackoverflow.com/questions/23376881/neo4j-merge-2-or-multiple-duplicate-nodes
Issue 1:
In a few documentation places

http://getbootstrap.com/css/#helper-classes-clearfix

http://getbootstrap.com/css/#less-mixins-vendor (scroll to Transformation)

and a few more

a curly bracket is highlighted with red by using class="err"

Sounds like a bug in {% highlight css %}

Issue 2:
Just like less code in CSS#Less Mixins

It should be less format, not css format.

But I can't find the html template with a { highlight less } format.

Here are the screenshots.
Issue 1:
VSCode Version: 0.10.11

OS Version: Fedora 23, 64bit

It would be great if there's an option for (auto-completion):

Pressing Tab will replace the rest.

Pressing Enter will insert into current caret position.

Or vice-versa.

Thanks,

Issue 2:
VSCode Version: 1.4.0

OS Version: Windows 10

Steps to Reproduce:

Create a method called methodOne

Write some code that calls this method as methodTwo()

Place the cursor between the d and T and invoke completion

Select methodOne from the completion list

You would expect methodTwo to be replaced with methodOne but you end up with methodOneTwo.
Issue 1:
I think we should add support for that.

Though it's still tricky when using it in grid-search because that requires a custom scorer (via make_scorer) every time :-/

Issue 2:
to reproduce:

import numpy as np
np.random.seed(13)
classes = np.array(['yes', 'no'])
y = classes[np.random.randint(2, size=10)]
t = classes[np.random.randint(2, size=10)]
from sklearn.metrics import roc_auc_score
from sklearn.metrics import accuracy_score
roc_auc_score(t, y)

ValueError: Data is not binary and pos_label is not specified
Issue 1:
Bug Report

I would like to work on a fix!

Current Behavior

I have a . browserlistrc file that contains the defaults query. I don't have targets option defined in babel-preset-env options. With that setup, the preset includes 148 core-js imports.

If I change this setup and define the targets option to defaults I would expect the output to be the same. It is not. The preset includes 129 core-js imports.

Note that this happens only with the defaults query. If I target for instance Chrome 75, both setups work the same.

Input Code

See:

https://github.com/htulipe/bug-babel-preset-env

In lib you'll find a file compiled without the targets option and another with the option defined.

Expected behavior/code

I would expect that defining defaults in .browserslistrc or in the preset options to ouput the same result.

Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)

See sample repo

Environment

System:
OS: macOS 10.15.2
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
npmPackages:
@babel/cli: ^7.7.7 => 7.7.7
@babel/core: ^7.7.7 => 7.7.7
@babel/preset-env: ^7.7.7 => 7.7.7

Issue 2:
#8897 (comment)

I guess the best solution would be to check ourself if there is a browserlist config in the fs if there are not targets specified. We could do this with browserlist.findConfig(from). If we find one we do not change defaults. But that would also be a breaking change so I guess we would need to wait for v8. https://github.com/browserslist/browserslist/blob/master/node.js#L238
Issue 1:
What problem does this feature solve?

v-model.lazy on component is ignored and wasted, while .number and .trim are effective.

What does the proposed API look like?

options: {
model: {
prop?: string,// = 'value'
event?: string,// = 'input'
lazyEvent?: string,// = 'change'
}
}

Issue 2:
Version

2.6.11

Reproduction link

https://codesandbox.io/s/naughty-shape-p1plw?fontsize=14&hidenavigation=1&theme=dark

Steps to reproduce

npm install vue-server-renderer
npm audit

What is expected?

Audit passes

What is actually happening?

┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Remote Code Execution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ serialize-javascript │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=3.1.0 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ vue-server-renderer │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ vue-server-renderer > serialize-javascript │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1548 │
Issue 1:
Q
A

Bug report?
no

Feature request?
yes

BC Break report?
no

RFC?
no

Symfony version
4.1

What about add constraint on unique elements collection?

I think it will be named as Assert\UniqueCollection.

It is partly linked with #9888

What do you think? I'd be happy to send a PR after it's discussed.

Issue 2:
I propose to add the following constraints for validating Traversable instances and arrays:

Each: Validates that each entry satisfies some constraint (replaces All, which should be deprecated).

Some: Validates that at least one entry satisfies some constraint. The lower limit (default 1) and upper limit (default null, i.e. unbounded) can be configured. Alternatively, a precise number of matches can be given.

None: Validates that 0 entries satisfy some constraint (alias for Some(exactly = 0, ...))

Unique: Validates that the collection does not contain duplicates.

Example:

/**
* @Each(@GreaterThan(6))
*/
private $numbers.

/**
* @Some(@GreaterThan(6))
*/
private $numbers.

/**
* @Some(@GreaterThan(6), min = 2, max = 5)
*/
private $numbers.

/**
* @Some(@GreaterThan(6), exactly = 3)
*/
private $numbers.

/**
* @None(@GreaterThan(6))
*/
private $numbers.

/**
* @Unique
*/
private $numbers.

Each constraint should expect either a single constraint or an array of constraints to be given. That means you can also do:

/**
* @Each({
* @NotNull,
* @GreaterThan(6)
* })
*/
private $numbers.

"min" or "max" and "exactly" must not be given at the same time:

// ConstraintDefinitionException
new Some(array(
'constraints' => array(...),
'min' => 2,
'exactly' => 2,
));

Groups on inner constraints should be supported (ref #4453).

If a collection constraint has explicit groups given, it should call addImplicitGroupName() on the nested constraints with each of these groups (except "Default").

new Each(array(
'groups' => array('Default', 'Strict'),
'constraints' => new GreaterThan(6), // implicitly group "Default" and "Strict"
));

If a collection constraint has no explicit group given, its groups should be the merged result of all nested groups.

new Each(array(
'constraints' => array(
new GreaterThan(array(
'value' => 6,
'groups' => array('Default', 'Strict'),
)),
new NotNull(array('groups' => 'Filled')),
),
// implicitly group "Default", "Strict" and "Filled"
));

If both the collection constraint and a nested constraint have explicit groups given, the groups of the nested constraint need to be a subset of the groups of the outer constraint.

// ok
new Each(array(
'groups' => array('Default', 'Strict'),
'constraints' => new GreaterThan(array(
'value' => 6,
'groups' => array('Default', 'Strict'),
)),
));

// ok
new Each(array(
'groups' => array('Default', 'Strict'),
'constraints' => new GreaterThan(array(
'value' => 6,
'groups' => 'Strict',
)),
));

// ConstraintDefinitionException
new Each(array(
'groups' => array('Default', 'Strict'),
'constraints' => new GreaterThan(array(
'value' => 6,
'groups' => array('Strict', 'Sales'),
)),
));

Calls to addImplicitGroupName() on the collection constraint should be propagated to nested constraints.
Issue 1:
Hello, my BatchInserter failed after successfully having imported more than 75 million nodes with this exception:

Exception in thread "main" java.lang.NumberFormatException: For input string: "5870760"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.valueOf(Long.java:540)
at org.neo4j.index.impl.lucene.DocToIdIterator.fetchNextOrNull(DocToIdIterator.java:56)
at org.neo4j.index.impl.lucene.DocToIdIterator.fetchNextOrNull(DocToIdIterator.java:27)
at org.neo4j.helpers.collection.PrefetchingIterator.hasNext(PrefetchingIterator.java:55)
at org.neo4j.helpers.collection.IteratorUtil.single(IteratorUtil.java:337)
at org.neo4j.helpers.collection.IteratorUtil.singleOrNull(IteratorUtil.java:130)
at org.neo4j.index.impl.lucene.AbstractIndexHits.getSingle(AbstractIndexHits.java:45)
at CorpusImporter.main(CorpusImporter.java:114)

The line that caused the exception is:

formNode = forms.query("form:\""+tokenStr+"\" lemma:\""+lemmaStr+"\" tag:\""+tagStr+"\"").getSingle();

(i.e. searching whether a node with such parameters already exists in the index)

forms is defined as follows:

LuceneBatchInserterIndexProvider indexProvider = new LuceneBatchInserterIndexProvider( inserter );
BatchInserterIndex forms = indexProvider.nodeIndex( "forms", MapUtil.stringMap( "type", "exact" ) );
forms.setCacheCapacity( "form", 10000000 );
forms.setCacheCapacity( "lemma", 1000000 );
forms.setCacheCapacity( "tag", 100000 );

When I tried the same process a few days ago with version 2.0.0-RC1, it successfully passed this data, but failed after 107 millions nodes with a segmentation fault.

Issue 2:
I am trying to create relationships between nodes that are distinct. Right now, I can only return distinct. Is there any way for me to match distinct or create distinct? For example:

match (p:Player), (n:Games) where p.id = n.id

create (p)-[:has_played]->[n]

There are player nodes with the same id and the query above is matching all the games to the duplicated player ids. Is there some way I can get the distinct player ids and match it with the games?
Issue 1:
For Kotlin projects, Glide currently makes use of KAPT. This is generally quite slow since it requires generating Java stubs before the annotation processing step.

KSP offers an alternative to this by making it easier for annotation processors like Glide to more directly use Kotlin's compiler plugin infrastructure. Based on initial benchmarks, using KSP can speed up build times by as much as 2x.

Issue 2:
Hi,

I have a multi account app, where each account has its own dagger component, and a okhttp instance (theyre cloned from the same base instance so they share threadpools etc). However account specific okhttp client instance has its own authenticator (reauth is specific per account, as its api url is different) which does relogging in case of 401 etc.

Point is that I need this account okhttp instance to drive Glide if im in under given account ui tree i.e. I need multiple Glides in app, per account instance.

Is there a way to do this? Im only able to inject okhttp loader factory via module, but that all seems to be singleton-y

Thanks!
Issue 1:
什么时候出汉化版

When will it be available in Chinese？

Issue 2:
Summary of the new feature/enhancement

The windows key shortcut guide UI strings need to be localized.

The application will be localized in the following langauges:

Language
Culture Code

English
en

German
de

Spanish
es

French
fr

Italian
it

Japanese
ja

Korean
ko

Portuguese (Brazil)
pt-BR

Russian
ru

Chinese (Simplified)
zh-Hans

Chinese (Traditional)
zh-Hant

Czech
cs

Dutch
nl

Hungarian
hu

Portuguese (Portugal)
pt-PT

Polish
pl

Swedish
sv

Turkish
tr
Issue 1:
Here sum of rows are given as sums of columns and vice versa. Also, I think axis=0 should give the value of the sum of the rows since numpy first shows rows and then columns in np.shape() command

Issue 2:
In this Documention https://numpy.org/devdocs/user/absolute_beginners.html

Sum of rows of an numpy array is denoted by b.sum(axis=0), but the axis should be equal to 1 for sum of rows and 0 for sum of columns.

pleas refer to the screenshot below from the documentation web page.
Issue 1:
It would be very useful for packages to be able to extend chained comparisons like

using ModelingToolkit

@variables x, y

-1 < y - x^2 < 1

to act on their types. Currently this is not possible since chained comparisons are lowered straight to a too-low-level form:

julia> Meta.@lower -1 < y - x^2 < 1
:($(Expr(:thunk, CodeInfo(
@ none within `top-level scope'
1 ─ %1 = Core.apply_type(Base.Val, 2)
│ %2 = (%1)()
│ %3 = Base.literal_pow(^, x, %2)
│ %4 = y - %3
│ %5 = -1 < %4
└── goto #3 if not %5
2 ─ %7 = %4 < 1
└── return %7
3 ─ return false
))))

Issue 2:
The representation of sparse matrices allow for duplicates. This seems prone to errors, for instance computing the number of non-zeros entries would be incorrect.

Since this is not allowed in full matrices, does it make any sense to have this be the behavior for sparse matrices?

julia> a = spzeros(2, 3)
2×3 SparseMatrixCSC{Float64,Int64} with 0 stored entries

julia> a[[1,1,1,1,1,1],2]=1
1

julia> a
2×3 SparseMatrixCSC{Float64,Int64} with 6 stored entries:
[1, 2] = 1.0
[1, 2] = 1.0
[1, 2] = 1.0
[1, 2] = 1.0
[1, 2] = 1.0
[1, 2] = 1.0