WhereIsAI/github-issue-similarity huggingface dataset:
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.1

Operating System version: CentOS 7.5

Java version: 1.8.202

Steps to reproduce this issue

Simply using Zookeeper for the service registry.

Register a service.

Actual Result

When browsing Zookeeper Znodes, we see the service providers is stored in a ZNodes with long name, such as

/dubbo/com.test.dubbo.TestDubboPoc$MyService/providers/dubbo://127.0.0.1:20880/com.test.dubbo.TestDubboPoc$MyService?anyhost=true&application=first-dubbo-provider&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.test.dubbo.TestDubboPoc$MyService&loadbalance=roundrobin&methods=writeFile,getData&optimizer=com.test.dubbo.SerializationOptimizerImpl&payload=2147483647&pid=10894&register=true&release=2.7.1&revision=version1&serialization=avro&side=provider&timestamp=1556969914059&version=version1

Expectation

Is it possible to manage the znode name, such as providing a SHA hashing ID?

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: xxx

Operating System version: xxx

Java version: xxx

Steps to reproduce this issue

xxx

xxx

xxx

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

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!
Issue 1:
When testing my packages with 1.7 (Windows 10), I get tons and tons of warnings similar to these:

WARNING: Method definition Any(Integer, Static.StaticInt{1}, Integer) in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:261 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **

WARNING: Method definition Any(Integer, Static.StaticInt{1}, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:255 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **

WARNING: Method definition Any(Integer, Static.StaticInt{S}, Integer) where {S} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:246 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **

WARNING: Method definition Any(Integer, Integer, Static.StaticInt{L}) where {L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:243 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **

WARNING: Method definition Any(Integer, Static.StaticInt{S}, Static.StaticInt{L}) where {S, L} in module ArrayInterface at C:\Users\PetrKrysl\.julia\packages\ArrayInterface\CYf5x\src\ranges.jl:234 overwritten on the same line (check for duplicate calls to `include`).
** incremental compilation may be fatally broken for this module **

julia> versioninfo()
Julia Version 1.7.0-beta2
Commit b570546b68 (2021-06-20 06:31 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.0 (ORCJIT, skylake)
Environment:
JULIA_SSL_CA_ROOTS_PATH =

Issue 2:
I am testing the C's printf via ccall in julia, however, the "%f" format did not work as expected.

foo(x) = ccall(:printf, Cint, (Cstring, Cfloat), "%f\n", x) # helper function
foo(12.3) => 0.000000

The output is "0.000000" on x64 windows and arm64 linux, but not on x64 linux.

Poring through @code_llvm, printf is called as:

%17 = call i32 inttoptr (i64 140719310539600 to i32 (i64, float)*)(i64 441151672, float %16)

but printf is called as below if I use clang -o - -S -emit-llvm (on arm64 linux and x64 linux):

%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), double 1.230000e+01)

I have not figured out how vararg is passed on arm64, but Microsoft document on x64 calling convention says that vararg floating-point argument must be duplicated in both integer and floating-point registers, which I guess is the reason why "0.00000" is printed.
Issue 1:
/tmp $ cat program.rs

trait MyTrait {}

fn main() {}

/tmp $ rustc program.rs

program.rs:1:1: 1:17 error: parameter `Self` is never used
program.rs:1 trait MyTrait {}
^~~~~~~~~~~~~~~~
program.rs:1:17: 1:17 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
error: aborting due to previous error

My program does not make use of any Self parameter

Issue 2:
Given the input

trait T {}

rustc will complain:

<anon>:2:1: 2:11 error: parameter `Self` is never used
<anon>:2 trait T {}
^~~~~~~~~~
<anon>:2:1: 2:11 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
<anon>:2 trait T {}
^~~~~~~~~~

This may just be a diagnostics issue, but I'll let someone more familiar with Rust make that judgement.
Issue 1:
One of the best features of Deno is allowing us to write JavaScript that both run at (modern) browsers and server side without building or other works. But if we write in TypeScript, that's useless for Browsers. (That's why I'd like to write codes in JS rather then TS.)

If Deno provide an API that accepts TS codes, compile them with inside compiler, and returns JS codes. We can build a web server to respond JS modules compiled from TS. Then the TS codes are cross-platform too.

Here is a suggestion:

Deno.compile( code:string, options?:CompileOption ):Promise<string>
Deno.compileFile( filename:string, options?:CompileOption ):Promise<string>
Deno.compileSync( code:string, options?:CompileOption ):string
Deno.compileFileSync( filename:string, options?:CompileOption ):string

Issue 2:
The console.log and console.table functions don't use colors when displaying objects. Here is an example for the console.log example.
Issue 1:
Bug report

What is the current behavior?

config

module.exports = {
plugins : [
new webpack.DefinePlugin({foo : 'aFoo', bar : 'aBar', crash : 'other.prop'})
]
}

source code

console.log({foo : foo, bar : bar}); // correct
console.log({foo, bar}); // incorrect
console.log({crash}); // SyntaxError: Unexpected token '.'

translated code

console.log({foo : aFoo, bar : aBar}); // correct
console.log({aFoo, aBar}); // incorrect
console.log({other.prop}); // SyntaxError: Unexpected token '.'

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

the shorthand property should expand before translate with DefinePlugin,

and only property value can be translated

Other relevant information:

webpack version: 5.75.0

Node.js version: 19.6.1

Operating System: macOs 13.2.1 (22D68)

Additional tools:

Issue 2:
Feature request

support destructuring in:

EnvironmentPlugin, DefinePlugin, ImportMetaPlugin (partial support?), other plugins?

#16872

#16941 treeshaking when using namespace object, e.g. import * as b from 'b';const {a} = b;

json treeshaking, e.g. import b from '1.json'; const {a} = b;

What is the expected behavior?

Webpack should support destructuring on parser level

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

Modern versions of runtime environments (browsers, Node.js, Deno) support destructuring

How should this be implemented in your opinion?

JavascriptParser should be improved

Are you willing to work on this yourself?

yes
Issue 1:
The following tests are failing on clusters where the master is at HEAD and the nodes are at 1.0 (in kubernetes-upgrade-gke-step3-e2e-old):

Kubernetes e2e suite.DNS should provide DNS for services

Kubernetes e2e suite.DNS should provide DNS for the cluster

They are both failing with:

Unexpected number of pods (2) matches the label selector k8s-app=kube-dns,kubernetes.io/cluster-service=true

These tests are not failing once the nodes have been upgraded to HEAD to match version with the master.

See runs 33 - 39 of the kubernetes-upgrade-gke Jenkins job.

Issue 2:
It seems that HEAD masters can't delete pods on 1.0 nodes.

After spinning up a (GKE) cluster at 1.0.6 and upgrading the master to 1.2.0-alpha.1.455+4b7329ad8c52f6-dirty, I can't delete pods:

$ kubectl get pods
NAME READY STATUS RESTARTS AGE
$ kubectl create -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 0/1 Running 0 8s
nginx-controller-tfwpp 0/1 Running 0 8s
$ kubectl delete -f ./docs/user-guide/walkthrough/replication-controller.yaml
replicationcontrollers/nginx-controller
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-controller-l4rhx 1/1 Running 0 6m
nginx-controller-tfwpp 1/1 Running 0 6m

I uncovered this because there are several e2e tests failing on version-skewed clusters, and they seem to be all having problems deleting pods.

This is likely related to:

Kubectl e2e tests leave resources running after stop during upgrade #15112

DNS e2es are failing on version-skewed clusters, where master is at 1.1 and nodes are at 1.0 #15120
Issue 1:
Currently TS tools can't autocomplete property names that are not identifiers. e.g.:

interface Style {
'font-family'?: string;
}

There is no autocomplete for the following input:

var style: Style = { 'fo // no autocomplete
style[ // no autocomplete
style. // no autocomplete

I think maybe TS can do better here: show a list of all properties, after user has selected one, quote it and use brackets if neccesary.

Issue 2:
Many JavaScript frameworks are heavily based on using string values to do many things, from getting and setting attributes via the property name in string form, to defining event handlers to handle browsing to particular URLs. TypeScript added specialized signatures in overloads as one means to help mitigate the pain associated with these types of APIs. Unfortunately for a number of patterns this is insufficient and not general enough. Rather than try to design a specific type system enhancement that could handle some or all of the many ways these frameworks use string literals we could try some simple tricks in Visual Studio to help out. Namely, when typing a string literal the editor should provide a completion list based on other string literals already used in your program. Some other tools already provide similar capabilities (ex Sublime Text).

Consider something like this in a Backbone View class:

class TodoView extends Backbone.View<TodoModel> {
initialize() {
this.listenTo(this.model, 'change', () => this.render());
this.listenTo(this.model, 'todoDescriptionChanged', () => this.render());
this.listenTo(this.model, 'destory', () => this.remove());
}

At another point I may attempt to manually trigger one of these events:

updateTodo() {
var desc = this.$input.val().trim();
var todo = this.model;
if (desc) {
todo.save({ title: desc });
// provide completion list inside this string literal showing
// todoDescriptionChanged to avoid hard to debug typos
// and speed up development
todo.trigger('todoDescriptionChanged');
}
}

This should be a relatively cheap solution to a common set of problems that we've always hoped TypeScript can improve on over JavaScript. If you did accidentally make a typo in one use of the literal this could also help you discover that when seeing 2 completion list items that are similar but slightly different.
Issue 1:
See issue ipython/ipython#7351

Issue 2:
Hello,

I both using Matplotlib and Lyx (https://wiki.lyx.org/) on Ubuntu. Recently I updated the package fonts-lyx from version 2.1.4-2 up to 2.2.0-1 . It provoked incoherent results in the latex rendering of Matplotlib: the simple :

import matplotlib.pyplot as plt
plt.text(0.5,0.5,r'$\mu_3$')

display random character (something like /Ω). I downgraded the version of fonts-lyx to 2.1.4-2 and it works again.

Linux MyComputer 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

matplotlib.version: '1.5.1'

Python 2.7.11+

I installed Matplotlib via PIP
Issue 1:
Website or app

www.google.com

Repro steps

React Devtools - 4.20.0

React - 16.8.6

Not sure if relevant but:

react-scripts 4.0.3

First I get an blank devtools (components) but when picking select element arrow and hover over elements a lot of errors like this one shows up in the console:

react_devtools_backend.js:5821 Uncaught Error: Could not find ID for Fiber "Context.Provider"
at getFiberIDThrows (react_devtools_backend.js:5821)
at Object.getFiberIDForNative (react_devtools_backend.js:7257)
at Overlay_Overlay.inspect (react_devtools_backend.js:9158)
at showOverlay (react_devtools_backend.js:9286)
at onPointerOver (react_devtools_backend.js:9445)
getFiberIDThrows @ react_devtools_backend.js:5821
getFiberIDForNative @ react_devtools_backend.js:7257
inspect @ react_devtools_backend.js:9158
showOverlay @ react_devtools_backend.js:9286
onPointerOver @ react_devtools_backend.js:9445

No other errors occur. Devtools works fine on deployed version. Eg. https://reactjs.org/ works fine.

PR and issue that could be related?

Issue 22577

PR 22527

Maybe relevant comment from author and maintainer of React DevTools:

Earlier fiber problem

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

Issue 2:
Website or app

google.com

Repro steps

This started after last update 4.20.0

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response
Issue 1:
http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/12507/

cc @wojtek-t @dchen1107 @yujuhong

Issue 2:
Both the GKE and Parallel tests recently had a run where they timed out. (after 90 minutes!) This is like 10x longer than the parallel run should be taking.

http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gke-ci/8168/

http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/7141/
Issue 1:
Challenge Record Collection has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0.

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

My code:

// Setup
var collection = {
2548: {
album: "Slippery When Wet",
artist: "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},
2468: {
album: "1999",
artist: "Prince",
tracks: [
"1999",
"Little Red Corvette"
]
},
1245: {
artist: "Robert Palmer",
tracks: [ ]
},
5439: {
album: "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {
var identry = id;
var recordID = collection[identry];
if(value !==""){
if(prop === "tracks"){
recordID[prop].push(value);
}
else{
recordID[prop] = value;
}
}
else{
delete recordID[prop];
}
return collection;
}

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");

I keep getting this error:

After updateRecords(5439, "tracks", "Take a Chance on Me"), tracks should have "Take a Chance on Me" as the last element.

and when i change the values to test the code i get this error on the console that says: recordID[prop] is undefined

Issue 2:
Challenge Record Collection has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.

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

My code:

// Setup
var collection = {
2548: {
album: "Slippery When Wet",
artist: "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},
2468: {
album: "1999",
artist: "Prince",
tracks: [
"1999",
"Little Red Corvette"
]
},
1245: {
artist: "Robert Palmer",
tracks: [ ]
},
5439: {
album: "ABBA Gold"
}
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {
if( value !== ""){
if(prop!=="tracks"){
collection[id][prop]=value;
}
else if( prop ==="tracks"){
collection[id][prop].push(value);
}
}
else
delete collection[id][prop];

return collection;
}

// Alter values below to test your code
updateRecords(5439, "artist", "ABBA");
Issue 1:
I tried to create a generic extern fn, and accidentally left off the type parameter. That caused an ICE. This code reproduces it:

fn with_type_params<T>() { }

extern fn foo<T>() {
with_type_params::<T>();
}

fn main() {
let _a:*u8 = foo;
}

and produces this error from the compiler with RUST_LOG=rustc=1:

task <unnamed> failed at 'assertion failed: !ty::type_has_params(*s)', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/middle/trans/monomorphize.rs:78
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /build/buildd/rust-nightly-201308162101~680eb71~raring/src/librustc/rustc.rs:371

I wouldn't expect the code above to actually compile, since the type parameter is missing, but it should show an error about that rather than an ICE.

Trying to fix the problem--changing the bare foo to foo::<int> in main, for instance--produced a normal compiler error: "this item does not take type parameters." That also seems wrong--if extern fns are not allowed to take type parameters, then shouldn't the compiler should complain about it at the definition? If they are allowed, then I should be able to take the address of one with the type parameter filled in. (Indeed, that should be required in order to use them.)

Issue 2:
This is because they're *u8, so trans sees no substs and it won't monomorphize it. Then it calls type_of on a ty param and ICEs.

I think maybe crust functions should have to have explicit type parameter substitutions.
Issue 1:
Heyho,

I just want to leave a comment: I installed the lastest alpha from npm, and get an error with webpack:

ERROR in ./~/angular2/src/facade/async.js Module not found: Error: Cannot resolve module 'rxjs/operators/toPromise' in ...\angular2-test\node_modules\angular2\src\facade @ ./~/angular2/src/facade/async.js 13:0-35

So the problem is here: The import 'rxjs/operators/toPromise'; is wrong, the correct import would be import 'rxjs/operator/toPromise';.

With this change I can use the angular sources again.

Issue 2:
It looks like Angular 2 tries to load files in a path called 'rxjs/operators/*' (like here). But it seems the path should be called 'rxjs/operator/*' (without s).

Webpack error:

ERROR in ./~/angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/operators/toPromise' in
Issue 1:
Glide Can't load local Vector drawable?

Glide.with(this) .load(R.drawable.ic_1f3ad) .into(image);

this ic_1f3ad is a Vector drawable!

I use 3.7.0 or 4.0.0-SNAPSHOT can't load !

I want know this is glide can't support or my fault？

Issue 2:
I've a drawable (res/drawable/my_drawable.xml) which looks like this:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportHeight="24"
android:viewportWidth="24">
<path
android:fillColor="#aaa"
android:pathData="....." />
</vector>

I want to load this drawable into an ImageView inside onBindViewHolder:

Glide.with(context)
.load(R.drawable.my_drawable)
.into(holder.imageViewProfile);

But it's not working. If I add a listener, an exception is thrown and it's null.

How to load such an vector drawable correctly into an ImageView with Glide?

Alternative is not using Glide, but .... yeah .... that's not what I want.
Issue 1:
If you check this url

https://nextstore.itmohou.now.sh/

everything will work fine

if you go to footer and navigate to about

then press home it will work fine also

but if you went to any error page (any page because there are no pages yet)

and press home

it will get stuck and wont go to home

other pages will work perfectly

i couldnt find the problem

here is the code

https://github.com/mohammadou1/nextstore

Issue 2:
This is bug report

Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:

https://github.com/standy/next-css-error

Bug appears in next@7.0.0 + next-css@1.0.1,

Older next@6.1.2 + next-css@0.2.0 works fine
Issue 1:
VSCode Version: 1.1.0

Current behaviour:
<div [class.selected]="i === selected"></div>
<div [class.tooSmall]="value < threshold"></div>
<div [class.tooBig]="value > limit"></div>

Expected (to be like):
<div *ngIf="i === selected"></div>
<div *ngIf="value < threshold"></div>
<div *ngIf="value > limit"></div>

I could offer a PR if anyone familiar with the vscode structure give me hints on where I should look for the issue.

Issue 2:
Angular 2 uses brackets around attributes or * prefixes, which break syntax highlighting and IntelliSense:

<a href="hello.html" (click)="someMethod()" title="hello"></a>
<input type="text" [value]="someProperty" placeholder="Enter text"/>
<div class="hello" *ngIf="someCondition"></div>
Issue 1:
Floats are not always correct and always use . as the decimal separator.

Issue 2:
If you run std::float::infinity.next_after(1.0)` you get the following (unexpected result)

=> 179769313486231680088648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068888.0

the expected result is actually something like

=> 179769313486231580788648464220646842686668242844028646442228680066046004606080400844208228060084840044686866242482868202680268820402884062800406622428864666882406066422426822086680426404402040202424880224808280820888844286620802664406086660842040886824002682662666864246642840408646468824200860804260804068887.0
Issue 1:
Just a suggestion to allow delete by query, especially wildcard queries against the _id, instead of just delete by _id. It would be much faster and easier than one by one.

Issue 2:
The error doesn't happen when I delete the queries one by one.

It only happens when you delete the percolator index itself for a index.

Gist for reproducing the error:

https://gist.github.com/1678150
Issue 1:
The auto-completion popup fails on words containing umlauts (äöü). The umlaut and all characters after that are missing. I'm using Atom 0.211.0 from the .deb file and Ubuntu 14.04.

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?