sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: svelte
Issue: $state array does not update on page back when reassigned
Labels: awaiting submitter

### Describe the bug

When using the page back browser button, an array declared with $state is not reactive when using reassignment to change its value in firefox

### Reproduction
```
let favourites = $state([])

onMount(() => {
     //this is a network promise in the actual code
     Promise.resolve({"favourites": [1, 2, 3]}).then(res => {


           //-----this causes the state to not update
           favourites = res["favourites"];
           //----


           //===but when using this, it works
           favourites.length = 0;
           for(let a of res["favourites"]){
                 favourites.push(a);
           }
           //====


     })
})
```


### System Info

```shell
Observed only in firefox (my version - Mozilla Firefox 128.5.0esr)- not in chromium, AND only when "Disable cache" in network dev tools is turned off
```

### Severity

annoyance
Repository: electron
Issue: Two concurrent videos cannot be loaded from custom protocol
Labels: platform/macOS,bug :beetle:,status/confirmed,has-repro-gist,34-x-y,35-x-y

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

34.0.0

### What operating system(s) are you using?

macOS

### Operating System Version

Sequoia 15.2

### What arch are you using?

arm64 (including Apple Silicon)

### Last Known Working Electron version

34.0.0-alpha.7

### Expected Behavior

Two videos should play just fine at the same time as the did in Electron 33 (and up to 34.0.0-alpha.7):

<img width="912" alt="Image" src="https://github.com/user-attachments/assets/0c1114f2-ab56-4d60-997e-245abf965c32" />

### Actual Behavior

If there are > 1 `<video/>` elements in the page - all will fail to load:

<img width="912" alt="Image" src="https://github.com/user-attachments/assets/7f84d45a-0ef1-4f41-bf11-20953caa14ee" />

### Testcase Gist URL

https://gist.github.com/indutny-signal/84a80dff2cf6af02dcaef9db8fdaa6f4

### Additional Information

I "bisected" this bug to begin to happen between 34.0.0-alpha.7 and 34.0.0-alpha.8 if it helps.
Repository: vscode
Issue: support resolving / displaying what symlinks point to in suggest terminal details view
Labels: feature-request,terminal-suggest

@tyriar suggested that we should support resolving symlinks and showing them in the terminal suggest details view 

example:
/usr/local/bin/python3 -> /blah/python3.13
Repository: ui
Issue: [feat]: New components and improvements
Labels: area: request

### Feature description

Hello everyone. As a UI designer, I want to thank this team for making such a great open source UI kit! It is just amazing. I also tried Figma file I don't know if designer is related to this team, since I didn't found Github for design file I will share my thoughts here. I would like to report some bugs for Figma file, but not sure is this right place? Anyhow these issue is for improvements.


The following suggestions are not related to the appearance itself, but to the functionality, the pictures serve only as an example. Some of them are from Material Design, some of them from eBay Evo design system.


A slider with two handles and the possibility of writing the value below permanently or on hover
![Image](https://github.com/user-attachments/assets/64fa4d96-e1f4-4638-b071-4ab5af38fc3e)

An icon in front of the text in the toast, as well as the possibility of the button being below if there are more lines of text.
![Image](https://github.com/user-attachments/assets/03a2f707-4608-4b6e-a4af-baf78aa6e4b7)

Tabs that look like this should perhaps be renamed to segmented button component like in other kits. Also the possibility to add icons in front of labels in tabs and segmented buttons.
![Image](https://github.com/user-attachments/assets/83ee47d6-277c-49c7-ab60-f90a53e8931b)

Tabs look like this, I found this in Figma file for this ui kit.
![Image](https://github.com/user-attachments/assets/25100935-f042-44ae-a154-8847a8ae6c32)

The date picker component may have a way to change the year in some way. Google made material in two ways, it can be an inspiration.
![Image](https://github.com/user-attachments/assets/250a6004-ec46-4538-b7e8-6c1fa820a0e2)
![Image](https://github.com/user-attachments/assets/b349ccca-626e-4689-85db-42a6610a5bad)

The input should have a prefix, an icon in front, a suffix and then an icon at the end.
![Image](https://github.com/user-attachments/assets/006d6317-6abb-4ec4-9052-90ce7c04faa8)

It would be good if there was a variants of input when the label is inside the field.
![Image](https://github.com/user-attachments/assets/5a590409-0990-4626-8553-e2f60838a73e)

New input chip component in the combo box
![Image](https://github.com/user-attachments/assets/000120b6-1b5f-4407-9290-866bff8220f8)
![Image](https://github.com/user-attachments/assets/f369119d-ecea-4b66-9fa6-e4cd9fbc2389)

New component filter chip to have the possibility to insert an icon in front and at the end
![Image](https://github.com/user-attachments/assets/42550798-20ca-4ca9-8e10-e1bbd3698051)


### Affected component/components

Tabs, Input, Date picker, Toast, Slider


### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues and PRs
Repository: transformers
Issue: Audio-Classification pipeline function_to_apply ignores initialized values (possibly generalizes to other classification pipelines)
Labels: bug

### System Info

- `transformers` version: 4.48.0
- Platform: macOS-14.6-arm64-arm-64bit
- Python version: 3.12.4
- Huggingface_hub version: 0.27.1
- Safetensors version: 0.5.2
- Accelerate version: 1.2.1
- Accelerate config: 	not found
- PyTorch version (GPU?): 2.5.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using distributed or parallel set-up in script?: None/NA

### Who can help?

@Rocketknight1 

### Information

- [ ] The official example scripts
- [x] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)

### Reproduction

```python
from transformers import pipeline
import torch
import numpy as np

model_name = 'audeering/wav2vec2-large-robust-12-ft-emotion-msp-dim'
#model_name = 'pollner/distilhubert-finetuned-ravdess'
top_k = 5
device = 'cuda' if torch.cuda.is_available() else 'cpu'
classification_pipeline = pipeline(
                "audio-classification",
                model=model_name,
                top_k=top_k, 
                function_to_apply='none',
                device=device,
            )

# dummy signal
sampling_rate = 16000
signal = np.zeros((sampling_rate), dtype=np.float32)
print('No call parameter should match passing none:')
print(classification_pipeline(signal))
print('Call parameter with none:')
print(classification_pipeline(signal, function_to_apply='none'))
print('Call parameter with softmax which matches no parameter:')
print(classification_pipeline(signal, function_to_apply='softmax'))
print('Call parameter with sigmoid for show:')
print(classification_pipeline(signal, function_to_apply='sigmoid'))
```

### Expected behavior

I will note that this behavior could make sense, but should probably be noted somewhere if it is the intended behavior. I assume this is not intended behavior however because in [this line](https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L1320) we are only overwriting initialized parameters if they were sent with the call function, theoretically, but [this line](https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/base.py#L1320) in `_sanitize_parameters` returns a default value that will always overwrite the value from initialization.
Repository: flutter
Issue: [CupertinoDatePicker] year field in unselected value baseline is broken
Labels: framework,f: date/time picker,f: cupertino,has reproducible steps,P2,team-design,triaged-design,found in release: 3.27,found in release: 3.28

### Steps to reproduce

The text baseline of the year column is not vertically aligned with the date and year, see attached image. Tested on both master and stable. Tested on  Flutter version 3.24.5  and master.

### Expected results

The text baseline of the year column should be vertically aligned with the date and year.

### Actual results

The text baseline of the year column is not vertically  aligned with the date and year.

### Code sample

<details open><summary>Code sample</summary>

```dart
 Container(
              height: MediaQuery.sizeOf(context).height * 0.35,
              child: CupertinoTheme(
                data: CupertinoThemeData(
                   brightness: Brightness.dark,
                ),
                child: CupertinoDatePicker(
                  onDateTimeChanged: (dateTime) => selectedDateTime = dateTime,
                  mode: CupertinoDatePickerMode.date,
                  initialDateTime: selectedDateTime,
                  minimumDate: DateTime(1900),
                ),
              ),
            ),

```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>



![Image](https://github.com/user-attachments/assets/2ebaad4c-538c-45f1-80b1-98fddbd21bb8)

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

 Flutter version 3.24.5
Repository: opencv
Issue: Many test failures on powerpc64le with qemu
Labels: bug,priority: low,platform: ppc (PowerPC)

### System Information

- OpenCV @ 4.x (Jan 16, 2024) (1d701d1690b8cc9aa6b86744bffd5d9841ac6fd3)
- ubuntu 22.04 with g++-powerpc64le-linux-gnu and qemu-user packages




### Detailed description

Many tests fail when running core test on qemu for powerpc64le

### Steps to reproduce

Build using toolchain file:
```.cmake
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR powerpc64le)
set(CMAKE_C_COMPILER   /usr/bin/powerpc64le-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/powerpc64le-linux-gnu-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
```
Run:
```
OPENCV_TEST_DATA_PATH=/opencv_extra/testdata \
qemu-ppc64le \
  -L /usr/powerpc64le-linux-gnu/ \
./bin/opencv_test_core
```

Result: 307 test failed

[failures.txt](https://github.com/user-attachments/files/18445146/failures.txt)

### Issue submission checklist

- [x] I report the issue, it's not a question
- [x] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [x] I updated to the latest OpenCV version and the issue is still there
- [x] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: go
Issue: x/tools/gopls/internal/analysis/modernize: incomplete simplification in appendclipped
Labels: gopls,Tools,Refactoring,BugReport

The appendclipped modernizer has an existing test case whose output (after applying a fix) is:
```go
	print(slices.Concat(other[:len(other):len(other)], s, other))      // want "Replace append with slices.Concat"
```
The first argument should also have been simplified to other. Investigate + fix.
Repository: ollama
Issue: Llama-3_1-Nemotron-51B-Instruct
Labels: model request

Please add the Nvidia Model.

https://huggingface.co/bartowski/Llama-3_1-Nemotron-51B-Instruct-GGUF
Repository: PowerToys
Issue: Fixed Scrolling through the history in the color picker editor with a mouse wheel. #33551 PR regression in latest versions (not working anymore)
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.87.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

ColorPicker

### Steps to reproduce

Open the color picker menu
try to scroll with the mose wheel in the color history and see that it dosen't work even tough it was fixed in a previous version.
See #33551 

### ✔️ Expected Behavior

The color list shohuld scroll along the mouse scroll

### ❌ Actual Behavior

It dosen't scroll

### Other Software

_No response_
Repository: pytorch
Issue: DISABLED test_profiler_mark_wrapper_call_dynamic_shapes_cuda (__main__.DynamicShapesGPUTests)
Labels: module: rocm,triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor

Platforms: rocm

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_profiler_mark_wrapper_call_dynamic_shapes_cuda&suite=DynamicShapesGPUTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35732496276).

Over the past 3 hours, it has been determined flaky in 8 workflow(s) with 16 failures and 8 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_profiler_mark_wrapper_call_dynamic_shapes_cuda`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.


Test file path: `inductor/test_torchinductor_dynamic_shapes.py`

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @clee2000 @wdvr @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
Repository: pytorch
Issue: DISABLED test_aoti_eager_support_str_dynamic_shapes_cuda (__main__.DynamicShapesCodegenGPUTests)
Labels: module: rocm,triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor

Platforms: rocm

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_aoti_eager_support_str_dynamic_shapes_cuda&suite=DynamicShapesCodegenGPUTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/35728355868).

Over the past 3 hours, it has been determined flaky in 8 workflow(s) with 8 failures and 8 successes.

**Debugging instructions (after clicking on the recent samples link):**
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
3. Grep for `test_aoti_eager_support_str_dynamic_shapes_cuda`
4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.



<details><summary>Sample error message</summary>

```
Traceback (most recent call last):
  File "/var/lib/jenkins/pytorch/test/inductor/test_torchinductor.py", line 1025, in test_aoti_eager_support_str
    res_value = getattr(torch.ops.aten, op_name)(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_ops.py", line 1158, in __call__
    return self._op(*args, **(kwargs or {}))
RuntimeError: create_func_( &container_handle_, num_models, device_str.c_str(), cubin_dir.empty() ? nullptr : cubin_dir.c_str()) API call failed at /var/lib/jenkins/workspace/torch/csrc/inductor/aoti_runner/model_container_runner.cpp, line 81

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ROCM=1 python test/inductor/test_torchinductor_codegen_dynamic_shapes.py DynamicShapesCodegenGPUTests.test_aoti_eager_support_str_dynamic_shapes_cuda

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
```

</details>


Test file path: `inductor/test_torchinductor_codegen_dynamic_shapes.py`

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @clee2000 @wdvr @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov
Repository: ollama
Issue: Maintain Object Key Order in JSON Schema Outputs
Labels: feature request

Currently, when generating JSON outputs based on a provided schema, the keys in objects do not retain the order specified in the schema. This behavior differs from OpenAI's implementation, where the order of keys is preserved as defined. Maintaining the specified key order is crucial for applications that rely on consistent JSON structures. Implementing this feature would enhance compatibility and predictability of the generated outputs.
Repository: ollama
Issue: Enhance JSON Schema Support to Include Arrays and Complex Types
Labels: feature request

The current implementation of JSON schema support in Ollama has limitations when handling arrays and complex data types. For instance, defining a schema with an array of strings (`{"type": "array", "items": {"type": "string"}}`) is not processed as expected. Expanding the JSON schema support to fully adhere to the JSON Schema specification would allow for more versatile and accurate data representations, aligning Ollama's capabilities with standard practices.
Repository: go
Issue: crypto/ecdsa: use variable time ScalarBaseMult/ScalarMult in Verify
Labels: Performance,NeedsInvestigation,Implementation

We're leaving some perf on the table by doing these operations in constant time. We should use a variable time scalar mult, similar to what we do for crypto/ed25519:
https://github.com/golang/go/blob/1a93e4a2cf43b0ded141d33620966bb252cac1bd/src/crypto/internal/fips140/ed25519/ed25519.go#L335

cc @FiloSottile
Repository: vscode
Issue: terminal suggest with `__` paths
Labels: under-discussion,terminal-suggest

deprioritize or don't show names with `__`. Here the `__pycache__` isn't something I want to reference. It could also be based on whats in the vscode ignore 

<img width="1235" alt="Image" src="https://github.com/user-attachments/assets/67922204-8f3c-4f87-85a2-b68e40ad3f59" />
Repository: kubernetes
Issue: Object Count Quota For Non Namespaced object
Labels: sig/api-machinery,kind/feature,needs-triage

### What would you like to be added?

The object count qouta in ResourceQouta could have a similiar resource that is not namespaced but applies to cluster wide objects.

https://kubernetes.io/docs/concepts/policy/resource-quotas/#object-count-quota

### Why is this needed?

object count qouta is pretty handy for keeping api server from being accidentally ovewhelmed by  the creation of lost of objects by some user. However some objects are not namespaced and thus cannot be managedby a namespaced ResourceQouta (would love to be wrong).

An example might be CiliumIdentities used the cilium cni. As they are created for every unique label combination a namespace label change or the generation of pods with guids in labels can create  a huge number of cluster level resources and it might be better to fail the creation of identities rather than explode the api server. 

Without that a webhook is necessary to implement this which has its down sides. But is not impossible. 

Realize this is not a trivial feature but creating an issue to see if others had
Repository: pytorch
Issue: Add ATen functions in native_functions.yaml to torch_in_graph_functions list automatically
Labels: triaged,module: dynamo

### 🐛 Describe the bug

Currently, whenever a new native function is added, we must manually add an entry to `torch/_dynamo/trace_rules.torch_c_binding_in_graph_functions` to ensure that Dynamo includes it in the FX graph during tracing. If this step is missed, the pull request introducing the native function may encounter confusing CI failures(e.g. #132135). For example, a PR author intending to add a native function for eager mode might see numerous compile-related test failures, which can be extremely challenging for open-source contributors to diagnose and resolve.

To address this, we propose introducing a helper function that automatically adds all ATen functions from `native_functions.yaml` to the `torch_c_binding_in_graph_functions` list. Since changes to ATen functions or Torch-level APIs are the most common scenarios, this solution would cover the majority of use cases and alleviate the current pain points a lot.

### Versions

main


cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames @albanD @anijain2305 @zou3519
Repository: godot
Issue: Embedded window is not captured by screen capture and runs into edge cases
Labels: bug,enhancement,topic:editor

### Tested versions

v4.4.beta1.official [d33da79d3]

### System information

N/A Not system specific

### Issue description

The way the embedding is currently implemented by placing the game window as a child of the game workspace.
While this was easy to implement, it runs into many edge cases like with using shortcuts that move the window, and is not supported on MacOS. The approach also makes window capture by programs like OBS or Discord not capture the game itself, which to me specifically is a big deal.

I cannot explain exactly how this would be re-implemented to fix all of the above since I am not knowledgeable on the subject, but to get the idea across:
The game is still a separate process, but it runs without a window (or with a hidden window?). That process is "streamed" into a texture placed in the editor workspace.
Some details on Mac: https://github.com/godotengine/godot/pull/99010#issuecomment-2558125270

While this is _necessary_ only on MacOS, this is how the embedding should work on all supported platforms because as I initially mentioned the current one has edge cases and limitations. The current implementation would remain as a fallback if the API doesn't support "streaming" (does OpenGL not support it at all?).

### Steps to reproduce

Try recording the editor window with a program like OBS.

### Minimal reproduction project (MRP)

N/A