sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ui
Issue: [Bug]: Select example does not update the actual `<form>`'s values
Labels: bug

### Describe the bug

The example for the select component in the docs does update React Hook Form's values but not the actual form element's. So form actions will fail because it won't send those values.

To fix, add name prop to `<Select>`:

```tsx
<Select name={field.name} onValueChange={field.onChange} defaultValue={field.value}></Select>
```

### Affected component/components

Select, more?

### How to reproduce

Copy the form example in the docs

### Codesandbox/StackBlitz link

https://github.com/shadcn-ui

### Logs

_No response_

### System Info

```bash
-
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: vscode
Issue: Add extensibility point for notebook outline pane entry toolbar
Labels: feature-request,notebook-toc-outline

Tracking issue to remind that we need to expose the Menu ID and make an empty proposed api for people to contribute to the toolbar that's within the notebook outline pane outline entries.

https://github.com/microsoft/vscode/blob/f99981ed56f3adca0d446e9e2ec69fdff563d2c0/src/vs/workbench/services/actions/common/menusExtensionPoint.ts#L293-L297
Repository: vscode
Issue: Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.
Labels: bug,editor-rendering

When hovering over a very long line, a hover pops up saying:
> Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`.


![image](https://github.com/microsoft/vscode/assets/33529441/00e5aa29-1156-4ffb-a22d-ea216dec4a61)


The hover only pops up when `Word Wrap` is turned on (and even when the entire line is rendering correctly) ❌
but doesn't when `Word Wrap` is turned off (and the line stops rendering after 10,000 chars) ❌

![image](https://github.com/microsoft/vscode/assets/33529441/96b373d7-44a9-4e47-b219-deebadfbe639)


I think the check for `Word Wrap` needs to be inverted
Repository: rust
Issue: Add `erf` and friends from `libm` ?
Labels: T-libs-api,C-feature-request

`f32` and `f64` already have the gamma function from `libm`, would it be possible to get `erf`, `erfc` as well ?

Edit: I can try to do it myself if that helps.
Repository: rust
Issue: Tracking Issue for Packages as (optional) namespaces
Labels: T-compiler,T-cargo,C-tracking-issue,T-crates-io

This is a tracking issue for the RFC "3243" (rust-lang/rfcs#3243).
- crates.io tracking issue: rust-lang/crates.io#8292
- cargo tracking issue: rust-lang/cargo#13576
- docs.rs tracking issue: rust-lang/docs.rs#2457

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [ ] Implement the RFC (can anyone write up mentoring
      instructions?)
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Formatting for new syntax has been added to the [Style Guide] ([nightly-style-procedure])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md 
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide

### Unresolved Questions

- [ ] How exactly should the Cargo.toml `lib.name` key work in this world, and how does that integrate with `--extern` and `-L` and sysroots?
- [ ] Decide on and document precise name conflict rules for the compiler (https://github.com/rust-lang/rfcs/pull/3243#issuecomment-1789240624)
- [ ] Should we allow renames like `"foo::bar" = { package = "foo_bar", version = "1.0" }` in Cargo.toml?
- [ ] How precisely should this be represented in the index trie?
- [ ] How we should name the `.crate` file / download URL

Third-parties, like Linux distributions, will need to decide how to encode
cargo package names in their distribution package names according to their
individual rules.
Compared to existing ecosystems with namespaces that they package, the only new
wrinkle is that there can be 0-1 namespace levels.

### Implementation history
Repository: flutter
Issue: [camerax] Differentiate between `OperationCanceledException` and other exceptions in `CameraControl.setZoomRatio` wrapper
Labels: platform-android,p: camera,package,P2,team-android,triaged-android

In the wrapper for the `CameraControl` CameraX class ([docs](https://developer.android.com/reference/androidx/camera/core/CameraControl#setZoomRatio(float))), some methods return a null versus value versus consuming the exception if one is thrown in the case that the operation was canceled (see [example](https://github.com/flutter/packages/blob/1e46a6a2fb31ed8c45159d7a41fdd4ea6ea595c7/packages/camera/camera_android_camerax/lib/src/camera_control.dart#L176)).

We should consider adding similar error handling to `setZoomRatio` so that developers can more easily differentiate between the two sorts of exceptions, as non-`OperationCanceledException`s may be more severe.
Repository: ollama
Issue: Additional package manager support
Labels: feature request,linux,windows,macos

This is an issue that encompasses supporting other package managers:

- [ ] MacPorts
- [ ] Apt
- [ ] Scoop
- [ ] Nix
Repository: PowerToys
Issue: Keys remain held down when using remap a shortcut to paste as plain text feature
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Enable Paste As Plain Text keyboard shortcut
2. Keyboard Manager > Shortcuts > Remap a shortcut
3. Map a key in an app specific context to the paste as plain text shortcut from step 1 (ex. ctrl + shift + f becomes Win + Ctrl + alt + v in Outlook)
4. Do the mapped keyboard shortcut in the customized app (ex. ctrl + shift + f in outlook)
5. Type after the paste happens

### ✔️ Expected Behavior

Content is pasted and plain text and all shortcut keys are released.

### ❌ Actual Behavior

Some of the shortcut keys (ex. ctrl, shift, alt) remain held down. I've tried different shortcut mappings and it seems like it repros 100% of the time whenever a remapped shortcut maps to the global paste as plain text shortcut. 

### Other Software

N/A
Repository: godot
Issue: LightmapGI does not recognise cull mode in the material
Labels: bug,topic:rendering,topic:3d

### Tested versions

- Reproducible in: v4.3.dev4.official [df78c0636]

### System information

Windows 10 - Godot v4.3.dev4.official [df78c0636] - Vulcan (Forward+) - Geforce GTX 960

### Issue description

It appears that LightmapGI does not take into account the Cull Mode of materials when generating lightmaps. Objects made up of single walls that have double-sided materials only accept lighting from one side.

![lightmap-on](https://github.com/godotengine/godot/assets/224215/2a250519-80a9-469e-8c1b-e47818e774f0)

In the example above, only the first box on the left is correctly lit (not counting the light leakage at the edges). In this case, the material is one-sided and the normals point inwards. This makes the walls on the outside invisible.

The second and third boxes have double-sided materials and normals pointing outwards. Although for the renderer the walls are visible from both sides, lightmapgi treats them as one-sided and does not illuminate them with the objects inside with emission on. In addition, for some reason the top faces are bright (light leakage from above from DirectLight3D?).

When lightmaps are turned off, the scene is lit only by DirectLight3D and, not counting inaccuracies in the shadows, the Cull Mode support in the materials looks correct.

![lightmap-off](https://github.com/godotengine/godot/assets/224215/08a1d878-c9af-47c2-abe2-56a306f35f60)


### Steps to reproduce

- create a cube
- remove one of the walls
- set normals to point outwards
- add material to the cube and set Cull Mode to disabled
- place a light source inside the cube
- generate lightmap

### Minimal reproduction project (MRP)

Test 04 in https://github.com/patwork/Godot-LightmapGI-Tests
Repository: kubernetes
Issue: The efficiency of synchronizing Pod status too slow.
Labels: sig/node,kind/feature,lifecycle/stale,needs-triage

### What would you like to be added?

Use a single List api instead of multiple Get api.

### Why is this needed?

My k8s node is a big machine(500C CPU & 2000GB Memory), the maxPods of kubelet could be set to 200+.
When I delete 200+ pods or create 200+ pods, the synchronization of Pod status by the kubelet becomes too slow(about 230s).
Making a large number of GET API calls can indeed increase the load on the API server.
Repository: vscode
Issue: Mac text replacement
Labels: bug,macos,editor-input

<!-- ⚠️⚠️ 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

<!-- 🪓 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:  Version: 1.87.1 (Universal)
Commit: 1e790d77f81672c49be070e04474901747115651
Date: 2024-03-06T00:23:16.418Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.4.0
- OS Version: 14.4 (23E214)

Steps to Reproduce:

1. MacOS text replacement not working. MacOS shortcuts to replace text not working.
<img width="705" alt="Screenshot 2024-03-12 at 4 46 04 AM" src="https://github.com/microsoft/vscode/assets/25755563/cab4bb8b-3190-4bde-bdd1-9e80cf33a035">
Repository: ui
Issue: [feat]: Prefix & suffix for Input
Labels: area: request

### Feature description

Would be nice to have a way to specify suffix & prefix (text or icon) for inputs

### Affected component/components

_No response_

### Additional Context


<img width="396" alt="image" src="https://github.com/shadcn-ui/ui/assets/205721/6893a301-98f9-4ce3-9eea-0c505e46c3b0">


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: three.js
Issue: Add volume calculator for 3d mesh
Labels: Enhancement

### Description

Three has no native method to calculate mesh's volumes. 



### Solution

Add a method (mesh.volume) to retrieve the calculated volume of the object-mesh.

### Alternatives

Pass through a method using an import for ['three-volume' package ](https://www.npmjs.com/package/three-volume)

### Additional context

https://www.npmjs.com/package/three-volume
Repository: ant-design
Issue: Table 堆叠固定列没有阴影
Labels: 🐛 Bug,help wanted,Inactive

### Reproduction link

[https://ant.design/components/table-cn#components-table-demo-fixed-gapped-columns](https://ant.design/components/table-cn#components-table-demo-fixed-gapped-columns)

### Steps to reproduce

滚动

### What is expected?

堆叠列有阴影

### What is actually happening?

堆叠列没有阴影

| Environment | Info |
| --- | --- |
| antd | 5.15.2 |
| React | latest |
| System | mac |
| Browser | chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: ant-design
Issue: Menu 的 key typescript 支持 number 类型，但是传入 number 类型时，onSelect 时参数 key 是 string 类型
Labels: 🐛 Bug,Inactive,🧶 Low Priority

### Reproduction link

[![Edit on StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/edit/react-sljqyb?file=demo.tsx)

### Steps to reproduce

1、点击前两个 item
2、查看控制台 e.key 类型


### What is expected?

1、e.key 是 number 类型

### What is actually happening?

2、e.key 都是 string 类型

| Environment | Info |
| --- | --- |
| antd | 5.15.2 |
| React | latest |
| System | mac |
| Browser | chrome |

---
官网文档中显示 key 为 string 类型，但是 typescript 支持 number 类型。

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: torch.func.grad hangs on nested differentiation
Labels: high priority,triaged,bug,module: functorch

### 🐛 Describe the bug

I want to compute nested derivatives of the form `d/ddx_1 d/dx_2 d/dx_3 ... f(x_1, x_2, x_3,...)`. This works with autograd.grad but torch.func.grad seems to hang.

MWE:

```
import torch
print(torch.__version__)
from torch.func import grad, jvp

d = 10
f = torch.prod
x = torch.randn(d).requires_grad_(True)

# Convert to indexable inputs.
def indexable_f(*args):
    return f(torch.stack(args))

# This allows us to take derivatives w.r.t. single elements.
inputs = list(x)
nested_deriv = indexable_f(*inputs)
for i in range(d):
    nested_deriv = torch.autograd.grad(nested_deriv, inputs[i], create_graph=True)[0]
print(nested_deriv)  # This works fine.

# This torch.func.grad version doesn't seem to work and runs forever.
nested_deriv = indexable_f
for i in range(d):
    nested_deriv = grad(nested_deriv, argnums=i)
nested_deriv(*inputs)  # THIS HANGS. 
```

### Versions

This is tested in colab notebook (https://colab.research.google.com/drive/1tbK-YYFVWMx6t6AulElap-JhInLpt-hT?usp=sharing) with the pytorch version 2.1.0+cu121.

cc @ezyang @gchanan @zou3519 @kadeng @Chillee @samdow @kshitij12345 @janeyx99
Repository: next.js
Issue: `Headers.getSetCookie()` returning incorrect value for `fetch` requests initiated by server component/middleware
Labels: bug,Runtime,Pages Router

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/get-set-cookie-bug-nextjs-66knqr

### To Reproduce

1. I have a route handler at `/my-cookie` that sets two cookies. The response of the endpoint returns two `set-cookie` headers:

```
➜  workspace git:(master) ✗ curl -v http://localhost:3000/my-cookie
*   Trying 127.0.0.1:3000...
* Connected to localhost (127.0.0.1) port 3000 (#0)
> GET /my-cookie HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/7.88.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Url
< content-type: application/json
< set-cookie: hello=world; Path=/
< set-cookie: foo=bar; Path=/
< Date: Tue, 12 Mar 2024 05:18:12 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< Transfer-Encoding: chunked
< 
* Connection #0 to host localhost left intact
{"ok":true}                                                                  
```

2. The code calls `fetch('http://localhost:3000/my-cookie')` in both the middleware and the page component. Gets the response header, call, `getSetCookie` and then `console.log` it.

3. The Next.js console prints out the following:
```
...
sc inside component: [ 'foo=bar; Path=/' ]
sc inside middleware [ 'hello=world; Path=/, foo=bar; Path=/' ]
...
```

### Current vs. Expected behavior

**Current:**
In the page component, it prints out `[ 'foo=bar; Path=/' ]`
In the middleware, it prints out `[ 'hello=world; Path=/, foo=bar; Path=/' ]`

**Expected:**
Both should print out `[ 'hello=world; Path=/',  'foo=bar; Path=/' ]` instead.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 20.9.0
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: 8.10.2
Relevant Packages:
  next: 14.1.3
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Data fetching (gS(S)P, getInitialProps), Middleware / Edge (API routes, runtime)

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

Happening on v14.2.0-canary.16 as well
Repository: tauri
Issue: [bug] `<input accept="audio/mpeg" type="file" />` does not filter file types
Labels: type: bug,status: upstream,platform: macOS,status: needs triage

### Describe the bug

Similar to https://github.com/tauri-apps/tauri/issues/6915.

`<input accept="audio/mpeg" type="file" />` does not filter for the right type of files on macOS 14.3 

### Reproduction

Just a react app with `<input accept="audio/mpeg" type="file" />` should do it.

### Expected behavior

It should only allow mp3 files to be selected on on macOS 14.3

### Full `tauri info` output

```text
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.3.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.74.0 (79e9716c9 2023-11-13)
    ✔ cargo: 1.74.0 (ecb9851af 2023-10-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.4.0
    - npm: 9.7.2

[-] Packages
    - tauri [RUST]: 1.6.1
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.7
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.11

[-] App
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: angular
Issue: Alias `afterRender` to `afterEachRender`
Labels: area: core,core: lifecycle hooks

### Which @angular/* package(s) are relevant/related to the feature request?

@angular/core

### Description

@angular/core `afterRender` and `afterNextRender` are great however it is too easy to miss the distinction during a peer review and this can have a big effect on performance.

Is it possible to alias `afterRender` to `afterEachRender` or similar (I understand that it is too late to change names now). 
The new name would be clear that the code attached will run multiple times (as opposed to once only if using afterNextRender).

### Proposed solution

Rename `afterRender` to `afterEachRender`

### Alternatives considered

Currently if used I asked the devs to `import { afterRender as afterEachRender }`. We could add a lint task to ensure this is done.

BTW I don't get a chance to say this elsewhere - so will say it here - thank you for all your work. Every change your team makes is so positive.
Repository: tauri
Issue: When upgrading from alpha version to beta version, I encountered the problem of not being able to copy and paste.
Labels: type: bug,status: needs triage

I upgraded from `2.0.0-alpha` to `2.0.0-beta` version, including the following dependencies:
```
tauri-build
tauri
tauri-plugin-shell
```
Now I encountered the problem that text cannot be copied and pasted in the `desktop version` application. What permissions need to be added, otherwise it will be very inconvenient during development restrictions?
My permissions are as follows:
main.json
```
{
   "$schema": "./schemas/desktop-schema.json",
   "identifier": "default",
   "description": "Capability for the main window",
   "windows": ["main"],
   "permissions": [
     "path:default",
     "event:default",
     "window:default",
     "app:default",
     "resources:default",
     "menu:default",
     "tray:default",
     "shell:allow-open",
     "log:default",
     "dialog:allow-open"
   ]
}
```
Repository: kubernetes
Issue: [Failing Test] ci-kubernetes-kubemark-gce-scale-scheduler | kubemark-5000-scheduler
Labels: sig/scalability,sig/scheduling,kind/failing-test,triage/accepted

### Which jobs are failing?

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-kubemark-gce-scale-scheduler/1766766416834334720

### Which tests are failing?

- kubetest.Kubemark 
- kubetest.Kubemark Up

### Since when has it been failing?

3 failures in a row since 03-06
lastpass was @ 03-04
before that 3 failures.

### Testgrid link

https://testgrid.k8s.io/sig-scalability-kubemark#kubemark-5000-scheduler

### Reason for failure (if possible)

```
WARNING: Could not store access token in cache: database is locked
ERROR: gcloud crashed (OperationalError): database is locked

If you would like to report this issue, please run the following command:
  gcloud feedback

To check gcloud for common problems, please run the following command:
  gcloud info --run-diagnostics
Traceback (most recent call last):
  File "/google-cloud-sdk/lib/gcloud.py", line 189, in <module>
    main()
  File "/google-cloud-sdk/lib/gcloud.py", line 185, in main
    sys.exit(gcloud_main.main())
             ^^^^^^^^^^^^^^^^^^
  File "/google-cloud-sdk/lib/googlecloudsdk/command_lib/crash_handling.py", line 199, in Wrapper
    target_function(*args, **kwargs)
  File "/google-cloud-sdk/lib/googlecloudsdk/gcloud_main.py", line 186, in main
    gcloud_cli.Execute()
  File "/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 1024, in Execute
    self._HandleAllErrors(exc, command_path_string, specified_arg_names)
  File "/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 1061, in _HandleAllErrors
ERROR: gcloud crashed (OperationalError): database is locked
    exceptions.HandleError(exc, command_path_string, self.__known_error_handler)
  File "/google-cloud-sdk/lib/googlecloudsdk/calliope/exceptions.py", line 557, in HandleError
    core_exceptions.reraise(exc)
  File "/google-cloud-sdk/lib/googlecloudsdk/core/exceptions.py", line 146, in reraise
    six.reraise(type(exc_value), exc_value, tb)
  File "/google-cloud-sdk/lib/third_party/six/__init__.py", line 719, in reraise
...
sqlite3.OperationalError: database is locked
WARNING: Could not store access token in cache: database is locked
WARNING: Could not store access token in cache: database is locked
```


### Anything else we need to know?

_No response_

### Relevant SIG(s)

/sig scalibility scheduling