sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: excalidraw
Issue: Non breaking space in text breaks SVG output
Labels: bug

&nbsp produces broken SVG.

Example output from svg validator:

```
 Line 15, Column 31463: reference to undeclared general entity nbsp

…re;" direction="ltr">post-install&nbsp; v1</text></g><g transform="translate(3…

```
Repository: electron
Issue: [Win] BrowserWindow.resizable = false - breaks getBounds() and setBounds()
Labels: platform/windows,bug :beetle:,status/confirmed,component/BrowserWindow,9-x-y,has-repro-gist,main,21-x-y,22-x-y

### Issue Details

* **Electron Version:** 9.0.2
* **Operating System:** Win 10 1903
* **Last Known Working Electron version:** didn't check, may be it never worked properly

### Repro steps
1. Create BrowserWindow
2. set "resizable" to false
3. pass 800x600 to setBounds()
4. get a value from getBounds()

### Expected Behavior
5. the value is 800x600

### Actual Behavior
5. the value is 1 point less or greater than 800x600

### To Reproduce
We prepared a sample app repo: https://github.com/jphw/resizable_false_problem
Just run "npm i" and "npm run start" and see the result, it's pretty straight forward

### Additional Information
Bug does not reproduce on Mac and if "resizable" is set to "true"
Repository: godot
Issue: Disabled Editor feature Visualscript (through resource nodes) still halfway unusable
Labels: bug,topic:editor,topic:visualscript

**Godot version:**
3.2.1.stable.mono.official

**Issue description:**
I want to disable visual scripting. The editor feature management unfortunately doesn't allow for this directly (it should), but to disable all VS node resources instead. If all nodes are disabled, this cleans up some endlessly scrolling dropdowns for exported resource fields which is nice but makes Visualscripts still show up in the create script dialog. If a visual script is then created it is not shown in the filesystem dock, but *is* created in the host/OS filesystem.

**Steps to reproduce:**
Disable everything inheriting from VisualScriptNode in the 'Manage Editor Features' menu and create a new visualscript in the filesystem dock; compare Godot filesystem with host/OS filesystem.
Repository: pytorch
Issue: pickle_save on mobile (no longer works with 1.5.0 release)
Labels: oncall: mobile

## 🚀 Feature
Since version 1.5.0 pickle_save was commented out for mobile platforms with #ifndef C10_MOBILE inside pickle.cpp. Are there any plans to return this functionality to mobile?

## Motivation
We'd like to be able to save our customly trained models in order to store and process results on PCs, however it became impossible since functionality has been removed.

## Pitch
Make pickle_save great again.
Repository: flutter
Issue: [web] Support Image.toByteData on web in HTML renderer
Labels: engine,platform-web,c: proposal,e: web_html,P3,c: parity,team-web,triaged-web

Is there any alternative to solve this problem?

Exception: Image.toByteData is not supported in Flutter for Web
Repository: ant-design
Issue: Dynamic adding Carousel data will automatically switch to the first page
Labels: Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/cool-leftpad-ru8qy?file=/index.js)

### Steps to reproduce
1. 点击切换到第二页；
2. 动态增加数据；

### What is expected?
不自动切换回第一页，即保持当前页不动

### What is actually happening?
每次添加数据后都会自动切换至第一页。

| Environment | Info |
|---|---|
| antd | 3.26.15 |
| React | 16.8 |
| System | window |
| Browser | chrome |

---
直接使用react-slick并无此问题
https://codesandbox.io/s/jinyong-ant-design-demo-3knzc
![image](https://user-images.githubusercontent.com/33682340/84179108-09013580-aab8-11ea-91a9-61de90f0dbe1.png)


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: x/build/cmd/debugnewvm: investigate adding serial support to EC2 instances
Labels: Builders,NeedsInvestigation

In the process of adding EC2 builders #36841 debugnewvm was updated to support creating instances on EC2. GCE instances support reading from the serial support from VMs. We should investigate whether it is possible and possibly implement this with EC2 instances.

/cc @andybons @dmitshur @toothrot
Repository: pytorch
Issue: [JIT] exported dunder methods are ignored
Labels: oncall: jit,triaged

## 🐛 Bug

We ignore many dunder methods that python populates, but are accidentally ignoring user annotated ones as well. 

```
import torch

class Model(torch.nn.Module):
    def forward(self, x):
        print(self.__show(1))

    @torch.jit.export
    def __show(self, x):
        return x + 1

torch.jit.script(Model())
```
> Module 'Model' has no attribute '__show' 

cc @suo
Repository: flutter
Issue: [animations] How to disable backdrop during animation in new OpenContainer widget
Labels: c: new feature,customer: google,package,c: proposal,p: animations,team-ecosystem,P3,triaged-ecosystem

I implemented the OpenContainer from animations package https://pub.dev/packages/animations to animate screen opening but I want to disable that dark backdrop (or at least make it invisible) during animation. Is is possible?
Repository: node
Issue: node localhost resolves to 127.0.0.1 instead of ::1 on IPv6-only network
Labels: dns

* **Version**: 12.17, 10.20
* **Platform**: Debian 5.6.14-1 (2020-05-23) x86_64 GNU/Linux
* **Subsystem**: dns

In a IPv6 only setup that can be reproduced with:
```
unshare -n
ip li set lo up
ip li add dummy0 type dummy
ip li set dummy0 up
```
and making sure `/etc/hosts` has that line
```
::1     localhost ip6-localhost ip6-loopback
```

[many tests fail](https://buildd.debian.org/status/fetch.php?pkg=nodejs&arch=amd64&ver=12.17.0~dfsg-4&stamp=1591383846&raw=0)
E.g. parallel/test-http-localaddress throws `Error: bind EINVAL 127.0.0.2`.

There is similar problem in Perl, in particular see this message:
https://bugs.debian.org/962318#12
Repository: go
Issue: net/mail: ParseAddress() accepts valid RFC 5322 addresses with domain part starting with a dash which are invalid RFC 1035 addresses, should we tighten the permissive validation?
Labels: NeedsDecision

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.13 darwin/amd64
go go1.14.3 playground
</pre>

### Does this issue reproduce with the latest release?

Yes: https://play.golang.org/p/Z3a5zj6Qch6

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/bmassemin/Library/Caches/go-build"
GOENV="/Users/bmassemin/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/bmassemin"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.13/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.13/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/tn/b45tkwwd0dg36r6yk1bzvzv40000gn/T/go-build066110340=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

https://play.golang.org/p/Z3a5zj6Qch6

```
package main

import (
	"net/mail"
	"testing"

	"github.com/stretchr/testify/assert"
)

func Test(t *testing.T) {
	_, err := mail.ParseAddress("test@--domain.com")
	assert.Error(t, err)
	_, err = mail.ParseAddress("test@domain--.com")
	assert.Error(t, err)
}
```


### What did you expect to see?

I'm expecting the test to pass, since `test@--domain.com` is not a valid address. 
A domain can't starts or ends with a dash according to this [RFC](https://tools.ietf.org/html/rfc1035#section-2.3.1) 
### What did you see instead?

The email address is properly parsed with the invalid domain.
Repository: TypeScript
Issue: "Filename too long" on Windows when cloning test folder
Labels: Suggestion,Experience Enhancement

**Code:**

    git config --global core.symlinks true
    git clone --recurse-submodules https://github.com/denoland/deno.git

**Actual behavior:**

"Filename too long" when cloning test files

> tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/updates-errors-when-file-transitively-exported-file-changes/when-there-are-circular-import-and-exports.js


**Related Issues:** <!-- Did you find other bugs that looked similar? -->
https://github.com/denoland/deno/issues/6211
Repository: pytorch
Issue: max_unpool2d and max_unpool3d cpp signature should be similar
Labels: triaged,enhancement,module: pooling

https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/native_functions.yaml#L6021-L6047
Currently we have different signatures for `max_unpool2d` and `max_unpool3d`.
```
- func: max_unpool2d(Tensor self, Tensor indices, int[2] output_size) -> Tensor
- func: max_unpool3d(Tensor self, Tensor indices, int[3] output_size, int[3] stride, int[3] padding) -> Tensor
```
From python API, it looks like we should move the `calculate output_size` logic to cpp and make `max_unpool2d` signature similar to `max_unpool3d`. currently stride/padding are passed to cpp but not used. 
https://github.com/pytorch/pytorch/blob/master/torch/nn/functional.py#L706
Repository: rust
Issue: rustdoc: `--enable-index-page` integration with cargo?
Labels: T-cargo,C-feature-request

Hello,

While I was asking the `cargo` team whether it'd be possible to add an `index.html` page to the docs that'd list the crates in the workspace (initially not including dependencies, though that's not a big issue), I have been pointed to rustdoc's `--enable-index-page` flag.

So I'm now asking you the questions from https://github.com/rust-lang/cargo/issues/8229#issuecomment-640899528, that are needed to know whether `cargo doc` should have support for rustdoc's `--enable-index-page`. And in particular, whether there is a desire or plan to stabilize it, whether there are alternatives, etc.

I'm not sure it'd be efficient if I were a middleman in all these exchanges, so maybe just answer there?

Anyway, here it is, thank you for all you do on rustdoc anyway and whatever the result of this conversation ends up being!
Repository: go
Issue: x/text/encoding: UTF-16 decoder handles unpaired surrogates incorrectly
Labels: NeedsInvestigation

When decoding some strings containing unpaired surrogates, UTF-16 decoder produces wrong number of `\ufffd` runes. Some examples:
* On string `\xdc\x00\xdc\x00`: expected result `\ufffd\ufffd` (two copies of `\ufffd`), actual result `\ufffd`.
* On string `\xd8\x00\x00`: expected result `\ufffd`, actual result `\ufffd\ufffd`.

The expected results are derived from a [WhatWG spec](https://encoding.spec.whatwg.org/#common-infrastructure-for-utf-16be-and-utf-16le).

Also, the name of internal function `isHighSurrogate` is misleading: it actually checks whether the argument is a low surrogate.

Code to reproduce:
```go
package main

import (
	"golang.org/x/text/encoding/unicode"
	"fmt"
)

func main() {
	res, err := unicode.UTF16(unicode.BigEndian, unicode.IgnoreBOM).NewDecoder().String("\xd8\x00 ")
	fmt.Println(res, err)
}
```
Repository: rust
Issue: make `pub type foo = bar` and `pub use bar as foo` interchangable in next edition
Labels: T-lang,A-maybe-future-edition

Right now renaming a type and re-exporting it via a type alias can be a breaking change whereas re exporting it under the new name is not a breaking change. As far as I know the only difference between the two is how they interact with tuple-struct constructors:

```rust
pub struct MyStruct(u32);

pub use self::MyStruct as PubUse;
pub type PubType = MyStruct;

fn main() {
    let _ = PubUse(5); // OK
    // let _ = PubType(5); // Doesn't work
}
```

This happens because tuple struct constructors are just free functions with the same ident as the type they're constructing. `use` statements bring in items from all 3 namespaces that match the given ident but `type` items only alias the type itself.

This can be fixed by making it so that the compiler generates a constructor for the alias when it sees that the `RHS` of the type alias is a tuple-struct. This would be a breaking change because users can already define a free function with the same name as the type alias, which people do currently do to add the necessary constructor to work around this very issue.

To resolve this @joshtriplett has recommended the following steps:

- [ ] implement the alias constructor fix as a feature gated PR
- [ ] add an allow by default lint to detect free functions that would conflict with the newly generated constructors
  - [ ] do a crater run with the above lint set to deny to measure the impact of this change
  - [ ] add this lint to the future-compatibility lint group
Repository: pytorch
Issue: Support mainstream pruning techniques 
Labels: feature,triaged,needs research,module: pruning

## 🚀 Feature
support mainstream pruning techniques.

## Motivation
Recently, lots of new pruning algorithms are proposed, but the [current implementation](https://github.com/pytorch/pytorch/blob/4fef3763dd7266195e8ef20c0a5d4dd1219afeb0/torch/nn/utils/prune.py) mainly contains norm-based pruning methods. 

Based on the [discussion here](https://github.com/pytorch/pytorch/issues/38598#issuecomment-641009728), I believe it's meaningful to add some state-of-the-art pruning methods.

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: flutter
Issue: [pigeon] the generated receiver's api.setup should probably not be static
Labels: a: tests,package,team-ecosystem,p: pigeon,P2,triaged-ecosystem

Currently, Api.setup(AnApiSubclassInstance()) is great ergonomically, except it makes it really hard to test :(

The AnApiSubclassInstance is instantiated in the production code and is the logic under test. The Api could be injected but since it's a static call, it can't be injected.
Repository: flutter
Issue: Engine contribution instructions don't link to Web engine instructions
Labels: engine,d: wiki,P2,team-engine,triaged-engine

e.g. https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment

I would expect these to link to how to work on the Web engine. :)
Repository: vue
Issue: Line breaks in textarea are excessively removed.
Labels: bug

### Version
2.6.11

### Reproduction link
[https://codepen.io/kubotafumiya/pen/qBOwEOV](https://codepen.io/kubotafumiya/pen/qBOwEOV)







### Steps to reproduce
1. Set the el option to an element that contains a textarea (or pre) with a newline at the beginning, and  create a Vue instance.


```html
<div id="app">
<textarea>


Three line breaks are ignored.
</textarea>
</div>
```

```javascript
new Vue({
  el: '#app',
});
```

### What is expected?
The line breaks are removed.


### What is actually happening?
Line breaks are not deleted.

---
https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions

I think it's okay for a single line break to be ignored according to this specification.

<!-- generated by vue-issues. DO NOT REMOVE -->
Repository: PowerToys
Issue: [Run][New Plugin] Use Microsoft Graph as a data source
Labels: Idea-Enhancement,Product-PowerToys Run,Run-Plugin

# Summary of the new feature/enhancement
Pull data from Microsoft Search, including company PowerApps, user profiles and shared files.

# Proposed technical implementation details (optional)
Accomplishable by using the Microsoft Graph APIs at https://docs.microsoft.com/en-us/graph/overview?view=graph-rest-1.0.
Repository: TypeScript
Issue: HTMLFormControlsCollection namedItem should return only form input elements
Labels: Bug,Help Wanted,Domain: lib.d.ts,PursuitFellowship

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  3.9.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** HTMLFormControlsCollection RadioNodeList namedItem

**Code**

```ts
declare const form: HTMLFormElement;

const element = form.elements.namedItem('foo')

if (element && !(element instanceof RadioNodeList)) {
  console.log('eee', element.value) // <<< Property 'value' does not exist on type 'Element'
}
```

**Expected behavior:** According to [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements), `namedItem()` on a `HTMLFormControlsCollection` only returns a specific set of element types.

- `HTMLFormControlsCollection` should extend `HTMLCollectionOf<HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement>`
- `HTMLFormControlsCollection.namedItem()` should return `RadioNodeList | HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement | null`
- `RadioNodeList` should extend `NodeListOf<HTMLButtonElement | HTMLFieldSetElement | HTMLInputElement | HTMLObjectElement | HTMLOutputElement | HTMLSelectElement | HTMLTextAreaElement>`

**Actual behavior:** `HTMLFormControlsCollection.namedItem()` return type is not specific enough (`Element`).

**Playground Link:** https://www.typescriptlang.org/play/?ssl=7&ssc=2&pln=1&pc=1#code/CYUwxgNghgTiAEYD2A7AzgF3gMyTAtgFzwASAKgLIAyAYnvgKIQj4goYDcAUF8uliGat28ALw56AOkEs2GNJJRRWwAJIYWACgDkuJNoCUPAJbZ4mmcKwAya-ACEFoXPjH+UFGBBIzAJSjAxkgAckigVMaYBgbwAN5c8IioaEjMkhBIAOY6ILnaADTwlnKSAG5QEACuIEYAvlxAA

**Related Issues:** #19437
Repository: flutter
Issue: Tabbar.image does not render at initialIndex for the first time
Labels: framework,f: material design,a: assets,a: images,has reproducible steps,found in release: 3.3,found in release: 3.7,team-design,triaged-design

✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.45.1)
[✓] Connected device (1 available)
![未命名](https://user-images.githubusercontent.com/11645762/84245358-80c27500-ab37-11ea-9b6f-7a98ae77197d.gif)


```
TabBar(
                    labelColor: Theme.of(context).accentColor,
                    unselectedLabelColor: Theme.of(context).hintColor,
                    indicatorSize: TabBarIndicatorSize.label,
                    indicator: BoxDecoration(
                      image: DecorationImage(
                        image: AssetImage('assets/618.png'),
                        fit: BoxFit.cover,
                      ),
                    ),
                    isScrollable: true,
                    tabs: _tabs.map((String name) => Tab(text: name)).toList(),
                  ),
```
Repository: create-react-app
Issue: Making CSS class name unique across projects to prevent name collision when hosting multiple project in one document
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

Currently we're trying to incorporated multiple CRA applications into one page. The idea is to dynamically fetch the html of multiple react applications hosted under the same domain and append onto a single html document. 

The problem is when using css module, the current [css class name generation process](https://github.com/facebook/create-react-app/tree/28141245937214cea136f9cea14ea7565b944a9f/packages/react-dev-utils#getcssmodulelocalidentcontext-object-localidentname-string-localname-string-options-object-string) only consider filename or folder name which can only ensure the uniqueness within that project. But If we have multiple project who happens to have the a same css class name in the same relative path (eg. src/app/app.module.css), same class name `MyFolder_MyClass__[hash]` will be generated, and If we put all those css from different project onto the same html document, there will be name collision issue.

### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

I'd like to request a way to make css class name unique not only within project but also across projects.


### Describe alternatives you've considered

<!--
  Let us know about other solutions you've tried or researched.
-->

- One possible solution is to alter the hash generation function discussed in [this thread](https://github.com/webpack-contrib/css-loader/issues/413), unfortunately this can't be done in CRA unless we eject or [rewire](https://github.com/timarney/react-app-rewired).
- An alternative is to add project name as part of the input of the hash generation process, similar to what you guys've done to fix [webpackJsonp naming conflicting issue](https://github.com/facebook/create-react-app/pull/5951/files), so in this case possibly adding project name into hash generation process in [packages/react-dev-utils/getCSSModuleLocalIdent.js](https://github.com/facebook/create-react-app/blob/28141245937214cea136f9cea14ea7565b944a9f/packages/react-dev-utils/getCSSModuleLocalIdent.js)?


### Additional context

<!--
  Is there anything else you can add about the proposal?
  You might want to link to related issues here, if you haven't already.
-->

(Write your answer here.)
Repository: PowerToys
Issue: [Fancy Zones] Add default launch zones per application
Labels: Idea-Enhancement,Product-FancyZones

Allow for an application, e.g. file explorer, to launch always in zone 3 (second screenshot).
And also allow to select multiple neighbouring zones if needed. Launch Webbrowser always in zones 2&6 or 3&7 (first screenshot)
Allow for alternative zones if zone(s) is/are already blocked by same application

![screenshot 1 (2)](https://user-images.githubusercontent.com/47536226/84255490-f8ca7400-ab12-11ea-93e3-1bb164e2c974.png)
![screenshot 2 (2)](https://user-images.githubusercontent.com/47536226/84255500-fc5dfb00-ab12-11ea-849a-f3a8648ebaa1.png)