sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: would like a feature in image_picker video to set recording resolution and/or resize resulting video
Labels: c: new feature,p: image_picker,package,team-ecosystem,P3,triaged-ecosystem

I am using image_picker. The file size is too big for me: 5 seconds video become a 30 MB file size. Any way to resize that?
Repository: flutter
Issue: Keyboard closes if something rebuilds underneath it
Labels: a: text input,framework,f: material design,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-framework,triaged-framework


## Steps to Reproduce


1. ... Run the gist here https://gist.github.com/matejthetree/198c6c7463bd2a1a138b70f4b1175f48
Don't forget to add the plugin to the yaml.
`keyboard_visibility: 0.5.6 `
2. ... Press the textfield 
3. ... The keyboard will close automatically.

If you comment out line 63+ 
```
            _keyboardOn
                ? Container()
                : Text('keyboard is off'), //comment this line to make it work
```
Then, everything works.

How to go around this?




```
flutter doctor -v(base) stablos-MacBook-Pro:set_state_tf korijen$ flutter doctor -v
[✓] Flutter (Channel master, v1.10.3-pre.47, on Mac OS X 10.14.6 18G95, locale en-HR)
    • Flutter version 1.10.3-pre.47 at /Users/korijen/Work/SDKs/flutter
    • Framework revision 928245d07c (3 hours ago), 2019-09-16 06:14:41 -0400
    • Engine revision 224ab48f1b
    • Dart version 2.6.0 (build 2.6.0-dev.0.0 f8f0b845c2)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/korijen/Work/SDKs/android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • ANDROID_HOME = /Users/korijen/Work/SDKs/android
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 38.2.4
    • Dart plugin version 192.6262.58

[✓] IntelliJ IDEA Community Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 37.1.3
    • Dart plugin version 191.7830

[!] VS Code (version 1.37.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

```
Repository: flutter
Issue: CupertinoNavigationBar/CupertinoSliverNavigationBar previous route title replacement logic differs from native iOS
Labels: platform-ios,framework,a: fidelity,f: cupertino,f: routes,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-design,triaged-design

Currently, the back button title is replaced with "Back" only when the previous route title is longer than 12 characters, which doesn't seem to match the native iOS logic.

The attached screenshots demonstrate how native iOS navigation bar replaces the previous route title only when there's not enough room to fit the title.

A common parent route:
<img src="https://user-images.githubusercontent.com/5076429/64959902-ddd81580-d89a-11e9-9278-d295a30fa42e.PNG" width ="300"> 

Back button title is "Back" instead of "Keyboards" since there's not enough room to fit it:
<img src="https://user-images.githubusercontent.com/5076429/64959913-e3cdf680-d89a-11e9-9aea-9da4468c9362.PNG" width ="300"> 

Back button title is "Keyboards" since there's enough room to fit it:
<img src="https://user-images.githubusercontent.com/5076429/64959926-e7fa1400-d89a-11e9-9bd5-3b05e96910e3.jpg" width ="300"> 


Flutter version:
```
Flutter 1.9.1+hotfix.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2d2a1ffec9 (9 days ago) • 2019-09-06 18:39:49 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
```
Repository: pytorch
Issue: Inplace and out arguments for BatchNorm (and other norm layers: InstanceNorm / LayerNorm / GroupNorm ...)
Labels: module: performance,triaged,function request,module: norms and normalization

Following the discussion in https://github.com/pytorch/pytorch/issues/23756, a simple way to enable users implementing inplace-activated batchnorm:
1) provide inplace mode for BatchNorm and batch_norm
2) expose backward methods of BatchNorm so that the user can hook or provide their own recomputed input (actually the user can do their own affine transformation fused with activation, so even just(1) would do, given we can call backward of batchnorm explicitly in an autograd function)

Then the users can reuse the bulk of already existing code while implementing inplace-activated batchnorm, probably without having to write any C++.

When the inverse/flow operations are figured out, this input recomputation may be more broadly supported.

cc @VitalyFedyunin @ngimel
Repository: rust
Issue: Cargo build fails to spawn thread when out of disk quota
Labels: I-ICE,T-compiler,C-bug

I've written a small client program for connecting to a server using TCP/TLS. The code successfully compiles on my local machine, but fails to compile on a remote server. The compilation error only happens during the phase where the crates are compiled.

Crates:
bufstream v0.1
clap v2
openssl v0.10
openssl-sys v0.9

Compiler output: [gist](https://gist.github.com/donnellycolton/ed18a989f275f6fed5e8739779635c8d)

Local machine:
Distro: Manjaro 18.1.0 Juhraya
CPU: x86_64 x4 cores
rustc 1.37.0 (eae3437df 2019-08-13)
binary: rustc
commit-hash: eae3437dfe991621e8afdc82734f4a172d7ddf9b
commit-date: 2019-08-13
host: x86_64-unknown-linux-gnu
release: 1.37.0
LLVM version: 8.0

Server:
Distro: CentOS 7 Core
CPU: x86_64 x48 cores
rustc 1.36.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.36.0
LLVM version: 7.0
Repository: flutter
Issue: Horizontal Stepper Overflows Title (with no way to allow for scrolling)
Labels: framework,f: material design,customer: crowd,has reproducible steps,P2,found in release: 3.3,has partial patch,found in release: 3.7,team-design,triaged-design

## Steps to Reproduce

1. Create a stepper with 5+ steps with any title such as "Step Title"
2. Make its direction horizontal
3. The Stepper widget puts step icons into a row until it overflows the screen, with no way to make it scroll

```
Stepper(
            type: StepperType.horizontal,
            currentStep: currentStep,
            steps: <Step>[
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 0),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 1),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 2),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 3),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 4),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 5),
              Step(
                  content: Text('content'),
                  title: Text('title'),
                  isActive: currentStep == 6),
            ],
          )
```

Wrapping the stepper with a horizontal `SingleChildScrollView` does not fix the issue.

`Stepper._buildHorizontal`

```
        Material(
          elevation: 2.0,
          child: Container(
            margin: const EdgeInsets.symmetric(horizontal: 24.0),
            child: Row(
              children: children,
            ),
          ),
        ),
```

As you can see from the source code which builds the title row with steps and titles, there is no capability to scroll over overflow gracefully at all. If the `children` of the `row` don't fit on the screen, it will overflow.
Repository: tensorflow
Issue: Bazel workspace.bzl requires a dependency on rules_closure
Labels: stat:awaiting tensorflower,type:build/install,subtype:bazel

Per https://stackoverflow.com/questions/52482972/running-load-within-skylark-macro
users of Tensorflow are adding rules_closure to their `WORKSPACE` file even though they don't use it.

rules_closure is minimally maintained (my team has just acquired it). We don't want new dependencies on it and have discovered that most dependencies are due to this issue.

I suspect the Tensorflow users don't actually want to build a Closure Compiler-minified UI, so any `load()` statement from rules_closure doesn't belong in the tensorflow bazel rules distribution.

Note, #15997 suggests customizing the dependencies, but in this issue I propose that users should never observe this dependency at all.
Repository: vscode
Issue: Reference / schema loading problem behind kerberos authenticated proxy
Labels: feature-request,proxy

Hello,

I have problem loadind JSON references / schemas behind corporate kerberos authenticated proxy.

VS Code reports:

Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/tsconfig.json'
Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/tsconfig.json'

or

Unable to load schema from 'http://json.schemastore.org/tslint'


Followed by the HTML error message returned by the proxy server itself: Authentication required

The rest of features of VSC are working fine (extension/market place browsing) so I think that some specific method is used to load references from the web and the Chromium proxy settings are not used.

Please note there is not fallback to NTLM or Basic authentication allowed on the proxy server, just kerberos.

Version: 1.38.1 (system/user),
I notice the problem is there at least since 1.26.

I didn't find any other related issue and I think this one is not covered by #79044 or by #74991.
Repository: rust
Issue: Needed: `cfg(target_feature)` support for hardware floating point detection.
Labels: T-lang,C-feature-request

Currently there seems to be no way to detect at compile time if the target will have hardware floating point support.

Depending on the target arch, this is sometimes expressed in LLVM as a feature named "hard-float", or as a feature named "soft-float", or even as features named "f" and "d". It's entirely possible for there to be hardware `f32` support but not `f64` support on some platforms. LLVM has (or should have) all of this info already, based on the target profile. We just don't expose it in Rust.

For the record, this is initially needed for libm/compiler-builtins to advance the issue of moving `sqrt` and other float support into `core`, so if this is added as some sort of Nightly-only and perma-unstable ability then that's probably fine since those crates are always built with Nightly and then shipped with the compiler.

It feels like this could be a simple PR thing by someone who knows about that part of the cargo/LLVM/rustc interaction, but more likely this is some sort of RFC level change. However, it's also possible that I'm totally wrong and that there is already an arcane way to check for floating point support configuration already, so I'm starting with an issue to try and get some visibility for the problem.
Repository: rust
Issue: LLVM error with arithemetic on function addresses
Labels: A-LLVM,T-compiler,O-wasm

Hello! I was doing some experimenting with Wasm callbacks and ran into 2 issues.

The code for the guest is compiled with Rust `1.37.0` on OSX with `--target=wasm32-unknown-unknown` and `--release`.

edit: the first issue is no longer relevant; I misunderstood how function pointers were implemented.  By using the table to look up these values, I got it working!

### The second issue

While investigating this, I also found that the invalid solution of relying on the guest to offset correctly:

```Rust
fn main() {
    // offset by 3 because we have 3 imports!
    unsafe { call_guest_fn(test_callback as usize as u32 + 3) };
}
````

causes an LLVM error:

```
 cargo build --release --target=wasm32-unknown-unknown
   Compiling guest v0.1.0 (/Users/mark/Documents/temp/guest)
LLVM ERROR: Function addresses with offsets not supported
error: Could not compile `guest`.

To learn more, run the command again with --verbose.
```


Let me know if I can clarify or help out with this!
Repository: rust
Issue: Weird compiler error for type annotations
Labels: A-diagnostics,T-compiler,C-bug

```rust
use std::thread;

fn main() {
    let result = {
        let spawned_result = thread::spawn(|| 3).join();
        let result = spawned_result.map_err(|e| e.into());
        let handler = |a| Ok(a + 1);
        result.and_then(handler)
    };

    println!("{:?}", result);
}
```

([Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fd15bd5e992bbd13c2f7cbda39c1f312))

Error will be
```
error[E0282]: type annotations needed for `std::result::Result<i32, E>`
 --> src/main.rs:6:37
  |
4 |     let result = {
  |         ------ consider giving `result` the explicit type `std::result::Result<i32, E>`, where the type parameter `F` is specified
5 |         let spawned_result = thread::spawn(|| 3).join();
6 |         let result = spawned_result.map_err(|e| e.into());
  |                                     ^^^^^^^ cannot infer type for `F`
```

Which is a little bit confusing because there's no type parameter `F` in `std::result::Result<i32, E>`.

On the other hand, if we place `let handler = |a| Ok(a + 1);` before `let result = spawned_result.map_err(|e| e.into());`, we will receive correct message: 
```
error[E0282]: type annotations needed for `std::result::Result<i32, E>`
 --> src/main.rs:6:27
  |
4 |     let result = {
  |         ------ consider giving `result` the explicit type `std::result::Result<i32, E>`, where the type parameter `E` is specified
5 |         let spawned_result = thread::spawn(|| 3).join();
6 |         let handler = |a| Ok(a + 1);
  |                           ^^ cannot infer type for `E`
```
Repository: TypeScript
Issue: Recurring: Review exception text for potential PII
Labels: Meta-Issue

 * [ ] `throw` statements
 * [ ] `Debug._____` calls
 * [ ] Any helper method containing these that accepts arguments
  * (list them as you find them)
Repository: flutter
Issue: Please add .codeStyle for project https://github.com/flutter/packages
Labels: team,package,team-ecosystem,P3,triaged-ecosystem

Dart(Flutter) code autoformatting works well, but Kotlin / Java not. Could you add .codeStyle files to plugins repo? Thank you
Repository: vscode
Issue: Enter in the middle of a line comment should create a new line comment
Labels: feature-request,editor-commands


Issue Type: <b>Bug</b>

I'm using JavaScript but this is likely not language-specific:

1. Start typing a comment
`    // something like, if ( true ) `
2. Type an opening brace 
`    // something like, if ( true ) {`
3. Editor will insert a closing brace, cursor will be between braces
`    // something like, if ( true ) {|}`
4. Hit Enter / Return

**Expected:**
   Newline will automatically be in a commented-out line
```
    // something like, if ( true ) {
    // }
```
**Actual:**
   The comment is treated like code and an extra newline is inserted, introducing a hanging end-brace:
```
   // something like, if ( true ) {
       
   }      
```

VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:47:00.464Z)
OS version: Darwin x64 17.7.0

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)|
|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>native_gpu_memory_buffers: enabled<br>oop_rasterization: disabled_off<br>protected_video_decode: unavailable_off<br>rasterization: enabled<br>skia_deferred_display_list: disabled_off<br>skia_renderer: disabled_off<br>surface_synchronization: enabled_on<br>video_decode: enabled<br>viz_display_compositor: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|16.00GB (3.65GB free)|
|Process Argv|-psn_0_3810210|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (8)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-css-formatter|aes|1.0.1
xml|Dot|2.5.0
mssql|ms-|1.6.0
debugger-for-chrome|msj|4.11.7
vscode-code-outline|pat|0.2.1
java|red|0.48.0
vscodeintellicode|Vis|1.1.9
vscode-java-debug|vsc|0.21.0


</details>
<!-- generated by issue reporter -->
Repository: flutter
Issue: Write tests for FlutterFragmentActivity 
Labels: a: tests,team,platform-android,engine,P2,team-android,triaged-android

`FlutterFragmentActivity` has been introduced into Flutter's Android embedding. However, due to infrastructure limitations at the time, we couldn't figure out how to test it. We received ambiguous build failures that we were unable to solve in the test suites.

This ticket is to come back and write the appropriate tests once the testing infra allows for it.
Repository: TypeScript
Issue: Detect exotic assignment patterns to JS prototypes
Labels: Suggestion,Awaiting More Feedback

*Template added by by @mjbvz*

**TS Versions**: 3.7-20190911

**Repo**
For the JS:
```js
function A() {}

A.prototype.foo = 1;

[A.prototype.bar] = [2],
{baz: A.prototype.baz} = {baz: 3};

const proto = A.prototype;
proto.prop = 4;
```

**Expected**
Intellisense for instances of `A` should show four properties 

**Actual**
Only `foo` shown.


*Original report below*
---

Intellisense seems to only recognize straightforward prototype property definitions like `Class.prototype.prop = value`.

Assigning `Class.prototype` to a variable and extending that, or using destructuring syntax will not be recognized by it:

![](https://i.imgur.com/e33o9PQ.png)
Repository: TypeScript
Issue: jsdoc mouse hover definition {Array.<static class>} bug
Labels: Suggestion,Experience Enhancement

**TypeScript Version**: TS-next-3.7.0-2019.09.11

---

hi, if we add a definition `jsdoc` with static class array like this 
`/**@type {Array.<_A._B>} */`
Mouse hover show `any`. And am not seem able to get link from vscode.
So i can't use `ctrl+click` to get definitions and travel in my codes.

I don't know if is a bug related to vscode engine or a mistake from my side?
Try this code and hover `{Array.<_A._B>}`
```js
class _A {
    constructor() {
        /**@type {Array.<_A._B>} */
        this.test = null;
        //test intelisence
        this.test[0].TESTT
    };

    static _B = (function() {
        return class _B {
            constructor() {
                this.TESTT = true;
                
             };
        };
    })();

    static _C = class _C {
            constructor() {
                this.TESTT = true;
                
             };
        };

};
```

![bug jsdoc](https://user-images.githubusercontent.com/24865815/64976846-44036f00-d880-11e9-8784-5469f837a3b7.gif)

from suggest, it can also maybe related here.
https://github.com/microsoft/vscode/issues/17912

thanks in advance
Repository: terminal
Issue: Windows Terminal (Dev Build) should display version as git commit instead of "0.1.0.0" 
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

<!--
This bug tracker is monitored by Windows Terminal development team and other technical folks.

**Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**.
Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue.

If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible.

-->

# Environment

```none
Windows build number:Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0 
Windows Terminal version (if applicable):

Any other software?
```

# Steps to reproduce
Build from cloned git tree.
  git clone https://github.com/microsoft/Terminal.git 
Build x64 release (or debug)
Deploy solution.
Click the menu down arrow
choose "About"

<!-- A description of how to trigger this bug. -->

# Expected behavior
Version is reported as at least  0.4
Since that is was is referenced in https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-4-release/

<!-- A description of what you're expecting, possibly containing screenshots or reference material. -->

# Actual behavior
About box displays
Windows Terminal (Dev Build)
Version: 0.0.1.0

<!-- What's actually happening? -->

# Additional Info
Other git repositories auto update release info to include git commit ID in the about box if built from a clone of the repository.  In addition to keeping the version reported in git clone builds up to date with what you have in the Microsoft store you might consider putting the git commit string in the version string and stripped out on release.