sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: Missing Code for Audio Classification Tutorial
Labels: module: docs,triaged

## 📚 Documentation

It looks as though the code is missing for the [Audio Classification Tutorial](https://pytorch.org/tutorials/beginner/audio_classifier_tutorial.html). I didn't see code in the html document or at the [linked GitHib url](https://github.com/pytorch/tutorials/blob/master/beginner_source/audio_classifier_tutorial.py).

This is what I see:

<img width="1440" alt="Screenshot 2020-07-08 at 7 57 09 AM" src="https://user-images.githubusercontent.com/6405428/86857353-e7b05b00-c0f0-11ea-998a-845795efefb8.png">


cc @jlin27
Repository: flutter
Issue: Imbalanced calls to PlatformView::NotifyCreated and NotifyDestroyed will cause unnecessary surface re-creation.
Labels: engine,c: performance,P2,team-engine,triaged-engine

Today, the Flutter engine platform view expects that calls to NotifyCreated and NotifyDestroyed are balanced. However, at least the iOS embedding might call NotifyCreated multiple times. This leads to re-creation of the surface and synchronization of all Flutter engine managed threads. This is unnecessary and slows down application foregrounding and must be optimized either in the embedding or in the platform agnostic platform view layer.
Repository: rust
Issue: Re-exported tuple struct changes field visibility depending on how it is imported
Labels: C-enhancement,A-diagnostics,A-resolve,T-compiler

I think this is a bug in the compiler, but if that isn't the case, it is at least a diagnostics bug that should definitely be addressed. The error message is very confusing and doesn't indicate the actual issue that needs to be addressed. Here's a fairly minimal reproduction: ([Rust Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ddfa095ba95882b6c8098712e5d54c5d))

```rust
pub use foo::*;

mod foo {
    pub struct Foo(u32);
    
    mod a {
        use super::Foo;
        
        pub fn func_a() {
            let _foo = Foo(1);
        }
    }
    
    mod b {
        use crate::Foo;
        
        pub fn func_b() {
            let _foo = Foo(1);
        }
    }
}
```

Module `a` compiles with no issues and in module `b` we get the error:

```
error[E0423]: expected function, tuple struct or tuple variant, found struct `Foo`
  --> src/lib.rs:18:24
   |
18 |             let _foo = Foo(1);
   |                        ^^^

error: aborting due to previous error
```

The code in module `a` and module `b` is almost identical. The only difference is that `b` imports `crate::Foo` and `a` imports `super::Foo`. My understanding is that the field of `Foo` should be visible to both `a` and `b` because it is defined in a parent module. This should be the case regardless of how it is imported.

Interestingly, the key seems to be the fact that `Foo` is re-exported from another module. This code works with no issues:

```rust
pub struct Foo(u32);

mod a {
    use super::Foo;
    
    pub fn func_a() {
        let _foo = Foo(1);
    }
}

mod b {
    use crate::Foo;
    
    pub fn func_b() {
        let _foo = Foo(1);
    }
}
```

How you import the type only seems to matter if you're importing a re-exported version of it.

If this turns out to be expected behaviour, I still think we should definitely change the error message to properly describe what's going on. I imagine that someone who is less familiar with Rust's name resolution would get very stuck on something like this.

### Meta

The playground link above uses stable Rust 1.44.1 but I was using nightly when I ran into this:

`rustc --version --verbose`:
```
$ rustc --version --verbose
rustc 1.46.0-nightly (2753fab7c 2020-07-05)
binary: rustc
commit-hash: 2753fab7ce3647033146b07c8b6c9f4856a910b0
commit-date: 2020-07-05
host: x86_64-unknown-linux-gnu
release: 1.46.0-nightly
LLVM version: 10.0
```
Repository: flutter
Issue: [proposal] ability to change text overflow on the TextField
Labels: a: text input,c: new feature,framework,f: material design,c: proposal,P2,team-text-input,triaged-text-input

If the user inputs more text than can fit into the available space of a single line `TextFormField`, then end of the text is simply cropped. 
In debug mode, an overflow warning is also displayed on screen.

Unlike the `Text` widget however, the `TextFormField` does not have an `overflow` parameter so that we can for example show an ellipsis in this situation.

Implementing `overflow` handling for the `TextFormField` will allow us to give valuable visual feedback to users.
Repository: youtube-dl
Issue: Please add poptv.com
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.06.16.1. 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.06.16.1**
- [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.
-->

- Playlist: https://www.poptv.com/schittscreek/fullepisodes
- Playlist: https://www.poptv.com/thestorybehind/fullepisodes
- Playlist: https://www.poptv.com/schittscreek/exclusives



## Description

<!--
It seems that there are no individual links for each video.  I am using --ap-mso and have legitimate credentials.
-->

WRITE DESCRIPTION HERE
Repository: neovim
Issue: provide VertSplitNC for splits not adjacent to the current window
Labels: enhancement,highlight

I currently use different highlights for `StatusLine` and `StatusLineNC`, to brighten the status line of the current window, making it easy to see at a glance.

I'd love to do the same for the vertical splits surrounding the current window and non-current windows, making the former brighter than the latter.

The highlight `VertSplit` defines the highlight for the vertical split. I'd love to have a separate highlight `VertSplitNC`, used for any vertical split not adjacent to the current window.

- `nvim --version`:
```
NVIM v0.4.3
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-xAEA75/neovim-0.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-xAEA75/neovim-0.4.3/build/config -I/build/neovim-xAEA75/neovim-0.4.3/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-xAEA75/neovim-0.4.3/build/src/nvim/auto -I/build/neovim-xAEA75/neovim-0.4.3/build/include
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
```
- `vim -u DEFAULTS` (version: ) behaves differently? No
- Operating system/version: Debian, latest unstable
- Terminal name/version: `GNOME Terminal 3.36.2 using VTE 0.60.3`
- `$TERM`: `xterm-256color`
Repository: flutter
Issue: Debug WebSocket - make it throw exception with more extra information
Labels: engine,dependency: dart,c: proposal,a: error message,P3,team-engine,triaged-engine

Thanks very much for this wonderful library!

<!-- 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

For instance, when the http response is not expected when connecting, an error with message `Connection to '$uri' was not upgraded to websocket` is thrown. However, I want to see the details - does it return 404? 401? 500? is there any response body giving some hints where the request goes wrong? All these does not appear :(

**An alternative:** Since I am just debugging, it is OK to just temporarily modify the source code. However, I am having difficulty modifying the source code. I modified the `.../cache/dart-sdk/lib/_http/websocket_impl.dart` adding some prints, and restart the app (even re-run Xcode build), but nothing happened... *It is also very acceptable if I could modify the source code.*

<!--
     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

When throwing exception, give more information, such as the response code, the response body, etc.

<!--
     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: tensorflow
Issue: Autograph applied to Keras Custom Loss during Eager Execution
Labels: type:bug,comp:keras,comp:autograph,TF 2.2

**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10, x64
- TensorFlow installed from (source or binary): binary (pip)
- TensorFlow version (use command below): TF 2.4.0.dev20200707
- Python version: 3.7
- CUDA/cuDNN version: 10.1 / 7.6
- GPU model and memory: Bug appears on several computers with different GPU


**Describe the current behavior**
Tensorflow applies AutoGraph to keras custom loss even in eager execution, meaning that we can't debug the loss anymore (unless using tf.print). This did not happen in previous versions of Tensorflow.
Notice that it both happens when run_eagerly is set to True in model.compile() and when tf.config.run_functions_eagerly is set to True.

**Describe the expected behavior**
When run_eagerly=True is passed to the model during compilation, we should expect Tensorflow to run eagerly in the loss function.

**Standalone code to reproduce the issue**

```
import numpy as np
import tensorflow as tf
from tensorflow import keras

# Custom Model. Autograph is not applied in eager execution so debugging is possible.
class CustomModel(keras.models.Model):
	def __init__(self):
		super(CustomModel, self).__init__()
		self.layer = tf.keras.layers.Dense(3) # Can debug here

	def call(self, inputs, training=None, mask=None):
		x = self.layer(inputs) # Can debug here
		return x

# Custom Loss. AutoGraph is applied in eager execution so debugging is impossible.
class CustomLoss(keras.losses.Loss):
	def call(self, y_true, y_pred):
		x = tf.reduce_mean(tf.abs(y_pred-y_true)) # Cannot debug here
		return x

if __name__ == '__main__':
	data = np.random.random((1000, 3)).astype(np.float32)

	model = CustomModel()

	model.compile(loss=CustomLoss(), run_eagerly=True)
	model.fit(x=data, y=data, batch_size=32)
```


**Other info / logs** Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Repository: flutter
Issue: Allow text wrapping behavior to be controlled
Labels: c: new feature,framework,engine,a: typography,P3,team-engine,triaged-engine

when the word is very long, the text wrap will be not good.
at web, we can use `word-break: break-all;` to solve it.
so, can flutter add the feature?

## Use case

```dart
MaterialApp(
  theme: new ThemeData(),
  home: Scaffold(
    body: Center(
      child: Container(
        width: 100.0,
        child: Text.rich(
          TextSpan(text: '中文information spropaganda accomplishment accomplishment'),
        ),
      ),
    ),
  ),
)
```

![e3a137c2018210683552c5be11bea583](https://user-images.githubusercontent.com/22021589/86902115-1ace0b00-c140-11ea-9639-6523f4586930.jpg)

like this, between two long word, there is very large spacing.

## Proposal

please add new params `wordBreak` to `TextSpan`, let word wrap at end of line, instead of end of word.
Repository: PowerToys
Issue: [FancyZones] Only snap near top of the screen.
Labels: Idea-Enhancement,FancyZones-Dragging&UI,Product-FancyZones

Title sort of says it all. I use/used windock and I was able to configure it to only snap when I was near the top of the monitor. This allowed me to drag windows around and have them not snap without having to hold shift. As an example I opened the calculator and tried to move it and it immediately filled out the entire zone it was in.

I would suggest being able to configure it, though for myself I only use the top.
Repository: vscode
Issue: Investigate use of ts external project for notebooks
Labels: feature-request,typescript,notebook

There is https://github.com/Microsoft/TypeScript/wiki/Standalone-Server-%28tsserver%29#external-project which seems to allow us to support JS and TS in notebooks - in the sense of a notebook is a project (see https://github.com/microsoft/notebook-extension-samples/blob/master/notebook-language-guide/notebook-language-guide.md)

We should explore how well this works for notebooks and if it would be a good case of language service being notebooks-friendly.
Repository: vscode
Issue: Zooming with Ctrl+MouseWheel doesn't update configuration
Labels: feature-request,editor-core

Issue Type: <b>Bug</b>

Zooming with Ctrl+MouseWheel doesn't update the configuration `window.zoomLevel`, `editor.fontSize` or `editor.lineHeight` and there is no `editor.fontZoomLevel` configuration so if there is anything on an extension that depends on it, it won't work properly.

From what I've seen in the code the Ctrl+MouseWheel zoom applies a multiplier to fontSize and lineHeight directly on the browser but doesn't update the configuration after making that change.

From what I've checked there is also no way for an extension to subscribe to this zoom change event.

**My use case and problem with this is:** I have a TextEditorDecoration that depends on the fontSize and lineHeight (I'm trying to mimic an half block cursor), it works fine if you zoom with Ctrl++, Ctrl+- or Ctrl+=, but it won't behave correctly if you zoom with Ctrl+MouseWheel because none of this options will be updated.

VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.18363

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2592)|
|GPU Status|2d_canvas: enabled<br>flash_3d: enabled<br>flash_stage3d: enabled<br>flash_stage3d_baseline: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: disabled_off<br>protected_video_decode: unavailable_off<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>viz_display_compositor: enabled_on<br>viz_hit_test_surface_layer: disabled_off_ok<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.90GB (2.73GB free)|
|Process Argv|.|
|Screen Reader|no|
|VM|0%|
</details>
<!-- generated by issue reporter -->
Repository: pytorch
Issue: TORCH_CUDA_ARCH_LIST deprecation warning
Labels: module: build,triaged,enhancement

## 🐛 Bug

During build with `TORCH_CUDA_ARCH_LIST=5.2 python setup.py install` a warning is shown:
```
  In the future we will require one to explicitly pass TORCH_CUDA_ARCH_LIST
  to cmake instead of implicitly setting it as an env variable.  This will
  become a FATAL_ERROR in future version of pytorch.
```

However as it seems to be impossible to pass options directly to the invoked cmake this cannot be fixed.

## Expected behavior

No warning/error is shown

cc @malfet
Repository: TypeScript
Issue: TypeScript doesn't error on late definition/initialization of variables from outside an async closure.
Labels: Suggestion,Awaiting More Feedback

**TypeScript Version:** 4.0-beta and Nightly (as of writing)

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** async closure variable initialization

**Code**

```ts
async function doSomething(): Promise<void> {
    const x = setTimeout(() => {
        const a = someVar + 1;
    }, 5000)

    await doSomethingSlowly();

    const someVar = 5;
}
```

**Expected behavior:**
There should be an error on ```const a = someVar + 1;``` since someVar may not have been initialized.

**Actual behavior:**
No error/warning with any settings that I could find.

**Playground Link:** [link](https://www.typescriptlang.org/play/?ts=Nightly#code/IYZwngdgxgBAZgV2gFwJYHsIwCboMroC2ApsgBaoQDmeANugO61gAUAlAFwwAKATkahDEAPADd0qbAD4YAbwBQMJTF6kEvCAG55AX3nzQkWIhQYsuAiXKUq7LnwFCxE6XMXKomEMhgAPGAC8MELIACqoJOgIyCzsgTIKykkwnhDeMMCBwUTEAGrAvDAA1DAAjNpJOgA0MACsAAyNbPpJwAzAqD4WOdbUdIzM7NruSqnpIDn5hUG12jpAA)

**Related Issues:** 

**Comments**
I see folks hit this every so often and it feels like something the TypeScript compiler could help warn against, in a similar way that [2448 and 2454 error](https://www.typescriptlang.org/play/#code/MYewdgzgLgBAZiEMC8MBGBDATjA1DAVgG4AoUSWTHVARiKA).
Repository: kubernetes
Issue: Investigate use of e2e framework's flake report
Labels: kind/cleanup,kind/feature,help wanted,sig/testing,priority/important-longterm,lifecycle/frozen,area/e2e-test-framework

The e2e test framework, has a flake report utility https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/flake_reporting_util.go.

As far as we know, there is no current usage of this utility but it is mentioned as useful for https://github.com/kubernetes/kubernetes/issues/66239.

We should investigate this and evaluate what we can do with the e2e test framework.

/kind cleanup
/sig testing
/area e2e-test-framework
/priority important-longterm
Repository: rust
Issue: Unique references to temporary empty arrays are not actually unique
Labels: T-compiler,C-bug,A-array

```rust
fn two_muts<T>(a: &mut [T], b: &mut [T]) {
    assert_ne!(a.as_ptr(), b.as_ptr());
}

fn main() {
    two_muts::<u8>(&mut [], &mut []);
}
```

I expected this code to compile and exit without effect; instead, I get an assertion error. It seems that, when passing in unique references to temporary empty slices, the underlying pointers nonetheless alias.

I expected all such pointers to never alias; this even holds when replacing `[T]` above with the ZST `[T; 0]`, which makes it significantly more worrying, since it does *not* hold for the same code using `()`.

I don't know if this behavior is *actually* specified, but I'd like an answer to whether this is a miscompilation or (un)documented implementation-defined behavior. At any rate, I wonder if it would be a good idea to make this behavior consistent for all ZST temporaries...

Also, I aught to mention that this is about ZSTs lying in *distinct allocations*. For a type such as `((), ())`, we expect the two unit values to have the same addresses. The closest mention of this I could find in the nomicon to this was the implementation of `Vec<()>`, but that's still regarding same-allocation references, so that didn't give me a particularly satisfying answer.

### Meta
This issue is reproducible on latest beta and nightly.

I could not find an issue corresponding to this bug; feel free to close as duplicate.
Repository: godot
Issue: GlobalTransform being called from nowhere on node not in tree.
Labels: bug,topic:dotnet

**Godot version:**
3.2.2


**OS/device including version:**
Windows 10; C#


**Issue description:**
When I debug and example project: I create 3 nodes unnatached to the scene tree. I then try to set a boolean on these nodes in a seperate thread, but this seems to break execution:

https://i.gyazo.com/3f1fb76572edbb55949417dcc77c057c.png
`E 0:00:04.826   get_global_transform: Condition "!is_inside_tree()" is true. Returned: Transform()
  <C++ Source>  scene/3d/spatial.cpp:268 @ get_global_transform()
  <Stack Trace> :0 @ void Godot.NativeCalls.godot_icall_0_19(IntPtr , IntPtr , Godot.Transform& )()
                Spatial.cs:314 @ Godot.Transform Godot.Spatial.GetGlobalTransform()()
                Spatial.cs:42 @ Godot.Transform Godot.Spatial.get_GlobalTransform()()
                NodeManagerTest.cs:28 @ void NodeManagerTest.<_Ready>b__2_0()()
                :0 @ void System.Threading.Tasks.Task.InnerInvoke()()
                :0 @ void System.Threading.Tasks.Task.Execute()()
                :0 @ void System.Threading.Tasks.Task.ExecutionContextCallback(System.Object )()
                :0 @ void System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , Boolean )()
                :0 @ void System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext , System.Threading.ContextCallback , System.Object , Boolean )()
                :0 @ void System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& )()
                :0 @ Boolean System.Threading.Tasks.Task.ExecuteEntry(Boolean )()
                :0 @ void System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()()
                :0 @ Boolean System.Threading.ThreadPoolWorkQueue.Dispatch()()
                :0 @ Boolean System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()()
`


**Steps to reproduce:**
Simply debug though the solution with a breakpoint. If you don't debug, the issue seems to occur silently.

**Minimal reproduction project:**
Example Project: https://github.com/SuperMeip/Godot-globallocation-issue