WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Apologies if this comes across as noise. Just getting into react

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

Expected Behavior

No errors?

Current Behavior

An error is printed to the console

Steps to Reproduce (for bugs)

create a new project with create-react-app

Install material-ui@next, material-ui-icons

Render an svg icon in the App.js template

Check the console

Context

I've been learning react for a few weeks now, and I decided to try upgrading the app to the new fiber RC.

After, updating, I discovered this error in the console.

Your Environment

Tech
Version

Material-UI
beta-8

React
15.6.1

browser
Chrome 60

material-ui-icons
beta-5

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

Expected Behavior

Typography offers noWrap feature that allows one to ellipsize text if it is larger than its container. This behavior should also be available when typography is used within Grid Item.

Current Behavior

When typography is used within a Grid Item, it does not implement ellipses and results in expanding width of grid item.

Steps to Reproduce (for bugs)

https://codesandbox.io/s/ppy3zrj270

In this demo example, In Output, First line shows Text in Typography works as expected.

and in Second line Text in Typography is not truncated with ellipses and comes out of grid.

https://codesandbox.io/s/38nj34826

In this demo example, There are two grid items and they should always be in a row.

As screen size becomes smaller, second grid item comes down, instead of truncating the text.

Your Environment

Tech
Version

Material-UI
v1.0.0-beta.23

React
16.2.0
Issue 1:
When adjusting zone sizes, could the zone size (height & width) in pixels be overlaid or somehow displayed on each zone? Very hard now to adjust zones by eye, would be nice to have some numbers to look at so that I can make sure two zones are the same width or height or whatever. Thanks, otherwise FancyZones is great and really helping me get organized with my new 49" ultra wide display.

Issue 2:
ℹ Computer information

Windows build number: 19041

PowerToys version: 0.20

PowerToy module: Run

📝 Provide detailed reproduction steps (if any)

Have an application installed with a high contrast version of its icon, like Windows Terminal Preview

✔️ Expected result

The icon is displayed like it is everywhere else in Windows.

❌ Actual result, Screenshots

Notice that Windows Terminal, which DOES NOT have a HC icon, is normal. WT Preview and Dev, which DO have HC assets, are displayed in HC.
Issue 1:
When following the tutorial, I could not run $ flask initdb.

Traceback (most recent call last):
File "/Users/dvf/environments/flaskTutorial/bin/flask", line 11, in <module>
sys.exit(main())
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/flask_cli/cli.py", line 502, in main
cli.main(args=args, prog_name=name)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/flask_cli/cli.py", line 369, in main
return AppGroup.main(self, *args, **kwargs)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/click/core.py", line 1055, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/click/core.py", line 1094, in resolve_command
cmd = self.get_command(ctx, cmd_name)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/flask_cli/cli.py", line 340, in get_command
rv = info.load_app().cli.get_command(ctx, name)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/flask_cli/cli.py", line 226, in load_app
rv = locate_app(self.app_import_path)
File "/Users/dvf/environments/flaskTutorial/lib/python2.7/site-packages/flask_cli/cli.py", line 90, in locate_app
__import__(module)
ImportError: No module named flaskr

This was fixed by changing the environment variable to:

export FLASK_APP=flaskr.py

On OS X 10.11.3 and Python 2.7.12

Issue 2:
on http://flask.pocoo.org/docs/templating/

the "Jinja2 Template Documentation" link at the top of the page gives a 404 error.

update link to http://jinja.pocoo.org/docs/templates/#
Issue 1:
The idea is allow a simple, dynamically modifiable priority for indices. Something akin to:

$ curl -XPUT host:9200/my-index/_settings -d '{
"index.priority" : 1
}'

By default, all priorities would default with index.priority : 0, thus being of equal priority unless modified. From there, the comparison could go to index creation date/time as the next priority level, then finally by name for the final order.

index.priority > index.creation_date > reverse sorted index name

This allows pretty much every use case to specify recovery order for best-case recovery order for their use case. Time-based solutions would pretty much work out of the box because the creation date would prioritize recovery of today's index first, thus giving the best chance to return to fully replicated indexing as soon as possible. Similarly, falling back to the reverse sorted index name gives arbitrary--yet predictable--sorting for simultaneously-created indices (however unlikely) that have no time basis (index-z, index-y, ...), but YMD-formatted date/time strings will properly sort (logstash-2015.05.03 will always come before logstash-2015.05.02 or earlier dates). Finally, the arbitrary priority allows users to take control of the process for cases where there is no time basis, such as when a "main" index is created, but then minor indices are created from time-to-time. Even better, this would be as simple as setting it once with a high value, then not setting or selectively setting the minor indices.

Issue 2:
Feature request:

When multiple shard replicas need recovery (eg, when you restart the whole cluster), it can be beneficial to get some indices green before others.

In the Logstash case, getting the most recent indices by date.

In other cases, there may be application demands on which index you really need back first.

Being able to set a specific priority on indices, or have it automatically determined for date-based indices, would be quite helpful.
Issue 1:
by raul.san@sent.com:

The tags are not read if they are just before of package sentence.

$ cat email_test.go
// +build email
package valid

import "testing"

func TestEmail(t *testing.T) {}

$ cat a_test.go
// +build !email
package valid

import "testing"

func TestA(t *testing.T) {}

$ cat b_test.go
// +build !email
package valid

import "testing"

func TestB(t *testing.T) {}

$ go test -v
=== RUN TestA
--- PASS: TestA (0.00 seconds)
=== RUN TestB
--- PASS: TestB (0.00 seconds)
=== RUN TestEmail
--- PASS: TestEmail (0.00 seconds)
PASS

$ go test -v -tags email
=== RUN TestA
--- PASS: TestA (0.00 seconds)
=== RUN TestB
--- PASS: TestB (0.00 seconds)
=== RUN TestEmail
--- PASS: TestEmail (0.00 seconds)
PASS

* * *

This works:

$ cat email_test.go
// +build email

package valid

import "testing"

func TestEmail(t *testing.T) {}

$ cat a_test.go
// +build !email

package valid

import "testing"

func TestA(t *testing.T) {}

$ cat b_test.go
// +build !email

package valid

import "testing"

func TestB(t *testing.T) {}

$ go test -v
=== RUN TestA
--- PASS: TestA (0.00 seconds)
=== RUN TestB
--- PASS: TestB (0.00 seconds)
PASS

$ go test -v -tags email
=== RUN TestEmail
--- PASS: TestEmail (0.00 seconds)
PASS

Issue 2:
This issue proposes that Go should support some form of generic programming.

It has the Go2 label, since for Go1.x the language is more or less done.

Accompanying this issue is a general generics proposal by @ianlancetaylor that includes four specific flawed proposals of generic programming mechanisms for Go.

The intent is not to add generics to Go at this time, but rather to show people what a complete proposal would look like. We hope this will be of help to anyone proposing similar language changes in the future.
Issue 1:
Hey guys, thank you for adding the setMinimizable option here

One weird thing though. When we use that and minimize the window by using WindowKey+D RequestAnimationFrame is still working. Which is a good thing for me! Since I want it to always be running for my game, but is that intended? Because I don't want to install / use a new version of electron and then it will come back and bite me in my ass :)

Issue 2:
The --disable-renderer-backgrounding command line switch only disables throttling for timers, there is currently no way to disable throttling of requestAnimationFrame.

Refs #4317 (comment).
Issue 1:
Problem description

Cannot use more than one MuiThemeProvider, using 1.0.0-alpha.22. We use multiple themes at once, but in this alpha version it seems to loose this capability. When we change the theme inner into the tree, the MuiThemeProvider in the upper tree breaks, the classnames are generated normally for the components when using multiple themes, but when the inner MuiThemeProvider changes, it shifts the stylesheets in the upper MuiThemeProvider in the head. It might be related with React Router, having different MuiThemeProvider inside the routes.

Link to minimal working code that reproduces the issue

I will prepare an example reproducing the problem.

Versions

Material-UI: 1.0.0-alpha.22

React: 15.5.4

Browser: Indifrent

Issue 2:
Given a case: I have 2 types of a Button, first one with rounded corners, second one without. Now in case I want all buttons inside of some subtree use the second type, I would want to use the MuiThemeProvider.

const theme1 = createMuiTheme({
overrides: {
Button: {
root: {
borderRadius: 10
}
}
}
})

const theme2 = createMuiTheme({
overrides: {
Button: {
root: {
borderRadius: 0
}
}
}
})

class Subtree extends Component {
render() {
return (
<ThemeProvider theme={theme2}>
<Button>Click me hard</Button>
</ThemeProvider>
)
}
}

class App extends Component {
render() {
return (
<ThemeProvider theme={theme1}>
<Subtree />
</ThemeProvider>
)
}
}

In this case, theme2 will overwrite theme1 style sheet.
Issue 1:
Q
A

Bug report?
no

Feature request?
yes

BC Break report?
?

RFC?
yes

Symfony version
3.2

The system detects automatically the name of an adder or remover of a collection by an ENGLISH logic I guess. It relates a dependency to a human langage and not PHP... Moreover, I suppose it forces an execution time by parsing words or something else.

For greater flexibility, it would be a good idea to let the developper what the developper has to do (understand and write its own HUMAN langage)... In my case, I have to use some specific French words for a collection, and my logic is broken by an english one. I think we would be able to set the adder and remover name in the annotation. By default, an english logic could be applyed, why not ?

Issue 2:
The PropertyPath class currently makes a list of assumptions:

1. Objects are treated by reference

When the path author.name is modified, the following methods are called:

getAuthor()
setName() // on the author

Note that setAuthor() is not called.

2. Adders and removers are used if they exist

If a collection is written into the path tags and the methods addTag() and removeTag() exist, these are used to merge into the old collection instead of accessing the old collection directly via its ArrayAccess interface. The following methods are called:

getTags()
addTag(...) // instead of $tags[] = ...
removeTag(...) // instead of unset($tags[...])

3. Adders and removers follow English singularization rules

If a property path is called children, the guessed adders and removers are addChild() and removeChild().

Limitations

The above assumptions do not hold in all applications:

Sometimes setters should be called (no by-reference handling, see #6965)

Sometimes elements should be written directly into collections even though adders/removers exist (#4158, #5257)

For other languages than English, singularization does not work

So, these assumptions should be made configurable. The challenge is how to build this API in an intuitive way.

Alternative 1: Option arrays

The first alternative is to pass the options in an array separately from the property path. For example:

Path: artikel.stichwörter (= article.tags)
Options: array(
'artikel' => array(
'by_reference' => false,
),
'artikel.stichwörter' => array(
'use_adders' => false,
// or
'singular' => 'stichwort',
),
)

Alternative 2: Path flags

The second alternative is to build the configuration options into the path:

artikel{!byref}.stichwörter{!adders}
// or
artikel{!byref}.stichwörter{singular=stichwort}

Alternative 3: Your suggestions

Do you have any other ideas? What approach do you prefer?
Issue 1:
I'm beginning to use TypeScript to replace JS in my VS2015 projects, but I can't seem to figure out what is happening in a React project. I converted the JSX to TSX without any problems, but when I try to edit the 'render' method it seems as if Intellisense is not able to parse the HTML:

(VS correctly identifies the beginning '<div>')

But when I try to type the closing '<div>', Intellisense does not show the correct option:

Am I missing something? If I "force" the editor to produce the correct HTML it compiles without errors, but during the editing I keep getting autocomplete errors.

Thanks in advance.

Issue 2:
We are able to give useful completion in opening tag of jsx element. We should be doing the same thing for closing tag. It will also be helpful to insert appropriate name when users type </

In this case, the completion in the close tag should show ` and complete with that.
Issue 1:
iOS:

Android:

Notice how there is a "Share..." option after text has been selected. That brings up the share panel.

Issue 2:
The spec calls for a menu in the "cut/copy/paste" toolbar with additional options for search/share/translate. It's unclear to me whether these 3 extra options are fixed, or whether the application can decide which options to provide.

In any case, we have no support for the more menu. We'll need to add it, along with the transition animation.
Issue 1:
When a ngModel is attached to a HTML5 color input the resulting variable seems to lag one check behind. meaning if you listen for the input to be changed and then log the value the first ngDoCheck or ngAfterContentChecked returns the previous value of the color not the current value.

A example of this is this code

(function(app){
app.testing=ng.core.Component({
selector:"testing",
template:"<input type='color' [(ngModel)]='value' (change)='changeupd()'/>"
}).Class({
constructor:[function(){
this.value="#ffffff";
this.changed=false;
this.changeupd=function(){
this.changed=true;
};
}],
ngAfterContentChecked:function(){
if(this.changed){
console.log(this.value);
this.changed=false;
}
},
});
})(window.app||(window.app={}));

the result of this code is #ffffff for the first console.log and then whatever the previous color was for all subsequent changes

this creates a problem for any programs that run specific functions only after specific inputs are changed. i have not seen that problem with any other type of input except the html5 color

Environment

Angular version: 2.0.0-beta.7 and 2.0.0-beta.8

Browser: Chrome 49.0.2623.75 m

Language: ES5

Issue 2:
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

Two way data binding is not working after element uses jQuery plugin

Expected behavior

It should work

Minimal reproduction of the problem with instructions

I have posted my scenario on StackOverflow

http://stackoverflow.com/questions/42973549/two-way-binding-not-working-in-angular-2

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

Please tell us about your environment:

Windows 10, Visual Studio 2017 Community Edition, NPM, IIS

Angular version: 2.0.X

Getting 2.4.9 on browser ng-version attribute.

In package json:

"@angular/core": "~2.4.0"

Browser: [all | Chrome XX | Firefox XX ]

Language: [all | TypeScript 2.2.1 | ES6/7 | ES5]

Node (for AoT issues): node --version = 7.0.0
Issue 1:
Environment

Windows build number: Microsoft Windows [Version 10.0.18980.1000]
Windows Terminal version (if applicable): 0.4.2382.0

Steps to reproduce

Make sure you have multiple monitors (mine just happen to be in portrait mode)

Drag windows terminal to top of monitor.

Window is now maximized

Expected behavior

No overflow on surrounding monitors

Actual behavior

Overflow on surrounding monitors. See image below.

Note: this image is of the left side of the Terminal. The black bar is the boundary between monitors.

Issue 2:
Able to group profiles

All profiles are shown in the one list. It would be much more convenient to able to group some profiles with common label and show them in sub-lists.
Issue 1:
This would help encourage us to have complete API docs.

@pcwalton says it might be good to wait until we have per-item exports, because export currently exports a lot of things due to having four namespaces. See #1893.

Issue 2:
I would like to see a lint mode that could warn on missing documentations, hopefully by type. Something like -Wdoc-trait or -Wdoc-struct to warn on missing docs on traits or structs, etc.
Issue 1:
From what I can see from issues like this two finger gestures like pan or swipe are not supported. This is a blocker for developers wanting to develop custom UI interactions that use multi finger gestures.

Issue 2:
Does the Semantics class in Flutter provide any way to map Widgets to an accessibilityIdentifier on iOS side? We rely on Appium for testing and the Flutter driver is not sufficient for meeting our testing needs. Is there any plan on the road-map for Flutter to support this soon?
Issue 1:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

v15.0.0-nightly.20210623

What operating system are you using?

macOS

Operating System Version

Big Sur

What arch are you using?

x64

Last Known Working Electron version

v15.0.0-nightly.20210622

Expected Behavior

When transparent: true is set in BrowserWindow constructor options, the resulting window is transparent.

Actual Behavior

It is opaque white, though the titlebar correctly does not show.

Testcase Gist URL

https://gist.github.com/b52f026c763057f97f745fade82758fd

Additional Information

Bisected to b8261f1, and from within the Chromium roll to this CL

Issue 2:
Preflight Checklist

I have read the Contributing Guidelines for this project.

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Electron Version

14.0.0-beta.12

What operating system are you using?

Windows

Operating System Version

10.0.19042 Build 19042

What arch are you using?

x64

Last Known Working Electron version

13

Expected Behavior

Window should be transparent

Actual Behavior

Open a window with transparency enabled and delete the dom, the window will be white instead of transparent.

Also seems like settings the backgroundColor property has no longer an effect. I always see a white window

const {app, BrowserWindow} = require('electron')
const path = require("path");

function createWindow () {
const mainWindow = new BrowserWindow({
transparent: true,
frame: false,
})

mainWindow.loadURL('https://example.com')
mainWindow.webContents.openDevTools()
}

app.whenReady().then(createWindow)

Testcase Gist URL

https://gist.github.com/e124340107f6c4a3ade8b36d98a16b9a

Additional Information

No response
Issue 1:
Code folding seems to break if comments are placed at the very beginning of an indented line, such as:

def customized_tools
require 'uglifier'

@page_module = "application"
@page_submodule = "tools"

@qp_id = current_user.token
@qp_id = 'ERROR' if !@qp_id

# qp = ActionController::Base.helpers.asset_path "qp.js"
qp = "assets/qp.js"
# Rails.logger.debug "Asset: #{qp}"
bm = File.read("#{Rails.root}/support/bm.js")

Whereas changing the comment start location seems to fix it:

def customized_tools
require 'uglifier'

@page_module = "application"
@page_submodule = "tools"

@qp_id = current_user.token
@qp_id = 'ERROR' if !@qp_id

# qp = ActionController::Base.helpers.asset_path "qp.js"
qp = "assets/qp.js"
# Rails.logger.debug "Asset: #{qp}"
bm = File.read("#{Rails.root}/support/bm.js")

Issue 2:
Using the following PHP file:

<?php

class Test {
public function test() {
// breaks folding
}
}

Attempting to fold the class results in a fold up to the comment.

It seems like using any character other than whitespace at the start of the line will cause the fold to break.

Atom 0.124.0 in safe mode, btw.
Issue 1:
System info

Playwright Version: v1.30.0

Operating System: Windows

Browser: Chrome

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

I am using playwright to control the browser. The tests are written using mocha.

let resolve: () => void;
let reject: (err: unknown) => void;
const promise = new Promise<void>((res, rej) => {
resolve = res;
reject = rej;
});
const browserProcess = spawn(
`Start-Process chrome -ArgumentList "--process-per-site --remote-debugging-port=9222"`,
{ shell: 'powershell.exe' }
);
browserProcess.on('error', err => reject(err));
browserProcess.on('spawn', () => resolve());

await promise;
await new Promise((res) => setTimeout(res, 10_000));

browser = await chromium.connectOverCDP('http://127.0.0.1:9222', { timeout: 100_000 /* 100s */ });
context = browser.contexts()[0];

The code above

starts an instance of Chrome using Powershell,

then playwright connects that browser over CDP.

Justification: A process outside the test code starts a browser, and intend to control that browser instance using playwright. When I launch a browser instance using playwright, then this instance won't be used by that process when it starts navigating to a link.

This works when there are no existing instances of Chrome.

Steps

Start a chrome instance normally.

Run the given above.

The connection over CDP is refused.

Expected

The connection over CDP is established to the second browser instance opened via the test code.

Actual

The connection is refused, when there is an existing instance of Chrome running.

Additional note

The timeout property in connectOverCDP options does not seem to work. I needed to devise an additional waiting strategy with await new Promise((res) => setTimeout(res, 10_000));.

Issue 2:
System info

Playwright Version: v 1.30

Operating System: Windows

Browser: Chromium

Other info:

Source code

I provided exact source code that allows reproducing the issue locally.

Hi all， when we try to add a trace file to check the details of cases,

we found sometimes the trace file can not record the tests, it happens in opening 2 chromiums in the one case

the trace file is in the attachment, we tried remotely opening it or locally, but both didn't work

and when opening it, it looks like the below, but when debugging cases, all things worked. Could you please help check if is there something potential reasons?

trace-1.zip
Issue 1:
Hello, this is not a bug just a question.

Can I ask why from 2.2 to 2.8 versions, and beyond, language support for Norsk changes from NO to NB and back to NO (the two variations)? And is it possible to actually have support for the both?

Thank you in advance for your time :)

Issue 2:
I'm having some trouble with #3290. In

symfony/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Line 67
in
be2e67c

$options['class'],

$options['class'] and $options['property'] are null although I've set them in the getDefaultOptions method of my form type (which has entity as parent). I guess there's something wrong with passing options now.

@bschussek: Could you please look into this?