sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Copying and pasting a node into a foreign node makes the duplicate foreign as well.
Labels: bug,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
f477d3ca9851953ded5f0560081d726f5de9b534, master (8faecd6a470aeef41084a32d74f4a131a5ef42b6)


**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Windows 7 SP1

**Issue description:**
<!-- What happened, and what was expected. -->
Pasted node become a foreign node. I expected it to be a node instanced in the current scene.

**Steps to reproduce:**
1. Select "Tween" and copy it.

2. Paste the node as a child of "foreignChild".

3. Newly pasted node will be considered a foreign node until the scene is saved and reopened.
 
4. Repeat the steps for "Timer" node. There will be no duplicate of "Timer" node under "foreignChild" (because no properties were overriden by the Inspector).
[ only on 3.2.4 branch ]

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
https://github.com/hilfazer/Projects/tree/EngineIssues/Godot/EngineIssues/ChildrenOfForeignNodes_godot32
https://github.com/hilfazer/Projects/tree/EngineIssues/Godot/EngineIssues/ChildrenOfForeignNodes_godot40
and open PasteIntoForeign.tscn
Repository: godot
Issue: remote or puppet with onready doesn't works
Labels: bug,topic:gdscript,topic:network,topic:multiplayer

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
3.2.3


**OS/device including version:**
Windows


**Issue description:**
onready decorator raise an error when used in accompany of puppet or remote keyword

**Steps to reproduce:**
1. Create a node with attached script and one child (ex. Node)
2. Try to add variable with `get_node("Node")` with keywords `remote onready`

**Screen**
![image](https://user-images.githubusercontent.com/40537787/110206996-64aef280-7e81-11eb-84a7-5e1eb07331fa.png)
Repository: flutter
Issue: AnimatedTransitionBuilder's child is nullable 
Labels: framework,a: animation,a: null-safety,P2,team-framework,triaged-framework

https://github.com/flutter/flutter/blob/8a1204f0b6d8b5a14f1b80e11d7019a12ea532c8/packages/flutter/lib/src/widgets/dual_transition_builder.dart#L17

The child is marked as nullable without any explanation, this function parameter 'widget' is used to create an animation from it.
Repository: godot
Issue: Color picker glitches while animation is playing
Labels: bug,topic:editor,needs testing,topic:gui

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.4.rc3.mono.official

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Win10, gtx1060

**Issue description:**
<!-- What happened, and what was expected. -->
When an animation is playing and the color picker is open and the eyedropper is active, the displayed color randomly jumps around:

https://user-images.githubusercontent.com/8841352/110208047-2ae0ea80-7e87-11eb-9130-cb371426a210.mp4

**Steps to reproduce:**
See, video
Repository: flutter
Issue: AnimatedSize Shrink to minimal size without animation
Labels: framework,a: animation,has reproducible steps,P2,found in release: 2.1,team-framework,triaged-framework

It's the same behavior like described [here](https://github.com/flutter/flutter/issues/21384) 

Run the app and try to input some text, then click outside the text input field.
Code lives in "greeting_screen.dart" file, "_userNameInput()" method.

Sources https://yadi.sk/d/-ga4kKRijU4HRw

```
flutter doctor -v
[√] Flutter (Channel stable, 2.0.0, on Microsoft Windows [Version 10.0.18363.1379], locale en-US)    • Flutter version 2.0.0 at C:\src\flutter
    • Framework revision 60bd88df91 (3 days ago), 2021-03-03 09:13:17 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc2)
    • Android SDK at C:\Users\Teq\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.0-rc2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)   
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.1
    • Flutter plugin version 45.1.3
    • Dart plugin version 201.7223.43

[√] VS Code, 64-bit edition (version 1.53.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.19.0

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29)  
      (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome        
      89.0.4389.72
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge       
      88.0.705.81

```
Repository: deno
Issue: Request: Add Web Serial to Deno
Labels: web,suggestion

**Web Serial API**

The Web Serial API allows web browsers to communicate with serial devices!
You can chat with Arduinos, Raspberry Pis and most any device that speaks serial – straight from your website and no drivers needed. 

Chrome 89 stable:

`const port = await navigator.serial.requestPort()`

`const ports = await navigator.serial.getPorts()`

https://web.dev/serial

https://www.chromestatus.com/features#milestone%3D89

**Web USB API**

Chrome 61 stable:

`const usb = await navigator.usb.requestDevice()`

`const usbs = await navigator.usb.getDevices()`

https://web.dev/usb
Repository: vscode
Issue: SCM - Double click to stage a file
Labels: feature-request,scm

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Hi!

 Would it be possible to stage files by double clicking them on Source Control panel? To stage files is a action too common to be done only by clicking tiny buttons.
Repository: youtube-dl
Issue: tenk.ca
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.03.03. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.03.03**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.tenk.ca/fr/d/partenaires/filministes/coded-bias/free_token:filministes
- Single video: https://www.tenk.ca/fr/d/partenaires/filministes/traversees/free_token:filministes
- Single video: https://www.tenk.ca/fr/d/partenaires/filministes/morgana/free_token:filministes


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

This site only works from Canada. They clearly said it is ok to use a VPN or any kind of tunneling facility. I used mullvad and it worked perfectly to watch the videos. Then I could download them using the old Video DownloadHelper but I'm definitely not a fan!

These links will be usable for the next 5 days or something…
Repository: excalidraw
Issue: Set default settings for new users
Labels: More information needed / cannot reproduce

Is it possible to set the defaults for new users. I would like to set the stoke width, stroke style, and sloppiness to thin, solid, and architect. Most of my users are civil engineers and designers so they always set there settings to these. I would just rather have them all set to default for all users.
Repository: excalidraw
Issue: rewrite `getSceneVersion`
Labels: discussion

As discussed in other issues, current `getSceneVersion` implementation has several downsides:

1. It sums up element `version` numbers. This way it we can end up with valid changes that resolve to the same `sceneVersion`.

	This is not a theoretical worry. I've just spent ~30 minutes debugging an issue caused by this.

2. It disregards changes in `appState`.

----

We need to come up with something that solves both points but still keeps it fast.
Repository: TypeScript
Issue: TypeScript 4.2 caches cwd between builds when using the programatic api 
Labels: Bug,Help Wanted

# Bug Report

When using TypeScript 4.2 from the programmatic API, it seems to cache the CWD between runs. I don't think this is the desired effect. This can result in `"Cannot read file '..../tsconfig.json'"`

### 🔎 Search Terms

cwd, current working directory

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

### 🕗 Version & Regression Information

- This bug started in 4.2.2. 
- Earlier versions as far back as 3.7 work as expected. 
- Nightly `typescript@next` also has this problem.

### ⏯ Playground Link

Programmatic API, so no playground link available. I made a small repro repo:
[ts-cwd-issue.zip](https://github.com/microsoft/TypeScript/files/6096011/ts-cwd-issue.zip)

Unzip, `npm i` and `node compile.js`. 

### 💻 Code

```js
// @ts-check
const ts = require('typescript');
const path = require('path');

async function build(tsconfig) {
    return new Promise(res => {
        const compiler = ts.createSolutionBuilderWithWatch(
            ts.createSolutionBuilderWithWatchHost(ts.sys,
                undefined,
                (error) => console.error(tsconfig,'error: ', error.messageText),
                (status) => console.log(tsconfig,'status:', status.messageText),
                (summary) => {
                    console.log(tsconfig, 'summary: ', summary.messageText);
                    res();
                }
            ),
            [tsconfig],
            {}
        );
        compiler.build();
    });
}

async function main() {
    process.chdir(path.resolve(__dirname, 'sample-a'));
    await build('tsconfig.a.json')
    process.chdir(path.resolve(__dirname, 'sample-b'));
    await build('tsconfig.b.json')
}

main().catch(console.error);
```

### 🙁 Actual behavior
```
$ node compile.js
tsconfig.a.json summary:  Found 0 errors. Watching for file changes.
tsconfig.b.json error:  Cannot read file '.../sample-a/tsconfig.b.json'.
tsconfig.b.json summary:  Found 1 error. Watching for file changes.
```

### 🙂 Expected behavior


```
$ node compile.js
tsconfig.a.json summary:  Found 0 errors. Watching for file changes.
tsconfig.b.json summary:  Found 0 errors. Watching for file changes.
```
Repository: godot
Issue: Tooltips don't disappear if the mouse leaves the editor window
Labels: bug,platform:windows,topic:editor,topic:porting,confirmed

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.4 rc3 mono

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
win10 64

**Issue description:**
<!-- What happened, and what was expected. -->
When the cursor quickly hovers over an area of the editor that displays a description, the description remains visible even though the cursor is no longer inside the editor.
Description remains visible indefinitely.
Notice that the icon remains highlighted even though the cursor is outside the window
![GIF](https://user-images.githubusercontent.com/19652075/110220318-1f141900-7ec5-11eb-9e09-5a83ab9965d7.gif)

**Steps to reproduce:**
Just minimize Godot and move the cursor quickly over some section that shows a description, as you can see in the gif.

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
Repository: rust
Issue: Very long iterative compile times for `cargo doc` on workspaces with many crates
Labels: T-rustdoc,C-enhancement,I-compiletime

I'm attempting to update the docs of [Bevy](https://github.com/bevyengine/bevy), a relatively large Rust crate.

Building the docs using `cargo doc` initially takes about 90s. Rebuilding the docs using `cargo doc` without making any changes takes less than a second. Making any change to the doc strings within even a single file (e.g. [`Entity`](https://github.com/bevyengine/bevy/blob/main/crates/bevy_ecs/src/entity/mod.rs)) seems to cause each subcrate to be redocumented, taking another 90s.

This obviously makes it quite challenging to check how my changes are displayed.
Repository: ant-design
Issue: useValueBreakpoint
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.

### What problem does this feature solve?
use case:
current API useBreakpoint doesn't provide friendly readable code

context: 
Flexibility and readable code for responsive

rationale:
with this feature you can achieve readable code and also flexibility

end user experience:
responsive for all component


### What does the proposed API look like?
Current API
##useBreakpoint

```jsx
function UseBreakpointDemo() {
  const screens = useBreakpoint()
  return (
    <>
      Current break point:{' '}
      {Object.entries(screens)
        .filter((screen) => !!screen[1])
        .map((screen) => (
          <Tag color="blue" key={screen[0]}>
            {screen[0]}
          </Tag>
        ))}
    </>
  )
}
```

Propose API
##useValueBreakpoint
![image of demo1](https://raw.githubusercontent.com/chornos13/image/main/image1.png)

```jsx
function UseValueBreakpointDemo() {
  const { value } = useValueBreakpoint({
    xs: 'xs',
    sm: 'sm',
    md: 'md',
    lg: 'lg',
    xl: 'xl',
    xxl: 'xxl',
  })
  return (
    <div>
      Current Breakpoint:
      <Tag color="blue">{value}</Tag>
    </div>
  )
}

export default UseValueBreakpointDemo
```

for real world implementation we can use like this

```jsx
function Demo() {
  const breakpointColumn = useValueBreakpoint({
    xs: width >= 428 ? 2 : 1,
    sm: 2,
    md: 3,
    lg: 4,
    xl: 5,
  })

  return (
    <List
      grid={{
        column: breakpointColumn.value,
      }}
      ...
    />
  )
}
```

#####**furthermore**
![image of demo1](https://raw.githubusercontent.com/chornos13/image/main/image2.png)

```jsx
function UseValueBreakpointDemo() {
  const { value } = useValueBreakpoint({
    xs: {
      divStyle: {
        background: 'blue',
      },
      style: {
        color: 'blue',
        fontSize: 14,
      },
      label: 'XS',
    },
    sm: {
      divStyle: {
        background: 'red',
      },
      style: {
        color: 'red',
        fontSize: 21,
      },
      label: 'moreThanXS',
    },
  })
  return (
    <div
      style={{
        ...value.divStyle,
      }}
    >
      Current Breakpoint:
      <Tag
        color="blue"
        style={{
          ...value.style,
        }}
      >
        {value.label}
      </Tag>
    </div>
  )
}
```


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: TypeScript
Issue: tsconfig should support suffix `.jsonc`
Labels: Bug,Help Wanted,Effort: Moderate

# Suggestion

## 🔍 Search Terms

* json
* jsonc
* tsconfig

## ✅ Viability Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).

## ⭐ Suggestion

tsconfig should support `"extends": "pkg/foo.jsonc"`

Currently that will try to read `node_modules/pkg/foo.jsonc.json` and fail

`"extends": "./foo.jsonc"` works. It only fails when trying to load a config using the node-resolution codepath.

## 📃 Motivating Example

Various dev tools complain about comments in `.json` files.

Many json config files allow comments, so most dev tools also understand a "json-with-comments" format, and the conventional file suffix for that is `.jsonc`.

Some dev tools special-case `tsconfig.json` as `jsonc`, and some tools also special-case variants like `tsconfig*.json`, but this is awkwardly inconsistent.

Supporting the suffix `.jsonc` will let people ignore the special-case irregularities and gravitate toward the generic file suffix.

Q: Why not some other json variant like `.json5`?

A: Other json variants try to fix other "json as configuration" problems in different ways, and none of them seem particularly dominant yet. jsonc is a conservative extension to json that has a lot of support, and it's also a subset of most of the other json variants.

And the tsconfig parser is already a jsonc parser, it doesn't need to change. It just needs support for the `.jsonc` suffix.

## 💻 Use Cases
Repository: rust
Issue: suggest .into_iter() when trying to collect Vec<T> into Vec<T> 
Labels: C-enhancement,A-diagnostics,T-compiler,A-suggestion-diagnostics,D-papercut

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.

If you cannot produce a minimal reproduction case (something that would work in
isolation), please provide the steps or even link to a repository that causes
the problematic output to occur. 
-->

Given the following code: <!-- Please provide a link to play.rust-lang.org -->

```rust
fn main() {
    let v: Vec<String> = Vec::new();
    let v2: Vec<String> = v.iter().filter(|s| s.len() == 2).collect();
}
```

The current output is:

```
error[E0277]: a value of type `Vec<String>` cannot be built from an iterator over elements of type `&String`
 --> src/main.rs:3:61
  |
3 |     let v2: Vec<String> = v.iter().filter(|s| s.len() == 2).collect();
  |                                                             ^^^^^^^ value of type `Vec<String>` cannot be built from `std::iter::Iterator<Item=&String>`
  |
  = help: the trait `FromIterator<&String>` is not implemented for `Vec<String>`

error: aborting due to previous error

```

Instead of somehow trying to call `.clone()` on the Strings, if `v` is not used anywhere else, one can easily fix this problem by calling ` v2 .. =  v.into_iter()` instead of `v2 .. = v.iter()`.
Does it make sense for rustc to suggest that?
Repository: rust
Issue: Implementing Drop leads to SIGILL: Illegal instruction in tests but not in normal run
Labels: T-compiler,A-libtest,C-bug

I tried this code:

```rust
pub struct Droppy<T, F: FnMut(&mut T)> {
    inner: T,
    callback: F,
}

impl<T, F: FnMut(&mut T)> Drop for Droppy<T, F> {
    fn drop(&mut self) {
        (self.callback)(&mut self.inner);
    }
}

impl<T, F: FnMut(&mut T)> Droppy<T, F> {
    pub fn new(inner: T, callback: F) -> Self {
        Droppy { inner, callback }
    }
    pub fn force(&mut self) {
        (self.callback)(&mut self.inner);
    }
}

fn main(){
    let mut d = Droppy::new(42, |_| assert_eq!(1,2));
    d.force();
}

#[test]
fn droppy() {
    main()
}
```
running this with `cargo run` works fine. I get an assertion failure because 1 isn't 2.

But when I run `cargo test`

I expected to see this happen:

assertion failure because 1 isn't 2

Instead, this happened:

```
running 1 test
thread panicked while panicking. aborting.
error: test failed, to rerun pass '--bin broken-case'

Caused by:
  process didn't exit successfully: `.../target/debug/deps/broken_case-77184cc870a0dee1` (signal: 4, SIGILL: illegal instruction)

```

### Meta

`rustc --version --verbose`:
```
rustc 1.50.0 (cb75ad5db 2021-02-10)
binary: rustc
commit-hash: cb75ad5db02783e8b0222fee363c5f63f7e2cf5b
commit-date: 2021-02-10
host: x86_64-unknown-linux-gnu
release: 1.50.0
```
Repository: pytorch
Issue: Second order derivatives for F.grid_sample()
Labels: triaged,enhancement

It would be great for F.grid_sample() to support high order derivatives. This is particularly useful for training setups that utilize F.grid_sample() for spatial transformations inside the network and (2) involve an optimization or regularization method which relies on second order derivatives. One such example is in GANs which involve spatial transformations as a form of differentiable data augmentation, and which use second order derivatives in regularization approaches. NVIDIA provides code for this here, which could likely be generalized and integrated into PyTorch.

https://github.com/NVlabs/stylegan2-ada-pytorch/blob/main/torch_utils/ops/grid_sample_gradfix.py