sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Create flag for turning off the dart profiler
Labels: tool,P3,team-tool,triaged-tool

In https://github.com/dart-lang/sdk/issues/49119 it was found that the dart profiler can aggravate the paging in of code in the VM which can cause the wall time spent in symbols to inflate to 2x.  For profile builds this can skew benchmarks that rely on wall time.  We should add a flag to flutter tool that allows us to launch the process without the dart profiler running.

In practice I think benchmarks usually repeat tests, like `//dev/benchmarks/microbenchmarks/lib/stocks/build_bench.dart`, so that the increased cost of the first run would get averaged out.  I'm not sure there is a need for this flag beyond manually profiling apps.  It's particularly acute when using DevTools and looking at the Timeline events since the CPU time for symbols isn't visible there.

Related issue: https://github.com/flutter/flutter/issues/104656

cc @kenzieschmoll @dnfield
Repository: vscode
Issue: Clone Repository explorer welcome view entry not localized in empty Remote-SSH window 
Labels: bug,l10n-platform

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.68-insider
- OS Version: Windows 11

Steps to Reproduce:

1. Open an empty local window
2. Install Chinese language pack and set display language to Chinese, restart
3. Clone Repository entry in explorer is localized
4. Now open an empty Remote-SSH window
5. Install Chinese language pack on the remote too :shrug:
6. :bug: Clone Repository entry in explorer is _not_ localized
Repository: pytorch
Issue: Debug job does not build in debug mode
Labels: module: ci,triaged

example job: https://github.com/pytorch/pytorch/runs/6689824615?check_suite_focus=true

Searching DCMAKE_BUILD_TYPE, you find `Release` instead of the expected `Debug`

cc @seemethere @malfet @pytorch/pytorch-dev-infra
Repository: pytorch
Issue: torch.distributed.init_process_group(backend="nccl") NCCL version error
Labels: oncall: distributed

### 🐛 Describe the bug

Initializing torch distributed with NCCL backend:
```
import torch
torch.distributed.init_process_group(backend="nccl")
```

Leads to the error of:
```
Traceback (most recent call last):
  File "main_task_caption.py", line 24, in <module>
    torch.distributed.init_process_group(backend="nccl")
  File "/shared/nas/data/users/yifung2/envs/py_univl/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 455, in init_process_group
    barrier()
  File "/shared/nas/data/users/yifung2/envs/py_univl/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 1960, in barrier
    work = _default_pg.barrier()
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1607370120218/work/torch/lib/c10d/ProcessGroupNCCL.cpp:748, internal error, NCCL version 2.7.8
```

How should I handle such an issue? Pointers greatly appreciated

### Versions

python=3.6.9 
conda install pytorch==1.11.0 cudatoolkit=11.0 -c pytorch
NCCL version 2.7.8
NVIDIA-SMI 470.103.01   Driver Version: 470.103.01   CUDA Version: 11.0  (v11.0.221)

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501
Repository: pytorch
Issue: Allow batch_norm_backward_elemt and batch_norm_gather_stats_with_counts handle 0 counts
Labels: triaged,enhancement,module: norms and normalization

### 🚀 The feature, motivation and pitch

#36530 requested empty batch support for SyncBatchNorm, which is later added in #74944. However, the fix in #74944 broke CUDA graph capturing as the new code introduced sync on CPU. See #78549.

For v1.12, the temporary fix is to guard the sync in new code with [is_current_stream_capturing](https://pytorch.org/docs/master/generated/torch.cuda.is_current_stream_capturing.html?highlight=is_current_stream_capturing#torch.cuda.is_current_stream_capturing). A better long-term fix would be updating the CUDA kernels for `batch_norm_backward_elemt` and `batch_norm_gather_stats_with_counts` to support zero counts, so that empty batch can work with CUDA graph capturing as well.
Repository: material-ui
Issue: [Menu] Does not add margin if the first item is a `Divider`
Labels: waiting for 👍,component: menu

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

see https://codesandbox.io/s/iconmenu-demo-material-ui-forked-i2xk9i for a code example.

Today, by an error of a CSS selector (in my opinion), a `Divider` will not get correct margin-bottom (and thus be very close to the first `MenuItem`).

This bug has two causes based on the selector (https://github.com/mui/material-ui/blob/master/packages/mui-material/src/MenuItem/MenuItem.js#L115) used:
1. the style is appended to `MenuItem` not `Menu`
1. the style uses the `+` CSS selector which means it will only select dividers placed _immediately after_ menu items.  in the case of a divider being first, though, this will never match.

### Expected behavior 🤔

| BEFORE | AFTER |
| - | - |
| ![Screenshot_20220601_153611](https://user-images.githubusercontent.com/15232461/171487409-b95554e1-2b3f-4b0b-8ec6-019df2c4152b.png) | ![Screenshot_20220601_153542](https://user-images.githubusercontent.com/15232461/171487348-88caf6ce-4b31-4a4a-9f71-f0305b0bc679.png) |

There should be a margin bottom for the first item if it is a Divider.

### Steps to reproduce 🕹

Steps:

1. Create a `Menu` and add a `Divider` before any `MenuItem`.

### Context 🔦

Consider the case of a UI that has divided menu items like this from Insomnia:
<img width="50%" src="https://user-images.githubusercontent.com/15232461/171487695-b59dbdf3-7cb6-4cdc-a927-59cd9afc6d8b.png" />

In this kind of UI, it's very common to have a divider beginning a menu item list.



### Your environment 🌎

The docs.  See link above.
Repository: rust
Issue: rustdoc: Mechanism to show trait impls inline when relevant to very few methods
Labels: T-rustdoc,C-enhancement,A-rustdoc-ui

There are some trait impls, such as `FloatToInt`, which are only relevant for one or very few methods (in this case `to_int_unchecked`). It'd be nice if we could give rustdoc a hint telling it to inline the relevant trait impls (the list of supported integer types) directly in the method documentation.
Repository: godot
Issue: [Bullet] KinemeticBody still jitters against gridmap seams with 3.5 RC2 using Bullet
Labels: bug,confirmed,topic:physics

### Godot version

3.5 RC2

### System information

Windows 7 64-bit

### Issue description

If gravity is applied to a KB while traversing gridmap seams, the body will jitter. It was meant to be fixed with https://github.com/godotengine/godot/issues/35780 in 3.5 RC2 but it still persists. Another example of the problem: https://github.com/godotengine/godot/issues/35780

Here's how it looks using bullet:

https://user-images.githubusercontent.com/16231628/171505218-30bf268d-532b-4d16-a035-0078bd7d603c.mp4

And here it correctly works using GP:

https://user-images.githubusercontent.com/16231628/171505401-e9682f43-c6c2-4b08-852d-935df456c492.mp4




### Steps to reproduce

- Add a KinemeticBody with gravity in the `move_and_slide` velocity
- Set physics to bullet
- Watch jitters on seams

### Minimal reproduction project

[jittertest.zip](https://github.com/godotengine/godot/files/8818910/jittertest.zip)
Repository: create-react-app
Issue: `eslint-config-react-app` should provide `@babel/plugin-syntax-flow` and `@babel/plugin-transform-react-jsx`
Labels: needs triage,issue: bug report

### Describe the bug

Installing `eslint-config-react-app` results in these two warnings:

```
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [41989] doesn't provide @babel/plugin-syntax-flow (pc2f30), requested by eslint-plugin-flowtype
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [41989] doesn't provide @babel/plugin-transform-react-jsx (p4cc0d), requested by eslint-plugin-flowtype
```

### Environment

Yarn 3

### Steps to reproduce

1. `yarn install`

### Expected behavior

`eslint-config-react-app` should correctly depend on `@babel/plugin-syntax-flow` and `@babel/plugin-transform-react-jsx`

### Actual behavior

Warning

---

The fix for this is either too add `@babel/plugin-syntax-flow` and `@babel/plugin-transform-react-jsx` to the `dependencies` of `eslint-config-react-app`'s `package.json` file _or_ to its `peerDependencies`. I didn't know which is desired between the two (I assume `peerDependencies`, but I know ESLint can be finicky about nested dependencies), so I didn't want to cut a PR with the wrong change.
Repository: vscode
Issue: Wording in the branch protection dialog
Labels: git,polish

Testing #150723

Branch protection is a user/workspace decision. Strictly speaking there is no relationship between my setting and the commit rights on a branch.

<img width="965" alt="image" src="https://user-images.githubusercontent.com/4674940/171523167-ce79bd34-da33-4ee9-bcaf-90d7128db73e.png">

However, the dialog I get indicates that I might not have commit rights. 

<img width="569" alt="image" src="https://user-images.githubusercontent.com/4674940/171523052-39f56b5c-7622-4e72-86e6-66da5f841736.png">

I'd prefer if the wording would stick to the actual situation. Something like: "This is a protected branch ..." or "You configured branch protection for this branch ...".
Repository: flutter
Issue: Multiple Rebuild issue on opening a keyboard
Labels: a: text input,c: regression,framework,has reproducible steps,P2,found in release: 3.10,team-framework,triaged-framework,found in release: 3.13

Hello, there's an issue with flutter 2.10.5 when opening keyboard and using `responsive_builder`. It will call `build` and `didChangeDependencies` multiple times. This is not happening in 2.8.1. 

**2.8 video below**:

https://user-images.githubusercontent.com/19194749/171528794-777f5898-1077-4cad-9fce-fe83235788bc.mov



**2.10.5 video below**

https://user-images.githubusercontent.com/19194749/171528700-e5351981-514f-43a3-a7e8-e24b06257e6b.mov


You can use this sample demo:
https://github.com/marctan/demo_rebuild
Repository: neovim
Issue: vim.fn.jobstart fails if there is a `NULL` character in the command
Labels: job-control,has:workaround,system

### Neovim version (nvim -v)

0.7.0

### Vim (not Nvim) behaves the same?

NA

### Operating system/version

Ubuntu 20.04.4 LTS

### Terminal name/version

Kitty 0.15.0/konsole 19.12.3

### $TERM environment variable

xterm-256color

### Installation

appimage

### How to reproduce the issue

nvim --clean
`:lua vim.fn.jobwait({vim.fn.jobstart([[stat / -c "NAME=%n]] .. string.char(0) .. '"')})`

### Expected behavior

When the above command is ran from a shell (injecting the null character in shell instead), I receive the following output
```sh
$ export NULL=$(echo -e "\0") && stat / -c "NAME=%n${NULL}"
NAME=/
```
I would expect `vim.fn.jobstart` to accept commands with a valid null character in the string (as ascii character `\0` is a valid ascii character).

I wonder if this has to do with how char arrays are handled in C land in vim?

### Actual behavior

Receive the following error
```
E5108: Error executing lua Vim:E475: Invalid argument: expected String or List                                                                                
stack traceback:
        [C]: in function 'jobstart'
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue
```
Repository: go
Issue: x/crypto/acme/autocert: NewOrder request did not include a SAN short enough to fit in CN
Labels: NeedsInvestigation

Using `golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e`, `autocert.Manager` requesting a domain with a length of 68 (including 5 `.` if that's relevant) gives an error that I think originates from Let's encrypt: `400 urn:ietf:params:acme:error:rejectedIdentifier: NewOrder request did not include a SAN short enough to fit in CN`. 

It might be possible to work around by allowing a shorter domain name to be provided, or somehow providing an alternate value to Let's Encrypt for the CN. I found https://community.letsencrypt.org/t/a-certificate-for-a-63-character-domain/78870 and https://github.com/letsencrypt/boulder/issues/2093 that discuss this. 

I experimented with passing in a shorter domain name that was also pointing to the same server, but the autocert code appears set on handling a single domain at a time and I wasn't able to change the final error.
Repository: flutter
Issue: Tune resource cache cleanup
Labels: engine,perf: memory,P2,team-engine,triaged-engine

We tell Skia to cleanup the resource cache at the end of every frame for entries that have not been touched in the last 15 seconds. (see https://github.com/flutter/engine/pull/6867).

We seem to have taken this value from Chromium (https://source.chromium.org/chromium/chromium/src/+/main:components/viz/common/gpu/context_cache_controller.cc;l=21;bpv=0;bpt=1, added here: https://source.chromium.org/chromium/chromium/src/+/2780b2574ea3648e79cc7d8f5d072e830d53aed3).

This value may not be optimal for mobile applications. We should try lowering it and see what it does to memory and timeline benchmarks. 

We also seem to _not_ be cleaning up the resource cache on low memory signals when we can't make the context current. This is almost certainly a mistake on Android/Fuchsia/Cast/iOS, and I can't imagine how it would not be a mistake on Linux. If the OS warns us that memory is getting low, we should free the cache regardless of whether the current rasterizer can use it (/cc @knopp for input on that). 

/cc @jason-simmons @Chinmaygarde @zanderso @xster
Repository: node
Issue: trace_events: mark it as stable
Labels: doc,trace_events

### Affected URL(s)

https://nodejs.org/dist/latest-v18.x/docs/api/tracing.html

### Description of the problem

Hey 👋 

The diagnostic working group currently works on an [initiative](https://github.com/nodejs/diagnostics/issues/532) to re-evaluate the diagnostic tooling list and its maturity.

We want to promote this tool to tier one ([Ref](https://github.com/nodejs/diagnostics/issues/544)), but it seems impossible as the API is still marked as experimental. So then we thought that it could be nice to discuss its status, and potentially mark it as stable.

## A few facts
- **The module has been there for a while**: 4 years and one month ([Ref](https://github.com/nodejs/node/pull/19803))
- **Last API change**: 1 year and 4 months ([Ref](https://github.com/nodejs/node/commit/029d1fd797975ef89b867f9d606257f0f070a462))

## Question marks
- **Do we have good test coverage for it?** I saw this [file](https://github.com/nodejs/node/blob/master/test/parallel/test-trace-events-api.js). Do you think that we cover enough cases? I'll take a look, but feel free to share any thoughts.
- **Evidence of usage in the field?** No doubt on my side regarding the CLI, but regarding the API, I don't know. Any thoughts?

cc @nodejs/diagnostics
Repository: material-ui
Issue: [TextField] Shouldn't `OutlinedInput` have its plain border styling set by theme?
Labels: discussion,component: text field

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

The OutlinedInput hardcodes the plain (not selected, not hovered) border to one of two values, depending on if it is light or dark theme. 



```
    theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
```

[Code link.](https://github.com/mui/material-ui/blob/master/packages/mui-material/src/OutlinedInput/OutlinedInput.js#L42)


Shouldn't this be based on standard palette values?   

### Examples 🌈

_No response_

### Motivation 🔦

Ease of use when using custom themes.
Repository: godot
Issue: Strange behavior with ul/ol tags in RichTextLabel
Labels: bug,topic:gui

### Godot version

v4.0.alpha6.official [e4f0fc50f] v4.0.alpha.custom_build [6cd730ea9]

### System information

Linux Mint 20.3, Vulkan, NVIDIA GeForce GTX 1050 Ti

### Issue description

1. Strange behavior near ul/ol close tags;
2. Strange behavior with **empty** ul/ol tags;
3. Strange behavior with nested ul/ol tags.

The first 2 points, they might be essentially the same one. Seems to be related to close tags.

![1](https://user-images.githubusercontent.com/30386067/171555857-69e09ef4-d68d-403b-8ce7-7aa9d3418e7a.png) ![captrue](https://user-images.githubusercontent.com/30386067/171555861-cfabaec7-bb4e-4cf2-9e80-697bf5cecf13.png)

### Steps to reproduce

1. Add a `RichTextLabel`
2. Check **Bbcode Enable**
3. Resize it to make it big enough
4. In the **Text** field, enter the following text.
```
[ol]
two
three[ul]a
b
c[/ul]four
[/ol]end
test 1
a
[ul][/ul]b
c
a
[ol][/ol]b
c
```

### Minimal reproduction project

_No response_
Repository: flutter
Issue: Camera fails to start on some devices, App throws `Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference.`
Labels: c: crash,platform-android,p: camera,package,P2,c: fatal crash,team-android,triaged-android

Camera won't start on Xiaomi POCO X4 Pro 5G device, it fails to start the example application from the library.

### Error

```
Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference.
```

## Steps to Reproduce

Flutter version 2.8.0
Camera version 0.9.7+1

#### 1. I'm running the example from the library.
<img width="224" alt="Screen Shot 2022-06-02 at 11 25 07" src="https://user-images.githubusercontent.com/17802092/171576323-f52ededd-b80d-4574-9dab-a59101f3a813.png">

#### 2.  After clicking on the back camera, it displays the error message.
![Screen Shot 2022-06-02 at 11 22 35](https://user-images.githubusercontent.com/17802092/171575913-8e30d1ce-03ec-4261-a525-7aa4216f83d1.png)
Repository: axios
Issue: Integration of axios-https-proxy-fix
Labels: state::triage

#### Describe the bug
There is an old known bug in axios causing error 403 (Bad protocol) by performing HTTPS request on HTTP proxy. Altough the issue has been resolved in the forked library '[axios-https-proxy-fix](https://www.npmjs.com/package/axios-https-proxy-fix)', this library is not being maintained which raises security, compatibility and performance concerns.

#### To Reproduce
To reproduce, all that required is to use proxy service such as Bright Data proxy which I am using for my project.

#### Environment
 - Axios Version [0.27.2 & V1 Alpha]
 - Adapter [HTTP]
 - Node.js Version [16.13.0]
 - OS: [Windows 11]

#### Additional context/Screenshots
The issue has been resolved in [this commit](https://github.com/Sitronik/axios/commit/36c1f46cb3e39b620bf81b5ba4069f1ddd02d4ce). I hope you can integrate in Axios V1 or even in V0.x
Repository: tauri
Issue: [bug] Input method can't restore chinese input state when back to tauri app
Labels: type: bug

### Describe the bug

 Input method can't restore Chinese input state when back to tauri app, it changes to english state unexpectly.

### Reproduction

_No response_

### Expected behavior

Keep chinese input state.

### Platform and versions

```shell
windows10 x64
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: excalidraw
Issue: Add LaTeX rendering support
Labels: Candidate P1

I'm trying to use excalidraw to express mathematical models more easily.

It's very useful, but lacks in supporting math symbols.
Repository: flutter
Issue: [url_launcher] Opening PDF URLs on Android with in-app mode (without Custom Tabs) shows a white screen
Labels: platform-android,p: url_launcher,package,has reproducible steps,P3,found in release: 3.0,found in release: 3.1,team-android,triaged-android

Running on Android physical device - (Galaxy Tab A7 - WiFi)
url_launcher: ^6.1.2
Android Studio Bumblebee | 2021.1.1 Patch 3

Issue: I am trying to open a Firebase Storage URL from the device using the following code:

```dart
void launchURL(url) async {
      Uri uri = Uri.parse(url);
    if (await canLaunchUrl(uri)) {
      await launchUrl(uri);
    } else {
      throw 'Could not launch $url';
    }
  }
```

This is the result:
<img width="2720" alt="image" src="https://user-images.githubusercontent.com/27727833/171589537-a3f6e874-9863-41ea-9551-9ac233336fe3.png">

<details>
<summary>flutter doctor -v</summary>

```
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.4 21F79 darwin-x64, locale en-IE)
    • Flutter version 2.10.5 at /Users/keitheyre/Documents/DEV/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (6 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/keitheyre/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Connected device (2 available)
    • SM T510 (mobile) • R52MA1ESSTY • android-arm    • Android 11 (API 30)
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 97.0.4692.99

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```
</details>
Repository: create-react-app
Issue: Can't run project
Labels: needs triage


I can't run the server in this project. Please help me. This error bellow. Thank you so much
express-session deprecated req.secret; provide secret option index.js:64:9
/home/lap12703/Code/kahoot-clone/node_modules/passport-auth0/lib/index.js:36
      throw new Error('You must provide the ' + k + ' configuration value to use passport-auth0.');
      ^

Error: You must provide the domain configuration value to use passport-auth0.