sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Added support for Power Toys Run for third party applications
Labels: Needs-Triage

### Description of the new feature / enhancement

Power Toys is a really great application to quickly search. However it can be interesting to use Power Toys Run directly to search in a third party application.

### Scenario when this would be used?

For example a search in Power Toys Run will search for notes in Notion. Or even better search a video on youtube for example. Moreover it can even be integrated with Windows applications like the Microsoft store, or even the gallery

### Supporting information

_No response_
Repository: rust
Issue: Most aarch64 register classes aren't available
Labels: A-inline-assembly,T-compiler,C-bug

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code: [Compiler Explorer](https://rust.godbolt.org/z/arnfs1Yb6)

```rust
pub fn fmax(x: f64, y: f64) -> f64 {
    let z: f64;
    unsafe {
        std::arch::asm!(
            "fmax {z}, {x}, {y}",
            x = in(dreg) x,
            y = in(dreg) y,
            z = out(dreg) z,
        );
    }
    z
}
```

I expected to see this happen: It compiles

Instead, this happened:

```
error: invalid register class `dreg`: unknown register class
  --> <source>:21:13
   |
21 |             x = in(dreg) x,
   |             ^^^^^^^^^^^^^^

error: invalid register class `dreg`: unknown register class
  --> <source>:22:13
   |
22 |             y = in(dreg) y,
   |             ^^^^^^^^^^^^^^

error: invalid register class `dreg`: unknown register class
  --> <source>:23:13
   |
23 |             z = out(dreg) z,
   |             ^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors
```

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.65.0-nightly (b44197abb 2022-09-05)
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Backtrace</summary>
<p>

```
<backtrace>
```

</p>
</details>
Repository: PowerToys
Issue: Mouse pointer movement modifications (additional mouse utility)
Labels: Idea-New PowerToy,Product-Mouse Utilities

### Description of the new feature / enhancement

1) with some key modificator, for example with shift pressed mouse pointer only moves in straight line (horizontal or vertival, maybe 45 diagonal). such behavior is implemented in some graphic software (photoshop, illustrator, etc).
2) with some key modificator, for example with alt pressed mouse pointer precision increase (for more precise actions)

### Scenario when this would be used?

1) any types of sliders / timelines, e.g. when I watch youtube video and scan across timeline I often slip from it (which is annoying). with horizontal movment lockin it will be much more pleasant UX. 
1.1) graphic / notes apps where I need to draw a straight line, but software don't have such features like in photoshop
2) same case with video timeline - easier to find specific moment when you can increase precision of mouse pointer movement

### Supporting information

_No response_
Repository: PowerToys
Issue: Always On Top mouse shortcut?
Labels: Idea-Enhancement,Product-Always On Top

### Description of the new feature / enhancement

I currently use a tool that lets me right click/long press on the Minimize button to send the window to the System Tray rather than the Taskbar--it would be helpful to mimic this implementation on the Maximize button for Always On Top.

### Scenario when this would be used?

Always On Top is useful when I am using my keyboard, but there are some cases in which I only use my device's screen or touchpad (Surface Laptop Studio) while the keyboard is tucked away. A right click or long press on a title bar button would allow this to work on devices that aren't keyboard-focused.

### Supporting information

_No response_
Repository: PowerToys
Issue: [Screen Ruler] The ability to see if a caption or objects is aligned
Labels: Idea-Enhancement,Product-Screen Ruler

### Description of the new feature / enhancement

The ability to see if a caption is aligned.

### Scenario when this would be used?

It will be very useful when you need to check whether a given inscription or objects are evenly aligned.

https://user-images.githubusercontent.com/70388317/189499455-dc67d5e9-c885-425e-b688-1e1a92cc2329.mp4



### Supporting information

_No response_
Repository: PowerToys
Issue: [Screen Ruler] Drawing virtual lines and the distances (pixels) between them
Labels: Idea-Enhancement,Product-Screen Ruler

### Description of the new feature / enhancement

Drawing virtual lines and the distances (pixels) between them

### Scenario when this would be used?

When you want to see the distances between different objects - width of letters and objects.

https://user-images.githubusercontent.com/70388317/189499598-1b5919c4-65dc-4b75-83f9-4ae67858ec96.mp4



### Supporting information

_No response_
Repository: PowerToys
Issue: Power Rename Window Scale
Labels: Issue-Bug,Product-PowerRename

### Microsoft PowerToys version

0.62.0

### Running as admin

- [X] Yes

### Area(s) with issue?

PowerRename

### Steps to reproduce

 Just opening the program.

### ✔️ Expected Behavior

Program opens  with the standard  options to close, resize or minimize the window.

### ❌ Actual Behavior

Program opens (sudo Full Screen) but there is no way to minimize, resize or close the program. I have to right click on the icon in the system tray and select close all windows to exit the program. I have tried everything I can think of the get the window to scale properly, or show a menu bar or something, but nothing has worked.

![Screenshot 2022-09-11 012630](https://user-images.githubusercontent.com/113276598/189513908-1c69b52e-6dfe-4374-afd9-df46d2519669.jpg)


### Other Software

_No response_
Repository: vscode
Issue: Git - add an `--ignore-matching-lines` option as for `git diff`
Labels: feature-request,git

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

It would be nice if you could add the
[`--ignore-matching-lines`](https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--Iltregexgt) option as for `git diff` to VSCode.

_(This feature is e.g. already present in [WinMerge](https://manual.winmerge.org/en/Filters.html#Filters_LineFilter).)_
Repository: rust
Issue: Feature request: function in core to ease `&str -> [c_char]` write in no_std
Labels: T-libs-api

Copying a string to a provided buffer is a common pattern in C, and hence in FFI. However, there is really no easy way to perform this action from a Rust `&str` to a FFI buffer `&[c_char]` without going through a `CString`.

Another problem is that `CStr` is moving to `core` (great!) but it is _not_ straightforward to construct a `CStr` from `&str`, since a buffer is needed. The FFI issue is present here as well, since `CString` is not available.

One of the major annoyances with this task is that `c_char` may map to `u8` or `i8`, but rust strings are always `[u8]`. I think this is a sound case for tranmute, but this is generally discouraged (rightfully so) so it seems like users often wind up using iterating implementations.

To help these issues, I propose a function along the lines of the following (panicking) implementation:

```rs
fn str_as_cstr_to_buf(s: &str, buf: &mut [c_char]) {
    if s.contains('\0') {
        panic!("&str contains null terminator");
    }

    // Safety: c_char is u8 or i8, which are both always valid
    let char_buf: &[c_char] = unsafe { transmute(s.as_bytes()) };
    buf[0..s.len()].copy_from_slice(char_buf);

    buf[s.len()] = b'\0' as c_char;
}
```

[playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=96fca8d96c8e24069fedc36f91fd9dea)

I do not know where the most applicable location for something like this would be, but a standalone function in `core::ffi` seems potentially suitable.

There are a few other uncomfortable things working with C strings in FFI, but I think this is one of the more common awkward use cases.
Repository: PowerToys
Issue: Mouse Pointer Crosshair feature suspended upon mouse inactivity
Labels: Needs-Triage

### Description of the new feature / enhancement

Add option to the Appearance & Behavior of the Mouse Pointer Crosshairs that sets a timeout for suspending crosshair visibility after mouse inactivity. 

I am visually impaired and find the crosshairs very helpful when using the mouse. But when I want the crosshairs to automatically disappear a short time after I stop using the mouse. The immediately appear when I move or use the mouse. The crosshairs are in the way when I am just looking at the screen. I don't want to keep pressing the shortcut key to acitivate/de-activate the feature. When the crosshairs feature is enabled, the crosshairs should automatically appear only when the mouse is active, and disappear when the I'm not using the mouse. The inactive delay must be user settable for the user's individual preferences. 

Suggest settings could be 0ms, 500ms, 2s, 5s, Never, Custom. 

### Scenario when this would be used?

See above. 

### Supporting information

_No response_
Repository: material-ui
Issue: [CSS variables] Nested theme
Labels: support: question,package: material-ui,customization: theme

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

Before when using nested themes with ThemeProvider and it worked fine.

I recently switched to CSS variables to better support next.js in Darkmode.


```js

  const theme = experimental_extendTheme(deepmerge(defaultTheme, themeOptions));

  return <CssVarsProvider theme={theme}>{children}</CssVarsProvider>;
```


Above code works fine with following version dependencies:

```json
"@emotion/cache": "^11.9.3",
"@emotion/react": "^11.9.3",
"@emotion/server": "^11.4.0",
"@emotion/styled": "^11.9.3",
"@mui/material": "^5.8.6",
"next": "^12.2.0",
```
But after i upgrade the dependencies get the following errors

```json
"@emotion/cache": "^11.10.3",
"@emotion/react": "^11.10.4",
"@emotion/server": "^11.10.0",
"@emotion/styled": "^11.10.4",
"@mui/material": "^5.10.4",
"next": "^12.3.0",
```

<img width="575" alt="Screen Shot 2022-09-11 at 14 27 10" src="https://user-images.githubusercontent.com/13531993/189516930-330de2f8-32ab-450e-a6f1-21ee0634a77d.png">



### Expected behavior 🤔

No error when setting up

### Steps to reproduce 🕹

Steps:

1.
2.
3.
4.


### Context 🔦

Nested theme:

```tsx
 <CssVarsProvider theme={outerTheme}>
      <Checkbox defaultChecked color="secondary" />
      < CssVarsProvider theme={theme}
      >
        <Checkbox defaultChecked />
        <Checkbox defaultChecked color="secondary" />
      </CssVarsProvider >
    </CssVarsProvider>
```

based on CSS variables:
https://mui.com/material-ui/experimental-api/css-variables/#main-content 

use `CssVarsProvider` instead of `ThemeProvider`

Sanbox : https://codesandbox.io/s/keen-lewin-bkchg9?file=/demo.tsx 

### 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>
Repository: pytorch
Issue: Batch multiplication for torch.sparse matrix multiplication
Labels: module: sparse,triaged,module: linear algebra

### 🚀 The feature, motivation and pitch

In the same way, there is a batchwise multiplication for ```torch.mm``` named ```torch.bmm``` I would appreciate if you would add a **batchwise multiplication** for ```torch.sparse.mm``` and ```torch.sparse.addmm``` that creates a sparse gradient. 



### Alternatives

_No response_

### Additional context

The sparse functions can be found ```[here](https://pytorch.org/docs/stable/sparse.html)```

cc @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jianyuh @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: vscode
Issue: Cannot add merge change if file is deleted
Labels: git,under-discussion

Type: <b>Bug</b>

- Reach a state where there are merge conflict in source control.
- Delete one of the files in question
- Click the + button under "Merge Changes" section in the source control tab
- Nothing happens, file must be recreated and deleted again.

VS Code version: Code 1.71.0 (Universal) (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:25:38.437Z)
OS version: Darwin x64 21.4.0
Modes:
Sandboxed: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
---removed---
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|10, 9, 9|
|Memory (System)|16.00GB (1.57GB free)|
|Process Argv|--crash-reporter-id 868d69ef-e283-471c-adc5-2609ba0d7c83|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (18)</summary>

Extension|Author (truncated)|Version
---|---|---
---removed-----

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
pylanb8912:30545647
vsclangdf:30486550
c4g48928:30535728
hb751961:30553087
dsvsc012:30540252
azure-dev_surveyone:30548225
i497e931:30553904

```

</details>

<!-- generated by issue reporter -->
Repository: godot
Issue: Freelook sensitivity setting breaks editor movement
Labels: bug,topic:editor,confirmed,topic:input,topic:3d

### Godot version

~~v4.0.alpha.custom_build [d0a2a4c98]~~
v4.0.alpha.custom_build [f6b36f54e]

### System information

Linux

### Issue description

When setting the `Freelook Sensitivity` to a lower value than the default value of 0.25 the camera starts lagging/gets stuck when looking around. The lower the value the more extreme the effect gets.


https://user-images.githubusercontent.com/18660100/189519869-73b5e61b-ef0b-4ac9-8005-3cbbe02370ca.mp4

This is especially annoying for anyone using a high DPI mouse.

### Steps to reproduce

1. Create a new project
2. Go to `Editor`->`Editor Settings`->`Editors`->`Freelook Sensitivity` set it to a lower value than 0.25. The lower the value the more extreme the effect
3. Try to look around in the editor

### Minimal reproduction project

Create a new one
Repository: godot
Issue: Significant CPU usage increase when playing in fullscreen mode with Vsync enabled
Labels: bug,platform:windows,topic:rendering,topic:porting,needs testing

### Godot version

Godot Engine v3.5.stable.official.991bb6ac7

### System information

Windows 10, i7-7700k, GTX 1050TI

### Issue description

CPU usage increases in any project when fullscreen is on and Vsync is enabled. I also experience occasional hitching in the games in fullscreen mode which may be caused by this. 

I don't have this problem with other games, engines or programs.

![image](https://user-images.githubusercontent.com/43501741/189520564-ccb682d5-c913-4e53-ba15-0904d9b1a424.png)


### Steps to reproduce

N/A

### Minimal reproduction project

_No response_
Repository: deno
Issue: lsp: test ignore/only code actions
Labels: suggestion,lsp

**Is your feature request related to a problem? Please describe.**

It's fiddly to convert `Deno.test(name, fn)` to `Deno.test({ name, fn, ignore: true })` or `Deno.test({ name, fn, only: true })`. Compare this to jest where it's as simple as changing `test()` to `test.skip()` or `test.only()`.

**Describe the solution you'd like**

Add a code actions to toggle ingnore and only on tests.

## Examples

### Ingoring/focusing basic test definition

This is pretty straightforward

```js
Deno.test("name", () => {})
// trigger "ignore test"
Deno.test({ name: "name", fn: () => {}, ignore: true)
```

```js
Deno.test("name", () => {})
// trigger "only test"
Deno.test({ name: "name", fn: () => {}, only: true)
```

### Ingoring/focusing object test definition

If the property exists set it to true, otherwise add the property on the end as true.

```js
Deno.test({ name: "name", fn: () => {})
// trigger "ignore test"
Deno.test({ name: "name", fn: () => {}, ignore: true)
```

```js
Deno.test({ name: "name", fn: () => {}, only: false)
// trigger "only test"
Deno.test({ name: "name", fn: () => {}, only: true)
```

### Unignoring/unfocussing object test definition

This is a little complex as there are a few valid ways to do this depending on the code

#### When the test definition only has `name`, `fn,` and (optionally) `ignore`/`only` properties

We have three options. Given the following code

```js
Deno.test({ name: "name", fn: () => {}, ignore: true)
```

Triggering "unignore test" could give either:

```ts
Deno.test({ name: "name", fn: () => {}, ignore: false)
Deno.test({ name: "name", fn: () => {})
Deno.test("name", () => {})
```

#### When the test definition has additional properties

Given the following code

```js
Deno.test({ name: "name", fn: () => {}, ignore: true, sanitizeResources: true)
```

Triggering unignore could give either:

```ts
Deno.test({ name: "name", fn: () => {}, ignore: false, sanitizeResources: true)
Deno.test({ name: "name", fn: () => {}, sanitizeResources: true)
```

#### Which is best?

In general I think it's best to modify the code as little as possible. For this reason I think we should opt for the top option in both cases. Preserve the definition object and set the appropriate option to `false`.
Repository: next.js
Issue: Custom _document not working as expected when using `experimental-edge` runtime
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

      npm: 8.11.0
      Yarn: 1.22.19
      pnpm: 7.11.0
    Relevant packages:
      next: 12.3.0
      eslint-config-next: 12.2.5
      react: 18.2.0
      react-dom: 18.2.0

warn  - Latest canary version not detected, detected: "12.3.0", newest: "12.3.1-canary.0".
        Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
        Read more - https://nextjs.org/docs/messages/opening-an-issue

### What browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

I'm using custom _document to change the body styles. But the classname is not applied when I checked. Also link and meta tags are not applied too.

My `next.config.js` looks like this;

```js
/** @type {import('next').NextConfig} */
const nextConfig = {
  pageExtensions: ["ts", "tsx"],
  reactStrictMode: true,
  swcMinify: true,
  experimental: {
    runtime: "experimental-edge",
  },
};

module.exports = nextConfig;
```

When I removed the experimental stuff, it works as expected.

```ts
import NextDocument, { Head, Html, Main, NextScript } from "next/document";

class Document extends NextDocument {
  render() {
    return (
      <Html>
        <Head>
          <link
            rel="preload"
            href="/fonts/inter-var-latin.woff2"
            as="font"
            type="font/woff2"
            crossOrigin="anonymous"
          />
          <link rel="icon" href="/favicon.ico" />
          <meta content="#ffffff" name="theme-color" />
          <meta content="#ffffff" name="msapplication-TileColor" />
        </Head>

        <body className="font-sans">
          <Main />
          <NextScript />
        </body>
      </Html>
    );
  }
}

export default Document;
```

### Expected Behavior

Class names and everything inside the <Head> tag must be applied to the dom.

### Link to reproduction

https://codesandbox.io/s/intelligent-swartz-qphdm6?file=/pages/_document.tsx

### To Reproduce

* Go to the reproduction link. 
* Open the devtools
* Check the classname for the body.
Repository: rust
Issue: Repeating an enum does not generate a memset 
Labels: A-codegen,C-bug

I tried this code: [godbolt](https://rust.godbolt.org/z/WT4v9Mnar)

```rust
pub fn create_array() -> [Option<u8>; 256] {
    [None; 256]
}
```

I expected to see this happen: This should compile to a memset, or the equivalent unrolled SIMD stores

[LLVM IR](https://rust.godbolt.org/z/qdG4hPMEc)

Instead, this happened: It compiles to a bunch of movs.

I think this happens because we transform this to a bunch of stores of the discriminant, without touching the data part of the option, making it impossible for LLVM to memset this. Ideally, we'd write 0 to the data part as well here, allowing this to use memset.
Repository: PowerToys
Issue: "Official" alternative to Microangelo On Display tool
Labels: Needs-Triage

### Description of the new feature / enhancement

Microangelo allowed the user to change icons and some stuff related, like the UAC shield or the Shortcuts arrow

This app was however made back in 2012, and not updated since.

It would be great if a new tool was made for this purpose

### Scenario when this would be used?

I find the shortcuts arrow very useless in my case, and the UAC shield just cover the icon for not telling anything useful

### Supporting information

_No response_