sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: error when I'm changing default import alias when creating pnpx create-next-app@latest
Labels: create-next-app,bug

### Link to the code that reproduces this issue

https://github.com/nicitaacom/17_airbnb-clone/blob/production/airbnb-clone/app/components/ClientOnly.tsx

### Note - this reproduction link has no relation to error I have

### To Reproduce

1. `pnpx create-next-app@latest`
2. choose yes until it ask you about import alias
3. when it ask you about 'Whould you like to change default import alias?' - select 'Yes' and type @/app/*
4. Got the error

### Current vs. Expected behavior

I wait not error - but I got the error and I need set up my import aliases in tsconfig.ts

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
pnpx --no-install next info
/home/kali/.local/share/pnpm/store/v3/tmp/dlx-150353:
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/--no-install: Not Found - 404

This error happened while installing a direct dependency of /home/kali/.local/share/pnpm/store/v3/tmp/dlx-150353

--no-install is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.


Here should be pnpx next info --no-install
```


### Which area(s) are affected? (Select all that apply)

CLI (create-next-app)

### Additional context

_No response_
Repository: go
Issue: net: ListenMulticastUDP setsockopt: not supported by windows
Labels: OS-Windows,NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.21.3 windows/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GOHOSTARCH=amd64
set GOHOSTOS=windows
</pre></details>

### What did you do?

```go
package main

import (
	"fmt"
	"net"
)

func main() {
	multicastIP := net.ParseIP("ff02::c")
	multicastAddr := net.UDPAddr{IP: multicastIP}

	interfaces, err := net.Interfaces()
	if err != nil {
		fmt.Println("Failed to list interfaces", err)
		return
	}

	for _, iface := range interfaces {
		if iface.Flags&net.FlagUp == 0 || iface.Flags&net.FlagLoopback != 0 || iface.Flags&net.FlagMulticast == 0 {
			fmt.Println("Skipping interface", iface.Name)
			continue
		}

		conn, err := net.ListenMulticastUDP("udp6", &iface, &multicastAddr)
		if err != nil {
			fmt.Println("Failed to listen on", iface.Name, err)
			continue
		}

		fmt.Println("Listening on", iface.Name)

		defer conn.Close()
	}
}
```



### What did you expect to see?

Example output on a Linux host:

```
Skipping interface lo
Listening on enp0s31f6
Listening on enxc4cbe10cec3d
Listening on wlp0s20f3
Listening on virbr0
Skipping interface wg0
Skipping interface wg1
Listening on docker0
Listening on br-651beae84a39
Listening on vethfed639d
Listening on vnet0
```


### What did you see instead?

This fails for regular interfaces on Windows 10 and Windows 11 hosts:

```
Failed to listen on Ethernet-Instanz 0 listen udp6 [ff02::c]:0: setsockopt: not supported by windows
Skipping interface Loopback Pseudo-Interface 1
```
Repository: bitcoin
Issue: test: Write assumeutxo tests
Labels: Wallet,Tests,Consensus,good first issue

### Motivation

Tests are useful to catch bugs, so they should be written.

### Possible solution

Write tests, similar to https://github.com/bitcoin/bitcoin/pull/28647

Refer to the `TODO` comments in `./test/functional/feature_assumeutxo.py`, or to the uncovered lines in the AssumeUtxo code via a coverage report. For example, https://maflcko.github.io/b-c-cov/total.coverage/src/validation.cpp.gcov.html

### Useful Skills

* Compiling Bitcoin Core from source
* Running the C++ unit tests and the Python functional tests
* Basic AssumeUtxo understanding
* Bitcoin Core serialization and test framework understanding
* Python serialization understanding

### Guidance for new contributors

Want to work on this issue?

For guidance on contributing, please read [CONTRIBUTING.md](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md) before opening your pull request.
Repository: PowerToys
Issue: Peek UI Enhancement - Better Window Sizing
Labels: Idea-Enhancement,Needs-Triage,Product-Peek

### Description of the new feature / enhancement

Peek overall looks better than QuickLook, but there are some UI features of QuickLook that Peek could still stand to adopt.

In this feature request / issue, I'm requesting better auto-sizing of the Peek window to fit the file preview contents. Your window sizing for photo files is good - it intuitively sizes the window to fit the size of the image. I'm requesting you implement that same system across all file types.

For example, the screen that is shown when you preview a folder or unsupported file type with Peek is too large - there is a ton of vertical margin, and a good amount of horizontal margin too. When previewing PDFs, there is far too much horizontal margin, and the vertical sizing isn't intuitive - the PDF viewer should snap to the size of one page, leaving space for the page thumbnail sidebar. Text file previewing is slightly too large - the window seems to be fixed to about 75% of the available screen space. Ideally, it would be closer to the 50%-60% range.


### Scenario when this would be used?

Every time Peek is opened.

### Supporting information

_No response_
Repository: vscode
Issue: Completion widget assigns too much space to details and not enough to the completion item label
Labels: feature-request,ux,polish,suggest

I have my completion list fairly wide, but here I can't see the item I'm completing because of the detail on the right:

![image](https://github.com/microsoft/vscode/assets/1078012/b8971fbd-69a7-4e1b-8817-dabdc5cab7c4)

I appreciate something needs to be truncated, but I feel like the proportions here might not be the best.
Repository: TypeScript
Issue: Refinement type inference quirk with implicitly typed `let x`
Labels: Bug,Help Wanted

### 🔎 Search Terms

refinement narrow let any

### 🕗 Version & Regression Information

- This changed between versions 3.9.7 and 4.0.5; the behavior is present in every version from 4.0.5 to 5.3 nightly; I skimmed the whole FAQ document and didn't find anything relevant


### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=5.3.0-dev.20231013#code/C4TwDgpgBAsiAq5oF4oG8qkgLigcgEE8oBfKAH3UyVzwCFiSBuAKBYDMBXAOwGNgAlgHtuUdgAoAhgCcA5rjiJIASnQsoGqABsIwKAA9Wmg1FQzZRzQPZRx+gHRYUyVITyq06zWQhaAztDWtg5Opi74DB5eGj7+0J7Gxjp6APq43BAAbhDSpgaWMSwkLEA

### 💻 Code

```ts
type MyType = { type: 'A' } | { type: 'B' };

function f(arg: MyType) {
    let x;
    x = arg;
    if (x.type === 'A') {
    } else if (x.type === 'B') {
    } else {
        let _: never = x;
    }
}
```


### 🙁 Actual behavior

```
error TS2322: Type '{ type: "B"; }' is not assignable to type 'never'.

9         let _: never = x;
              ~
```
This is wrong for two reasons:
* In the world of perfect type inference, `x` should be narrowed to `never` at this point
* Even acknowledging that there could be some practical limitations, the behavior is not consistent.
  <img width="329" alt="image" src="https://github.com/microsoft/TypeScript/assets/302938/3a199821-c3fc-4ba1-a1cc-cdd201e484e1">
  First conditional successfully eliminates the "A" variant:
  <img width="320" alt="image" src="https://github.com/microsoft/TypeScript/assets/302938/9a6881f4-35c7-46d5-963c-cd684431e292">
  But second conditional fails to eliminate the "B" variant:
  <img width="327" alt="image" src="https://github.com/microsoft/TypeScript/assets/302938/72f8daa9-0f1e-40bf-9d78-4d7ece4c18e8">



### 🙂 Expected behavior

Ideally, this shouldn't be an error at all.

However, given that control-flow-based type inference has its limitations, perhaps some kind of spurious error is inevitable. In that case, it probably should be more like `Type 'MyType' is not assignable to type 'never'` rather than `Type '{ type: "B" }' is not assignable to type 'never'`.

### Additional information about the issue

Practical impact of this issue is small. There is an easy workaround of adding an explicit type annotation (`let x: MyType;`).

However, this asymmetry, that the last conditional fails at narrowing when exactly the same conditional before that succeeds, bothers me. I'm reporting this because it could be a symptom of a more general implementation defect.
Repository: yt-dlp
Issue: Only download marked sponsorblock section. (call it "--sponsorblock-keep"?)
Labels: enhancement,triage,core:post-processor

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a site-specific feature
- [X] I've verified that I'm running yt-dlp version **2023.10.07** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

_No response_

### Example URLs

https://www.youtube.com/watch?v=a07pM4C3gaI

Only 0:48.895 to 1:09.181 would be downloaded. The output video from yt-dlp would be 21 seconds long.

### Provide a description that is worded well enough to be understood

Basically the inversion of what --sponsorblock-remove can do now, instead of cutting out sponsors and keeping the rest, it only downloads sponsors and the rest of the video is removed (or other marked section type).

Ideally, it shouldn't download the entire video, to save bandwidth.

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
N/A
```
Repository: rust
Issue: Tracking Issue for `OnceCell/Lock::try_insert()`
Labels: T-libs-api,C-tracking-issue

Feature gate: `#![feature(once_cell_try_insert)]`

This is a tracking issue for `OnceCell::try_insert()` and `OnceLock::try_insert()`.

This adds a method similarly to [`OnceCell/Lock::set()`](https://doc.rust-lang.org/1.73.0/std/cell/struct.OnceCell.html#method.set) but returns a reference at the same time. This is also similar to [`OnceCell/Lock::get_or_init()`](https://doc.rust-lang.org/1.73.0/std/cell/struct.OnceCell.html#method.get_or_init) but the return value also tells you if the value was actually inserted or if the `OnceCell/Lock` was already occupied.

### Public API

```rust
impl<T> OnceCell<T> {
    pub fn try_insert(&self, value: T) -> Result<&T, (&T, T)>;
}
```

### Steps / History

- [x] ACP: https://github.com/rust-lang/libs-team/issues/276
- [x] Implementation: #116540
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

### Unresolved Questions

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: stable-diffusion-webui
Issue: [Bug]: Seed / Denoising strength / Batch
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

Transferring from **PNG INFO** and **Positive prompt** breaks **img2img**, **Denoising strength** is not transferred. **Seed** in **Batch** does not work as **Random (-1)**.
![image](https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/58225118/e9853434-7ee8-40d3-8e75-e62fc4aac381)
In this video I show the whole process to get this error

https://github.com/AUTOMATIC1111/stable-diffusion-webui/assets/58225118/bae25337-be9f-43a3-bba4-6b9102bd6cc8



### Steps to reproduce the problem

1. Go to **PNG Info**
2. Press **Send to img2img**
3. The **Denoising strength** does not change its values
4. Resetting the **Seed (-1)**
5. I expose **Batch** and start generation

### What should have happened?

The **Denoising strength** should be set from **PNG Info**, the **Seed** should be **random at batch**

### Sysinfo

[sysinfo-2023-10-13-12-42.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12893600/sysinfo-2023-10-13-12-42.txt)


### What browsers do you use to access the UI ?

Google Chrome

### Console logs

```Shell
Console without errors
```


### Additional information

_No response_
Repository: PowerToys
Issue: Add option for "Refresh previous query on Run launch"
Labels: Product-PowerToys Run,Needs-Triage

### Description of the new feature / enhancement

Have an option to refresh the previous query every time Run is launched, (if Time was searched last time, the next time you open Run it should grab the current time again)

### Scenario when this would be used?

I have a AutoHotKey script that makes it so the normal windows search is replaced by PT Run when pressing Windows Key, so when in full screen applications launching Run doesn't also show taskbar, which is preferred. But lets say 2 minutes ago I searched Time or ) to show the time in run, if I launch Run again, it still shows the time from 2 minutes ago, and I have to re-type "Time" or ")" to refresh it.

### Supporting information

_No response_
Repository: PowerToys
Issue: Add Cyrillic letters to Quick Accent
Labels: Needs-Triage,Product-Quick Accent

### Description of the new feature / enhancement

In the older versions on PowerToys, I remember having cyrillic letters in the Quick Accent selection.
https://en.wikipedia.org/wiki/Cyrillic_alphabets
Example: For the letter `o`, they would also have a cyrillic same-looking letter `о`.

### Scenario when this would be used?

Personally, I use it to write in Russian.
And for people like me, who have a difficulty to learn the Russian key layout, they could use similar-looking letters to write in Russian through Quick Accent.

### Supporting information

_No response_
Repository: godot
Issue: can no longer add any nodes to a scene after duplicating a TileMap
Labels: bug,topic:editor,needs testing,crash

### Godot version

4.12 stable

### System information

Godot v4.1.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3713) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)

### Issue description

After duplicating a scene, erasing everything in the new scene except the TileMap, editing the TileMap, then adding a scene of type  CharacterBody2D as the root node with an animated sprite 2D node in it, then running the current scene with no errors, I am no longer able to add any nodes to any scenes afterwards.  The entire interface also freezes and I can no longer do anything in the engine except kill it via Windows Manager.  I've tried deleting the new scene, but the problem still happens.  What can I do to prevent this?

### Steps to reproduce

Duplicate Scene
Erase everything in duplicated scene except the TileMap
Edit TileMap
Add a player scene of type characterBody2D to the duplicated scene
Run the Current Scene
Try to add any node to the Scene
Entire interface freezes and has to be killed in Windows Manager.

### Minimal reproduction project

[Youtube Godot RPG - corrupt.zip](https://github.com/godotengine/godot/files/12894784/Youtube.Godot.RPG.-.corrupt.zip)
Repository: godot
Issue: ViewPortTexture in button freezes system
Labels: bug,topic:rendering,needs testing

### Godot version

v4.1.1.stable.arch_linux

### System information

Arch Linux

### Issue description

In this kind of specific situation that I set up in my test project having a `SubViewportContainer` visible while loading the `SubViewport` as an expanding texture in a button next to it in an `HBoxContainer` the whole system freezes.

### Steps to reproduce

1. Open my test project
2. Get ready to force quit godot (if you don't close it quickly, you might have to reboot)
3. Toggle visibility of the `SubViewportContainer`
![image](https://github.com/godotengine/godot/assets/90388353/e5d8b065-0626-4cea-a2bd-dd1eaae49363)


### Minimal reproduction project

[subviewport_freeze_demo.zip](https://github.com/godotengine/godot/files/12894919/subviewport_freeze_demo.zip)
Repository: godot
Issue: Removing MeshLibrary items breaks existing placed gridmap cells
Labels: bug,topic:editor

### Godot version

4.1.1 stable

### System information

Windows 10

### Issue description

When removing a MeshLibrary item using the remove button by first clicking the name of the Mesh item :
![image](https://github.com/godotengine/godot/assets/16231628/c43f534b-7f63-4a14-8138-e58ab8882378)
then clicking Remove Selected Item:
![image](https://github.com/godotengine/godot/assets/16231628/34d67eec-88d7-4df9-be6e-034a52b55431)

Any existing placed gridmap cells will be completely wrong as all of the IDs are reset.

### Steps to reproduce

- Add some MeshLibrary items
- Place some cells in gridmap
- Click the mesh name in the inspector, then click remove selected item
- The gridmap cells will all have the wrong meshes

### Minimal reproduction project

N/A
Repository: transformers
Issue: [i18n-<kan>] Translating docs to <Kannada>
Labels: WIP

<!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->

Hi!

Let's bring the documentation to all the <Kannada>-speaking community 🌐 (currently 0 out of 267 complete)

Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know in this issue if you'd like to translate any, and we'll add your name to the list.

Some notes:

* Please translate using an informal tone (imagine you are talking with a friend about transformers 🤗).
* Please translate in a gender-neutral way.
* Add your translations to the folder called `<kan>` inside the [source folder](https://github.com/huggingface/transformers/tree/main/docs/source).
* Register your translation in `<kan>/_toctree.yml`; please follow the order of the [English version](https://github.com/huggingface/transformers/blob/main/docs/source/en/_toctree.yml).
* Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue. Please ping @stevhliu and @MKhalusova for review.
* 🙋 If you'd like others to help you with the translation, you can also post in the 🤗 [forums](https://discuss.huggingface.co/).

## Get Started section

- [ ] [index.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/index.md) https://github.com/huggingface/transformers/pull/20180
- [ ] [quicktour.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/quicktour.md) (waiting for initial PR to go through)
- [ ] [installation.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/installation.md).

## Tutorial section
- [ ] [pipeline_tutorial.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/pipeline_tutorial.md)
- [ ]  [autoclass_tutorial.md](https://github.com/huggingface/transformers/blob/master/docs/source/autoclass_tutorial.md)
- [ ]  [preprocessing.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/preprocessing.md)
- [ ]  [training.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/training.md)
- [ ]  [accelerate.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/accelerate.md)
- [ ]  [model_sharing.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/model_sharing.md)
- [ ]  [multilingual.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/multilingual.md)

<!--
Keep on adding more as you go 🔥
-->
Repository: godot
Issue: Crash & Error when moving folder conflics files Overwrite/Keep Both
Labels: bug,topic:editor,needs testing,crash

### Godot version

Godot_v4.2-beta1_win64

### System information

Godot v4.2.beta1 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 31.0.15.3623) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)

### Issue description

I have a folder that got all my images fonts and textures called "Fnt, Img, Tex" and insode of that a folder for each one of these things i have a "textures" folder in there and a duplicate of that folder outside of the "Fnt, Img, Tex" when i try to drag in the duplicate into the "Fnt, Img, Tex" i get the "The following files or folders conflict with items in the target locations" and if i press cancel it works but if i bress Overwrite & Keep Both godot crashes. When trying to replicate same issue in new project im getting an error insteed error moving folder.

### Steps to reproduce

When moving conflicting folderes into same folder godot crashes when clicking overwrite and or keep both.
Cannot replicate it in other project but getting different error when trying to do it with error moving folder.

### Minimal reproduction project

https://github.com/tailsc/Random/blob/main/Conflicsfoldercrash4.2beta.rar
Repository: TypeScript
Issue: Unrelated interface causes assignability to change 
Labels: Needs Investigation

### 🔎 Search Terms

 5.3 regression 

### 🕗 Version & Regression Information

- This changed between versions 5.3.0-dev.20230823 and 5.3.0-dev.20230824


### ⏯ Playground Link

[Playground Link](https://www.typescriptlang.org/play?ts=5.3.0-dev.20230824#code/KYDwDg9gTgLgBAbzgXwFAEsB2NhQGYCGAxsHALIFgA8AagHxyg6YAmAznAMIQA2PwRGOgiZaDBKjhS4eHgRgVqNMnQAUASgBc5SrRUBuVGgzZchEl179Bw0fUSTpANwI8ArsG019cAPS+4NjAoLABrfkCIAFtSIggXEIJMEkcpKMptRTFDaTg45PkNbW4+ASERKjdMUMwIAHdMOhzpWXlFIstSmwr6ZqlWhV1lNS1O63K7AyNUVH9LKJjsOAg3eCSWOHR4OuhQjh50UNIsOABWADoAJhMcfGJSAGlgAE9gDaZgVg4S8dsqTDcUQARrhxKk8iIiIVRk9XixDMYYM8wKQAEpwAC8OmomGATlBjBAzHYYzKfyweFwcHsAH5qXBtAAiAByAHlGYZUPk2PAoJi4AC+ABCOAEDiowzc+AwJlsxn8qCc1BAA)

### 💻 Code

```ts
export { }
interface Map<V> extends Collection<V> {
    flatMap<VM>(): Map<VM>;
}

interface Collection<V> {
    value: V; // sprinkle some covariance
    map: Map<V>;
    concat(): Collection<unknown>;
    flatMap(): Collection<V>;
    flatMap<VM>(): Collection<VM>;
}

// Comment out and it works like in 5.2
interface Keyed extends Collection<number> {
    concat(): Keyed;
}

type R = Map<never> extends Collection<infer V> ? V : "NO";

const r = null! as R;
const t: "NO" = r;
```


### 🙁 Actual behavior

R is `unknown`. Removing `Keyed` makes `R` `"NO"`, even though `Keyed` is unused otherwise. 

### 🙂 Expected behavior

Not really sure. I'd settle for the stable 5.2 behavior, which is for `R` to be `"NO"` although that also seems wrong (Why doesn't `Map<never> extends Collection`? If we remove `flatMap(): Collection<V>` from `Collection` then `Map<never>` extends `Collection`. This seems like the correct behavior.)

### Additional information about the issue

_No response_