WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Steps to reproduce and a minimal demo of the problem

http://plnkr.co/edit/SYzr0x2nwrVfxHfhA5fB

What steps should we try in your demo to see the problem?

Just load it. Something in the line of

Template parse errors:
Lexer Error: Unexpected character [Á] at column 3 in expression [nonÁscii] ("<h1>My First Angular 2 App</h1><p>[ERROR ->]Utf8: {{nonÁscii}}"): AppComponent@0:34

will appear in the console.

Current behavior

Non-ascii characters are not allowed in the template.

Lexer will fail with an error.

Expected/desired behavior

To be able to use non-asc characters in interpolated code. For instance to access non-ascii members in json data.

Issue 2:
*I'm submitting a ... *

[x ] bug report

I have a datamodel where Danish characters are used e.g. 'ø'. This works fine in my components. When I try to bind to a model entity which contains a Danish character, I get an error though.

Lexer Error: Unexpected character [Ø] at column 7 in expression [testVarØ] ("
<div>
<h2>Hello {{name}}</h2>
<input [ERROR ->][(ngModel)]="testVarØ" type="text"/>
</div>
"): App@3:13
Lexer Error: Unexpected character [Ø] at column 7 in expression [testVarØ=$event] ("
<div>
<h2>Hello {{name}}</h2>
<input [ERROR ->][(ngModel)]="testVarØ" type="text"/>
</div>
"): App@3:13
at new BaseException (https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js:7385:21)
at TemplateParser.parse (https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js:24039:15)
at https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js:24744:54
at Zone.run (https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:1243:24)
at Zone.run (https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js:13456:32)
at zoneBoundFn (https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:1220:26)
at lib$es6$promise$$internal$$tryCatch (https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:468:17)
at lib$es6$promise$$internal$$invokeCallback (https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:480:18)
at lib$es6$promise$$internal$$publish (https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:451:12)
at https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js:123:10

I have reproduced the problem here:

http://plnkr.co/edit/KEC0GQFYuotdnhP3XxAV?p=info

Angular version: 2.0.0-beta.8

Browser: [all ]

Language: [all]
Issue 1:
Antony Bowesman opened SPR-5362 and commented

Reference forum message http://forum.springsource.org/showthread.php?t=64011

Given the following two methods in a Controller

@RequestMapping(value="/rest/mail/v1/ipm/*", method=RequestMethod.GET)

public ModelAndView Method1()

@RequestMapping(value="/rest/mail/v1/ipm/*/**", method=RequestMethod.GET)

public ModelAndView Method2()

Given the request path /rest/mail/v1/ipm/JA8AAAAAAAAAKwAB4awBIfRXAeRU it matches the first method, but then chooses the second path as a BETTER match, resulting in the wrong method being called. This is because of the simplistic implementation of isBetterPathMatch() that decides that a longer length path is a better match regardless of the number of elements in the path.

This occurs in AnnotationMethodHandlerAdapter.ServletHandlerMethodResolver.isBetterPathMatch. It clearly does not take account of the extra / in the second path, which is not present in the given URL.

Although it is possible to make a workaround which involves having a single method, where the code then makes decisions based on the request path, it complicates Controller implementations forcing different sets of business logic to be combined.

Affects: 2.5.6

Issue Links:

#10040 PathVariable mappings are greedy over hard coded mappings ("duplicates")

#10593 REOPENED -PathVariable mappings are greedy over hard coded mappings ("duplicates")

Referenced from: commits 721f2ca

Issue 2:
Sivakumar opened SPR-4848 and commented

Can any one send replace ment method fororg.springframework.jdbc.core.ResultReader in spring 2.5.4

Issue Links:

#9528 New class for org.springframework.jdbc.core.ResultReader; in spring 2.5.4 ("is duplicated by")
Issue 1:
This is linux, though it is prolly everywhere

Issue 2:
VSCode Version: 0.10.12-alpha

OS Version: Windows 10

Steps to Reproduce:

F1 -> Install extension

Click install button

Click Readme button

Click out of the command window

Actual:

Two notifications come up. One asking if you would like to install that extension (which you already have) and another that says you need to restart to enable the extension.

Expected:

Only the "restart to enable it." dialog to show up.
Issue 1:
📝 Move windows by direction, by using all up, down, left, right arrow keys.

What is the expected behavior of the proposed feature? What is the scenario this would be used?

2k and 4k monitors are becoming the standard. A user can easily utilize a focus layout with six zones. Two zones per column. In the current focus layout, fancyzones follow a radial approach. In order to move a window from top left to bottom left, you need to hit win+right four times. In order to move it back, you need to hit win+left again four times.

My mistake, user can actually press win+left and it will go in the reverse direction. But still, adding up/down directions will make the process smoother. It will still require multiple keystrokes to reach to the middle-bottom zone.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Issue 2:
Summary of the new feature/enhancement

In i3, user can switch focus to adjacent zones in 4 directions using hotkeys (Mod1 + jkl;).

Proposed technical implementation details (optional)

FancyZones can include shortcuts Win + Ctrl + LEFT/RIGHT leveraging MoveWindowIntoZoneByDirection implementation. The choice of the hotkey is based on Window Walker WIN + CTRL.
Issue 1:
Description of the problem

Pulling this over from aframevr/aframe#3036. Each keyframe for the scale channel (for example) contains 9 floats. GLTFLoader creates KeyframeTracks incorrectly for cubic spline interpolation, the scale comes to 0 0 0, and errors are thrown.

Linear interpolation works correctly.

glTF cubic spline interpolation notes.

Assets:

.gltf: https://s3.amazonaws.com/bug-figures/v2-locrotscale-cube-embedded-buffers.gltf

.blend: https://s3.amazonaws.com/bug-figures/cube.blend

Three.js version

Dev

r87

[] ...

Issue 2:
I've noticed that GLTF2Loader is undergoing fairly rapid iteration. Is there work in progress on supporting the new interpolation modes, most interestingly CUBICSPLINE? Of all the improvements from GLTF1 to GLTF2, getting away from densely sampled animation transforms (and the resulting enormous model files) is perhaps the most exciting.

If nobody else is working on this, we may end up taking a pass on it.
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: macbook 10.14.3

Java version: 1.7

Steps to reproduce this issue

这个问题依然存在，2.7.1，spring:UNKOWN

// [Issue] SpringStatusChecker execute errors on non-XML Spring configuration // issue : #3615 if(c instanceof GenericWebApplicationContext) { // ignore GenericXmlApplicationContext continue; }

c是一个GenericWebApplicationContext但被忽略了，右侧的注释是说忽略GenericXmlApplicationContext？

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

Operating System version: macOs Mojave 10.14.5

Java version: 1.8

Steps to reproduce this issue

使用dubbo启动一个任意grpc Provider进程

关闭进程

Expected Result

进程正常关闭，资源回收，无任何异常

Actual Result

有NullPointerException报出

java.lang.NullPointerException: null
at org.apache.dubbo.rpc.protocol.grpc.DubboHandlerRegistry.removeService(DubboHandlerRegistry.java:66) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.rpc.protocol.grpc.GrpcProtocol.lambda$doExport$1(GrpcProtocol.java:97) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.rpc.protocol.AbstractProxyProtocol$1.unexport(AbstractProxyProtocol.java:95) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.rpc.listener.ListenerExporterWrapper.unexport(ListenerExporterWrapper.java:71) [dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.ServiceConfig.unexport(ServiceConfig.java:170) [dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.lambda$unexportServices$17(DubboBootstrap.java:952) [dubbo-2.7.7.jar:2.7.7]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_231]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.unexportServices(DubboBootstrap.java:950) [dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.bootstrap.DubboBootstrap.destroy(DubboBootstrap.java:1072) [dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.bootstrap.DubboBootstrap$1.callback(DubboBootstrap.java:193) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.common.function.ThrowableAction.execute(ThrowableAction.java:46) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.lambda$callback$0(ShutdownHookCallbacks.java:70) ~[dubbo-2.7.7.jar:2.7.7]
at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_231]
at org.apache.dubbo.common.lang.ShutdownHookCallbacks.callback(ShutdownHookCallbacks.java:70) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.DubboShutdownHook.callback(DubboShutdownHook.java:85) ~[dubbo-2.7.7.jar:2.7.7]
at org.apache.dubbo.config.DubboShutdownHook.run(DubboShutdownHook.java:73) ~[dubbo-2.7.7.jar:2.7.7]
Issue 1:
I`m using firebase_auth v-0.6.6 and trying to install android_alarm_manager plugin version 0.2.1

this warning appears

android_alarm_manager ^0.2.1 which depends on firebase_auth ^0.5.18, firebase_auth ^0.5.18 is required.

Issue 2:
I don`t know why alarm_manager depend on firebase auth !!!!

firebase dependency should be be removed.
Issue 1:
Environment

Windows build number: 10.0.18363.836
PowerToys version: v0.18.2
PowerToy module for which you are reporting the bug (if applicable): PowerRename

Steps to reproduce

User PowerRename to rename a file called FileName.txt to FileName_added.txt

Parameters

Search for: (.*)\.txt

Replace with: $1_added.txt

Options: Use Regular Expressions=√

Expected behavior

File named FileName.txt should be renamed to FileName_added.txt

Actual behavior

File named FileName.txt is renamed to $1_added.txt

Screenshots

File name before rename:

File name after rename:

Issue 2:
Summary of the new feature/enhancement

I would like to be able to use the windows key as part of the shortcut to open PT Run.

For example, Win + Space instead of the default Alt + Space.
Issue 1:
The bit-wise & operator works fine with all Numpy integer types, except uint64:

In [13]: np.int64(123) & 0xffff
Out[13]: 123

In [14]: np.uint64(123) & 0xffff
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Volumes/Raptor/<ipython-input-14-42f055b9f958> in <module>()
----> 1 np.uint64(123) & 0xffff

TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule 'safe'

Even Python long integers can be used, so is there a reason why np.uint64 cannot be used, or is it a bug?

Issue 2:
This is to gather and close some other issues. The NEP 50 proposal would close it. In many cases using int64 as the default Python integer for scalar operations (where we disable value-based logic) can be surprising

gh-2955 (bitwise_and)

gh-5746 (comparison) although uint64 and int64 comparisons of course have still more issues (covered by gh-12525)

gh-2524 (bit shift operators)

gh-8809 power is surprising for promotion (which is just the normal madness of scalar+value-based logic), again together with gh-12525

gh-13057 (division of uint by Python int)

This issue is just to gather and close the other ones as duplicates.
Issue 1:
Hello,

It would be nice to have a possibility to create custom menu items for extensions' commands, e.g. Edit -> Format Document. I think it should work similar to keybindings contribution point.

Sincerely,

Ilya

Issue 2:
Atom equivalent: "Open Your Stylesheet" and "Open Your Init Script".

It's nice to be able to make small changes (e.g. I like to use a 1px-wide cursor instead of the default 2px), without having to create a theme/extension.
Issue 1:
There should be gramma/macro in Julia to declare a function as type stable (or no box). Like stable function(x) = ..., so that the program can break down/warn immediately when unexpected allocations occur.

1). Speed and type stability are defining features of Julia, it should allow enforced type stable functions. I’d like to cite Tim’s comment in his GPU paper

The most remarkable aspect of the language and its main implementation is speed: carefully written Julia code performs exceptionally well on traditional microprocessors, approaching the speed of code written in statically-compiled languages like C or FORTRAN.

Julia’s competitive performance originates from clever language design that avoids the typical compilation and execution uncertainties associated with dynamic languages.

In many cases, I prefer my program to error automatically if some of my functions (e.g. designed to be used inside a loop) are type unstable (or have to use a Box).

2). Julia is a powerful language that can support GPU and TPU programming easily. However, kernel functions on these devices can not allocate memories, meanwhile hard to debug. Half of my debugging experiences are related to type instability. In this case, proactive type stability assurance is extremely important for noticing the bug immediately.

One may argue @code_warntype is enough, but it is not true. I think David Buchana gives a perfect example: rand([0,1],10) vs rand([0.,1.],10) make the code like 30 times slower due to not calling the BLAS. This kind of debugging is often time consuming: you should first notice your program is running slow, benchmark to verify it is slower than before, and profile to locate where it slows down, then @code_warntype can be helpful. So @code_warntype can only help in the final stage.

Issue 2:
Given the importance of type stability, I would like to propose a new language construct that would allow semi-static checking of type stable blocks. In the module I am developing, I am frequently using this type of construct

function f(a)
# Type stability
@stabilize m::Matrix{Float64} = a.m

# Compute things with m

end
...

I know there are:

The possibility to use a function - but this can be cumbersome when there are many types, and in makes the code harder to read (at least for me)

Tools like Lint or TypeCheck, and the macro @code_warntype that are useful to see/check whether the written code is type stable

but I would really like to have something that prevents code from being instable, e.g. using a "stable block" (I check and this gives a syntax error with julia 0.[34]):

function f(a)
# Type stability
@stabilize m::Matrix{Float64} = a.m

stable begin
# Compute things - compilation error (or warning) if there is some type instability within the code
end

end
...

Another syntactic possibility would be to use pragmas #7449 (if they make it in the language).
Issue 1:
I have run into a possible bug where passing feature vectors in a different order to a tree-based classifier when training affects their performance.

I have the full minimal working example here: link

This is a serious issue for reproducibility if passing the same feature vectors (even in a different order) results in different classification performance.

Issue 2:
I would like us to refer to the Glossary in API reference for parameter descriptions that come up frequently, or which have associated caveats that are too long for parameter descriptions, most notably n_jobs and random_state.

So instead of something like:

random_state : int, RandomState instance or None, optional, default: None
If int, random_state is the seed used by the random number generator;
If RandomState instance, random_state is the random number generator;
If None, the random number generator is the RandomState instance used
by `np.random`.

in both KMeans and MiniBatchKMeans, we might have:

KMeans:
random_state : int, RandomState instance or None (default)
Determines random number generation for centroid initialization.
See :term:`random_state`.

MiniBatchKMeans:
random_state : int, RandomState instance or None (default)
Determines random number generation for centroid initialization and
random reassignment. See :term:`random_state`.

One question is how much verbosity we should have in describing how the user may parametrise random_state. We could have just See :term:`random_state`., or we could have An int seeds the random number generator deterministically, while None uses the current np.random state. See :term:`random_state`.

Just as I see us trying to describe what is random about the algorithm when describing random_state, I would like to see n_jobs stating whether parallelism is only in fit, or in fit and predict, and what backend is used by default.

What do others think?
Issue 1:
Hi,

I'm trying to run the download app from here:

https://github.com/jgraph/drawio-desktop/tree/v13.3.1

npm install in the two locations seems to return fine, but npm start gives me:

Unable to find Electron app at .../drawio-desktop-13.3.1/drawio/src/main/webapp

Full log here:

https://termbin.com/.1loqj

Not sure what I'm doing wrong. I tried googling, but no joy.

Many thanks

Issue 2:
Current Behavior:

Attempting to update a package with a tag using the update command globally causes ALL global packages to be removed.

Expected Behavior:

Packages should not be removed when updating global packages.

Steps To Reproduce:

npm i -g typescript nodemon @angular/cli # Install some global packages
npm ls -g --depth=0 # This shows the 3 installed packages
npm update -g @angular/cli@latest # Attempt to update one of the packages with a @latest tag
# Oh no! removed 620 packages
npm ls -g --depth=0 # Shows `-- (empty)

Environment:

OS: Windows 10 20H2

Node: 15.9.0

npm: 7.11.2

Additional Info

This only happens on the global scope
Issue 1:
In the "BonFire: drop it", the fifth test case given is not correct. I hope there will ba some updates on it soon.

Issue 2:
Link: http://www.freecodecamp.com/challenges/bonfire-drop-it

Here is the 5th test case:

drop([1, 2, 3, 9, 2], function(n) {return n > 2}) should return [3, 9, 2].

From the description alone you can see what is wrong. It should return [3, 9], it cannot include "2" in the result array if the function is n > 2.

If code you write is correct and actually returns [3, 9], you will still not pass the test.

If code you write has hardcoded the wrong answer returned quoted in the test case, then the test will pass. So it is expecting the wrong answer.
Issue 1:
It seems impossible to set up messages for subtype date and time in DateTimeType.

if (null !== $options['date_widget']) {
$dateOptions['widget'] = $options['date_widget'];
}

if (null !== $options['time_widget']) {
$timeOptions['widget'] = $options['time_widget'];
}

Nothing is done to that, so that it's possible to set widget type.

Issue 2:
Q
A

New feature?
yes

in situation:

$builder->add('datetime', 'datetime', array(
'date_widget' => 'single_text',
'time_widget' => 'single_text',
'date_format' => 'dd.MM.yyyy'
));

why its not possible to configure date and time widget separatly - like in repeated type?

for example when its required date but not time.. or other classes for each.

I suggest:

$builder->add('datetime', 'datetime', array(
'date_widget' => [
'widget' => 'single_text',
'format' => 'dd.MM.yyyy',
'required' => true
],
'time_widget' => [
'widget' => 'single_text',
'required' => false
]
));
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): 0.2.1715.0

Any other software?

Steps to reproduce

Download and Install Firacode,

Download and Install Windows Terminal Preview

Open Settings and set fontfamily to Firacode

Expected behavior

Font switches to Firacode

Actual behavior

Text goes supper minimized increasing font size only makes it smaller.

Also it will crash on launch, needing a revert to consolas to launch.

Issue 2:
Environment

Windows build number: 10.0.18362.388
Windows Terminal version (if applicable):0.5.2762.0

Steps to reproduce

If setting the fontSize smaller than or equal to 10 in any object in array profiles in profiles.json, when opening a new profile window other than the default profile (specifized by defaultProfile), the program would crash and be terminated.

Expected behavior

open a new profile window

Actual behavior

the program crash and is terminated.
Issue 1:
I tried using the @types/webpack package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @tkqubo @bumbleblym @bcherny @tommytroylin @mohsen1

I'm using webpack-dev-server and before upgrading from v4.4.4 of @types/webpack, everything worked fine.

But now that I upgraded to v4.4.8, following warning is printed:

WARNING in [at-loader] ./webpack/development.ts:12:3
TS2322: Type '{ mode: "development"; devtool: "source-map"; devServer: { host: string; clientLogLevel: string; ...' is not assignable to type 'Configuration'.
Object literal may only specify known properties, and 'devServer' does not exist in type 'Configuration'.

Config in question looks like this:

import * as webpack from "webpack";

import { commonConfig } from "./common";

const config: webpack.Configuration = {
...commonConfig,

mode: "development",

// Enable sourcemaps for debugging webpack's output.
devtool: "source-map",
devServer: {
host: "0.0.0.0",
clientLogLevel: "none",
port: 3000
}
};

export default config;

Could be a result from #26895.

Issue 2:
I would like to suggest an update to the best practices document, namely that we establish and document some sort of pattern, similar to React, for modules vs. global ambient declarations. The gist is very similar to my comments in #6112.

Idea being that hopefully:

a greater percentage of new definitions will be ES6 module 'ready' right out of the box

updates to existing definitions can easily cite the best practices on the motivation/style for the change being proposed in a PR that seeks to make a definition ES6 module 'ready', e.g. like #6112

I've cited the React pattern in #6112 on the basis it seems like the right approach to follow. lodash I believe requires a slightly different pattern because we are effectively exporting a variable and a namespace (hence can't use export =).

The one question I would add is whether we can improve the test file situation with this pattern: in the React package, the only difference between react-tests.ts and react-global-tests.ts is as follows:

$ diff -wu react-tests.ts react-global-tests.ts
--- react-tests.ts 2015-09-09 15:29:36.595420049 +0100
+++ react-global-tests.ts 2015-09-09 15:29:36.595420049 +0100
@@ -1,5 +1,4 @@
-/// <reference path="react.d.ts" />
-import React = require("react");
+/// <reference path="react-global.d.ts" />

interface Props extends React.Props<MyComponent> {
hello: string;

It seems a burden to have to maintain both, with the difference being a single reference and a single import.

Would welcome your thoughts @borisyankov @vvakame @johnnyreilly @basarat