sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: Dynamic component setInput does not respect internal input value changes (signal based inputs/model)
Labels: area: core,core: dynamic view creation,core: reactivity

### Which @angular/* package(s) are the source of the bug?

core

### Is this a regression?

Yes

### Description

I am trying to switch to signal based inputs with dynamic components.
I use model as input (because input is read only and can't be changed).
` open = model<boolean>();`

A close() method (on dialog close click) calls:
`this.open.set(false);`

It all works as intended.
However, when i try to open the dialog again, using:
`this.componentRef.setInput('open', state);`
It fails. Because it still sees it as true and does not update the signal value.

If i add 
```
this.componentRef.setInput('open', false);
this.componentRef.setInput('open', true);
```
It works - because i explicitly set it to false first with setInput - but fails if signal model is updated internally.

Why does it not check against the signal real value, why does it still assume it is true? Is there some internal change detection layer that does not respect the signal changes inside the component?

`...instance.open.set(state);` works - but direct instance manipulation is not recommended.


### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/angular-awwtth?file=src%2Fapp%2Fapp.component.ts

### Please provide the exception or error you saw

```true

```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 18.2.11
Node: 20.15.1
Package Manager: npm 10.7.0
OS: linux x64

Angular: 18.2.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.11
@angular-devkit/build-angular   18.2.11
@angular-devkit/core            18.2.11
@angular-devkit/schematics      18.2.11
@angular/cdk                    18.2.11
@angular/cli                    18.2.11
@schematics/angular             18.2.11
ng-packagr                      18.2.1
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10
```

### Anything else?

_No response_
Repository: ui
Issue: [bug]: Canary CLI monorepo doesn't Install dependencies in right place 
Labels: bug

### Describe the bug

I've tried the new Canary CLI monorepo to initialize a new project and add a component, but the dependencies are being installed in the wrong location. They are being installed in the web application instead of the ui package. 

### Affected component/components

All

### How to reproduce

1. Initialize a new project using the Shadcn CLI with monorepo:
```bash 
pnpm dlx shadcn@canary init
```
1.2  Picking the monorepo option
```bash
? Would you like to start a new project?
    Next.js
❯   Next.js (Monorepo)
```
2. Add a component to the project (e.g., a button or dialog).
```bash
pnpm dlx shadcn@latest add dialog -c apps/web
```
3. Run pnpm install
```
pnpm i
``` 
5. Observe that the Radix packages are either missing or not installed in the incorrect place.

### Codesandbox/StackBlitz link

https://codesandbox.io/p/github/davidFeldqwe/mono-repo-shadcn-demo/main?import=true

### Logs

_No response_

### System Info

```bash
macOS, chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: vscode
Issue: copilot-debug terminal integration breaks python venv activation
Labels: bug,terminal-env-collection

- Copilot Chat Extension Version: 0.23.2
- VS Code Version: 1.96.2
- OS Version: Windows 11
- Logs:

Steps to Reproduce:

1. Start with a clean VSCode profile
2. Install the [python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
3. Create a virtual environment and set it as the python interpreter
4. Open a new terminal and run `(get-command python).Source` (or equivalent for your shell): it should point to the python interpreter from the virtual environment, because the Python extension activates the environment for you and prepends it to `env:PATH`
5. Now, install Copilot Chat and restart VSCode
6. Open a new terminal and re-run `(get-command python).Source`: this time, it should point to the global python interpreter.

The issue seems to be that both Python extension and Copilot Chat seem to be trying to modify the PATH at the same time, probably overriding each others changes (even if in my case, Copilot Chat seems to always override Python).

Even worse, Copilot Chat seems to completely ignore the `"github.copilot.chat.copilotDebugCommand.enabled": false` setting, with the extension *still* trying to add features to the terminal.
**EDIT:** Adding a separate issue for this, microsoft/vscode-copilot-release#3499
Repository: vscode
Issue: Git - remote name should be considered when checking out a branch
Labels: bug,git

<!-- ⚠️⚠️ 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. -->
Please correct me if this is something that's already possible, but I couldn't find any way to do this.

I frequently work in codebases that have multiple remotes, all of which have identical branch names (dev, main, etc.). When I check one of those branches out (say, `origin_a/dev`), my local branch is just named 'dev'. If I try to checkout another branch (say, `origin_b/dev`), the checkout fails because there's already a local branch called 'dev'. I know I can manually rename the existing branch before checking out the second one, but it's a pain to have to remember to do every time. It would be nice to be able to automatically prepend the origin name to the local branch name (with a setting to turn it on/off), or a setting similar to `git.branchPrefix` where you can specify what you'd like to prepend when cloning a branch.
Repository: vscode
Issue: Support variable fonts in the editor
Labels: feature-request,editor-core

Related to https://github.com/microsoft/vscode/issues/147067

The issue above will be used to track variable line heights only

This issue is about tracking the feature of variable fonts (font-family, font-size etc) in the editor
Repository: transformers
Issue: RagTokenizer Missing patch_token_id, patch_token, and encode Functionality
Labels: Feature request

### Feature request

I propose adding the following functionalities to the RagTokenizer in the Hugging Face Transformers library:

Support for patch_token_id and patch_token attributes: These attributes are essential for specifying special tokens that can be used during tokenization, particularly for Retrieval-Augmented Generation (RAG) models.
Implementation of the encode function: This function is critical for converting input text into token IDs, which are a standard input for Transformer-based models.
These additions would bring RagTokenizer in line with other tokenizers in the library, making it easier to use in preprocessing pipelines for training and inference.

Paper reference: [RAG: Retrieval-Augmented Generation](https://arxiv.org/abs/2005.11401)
Current RagTokenizer documentation: Hugging Face Transformers

### Motivation

The absence of the patch_token_id, patch_token, and encode functionalities in RagTokenizer introduces several limitations:

It is challenging to preprocess data for RAG models without a way to specify and use special tokens like patch_token.
The lack of an encode function makes it cumbersome to tokenize text into input IDs, which is a critical step for training and inference. This is a deviation from the expected behavior of tokenizers in the Transformers library.
This can cause confusion and inefficiency for users accustomed to the functionality available in other tokenizers like BertTokenizer or GPT2Tokenizer.
Addressing these issues will make RagTokenizer more consistent with the rest of the library and improve usability in RAG-related workflows.

### Your contribution

I am willing to contribute by:

Submitting a Pull Request (PR) to implement these functionalities, given guidance on the expected behavior and the existing code structure.
Writing unit tests to verify the behavior of the patch_token_id, patch_token, and encode functionalities.
Updating the documentation to reflect these changes.
Let me know if this aligns with your vision for the RagTokenizer, and I’d be happy to assist further!

cc @ArthurZucker @itazap
Repository: vscode
Issue: Overlapping borders in Edits view with transparent input box theme
Labels: bug,panel-chat,chat

- Install the theme "Poimandres"

<img width="410" alt="Image" src="https://github.com/user-attachments/assets/e08dec95-aa25-4acf-8591-f3c9c163700e" />

The input-background color is transparent so the chat view looks a bit messed up. Maybe there are no other inputs layered on other elements with different colors elsewhere in vscode? We need an opaque element to obscure the border.
Repository: ant-design
Issue: Customizable progress bar for Notification
Labels: unconfirmed

### What problem does this feature solve?

The recently added progress bar for Notification is great, and it would be even better if we could customize it. 

When we want to have different progress bars for different types of notification (success, warning, error), it would be great to have at notification.open() a possibility to override the current color.

### What does the proposed API look like?

notification.open({
      key: notificationKey,
      duration: 5,
      message: options.title,
      description: options.content,
      type: options.notificationType,
      pauseOnHover: true,
      showProgress: true,
      progressColor: '#FFFFFF'
})

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: [GDExtension] Binding to custom added GDScript virtual methods, causes method definition duplication
Labels: documentation,topic:gdextension

### Tested versions

Reproducible in: v4.3.stable.official [77dcf97d8] (windows only)
Not reproducible on Linux
Mac remains untested.

### System information

Godot v4.3.stable - Windows 10

### Issue description

When trying to return a default value/having base logic for these virtual methods, I discovered it might seem that the windows version of Godot does not handle their definitions properly in the editor.
I seem to generate duplicate methods, however one is virtual and the other is not.
One can check the auto generated documentation, that both of them are there.
Not only, but when trying to override the method, the editor will throw an error and refuse to run the game.

On linux, this seems to work fine. When compiling the extension for linux; I only get one virtual method.
So I assume that this is how the feature is supposed to work.

If more information is needed let me know.

### Steps to reproduce

One sets up a normal GDExtension project.
Then create a class with one method in c++. (We will call it `foo()`)
In the `_bind_methods()` method, add a virtual method. And call the method foo.
Then bind that function normally with `ClassDB::bind_method` to the c++ method
Now compile just as normal, for windows.
Check the documentation of the class you just created, you will see two methods. (one virtual and one not)


Simple code extract:
```cpp
// bar.hpp
#include <godot_cpp/classes/object.hpp>

using namespace godot;

class Bar : public Object {
GDCLASS(Bar, Object)

protected:
  static void _bind_methods();

  int foo();
}
```

```cpp
// bar.cpp
#include "bar.hpp"

void Bar::_bind_methods() {
  // adds a new virtual method called foo
  ClassDB::add_virtual_method(get_class_static(), MethodInfo(Variant::INT, "foo"));
  // binds to the newly added virtual method foo
  ClassDB::bind_method(D_METHOD("foo"), &Bar::foo);
}

int Bar::foo() {
  return -1;
}
```

```gdscript
extends Bar

# overriding will cause an error
func foo() -> int:
  return 10
```

### Minimal reproduction project (MRP)

[virtual_method_bug.zip](https://github.com/user-attachments/files/18321553/virtual_method_bug.zip)
Repository: PowerToys
Issue: VSCodeHelper: Add support for Cursor
Labels: Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

Currently the VSCode plugin for Run checks for specific "VS Code" strings. I believe if Cursor strings could be added then support could be easily added for Cursor.

### Scenario when this would be used?

If you have Cursor installed, you'd be able to see paths that are in Cursor just like you can with VSCode.

### Supporting information

`VSCodeInstances.cs` would need support for the various Cursor strings.
Repository: tauri
Issue: [bug] App data directory does not resolve to correct path
Labels: type: bug,status: needs triage

### Describe the bug

[appDataDir](https://v2.tauri.app/reference/javascript/api/namespacepath/#appdatadir) does not resolve to the correct path on each platform. The resolved path _should exist_ without having to create it.

See example below for macOS, iOS and Android.
 
**macOS**:
`/Users/johndoe/Library/Application Support/com.company.appname`

**iOS**:
`/Users/johndoe/Library/Developer/CoreSimulator/Devices/6C6435C0-2956-46E4-B7EE-006D5C14770A/data/Containers/Data/Application/5537853B-26D5-4B30-B99E-373146D19848/Library/Application Support/com.company.appname`

**Android**:
`/data/user/0/com.company.appname`



### Reproduction

Use the [appDataDir](https://v2.tauri.app/reference/javascript/api/namespacepath/#appdatadir) API from @tauri-apps/api.

### Expected behavior

**macOS**
- Unsigned applications typically store application data under: `~/Library/Application Support/[App Name]`
- Signed (sandboxed) macOS applications have directories located under the ~/Library/Containers folder. E.g. `~/Library/Containers/[Bundle Identifier]/Data/[Subfolder]`

**iOS**
- Sandbox paths are managed by the system and vary for each app. Each app gets its unique directory under /var/mobile/Containers E.g. `/var/mobile/Containers/Data/Application/[UUID]/[Subfolder]`

### Full `tauri info` output

```text
[✔] Environment
    - OS: Mac OS 15.2.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 22.12.0
    - pnpm: 9.15.2
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1 (outdated, latest: 2.2.0)
    - @tauri-apps/cli : 2.1.0 (outdated, latest: 2.2.2)

[-] Plugins
    - tauri-plugin-http 🦀: 2.2.0
    - @tauri-apps/plugin-http : 2.2.0
    - tauri-plugin-sql 🦀: 2.2.0
    - @tauri-apps/plugin-sql : 2.2.0
    - tauri-plugin-os 🦀: 2.2.0
    - @tauri-apps/plugin-os : 2.0.0 (outdated, latest: 2.2.0)
    - tauri-plugin-fs 🦀: 2.2.0
    - @tauri-apps/plugin-fs : 2.2.0
    - tauri-plugin-upload 🦀: 2.2.1
    - @tauri-apps/plugin-upload : 2.2.1
    - tauri-plugin-log 🦀: 2.2.0
    - @tauri-apps/plugin-log : 2.0.1 (outdated, latest: 2.2.0)

[-] App
    - build-type: bundle
    - CSP: default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost
    - frontendDist: ../dist
    - devUrl: http://localhost:5173/
    - framework: Vue.js
    - bundler: Rollup
```


### Stack trace

_No response_

### Additional context

#5263
Repository: excalidraw
Issue: [API - feature request] Be able to create ExcalidrawElementSkeleton from "Excalidraw library" programatically
Labels: enhancement,package:excalidraw

Hi, I'm exploring to programmatically generate KSTD diagrams using the excalidraw API [excalidraw-element-skeleton](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton).

Currently, only the native excalidraw types (shapes, text, lines, arrows & bindings) can be created, but no pre-defined object groups.

My library consists of rather complex components, and I would like to generate diagrams like e.g.
![Image](https://github.com/user-attachments/assets/a0dc1756-d8f1-4c55-9d96-237aaaa749cd)

Is this a feature that can be implemented?
That would be great for me regarding future plans for my project.
Repository: vscode
Issue: Ability to close and folders to reduce resource consumption in multi-root workspaces
Labels: feature-request,workbench-multiroot

<!-- ⚠️⚠️ 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. -->

I want to re-open this feature request that was closed in 2019:

https://github.com/microsoft/vscode/issues/63963

It has reached 20+ votes, so I thought about giving it one more shot for the vscode team to take a look at this.

TL;DR:

> Eclipse has a concept of closing and opening projects. Closed projects are still part of the workspace but no files are visible from that project and essentially reduces the resources Eclipse consumes. Also help avoid the clutter (when search for something across workspace or opening file etc).

> Vscode has feature called remove folder from workspace but it completely removes it. If we need it back, we need to browser for it and add it.

> I would like to request to add feature to close and open folders similar to Eclipse.

Thank you!
Repository: ollama
Issue: Manual linux install: runners/cuda_v11_avx/ollama_llama_server: undefined symbol: ggml_backend_cuda_reg
Labels: bug

### What is the issue?

Tried to update with the manual Linux install (and making sure I deleted lib/ollama first) and got this error:
runners/cuda_v11_avx/ollama_llama_server: undefined symbol: ggml_backend_cuda_reg

Looks like it may have been fixed for the cuda_v12 runner in #8166 

Maybe just an oversight in the build for the cuda 11 runner?

0.5.1 (before the lib restructure) seems to work fine.

Thanks


### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.5.4
Repository: neovim
Issue: shada: don't store jumplist
Labels: enhancement,options,editor-state

### Problem

I use global marks for navigation across neovim instances by using the shada system. However this also means I have to sync the jumplist. Thus when I open nvim instance 2 and jump back with `<C-o>` I accidentally go back to a file previously open in nvim instance 1.

### Expected behavior

Add an option to not store the jumplist in the shada file. E.g. allow `set shada=f1` to enable file marks without needing the `'` option.
Repository: godot
Issue: Syntax highlighting for #region keyword is too loose
Labels: bug,topic:gdscript,topic:editor

### Tested versions

v4.4.dev7.official [46c8f8c5c]

### System information

windows 11

### Issue description

as seen in [this reddit post](https://www.reddit.com/r/godot/comments/1huuq5w/why_did_it_turn_purple_when_i_commented_out_the/):
![Image](https://github.com/user-attachments/assets/8e6ceaef-cfb3-4907-88e7-d71ee458b8a9)

Should only allow for `#region`, with an end of line or a space.

### Steps to reproduce

type `#regionasdasd`

### Minimal reproduction project (MRP)

any
Repository: vscode
Issue: Enable Select Typescript Version command in tsconfig.json
Labels: bug,typescript,good first issue

<!-- ⚠️⚠️ 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. -->

The `Select Typescript Version` command only shows up in the pallet when a `.ts` or `.tsx` file is focussed, but it also concerns `tsconfig.json`.

In my case I was missing an error on [`module`](https://www.typescriptlang.org/tsconfig/#module).
Repository: pytorch
Issue: The axis name set by `torch.export.Dim` is not in ExportedProgram
Labels: oncall: pt2,oncall: export

### 🐛 Describe the bug

```python
import torch

class Model(torch.nn.Module):
    def forward(self, x, y):
        return x + y

dim = torch.export.Dim("batch", min=1, max=6)
ep = torch.export.export(
    Model(),
    (torch.randn(2, 3), torch.randn(2, 3)),
    dynamic_shapes=[{0: dim}, {0: dim}],
)
```
```
ExportedProgram:
    class GraphModule(torch.nn.Module):
        def forward(self, x: "f32[s0, 3]", y: "f32[s0, 3]"):
             # File: /home/titaiwang/pytorch/test_export.py:5 in forward, code: return x + y
            add: "f32[s0, 3]" = torch.ops.aten.add.Tensor(x, y);  x = y = None
            return (add,)
            
Graph signature: ExportGraphSignature(input_specs=[InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='x'), target=None, persistent=None), InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='y'), target=None, persistent=None)], output_specs=[OutputSpec(kind=<OutputKind.USER_OUTPUT: 1>, arg=TensorArgument(name='add'), target=None)])
Range constraints: {s0: VR[1, 6]}
```

The graph module and range constraints still use s0 to represent the dynamic axis.

### Versions

Nightly

Versions of relevant libraries:
[pip3] flake8==6.1.0
[pip3] flake8-bugbear==23.3.23
[pip3] flake8-coding==1.3.3
[pip3] flake8-comprehensions==3.15.0
[pip3] flake8-executable==2.1.3
[pip3] flake8-logging-format==0.9.0
[pip3] flake8-pyi==23.3.1
[pip3] flake8-simplify==0.19.3
[pip3] model-explorer-onnx==0.3.0
[pip3] mypy==1.13.0
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] onnx==1.17.0
[pip3] onnxruntime==1.20.1
[pip3] onnxscript==0.1.0.dev20241216
[pip3] optree==0.13.0
[pip3] pytorch-sphinx-theme==0.0.24
[pip3] pytorch-triton==3.1.0+cf34004b8a
[pip3] torch==2.6.0a0+gitb5b1e94
[pip3] torchaudio==2.5.0a0+b4a286a
[pip3] torchmetrics==1.5.2
[pip3] torchvision==0.20.0a0+945bdad
[pip3] triton==3.2.0
[conda] mkl                       2023.1.0         h213fc3f_46344  
[conda] mkl-include               2023.1.0         h06a4308_46344  
[conda] mkl-service               2.4.0           py311h5eee18b_1  
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] optree                    0.13.0                   pypi_0    pypi
[conda] pytorch-sphinx-theme      0.0.24                    dev_0    <develop>
[conda] pytorch-triton            3.1.0+cf34004b8a          pypi_0    pypi
[conda] torch                     2.6.0a0+gitb5b1e94           dev_0    <develop>
[conda] torchaudio                2.5.0a0+b4a286a           dev_0    <develop>
[conda] torchfix                  0.4.0                    pypi_0    pypi
[conda] torchmetrics              1.5.2                    pypi_0    pypi
[conda] torchvision               0.20.0a0+945bdad           dev_0    <develop>
[conda] triton                    3.2.0                    pypi_0    pypi

cc @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4