sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Isometric tiles atlas creates ghost tiles by default.
Labels: bug,topic:editor,usability,topic:2d

### Tested versions

- Reproducible in: v4.3.stable.official [77dcf97d8]
- Non reproducible in: v4.2 (as TileMapLayer does not exist)

### System information

Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3050 Ti Laptop GPU (NVIDIA; 32.0.15.6094) - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)

### Issue description

I tried adding a simple isometric tile to the atlas, with the following configurations:

![imagen](https://github.com/user-attachments/assets/a412cf87-1e29-4339-ab84-d1828119eaae)

And also, the tileSet config is: 

![imagen](https://github.com/user-attachments/assets/c48814a7-f421-4da8-b8c9-40851e036b6d)

As you can see, a weird ghost tile is created beneath the actual one. This ghost tile cannot be selected, erased, or modified at all, but it is there. The proof to that is that, when you try to run this, without any tile added to the scene, it tries to collect the atlas index for that ghost tile and an error is raised:

> E 0:00:00:0638   create_tile: Cannot create tile. The tile is outside the texture or tiles are already present in the space the tile would cover.
  <C++ Error>    Condition "!room_for_tile" is true.
  <C++ Source>   scene/resources/2d/tile_set.cpp:4963 @ create_tile()
> E 0:00:00:0638   has_alternative_tile: The TileSetAtlasSource atlas has no tile at (0, 1).
  <C++ Error>    Condition "!tiles.has(p_atlas_coords)" is true. Returning: false
  <C++ Source>   scene/resources/2d/tile_set.cpp:5400 @ has_alternative_tile()
> E 0:00:00:0638   create_alternative_tile: TileSetAtlasSource has no tile at (0, 1).
  <C++ Error>    Condition "!tiles.has(p_atlas_coords)" is true. Returning: TileSetSource::INVALID_TILE_ALTERNATIVE
  <C++ Source>   scene/resources/2d/tile_set.cpp:5348 @ create_alternative_tile()



### Steps to reproduce

1.- Create a new project, add a TileMapLayer node as the main scene.
2.- Add the TileSet to the node, and configure the following params:
![imagen](https://github.com/user-attachments/assets/c48814a7-f421-4da8-b8c9-40851e036b6d)
3.- Add a single tiled texture as the tile atlas of the TileSet.
4.- Configure the following params for the texture:
![imagen](https://github.com/user-attachments/assets/a412cf87-1e29-4339-ab84-d1828119eaae)
5.- Run

### Minimal reproduction project (MRP)

N/A
Repository: neovim
Issue: Segfault when printing in cmdheight=0 and then switching to another tabpage with different cmdheight
Labels: bug-crash,messages

### Problem

If you print in a tabpage with `cmdheight=0` and then switch to another tabpage with a different cmdheight before a redraw happens then segfault.

### Steps to reproduce

```vim
nvim --clean
:lua t=vim.api.nvim_get_current_tabpage() vim.cmd.tabnew() vim.o.cmdheight=0 print('t') vim.api.nvim_set_current_tabpage(t)
```

### Expected behavior

No segfault.

### Nvim version (nvim -v)

0.11.0-dev-dd4c828

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

N/A

### Operating system/version

linux 6.11.6-zen1-1-zen

### Terminal name/version

kitty 0.37.0

### $TERM environment variable

xterm-kitty

### Installation

build from repo
Repository: go
Issue: crypto/x509: malformed signature algorithm identifier error while version and serialNumber swapped
Labels: NeedsInvestigation

### Go version

go version go1.23.2 linux/amd64

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''

GOARCH='amd64'

GOBIN=''

GOCACHE='/home/liu/.cache/go-build'

GOENV='/home/liu/.config/go/env'

GOEXE=''

GOEXPERIMENT=''

GOFLAGS=''

GOHOSTARCH='amd64'

GOHOSTOS='linux'

GOINSECURE=''

GOMODCACHE='/home/liu/go/pkg/mod'

GONOPROXY=''

GONOSUMDB=''

GOOS='linux'

GOPATH='/home/liu/go'

GOPRIVATE=''

GOPROXY='https://proxy.golang.org,direct'

GOROOT='/snap/go/10730'

GOSUMDB='sum.golang.org'

GOTMPDIR=''

GOTOOLCHAIN='auto'

GOTOOLDIR='/snap/go/10730/pkg/tool/linux_amd64'

GOVCS=''

GOVERSION='go1.23.2'

GODEBUG=''

GOTELEMETRY='local'

GOTELEMETRYDIR='/home/liu/.config/go/telemetry'

GCCGO='gccgo'

GOAMD64='v1'

AR='ar'

CC='gcc'

CXX='g++'

CGO_ENABLED='1'

GOMOD='/dev/null'

GOWORK=''

CGO_CFLAGS='-O2 -g'

CGO_CPPFLAGS=''

CGO_CXXFLAGS='-O2 -g'

CGO_FFLAGS='-O2 -g'

CGO_LDFLAGS='-O2 -g'

PKG_CONFIG='pkg-config'

GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build578094757=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

Use x509.ParseCertificate to parse the der certificate.
The version and serial number of the certificate are swapped.
![image](https://github.com/user-attachments/assets/b2a0c02e-f24a-4f73-add5-e31ef48f5c4b)
[case.zip](https://github.com/user-attachments/files/17687673/case.zip)


### What did you see happen?

Parse error:malformed signature algorithm identifier




### What did you expect to see?

Swap the positions of serialnumber and version, and the value of serialnumber is the same as version. Since the type of version is OPTIONAL[0] + INTEGER, and the type of serialnumber is INTEGER, the invalid version should be checked first instead of throwing an alformed signature algorithm identifier.
Repository: neovim
Issue: Way to get tabpage local option
Labels: api,bug-vim,complexity:low,options

### Problem

There is no way (to my knowledge) to get a tabpage local option without switching to that tabpage **directly**.

<details><summary>example code of trying to get tabpage local option another way</summary>

```lua
---SETUP
vim.o.cmdheight=1
vim.cmd.tabnew()
vim.o.cmdheight=0
local tabpage=vim.api.nvim_get_current_tabpage()
vim.cmd.tabprevious()
---SETUP END
assert(tabpage~=vim.api.nvim_get_current_tabpage(),'Current tabpage is different than wanted tabpage')
vim.api.nvim_win_call(vim.api.nvim_tabpage_get_win(tabpage),function()
  assert(tabpage==vim.api.nvim_get_current_tabpage(),'Current tabpage is same as wanted tabpage')
  -- This is probably a bug, as with window/buffer local options, they return current windows/buffers local option
  assert(vim.opt_local.cmdheight:get()==0,'Local option is same as wanted tabpage local option')
end)
```
</details> 

### Expected behavior

Make it so that `nvim_get_option_value` can take a `tabpage` parameter to return tabpage local options.
Possibly implement `vim.to`

**Worth the cost?**
To my knowledge, there's only one tabpage local option: `cmdheight`, so it wouldn't be that useful.
Repository: vscode
Issue: Accept Current Change / Accept Incoming Change: add tooltip
Labels: feature-request,ux,merge-conflict

<!-- ⚠️⚠️ 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 doing a merge or rebase you may get merge conflicts.

In VS Code this is presented with a window showing "Accept Current Change" and "Accept Incoming Change".

It may be helpful if it told you, in parenthesis or with a tooltip, which branch each is so you can differentiate them.
Repository: yt-dlp
Issue: Add a section with mostly used options to help new users 
Labels: docs/meta/cleanup,help-wanted,wiki

### 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 feature unrelated to a specific site
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [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)

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

There are too many options in the list to navigate, we need a section with mostly used/important options for new users to get started quickly.
Example: -f 'bv*+ba' -o %(title)s %(uploader)s %(upload_date)s %(ext)s

### Provide verbose output that clearly demonstrates the problem

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

### Complete Verbose Output

_No response_
Repository: PowerToys
Issue: Key/shortcuts remappings randomly/specifically not working
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

The remapping sometimes not working, but I can assure everytime after I opened WeChat (Whatever Windows Store or Web downloaded version or its test build), the remapping stopped to work. After I restart PowerToys it's worked again.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: godot
Issue: Inconsistent behavior for MeshInstance3D (Visibility Range) when OmniLight3D and DirectionalLight3D create Shadows
Labels: bug,topic:rendering,confirmed,topic:3d

### Tested versions

4.3 stable, 4.4dev4

### System information

Linux

### Issue description

Using Visibility Range Begin and End to hide an Object always creates a shadow for OmniLight3D, even if the camera is far away and the Object becomes hidden by the set Visibility Range.  DirectionalLight3D only creates a shadow for the object if it was not hidden by Visibility Range.

Use case:
This is an issue for me because I would like to keep using Visibility Range to hide a 3D objects Mesh so it only creates a shadow but is not visible to the user. There is no LightOccluder3D Node in Godot and setting the Mesh transparency = 1.0 has been a performance drain (I use many light blocker mesh instances)

### Steps to reproduce

Set a MeshInstance3D Visibility Range between 1.0 and 2.0 and zoom in and out with the camera and take note of the shadow on the floor (OmniLight3D = always shadow, DirectionalLight3D = shadow only if mesh is visible). The behavior is present in the editor and when running the project.

### Minimal reproduction project (MRP)


[lightingtest.zip](https://github.com/user-attachments/files/17688518/lightingtest.zip)
Repository: kubernetes
Issue: [Flaking Test] `TestSelectableFields` is flaky
Labels: sig/api-machinery,triage/accepted

found in https://github.com/kubernetes/kubernetes/pull/128722#issuecomment-2466253700

also seen in https://storage.googleapis.com/k8s-triage/index.html?pr=1&text=TestSelectableFields
Repository: TypeScript
Issue: `[...T[], T]` does not extend `[T, ...T[]]`
Labels: Help Wanted,Possible Improvement

### 🔎 Search Terms

homogeneous tuple, non-empty array, assert not empty

### 🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about array/tuple

### ⏯ Playground Link

https://www.typescriptlang.org/play/?jsx=0&ts=5.7.0-beta#code/C4TwDgpgBAKhDOwoF4oG0B0WCMaC6ANFNnlBAB7AQB2AJvOtkVhrnqQPxTABOArtABcUAGYBDADbwIAbgBQAegVQVAPQ5zNAYwD21RFACW8AKIBbMKBRQAPDAB8ACnLxhMfAEphLow3wp7KABCFwwJGgBzYAALOV19JAkxA1Q7JxdhNBhmLHd2DwCoFzRQ8Ooo6KgAWmI8eTlQSCgAMR0da38AH3RqPjMAIwgeHIxegaH8OrlaCC0knmh4gwyWtvkZubEFqCWkEFcoMcGefE1DEUcg43NLEGd4DwKAbzkVFV2oAC8D1vbUTCw+yISUQ9w8pGSOz0iHkAF8gA

### 💻 Code

```ts
type Test = [...1[], 1] extends [1, ...1[]] ? true : false;
//   ^? type Test = false
```

In context:
```ts
const isEmpty = <T>(xs: T[]): xs is [] => !xs.length
const last = <T>(xs: [T, ...T[]]) => xs[xs.length - 1];

type Foo = [] | [number, ...number[]];
declare const xs: Foo;
declare const ys: number[]

if(!isEmpty(xs)) {
    const zs: Foo = [...ys, last(xs)] as const;
//        ~~
// Type '[...number[], number]' is not assignable to type 'Foo'.
//  Type '[...number[], number]' is not assignable to type '[number, ...number[]]'.
//    Source provides no match for required element at position 0 in target.(2322)
}
```


### 🙁 Actual behavior

For a homogeneous tuple, `[...T[], T]` and `[T, ...T[]]` are the same thing.

TS fails to recognise that in the in-context example: it is saying that `[...ys, last(xs)]` could be missing a required `number` but it can't because `last(xs)` is the required `number` that it is looking for. The only issue is that it is of type `[...number[], number]` and since `[...T[], U]` is not the same thing as `[T, ...U[]]`, It chokes.

### 🙂 Expected behavior

`Test` should be `true` and `zs: Foo` should not be a type error.

### Additional information about the issue

I wish `!isEmpty` could narrow `T[]` to `[T, ...T[]]`.

Using a `isNotEmpty` helper with `Foo` defined as `number[]` would solve this specific case but in the wild it would force me to call it like so `!isNotEmpty(xs)` in many places, which is terrible for readability.

It would be possible in the in-context example to define `Foo` as `[] | [number, ...number[]] | [...number[], number]` and `last` as `<T>(xs: [T, ...T[]] | [...T[], T]) =>T` but nobody in the world is doing that and I would be splitting hair alone in my basement not being able to use any library. 

I think I trip over this more often in recursive logic.
Repository: transformers
Issue: `DataCollatorForMultipleChoice` exists in the docs but not in the package
Labels: Documentation,Feature request

### Feature request

Move the `DataCollatorForMultipleChoice` implementation from the docs to `transformers.data.data_collator.py`.

### Motivation

The [`transformers` docs](https://huggingface.co/docs/transformers/tasks/multiple_choice) provide all collator code needed to run `ForMultipleChoice` fine-tuning for datasets like SWAG. The docs say that *"`transformers` doesn’t have a data collator for multiple choice, so you’ll need to adapt the `DataCollatorWithPadding` to create a batch of examples"*, but... why? Why not add the code given in the docs to the package? It's the same repo...

https://github.com/huggingface/transformers/blob/a06a0d12636756352494b99b5b264ac9955bc735/docs/source/en/tasks/multiple_choice.md?plain=1#L115-L160

### Your contribution

None, the code is already there.
Repository: angular
Issue: Can I use "Angular" in my product name?
Labels: hotlist: devrel,area: docs

Hello everyone! Not sure where else I can ask this, but I would like to know if I am allowed to use "Angular" as part of the name of a commercial product? Do I need legal permission to do so?

I also wanted to ask if I am allowed to use Angular styles in my app, like colors, fonts, padding and margins and so on.

I've already seen this page: https://angular.dev/press-kit, but Angular is also a registered trademark (https://www.trademarkia.com/angular-90051986), so I wanted to consult the community before using it as a part of the product's name commercially.

Thank you for your help!

Best Regards
Viktoriia
Repository: react
Issue: Bug: Change status variable type
Labels: Status: Unconfirmed

I noticed the status variable in the ReactPromise function of the ReactFlightClient file, is of type any.

If the status is always of type String, it would be a good idea to replace `any` with `string`. This helps provide stronger type checking, reduces the risk of bugs, and improves code readability.

[ReactFlightClient.js](https://github.com/facebook/react/blob/main/packages/react-client/src/ReactFlightClient.js)
line: 206

![function](https://github.com/user-attachments/assets/34d5db34-4d29-4f3b-810f-7518c964a99b)
Repository: vscode
Issue: ${env:path} not evaluted in "terminal.integrated.env.windows" if ${workspaceFolder} doesn’t exist
Labels: bug,confirmation-pending,terminal-process

<!-- ⚠️⚠️ 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.95.2
- OS Version: Windows 10 22H2

### Steps to Reproduce:

Using this settings when opening VSCode with no folder opened in it.
```json
  "terminal.integrated.defaultProfile.windows": "PowerShell",
  "terminal.integrated.env.windows": {    
    "PATH": "${workspaceFolder}\\node_modules\\.bin;${env:path}"
  },
```
will result:
![Image](https://github.com/user-attachments/assets/94f9d274-7a6f-45e2-a832-4d64333baeba)
because `${workspaceFolder}` doesn’t exist.

Using something like `"PATH": "c:\\any\\other\\path\\bin;${env:PATH}"` will work fine.

### Suggestion
If `${workspaceFolder}` can not be evaluated, pass it as a string and continue to try to evaluate other variables in `"PATH"`.
Repository: rust
Issue: Tracking Issue for `io_slice_as_bytes`
Labels: T-libs-api,C-tracking-issue


Feature gate: `#![feature(io_slice_as_bytes)]`

This is a tracking issue for getting the underlying slice out of an `IoSlice`/`IoSliceMut`

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
// std::io

impl<'a> IoSlice<'a> {
    pub const fn as_slice(self) -> &'a [u8] {
}

impl<'a> IoSliceMut<'a> {
    pub const fn into_slice(self) -> &'a mut [u8];
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] ACP: https://github.com/rust-lang/libs-team/issues/93
- [x] Implementation: #132790
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: PowerToys
Issue: Request advanced mouse utilities: Virtual Border for mouse during multi-screen enabled
Labels: Needs-Triage

### Description of the new feature / enhancement

The utilities I wish to have is one enhanced mouse tools:
- the virtual border for each connected screen (temp. name: Virtual Border).
    - this is a limit for mouse preventing mouse moved to other enabled screens unexpected, for those who currently just need to work in one screen but need another screen also enabled (for example, another screen is showing a reference)
    - this can be triggered on by keyboard shortcut or by focused window (application or window title name (better supported with regex))


### Scenario when this would be used?

*using the temporary name to target the new requested functions.*

### Virtual Border
Sometimes I need to keep working and operating windows in one exactly screen, but sometimes the mouse suddenly moved to other screen, maybe a mistake, maybe caused by thoughtless, maybe by even more other situations. I just hope when I triggered the function on, the mouse will stay in the screen where it located right now as if I'm just currently using this one screen.
Then why don't I disconnect other screen? Well, other screen can be my place to show some dynamic-able reference, I need it connected to main machine and powered on. It's also a kind of usage.



### Supporting information

well, many of us using multi screen, right?
but currently I can only represent myself :P
Repository: ui
Issue: [bug]: Sidebar horizontal scroll bar appear when expand
Labels: bug

### Describe the bug

When the sidebar transitions from collapsed to expanded state, a horizontal scrollbar briefly appears for about 1 second during the animation. This creates an undesirable visual effect and slight layout shift.


### Affected component/components

- Sidebar - SidebarContent

### How to reproduce

1. Implement the Sidebar component with collapsible functionality
2. Set the initial state to collapsed
3. Click the toggle button to expand the sidebar
4. Observe the brief appearance of a horizontal scrollbar during the expansion animation


### Codesandbox/StackBlitz link

import { Sidebar, SidebarContent, SidebarTrigger } from "@/components/ui/sidebar" export default function Demo() { return ( <SidebarProvider> <Sidebar> <SidebarContent> {/ Content that might cause overflow /} <div className="w-full"> <p>Some content here...</p> </div> </SidebarContent> </Sidebar> <SidebarTrigger /> </SidebarProvider> ) }

### Logs

_No response_

### System Info

```bash
- Browser: Chrome, Firefox, Safari (issue appears in all major browsers)
- OS: Cross-platform issue
- React version: 18.x
- Next.js version: 15.x
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: angular
Issue: Export signalAsReadonlyFn
Labels: area: core,core: reactivity,cross-cutting: signals

### Which @angular/* package(s) are relevant/related to the feature request?

@angular/core

### Description

Please consider exporting [signalAsReadonlyFn](https://github.com/angular/angular/blob/bc5aa3ceda035b3a2d9b6edda7b7537c2270ced8/packages/core/src/render3/reactivity/signal.ts#L98C17-L98C35) as part of the [reactivity export](https://github.com/angular/angular/blob/bc5aa3ceda035b3a2d9b6edda7b7537c2270ced8/packages/core/src/core_reactivity_export_internal.ts#L13).  This would be useful for anybody trying to create a their own custom signals such as with https://github.com/DDtMM/angular-signal-generators, and seems reasonable since its used in your own experimental signal, linkedSignal.

### Proposed solution

Add _signalAsReadonlyFn_ to the list of exports in core_reactivity_export_internal from ./render3/reactivity/signal.

### Alternatives considered

Writing my own version of this function, which I have.  I just hate recreating the wheel.