sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: react-native
Issue: React Native ScrollView Empty Space (flexGrow behaviour)
Labels: Issue: Author Provided Repro,Component: ScrollView,Newer Patch Available

### Description

Please refer to attached images for context.

The issue is that the `ScrollView` component has added extra spacing at the bottom which is coloured red; this should not be there. The expected behaviour is that the green area is directly below the `ScrollView` content (blue); the red should never exist.

The blue area is **not scollable** when there is enough room and should become **scrollable** when there's **not enough** room. 

Images 2 and 3 are the expected behaviour.

### Steps to reproduce

1. Run the attached expo snack and run on an Android device 
2. See how there is red, this should not be there and the green should be directly below the blue
3. Change `Array(5)` to something larger like 15; blue expands until green has hit the bottom. Blue now becomes scrollable; this is expected.
4. The `ScrollView` has the style red to illustrate that the `ScrollView` is filling the space regardless of it's content.`

### React Native Version

0.72.4

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
  OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
  CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
  Memory: 33.04 GB / 62.00 GB
  Shell:
    version: 5.0.17
    path: /bin/bash
Binaries:
  Node:
    version: 21.4.0
    path: /home/linuxbrew/.linuxbrew/bin/node
  Yarn:
    version: 1.22.19
    path: ~/.nvm/versions/node/v18.14.0/bin/yarn
  npm:
    version: 10.2.4
    path: /home/linuxbrew/.linuxbrew/bin/npm
  Watchman:
    version: 20230430.125247.0
    path: /usr/local/bin/watchman
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 11.0.21
    path: /usr/bin/javac
  Ruby:
    version: 2.7.0
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.10
    wanted: 0.72.10
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: false
  newArchEnabled: Not found
```


### Stacktrace or Logs

```text
NA.
```


### Reproducer

https://snack.expo.dev/@c-gibson-emesent/honest-red-scones

### Screenshots and Videos

Image 1: Current behaviour when ScrollView is not scrollable
![image1](https://github.com/facebook/react-native/assets/123144225/1b828bbf-70f8-493a-9d98-436ac5bf8fa3)

Image 2: Expected look / behaviour when the ScrollView is not scrollable
![image2](https://github.com/facebook/react-native/assets/123144225/3645b0f5-8974-4dcd-977a-8eb709d93579)

Image 3: How it should look when the items expand the ScrollView until there's no more room and the ScrollView becomes scrollable
![image3](https://github.com/facebook/react-native/assets/123144225/5affe843-bc50-47a7-9c3e-c54eaac08446)
Repository: flutter
Issue: [RFW] Support CRLF line endings
Labels: c: new feature,package,c: proposal,team-ecosystem,P3,p: rfw,triaged-ecosystem

### Use case

Ideally RFW text would support `CRLF` line endings for Windows users.

### Proposal

Proposed BNF for whitespace:

```bnf
WS ::= ( <U+0020> | <U+000A> | <U+000D> | "//" comment* <U+000A or EOF> | "/*" blockcomment "*/" )
```

The comment BNF should work as-is without changes.
Repository: flutter
Issue: `TextField.minLines` documentation is unclear about its `maxLines` interaction
Labels: a: text input,f: material design,d: api docs,P2,team-design,triaged-design

Link to the documentation: https://main-api.flutter.dev/flutter/material/TextField/minLines.html

> If this is null (default), text container starts with enough vertical space for one line and grows to accommodate additional lines as they are entered.

This doesn't seem to be true. When `maxLines` is set to a non-null value, `minLine` is effectively set to the same value as `maxLines`. It seems the real meaning of `null` here is to defer to the `maxLines` parameter (which makes the default a bit strange, shouldn't the two parameters be orthogonal?).

This is hinted in the `maxLines` documentation: https://main-api.flutter.dev/flutter/material/TextField/maxLines.html

> The input's height is large enough for the given number of lines. If additional lines are entered the input scrolls vertically.
> `const TextField(maxLines: 2)`

but I wasn't able to find anything that directly spells out that interaction when `minLines` is null but `maxLines` is non-null.
Repository: flutter
Issue: Area for Improvement: Simplify writing UI tests by recording device interactions
Labels: a: tests,framework,c: proposal,P3,team-framework,triaged-framework

Another unique capability provided by XCode is the ability to easily record device interactions for writing UI tests. This feature takes much of the guesswork out of writing code that’s used to navigate through an application’s UI, making it easier for developers to write UI tests. 

To implement this functionality for Flutter will require work spanning multiple projects. First, the Flutter framework would need to be modified to provide a set of VM service extensions to:

- Enable and disable UI interaction recording
- Report recorded interactions

IDE plugins would also need to be updated to provide UI to start / stop recording and would likely be responsible for requesting the recorded interactions from the Flutter framework’s VM service extension.

Once the IDE plugin has the recorded interactions, they need to be converted to actual Flutter tester code which is then injected into the source code within the test at the developer’s cursor location. It may make sense for this functionality to be, at least in part, provided by the analysis server, which will require functionality that will be provided by the Dart Tooling Daemon (DTD).

There may also be changes that need to be made in package:test to support this functionality, but that’s unclear without more detailed design work.
Repository: flutter
Issue: Area for Improvement: Add support for interaction events to Flutter widgets
Labels: c: new feature,framework,c: performance,c: proposal,P2,team-framework,triaged-framework

The DevTools Performance screen provides powerful timeline based tooling that gives developers insight into where time is being spent in their application and possible causes of UI jank. However, without manual instrumentation of callbacks in interactive widgets (e.g., buttons), tracking the impact of user interactions on application performance in a busy timeline can be tricky.

Both Android Studio and Instruments work around this in their timeline based tooling by creating dedicated tracks which display user interaction events. These events act as reference points that developers can use to identify the impact of their interactions on frame rendering and overall application performance. Adding similar support for interaction events in the DevTools Performance screen would be a simple usability improvement for an already strong performance analysis tool.

The easiest way to add this support would be to instrument the call sites of the callbacks for interactive widgets in the framework to create instant timeline events with a custom “interaction_event” argument. This custom argument could be used by DevTools to identify interaction events and display them in a dedicated timeline track in the Perfetto viewer (if possible) or in a custom UI element underneath the frame analysis chart. The main downside of this approach is that all new interactive widgets added to the framework would need to be manually instrumented, creating the possibility that some interaction events may not be created.

A potentially more complicated but also more general approach would involve creating interaction events in the gesture detection logic. This would have the upside of only requiring interaction event instrumentation to be added in a limited set of locations, removing the risk of forgetting to instrument new interactive widgets in the future. This approach would also provide more general details about the interaction (e.g., tap vs tap release vs swipe), which may be more or less useful than reporting the type of widget that was being interacted with.
Repository: material-ui
Issue: [types] Make OverridableComponentAugmentation default
Labels: breaking change,typescript,v6.x

### Steps to reproduce

https://github.com/mui/material-ui/issues/19113#issuecomment-1231300823

**Search keywords**: OverridableComponentAugmentation
Repository: PowerToys
Issue: [Dashboard] Sort modules by usage frequency
Labels: Idea-Enhancement,Product-Settings,Needs-Triage

### Description of the new feature / enhancement

期望在仪表板上的模块，可以按照使用频率来排序

### Scenario when this would be used?

这样可以更好的提示用户自己，哪些模块开了就没怎么使用，然后就可以关闭这些看似有用但是却基本不使用的模块，以节约计算机资源

### Supporting information

_No response_
Repository: flutter
Issue: TapRegion is very expensive
Labels: framework,c: performance,f: gestures,perf: speed,perf: energy,P2,team-framework,triaged-framework

TapRegion does a tree walk looking for a TapRegionRegistry every time the TapRegion widget is built. It should use the InheritedWidget mechanism instead so that the widget lookup is O(1) instead of O(N). (This might also fix the bug whereby if the TapRegionRegistry changes, right now I don't think there's any guarantee the TapRegion would find out?)
Repository: ollama
Issue: Add  phixtral
Labels: model request

Currently the best 2B model

https://huggingface.co/shadowml/phixtral-4x2_8odd
Repository: vscode
Issue: API: allow to pass in a suggested file name to `saveAs` method
Labels: feature-request,api,file-io

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

Hi, would it be possible to extend `workbench.action.files.save` in a way that it can also accept a filename suggestion when being called from e.g. an extension?
See https://github.com/VSCodeVim/Vim/issues/8884#issuecomment-1956632736 for an example use case.

The provided filename should be used instead of the current tab title as the prefilled suggested filename to save the file as.
And when either an absolut or (a resolvable) relative path is provided it should be used as the suggested save location within the save as dialog that is shown to the user.
Repository: deno
Issue: Tracking issue for `tests/` cleanup
Labels: tests,chore

 - [ ] Split the `test_util` into the actual test utils and `test_server`, trim the deps on both of them to the minimum necessary
 - [ ] Write docs in the tests/ directory describing each of the types of integration tests and how to run them
 - [x] Move `tools/node_compat` -> `tests/node_compat/runner`
 - [x] Move `tools/wpt` -> `tests/wpt/runner`
 - [ ] Spawn the HTTP server from `test_server` at startup for the integration tests rather than using the httpguard

@iuioiua
Repository: TypeScript
Issue: Expose tracing module to public API
Labels: Suggestion,In Discussion,API

### 🔍 Search Terms

tracing API

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

Expose https://github.com/microsoft/TypeScript/blob/main/src/compiler/tracing.ts#L368  so that people using the compilerAPI can use the equivalent of --generateTrace to profile where typescript is spending it's time.

I wanted to see if this is something the Typescript team is interested in supporting. Happy to try and submit the PR myself if amenable to this.

### 📃 Motivating Example

When using the compiler API, we can't use the equivalent of --generateTrace to get in-depth information about where typescript is spending it's time

### 💻 Use Cases

1. What do you want to use this for?
Using the compiler API programmatically with a custom CompilerHost that's trying to cache SourcefFiles between invocations (i.e. confirming some work I've been doing around https://github.com/microsoft/TypeScript/issues/57073)
2. What shortcomings exist with current approaches?
Typescript already has an internal mechanism to collect these performance metrics and it would be great if programmatic access to this was allowed. In general it'd be great if we could do the equivalent of executeCommandLine with custom CompilerHost (including all the command line only options)
4. What workarounds are you using in the meantime?
I can locally edit typescript to expose these functions
Repository: pytorch
Issue: Dynamo doesn't generate resume calls after graph breaking on log calls
Labels: triaged,oncall: pt2,module: dynamo,dynamo-must-fix,dynamo-triage-june2024

### 🐛 Describe the bug

After introducing a log call, dynamo abandons compiling the remainder of the function. 

repro:
https://gist.github.com/mlazos/e617562c74237d08dd5101ca921eb676

output bytecode:
https://gist.github.com/mlazos/b3d738f65737bb5aa4d61ec3151b024c

Found this while debugging shampoo

### Versions

nightly e7eab2f07ee4f28f1bc3bf643d245a3ca08b48a8

cc @ezyang @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @msaroufim @bdhirsh @zou3519 @aakhundov
Repository: pytorch
Issue: Stochastic rounding in bfloat16
Labels: feature,triaged,needs research,module: bfloat16

### 🚀 The feature, motivation and pitch

Consider implementing BFloat16 addition/subtraction operations with stochastic rounding, as it is critical for training large models with the BFloat16 optimizer.

Stochastic rounding will recover most of the performance of mixed precision training while saving the memory requirements of the fp32 partition.

References:

[Revisiting BFloat16 Training](https://arxiv.org/pdf/2010.06192.pdf)
[Gopher (App. C)](https://storage.googleapis.com/deepmind-media/research/language-research/Training%20Gopher.pdf)

### Alternatives

_No response_

### Additional context

One possible efficient implementation is as follows (from "Revisiting BFloat16 Training" Appendix B.1)

1) generating random bit sequences with a shift register
2) adding random sequence to the lower mantissa bits
3) truncating
Repository: tensorflow
Issue: Pallas like kernel language for TensorFlow
Labels: type:feature,comp:core,TF 2.15

### Issue type

Feature Request

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

tf 2.15

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

JAX provided [Pallas](https://jax.readthedocs.io/en/latest/pallas/tpu.html) to write TPU and GPU kernel. It would be great if TensorFlow had a similar feature.
Repository: PowerToys
Issue: Saving snapped window layouts
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

Save open snapped windows layout so you can easily reopen them. For example if I had Edge and Word snapped side by side, if I restart my computer I could click a button and it would open those two programs and snap them how I had them in my previous session. This would also be amazing for programming, as I often have multiple windows open and snapped in a certain way.
Perhaps the menu of saved layouts would be opened by a quick keyboard shortcut then I just click the one I want to open with the mouse.

### Scenario when this would be used?

It would be used to speed up opening what I want to use without having to snap the windows each time, simply saving some time when I want to get work done.

### Supporting information

_No response_
Repository: go
Issue: net/http: TestH12_FlushMidBody failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "net/http" && test == "TestH12_FlushMidBody"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/75f367069d7968983fed7377348aed05909b089f)):

    panic: test timed out after 3m0s
    running tests:
    	TestH12_FlushMidBody (2m58s)
    
    net/http.(*Transport).getConn(0xcc468b68, 0xcc3576a0, {{}, 0x0, {0xcc0be4c8, 0x4}, {0xcc0146b0, 0xf}, 0x0})
    	/workdir/go/src/net/http/transport.go:1406 +0x582
    net/http.(*Transport).roundTrip(0xcc468b68, 0xcc3474a8)
    	/workdir/go/src/net/http/transport.go:595 +0x830
    net/http.(*Transport).RoundTrip(0xcc468b68, 0xcc3474a8)
    	/workdir/go/src/net/http/roundtrip.go:17 +0x2a
    net/http.send(0xcc3474a8, {0xecf4d150, 0xcc468b68}, {0x0, 0x0, 0x0})
    	/workdir/go/src/net/http/client.go:259 +0x63c
    net/http.(*Client).send(0xcc357420, 0xcc3474a8, {0x0, 0x0, 0x0})
    	/workdir/go/src/net/http/client.go:180 +0x8e
    net/http.(*Client).do(0xcc357420, 0xcc3474a8)
    	/workdir/go/src/net/http/client.go:724 +0x956
    net/http.(*Client).Do(...)
    	/workdir/go/src/net/http/client.go:590
    net/http.(*Client).Get(0xcc357420, {0xcc0be4c8, 0x16})
    	/workdir/go/src/net/http/client.go:487 +0xb5
    net/http_test.h12Compare.run({0xecf4ac9c, 0x0, 0x0, 0x0, {0x0, 0x0, 0x0}}, 0xcc193c08)
    	/workdir/go/src/net/http/clientserver_test.go:311 +0x211
    net/http_test.TestH12_FlushMidBody(0xcc193c08)
    	/workdir/go/src/net/http/clientserver_test.go:458 +0x3b
    testing.tRunner(0xcc193c08, 0xecf4a490)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Please provide a dependency manifest to resolve conflicts among various plugin dependencies.
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

After adding approximately 33 plugins, dependency conflicts have arisen, and I haven't found a way to individually isolate the installation of dependencies for each plugin. If practical, it would be advisable for the webui library to furnish a comprehensive dependency manifest, and on the webui's introduction page, appeal to plugin developers to jointly uphold this dependency list. Dependency conflicts may arise from dependencies inherent in the dependencies themselves, which might necessitate that plugin creators not only specify their direct dependencies but also provide the dependencies relied upon by these very dependencies.

### Proposed workflow

None

### Additional information

_No response_
Repository: rust
Issue: HRTB and GAT problem
Labels: T-compiler,C-bug,S-has-mcve,T-types,A-GATs,A-higher-ranked

<!--
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 ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=87d7b3bc80682ba9ec23ca75f8acdc18)):

```rust
use std::ops::Not;

trait Type {
    type Native<'a>
    where
        Self: 'a;
}

fn not<T: Type>(val: T::Native<'_>) -> T::Native<'_>
where
    for<'a> T::Native<'a>: Not<Output = T::Native<'a>>,
{
    !val
}

fn main() {}
```

I expected to see this happen: *should compile fine*

Instead, this happened: *error*

### 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.78.0-nightly (3406ada96 2024-02-21)
binary: rustc
commit-hash: 3406ada96f8e16e49e947a91db3eba0db45245fa
commit-date: 2024-02-21
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
  --> src/main.rs:11:32
   |
11 |     for<'a> T::Native<'a>: Not<Output = T::Native<'a>>,
   |                                ^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0582`.
```

</p>
</details>
Repository: next.js
Issue: Accessing `request.geo` or `request.ip` does not trigger automatic dynamic generation
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/restless-pond-wc9ks9?file=%2Fpackage.json%3A8%2C20

### To Reproduce

1. open the reproduction
2. run `next build`
3. observe the logs

### Current vs. Expected behavior

Currently it shows `/api` as being statically-generated. I would expect that accessing `request.geo` would enable dynamic rendering.

This is because `geo` and `ip` are not included in the list of properties here: https://github.com/vercel/next.js/blob/canary/packages/next/src/server/future/route-modules/app-route/module.ts#L666

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103
  Available memory (MB): 8192
  Available CPU cores: 8
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.15.1
Relevant Packages:
  next: 14.1.1-canary.69 // Latest available version is detected (14.1.1-canary.69).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router

### Which stage(s) are affected? (Select all that apply)

next build (local)

### Additional context

Reproduced in 13.2.0 (the earliest version in which the demo will build)
Repository: ollama
Issue: Is it possible to add Orion model into downloadable model list
Labels: model request

After create Orion14B-chat model, is it possible to upload to ollama project? 
And let other users could choose and download/run it locally?
Looking forward to reply, thanks.