sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: svelte
Issue: Documentation crosslinking
Labels: site,documentation

Following [this conversation](https://github.com/sveltejs/svelte/issues/3694#issuecomment-541454741) I've started a spreadsheet to track down what parts of the API, the tutorial and the examples can eventually be interlinked [1].

Once we'll have figured out all the links we can figure out eventually how to add links in a non-intrusive/usable way in the site, depending on the links volume.

Assigning to myself but please feel free to get onboard and help as this seems quite a bit of work (we can use comments in the spreadsheet for ease of use).

The json files extracted from the site as of now are at [2].

----

These are the sections of the 3 types of doc, each having 2 columns on the right to add correspondences.

If a section in `/docs` has a correspondence in `/tutorial` we can add an "x" in the "Tut" column and link it to the correspondent cell under "Tutorial".

For example these cells are linked:

<img width="1020" alt="Screenshot 2019-10-16 at 12 41 43" src="https://user-images.githubusercontent.com/1309648/66916070-64a31e00-f012-11e9-8239-ac94e28f4034.png">

If we'll find sections with multiple links we can add more "x cells", say for example like this:

<img width="384" alt="Screenshot 2019-10-16 at 12 44 53" src="https://user-images.githubusercontent.com/1309648/66916286-d0858680-f012-11e9-84eb-37423b15462a.png">

For ease of use:
- Cmd-K to link it to some target cell
- select the target cell or type in the target cell coordinate (`E11`)
- save

[1] https://docs.google.com/spreadsheets/d/14bdp_XNm-n9opbymT_F1T7t0j9Edwl8NSK5G9gweiCU/edit#gid=0

[2] https://gist.github.com/mindrones/bac9331855f29476598ed274be330118
Repository: godot
Issue: Cannot load texture imported as TextureAtlas
Labels: bug,topic:core,confirmed,topic:import

**Godot version:**
Godot Engine v3.2.alpha2.official
**OS/device including version:**
Windows 10 (1709)
**Issue description:**
It exists in filesystem, but can't be used
After opening the project:
```
ERROR: get_multiple_md5: Condition ' !f ' is true. Continuing..:
   At: core/os/file_access.cpp:667
ERROR: Cannot open file 'res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.res'.
   At: core/io/resource_format_binary.cpp:1035
```

When trying to select (double click) it:
```
ERROR: Cannot open file 'res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.res'.
   At: core/io/resource_format_binary.cpp:986
ERROR: Failed loading resource: res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.res.
   At: core/io/resource_loader.cpp:278
ERROR: Failed loading resource: res://icon.png.
   At: core/io/resource_loader.cpp:278
ERROR: load_resource: Condition ' !res.is_valid() ' is true. returned: ERR_CANT_OPEN
   At: editor/editor_node.cpp:656
```
**Steps to reproduce:**
Image from https://godotengine.org/article/atlas-support-returns-godot-3-2
![image](https://user-images.githubusercontent.com/43543909/66921749-7b576e00-f02e-11e9-8571-a95eb90b4795.png)

**Minimal reproduction project:**
[BrokenAtlas.zip](https://github.com/godotengine/godot/files/3734424/BrokenAtlas.zip)
Repository: pytorch
Issue: [discussion] Smarter version of torch.reshape (can avoid realloc in some cases)
Labels: triaged,function request,module: viewing and reshaping

Imagine a following situation:
```python
a = torch.rand(2,3,4)
a_ = a.transpose(-1, -2)
b_ = someltwiseinplacefunc(a_.reshape(2, -1)) # reshape seems to reallocate (checked by data_ptr), view will error out
b = b_.view_as(a) # or b_.view_as(a_) (currently view_as copies dimension order, disregarding the strides, though)
```
Currently `a_.reshape(2, -1)` seems to reallocate, but it's not necessary for all operations, especially elementwise ones (given that frequently will reshape back the result). These things happen in C++ sometimes. I guess currently the solution is manual handling of strides.

If it doesn't reallocate, the semantics seems different, but it may still be worthwhile to allow for flattening of contiguous chunks of memory without reallocation and ignoring the striding dimension order.
Repository: opencv
Issue: Inconsistent behaviour in cvtColor
Labels: category: imgproc,RFC

When converting from RGB to Lab, cvtColor will apply a gamma curve to the input data before doing the conversion, which implicitly means that the conversion function expects the input to be in a non-linear space. When converting from RGB to XYZ however, no linearization step is performed which makes the use of cvtColor inconsistent.
Repository: pytorch
Issue: Move options logic in _like functions from parsing layer to implementations
Labels: triaged

We have fairly complex parsing logic for _like functions (e.g. empty_like) for dealing with dtypes, etc.  This was necessary when we didn't have optional TensorOptions parameters, because we had no way of distinguishing "default dtype" from "the dtype wasn't specified" once we got past the parser level.

But this isn't true anymore.  So we should just write the logic we want in the ATen function.

I also don't know if JIT handles these things correctly, but it either doesn't or has similar complex logic for working around this issue.
Repository: pytorch
Issue: Stable docs show dead __config__ section link
Labels: module: docs,triaged

## 📚 Documentation

Hey folks, there is a `__config__` section showing up in the docs which leads to a 404 page; see
- https://pytorch.org/docs/stable/index.html
- https://pytorch.org/docs/stable/__config__.html

See screenshot below

![torch-config](https://user-images.githubusercontent.com/527241/66940551-6b975400-f045-11e9-9bb4-555399ab72fe.png)

Should probably be removed or the linked page fixed; thanks!
Repository: pytorch
Issue: Provide function similar to cdist that returns dist_p^p
Labels: triaged,function request,module: distance functions

## 🚀 Feature
Provide a function similar to cdist (or add an option to cdist) that would compute \sum_k (x_ik - xj_k)^p instead of (\sum_k (x_ik - xj_k)^p(^(1/p)

## Motivation

The function proposed above is differentiable at zero, while norm is not. Requested in #25799

## Alternatives
Raising existing cdist output to power p does not solve the problem of differentiability at 0

cc @ezyang @balandat, @ifedan
Repository: rust
Issue: Extend overlapping ranges lint to cover cases with more than a single element overlapping
Labels: A-lints,I-needs-decision,T-lang,A-exhaustiveness-checking

#64007 introduces an overlapping ranges lint that triggers only if the beginning or the end overlap with another arms' pattern, like in `0..10`/`9..20`. [There should be a conversation](https://github.com/rust-lang/rust/pull/64007#issuecomment-542628737) on whether it should also trigger when the overlap is beyond that, like in `0..10`/`5..15`.

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"Nadrieril"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: flutter
Issue: How can I set value to my `CupertinoDatePicker`?
Labels: c: new feature,framework,f: date/time picker,f: cupertino,c: proposal,P3,team-design,triaged-design

I use CupertinoDatePicker in form. My form has a button "Reset all". But I didn't find a way to reset the value in a picker.
Repository: pytorch
Issue: Named Tensor: Support -1 in `unflatten`.
Labels: triaged,module: named tensor

Would be convenient to write: 

`tensor.unflatten("h", (("height", 8), ("q", -1))).shape`

Similar to view. 



cc @zou3519
Repository: pytorch
Issue: Named tensor: align_to align_as  error messages
Labels: triaged,module: named tensor

For new users `align_as` and `align_to` seem synonymous. If you write `align_to(tensor)` it should either fail nicely or call align_as. Currently you get a very scary error message (if you don't know what ellipses are). 

```
/usr/local/lib/python3.6/dist-packages/torch/_namedtensor_internals.py in is_ellipsis(item)
     53         return item == '...'
     54     else:
---> 55         return item == Ellipsis or item == '...'
     56 
     57 

TypeError: eq() received an invalid combination of arguments - got (ellipsis), but expected one of:
 * (Tensor other)
      didn't match because some of the arguments have invalid types: (!ellipsis!)
 * (Number other)
      didn't match because some of the arguments have invalid types: (!ellipsis!)
```

cc @zou3519
Repository: flutter
Issue: [flutter_android_lifecycle] Throw when obtaining lifecycle from a too old engine
Labels: platform-android,package,P2,c: tech-debt,p: flutter_plugin_android_lifecycle,team-android,triaged-android

`FlutterLifecycleAdapter.getLifecycle` should throw if running with an engine version that doesn't support the hidden lifecycle API.

As that API isn't available on stable we're temporarily not throwing so that the example app works on stable. After next stable release we should be able to make `getLifecycle` throw.
Repository: godot
Issue: File.open_encrypted_with_pass() returns ERR_FILE_UNRECOGNIZED
Labels: bug,topic:core,confirmed

**Godot version:**
3.1.1.stable-official

**OS/device including version:**
Windows 7

**Issue description:**
If you try to read or write a file using `File.open_encrypted_with_pass()` it returns `ERR_FILE_UNRECOGNIZED` and doesn't say much more.

Windows cmd displays:
```
ERROR: open_and_parse: Condition ` magic != 0x43454447 ` is true. returned: ERR_FILE_UNRECOGNIZED
    At: core/io/file_access_encrypted.cpp:65
```

**Steps to reproduce:**
```
var file : File = File.new()
var open_result = file.open_encrypted_with_pass("user://user.json", File.WRITE_READ, OS.get_unique_id())

print("Open result ", open_result)
```
Repository: godot
Issue: Audio clips when changing volume of audio bus
Labels: bug,topic:editor,confirmed,topic:audio

**Godot version:** 3.1.1 stable
**OS:** Windows 10 Pro version 1903 build 18362.418
**Device:** ASUS ROG Zephyrus S GX502GW (using both integrated laptop speaker and OnePlus USB-C bullet earbuds)

**Issue description:**
Changing the volume of an audio bus using `AudioServer.set_bus_volume_db()` or through the visual interface (Audio bottom tab) produces very audible clipping noises. Comparatively, changing the volume_db property on an AudioStreamPlayer produces virtually zero clipping.

**Steps to reproduce:**
Create a scene with an ASP and set it to the master channel. Load some music file on it, set `Playing` to true and play with the volume property knob. Notice virtually no sound clipping. Now open the audio tab on the bottom and play the same sound file. Try changing the volume of the master bus with the vertical bar. Sound will clip a lot as you change the volume.

*Bugsquad edit (keywords for easier searching): crack, cracking*
Repository: flutter
Issue: [Request Feature]SnackBar offset option
Labels: c: new feature,framework,f: material design,P3,team-design,triaged-design

<!-- 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 our the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

Changing SnackBar offset
<!--
     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 alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal

I read `snack_bar.dart`,
I want to remove it.
`padding: const EdgeInsets.fromLTRB(15.0, 5.0, 15.0, 10.0),`
some people don't want the `padding`
<!--
     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: New Stochastic Optimization Algorithms in Pytorch
Labels: feature,module: optimizer,triaged

## 🚀 Feature
I would like to suggest new stochastic optimizer additions to Pytorch.

### For non-convex loss functions
It is known that adaptive stochastic optimizers like Adam, Adagrad, RMSprop can indeed fail to converge. Moreover the test error of the trained models can be larger when compared to the models trained by SGD even though if they attain lower training error than with SGD - in other words they can overfit. See [[1](http://papers.nips.cc/paper/7003-the-marginal-value-of-adaptive-gradient-methods-in-machine-learning.pdf)].

Recently, ADABOUND was proposed [[2](https://openreview.net/pdf?id=Bkg3g2R9FX)] to overcome the above mentioned problems of the adaptive optimizers. The algorithm combines the best of both worlds : (a) Makes fast progress initially like the adaptive methods, and (b) attains similar or better test accuracy to that of SGD. In terms of code size and complexity, it is close to Adam's.

### For convex loss functions
While Pytorch is generally used for deep learning purposes, I see it is as a tensor-based Machine Leaning (ML) library with automatic differentiation that can run on both CPU and GPU and which allows easy implementation of both convex and non-convex ML models. As such, I think an ML engineer working on convex ML models would be interested to see faster state-of-the-art stochastic optimizers implemented in Pytorch like the variance reduced optimizers. Among them, SVRG [[3](https://papers.nips.cc/paper/4937-accelerating-stochastic-gradient-descent-using-predictive-variance-reduction.pdf)] is most widely known. In terms of code size and complexity, it s somewhat close to SGD's with few modifications.

### Alternatives
I recommended SVRG since it is the most popular variance reduced algorithm. There are more complex variance reduced algorithms that are faster than SVRG and if they are of interest I can suggest some. Also, I would like to know if there are interests on batch optimizers other than LBFGS which is within Pytorch. For large scale ML models, there are cases when LBFGS requires more memory than the system can offer. An alternative would to be try out the accelerated gradient descent that consumes the same amount of memory as Batch gradient descent while performing significantly faster than it. Accelerated gradient descent's code size and complexity is close to batch gradient descent and as such it is way easier to maintain than LBFGS's. Lastly, if there are interests in other specific optimizers, I would be interested to hear out. I can try implementing them.

## References
[1] http://papers.nips.cc/paper/7003-the-marginal-value-of-adaptive-gradient-methods-in-machine-learning.pdf
[2] https://openreview.net/pdf?id=Bkg3g2R9FX
[3] https://papers.nips.cc/paper/4937-accelerating-stochastic-gradient-descent-using-predictive-variance-reduction.pdf

cc @vincentqb
Repository: TypeScript
Issue: Type discrimination in function calls for callable types doesn't work if discriminating property is optional
Labels: Suggestion,Awaiting More Feedback

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->
**TypeScript Version:**  3.7.0-dev.20191015

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** type discrimination, callable, signatures, implicit any

**Code**

```ts
function test(
  a:
    | { type?: 1; property: (a: number) => void }
    | { type: 2; property: (a: string) => void },
) {
  return a.property
}


test({
  property: (x) => { // complaining that x implicitly has type any
    console.log('hi')
  },
})
```

**Expected behavior:**

`x` should be inferred to be `number`.

**Actual behavior:**

`x` is `any`.

If you change `type?: 1` to `type: 1`, it works as expected.

**Playground Link:** [link](http://www.typescriptlang.org/play/index.html#code/GYVwdgxgLglg9mABFApgZygCgFCMQQwC5c9EAfRAb2QE8AHFAfkMQEYBuROgJzge6g0WmIojAgAtgCMU3AJSIAvAD5EANzgwAJogC+JPBWqCGLAEycefWYOGiM3GGADmCles07dAGmwLKJNwoUCDcSPgAdFb8gtj62NioGJgBeNE2QoiYAB5uqtQA9AWIEHASdAA2+E5OzsgAFvhQiNmIMOUVMBAwUBU0iI1otAwEYDQGJQhocBUoERVwzpgA5PUwy3IkPnFyQA)

**Related Issues:** #7294 (closed with #29011 - see second half of the original post, I believe it describes why this issue occurs)
Repository: youtube-dl
Issue: NoodleMagazine URL Support Request
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 2019.10.16. 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 **2019.10.16**
- [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://noodlemagazine.com/watch/-97597836_456243773


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Phone:~ mobile$ youtube-dl -f best https://noodlemagazine.com/watch/-97597836_456243773                
[generic] -97597836_456243773: Requesting header   
WARNING: Falling back on generic information extractor.                                                
[generic] -97597836_456243773: Downloading webpage 
[generic] -97597836_456243773: Extracting information                                                  
NOT TEACHABLE                                      
ERROR: Unsupported URL: https://noodlemagazine.com/watch/-97597836_456243773
Repository: youtube-dl
Issue: FA Player
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 2019.10.16. 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 **2019.10.16**
- [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://faplayer.thefa.com/video/MF93eHg2Y3FsNyU3QyUyRmJveHNldCUzRnBhZ2UlM0RoaWdobGlnaHRzLXdzbCU3Q2hpZ2hsaWdodHMtYXJzZW5hbA

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE
Log in is required to watch the videos. Signing up is completely free.
Repository: go
Issue: cmd/compile: consider flagging ops that should not be moved between blocks
Labels: NeedsInvestigation,compiler/runtime

Some intrinsics (such as population count, FMA and rounding) are emitted by the compiler but are not present in the base ISA of the CPU the compiler is targeting. In these cases the compiler emits code to guard the execution of the instruction and fall back to a slower implementation if the required CPU feature is not present.

This technique is currently working fine but I am concerned it might not interact well with block fusing optimizations that we might add in the future (such as those mentioned in #30645) and this could lead to subtle bugs, especially since machines without some CPU features (e.g. SSE 4.1) are fairly rare these days. We already do some optimizations where we perform code movement and speculatively execute code in order to emit conditional select instructions.

I think we should consider marking these ops somehow, perhaps simply with the 'has side effects' flag. This would represent the possibility that these instructions could cause an illegal instruction exception and prevent the compiler from moving them.

The conditional select optimizations special case integer divide ops since they panic if the divisor is 0 for a similar reason: they should not be speculatively executed.

Example:

```go
if cpu.HasPopCount {
    y = PopCount(x)
} else {
    y = GenericPopCount(x)
}
```
Could be transformed by the compiler into:

```go
y = select(cpu.HasPopCount, PopCount(x), GenericPopCount(x)) 
```

Currently there is ~zero risk of this transformation occuring because the fall back is generally an expensive function call with side effect. However I think that is the only reason this code transformation wouldn't be applied and that seems a bit fragile.