sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ui
Issue: [feat]: Update Vaul to the latest release
Labels: area: request

### Feature description

Vaul has lots of improvements and bug fixes since version 0.9.0. It would be better to upgrade it to the latest version.

### Affected component/components

Drawer

### Additional Context

_No response_

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: material-ui
Issue: `useColorScheme` should fail when not called under a `ThemeProvider`
Labels: customization: theme

### Steps to reproduce

Link to live example: https://codesandbox.io/embed/8clfj3?module=/src/Demo.tsx

Try toggling the theme with the two selects

### Current behavior

The first one select box doesn't do anything. There is no feedback to the developer that the first call to `useColorScheme` will never work.

### Expected behavior

The call to `useColorScheme` errors when there is no theme available.

### Context

Potentially what this [user](https://github.com/mui/toolpad/issues/4151#issuecomment-2382839160) ran in to.

Orthogonal issue, but I started from [this example](https://mui.com/material-ui/customization/dark-mode/#toggling-color-mode). It would be more ergonomic if these were radio buttons, or toggle buttons. It halves the amount of clicks necessary to operate the demo.

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>


**Search keywords**: useColorScheme ThemeProvider
Repository: rust
Issue: `&&self` suggestion from compiler
Labels: A-diagnostics,T-compiler

### Code

```rust
struct SomeStruct;

impl SomeStruct {
    fn some_fn(&some_name) {
        self
    }
}

fn main() {}
```

### Current output

```
error[E0424]: expected value, found module `self`
 --> src/main.rs:5:9
  |
4 |     fn some_fn(&some_name) {
  |        ------- this function doesn't have a `self` parameter
5 |         self
  |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
  |
help: add a `self` receiver parameter to make the associated `fn` a method
  |
4 |     fn some_fn(&&self, some_name) {
  |                 ++++++

For more information about this error, try `rustc --explain E0424`.
```

### Desired output

```
error[E0424]: expected value, found module `self`
 --> src/main.rs:5:9
  |
4 |     fn some_fn(&some_name) {
  |        ------- this function doesn't have a `self` parameter
5 |         self
  |         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
  |
help: add a `self` receiver parameter to make the associated `fn` a method
  |
4 |     fn some_fn(self, &some_name) {
  |                +++++

For more information about this error, try `rustc --explain E0424`.
```

### Rationale and extra context

Maybe the user forgot to add the `self` parameter in the code. Or maybe they forgot to rename `some_name` to `self` while refactoring the code. Either way, for beginners, the compiler suggesting to use `&&self` instead of `self` or `&self` may be confusing.

### Rust Version

rustc 1.81.0 (eeb90cda1 2024-09-04)
binary: rustc
commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c
commit-date: 2024-09-04
host: aarch64-apple-darwin
release: 1.81.0
LLVM version: 18.1.7
Repository: material-ui
Issue: [TextField] aria-live="polite" should be added to input errors
Labels: accessibility,component: text field,platform: windows

### Summary

When an input is in the error state and has an helper text there should be an aria-live="polite" attribute so screenreader users will be notified correctly.

### Examples

_No response_

### Motivation

Make the web more accessible

**Search keywords**: aria-live
Repository: deno
Issue: Error importing interface in Node project
Labels: question

Version: Deno 2.0.0-rc.9

```
error: Uncaught SyntaxError: The requested module '../../interfaces' does not provide an export named 'IFile'
import { IFile } from '../../interfaces';
```

tried to migrate project from node to deno. Barrel files are not working if they export only types and interfaces.

**Update**

it is not connected to Barrel file, it doesn't work without index.ts


<img width="984" alt="image" src="https://github.com/user-attachments/assets/a41594c1-f9ca-47dd-b7bb-b017b446e92b">
Repository: kubernetes
Issue: Listing doesn't fail if a resource of the returned set permafails to transform
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

If data transformation suddenly starts failing on a resource from a set that is returned by a List() query, the user is not notified of these failures, but is presented with the latest known version of the resource. That happens even after new, properly readable resources get added and appear in the returned set.

Get() fails correctly on the failing resource.

### What did you expect to happen?

I expected `List()` to notify me about issues reading a resource.

### How can we reproduce it (as minimally and precisely as possible)?

1. run the API server with etcd encryption turned on
2. rewrite your EncryptionConfiguration by replacing the key in the encryption provider
3. wait for the changes to take effect - `Get()` a resource that was previously encrypted until the `Get()` fails with an internal error
4. issue a `List()` request that contains the resource that was previously failing on `Get()`

Alternatively, you can apply the patch from the attachment that adds an integration test and 
[0001-list-broken-proof.txt](https://github.com/user-attachments/files/17202520/0001-list-broken-proof.txt)

```
make test-integration WHAT=./test/integration/controlplane/transformation GOFLAGS="-v" KUBE_TEST_ARGS='-run ^TestBrokenTransformations$'
```

### Anything else we need to know?

I wonder if it would be possible to allow `.patch` attachments so that patches don't have to be sent as .txt files.

### Kubernetes version

master


### Cloud provider

irrelevant


### OS version

_No response_

### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: deno
Issue: uWebsocket with BYONM does not load native lib on Windows
Labels: bug,node compat,node native extension

So how do i get uWebsocket insalled on deno 2.0.0-rc.8 - If at all possible
I do not have any deno experience, just want to try it because nodeJS runs into strange GC issues under high load for that project.

Running `deno install` provides this message
```ps
deno install
error: Error in hyper-express@6.17.2 parsing version requirement for dependency "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.48.0"

Caused by:
    Package specified a dependency outside of npm (github:uNetworking/uWebSockets.js#v20.48.0). Deno does not install these for security reasons. The npm package should be improved to have all its dependencies on npm.

    To work around this, you can use a package.json and install the dependencies via `npm install`.
```

But using npm install will install the build for nodeJs.
Resulting in the crash:
```
error: Uncaught (in promise) Error: This version of uWS.js supports only Node.js LTS versions 16, 18 and 20 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).

TypeError: LoadLibraryExW failed
    at file:///C:/Users/.../node_modules/uWebSockets.js/uws.js:22:9
    at Object.<anonymous> (file:///C:/Users/.../node_modules/uWebSockets.js/uws.js:24:3)
    at Object.<anonymous> (file:///C:/Users/.../node_modules/uWebSockets.js/uws.js:26:4)
    at Module._compile (node:module:748:34)
    at Object.Module._extensions..js (node:module:767:10)
    at Module.load (node:module:665:32)
    at Function.Module._load (node:module:537:12)
    at Module.require (node:module:684:19)
    at require (node:module:808:16)
    at Object.<anonymous> (file:///C:/Users/.../node_modules/hyper-express/index.js:4:21)
```

_Originally posted by @BolverBlitz in https://github.com/denoland/deno/issues/25648#issuecomment-2384894168_
Repository: godot
Issue: Self modulate doesnt works on canvas group with enabled y sort
Labels: bug,topic:2d

### Tested versions

reprodusible in godot 4.3 stable

### System information

Windows 10, godot v4.3.stable.official [77dcf97d8]

### Issue description

I have a canvas group that has a child sprite. The canvas has a modified self modulate parameter, which causes the sprite’s color to change. However, when I turn on the y sort on canvas, the sprite no longer changes color.

### Steps to reproduce

1. Create a canvas_group node
2. Add Sprite2D node to it
3. Change self_modulate property on canvas_group (you can see, that sprite2D changed his color)
4. Set y_sort property on canvas_group to True (As a result Sprite2D stop changing his color)

### Minimal reproduction project (MRP)

[YSortProblem.zip](https://github.com/user-attachments/files/17202774/YSortProblem.zip)
Repository: deno
Issue: `deno test`: show failure output immediately instead of at the very end of test run
Labels: suggestion,testing

When working on a test suite with long running tests it's a bit annoying having to wait until the very end of a test run to see errors, stack traces and more. This means you can't even abort a test run with `CTRL+C`, because then you get no test summary and no information about failures.

<img width="926" alt="Screenshot 2024-10-01 at 11 48 16" src="https://github.com/user-attachments/assets/b1c6ecd2-1685-47b3-9e74-a2598d846f05">

Instead, we should always bring failing test output when a test failed.
Repository: PowerToys
Issue: smart change language 
Labels: Needs-Triage

### Description of the new feature / enhancement

when you select a sentence you will have the option to change the whole sentences language 

### Scenario when this would be used?

when you are write a code for like an hour and when you look at the screen you see you wrote the whole thing in the wrong language .
when you text your friend from the US in English and then you text your other friend from Russia and forgot to change language

### Supporting information

_No response_
Repository: next.js
Issue: static sites load to slow and extra network request being made when going to that route again
Labels: bug,Performance

### Link to the code that reproduces this issue

https://github.com/MariuzM/test__next/tree/main

### To Reproduce

When you click first time on next route it will load fast/instant. but when you click it again it loads abit slowly and also extra network request being made.

### Current vs. Expected behavior

If I'm building static site i don’t need extra network request being made to server, but why is next doing this on 2nd time click?

All this is being deployed on railway.app 

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000
  Available memory (MB): 65536
  Available CPU cores: 10
Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 15.0.0-rc.0 // Latest available version is detected (15.0.0-rc.0).
  eslint-config-next: 15.0.0-rc.0
  react: 19.0.0-rc-fb9a90fa48-20240614
  react-dom: 19.0.0-rc-fb9a90fa48-20240614
  typescript: 5.6.2
Next.js Config:
  output: N/A
```


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

Performance

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

Other (Deployed)

### Additional context

_No response_
Repository: vscode
Issue: Wrapped terminal placeholder message looks off
Labels: polish,under-discussion,terminal-rendering

Might be personal preference but when the terminal placeholder message gets wrapped it just looks off to me:
1) second line does not look horizontally aligned with the first
2) I think it would actually be better if we simply do not wrap (but use overflow:elipses rendering style)

I know we also wrap in editor. But I question if that is a good pattern.

![Image](https://github.com/user-attachments/assets/afb5d9f6-7542-47e5-92d5-37999baa4eca)
Repository: pytorch
Issue: `torch._dynamo.config.cache_size_limit` behaviour with DDP
Labels: oncall: distributed,triaged,module: ddp,oncall: pt2,pt2d-triage-nov2024

### 🐛 Describe the bug

When passing from single GPU to multiple GPUs DDP the default `cache_size_limit` is saturated quite quickly as the default 8 limit it is going to be shared against N allocated GPU recompiles.

Is there a way to automatically set a better/safe default for the DDP without requesting the user to manipulate this internal API?

### Versions

nightly

cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o @ezyang @chauhang @penguinwu
Repository: godot
Issue: Opening project in editor fails with "Parse Error: Busy."
Labels: bug,topic:core,needs testing

### Tested versions

- Reproducible in: v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (Intel Corporation; 31.0.101.4887) - 13th Gen Intel(R) Core(TM) i5-1345U (12 Threads)

### Issue description

The first time a project is opened in an editor (or after the .godot directory is removed), importing the scenes/scripts fails with:
```
ERROR: Parse Error: Busy. [Resource file res://thing.tscn:6]
   at: _parse_node_tag (scene/resources/resource_format_text.cpp:289)
ERROR: Failed loading resource: res://thing.tscn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:283)
```

Closing and opening the same project a second time fixes the issue. The issue appears again if `.godot` directory is removed.

### Steps to reproduce

* Download and unzip the attached sample project.
* Make sure the project is not open in the Godot editor.
* `rm -rf .godot`
* `godot --editor --verbose --headless --import --quit`
  * (Or open the project in the editor.)
* Observe the mentioned error in the output.

### Minimal reproduction project (MRP)

[repro2.zip](https://github.com/user-attachments/files/17203878/repro2.zip)
Repository: rust
Issue: Tracking Issue for default-visibility
Labels: C-tracking-issue

This is a tracking issue for `default-visibility`, which allows setting the visibility of symbols when building a shared object / dylib.

MCP: https://github.com/rust-lang/compiler-team/issues/782

### 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.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.

### Steps
<!--
Include each step required to complete the feature. Typically this is a PR
implementing a feature, followed by a PR that stabilises the feature. However
for larger features an implementation could be broken up into multiple PRs.
-->

- [ ] Implement the flag as `-Z default-visibility`
- [ ] Stabilize as `-C default-visibility`

### Unresolved Questions

- [ ] Are we happy with the naming of the flag and its options?
- [ ] What should the default be?

### Implementation history

* https://github.com/rust-lang/rust/pull/130005
Repository: bitcoin
Issue: Having qt(@6) breaks build for qt@5 on macOS 15.0 and 13.7
Labels: macOS,Build system

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current behaviour

Building bitcoin-qt produces a flood of errors:

```
In file included from /Users/sjors/dev/bitcoin/src/qt/csvmodelwriter.cpp:5:
In file included from /Users/sjors/dev/bitcoin/src/qt/csvmodelwriter.h:8:
In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/QList:1:
In file included from /usr/local/opt/qt@5/lib/QtCore.framework/Headers/qlist.h:48:
/usr/local/include/QtCore/qvector.h:20:32: error: no template named 'QMutableListIterator'
   20 | using QMutableVectorIterator = QMutableListIterator<T>;
      |                                ^
/usr/local/include/QtCore/qvector.h:22:25: error: no template named 'QListIterator'
   22 | using QVectorIterator = QListIterator<T>;
      |                         ^

```

Building with `depends` works fine (qt 5.15.14).

Homebrew is still at version 5.15.13. I don't know if 5.15.14 fixes something, or if there's another reason why depends works but homebrew doesn't. There's currently no open PR to bump homebrew's version, an earlier attempt was abandoned: https://github.com/Homebrew/homebrew-core/pull/172934

I'm not sure when this started happening. E.g. the commit 338bc2cd261ba3daf7fb494f8cb4a534762e292c which introduced cmake has the same issue.

I though perhaps it's a change in macOS itself. But I also tried on macOS 13.7 Ventura, with Xcode 15.2 which gives me similar errors.

Another possibility could be recent homebrew qt change: https://github.com/Homebrew/homebrew-core/commits/master/Formula/q/qt%405.rb

### Expected behaviour

To build `bitcoin-qt`.

### Steps to reproduce

Install qt@5 via homebrew, 5.15.13 is the latest version.

```
cmake -B build -DBUILD_GUI=ON
```

### Relevant log output

_No response_

### How did you obtain Bitcoin Core

Compiled from source

### What version of Bitcoin Core are you using?

master@fc642c33ef28829eda0119a0fe39fd9bc4b84051

### Operating system and version

macOS 15.0

### Machine specifications

_No response_
Repository: ollama
Issue: GPU Tesla at 100% and ollama don't work, is hung
Labels: bug,nvidia,needs more info

### What is the issue?


![image](https://github.com/user-attachments/assets/b187c01f-bb03-4116-b7f6-1d07553af8eb)


![image](https://github.com/user-attachments/assets/55b19214-76e7-4f14-9edd-e2b739ee965f)

![image](https://github.com/user-attachments/assets/02a31135-2884-4060-8e7a-6b271a91ec7e)

I have just set up my Debian 12 Linux server. I installed Ollama directly using the following command:

curl -fsSL https://ollama.com/install.sh | sh

I did not make any modifications to the service file. I ran the command:

ollama run phi3.5

I typed "hello". The response was good and correct. However, for my second question, it started writing the beginning of a sentence and then displayed "###" (see screenshot).

I ran the nvidia-smi command (see screenshot), and the processor stays at 100%, and Ollama stops responding.

I should mention that my server does not have a graphical interface, and the Nvidia and CUDA drivers are up to date (update, upgrade). I am providing the top command output for CPU and RAM information.

Thank you for your feedback.




### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.12
Repository: vscode
Issue: Markdown should not split up words in backticks that end in `/` when wrapping
Labels: markdown,polish,editor-wrapping

Can we handle this edge case so that folders in backticks prefer not breaking the word? 

![Image](https://github.com/user-attachments/assets/0063d32d-b5de-4b9c-96fd-acd39f5ba730)
Repository: vscode
Issue: Walkthrough initial state on 100% display and new user data dir has a tiny scroll bar
Labels: polish,getting-started

![Image](https://github.com/user-attachments/assets/192e9e34-1570-4e9d-8162-50649f00f78d)

Reducing this padding before the steps would help this go away:

![Image](https://github.com/user-attachments/assets/40729ca5-4784-4dde-9dd5-1ad3b07c5545)
Repository: vscode
Issue: Terminal search highlights update really slowly
Labels: bug,polish,terminal-find

* open terminal
* search for transpile
* type `npm run gulp transpile-client-swc`
* insert/remove spaces before "transpile"
* 🐌 the search highlight is very, very slow to update


https://github.com/user-attachments/assets/762c6b19-0821-46c7-ad63-5b97203fedfe
Repository: next.js
Issue: `optimizePackageImports` is not working with `react-icons` in dev mode
Labels: bug,Performance,linear: next

### Link to the code that reproduces this issue

https://github.com/FilipiBrabo/nextjs-react-icons

### To Reproduce

1. Start the application with analyze-bundle enabled `ANALYZE=true npm run dev`
2. Go to `localhost:3000` the bundle files should open in your browser

### Current vs. Expected behavior

The current behavior is that all icons from a `react-icon` pack are being included in the final bundle in dev mode. 

From the [optimizePackageImports docs](https://nextjs.org/docs/app/api-reference/next-config-js/optimizePackageImports) I expected that `react-icons/*` would be tree shaken both in dev and in prod build.

I've also included a `lucide` icon to see the difference, and noticed that `optimizePackageImports` is working as expected.

These are the bundles generated in dev mode of the application provided. You can see that all `fa`, `bs` and `ai` icons are being included in the final dev bundle.

Client bundle:
![client-bundle](https://github.com/user-attachments/assets/eec9041e-7f48-4e2c-9f99-95c4780d22fb)

Node.js bundle:
![nodejs-bundle](https://github.com/user-attachments/assets/7e552e26-9f75-482b-9418-9796ee5d35dc)

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024
  Available memory (MB): 32012
  Available CPU cores: 16
Binaries:
  Node: 18.20.4
  npm: 10.7.0
  Yarn: N/A
  pnpm: 8.15.8
Relevant Packages:
  next: 15.0.0-canary.174 // Latest available version is detected (15.0.0-canary.174).
  eslint-config-next: N/A
  react: 19.0.0-rc-2d16326d-20240930
  react-dom: 19.0.0-rc-2d16326d-20240930
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Developer Experience, Performance

### Which stage(s) are affected? (Select all that apply)

next dev (local)

### Additional context

I didn't dig too much deep into this, but these were the things that I've tried:

1. Use `modularizeImports` to replace `react-icons` with `@react-icons/all-files`. You can check it out in the `next.config.js` file.
```js
{
  reactStrictMode: true,
  modularizeImports: {
    "react-icons/fa": {
      transform: "@react-icons/all-files/fa/{{ member }}",
    },
    "react-icons/bs": {
      transform: "@react-icons/all-files/bs/{{ member }}",
    },
    "react-icons/ai": {
      transform: "@react-icons/all-files/ai/{{ member }}",
    },
  },
}
```
2. Specify `react-icons` lib in `optimizePackageImports` config 
```js
{
  reactStrictMode: true,
  experimental: {
    optimizePackageImports: [
      "react-icons/fa",
      "react-icons/bs",
      "react-icons/ai",
    ],
    // or
    optimizePackageImports: ["react-icons"],
  },
}
```

This really affects DX if you have too many icons from different packs being imported.
I'm happy to help in any way to fix this issue, just need a little guidance :sweat_smile:
Repository: pytorch
Issue: conv2d boundaries
Labels: module: nn,triaged,enhancement

### 🚀 The feature, motivation and pitch

[torch.nn.functional.conv2d](https://pytorch.org/docs/stable/generated/torch.nn.functional.conv2d.html) (and respective [torch.nn.Conv2d](https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html)) miss `boundaries` which is implemented on scipy [convolve2d](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve2d.html).

Any plans to implement this feature?

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki