sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: [Run Programs] URL shortcuts are limited to certain protocols
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage

### Microsoft PowerToys version

0.81.1

### Installation method

Chocolatey

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Create [URI shortcut](https://help.obsidian.md/Extending+Obsidian/Obsidian+URI) for specific [Obsidian](https://obsidian.md) vault:

![image](https://github.com/microsoft/PowerToys/assets/20223093/5ee08f7f-324d-4e68-af1b-aff23aca3803)

Place this shortcut in:

`C:\Users\<current user>\AppData\Roaming\Microsoft\Windows\Start Menu` and/or
`C:\Users\<current user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs` and/or
`C:\Users\<current user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Obsidian` and/or
`C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu` and/or
`C:\Users\<current user>\Desktop`

Open PowerToys Run

![image](https://github.com/microsoft/PowerToys/assets/20223093/886b64e0-413f-4c00-8f97-16425ed46170)

No results. Sanity check:

![image](https://github.com/microsoft/PowerToys/assets/20223093/266c93d6-9b0c-4d4b-a913-21890c220fdc)

These URL shortcuts work and are located in:
`C:\Users\<current user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Steam`

They look like this:

![image](https://github.com/microsoft/PowerToys/assets/20223093/f057d214-15ec-4f73-92b7-b6c843c2ed76)

If I don't restrict results to the programs plugin, I get results from [Everything](https://github.com/lin-ycv/EverythingPowerToys):

![image](https://github.com/microsoft/PowerToys/assets/20223093/0d8a0e51-40db-4ceb-b51e-33b9ce78c775)

However the thumbnail/icon is not shown and the file extension is.

### ✔️ Expected Behavior

I want this shortcut to show up like any other program.

### ❌ Actual Behavior

Shortcut only shows up as file without icon.

### Other Software

Obsidian v1.6.3
Repository: next.js
Issue: Middleware added Nonce attributes missing from TypeScript production builds
Labels: Middleware,TypeScript

### Link to the code that reproduces this issue

https://github.com/andymagill/csp-middleware-nextjs-bug/tree/main

### To Reproduce

1. Create a local copy of the reproduction template via `yarn create next-app --example reproduction-template reproduction-app`
2. Add the [middleware.ts](https://gist.github.com/andymagill/678ab6ac90e616f93fd57a8f409ec8fa) TypeScript (not JS) file from the documentation : [https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy](https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy)
3. Build the project via `yarn install` then `yarn run build` then `yarn run start`
4. Open the browser console to see CSP errors for each bundle. Alternatively, inspect the source of the server response to confirm bundles have no nonce attribute. 

### Current vs. Expected behavior

**Current behavior**:  nonce attributes are missing from bundles
**Expected behavior**: nonce attributes are present on bundles

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 16093
  Available CPU cores: 16
Binaries:
  Node: 20.11.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.4 // Latest available version is detected (14.2.4).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 4.9.5
Next.js Config:
  output: N/A
```


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

Documentation, Middleware, TypeScript

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

next build (local)

### Additional context

This behavior appears to be specific to _production_ builds of next.js _typescript_ _middleware_. Running `yarn run dev` in the example repo works fine and correctly adds the nonce.  The "with-strict-csp" example with the middleware.JS (not ts) also correctly adds the nonce on production builds.

Currently, I see no way to add nonces to Next.JS TypeScript projects using the documented methods.
Repository: go
Issue: x/text/collate: CompareString(collate.Numeric) returns wrong result for "0.0" vs "1.0"
Labels: NeedsInvestigation

### Go version

go version go1.22.1 darwin/arm64

### Output of `go env` in your module/workspace:

```shell
N/A
```


### What did you do?

```
	c := collate.New(language.English, collate.Numeric)
	r1 := c.CompareString("0", "1")
	r2 := c.CompareString("0.0", "1.0")
	println(r1, r2)
```

### What did you see happen?

`r1 == -1` and `r2 == 1 (WRONG)`

### What did you expect to see?

`r1 == -1` and `r2 == -1`
Repository: pytorch
Issue: does FSDP support AMSP (a new DP shard strategy)
Labels: oncall: distributed,triaged

### 🚀 The feature, motivation and pitch

there's a new DP shard strategy which is more flexible and general, see more detail at https://arxiv.org/abs/2311.00257 AMSP: Reducing Communication Overhead of ZeRO for Efficient LLM Training

Does FSDP support similar feature? If not, any plan to support it? thanks.

### Alternatives

_No response_

### Additional context

_No response_

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k
Repository: ui
Issue: [bug]: A friendly reminder of Toast
Labels: bug

### Describe the bug

Don't call `useToast` where you declare the providers. Doing so would trigger a re-render of the entire component tree if one of the descendants calls toast to append a toast.

Why bother? Because i have called `useToast` where there is a QueryClientProvider, and deep down, an onSuccess callback was registered to show a toast.

There is a component that contains `useQuery` to fetch data as the initial data. It should not refetch on a component-level re-render, but it did refetch when the toast was shown.

So, it seems the QueryClientProvider was recreated, and the query cache was invalidated. Finally, the re-render caused a flash of stale data being displayed.

Edit: it only happens when first toast gets displayed

### Affected component/components

all

### How to reproduce

1. use `useToast` in a component where you define providers
2. call another `useToast`  in a subtree component
3. expect a data refetch

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
macOS 14.5
pnpm 8
shadcn-cli 1.2.2
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: vscode
Issue: Focus is shifting to webview panel on invoking  context menu from tree view node (i.e right click on any treeview node/file from vscode explorer) 
Labels: bug,webview

<!-- ⚠️⚠️ 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/No

<!-- 🪓 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: 1.90.1
https://github.com/microsoft/vscode/assets/31886168/f48f4a0f-7705-4f5d-a090-7ffcfb0edde6
- OS Version: windows 11 Enterprise

Steps to Reproduce:

-In my extension, I created WebView and displayed that at the bottom of active text editor.
-But whenever, I right click on any tree view node inside vscode Explorer ( launched from View -> Explorer) then WebView gets the focus. 
-Any action to launch context menu from tree view node should not shift the focus to Webview.
-Please note, this issue started to appear from vscode version 1.88.1.
-Also please note , this issue of shifting focus to webview does not occur when I display webview to the right of active text editor i.e. by executing command vscode.commands.executeCommand (workbench.action.moveEditorToRightGroup)

Below are vscode api, I used to create webview and display webview to bottom of active text editor
1) I have created webview using below vscode API
 vscode.window.createWebviewPanel(
        "resultWindow",
         "myView',
        vscode.ViewColumn.Active,
        {
          enableScripts: true,
          retainContextWhenHidden: true,
        }
      );

2)I have moved webview down to active text editor by executing below vscode command
vscode.commands.executeCommand('workbench.action.moveEditorToBelowGroup');

In the attached video 
1) I have webview with title Results:untitled -1 which is dispalyed below text editor which has some text - select * from TABLE22
2) webview does not have focus
3) When I right clicked on any node in vscode explorer then webview gets the focus. 
Issue - Focus should not shift to webview when we right clicked on node/file in vscode explorer 

https://github.com/microsoft/vscode/assets/31886168/ecce870e-e34c-44db-93c6-ee3db065f786
Repository: PowerToys
Issue: Not getting uninstalled, nor getting updated
Labels: Issue-Bug,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.79.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

not able to uninstall the application , always shows up this error, also its not getting updated
tried uninstalling through command promt and powershell but always got an error 

I am attaching the log file and screenshot of the same 

[log file.txt](https://github.com/user-attachments/files/15840787/log.file.txt)


![image](https://github.com/microsoft/PowerToys/assets/99337487/ecc13dcf-3513-48d6-abd6-f28339139ac2)
![image](https://github.com/microsoft/PowerToys/assets/99337487/ac370364-1626-4de1-8fc2-380d43642516)



### ✔️ Expected Behavior

to get successfully uninstalled / update

### ❌ Actual Behavior

not getting uninstalled / update

### Other Software

_No response_
Repository: pytorch
Issue: vmap fails to call torch.compiled function
Labels: triaged,module: vmap,oncall: pt2,module: pt2-dispatcher

### 🐛 Describe the bug


### Reproducer

```python
import torch

@torch.compile(backend="aot_eager", fullgraph=True)
def fn(x):
    return x.sin()

x = torch.randn(3, 4)
y = torch.func.vmap(fn)(x)

# ...
# torch/_dynamo/convert_frame.py:178: in _fn
#     return fn(*args, **kwargs)
# torch/_dynamo/convert_frame.py:564: in transform
#     tracer = InstructionTranslator(
# torch/_dynamo/symbolic_convert.py:2396: in __init__
#     self._throw_if_in_functorch()
# torch/_dynamo/symbolic_convert.py:2452: in _throw_if_in_functorch
#     unimplemented(msg)
# torch/_dynamo/exc.py:221: in unimplemented
#     raise Unsupported(msg)
# E   torch._dynamo.exc.Unsupported: torch.func.vmap(fn) requires the function to be inlined by dynamo
# E
# E   Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
# E
# E
# E   You can suppress this exception and fall back to eager by setting:
# E       import torch._dynamo
# E       torch._dynamo.config.suppress_errors = True
```

We incorrectly exit when we detect that we're inside a functorch in InstructionTranslator. The 

### Versions

main

cc @zou3519 @ezyang @chauhang @penguinwu @bdhirsh @anijain2305
Repository: pytorch
Issue: Add Swiglu activation function
Labels: module: nn,triaged,actionable

### 🚀 The feature, motivation and pitch

Hey team, i love building things from scratch, and as i was implementing the LLaMa paper by meta obviously using pytorch i saw that pytorch did not have a nn.swiglu activation function. I did end up implementing it on my own, but i still feel like swiglu being used in mutliple other new language models, LLaMa being the most popler one, needs to be implemented in Pytorch and should be a part of it. 

### Alternatives

There are many other activation functions already in pytorch, but as results show, Swiglu has been really impactful in the success of LLaMa, so i think the community might benefit with it being in pytorch

### Additional context

Also, ive been using pytorch for a long time and ive always build things from scratch, and it has always been on my todo list to contribute to pytorch, i feel like this might be it.

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: pytorch
Issue: Add RMS Norm layer
Labels: triaged,module: norms and normalization

### 🚀 The feature, motivation and pitch

Hey team, i love building things from scratch, and as i was implementing the LLaMa paper by meta obviously using pytorch i saw that pytorch did not have a nn.rmsnorm function for RMS Normalization layer . I did end up implementing it on my own, but i still feel like RMS Normalization being used in mutliple other new language models, LLaMa being the most popler one, needs to be implemented in Pytorch and should be a part of it. 


### Alternatives

There are many other normalization layer functions already in pytorch, but as results show, RMS Norm has been really impactful in the success of LLaMa, so i think the community might benefit with it being in pytorch


### Additional context

Also, ive been using pytorch for a long time and ive always build things from scratch, and it has always been on my todo list to contribute to pytorch, i feel like this might be it.
Repository: animate.css
Issue: `--animate-delay` has no effect (and I think that I’ve figured out why)
Labels: bug

### Describe The Bug

The docs mention that users can add `--animate-delay` to their CSS to delay when a given animation starts. But this CSS variable seems to have no effect. 

![Safari - Animate css  A cross-browser library of CSS animations  - 2024-06 at 11-12-58](https://github.com/animate-css/animate.css/assets/118319/cdc8c506-99bc-4f4b-92af-ce7f277dbc47)


### Steps To Reproduce

1. Run this minimized test case, which includes `--animate-delay: 5s;` on an element:
 https://codepen.io/handcoding/pen/dyEZxoJ 


### Expected Behavior

The expected behavior is that this element would animate _after_ a delay of 5 seconds. 

### Desktop

- OS: macOS Sonoma
- Browser: Safari and Chrome and Firefox (that I’ve tested so far)
- version: animate.css 4.1.1

### Additional Context

I believe that I’ve figured out why this is happening. 

In [animate.css's](https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.css) base `.animate__animated` class, the library programmatically connects the `animation-duration` CSS property to its variable through `animation-duration: var(--animate-duration);` (which is good!).

.... but then the library’s `.animate__animated` class doesn’t _also_ connect the `animation-delay` CSS property to its corresponding `--animate-delay` variable. 

So the upshot is that if you set, say, `--animate-delay: 5s;` on an element, there ends up being no delay at all.

```css 
@charset "UTF-8";/*!
 * animate.css - https://animate.style/
 * Version - 4.1.1
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2020 Animate.css
 */
:root {
  --animate-duration: 1s;
  --animate-delay: 1s;
  --animate-repeat: 1;
}
.animate__animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-duration: var(--animate-duration);
  animation-duration: var(--animate-duration);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

[…]
```

PS I believe that the `--animate-repeat` CSS variable is also affected by this since that doesn’t appear to be programmatically connected to its corresponding CSS property within `.animate__animated` either.
Repository: ollama
Issue: The community integrations in .NET
Labels: feature request

There have some .NET NuGet packages:

[Ollama.NET](https://www.nuget.org/packages/Ollama.NET)
[Semantic Kernel Connectors for Ollama](https://www.nuget.org/packages/IdeaTech.SemanticKernel.Connectors.Ollama)

The source code repos:
[Ollama.NET](https://github.com/shuaihuadu/Ollama.NET)
[Semantic Kernel Connectors for Ollama](https://github.com/shuaihuadu/semantic-kernel-connectors)

Could you please see if they can be added to the community integration list?
Repository: rustdesk
Issue: S pen not working to move mouse on android
Labels: bug,Fund

### Bug Description

S pen on Android does not move the cursor on Windows. Neither `Mouse mode` nor `Touch mode`.

### How to Reproduce

- have Note10+
- connect to PC
- try to move PC mouse with s pen

### Expected Behavior

the cursor moves

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

Android 12 - One UI 4.1 -> Windows 11

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

1.2.3 -> 1.2.3-1

### Screenshots

None

### Additional Context

It worked right before I updated RustDesk on Android. It was a really old version, like 1.1 or something...

I updated, because the old app started to crash and reset my wallpaper.

Note 10+

<!-- POLAR PLEDGE BADGE START -->
## Upvote & Fund

- We're using [Polar.sh](https://polar.sh/rustdesk) so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.

<a href="https://polar.sh/rustdesk/rustdesk/issues/8359">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/rustdesk/rustdesk/issues/8359/pledge.svg?darkmode=1">
  <img alt="Fund with Polar" src="https://polar.sh/api/github/rustdesk/rustdesk/issues/8359/pledge.svg">
</picture>
</a>
<!-- POLAR PLEDGE BADGE END -->
Repository: next.js
Issue: typedRoutes don't recognize parameter on rewritten url if preceded by path character
Labels: bug,TypeScript

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/elastic-lucy-jfpczm?file=%2F.next%2Ftypes%2Flink.d.ts

### To Reproduce

The error is in the generated types file.

### Current vs. Expected behavior

If rewriting /@:username to /user/:username, I'd expect a generated type like `/@${SafeSlug<T>}` but instead I get `/@[username]`.

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 21.6.0: Mon Feb 19 20:24:34 PST 2024; root:xnu-8020.240.18.707.4~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 22.2.0
  npm: 10.7.0
  Yarn: N/A
  pnpm: 7.33.7
Relevant Packages:
  next: 14.2.0 // There is a newer version (14.2.4) available, upgrade recommended! 
  eslint-config-next: 14.2.0
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


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

TypeScript

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

next dev (local)

### Additional context

_No response_
Repository: react-native
Issue: Android Talkback - Checkbox accessibility state stuck with announcing "mixed" once the mixed state is introduced
Labels: Issue: Author Provided Repro,Platform: Android,Needs: Attention

### Description

When supplying an accessibility state for a checkbox it behaves as intended until you introduce a mixed state. Once the mixed state is introduced "mixed" will be announced every time the check box is interacted with again.

For instance initially a check box that isn't checked will be announced as Not checked checkbox and one that is would be announced as checked checkbox. The mixed state will correctly announced checkbox mixed, but if you change the checkbox to a checked or not checked state from here then it will announced Not checked/checked checkbox mixed. Which isn't correct and should match the original non confusing state.

### Steps to reproduce

1. install an application with yarn android
2. make sure talkback is on
3. click on a select all checkbox and notice the announced state
4. select or deselect that checkbox and notice the changed announced state
5. remove or add a selection as needed to get the "select all" checkbox into a mixed state
6. Notice that the announced state is correct for the mixed state
7. Reselect or deselect all the items in the list to get the checkbox to a checked or not checked state instead of mixed and notice that the announced state is now incorrect

### React Native Version

0.73.8

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
  OS: macOS 14.5
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 378.02 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.6.1
    path: /usr/local/bin/node
  Yarn:
    version: 3.6.4
    path: /usr/local/bin/yarn
  npm:
    version: 10.2.4
    path: /usr/local/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 18.0.2.1
    path: /usr/bin/javac
  Ruby:
    version: 2.7.8
    path: /usr/local/opt/ruby@2.7/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.8
    wanted: 0.73.8
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false
```


### Stacktrace or Logs

```text
N/A
```


### Reproducer

https://github.com/department-of-veterans-affairs/va-mobile-app

### Screenshots and Videos


https://github.com/facebook/react-native/assets/87150991/c2e368e0-daf7-4cf4-816c-557b3b286142
Repository: react
Issue: [Compiler Bug]: Constants or properties named `use*` trigger compiler errors re: hooks
Labels: Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler

### What kind of issue is this?

- [ ] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- [ ] babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- [ ] eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script)

### Link to repro

https://playground.react.dev/#N4Igzg9grgTgxgUxALhHCA7MAXABFMBAYQENCxcBeXAbQB0NdcByAcQgEsMBzXbCPgAsEuHBBgJmAGgZNmABQ5wA1l15QADkJGqAJmGmyWAdRLY4gtbgAqANWYMAugwbosebJbABJMAGUSADMEACEoPGpgIwJiMgQwZFojOQAjcKEOCkzcDAhsB0ZcZwwAXxcMBAAPDXE8XQRAkigAGzxAqAw4bA5MXABZAE8AQQ0NAAoASlwowolsWEYAHgA+ZOmY0nIAOgBbEnGNuKpl3DG1pkXdDgA3XGUEAcpgQ8IS1cKmT-XCTYQyj8+iwA9Fdru8vhMJv81sBPJlfAFgmFsFsXvFdvsxmjjqdzrhLjc7g8nmi3nimM8fnF-l8LiCbuDPpCafige9-iASkA

### Repro steps

Try to reference an object or property with a name starting with `use*`. Seems it could at least narrow its scope to functions named `use*`?

### How often does this bug happen?

Every time

### What version of React are you using?

^19.0.0-rc-f994737d14-20240522