sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: deno
Issue: Deno watcher not killing process when using prisma
Labels: bug

Version: Deno 1.39.1

When i use prisma in my projetct the deno watcher keeps the process running after a CTRL+C on terminal and keeps reloading things when i save some files. You can get in deep on the reproduction repo.
Please let me know if i'm doing something wrong. (hope that is the case haha)

## Reproduction Repo

Link: https://github.com/SampaioLeal/deno-watcher-issue
Repository: angular
Issue: Animation has a bug when value update occurs within 2020ms
Labels: area: animations

### Which @angular/* package(s) are the source of the bug?

animations

### Is this a regression?

No

### Description

I am trying to make the animation work to flash a set N of values each time they change: they can change over time. However, the behavior is not consistent, some flash correctly when they change, others do not. This seems to happen only if the time interval between changes is less than 2020ms for me.
I would expect that when all numerical values change then all numbers would also have animation, unfortunately this does not seem to be the case.

### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-tailwind-uty7nm?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts

### Please provide the exception or error you saw

No errors.

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 15.2.9
Node: 18.10.0
Package Manager: npm 8.19.2
OS: darwin x64

Angular: 15.2.9
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.9
@angular-devkit/build-angular   15.2.9
@angular-devkit/core            15.2.9
@angular-devkit/schematics      15.2.9
@schematics/angular             15.2.9
ng-packagr                      15.2.2
rxjs                            7.4.0
typescript                      4.8.4
```


### Anything else?

The documentation on the site does not help at all.
Repository: pytorch
Issue: Align `torch.sign` with Array API
Labels: triaged,module: python array api

### 🚀 The feature, motivation and pitch

Hi!
Recently we've been [moving forward with Array API support in NumPy](https://github.com/numpy/numpy/issues/25076). One of the items that's going to change is [`np.sign` behavior for complex dtypes](https://github.com/numpy/numpy/pull/25441). 

I noticed that in pytorch `torch.sign` doesn't allow complex dtypes and points to `torch.sgn`. Would you consider merging `torch.sgn` into `torch.sign` to align with [Array API's definition of sign](https://data-apis.org/array-api/latest/API_specification/generated/array_api.sign.html)? 

### Alternatives

_No response_

### Additional context

_No response_

cc @mruberry @rgommers @asmeurer @leofang @AnirudhDagar @asi1024 @emcastillo @kmaehashi
Repository: stable-diffusion-webui
Issue: [Deletion Request]: Deletion request of existing issue and discussion
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 ?

Dear AUTOMATIC1111 Stable Diffusion admins,
I would like the following private information that I posted in the following issue to be removed:
 https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/5652

„I had severe problems with porn addictions myself in the past and come to the conclusion that it's best to avoid it completely. Now, I feel much more calm and confident. I'm also able to achieve my goals better.“
also quoted from MIC132

„Generating arbitrary porn images is even more stimulating than normal classical porn.
I was porn free for a long time, but due to Stable-Diffusion I relapsed because the cravings have been too intense. I became completely exhausted and sick because of it.“

For context, I was severely sleep-deprived at the time of making the posts.
Thank you for processing this issue and I’m looking forward to your response.

You can also delete this issue afterwards.

### Proposed workflow

-

### Additional information

-
Repository: rust
Issue: Document memory ordering guarantees for `std::thread::spawn()`
Labels: T-libs-api,A-docs,C-feature-request,A-thread,A-atomic

The documentation for [`std::thread::JoinHandle::join()`](https://doc.rust-lang.org/stable/std/thread/struct.JoinHandle.html#method.join) guarantees that all memory operations performed by the joined thread are visible in the joining thread before `join()` returns:

> [...] In other words, all operations performed by that thread [happen before](https://doc.rust-lang.org/nomicon/atomics.html#data-accesses) all operations that happen after join returns.

The documentation does not give such guarantees for [`std::thread::spawn()`](https://doc.rust-lang.org/stable/std/thread/fn.spawn.html) and the associated [`Builder::spawn`].

Obviously, such guarantee already exists implicitly:

```rust
fn main() {
    let s = "Foo".to_string();
    std::thread::spawn(move || {
        // All memory-operations performed by the spawning thread
        // are visible (happened-before) when the closure starts
        // executing, even though they have no explicit ordering.
        println!("{s}");
    }).join().unwrap();
}
```

Can we update the documentation on `std::thread::spawn()` (and friends) to explicitly make this guarantee?
Repository: flutter
Issue: Enable navigating to a page from any page in app and also going back using go router without using push API
Labels: package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router

### Use case

Image you want to have a mobile application. In the app you have a floating action button that is visible everywhere. By pressing the button you navigate to a specific page. In this state you may want to go back to the previous page. Using current version of `GoRouter` (13.0.0) the `GoRoute` of the specific page has to be copied into all sub routes of all pages if you only want to use `go` or `goNamed` API and also be able to go back to the previous page. Obviously using `push` API is not an ideal solution since it does not support deep linking and messes with navigation stack. 

### Proposal

I would like flutter team to consider adding an option to GoRouter that allows developers to define a route that is accessible from all other routes and also provides a back function that navigates to the previous page. Just like push and pop but with deep linking support and web-friendly.
Repository: neovim
Issue: Change default built-in terminal colors
Labels: enhancement,defaults,needs:discussion,terminal,highlight

### Problem

After #26540, default color scheme uses custom palette when true colors are enabled. The exception is colors in `:terminal`, which use palette from terminal emulator.

### Expected behavior

Use built-in palette by default.

Essentially, setting default terminal colors similar to the following Lua code:

```lua
local bg = vim.o.background == 'dark' and 'NvimDark' or 'NvimLight'
local fg = bg == 'NvimDark' and 'NvimLight' or 'NvimDark'

vim.g.terminal_color_0  = vim.g.terminal_color_0  or (bg .. 'Grey2')
vim.g.terminal_color_1  = vim.g.terminal_color_1  or (fg .. 'Red')
vim.g.terminal_color_2  = vim.g.terminal_color_2  or (fg .. 'Green')
vim.g.terminal_color_3  = vim.g.terminal_color_3  or (fg .. 'Yellow')
vim.g.terminal_color_4  = vim.g.terminal_color_4  or (fg .. 'Blue')
vim.g.terminal_color_5  = vim.g.terminal_color_5  or (fg .. 'Magenta')
vim.g.terminal_color_6  = vim.g.terminal_color_6  or (fg .. 'Cyan')
vim.g.terminal_color_7  = vim.g.terminal_color_7  or (fg .. 'Grey2')
vim.g.terminal_color_8  = vim.g.terminal_color_8  or (bg .. 'Grey2')
vim.g.terminal_color_9  = vim.g.terminal_color_9  or (fg .. 'Red')
vim.g.terminal_color_10 = vim.g.terminal_color_10 or (fg .. 'Green')
vim.g.terminal_color_11 = vim.g.terminal_color_11 or (fg .. 'Yellow')
vim.g.terminal_color_12 = vim.g.terminal_color_12 or (fg .. 'Blue')
vim.g.terminal_color_13 = vim.g.terminal_color_13 or (fg .. 'Magenta')
vim.g.terminal_color_14 = vim.g.terminal_color_14 or (fg .. 'Cyan')
vim.g.terminal_color_15 = vim.g.terminal_color_15 or (fg .. 'Grey2')
```
Repository: godot
Issue: `ConfirmationDialog` misses theme overrides section
Labels: bug,topic:editor

### Tested versions

- Reproducible in 4.1.3, 4.2.1, 4.2

### System information

Manjaro Linux (KDE)

### Issue description

`ConfirmationDialog` does not show a section for theme override. This is really confusing because the user would expect the internal panel of the confirmation dialog to have the color of the set theme which is not the case, as internally, the override is set anyways. Interestingly, an `AcceptDialog` (parent in the inhertiance chain) shows the section in the inspector properly (see screenshots below).

![image](https://github.com/godotengine/godot/assets/33001106/896c4247-2b1f-4508-90b9-d9c7c25b64c4)
![image](https://github.com/godotengine/godot/assets/33001106/6733b14d-2f14-40bd-8ad6-5a678b9dc3c2)



### Steps to reproduce

Create `ConfirmationDialog` in editor and go to inspector, theme overrides will be missing.

The unexpected output can be seen in the remote node hierarchy. Navigate to the ConfirmationDialog and find the internal panel child. It will have a theme override applied: 
![image](https://github.com/godotengine/godot/assets/33001106/10b6375c-94c9-4b5f-aae6-f9e99abaf887)


### Minimal reproduction project (MRP)

Not necessary
Repository: angular
Issue: DefaultDomRenderer2 causing setAttribute not a function error on comment elements
Labels: area: compiler,P4,compiler: template type-checking,bug

### Which @angular/* package(s) are the source of the bug?

platform-browser

### Is this a regression?

Yes

### Description

Recently updated an angular project from version 6 to 16. All is working fine after upgrading but I do get an Error log in console with message 
```
ERROR TypeError: n.setAttribute is not a function
``` 
I've managed to debug the issue and I can see that it's coming from the DefaultDomRenderer2 setAttribute function when the element is of type `#comment` 

![angular bug2](https://github.com/angular/angular/assets/38229085/a7ba4833-9548-40dc-b318-5ddc8fe6e6e5)

![angular bug](https://github.com/angular/angular/assets/38229085/3637dcb4-1754-4cc3-90c4-37dcb83c7c1b)


### Please provide a link to a minimal reproduction of the bug

https://github.com/magixian/applyzer

### Please provide the exception or error you saw

```true
ERROR TypeError: n.setAttribute is not a function
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 16.2.11
Node: 20.9.0
Package Manager: npm 10.1.0
OS Win x64
Angular: 16.2.11
```


### Anything else?

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: ScuNET PSNR use ScuNET GAN model instead of PSNR model
Labels: bug-report

### Checklist

- [X] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [X] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

When firstly use ScuNET PSNR ,
`Downloading: "https://github.com/cszn/KAIR/releases/download/v1.0/scunet_color_real_gan.pth" to D:\AI\sd-webui\stable-diffusion-webui-dev\models\ScuNET\ScuNET.pth`

However, it's ScuNET GAN model, and the correct model should be https://github.com/cszn/KAIR/releases/download/v1.0/scunet_color_real_psnr.pth

### Steps to reproduce the problem

1. Go to extra tab;
2. select an image;
3. select Scunet PSNR as Upscaler;
4. generate.

### What should have happened?

It should download PSNR model instead of GAN model.

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

[sysinfo-2024-01-02-15-57.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/13811649/sysinfo-2024-01-02-15-57.json)


### Console logs

```Shell
venv "D:\AI\sd-webui\stable-diffusion-webui-dev\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0-133-gde03882d
Commit hash: de03882d6ca56bc81058f5120f028678a6a54aaa
Launching Web UI with arguments: --use-cpu all --precision full --no-half --skip-torch-cuda-test
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
Loading weights [a2c153a866] from D:\AI\sd-webui\stable-diffusion-webui-dev\models\Stable-diffusion\Für-Alice.safetensors
Creating model from config: D:\AI\sd-webui\stable-diffusion-webui-dev\configs\v1-inference.yaml
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 15.7s (prepare environment: 0.5s, import torch: 4.2s, import gradio: 2.2s, setup paths: 2.5s, initialize shared: 0.3s, other imports: 2.6s, setup codeformer: 0.3s, list SD models: 0.3s, load scripts: 1.5s, create ui: 0.7s, gradio launch: 0.4s).
Applying attention optimization: InvokeAI... done.
Model loaded in 6.7s (load weights from disk: 0.6s, create model: 0.8s, apply weights to model: 5.0s, calculate empty prompt: 0.1s).
Downloading: "https://github.com/cszn/KAIR/releases/download/v1.0/scunet_color_real_gan.pth" to D:\AI\sd-webui\stable-diffusion-webui-dev\models\ScuNET\ScuNET.pth

100%|█████████████████████████████████████████████████████████████████████████████| 68.6M/68.6M [00:32<00:00, 2.18MB/s]
ScuNET tiles: 100%|████████████████████████████████████████████████████████████████████| 20/20 [00:54<00:00,  2.75s/it]
```


### Additional information

_No response_
Repository: rust
Issue: Diagnostics suggest incorrect paths when inline modules are used
Labels: A-diagnostics,T-compiler,C-bug,WG-diagnostics,A-suggestion-diagnostics,D-invalid-suggestion

<!--
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:

```rust
struct A;

mod inner {
    struct A;
    
    impl From<super::A> for A {}
    impl From<A> for super::A {}
}
```

I expected to see this happen: an error suggesting the following code:

```rust
struct A;

mod inner {
    struct A;
    
    impl From<super::A> for A { fn from(_: super::A) -> Self { todo!() } }
    impl From<A> for super::A { fn from(_: A) -> Self { todo!() } }
}
```
Instead, this happened: an error suggested the following (incorrect) code:

```rust
struct A;

mod inner {
    struct A;
    
    impl From<super::A> for A { fn from(_: A) -> Self { todo!() } }
    impl From<A> for super::A { fn from(_: inner::A) -> Self { todo!() } }
}
```
```
error[E0046]: not all trait items implemented, missing: `from`
 --> ./t.rs:6:5
  |
6 |     impl From<super::A> for A {}
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `from` in implementation
  |
  = help: implement the missing item: `fn from(_: A) -> Self { todo!() }`

error[E0046]: not all trait items implemented, missing: `from`
 --> ./t.rs:7:5
  |
7 |     impl From<A> for super::A {}
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `from` in implementation
  |
  = help: implement the missing item: `fn from(_: inner::A) -> Self { todo!() }`
```

### 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.74.1 (a28077b28 2023-12-04)
binary: rustc
commit-hash: a28077b28a02b92985b3a3faecf92813155f1ea1
commit-date: 2023-12-04
host: x86_64-unknown-linux-gnu
release: 1.74.1
LLVM version: 17.0.4
```
Repository: PowerToys
Issue: Option for static dashboard
Labels: Needs-Triage

### Description of the new feature / enhancement

I would like not having "Enabled modules" and "Disabled modules" separated on the Dashboard.  I find it useful to be able to simply toggle a module on/off and observe the result -- without having to search for where the module switch went when it was changed to the other state.  Existing behavior can be maintained with 'Static Dashboard on/off' being an available 'General' switch.

### Scenario when this would be used?

Useful when observing the behavior of a module -- like 'Find My Mouse' for example.

### Supporting information

I believe the above says it all.  Thanks.
Repository: material-ui
Issue: [docs-infra] Fix algolia links to API props
Labels: bug 🐛,regression,scope: docs-infra

@alexfauquette The only thing I would change here is the labels, making it clear that it's an API page:

new (❌):

<img src="https://github.com/mui/material-ui/assets/3165635/18576acf-3890-482d-b648-0f580a9dc193" width="618">

vs. old (✅):

<img src="https://github.com/mui/material-ui/assets/3165635/3d25d977-bd4c-4e8b-99ca-aafd4cc25dbc" width="613">

_Originally posted by @oliviertassinari in https://github.com/mui/material-ui/issues/40396#issuecomment-1874129570_
Repository: pytorch
Issue: `test_modules.py` does not test for half precision or complex types
Labels: module: nn,module: ci,triaged

### 🐛 Describe the bug

The way it's written right now, it only tests float32 and float64, even though accelerator (and sometimes CPU) implementation exists for half precision types

### Versions

CI

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @seemethere @pytorch/pytorch-dev-infra
Repository: PowerToys
Issue: Provide variable for 12-hour format with am and pm for file creation time in PowerRename 
Labels: Idea-Enhancement,Good first issue,Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

Currently the $hh and $h patterns for replacement text use 24-hour time format.
It would be useful to have similar patterns for 12-hour format with "am" and "pm" (or local equivalent).
For example, the following patterns could be used:
$HH Hours as 01-12, with leading zeros for single-digit hours. May be used together with $TT or $tt.
$H Hours as 1-12, without leading zeros for single-digit hours. May be used together with $TT or $tt.
$TT "AM" or "PM".
$tt "am" or "pm".

Or, instead of $TT and $tt, the patterns could be $PM and $pm

Additionally, the documentation for $hh and $h should be updated to reflect that they produce numbers in the range 00-23 and 0-23.

### Scenario when this would be used?

This would be used whenever it is more natural to use 12-hour format with "am" and "pm" for display of times, as is common in the USA.

### Supporting information

The "Region" Control Panel applet in Windows uses "tt" to indicate the presence of AM/PM in the time format, but "pm" may be a more intuitive choice.
Repository: go
Issue: x/tools/gopls: support for comment rendering
Labels: FeatureRequest,gopls,Tools

I propose adding a gopls command that uses `doc/comment` to render documentation comments of package-level declarations. The intent is that this command would be used by a development environment to render pkgsite-style documentation for workspace packages. This could serve the following purposes:

1. Viewing documentation for code changes that have not been published yet.
2. Viewing documentation for private repositories.
3. Reviewing documentation as I write it, to ensure it is formatted the way I want.
4. Viewing documentation from within my development environment, without needing to switch to a browser.

I'll grant the first three items can be achieved by running `pkgsite` locally, but that does not address (4), it is less than convenient, and in my experience does not work well for (3).

I propose:

1. `gopls/internal/lsp/cache/docs`, which will locate documentation comments, parse them with `doc/comment.Parser`, and convert the `doc/comment.Doc` into marshallable types such that the result can be cached.
2. `gopls/internal/lsp/command.Interface.RenderDocs`, which will retrieve `doc/comment.Doc`s from a snapshot and render them:

```go
type RenderDocsParams struct {
	Package        protocol.URI
	Declaration    protocol.Location // location of the declaration to generate docs for, optional, omit to render for the entire package
	Format         string            // comment, html, markdown, or text
	HeadingLevel   int               // doc/comment.Printer.HeadingLevel
	HeadingIdTmpl  string            // template for rendering header IDs with doc/comment.Printer.HeadingID
	DocLinkTmpl    string            // template for rendering document links with doc/comment.Printer.DocLinkURL
	DocLinkBaseURL string            // doc/comment.Printer.DocLinkBaseURL
	TextPrefix     string            // doc/comment.Printer.TextPrefix
	TextCodePrefix string            // doc/comment.Printer.TextCodePrefix
	TextWidth      int               // doc/comment.Printer.TextWidth
}

type RenderDocsResult struct {
	Result string
}
```

CC @hyangah @adonovan
Repository: TypeScript
Issue: Document default for `resolveJsonModule`
Labels: Docs

### Acknowledgement

- [X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

### Comment

Document this line: https://github.com/microsoft/TypeScript/blob/a16895031e8386727c9210e73c6edf418a2fc454/src/compiler/utilities.ts#L8737
Repository: godot
Issue: MultiplayerPeerExtension Missing _GetPacket and _PutPacket functions. 
Labels: documentation,topic:network,topic:dotnet,topic:multiplayer

### Tested versions

- Reproducible in 4.2 

### System information

Godot v4.2.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 31.0.15.4601) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)

### Issue description

When extending the MultiplayerPeerExtension class in C#, the _GetPacket methods and the _Put Packet Methods are not defined and cannot be overriden.

### Steps to reproduce

Extend the MultiplayerPeerExtension
Attempt to override Either the _GetPacket or the _PutPacket methods.
It will not be possible.

### Minimal reproduction project (MRP)

```Csharp
public partial class CustomMultiplayerPeer : MultiplayerPeerExtension
{
    public override Error _PutPacket(byte[] buffer) // compilation error, no suitable method to override.
    {
        return Error.Ok;
    }
}
```