WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Version

2.6.0

Reproduction link

https://jsfiddle.net/goblinlord/k64bx8gp/9/

Steps to reproduce

Create an element with type attribute set to either checkbox or radio.

Call preventDefault on the click event (or just set @click.prevent)

Set the checked value synchronously to a different value

What is expected?

New value that is set should be reflected in the rendered markup.

What is actually happening?

The result of the value changing is not reflected in the in the rendered state even though the value is actually changed based on what is shown in Vue dev tools.

This worked prior to 2.6.0 and I can not find any documentation indicating the behavior changed or why it would change. In the reproduction link you can comment out the 2.6.0 version and uncomment the line above it with 2.5.22. On 2.5.22 it works as expected.

I have been using this previously when wrapping an input with a styled alternative with additional markup/styling. The purpose of having preventDefault is to allow the decision of the value change to be made in a location other than the checkbox itself. For example, we could easily display a dialog box when the user clicks this and then when it is closed set the state based on the response. Removing preventDefault causes the checkbox to toggle. If this happens but we want to wait until a later time to set the state, the desired state is not reflected properly until that time. Some cases, no async work is done and it is desirable to change state immediately. In those cases, a simple v-model can be used with the same exact component.

A dialog box is just one example, I also have cases where there is an network call before the actual state is changed. (one style is a toggle slider for example but i have other styled inputs as well)

Issue 2:
Version

2.6.10

Reproduction link

https://jsfiddle.net/skav/moks07y2/4/

Steps to reproduce

Check a checkbox

What is expected?

Label and attribute are the same as state

What is actually happening?

Label is the same as actual state, but checked attribute doesnt change at all

It works perfectly on 2.5.x versions, but brokes in 2.6.x (and below 2.5)
Issue 1:
Yesterday, I saw a bug in the behaviour of inputs with ngModel set. When you have some text in the input already and you put the cursor before that text and start typing really fast (press all buttons of your keyboard), the cursor jumps to the end of the string. The issue also occurs in textareas making them unusable.

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

Without fixing this, inputs and textareas are unusable since writing something in the middle of the content is an important feature.

Tested browsers: Chrome 47.0.2526.106 (64-bit), Firefox 43.0.3

Issue 2:
When you type extremely fast, the [(ng-model)] behaves buggy.

When I did a debug I found next condition inside NgModel directive:

if (isPropertyUpdated(changes, this.viewModel)) {
this._control.updateValue(this.model);
this.viewModel = this.model;
}

Here is the reference to the source.

I suppose that the code inside this condition should run only when the model property is updated by the user of ng-model directive. Actually, when you try to type, for instance, '123123' very very fast the events, that are emitted by the code below, notify the model in late.

viewToModelUpdate(newValue: any): void {
this.viewModel = newValue;
ObservableWrapper.callEmit(this.update, newValue);
}

Here is the reference to the source.

This lateness causes update of the _control and then of input itself, due to next code:

// model -> view
control.registerOnChange(newValue => dir.valueAccessor.writeValue(newValue));

Here is the reference to the source.

This process isn't visible to human eye due to its speed, but when you debug it looks like the input box is .

I work on laptop with Windows 10. I successfully reproduced it on latest Chrome version and latest Edge version. Also tried on latest Firefox, but it reproduces less frequently (I believe that it is due to slower event dispatch).

You can reproduce it here, but you should debug the source of angular. You can do it by hitting break point inside next condition

if (shared_1.isPropertyUpdated(changes, this.viewModel))

under NgModel.prototype.ngOnChanges function.

Note, that you have to write extremely fast!
Issue 1:
Currently Playwright generates a uuid-style filename

We're using Playright to record out tests in a pipeline which is providing excellent visual feedback thank you! https://github.com/Subscribie/subscribie/actions/runs/462234262 (please see artifacts)

It's very valuable to visually see when/why a test fails as a video- so we start / stop a video recording for each test.

As you can see from the artifacts, it's hard to tell which video is which without being able to name the video file during record. Is there a mechanism/recommended way to do this?

Ref #4682

Issue 2:
Hi team. I love the new video API in 1.5.0. Very clean. I don't see any information about how to name video files in the examples though. Seems like each file is just assigned a random name with no way to change that. When the API was in beta, we could get a handle to the file in order to rename it. Am I missing something in the docs?

https://playwright.dev/docs/videos

Thanks!
Issue 1:
After #6990 is merged, we should rephrase the installation docs in terms of pip install on linux. Basically if you're on i386 or x86_64 you can now use binaries. If you're on raspberry pi, or some other ARM or whatever, the warning still applies. So I think it's fair to now recommend pip install sklearn as the main methods of installation, and add a warning that on non-intel linux that is a bad idea.

Issue 2:
I think with anylinux it's now fine to install numpy and scipy using pip, so we should remove that sentence from the install documentation. ping @GaelVaroquaux
Issue 1:
According to documentation VS Code can autodetect tasks from within Gulp, Grunt and Jake files.

It would be nice if there was extension point to add support also for other type of build files - while I have created FAKE (F# Make) plugin I think it would be better to have more general solution allowing us just to extend existing functionality instead of duplicating it.

Issue 2:
Issue Id: 86637fe9-38db-b0c2-7bfa-cf7e40c002e9
Versions
- 0.10.8
Stack
TypeError: Cannot read property 'className' of null
[/vs/base/browser/dom.ts#L65:20 (_findClassName)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/browser/dom.ts#L65:20 %28_findClassName%29)
[/vs/base/browser/dom.ts#L172:1 (toggleClass)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/browser/dom.ts#L172:1 %28toggleClass%29)
[/vs/editor/contrib/suggest/browser/suggestWidget.ts#L650:2 (SuggestWidget.setState)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/editor/contrib/suggest/browser/suggestWidget.ts#L650:2 %28SuggestWidget.setState%29)
[/vs/editor/contrib/suggest/browser/suggestWidget.ts#L576:9 (SuggestWidget.onEditorBlur)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/editor/contrib/suggest/browser/suggestWidget.ts#L576:9 %28SuggestWidget.onEditorBlur%29)
[/vs/base/common/winjs.base.raw.js#L1782:0 (onComplete)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/common/winjs.base.raw.js#L1782:0 %28onComplete%29)
[/vs/base/common/winjs.base.raw.js#L1448:0 (call)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/common/winjs.base.raw.js#L1448:0 %28call%29)
[/vs/base/common/winjs.base.raw.js#L1127:0 (_notify)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/common/winjs.base.raw.js#L1127:0 %28_notify%29)
[/vs/base/common/winjs.base.raw.js#L1343:0 (enter)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/common/winjs.base.raw.js#L1343:0 %28enter%29)
[/vs/base/common/winjs.base.raw.js#L1311:0 (_run)](https://github.com/microsoft/vscode/blob/db71ac615ddf9f33b133ff2536f5d33a77d4774e/src/vs/base/common/winjs.base.raw.js#L1311:0 %28_run%29)
Issue 1:
https://console.cloud.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/22962/kubernetes-pull-test-unit-integration/20155/

Build timed out (after 60 minutes). Marking the build as aborted.
Build timed out (after 60 minutes). Marking the build as failed.
FATAL: Unable to delete script file /tmp/hudson1095119725192734885.sh

Issue 2:
I think yesterday they were running in under 40 minutes.

I did kubernetes-retired/contrib#1022 because the submit queue is timing out before merging after running tests. I will try to push it live tonight. But we need to figure out what caused this.
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.0

Operating System version: macos

Java version: 1.8

functions

Upgrade junit to junit 5

Upgrade the test cases

Why do this ?

Some new features：test extensions 、Future of JVM testing、easier parameterized tests

Java 8 lambda support

Optimized api

Basically compatible with junit4

Please read the referenced article 《7 reasons why you should start using JUnit 5 today》

How to write junit5 test case ?

Please see 《JUnit 5 User Guide》 : https://junit.org/junit5/docs/current/user-guide/

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

Operating System version: windows10

Java version: 1.8

Steps to reproduce this issue

When an Aop pointcut is an interface:

With @reference, Aop does not work

Using XML with @autowire, Aop works fine

当Aop切入点是接口时：

使用@reference，Aop不生效

使用xml配合@Autowired，Aop正常工作

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

package com.xxxx.service;
public interface XxxxService {
DicResponseDTO<List<String>> getAllFormKey();
}

-------------------------

@Aspect
@Component
public class XxxAspect {
@Around("execution(* com.xxxx.service.*.*(..))")
public Object aroundApi(ProceedingJoinPoint pjp) throws Throwable {
}
}

-------------------------------------

@RestController
public class TestController {

/**
*<dubbo:reference interface="com.xxxx.service.XxxxService" id="xxxService" check="false"
* timeout="5000" retries="-1"/>
**/
@Autowired
private XxxxService xxxxService;

@Reference
private XxxxService xxxxServiceRe;

@RequestMapping("test")
public void ss() {
Object allFormKey =
xxxxService.getAllFormKey();
}
}

Expected Result

What do you expected from the above steps？

Expectation: With @reference, Aop works fine

期望：使用@reference，Aop能正常工作

Actual Result

What actually happens?

With @reference, Aop does not work

使用@reference，Aop不生效
Issue 1:
Trying the ++ operator.,I had to put ++ twice for the value to change.

Challenge Waypoint: Increment a Number with Javascript has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9.

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

My code:

var myVar = 87;

// Only change code below this line
myVar++;
myVar=myVar++;
console.log(myVar);
myVar=myVar;

Issue 2:
Challenge Waypoint: Decrement a Number with Javascript has an issue.

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

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

My code:

var myVar = 11;

// Only change code below this line
myVar = myVar--;

This code returns 11, but in test is number 10, for which works myVar = --myVar;, but that does not pass "Use the -- operator on myVar".
Issue 1:
I'm submitting a ... (check one with "x")

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

Current behavior

User can type letter "e" in input type="number" fields and any value containing one or many letters "e" is considered valid. Also, having letters "e" in input breaks pattern validation.

Expected behavior

I assume it is possible to use exponential notation in number inputs, but the value still should be tested as a valid number, and pattern validation still should be applied.

Minimal reproduction of the problem with instructions

http://plnkr.co/edit/1aQRuixe6f9bzN0Wf2RU?p=preview

Try to type "eeeeeeeeee". This is considered a valid number

Try to type "123456". Pattern validation works as intended and the field is invalid

Now add letter 'e' : "123456e". The field is now considered valid

Conclusion: Letter 'e' is not taken in account for number validation and breaks pattern validation.

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

This is a silent failure in the validation process of number inputs, that currently needs to be manually adressed with input event handlers.

Please tell us about your environment: Windows 7

Angular version: 2.0.0

Browser: Chrome 53

Language: all

Issue 2:
Data types: email, url, number, date, time, week, month.
Issue 1:
The documentation for neo4j 2.3.2 says:

"CREATE UNIQUE is in the middle of MATCH and CREATE — it will match what it can, and create what is missing. CREATE UNIQUE will always make the least change possible to the graph — if it can use parts of the existing graph, it will." (http://neo4j.com/docs/stable/query-create-unique.html)

This seems inaccurate, or at least confusing. There are several StackOverflow threads where people say that CREATE UNIQUE doesn't follow the "least change possible" rule:

http://stackoverflow.com/questions/35290079/create-unique-in-neo4j-produces-duplicate-nodes

http://stackoverflow.com/questions/13583504/neo4j-not-reusing-existing-vertex-in-cypher-create-unique-query

Issue 2:
Hello! I have rather good experience with neo4j 3.X and jre8, but struggle to migrate to jre11 and neo4j.

I always recreate DB with neo4j-admin from csv (about 40GB)

DB path is custom and set in /etc/neo4j/neo4j.conf

The issue is not related to permissions. I tried to chown and to create everything by neo4j user.

I get NO errors on neo4j-admin (except for missing nodes), but when I start neo4j, it fails completely.

debug.log is attached

debug.log

The system that works great: CentOS7 with jre8 and neo4j 3 (I started with 3.0, till 3.5.14) from repo

The system that fails: Debian 10.2 with jre11 and neo4j 4.0.0 from repo

import syntax for neo4j 3.5:

neo4j-admin import --mode=csv

--nodes:ids:Obj scripts/obj.h,obj

--nodes:ids:Obj scripts/obj.h,static/idsss

--nodes:ids:Obj scripts/obj.h,static/allids

--relationships:present scripts/rel.h,normal

--relationships:present scripts/rel.h,static/rel01

--relationships:present scripts/rel.h,static/rel02

--relationships:colleague scripts/rel.h,hist

--ignore-missing-nodes=true --ignore-duplicate-nodes=true

for neo4j 4.0.0:

neo4j-admin import --database=graph --max-memory=2g --high-io=false

--nodes=ids:Obj=scripts/obj.h,obj

--nodes=ids:Obj=scripts/obj.h,static/idsss

--nodes=ids:Obj=scripts/obj.h,static/allids

--relationships=present=scripts/rel.h,normal

--relationships=present=scripts/rel.h,static/rel01

--relationships=present=scripts/rel.h,static/rel02

--relationships=colleague=scripts/rel.h,hist

--skip-duplicate-nodes=true

--skip-bad-relationships=true

source files are the same.
Issue 1:
Description of the problem

If all of the coordinates in Box3 are set to NaN, then empty() returns false. This is troublesome for cases where we use applyMatrix4() transformations to empty boxes and expect them to remain empty.

Three.js version

Dev

r75

r73

Browser

All of them

Chrome

Firefox

Internet Explorer

OS

All of them

Windows

Linux

Android

IOS

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

Issue 2:
I think the new (and awesome!) feature of point lights with shadows has an issue.

I've been playing with the feature using this example:

three.js-dev/examples/webgl_shadowmap_pointlight.html

and the only thing I did was adding disabling a shadow on existing light and adding a new light (in a most straightforward way):

//(...)
pointLight.castShadow = false; //that is the original light, shadow disabled
//(...)

//literally copypasted and added '2' everywhere
pointLight2 = new THREE.PointLight( 0xff0000 );
pointLight2.castShadow = true;
pointLight2.shadowCameraNear = 1;
pointLight2.shadowCameraFar = 30;
pointLight2.shadowDarkness = 0.5;
pointLight2.shadowMapWidth = 2048;
pointLight2.shadowMapHeight = 1024;
pointLight2.shadowBias = 0.01;
scene.add( pointLight2 );

var geometry2 = new THREE.SphereGeometry( 0.3, 32, 32 );
var material2 = new THREE.MeshBasicMaterial( { color: 0xff0000 } );
var sphere2 = new THREE.Mesh( geometry2, material2 );
sphere2.castShadow = false;
sphere2.receiveShadow = false;
pointLight2.add( sphere2 );

It seems, however, that if the shadow is added on any light which is not the first added to the scene, shadows kind of mess up:

The top example has

pointLight.castShadow = false;
pointLight2.castShadow = true;

and the bottom one has it inverted (and works okay):

pointLight.castShadow = true;
pointLight2.castShadow = false;

And if both lights have shadow, then even weirder thing happens:

Local environment: Chrome 45.0.2454.101 m, Windows 7 64bit, ASUS Radeon HD 6950 2GB

Behaves the same way on Firefox 40.0.3 and on Internet Explorer 11 (11.0.9600.18015)
Issue 1:
Challenge generate-random-whole-numbers-within-a-range has an issue.

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

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

// Example
function ourRandomRange(ourMin, ourMax) {

return Math.floor(Math.random() * (ourMax - ourMin + 1)) + ourMin;
}

ourRandomRange(1, 9);

// Only change code below this line.

function randomRange(myMin, myMax) {

return Math.floor(Math.random() * (myMax - myMin + 1) + myMin); // Change this line

}

// Change these values to test your function
var myRandom = randomRange(5, 15);

```

Issue 2:
Challenge Name

Generate Random Whole Numbers within a Range

Issue Description

I think my code is correct. It meets the conditions if I log out the results to console but it will not pass the tests.

Your Code

// Example
function ourRandomRange(ourMin, ourMax) {

return Math.floor(Math.random() * (ourMax - ourMin + 1)) + ourMin;
}

ourRandomRange(1, 9);

// Only change code below this line.

function randomRange(myMin, myMax) {

return Math.floor( Math.random() * (myMax - myMin + 1)) + myMin; // Change this line

}

// Change these values to test your function
var myRandom = randomRange(5, 15);

Screenshot
Issue 1:
VSCode Version: 1.1.1

OS Version: OSX 10.11.5 (El Cap)

Steps to Reproduce:

Select a code block

Hit backspace fast after completing the selection.

Result:

VSCode goes ahead and carries over the selection to whatever is occupying the same space now. If you wait a little after selection, the problem does not happen.

Sample:

Issue 2:
VSCode Version: 1.1.1

OS Version: OSX 10.11.4

Steps to Reproduce:

Hold left mouse button and drag-select some text

Press some keyboard key, to replace or delete the selected text

Release left mouse button

Actual Result:

Some texts are selected, depending on the location of the mouse release

Expected result:

No texts are selected. (i.e. keyboard events should finish any pending mouse drags)

Notes:

This operation (the delayed mouse release) may sound unnatural at first place. But on OSX one can use a three-finger gesture to represent a mouse drag, which has a slight delay between the finger release and the actual drag finish, causing the problem to emerge.
Issue 1:
📝 Provide a description of the new feature

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

When moving a window, if you switch desktop using Ctrl+Win+LeftArrow or Ctrl+Win+RightArrow (or an assigned keystroke / mouse button) then the window will follow you to that desktop, this is a feature in macOS which I think is a useful productivity tool. It is useful for swiftly moving windows around desktops.

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

Issue 2:
One of the thing I've found lacking ever since I started using the virtual desktops is the ability to move a window with you while moving to another virtual desktop.

Currently, we can move to another desktop using the shortcut ctrl + win + left/right, I feel like a shortcut along the lines of ctrl + win + alt + left/right could be used to make the current active window move with you to the next desktop

I have no idea if this fits as a powertoy, please tell me if it doesn't !
Issue 1:
Challenge http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

I've read the multiple issues classified as bugs where the child (#target1) wasn't identified in the code but the parent (#left-well) was. I believe I have the correct code and the background of the well is appearing red but "Your left-well element should have a red background" is not checked as correct. If I change the child to "#target3" my answer is accepted.

<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
});

Issue 2:
Challenge Name

Applied Visual Design: Adjust the Width of an Element Using the Width Property

Challenge Link

Issue Description

I just started doing some of the newer additions in beta, and it seems like when you begin a new challenge, none of the current HTML/CSS code is rendered on the right, by default.

For instance, for this particular challenge - without seeing what a "card" actually is, this instruction doesn't make much sense -

Add a width property to the entire card and set it to an absolute value of 245px. Use the fullCard class to select the element.

I need to click "run tests" to first see the current output, then go back and read the instructions again. Then click "run tests" again with my own code. This seems counter-intuitive.

I'm not sure if this is a bug, or this is the intended behavior, but this is not the default setting in the current production site.

Browser Information

Browser Name, Version: Google Chrome, Version 55.0.2883.87 m

Operating System: Windows 10

Mobile, Desktop, or Tablet: Desktop

Screenshot