sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Tilemap Editor with Touchscreen 'draws line' between touched points
Labels: bug,topic:editor,topic:input

<!-- 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. -->
v3.2.3.stable.official

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Linux Mint 20 64-bit on Lenovo Ideapad 3 - 10th Gen running Touchegg

**Issue description:**
<!-- What happened, and what was expected. -->
Using Touchscreen with 2D Tilemap Editor, I attempted to draw tiles onto the touchscreen with my finger. I expected to be able to 'dot' tiles onto the screen with my finger in much the way I do with my left mouse button. However, if I lifted my finger from the touchscreen and drew along another part of the tilemap, a line of tiles was drawn from the last point I had touched to the new point I had touched.

I have tested my touchscreen successfully in other drawing apps and software including Drawing, Aseprite, and Krita.

**Steps to reproduce:**
1. Open Godot
2. Open 2D Tilemap Editor and select a TileSet
3. Touch/swipe different points in the 2D Scene using a Touchscreen, in attempt to draw.

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
[TouchProj.zip](https://github.com/godotengine/godot/files/5715774/TouchProj.zip)

I have also uploaded a video of the issue here: https://www.youtube.com/watch?v=c2KqVe7twlc
Repository: deno
Issue: Using fetch for unix socket
Labels: suggestion,ext/fetch,needs discussion

Is it possible to use `fetch` for unix socket (e.g. to call [docker API](https://docs.docker.com/engine/api/))? If not, what is the best way to communicate via HTTP through unix socket?
Repository: go
Issue: x/pkgsite: Examples are missing the "Output:" label when example output provided
Labels: NeedsInvestigation,pkgsite,UX

### What is the URL of the page with the issue?
 
https://pkg.go.dev/strings#example-Compare
 
### What is your user agent?
 
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
 
### Screenshot
 
![image](https://user-images.githubusercontent.com/1720119/102623232-1881cb00-413a-11eb-99e9-717ee9180fbb.png)
 
### What did you do?

Went to the page
 
### What did you expect to see?
 
 The example output labelled as Output: as it is on GoDoc.

![image](https://user-images.githubusercontent.com/1720119/102623353-45ce7900-413a-11eb-94ac-c95d44bf38fb.png)

Without the label it isn't immediately clear what you are looking at.
 
### What did you see instead?

There is no "Output:" label instead the example code and example output are just right next to each other.
Repository: create-react-app
Issue: How to run react app on VSCode live server?
Labels: issue: proposal,needs triage

There are a guy @chwasiq0569  who had been asking, 
    "How to run react app on VSCode live server?" here:
https://github.com/facebook/create-react-app/issues/8920

I've found the solution:
Just do not forget to put babel-link to your head element;
and do not use the E-explorer browser.
Like this: https://hacking-nassa-with-html.github.io/Sandbox-for-Javascript/firstReactAsCDNlink/index4.html
    For educational purposes to work with Live Server is much easier than with create-react-app. IMHO.
Repository: create-react-app
Issue: react-scripts build: takes too long on CICD environment for a basic reactjs app (5mins minimum)
Labels: needs triage

If you have a general question about Create React App or about building an app with Create React App we encourage you to post in GitHub Discussions instead of this issue tracker. The maintainers and other community members can provide help and answer your questions there: https://github.com/facebook/create-react-app/discussions

If you're looking for general information on using React, the React docs have a list of resources: https://reactjs.org/community/support.html

If you've discovered a bug or would like to propose a change please use one of the other issue templates.

Thanks!
Repository: godot
Issue: ResourceLoader type_hint does not change type if already imported.
Labels: bug,topic:core

**Godot version:**
(2021-04-12) cee5414698b14be3ce837b4c9de3a3d500d28611
3.2.3

**OS/device including version:**
Manjaro 20.2

**Issue description:**
Running this code:
```swift
print(ResourceLoader.load("res://icon.png", "Image"))
```

Yields
`[StreamTexture:1180]`

`icon.png` is imported as a Texture.

**Steps to reproduce:**
Run the scene in the MRP

**Minimal reproduction project:**
[TestStable7.zip](https://github.com/godotengine/godot/files/5716677/TestStable7.zip)
Repository: rust
Issue: MaybeUninit requires T: Sized but it should not
Labels: T-lang,T-libs-api,A-raw-pointers

<!--
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.
-->

I tried this code:

```rust
pub fn as_maybe_uninit<T: ?Sized>(t: &T) -> &MaybeUninit<T> {
    unsafe {
        mem::transmute(t)
    }
}
```

I expected to see this happen: It compiles

Instead, this happened: It does not compile

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.48.0 (7eac88abb 2020-11-16)
binary: rustc
commit-hash: 7eac88abb2e57e752f3302f02be5f3ce3d7adfb4
commit-date: 2020-11-16
host: x86_64-unknown-linux-gnu
release: 1.48.0
LLVM version: 11.0
```
Repository: TypeScript
Issue: Array spreads should be contextually typed
Labels: Suggestion,In Discussion

**TypeScript Version:** 3.8

**Search Terms:**

* array literal type
* array spread type inference
* implicit array literal type
* array destructuring type inference [sic]

**Response to Original Issue Post**

> We have "special" logic for unifying object literals in these cases; the spread syntax interferes with that.

If you post a more representative sample where it's not just spreading for the sake of spreading, we may be able to advise more.

_Originally posted by @RyanCavanaugh in https://github.com/microsoft/TypeScript/issues/30761#issuecomment-481793894_

**Real Use Case**

The common pattern of literal array assignment with conditional inclusion of elements is one use case.

**Code**

```
type t = 'a'

// The common pattern
const a:t[] = [
  ...(true?['a']:[]),
]

// Minimal repro of phenomenon
const a:t[] = [
  ...['a']
]
```
The error messages given above are both `Type 'string[]' is not assignable to type '"a"[]'`.

Of course if the type of the nested array is asserted or otherwise known, the spread doesn't get in the way of that - it only seems to interrupt the *automatic inference* of the literal. We get as specific as `string`, but not as specific as the actual value.
Repository: rust
Issue: Confusing diagnostic for supertrait cycle
Labels: A-diagnostics,A-trait-system,T-compiler,D-papercut

```rust
pub trait Constant: From<Self::Value> + Into<Self::Value> + Copy + Eq + Ord {
    type Value;
}
```

([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=21e235bb28d5fe4e17898e3446fce4eb))

Errors:

```
   Compiling playground v0.0.1 (/playground)
error[E0391]: cycle detected when computing the supertraits of `Constant`
 --> src/lib.rs:1:1
  |
1 | pub trait Constant: From<Self::Value> + Into<Self::Value> + Copy + Eq + Ord {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: ...which again requires computing the supertraits of `Constant`, completing the cycle
note: cycle used when collecting item types in top-level module
 --> src/lib.rs:1:1
  |
1 | pub trait Constant: From<Self::Value> + Into<Self::Value> + Copy + Eq + Ord {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0391`.
error: could not compile `playground`

To learn more, run the command again with --verbose.

```

Note: it's possible to reproduce the issue with a lot simpler repro, leaving just the `From<Self::Value` part, but example with more traits is more problematic, because in that case it's unclear which one of the trait clauses is actually causing the issue.

Note 2: Aside from improving diagnostics, why is this an error at all? There is no trait cycle as far as I can tell, it's just trying to use its own associated type which feels like should be fine...

cc @estebank
Repository: opencv
Issue: Add USAC EstimationMethod::AffinePartial2D
Labels: feature,category: calib3d

##### System information (version)
- OpenCV => 4.5
- Operating System / Platform => Ubuntu 20.04
- Compiler => g++ 9.3

##### Detailed description
A recent [GSOC contribution](https://docs.opencv.org/master/d1/df1/md__build_master-contrib_docs-lin64_opencv_doc_tutorials_calib3d_usac.html) added USAC options to many existing geometry functions. However, USAC support was not added to `cv::estimateAffinePartial2D` or `cv::estimateAffine2D` (though an overload was created for the latter).

See: `enum EstimationMethod { Homography, Fundamental, Fundamental8, Essential, Affine, P3P, P6P};`

This is a feature request to add USAC support to the previously existing functions listed above, as well as a new overload for partial affine 2D or similarity transforms.

##### Steps to reproduce
N/A (or simply try to pass `cv::MAGSAC` to `cv::estimateAffinePartial2D`)

##### Issue submission checklist
 - [x] I report the issue, it's not a question
   <!--
   OpenCV team works with answers.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with question without real issue statement will be
   closed.
   -->
 - [x] I checked the problem with documentation, FAQ, open issues,
       answers.opencv.org, Stack Overflow, etc and have not found solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://answers.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [x] I updated to latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only latest release for each branch.
   The ticket is closed, if the problem is not reproduced with modern version.
   -->
 - [ ] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as archive to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: pytorch
Issue: Improve error on missing/problematic Module member type annotation
Labels: oncall: jit,days,TSRootCause:TypeChecking,TSUsability

## 🚀 Feature
Error message here can be improved:
https://github.com/pytorch/pytorch/blob/daaf932a9934148273d90c7e8ca7ea087de689ee/torch/jit/_recursive.py#L272

Based on experiences, this error is always caused by

1) Module member type is not annotated.
2) Module member type is annotated to be unsupported types like list of modules or dict of modules

Error can be improved by distinguishing the two situations above and give actionable advice accordingly.

## Motivation

This is a common error I encounter when oncall. We can save users time by providing better error message.



cc @gmagogsfm
Repository: flutter
Issue: Add the native keyboard actions bar such as the up/down/done buttons in iOS
Labels: a: text input,c: new feature,platform-ios,framework,engine,c: proposal,P3,team-ios,triaged-ios

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case
Currently we cannot create the native experience in iOS with these keyboard arrows to move between input boxes:
![image](https://user-images.githubusercontent.com/9597207/102657636-01e07180-4144-11eb-9534-97ae865a3986.png)


Flutter can move between focus boxes with the `next` button on iOS but that only works if you're not using the numeric input pad.

There's a community plugin for this but it has a complex API and because the keyboard view insets snap from 0 to the value (no in-between), the animation for the keyboard opening to show any custom widget above it is very jerky feeling since there's no interpolation.

![ezgif-2-d2dace2b7022](https://user-images.githubusercontent.com/9597207/102657891-7d422300-4144-11eb-87e3-54d61400296d.gif)


<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal
* A native-feeling keyboard action bar that includes the up/down arrows in iOS to allow moving between focusable widgets like a form of text inputs.
* It should smoothly animate up with the native keyboard (not just track the view insets which have no interpolated values).
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: pytorch
Issue: Support scope in fx Node
Labels: triaged,module: fx

## 🚀 Feature
Scope support for a node in fx graph. scope means: full qualified path of the submodule the node belongs to.


## Motivation
Needed by quantization to assign the qconfig for a call_method node: https://github.com/pytorch/pytorch/blob/master/torch/quantization/fx/quantize.py#L315

## Pitch

```python
import torch
from torch.fx import symbolic_trace
​
class Sub(torch.nn.Module):
    def forward(self, x):
        return x.contiguous()
    
    
class M(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.sub = Sub()
​
    def forward(self, x):
        x = self.sub(x)
        return x
    
m = M().eval()
m = symbolic_trace(m)
print(m)
print(m.graph)
----
GraphModuleImpl()

def forward(self, x):
    
    contiguous = x.contiguous();  x = None
    return contiguous
    


graph(x):
    %contiguous : [#users=1] = call_method[target=contiguous](args = (%x,), kwargs = {})
    return contiguous


```
the scope for node "    %contiguous : [#users=1] = call_method[target=contiguous](args = (%x,), kwargs = {})"
should be "sub"



cc @ezyang @SherlockNoMad
Repository: rust
Issue: linkchecker is not catching some broken links
Labels: A-testsuite,A-docs,C-bug

https://doc.rust-lang.org/nightly/std/primitive.slice.html#method.concat-2 links to https://doc.rust-lang.org/std/primitive.slice.html#method.concat, which does not exist in the build directory, only on the website itself (it's linking to the stable docs instead of nightly).

Source code: https://github.com/rust-lang/rust/blob/50a90975c0f78219db45d3bee0676a22695ec103/library/alloc/src/slice.rs#L671, https://github.com/rust-lang/rust/blob/50a90975c0f78219db45d3bee0676a22695ec103/library/alloc/src/slice.rs#L706

Caught by cargo-deadlinks: https://github.com/deadlinks/cargo-deadlinks/issues/133#issuecomment-748399781
Repository: pytorch
Issue: Bug in CosineAnnealingWarmRestarts
Labels: module: optimizer,triaged

## 🐛 Bug
CosineAnnealingWarmRestarts gives AttributeError if we initialize it with last_epoch not equal to -1, which usually happens when one wants to resume training a network.

## To Reproduce

Steps to reproduce the behavior:

1. Initialize the scheduler and set the last_epoch to where we left off
```
scheduler = CosineAnnealingWarmRestarts(
      optimizer, restart_iter,
      T_mult=restart_mult,
      last_epoch=_last_iter # where we left off, _last_epoch should be greater than -1
)
```

2. The code gives this error:
```
  File "/foo/torch/optim/lr_scheduler.py", line 965, in __init__
    super(CosineAnnealingWarmRestarts, self).__init__(optimizer, last_epoch, verbose)
  File "/foo/torch/optim/lr_scheduler.py", line 79, in __init__
    self.step()
  File "/foo/torch/optim/lr_scheduler.py", line 1008, in step
    self.T_cur = self.T_cur + 1
AttributeError: 'CosineAnnealingWarmRestarts' object has no attribute 'T_cur'
```

## Expected behavior
No attribute error.

## Environment

Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```

 - PyTorch Version (e.g., 1.0): 1.7.0
 - OS (e.g., Linux): Linux
 - How you installed PyTorch (`conda`, `pip`, source): conda
 - Build command you used (if compiling from source):
 - Python version: 3.7
 - CUDA/cuDNN version:  11/6.0.21
 - GPU models and configuration: RTX 3090
 - Any other relevant information:

## Additional context
After some investigation, I believe I found the code that causes this bug. When we initialize `CosineAnnealingWarmRestarts`, it will call its parent (`_LRScheduler`) constructor (line 965 in `torch/optim/lr_scheduler.py`). The constructor of `_LRScheduler` will call the step function (line 79 in `torch/optim/lr_scheduler.py`) of `CosineAnnealingWarmRestarts` before finishing the initialization. In the step function, because epoch is none and last_epoch is greater than 0, line 1008 will be executed which involves `self.T_cur`. But at this point `self.T_cur` has not been set yet as it is only set after the initialization is done (line 967). 


cc @vincentqb
Repository: node
Issue: Treat Android as Linux when building ..
Labels: build

<!--
Thank you for suggesting an idea to make Node.js better.

Please fill in as much of the template below as you're able.
-->

**Is your feature request related to a problem? Please describe.**
Please describe the problem you are trying to solve.

Yes it is, because many npm pkgs don't compile as node-gyp says Android is unsupported...
While Linux is more same as Android

**Describe the solution you'd like**
Please describe the desired behavior.

Work as Linux when compiling.

**Describe alternatives you've considered**
Please describe alternative solutions or features you have considered.
Manually cloning their got repo, adding android option along with Linux. And it works...
Repository: node
Issue: docs improvement - "advanced section"
Labels: doc,discuss

At the moment, I am curious how domains are implemented with the newish AsyncHooks / AsyncListener API.
It might be a tad dangerous to leak details, but could there be an advanced section in the docs that does some case studies and talks about "under the hood" stuff and "implementation details"?

Right now, I am just curious how domain is implemented using AsyncHooks / AsyncListener and if it could be documented. TMK the domain implementation changed after AsyncHooks was introduced.
Repository: youtube-dl
Issue: nitter support
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 2020.12.14. 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 **2020.12.14**
- [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://nitter.net/DanielFore/status/1340023143990054913#m
- Single video: https://nitter.net/nathandyer_/status/1340111249359646727
- Single video: https://nitter.snopyta.org/ArtemisVtuber/status/1340029333763575808


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Sometimes a video will open, but it won't be the full length, or it will be a random video in the thread and not the one in the exact linked post

https://github.com/zedeus/nitter/wiki/Instances list of instances to support here