sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: @for(ID of IDs; track ID) and NG0956 - provide a way to prevent warning when tracking by item is legit scenario
Labels: area: core,core: control flow

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

core

### Is this a regression?

Yes

### Description

We are rendering nodes:
```
@for(id of ids; track id) {
 <node [id]="id"/>
}
```

<img width="581" alt="image" src="https://github.com/angular/angular/assets/10418323/37f12438-3772-427d-85ac-9a9763f209d1">



But we are getting NG0956 warning:
`...and make sure that it uniquely identifies items in a collection`

I understood is it  usually not good idea to track collection nodes by themselves. 

However, this is exception, because collection is list of IDs of the nodes and "ID" is unique identifier of the node.

Please reconsider the warning. I think the framework should have not thrown this warning if the element of the collection may be unique key (maybe it should throw this warning only when "id" is object and not string / number)



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

_No response_

### Please provide the exception or error you saw

```true
NG0956: The configured tracking expression (track by identity) caused re-creation of the entire collection of size 1. This is an expensive operation requiring destruction and subsequent creation of DOM nodes, directives, components etc. Please review the "track expression" and make sure that it uniquely identifies items in a collection. Find more at https://angular.io/errors/NG0956
```


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

```true
Angular CLI: 18.0.1
Node: 20.9.0
Package Manager: yarn 1.22.19
OS: darwin arm64

Angular: 18.0.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1800.1
@angular-devkit/build-angular   18.0.1
@angular-devkit/core            18.0.1
@angular-devkit/schematics      18.0.1
@angular/cli                    18.0.1
@schematics/angular             18.0.1
ng-packagr                      18.0.0
rxjs                            7.8.1
typescript                      5.4.5
webpack                         5.89.0
zone.js                         0.14.6
```


### Anything else?

...or just provide a way how to halt / mute this warning.
Repository: ant-design
Issue: [feat] 固定表格分页选择器
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

目前的表格分页器在 `position: "topXXX"`   `sticky` 设置下并不会固定在顶部，而是随表格内容一起滚动。允许分页器固定在表头区可以减少大数据量下浏览分页的操作。

### What does the proposed API look like?

配置项：`sticky = "title" | "pagination" | "both"`

可能的最终渲染结果：
```html
<div style="position: sticky">
    <div><!-- original table header --></div>
    <ul><!-- original table pagination --></ul>
</div>
<!-- table body -->
```

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: ui
Issue: [bug]: Website crashes showing "Application error: a client-side exception has occurred (see the browser console for more information)."
Labels: bug

### Describe the bug

When Navigating through the **combobox components** ' the last example which show a form for selecting language when you click on language the website crashes and show this error "**Application error: a client-side exception has occurred (see the browser console for more information).**"


### Affected component/components

Combobox

### How to reproduce

1. Go to Combobox component
2. Navigate to bottom of the page , to the form example showing Select Language Combobox . 
3. Click on "Select language" and the website will show the mentioned error.

### Codesandbox/StackBlitz link

https://ui.shadcn.com/docs/components/combobox

### Logs

```bash
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
```


### System Info

```bash
able to reproduce in Chrome, Brave, and Arc
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: German Crop And Lock link to more info links to italian site
Labels: Issue-Bug,Area-Localization,Needs-Triage,Issue-Translation

### Microsoft PowerToys version

0.81.1

### Utility with translation issue

Crop and Lock

### 🌐 Language affected

German

### ❌ Actual phrase(s)

https://learn.microsoft.com/it-it/windows/powertoys/crop-and-lock

### ✔️ Expected phrase(s)

https://learn.microsoft.com/de-de/windows/powertoys/crop-and-lock

### ℹ Why is the current translation wrong

Links to italian page, rather than the german one
Repository: godot
Issue: Rendering: Shadows Missing or Not Emitted
Labels: platform:android,topic:rendering,needs testing,topic:3d

### Tested versions

4.2.2.stable

### System information

Android 9 - Godot v4.2.2.Stable - Mobile Forward(Gles3), CPU Helio A22(Arm Cortex-A53|64-Bit Architecture), GPU PowerVR GE8300(PowerVR Series8XE (Rogue))

### Issue description

the shadows can't be casted/emitted i checked and tweaked every settings i could but still a no.
![Screenshot_20240613_214713_org godotengine editor v4](https://github.com/godotengine/godot/assets/131466279/a7cf40ee-0f2e-4296-a93d-df033b628c2a)


### Steps to reproduce

I am using Mobile Forward+, it works on Compatibility but not on Mobile Forward GLES3 Renderer 

### Minimal reproduction project (MRP)

[Farmventure.zip](https://github.com/user-attachments/files/15857587/Farmventure.zip)
Repository: pytorch
Issue: GradType: a subset of dtype that is differentiable, containing all float and complex dtypes
Labels: module: docs,module: autograd,triaged,needs research

### 🚀 The feature, motivation and pitch

In the documentation, dtype is often used as a type hint where in actuality only differentiable dtypes are allowed (float and complex). Therefore the request to add GradType, a type that can have a gradient / is differentiable, which encompasses all different float and complex types. This allows type hints to more precisely indicate what is allowed.

I would like to implement this feature myself if accepted. 

### Alternatives

_No response_

### Additional context

_No response_

cc @svekars @brycebortree @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7
Repository: langchain
Issue: Cannot import name 'create_model' from 'langchain_core.runnables.utils'
Labels: 🤖:bug

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[68], line 2
      1 # Build graph
----> 2 from langgraph.graph import END, StateGraph
      4 workflow = StateGraph(GraphState)
      5 # Define the nodes

File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/graph/__init__.py:1
----> 1 from langgraph.graph.graph import END, START, Graph
      2 from langgraph.graph.message import MessageGraph, MessagesState, add_messages
      3 from langgraph.graph.state import StateGraph

File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/graph/graph.py:31
     29 from langgraph.constants import END, START, TAG_HIDDEN, Send
     30 from langgraph.errors import InvalidUpdateError
---> 31 from langgraph.pregel import Channel, Pregel
     32 from langgraph.pregel.read import PregelNode
     33 from langgraph.pregel.types import All

File ~/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langgraph/pregel/__init__.py:46
     36 from langchain_core.runnables.base import Input, Output, coerce_to_runnable
     37 from langchain_core.runnables.config import (
     38     RunnableConfig,
     39     ensure_config,
   (...)
     44     patch_config,
     45 )
---> 46 from langchain_core.runnables.utils import (
     47     ConfigurableFieldSpec,
     48     create_model,
     49     get_unique_config_specs,
     50 )
     51 from langchain_core.tracers._streaming import _StreamingCallbackHandler
     52 from typing_extensions import Self

ImportError: cannot import name 'create_model' from 'langchain_core.runnables.utils' (/Users/UserName/Desktop/Dev/AI-Agent/ai-agent-env/lib/python3.9/site-packages/langchain_core/runnables/utils.py)

### Error Message and Stack Trace (if applicable)

_No response_

### Description

I was trying to import StateGraph from langchain.graph and it kept returning the error of 'create_model' not available in langchain_core.runnables.utils

### System Info

langchain==0.2.5
langchain-community==0.0.13
langchain-core==0.2.7
langchain-text-splitters==0.2.1
Repository: flutter
Issue: Consider providing a more convenient way to specify many `--web-header` values
Labels: c: new feature,tool,c: proposal,P3,team-tool,triaged-tool

### Use case

Previously with PR #136297, providing custom web headers for `flutter run` was made possible.

```
flutter run --web-header=Cross-Origin-Opener-Policy=same-origin --web-header=Cross-Origin-Embedder-Polic=require-corp
```

While this may be useful in some cases, it can be inconvenient to write that header arguments over and over again when doing `flutter run` for the web.

### Proposal

When using libraries the uses web features that require specific HTTP headers like [Rinf](https://github.com/cunarist/rinf), setting HTTP headers in a convenient way is needed.
Repository: PowerToys
Issue: Crop and lock new feature. Just place static crops on top of screen.
Labels: Needs-Triage

### Description of the new feature / enhancement

The feature should work as screendragons (https://www.majorgeeks.com/files/details/screen_dragons.html) 

### Scenario when this would be used?

Sometimes you need to place some crops from webpages or documents or image files placed on top of your screen. The application screendragons does this. I have used it many many times while I was doing online lessons.

Please add this feature to your excellent powertoys.

### Supporting information

I have already written everything. 
Thank you
Repository: transformers
Issue: Add `StatefulDataLoader` support
Labels: Feature request

### Feature request

Add official support for `StatefulDataLoader` as in [torchdata](https://github.com/pytorch/data/tree/main/torchdata/stateful_dataloader) and [datasets](https://huggingface.co/docs/datasets/stream#save-a-dataset-checkpoint-and-resume-iteration).

### Motivation

The StatefulDataLoader from the torchdata package provides a convenient way to recover a dataset iterator that was interrupted, without having to skip the first batches via a naive for loop, which can be time-consuming for extremely large datasets. The `datasets` package now officially supports stateful `IterableDataset` and its combination with `StatefulDataLoader` in [v2.20.0](https://github.com/huggingface/datasets/releases/tag/2.20.0).

Example usage:

```py
from torchdata.stateful_dataloader import StatefulDataLoader
iterable_dataset = load_dataset("deepmind/code_contests", streaming=True, split="train")
dataloader = StatefulDataLoader(iterable_dataset, batch_size=32, num_workers=4)
# checkpoint
state_dict = dataloader.state_dict()  # uses iterable_dataset.state_dict() under the hood
# resume from checkpoint
dataloader.load_state_dict(state_dict)  # uses iterable_dataset.load_state_dict() under the hood
```

To enhance the usability and efficiency of the `Trainer`, it would be highly beneficial for the community if official support for `StatefulDataLoader` could be added. 
This would allow users to easily recover from interruptions and resume training from checkpoints without wasting time on re-iterating over already processed batches.
By integrating `StatefulDataLoader` into the `Trainer`, users can seamlessly handle large datasets and ensure a smooth training process. This feature would greatly improve the overall user experience and make the Trainer more robust and efficient.
We kindly request the development team to consider adding official support for thoese features in the `Trainer`, as it would be a valuable addition to the library and benefit the wider community.
Repository: rust
Issue: Extremely un-informative error when a future that capture the environment is used as Send
Labels: A-diagnostics,T-compiler,A-async-await,AsyncAwait-Triaged,D-confusing

### Code

```Rust
use futures::prelude::future::{join_all, FutureExt};

const THING: () = ();
async fn foo() {
    let updates = [async {}.then(|()| async move {
        &THING
    })];
    join_all(updates).await;
}

fn trouble() -> impl Send {
    foo()
}
```


### Current output

```Shell
error[E0308]: mismatched types
  --> src/main.rs:12:5
   |
5  |       let updates = [async {}.then(|()| async move {
   |  _______________________________________-
6  | |         &THING
7  | |     })];
   | |     -
   | |     |
   | |_____the expected `async` block
   |       the found `async` block
...
12 |       foo()
   |       ^^^^^ one type is more general than the other
   |
   = note: expected `async` block `{async block@src/main.rs:5:39: 7:6}`
              found `async` block `{async block@src/main.rs:5:39: 7:6}`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `test_project` (bin "test_project") due to 1 previous error
```


### Desired output

_No response_

### Rationale and extra context

_No response_

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.79.0 (129f3b996 2024-06-10)
binary: rustc
commit-hash: 129f3b9964af4d4a709d1383930ade12dfe7c081
commit-date: 2024-06-10
host: x86_64-unknown-linux-gnu
release: 1.79.0
LLVM version: 18.1.7

(Happens on nightly too)
```


### Anything else?

The code compiles without the reference, so I'm guessing it's to do with the Future being made "unique" by that even though it doesn't actually contain any "real" captures that should make the closure different.
Repository: rust
Issue: Async code causes error "implementation of `FnOnce` is not general enough" when demanding an `impl Send`
Labels: A-diagnostics,T-compiler,A-async-await,AsyncAwait-Triaged,D-confusing

Credit to @Ciel-MC for discovering this.

I tried this code:

```rust
use futures::prelude::future::{join_all, FutureExt};

fn foo_is_send() -> impl Send {
    foo()
}

static THING: () = ();

async fn foo() {
    let updates = [async { &THING }.then(|_| async {})];
    join_all(updates).await;
}
```

I expected the code to compile without errors. Instead, I got the following compile error:

```rust
   Compiling playground v0.0.1 (/playground)
error: implementation of `FnOnce` is not general enough
 --> src/lib.rs:4:5
  |
4 |     foo()
  |     ^^^^^ implementation of `FnOnce` is not general enough
  |
  = note: closure with signature `fn(&'0 ()) -> {async block@src/lib.rs:10:46: 10:54}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
  = note: ...but it actually implements `FnOnce<(&(),)>`

error: could not compile `playground` (lib) due to 1 previous error
```

Possibly related to #126044

See also #126550, which has similar reproduction code.

### Meta
Tested on the playground with stable (1.79.0) and nightly (1.81.0-nightly (2024-06-15 3cf924b934322fd7b514))
Repository: godot
Issue: Editor stops responding when generating previews that involve a scene imported from blender.
Labels: bug,needs testing,topic:import,topic:3d

### Tested versions

- Reproducible in: 4.3.beta1.mono and dev-5  
- Project fails to start in 4.2.2 or older.

### System information

- Windows 10  - Godot 4.3.beta1.mono  - Compatibility  - GPU: FirePro v4900, dedicated - CPU: Intel Xeon 2.9Ghz, 8 cores

### Issue description

![image](https://github.com/godotengine/godot/assets/55665720/5e79b0f0-ab35-4936-b58a-0fd3d3251d17)  
![image](https://github.com/godotengine/godot/assets/55665720/3d2358f0-4694-4a82-a357-82215c6f063f)

  
When opening a scene with an animation player imported from Blender. The editor freezes during the preview generation.  Truth be told i haven't been able to pinpoint WHAT is causing this. I've been at it for hours and the conditions seem to keep changing or at least are inconsistent. But the setup in the MRP is what causes it the most often.  


### Steps to reproduce

- Open a scene imported from blender.  
- Save to cause a refresh of previews.
- Editor freezes.

### Minimal reproduction project (MRP)

[mrp.zip](https://github.com/user-attachments/files/15858803/mrp.zip)
Repository: rustdesk
Issue: Some noise is heard on the local side
Labels: bug

### Bug Description

Hi, if the default format of the local side sound card is greater than 48000 Hz, the local side will hear some noise when the remote side plays audio.

### How to Reproduce

Set the local side sound card default format to be greater than 48000 Hz, and keep the remote side sound card to default (less than or equal to 48000 Hz).
![local side format](https://github.com/rustdesk/rustdesk/assets/18079946/695922a0-c76b-47ac-93a6-6754f8ffe285)

### Expected Behavior

Clear sound without noise

### Operating system(s) on local side and remote side

Windows 11 23H2 -> Windows 10 LTSC 2021

### RustDesk Version(s) on local side and remote side

1.2.6 -> 1.2.6

### Screenshots

[local side noise.zip](https://github.com/user-attachments/files/15858786/local.side.noise.zip)

### Additional Context

_No response_
Repository: ollama
Issue: Cannot run in musl and busybox core systems
Labels: feature request,linux

### What is the issue?

When i install ollama in my musl based [distro](kisslinux.github.io) it installs but cannot execute, i think is because the binarie is linked against glibc in system. Also ollamas need `lspci -d` option in the script install for the detection of GPU and busybox don't have that option, so the install script is not core agnostic.

### OS

Linux

### GPU

AMD

### CPU

AMD

### Ollama version

0.1.44
Repository: react
Issue: [React 19] useEffect does not re-fire on hot reload with React 19 and vite
Labels: Type: Bug,React 19

In prior versions of react, saving a file will trigger the components `useEffect` hooks to run. This does not work for react 19.
This applies to both [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) and [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react)

Repo: https://github.com/gkiely/swc-issue

Steps to reproduce:
- npm i
- npm run dev
- open repo and press save in App.tsx
- console.log will not fire after pressing save
- npm i react@18 react-dom@18
- npm run dev
- press save in App.tsx
- console.log will fire

Video reproduction:
https://www.loom.com/share/b493602e3f7244d2948c5bb871531881?sid=c9bdec15-5b87-4375-a659-6c63804cb032


Notes:
I previously opened a ticket here but it is perhaps an issue with react 19: https://github.com/vitejs/vite-plugin-react/issues/335
Repository: stable-diffusion-webui
Issue: [Bug]: Missing requirement for VC_redist.x64.exe causes "RuntimeError: Torch is not able to use GPU"
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?

On a clean windows installation with a Nvidia GPU when I try to follow the installation requirements I find that I encounter the "RuntimeError: Torch is not able to use GPU" error despite meeting all the requirements. **I have found that the solution is to install VC_redist.x64.exe, which is not installed by default (although many/most users will already have it installed)**.


### Steps to reproduce the problem

1. Clean install windows
2. Install python3, git, nvidia drivers
3. Attempt either of the two install methods (manual or automatic)

You **might** also be able to reproduce this problem by uninstalling VC_redist.x64.exe and attempting to launch the web UI.

### What should have happened?

I believe the Windows requirements should include Visual C++ Redistributable, https://download.visualstudio.microsoft.com/download/pr/9613cb5b-2786-49cd-8d90-73abd90aa50a/CEE28F29F904524B7F645BCEC3DFDFE38F8269B001144CD909F5D9232890D33B/VC_redist.x64.exe

### What browsers do you use to access the UI ?

_No response_

### Sysinfo

Here is a sysinfo file from the web UI after installing VC_redist.x64.exe: [sysinfo_working.json](https://github.com/user-attachments/files/15859383/sysinfo_working.json)

### Console logs

```Shell
venv "C:\XXXXXXXXXX\stable-diffusion-webui\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.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
Traceback (most recent call last):
  File "C:\XXXXXXXXXX\stable-diffusion-webui\launch.py", line 48, in <module>
    main()
  File "C:\XXXXXXXXXX\stable-diffusion-webui\launch.py", line 39, in main
    prepare_environment()
  File "C:\XXXXXXXXXX\stable-diffusion-webui\modules\launch_utils.py", line 386, in prepare_environment
    raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
```


### Additional information

_No response_
Repository: flutter
Issue: Local engine builds are too big for distribution
Labels: engine,P3,e: local-engine-development,team-engine,triaged-engine

I'm one of the maintainers for Flutter in Nixpkgs and we recently got the engine merged in so we can easily patch the engine to work with NixOS/the nix ecosystem. The problem we're running into is the total size of source + debug engine + release engine totals 30GB. I'm wondering what can be removed from a local engine build and the source code after the building has completed. This is so it'll be much easier for developers using the engine with Nix don't have to pull all the source code and everything just to build with the local engine.

CC @FlafyDev
Repository: node
Issue: Implement "Real" Single executable applications, which contains only the modules actually used
Labels: feature request,single-executable

### What is the problem this feature will solve?

It opens a new chapter in the history of Nodejs, and unlocks the true potential for developing CLI applications. There is a dire need for a "real" solution among developers. Unfortunately, "Single executable applications" is not a real solution.

### What is the feature you are proposing to solve the problem?

Instead of copying the node.exe and appending a blob file to it, go ahead and implement it properly, as it should be.
The "Hello World" executable should take KBs instead of 67MB.
Instead of embedding the whole node.exe, only the modules that are actually used should be included in the executable.

### What alternatives have you considered?

_No response_