WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Expected Behavior

After installing example and running yarn test the test should pass

Current Behavior

After running yarn test we are getting an error

Plugin 0 specified in "/with-jest-app/node_modules/next/babel.js" provided an invalid property of "default" (While processing preset: "/with-jest-app/node_modules/next/babel.js")

Steps to Reproduce (for bugs)

go to https://github.com/zeit/next.js/tree/canary/examples/with-jest and follow readme installation steps

Your Environment

Tech
Version

next
v6

node
v8.9.4

OS
High Sierra

Issue 2:
when i run test from npm scripts i have error

C:\with-jest-app\jest.setup.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { configure } from 'enzyme';
^

SyntaxError: Unexpected token {

at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:316:17)

Tech
Version

next
5.1.0

node
10.0.0
Issue 1:
http://kubekins.dls.corp.google.com:8081/job/kubernetes-pull-build-test-e2e-gce/45191/consoleFull

Unfortunately we don't have logs.

@fejta @ixdy - can you please take care of uploading logs in case of timeout?

Issue 2:
The kubernetes tarball is extracted inside the container in dockerized e2e, which gives us kubernetes/cluster/log-dump.sh. On timeout, we try to call log-dump.sh, but do so outside the container, so it's no longer available.

We should probably move the timeout handling inside the dockerized e2e container.
Issue 1:
Describe the bug

This bugreport very similar to #315 which was implemented and fixed, however I think this is not solved yet. When the query params parsing process itself fails (before the request even started), the resulting error object does not contain request information, making it hard to debug, especially with as error reports.

To Reproduce

axios.get("", {
params: {
someParam: new Date(undefined)
}
}).catch((e) => {
console.log(e);
})

Only prints

RangeError: Invalid time value
at Date.toISOString (<anonymous>)
at parseValue (buildURL.js:53)
at Object.forEach (utils.js:219)
at serialize (buildURL.js:51)
at Object.forEach (utils.js:225)
at buildURL (buildURL.js:38)
at dispatchXhrRequest (xhr.js:45)
at new Promise (<anonymous>)
at xhrAdapter (xhr.js:13)
at dispatchRequest (dispatchRequest.js:53)

Expected behavior

I would expect the error to have information about the request (uri, config, etc) just like when the error is thrown on server response error.

Environment

Axios Version 0.21.1

Adapter http

Browser chromium

Browser Version 87.0.4280.141

Node.js Version 12.20.0

OS: Manjaro 20.2.1

Additional Library Versions none

Additional context/Screenshots

dont have any. – I dont think that omitting this category should result in the automatic closing of an issue :-/

Cheers

Issue 2:
Would be useful if responseType could be set to stream in the browser. Right now, it only works in node.
Issue 1:
Migrated issue, originally created by Michał Szczepański (@vane)

When I'm trying to join two tables using String values that are duplicating in each column I get less rows then expected

The query from database returns 10 rows but filtered is set to True and after

if filtered:
rows = util.unique_list(rows, filter_fn)

in sqlalchemy.orm.loading.py one row is left.

I think it's a problem with hashing.

def filter_fn(row):
return tuple(fn(x) for x, fn in zip(row, filter_fns))

Exist with 1.0.6 and below.

Script with full example in attachment with workaround.

Script create tables then execute bugged query and workaround query.

You can vary result number from bugged query by changing result_rows to number from 1 to 10

s = Scaffold(db, result_rows=2)

Test script deletes the database file after run so it's always fresh start.

I tried it on 1.0.6 on debian and 0.9.8 on windows same results

Attachments: join_bug.py

Issue 2:
Migrated issue, originally created by Anonymous

It appears that INSERTs and UPDATEs do not work under the following conditions:

Table with composite primary key.

A hierarchy of classes polymorphically mapped to the table (single inheritance)

The polymorphic discriminator column is part of the primary key.

Also, while the 'insert' problem can be worked around (see bellow), fixing the 'update' requires patching SQLAlchemy's code.

Here's a test case:

from sqlalchemy import *
from sqlalchemy.orm import *

engine = create_engine('sqlite://')
metadata = MetaData()

test_table = Table("test", metadata,
Column("id1", Integer, primary_key=True),
Column("id2", UnicodeText, primary_key=True),
Column("data", UnicodeText)
)

class TestBase(object):
pass

class TestDeriv(TestBase):
pass

mapper(TestBase, test_table,
polymorphic_on=test_table.c.id2,
polymorphic_identity=u"base")

mapper(TestDeriv,
inherits=TestBase,
polymorphic_on=test_table.c.id2,
polymorphic_identity=u"deriv")

metadata.create_all(bind=engine)
session = sessionmaker(bind=engine, autoflush=False)()

t1 = TestDeriv()
t1.id1 = 0
# id2 is implied by instance's type, but we still
# have to assign it explicitly in order the insert to work
t1.id2 = u"deriv"

session.add(t1)
session.commit()
session.clear()
del t1

t1 = session.query(TestDeriv).get((0, u"deriv"))
t1.data = u"foo bar"

# The following line raises ConcurrentModificationError
# Logged SQL shows that id2 is bound to None
session.commit()

The fix (see the attached file, works against rev. 5098) is next to trivial (it only modifies two lines), but I have no way to be sure that it won't break something else.

Attachments: sqla1.diff
Issue 1:
Not sure if this means I shouldn't use it, or if we just haven't documented it yet :)

https://docs.flutter.io/flutter/widgets/Scrollable-class.html

Issue 2:
I think we need some high level documentation of all the list and viewport classes, including a class hierarchy diagram showing inheritance, mixins, ownership, and who creates whom. It should probably lean on some other documentation explaining the purpose of custom Element subclasses, too.
Issue 1:
Given the use case of dynamically instantiating content children using the NgFor of NgIf directives I've found this not working in alpha.52. I thought this was working before in alpha.44 but after testing it seems this was never working.

I'd expect this to work and I thought this was the reason for content children being represented with a QueryList in the first place.

import {Component, Input, NgFor, NgIf} from 'angular2/angular2';

@Component({
selector: 'child'
template: `
<p>{{text}}</p>
`
})
export class Child {
@Input() text;
}

@Component({
selector: 'parent'
template: `
<section>
<strong>Content children:</strong>
<ng-content select="child"></ng-content>
</section>
`
})
export class Parent {}

@Component({
selector: 'app'
template: `
<section>
<strong>Outside of parent</strong>
<child *ngIf="true" text="Child in the wild"></child>
<child *ngFor="#t of text" [text]="t"></child>
</section>

<parent>
<child *ngIf="true" text="Child in the wild"></child>
<child *ngFor="#t of text" [text]="t"></child>
</parent>
`,
directives: [Parent, Child, NgFor, NgIf]
})
export class App {
text = ['Child 1', 'Child 2', 'Child 3']
}

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

Issue 2:
We have a Component template that looks like this:

<ng-content select="item-left"></ng-content>
<ion-item-content>
<ng-content></ng-content>
</ion-item-content>

But if you add *ng-if="true" on the item-left element it places this element inside of the ion-item-content like this:

<ion-item-content>
<script></script>
<item-left></item-left>
</ion-item-content>

Removing the *ng-if places it in the proper place

<item-left></item-left>
<ion-item-content></ion-item-content>

Is there something we need to improve for this?

cc @IgorMinar @adamdbradley
Issue 1:
I use Pinyin - Simplified to input Chinese character .

When I begin typing, the input sources panel positioned unexpectedly.

It should perform like Sublime Text.

Issue 2:
Doing the vscode express smoke test I now get errors when I open any .js file that has a require

e.g www/bin

is there some setting I am missing

As for the node experience we seem to have worse support than before (what is described in the smoke test)
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Hi!

When I'm working on this way point I can only get as far as entering $($('.slot')[0]).html(slotOne) before it freezes up and crashes. I tried making it work on Safari and Google but they both crashed.

Issue 2:
Challenge http://freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

after typing "$($", chrome crashes.
Issue 1:
Version

2.5.13

Reproduction link

https://jsfiddle.net/1m5vx6dc/1/

Steps to reproduce

Say we have an array list ['a', 'b', 'c', 'd', 'e', 'f', 'g', ...] and a computed property filtered that extracts 4 items from that list based on a start index. Then we run a v-for on the filtered computed list and increase / decrease the index. We use the item value as the :key. If we inspect the resulting DOM in chrome, we can see that if the filtered list is moved to the right (index increased), all DOM nodes are replaced. If the index is moved to the left, only the first node is replaced.

What is expected?

I would expect that increasing or decreasing the index would yield the same DOM patch, either re-creating only the first or the last node in the list.

What is actually happening?

Increasing the index causes a full DOM refresh, decreasing the index yields the expected behaviour.

Issue 2:
Version

2.5.2

Reproduction link

https://codesandbox.io/s/mzvkppmvo8

Steps to reproduce

I created component with scoped slot (AppSwitcher.vue)

Then I use it in another component with their own slot (HelloWorld.vue with slot "subtext")

Add some element to slot (div in App.vue)

What is expected?

It should work without errors

What is actually happening?

Changes in AppSwitcher.vue caus "Duplicate presence of slot "subtext" found in the same render tree" error but there are no duplicates.

Also, adding slot-scope to div in App.vue solves problem and no error there, but why it happens without slot-scope?
Issue 1:
Environment

Windows build number: 10.0.18999.1
Windows Terminal version (if applicable): Version: 0.5.2762.0

Steps to reproduce

Start Windows Terminal in Ubuntu 18.04. Install Vim. Start Vim. Type a sentence then move the cursor over a letter. See that the letter is obscured.

Expected behavior

I'd expect the text underneath the cursor to be inverse of the cursor, or something that isn't the same as the cursor color making it invisible. I've tried almost every Vim setting for changing cursor color etc but it has no effect. Changing the cursorColor in the profile has no effect.

Running the same test in Fluent Terminal (while having a blinking cursor by default) does the right thing.

Actual behavior

The cursor obscures the text underneath it:

Issue 2:
Summary of the new feature/enhancement

When cursorShape is set to filledBox, it hides the character under it:

(The command is cat /etc/os-release)

This is a bit annoying. It will be helpful if the character can still be visible when the cursor is moved to its position.
Issue 1:
Migrated issue, originally created by Michael Bayer (@zzzeek)

from sqlalchemy import *
from sqlalchemy.orm import *
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class A(Base):
__tablename__ = 'a'
id = Column(Integer, primary_key=True)
a = Column(Integer)
b = Column(Integer)

aplusb = column_property(
a + b, deferred=True
)

e = create_engine("sqlite://", echo=True)
Base.metadata.create_all(e)

s = Session(e)
s.add(A(a=1, b=2))
s.commit()

a1 = s.query(A).first()
assert 'aplusb' not in a1.__dict__
a1.b = 5
s.flush()
s.commit()
a1.b
assert 'aplusb' not in a1.__dict__

Issue 2:
Migrated issue, originally created by Anonymous

Hi,

I noticed that the update() usage in /orm/extensions/sqlsoup.html is outdated:

db.loans.update(db.loans.book_id==2, book_id=1)

This doesn't work anymore. There may be more out-of-date code in there, I haven't checked.
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-serial/1916/

Failed: [k8s.io] Nodes [Disruptive] [k8s.io] Resize [Slow] should be able to add nodes {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:479
Expected error:
<*errors.errorString | 0xc8214da3b0>: {
s: "failed to wait for pods responding: timed out waiting for the condition",
}
failed to wait for pods responding: timed out waiting for the condition
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:464

Previous issues for this test: #27470

Issue 2:
Quite a few tests flake with:

an error on the server has prevented the request from succeeding (put replicasets.extensions frontend-
88237173); Current resource version 493

This seems to indicate:

test should retry

that's a lot of flake on GKE

eg: #29149, #30156, #30352 (comment), pretty much all the failures in #31188, #31429 (comment), #31575, #31408
Issue 1:
Challenge http://freecodecamp.com/challenges/waypoint-add-borders-around-your-elements has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Issue 2:
Waypoint hints do not always appear after the page has loaded. Refreshing the page does not always seem to work. Closed & reopened browser does not seem to change behaviour. Issue is not specific to certain waypoints but started to occur in the jQuery section.

Issue experienced on Chrome 44.0.2403.55 on Windows 8.1. Attached screenshot for clarity.
Issue 1:
Json retrieved from API never contains Date objects. Instead dates are transported as strings. When I run a DatePipe over a string it gives me Invalid argument '2014-11-20T05:11:03.277+00:00' for pipe 'DatePipe'

Please note that angular 1 date filter worked just fine with strings.

Issue 2:
The new date pipe only supports date objects or numbers but not ISO strings. In ng1 this was valid and made displaying simple JSON from api's to the UI very easy with little conversion process.

Plunker with ng1 behavior date filter ng1 iso
Issue 1:
Version

2.5.9

Reproduction link

https://codepen.io/maple-leaf/pen/BmgaqG

Steps to reproduce

open the codepen demo

open devtool if u are on chrome

click change data which will raise error button

now you should see an error like this: TypeError: Cannot read property 'key' of undefined.

refresh demo page

click safe to change data here button

now you should not see an error like before, and data being updated correctly

What is expected?

maybe same behavior like both should raise an error, but if raise error, maybe duplicate key error should be showed too which will help developer easier to find what data is killing page.

What is actually happening?

both data have duplicate keys, but behavior is different

why error being raise when you click change data which will raise error button?

Because the data will raise error has some special changes. It remove all keys except duplicate key 'b' compared to initial data and the order is different.

This will make updateChildren function in vdom/patch.js hit this code section, which will create a oldKeyToIdx. And then when first key 'b' comes, it will set value of b in oldKeyToIdx to undefined, and then next key b comes, it will compare old node and new node via function sameNode. But this time, index of old node which key is b is undefined now. So a js error is being raised.

Issue 2:
I want to load the template for a VueJS component dynamically. I'd like to make an AJAX call using jQuery, and whatever the server returns should be the template of the VueJS component. Here's a simplified version of the code with the AJAX call removed since it's irrelevant where the data is coming from:

BoardFeed = Vue.extend
template: '<div>This should be replaced</div>'
data: ->
return items: null
created: ->
@template = "<div>Template returned from server, what I really want</div>"

In the above example I'm using the created hook which I thought would be suitable for this, but the newer template is never rendered, only the older one.

Is it possible to achieve this?
Issue 1:
Describe what you were doing when the bug occurred:

React dev tools profiler crashed when changing from "anonymous" to "overlay" and asked to report the issue

Please do not remove the text below this line

DevTools version: 4.1.1-a9cd9a765

Call stack: at n.value (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:162685)

at m (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:331467)

at sc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:331684)

at oi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:58733)

at Ri (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:66060)

at Jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104557)

at vc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89163)

at Ac (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89088)

at ac (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:86037)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:45275

Component stack: in sc

in div

in div

in _o

in Unknown

in n

in Unknown

in div

in div

in zi

in Ge

in un

in ba

in Rc

Issue 2:
PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE

Please do not remove the text below this line

DevTools version: 4.0.4-3c6a219

Call stack: at n.value (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:16721)

at m (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:293207)

at pl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:293442)

at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)

at bi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:62939)

at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:99535)

at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)

at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)

at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363

at n.unstable_runWithPriority (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:4368)

Component stack: in pl

in div

in div

in Or

in Unknown

in n

in Unknown

in div

in div

in Ha

in le

in ve

in ko

in Ul
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18362.418]
Windows Terminal version (if applicable): All

Steps to reproduce

Write some characters with linefeed in the notepad, such as:

a
b
c
d
e

Copy them

Open Windows Terminal and launch WSL

wsl

use cat command to write into a text file:

cat > test.txt << EOF

Paste the copied characters into the terminal

Expected behavior

PS C:\Users\hez20> wsl
hez2010@DESKTOP-CD2C52F:/mnt/c/Users/hez20$ cd ~
hez2010@DESKTOP-CD2C52F:~$ cat > test.txt << EOF
> a
> b
> c
> d
> e
> f

Actual behavior

PS C:\Users\hez20> wsl
hez2010@DESKTOP-CD2C52F:/mnt/c/Users/hez20$ cd ~
hez2010@DESKTOP-CD2C52F:~$ cat > test.txt << EOF
> a
>
> b
>
> c
>
> d
>
> e
>
> f

Each linefeed was repeated twice.

Issue 2:
Multiline text pasted from the clipboard includes CRLF pairs in all cases; this is inappropriate for "Unix-space" sessions, such as WSL.

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.145]
Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1

Steps to reproduce

Select multiline text in Terminal.

Copy it (via right-click, ostensibly)

Paste it (again via right-click)

Expected behavior

When pasting into a Unix-space session -- such as WSL -- pasted text should have a reasonable set of line-ending characters.

Actual behavior

Line endings are "doubled" on text paste to Unix-space sessions.
Issue 1:
I have a problem with scheduler memory that continue to increase when i am using docker image.

I am using Celery Executor

Any solution ??

Thanks in advance

Issue 2:
Apache Airflow version: 2.0.1

Kubernetes version (if you are using kubernetes) (use kubectl version): v1.17.4

Environment: Dev

OS (e.g. from /etc/os-release): RHEL7

What happened:

After running fine for some time my airflow tasks got stuck in scheduled state with below error in Task Instance Details:

"All dependencies are met but the task instance is not running. In most cases this just means that the task will probably be scheduled soon unless: - The scheduler is down or under heavy load If this task instance does not start soon please contact your Airflow administrator for assistance."

What you expected to happen:

I restarted the scheduler then it started working fine. When i checked my metrics i realized the scheduler has a memory leak and over past 4 days it has reached up to 6GB of memory utilization

In version >2.0 we don't even have the run_duration config option to restart scheduler periodically to avoid this issue until it is resolved.

How to reproduce it:

I saw this issue in multiple dev instances of mine all running Airflow 2.0.1 on kubernetes with KubernetesExecutor.

Below are the configs that i changed from the default config.

max_active_dag_runs_per_dag=32

parallelism=64

dag_concurrency=32

sql_Alchemy_pool_size=50

sql_Alchemy_max_overflow=30

Anything else we need to know:

The scheduler memory leaks occurs consistently in all instances i have been running. The memory utilization keeps growing for scheduler.
Issue 1:
This bug is present in Bootstrap's docs: http://twbs.github.io/bootstrap/javascript/#modals

Launch the demo modal

Close the modal

Open the same modal again

The x button at the top and the close button at the bottom don't work

Clicking outside still works and pressing the escape key still works, so this appears to be isolated to elements that use data-dismiss="modal".

Tested in Chrome 28.0.1500.95 and Safari 6.0.5.

Issue 2:
Hi,

The code used on last Thursday worked fine. But after updated to latest code on Monday (GMT+8), the modal dialog when clicks to dismiss for seconds onward cannot be close.

I am checking on source code line 932, if I commented out this line then it is working again.

this.$element

.removeClass('in')

.attr('aria-hidden', true)

//.off('click.dismiss.modal')

Am I missing anything...?

Sorry for the grammar. Thanks.
Issue 1:
Challenge Bonfire: Search and Replace has an issue.

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

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

The default code uses a "myReplace" function name, however the assertions by default run against a "replace" function name. Thus either the default assertions or the default boilerplate code must be altered to run against the correct default function name.

My code:

function myReplace(str, before, after) {
return str;
}

myReplace("A quick brown fox jumped over the lazy dog", "jumped", "leaped");

Issue 2:
I noticed that a couple weeks ago, someone raised an issue about the function being called replace, and the issue was dealt with and renamed to myReplace. It seems the tests are still running on the old-named function replace and aren't accounting for the myReplace function.

The issue can be circumvented by simply renaming the function to replace, but it might not be obvious right away to some campers. It would be best to modify the tests to reflect the new name change.