sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Feature Request]: Notification/sound when image fails to generate
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 ?

The notification feature is very useful if you tab out of the UI to do something else. However it will not trigger for failed gens. It would be nice to have peace of mind that webui will notify you in every case

### Proposed workflow

1. Generate images that OOM
2. Webui plays a failed sound/notifies

### Additional information

Maybe a separate sound for failed gens would be useful
Repository: stable-diffusion-webui
Issue: [Feature Request]: ane transformer support on apple silicon
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 ?

Does it make sense / any plans to use ane transformers in Automatic and / or is this a stable diffusion request? https://github.com/apple/ml-ane-transformers

### Proposed workflow

1. review http://github.com/apple/ml-ane-transformers


### Additional information

Does it make sense / any plans to use ane transformers in Automatic and / or is this a stable diffusion request? https://github.com/apple/ml-ane-transformers
Repository: flutter
Issue: The project website, repository - MUST include key hardening headers with nonpermissive values
Labels: team-infra,P2,infra: security,triaged-infra

The project website, repository (if accessible via the web), and download site (if separate) MUST include key hardening headers with nonpermissive values.

Note that GitHub and GitLab are known to meet this. Sites such as https://securityheaders.com/ can quickly check this. The key hardening headers are: Content Security Policy (CSP), HTTP Strict Transport Security (HSTS), X-Content-Type-Options (as "nosniff"), and X-Frame-Options. Fully static web sites with no ability to log in via the web pages could omit some hardening headers with less risk, but there's no reliable way to detect such sites, so we require these headers even if they are fully static sites.
Repository: flutter
Issue: The project MUST have performed a security review within the last 5 years.
Labels: team,team-infra,P2,infra: security,triaged-infra

The project MUST have performed a security review within the last 5 years. This review MUST consider the security requirements and security boundary.

This MAY be done by the project members and/or an independent evaluation. This evaluation MAY be supported by static and dynamic analysis tools, but there also must be human review to identify problems (particularly in design) that tools cannot detect.
Repository: flutter
Issue: Hardening mechanisms MUST be used in the software produced by the project.
Labels: team,team-infra,P2,infra: security,triaged-infra

Hardening mechanisms MUST be used in the software produced by the project so that software defects are less likely to result in security vulnerabilities. 

Hardening mechanisms may include HTTP headers like Content Security Policy (CSP), compiler flags to mitigate attacks (such as -fstack-protector), or compiler flags to eliminate undefined behavior. For our purposes least privilege is not considered a hardening mechanism (least privilege is important, but separate).
Repository: flutter
Issue: The project MUST have a reproducible build
Labels: team,team-infra,P2,infra: security,triaged-infra

The project MUST have a [reproducible build](https://reproducible-builds.org/). If no building occurs (e.g., scripting languages where the source code is used directly instead of being compiled), select "not applicable" (N/A). (URL required) [build_reproducible] 
A reproducible build means that multiple parties can independently redo the process of generating information from source files and get exactly the same bit-for-bit result. In some cases, this can be resolved by forcing some sort order. JavaScript developers may consider using npm shrinkwrap and webpack OccurenceOrderPlugin. GCC and clang users may find the -frandom-seed option useful. The build environment (including the toolset) can often be defined for external parties by specifying the cryptographic hash of a specific container or virtual machine that they can use for rebuilding. The [reproducible builds project has documentation on how to do this](https://reproducible-builds.org/docs/).
Repository: flutter
Issue: The project MUST apply at least one dynamic analysis tool
Labels: team,team-infra,P3,infra: security,triaged-infra

The project MUST apply at least one dynamic analysis tool to any proposed major production release of the software produced by the project before its release.

A dynamic analysis tool examines the software by executing it with specific inputs. For example, the project MAY use a fuzzing tool (e.g., [American Fuzzy Lop](http://lcamtuf.coredump.cx/afl/)) or a web application scanner (e.g., [OWASP ZAP](https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project) or [w3af](https://w3af.org/)). In some cases the [OSS-Fuzz](https://github.com/google/oss-fuzz#introduction) project may be willing to apply fuzz testing to your project. For purposes of this criterion the dynamic analysis tool needs to vary the inputs in some way to look for various kinds of problems or be an automated test suite with at least 80% branch coverage. The [Wikipedia page on dynamic analysis](https://en.wikipedia.org/wiki/Dynamic_program_analysis) and the [OWASP page on fuzzing](https://www.owasp.org/index.php/Fuzzing) identify some dynamic analysis tools. The analysis tool(s) MAY be focused on looking for security vulnerabilities, but this is not required.
Repository: flutter
Issue: The project MUST have FLOSS automated test suite(s) with 90% coverage
Labels: team,c: proposal,team-infra,P2,triaged-infra

The project MUST have FLOSS automated test suite(s) that provide at least 90% statement coverage if there is at least one FLOSS tool that can measure this criterion in the selected language.
Repository: flutter
Issue: The project MUST have FLOSS automated test suite(s) that provide at least 80% branch coverage
Labels: team,c: proposal,team-infra,P2,triaged-infra

The project MUST have FLOSS automated test suite(s) that provide at least 80% branch coverage if there is at least one FLOSS tool that can measure this criterion in the selected language.
Repository: flutter
Issue: The project MUST clearly define and publicly document the key roles in the project and their responsibilities
Labels: team,c: proposal,team-infra,P2,triaged-infra

The project MUST clearly define and publicly document the key roles in the project and their responsibilities, including any tasks those roles must perform. It MUST be clear who has which role(s), though this might not be documented in the same way. (URL required)

The documentation for [governance](https://bestpractices.coreinfrastructure.org/en/projects/5631/edit?criteria_level=1#governance) and roles and responsibilities may be in one place.
Repository: flutter
Issue: The project MUST be able to continue with minimal interruption if any one person dies, is incapacitated, or is otherwise unable or unwilling to continue support of the project
Labels: team,c: proposal,team-infra,P2,triaged-infra

The project MUST be able to continue with minimal interruption if any one person dies, is incapacitated, or is otherwise unable or unwilling to continue support of the project. In particular, the project MUST be able to create and close issues, accept proposed changes, and release versions of software, within a week of confirmation of the loss of support from any one individual. This MAY be done by ensuring someone else has any necessary keys, passwords, and legal rights to continue the project. Individuals who run a FLOSS project MAY do this by providing keys in a lockbox and a will providing any needed legal rights (e.g., for DNS names).
Repository: flutter
Issue: The project MUST automatically enforce its selected coding style(s)
Labels: team,c: proposal,team-infra,P2,triaged-infra

The project MUST automatically enforce its selected coding style(s) if there is at least one FLOSS tool that can do so in the selected language(s).

This MAY be implemented using static analysis tool(s) and/or by forcing the code through code reformatters. In many cases the tool configuration is included in the project's repository (since different projects may choose different configurations). Projects MAY allow style exceptions (and typically will); where exceptions occur, they MUST be rare and documented in the code at their locations, so that these exceptions can be reviewed and so that tools can automatically handle them in the future. Examples of such tools include ESLint (JavaScript), Rubocop (Ruby), and [devtools check](https://cran.r-project.org/web/packages/devtools/index.html) (R).
Coding standards enforced justification
Repository: godot
Issue: Setting any NodePath in the project does not set the NodePath
Labels: bug,topic:editor,topic:dotnet

### Godot version

v4.0.1.rc1.mono.official [d23922ffe]

### System information

Windows 11, RX6600, 10400 i5

### Issue description

Setting any NodePath in the project will not set the NodePath. Please see the video attached below. This goes for any kind of NodePath I make in script.

https://user-images.githubusercontent.com/6277739/227701704-8231e96a-32b7-4e74-90a3-e6c33c46ead5.mp4

Things I have tried
- Restarting the editor
- Deleting the `.godot` folder
- Nothing is logged in `--verbose` logs when I try to set a NodePath
- Restarting my PC
- Using the `new NodePath("")` constructor in script (also tried putting in paths to this constructor param)
- Printing the NodePath to console with `nodePath.ToString()` prints an empty string (even if I give it a path in script)
- Setting NodePath's in a blank project and other projects of mine works just fine
- I have deleted all the scripts in the project. Added a new script called Test.cs with a [Export] public NodePath Test; and that still didn't fix it

This is the first time I'm using more than 1 GitHub submodule (2 submodules called GodotUtils and Common) in a GitHub repository. Although that can't be the reason this is happening can it? (see repo here https://github.com/ValksGodotTools/Server)

### Steps to reproduce

Download [Multiplayer Server.zip](https://github.com/godotengine/godot/files/11068231/Multiplayer.Server.zip)  

Try to set any kind of NodePath in the project. There is a node path called `NodePathTest` on the main root node called "Main" and there are several node paths in the `UIConsole` node.  

### Minimal reproduction project

I was not able to reproduce this in a minimal reproduction project.
Repository: vscode
Issue: Debug view: Sort "Paused on ..." threads to the top
Labels: feature-request,debug,under-discussion

<!-- ⚠️⚠️ 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. -->

When debugging and one thread hits a breakpoint, I'd like for the explicitly stopped thread to be shown at the top of the threads list.

# ✅ Wanted
* The thread I care about is first in the list
* Most of the stack for my thread is visible

This way my thread would get more space by default, at the expense of the other threads which I don't care about.

<img width="373" alt="my-thread-last" src="https://user-images.githubusercontent.com/158201/228129769-fe73c04b-ea74-45fb-881e-fd29be6daf18.png">

# 🚨 Current
* The thread I care about is last in the list
* Most of the stack for my thread is not visible

<img width="373" alt="my-thread-last" src="https://user-images.githubusercontent.com/158201/227702118-8aae367d-ef93-4b15-b7ec-fb5d865e0828.png">
Repository: godot
Issue: Project or editor crashes randomly from xcb XInitThreads
Labels: bug,platform:linuxbsd,topic:porting,confirmed,topic:thirdparty

### Godot version

v4.1.dev.custom_build [0291fcd7b]

### System information

Linux Manjaro, kernel 6.1.19, X11

### Issue description

The editor or the running project sometimes crashes with the following error:
```
[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
godot.linuxbsd.editor.x86_64: xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
```
Crashes are more common while a project is running, but the editor also crashed because of this a couple of times over the past week or so.

I am not using any thread-related functions in my project, physics/rendering are not threaded, the project I'm working on as this happens is a simple GUI-based game.

### Steps to reproduce

This seems to happen fairly randomly.

### Minimal reproduction project

N/A
Repository: vscode
Issue: High CPU usage due to spinner animation in VSCode status bar
Labels: bug,good first issue,perf

Type: <b>Performance Issue</b>

When the Github Copilot extension is installed in VSCode, the spinner animation in the status bar may get stuck and cause high CPU usage for the "Code - Insiders Helper (GPU)" process, even when the editor is idle. 

I have attached a video demonstrating the behavior.


https://user-images.githubusercontent.com/697707/227707172-66f5eeb7-7b7f-4fc3-837a-81892f926fca.mp4





This seems to occur for both Github Copilot or other extensions that may produce a spinner. See https://github.com/phenomnomnominal/betterer/issues/1132 for a related issue.

VS Code version: Code - Insiders 1.77.0-insider (833ac685084e2028b09753392b82c641c7025bbc, 2023-03-21T05:24:48.595Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: Yes

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 Max (10 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|28, 23, 20|
|Memory (System)|64.00GB (2.56GB free)|
|Process Argv|--crash-reporter-id 31bc4592-32b5-4760-a625-0d4a1e53c114|
|Screen Reader|no|
|VM|0%|
</details><details>
<summary>A/B Experiments</summary>

```
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12:30651887
a9j8j154:30646983
showlangstatbar:30659908
pythonb192cf:30661257
azdwalk:30687957
pythonms35:30671666
f08j5886:30680471
7ij38806:30687742

```

</details>

<!-- generated by issue reporter -->
Repository: pytorch
Issue: can get_submodule be called within a ScriptFunction ?
Labels: oncall: jit,triaged

### 🚀 The feature, motivation and pitch

I'm writing a multi domain classifier where can first predict domains of a sentence, and then choose the corresponding  sequence classifer to run. It can certainly save FPOP in inference stage.

```
class MultiDomainClassifier(nn.Module):
    def __init__(self, classifiers: nn.ModuleDict, num_domain):
        super().__init__()
        self.classifiers = nn.ModuleList(classifiers.children())
        self.num_domain = num_domain

    def forward(self, inputs: Tensor, output_domains: Tensor) -> list[Tensor]:
        return [self.classifiers.get_submodule(str(idx)).forward(inputs) for idx in output_domains]
```

But I got this:

```
RuntimeError: 
Unknown type name 'Module':
  File "/home/luka.bao/anaconda3/envs/cpu/lib/python3.9/site-packages/torch/nn/modules/module.py", line 617
    def get_submodule(self, target: str) -> "Module":
                                            ~~~~~~~ <--- HERE
        """
        Returns the submodule given by ``target`` if it exists,
'ModuleList.get_submodule' is being compiled since it was called from 'MultiDomainClassifier.forward'
  File "/home/luka.bao/PycharmProjects/multitask-nlu-torch/torch_impl/output/classifier.py", line 109
    def forward(self, inputs: Tensor, output_domains: Tensor) -> list[Tensor]:
        return [self.classifiers.get_submodule(str(idx)).forward(inputs) for idx in output_domains]
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
```


### Alternatives

_No response_

### Additional context

_No response_

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: deno
Issue: Errors or OOM when dealing with big files
Labels: bug

When dealing with multigigs files Deno fail to garbage collect some memory (this is pure speculation from my side) and fail both writing and reading till EOF.

I've setup'ed a repro repo [here](https://github.com/nitroin/deno-oom-repro).

## Steps to repro

### Write a dump file

Create a dummy large dump file (usually problems arise when dealing with multigigs files).

```bash
> deno task write-dump
```

And let Deno create a dummy file under `./output` folder. Stop with `CTRL+C | CMD+C` when the file is 3 GB or more.

### Try to read the created file

Lunch the reader task to repro OOM.

```bash
> deno task read-dump
```

It usually take some minutes depending on the hardware/configuration used, but the process should exit with an error:

```
error: Uncaught (in promise) RangeError: Maximum call stack size exceeded
      yield decoder.decode(concat(...chunks));
```

## Notes

Also `Deno.writeText` can leak some memory, so an OOM can occur also when writing the dump file if you're like enough. You can monitor the memory usage with top or htop an see the memory never being released.
Repository: flutter
Issue: [Proposal] [Material] Material equivalent of `CupertinoColor.withBrightness`
Labels: c: new feature,framework,f: material design,c: proposal,team-design,triaged-design

## Use case

When developing a theme that adapts itself to the current `Brightness` setting for `CupertinoApp`,
one can use the `CupertinoDynamicColor` class to compute colors. This even handles the high contrast case using `CupertinoDynamicColor.withBrightnessAndContrast`.

However, there is no Material equivalent of this color API. (Note, I am not referring to [Material You dynamic colors](https://m3.material.io/styles/color/dynamic-color/overview) )

## Proposal

Add a `MaterialDynamicColor` class that mimics `CupertinoDynamicColor` for the brightness and high contrast settings.
The Cupertino equivalent has some extra iOS specific bits, which would be omitted from this class.

Maybe we can even refactor `CupertinoDynamicColor` to move the shared logic into a base class under `flutter/widgets`?

This could be a good package, if the proposal itself is not accepted into the framework.
Repository: pytorch
Issue: Insufficient MPS Documentation
Labels: module: docs,triaged,module: mps

### 📚 The doc issue

Whenever I try to have a look at MPS documentation for PyTorch, it is really difficult to figure it out and I couldn't find much in my way. On the other hand, when I look for CUDA documentation, every detail was set so that it can be understandable for everyday user. Checked that I have a functioning MPS.

### Suggest a potential alternative/fix

Creating a comprehensive documentation for MPS would be great.

cc @svekars @carljparker @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr @abhudev
Repository: stable-diffusion-webui
Issue: [Feature Request]: Make this last
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 ?

 Can there be a button to make SD stop generating batch upon finishing current one?  just a third button aside from "Skip" "Interrupt" ones. 
Why? because i will often put batches of a hundred in work, and more often then not I change prompts and need to restart generation, so i need to camp progress to stop when image is already on last step.

### Proposed workflow

1. Press "Stop after this" button 
2. Batch generation finishes current image fully and stops
3. Profit - no broken images on interrupt


### Additional information

_No response_
Repository: godot
Issue: Installing APK via usb debugging installs it both on work and user profiles
Labels: bug,platform:android,topic:editor,topic:export

### Godot version

3.5.2 LTS

### System information

Windows 10

### Issue description

If your Android has both User profile and work profile (for accounts of your work/college), then installing your app by clicking the Android icon that pops up on top right will install the app on both the User Profile and work profile.

### Steps to reproduce

1. Have work profile set up on Android
2. Connect USB to pc
3. Press the Android button that pops up in top right of Godot Editor when USB debugging
4. App installs on both profiles

### Minimal reproduction project

N/A
Repository: deno
Issue: Optimize webidl dictionary converters
Labels: perf,web

```js
const TextDecodeOptions = createDictionaryConverter(
  "TextDecodeOptions",
  [
    {
      key: "stream",
      converter: converters.boolean,
      defaultValue: false,
    },
  ],
);

function handwrittenConverter(V) {
  const defaultValue = { stream: false };
  if (V === undefined || V === null) {
    return defaultValue;
  }
  if (V.stream !== undefined) {
    defaultValue.stream = !!V.stream;
  }
  return defaultValue;
}


TextDecodeOptions({ stream: false });
handwrittenConverter({ stream: false });
```

```
test converter_object               ... bench:      40,076 ns/iter (+/- 2,482)
test converter_undefined            ... bench:      25,025 ns/iter (+/- 2,521)
test handwritten_baseline_object    ... bench:       3,444 ns/iter (+/- 164)
test handwritten_baseline_undefined ... bench:       3,375 ns/iter (+/- 76)
```

These converters are created at snapshot time, we could leverage this build time to generate a more optimal converter. This should be done without JS eval. 

See Attempt 1: https://github.com/denoland/deno/pull/16594 (with eval)