sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: editor.scrollPredominantAxis looks like not working
Labels: macos,trackpad/scroll

<!-- ⚠️⚠️ 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. -->
Version: 1.82.2 (Universal)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:59:47.790Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0

Steps to Reproduce:

1. Scroll with a trackpad.
2. Looks like `editor.scrollPredominantAxis` (enabled by default) introduced in #70047 not working. or #99237? but it really looks like not working at all.
Repository: storybook
Issue: [Bug]: Minified React error #321
Labels: bug,react,has workaround

### Describe the bug

I am trying to upgrade the storybook by : **npx storybook@latest upgrade** , and then run **ng run plot3d:storybook**
the error was thrown:
![image](https://github.com/storybookjs/storybook/assets/6380601/88a436f5-373a-4330-ac7c-0e1fca8fc36f)
```
Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Error: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Object.Q (http://localhost:6006/vendors-node_modules_storybook_addon-docs_dist_chunk-S4VUQJ4A_mjs.iframe.bundle.js:34898:9)
    at exports.useContext (http://localhost:6006/vendors-node_modules_storybook_addon-docs_dist_chunk-S4VUQJ4A_mjs.iframe.bundle.js:39871:20)
    at useMDXComponents (http://localhost:6006/vendors-node_modules_mdx-js_react_lib_index_js-node_modules_storybook_addon-docs_dist_index_m-b2769b.iframe.bundle.js:86:64)
    at Object.Template (http://localhost:6006/tool-tool-stories-mdx.iframe.bundle.js:179:165)
    at undecoratedStoryFn (http://localhost:6006/sb-preview/runtime.js:41:2791)
    at hookified (http://localhost:6006/sb-preview/runtime.js:7:18973)
    at http://localhost:6006/vendors-node_modules_storybook_addon-docs_angular_index_js-node_modules_storybook_addon-docs_-609119.iframe.bundle.js:85947:29
    at http://localhost:6006/vendors-node_modules_storybook_addon-docs_angular_index_js-node_modules_storybook_addon-docs_-609119.iframe.bundle.js:85942:14
    at cleanArgsDecorator (http://localhost:6006/vendors-node_modules_storybook_addon-docs_angular_index_js-node_modules_storybook_addon-docs_-609119.iframe.bundle.js:85996:10)
    at http://localhost:6006/vendors-node_modules_storybook_addon-docs_angular_index_js-node_modules_storybook_addon-docs_-609119.iframe.bundle.js:85941:28
```
here is my code, it works well in version 6.5.X:
![image](https://github.com/storybookjs/storybook/assets/6380601/70117e30-5a8c-4d03-958b-9b303d4df857)




I am trying to debug this issue, just found two react-dom versions were applied.  when the  debug tool is inspected version is:
react-dom 16.14.0, and my installed version is react-dom 18.2.0

![image](https://github.com/storybookjs/storybook/assets/6380601/ab235355-af2f-47b3-866e-311e1c843906)
 
![image](https://github.com/storybookjs/storybook/assets/6380601/fd3cf2b5-c51f-4f5a-9697-c4b4743d5f3a)



### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: Run PowerToys as System
Labels: Idea-Enhancement,Area-Runner,Needs-Triage

### Description of the new feature / enhancement

PowerToys already has the option to run as administrator. Could there be an option to run as System too?

I would like this because I want to use PowerToys tools in applications that are running as System, such as Parsec.

![image](https://github.com/microsoft/PowerToys/assets/7902295/3119559a-d2f9-4a85-92d2-52659346bdbb)
As you can see in the image, it runs at a higher level than PowerToys, and therefore nothing from PowerToys works on it.

### Scenario when this would be used?

It would be nice if we could use PowerToys in applications running at the system level to enjoy all the features that PowerToys offers in those applications as well.

### Supporting information

![image](https://github.com/microsoft/PowerToys/assets/7902295/2830aae9-1c47-4ca4-8472-c6c86d1f46e8)
As you can see, Parsec is a normal remote desktop application, but it has a service running at the system level, so that it can interact with system windows, such as the Task Manager.
Repository: go
Issue: proposal: math: add math_pure_go flag to avoid assembly code
Labels: Proposal

**Introduction**

In the current Go math package, when the architecture has a Floating-Point Unit (FPU), it accelerates floating-point computations using assembly code tailored to take advantage of the architecture's FPU. While this approach offers excellent performance, it creates compatibility issues with softfloat.  To support softfloat, we can use `-gcflags=all=-d=softfloat`, which can convert floating-point calculations to softfloat within the compiler, but it doesn't impact any assembly code in the math package. (The related issue can be found here: [[link to GitHub issue #62470](https://github.com/golang/go/issues/62470)].)

To address this issue, we propose introducing a new build tag that disables the math package from utilizing FPU-related assembly code for performance optimization, thereby providing support for softfloat.

**Proposed Solution**

To support softfloat in the Go math package, we propose adding a new build tag, let's call it `math_pure_go`, that users can apply to disable the use of FPU-specific assembly code in the math package. We can use the `math_pure_go` build tag to disable the assembly in `math` package. With the build tag `-tags=math_pure_go` and `-gcflags=all=-d=softfloat`, we can support softfloat for all platforms.

```shell
go build -gcflags=all=-d=softfloat -tags=math_pure_go
```

**Benefit**

- This enhancement will make the Go math package compatible with softfloat, allowing Go to be used in environments or on architectures where hardware FPU support is not available or desired.
- Users who require softfloat support will be able to utilize the math package without encountering compatibility issues.
- The softfloat support is necessary in many scenarios, such as blockchain and cryptographic technologyies. 
  - In blockchain technology, where determinism and consistency are critical, using softfloat ensures consistent results across various platforms. This is crucial for achieving consensus among nodes in a decentralized network. 
  - Zero-knowledge proofs are cryptographic techniques that rely on precise and consistent mathematical operations. Softfloat support is essential for achieving consistent and predictable results when implementing zero-knowledge proof systems.
- The proposal aligns with Go's philosophy of providing flexibility and compatibility across various platforms and use cases.
Repository: kubernetes
Issue: Regression? Deleting Pod marked as terminated while volumes are being unmounted
Labels: kind/bug,sig/node,needs-triage

### What happened?

In k8s 1.23
1. pod is running which mounts some volumes
2. stop csi-driver
3. delete pod using `kubectl delete pod xxx`
4. pod cannot be deleted completely because of unmounted volume
5. kube-scheduler cannot execute `deletePodFromCache` method to clear pod from node info https://github.com/kubernetes/kubernetes/blob/1635c380b26a1d8cc25d36e9feace9797f4bae3c/pkg/scheduler/eventhandlers.go#L223

In k8s 1.27
1. pod is running which mounts some volumes
2. stop csi-driver
3. delete pod using `kubectl delete pod xxx`
4. pod cannot be deleted completely because of unmounted volume
5. `But` kube-scheduler `can` execute `deletePodFromCache` method to clear pod from node info 
https://github.com/kubernetes/kubernetes/blob/bdfb880a198495e94a9092575d160936aa42b824/pkg/scheduler/eventhandlers.go#L215

![image](https://github.com/kubernetes/kubernetes/assets/29896262/b0d5f6f4-d5ba-4f2c-b490-e89c02f30dfd)
![image](https://github.com/kubernetes/kubernetes/assets/29896262/fb1ae95c-8ad0-48e0-b636-a5ae959cc059)

This phenomenon looks like kube-scheduler starting to consider terminating pod. What improvements have we made to kube-scheduler in versions 1.23 to 1.27?


### What did you expect to happen?

1.27 kube-scheduler cannot execute  deletePodFromCache before pod deleted completely

### How can we reproduce it (as minimally and precisely as possible)?

above reproduce actions

### Anything else we need to know?

_No response_

### Kubernetes version

1.27

### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: tauri
Issue: [bug] Setting `currentTime` on Audio always sets to 0 on release builds
Labels: type: bug,status: needs triage

### Describe the bug

Setting `currentTime` on an audio element (`audio.currentTime = 5000`) works correctly in debug builds, but always sets the time to 0 in release builds.

### Reproduction

```
// I've bundled my files in as assets. Repro works with both mp3 and ogg files, other formats not tested.
const audio = new Audio(src);

// After audio finishes loading
audio.currentTime = 5;
```

On debug builds, audio time will be set to 5. On production builds audio time will be set to 0.

### Expected behavior

Audio element's `currentTime` should be set to the provided value in production builds

### Platform and versions

```text
[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 117.0.2045.36
    ✔ MSVC: Visual Studio Build Tools 2017
    ✔ rustc: 1.67.1 (d5a82bbd2 2023-02-07)
    ✔ Cargo: 1.67.1 (8ecd4f20a 2023-01-10)
    ✔ rustup: 1.25.2 (17db695f1 2023-02-01)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.13.0
    - npm: 8.19.3

[-] Packages
    - tauri [RUST]: 1.4.1
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: SolidJS
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: SD1.6 SwinIR_4x disappear in extra tab, not display on  Upscaler1 list 
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I'm puted SwinIR_4x.pth ,Swin2SR_RealworldSR_X4_64_BSRGAN_PSNR.v2.pth  in the folder  name of stable-diffusion-webui\models\SwinIR

reboot webui,
they ara two model was not show up.

### Steps to reproduce the problem

1.  puted SwinIR_4x.pth ,Swin2SR_RealworldSR_X4_64_BSRGAN_PSNR.v2.pth  in the folder  name of stable-diffusion-webui\models\SwinIR
2. reboot webui,
3.in extra tab, not display on  Upscaler1 list ， they ara two model was not show up.

Error:
KeyError: 'trunk_conv.weight'

### What should have happened?

SwinIR_4x with Swin2SR_RealworldSR_X4_64_BSRGAN_PSNR should be show up.

### Sysinfo

sd 1.6

### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
Arguments: (0, <PIL.Image.Image image mode=RGB size=512x512 at 0x17980705F00>, None, '', '', True, 0, 4, 512, 512, True, 'Real_HAT_GAN_SRx4', 'None', 0, 0, 0, 0) {}
Traceback (most recent call last):
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\call_queue.py", line 57, in f
    res = list(func(*args, **kwargs))
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\postprocessing.py", line 61, in run_postprocessing
    scripts.scripts_postproc.run(pp, args)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\scripts_postprocessing.py", line 130, in run
    script.process(pp, **process_args)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\scripts\postprocessing_upscale.py", line 100, in process
    upscaled_image = self.upscale(pp.image, pp.info, upscaler1, upscale_mode, upscale_by, upscale_to_width, upscale_to_height, upscale_crop)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\scripts\postprocessing_upscale.py", line 70, in upscale
    image = upscaler.scaler.upscale(image, upscale_by, upscaler.data_path)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\upscaler.py", line 63, in upscale
    img = self.do_upscale(img, selected_model)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\esrgan_model.py", line 150, in do_upscale
    model = self.load_model(selected_model)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\esrgan_model.py", line 184, in load_model
    state_dict = mod2normal(state_dict)
  File "E:\AI\pytorch2.0\stable-diffusion-webui\modules\esrgan_model.py", line 36, in mod2normal
    crt_net['model.1.sub.23.weight'] = state_dict['trunk_conv.weight']
KeyError: 'trunk_conv.weight'
```


### Additional information

no
Repository: next.js
Issue: Incorrect types for custom jest config in nextJest()
Labels: bug,Testing

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/peaceful-bush-fn3d9l?file=%2Fjest.config.ts%3A7%2C34

### To Reproduce

try to build the app using `yarn build`

### Current vs. Expected behavior

`nextJest` does not allow all properties that are available in a regular jest config

### Verify canary release

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

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:34 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T8103
    Binaries:
      Node: 18.13.0
      npm: 8.19.3
      Yarn: 3.6.0
      pnpm: N/A
    Relevant Packages:
      next: 13.5.2
      eslint-config-next: 13.5.2
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.1.6
    Next.js Config:
      output: standalone
```


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

Jest (next/jest)

### Additional context

Previously this was using any, so no type validations. https://github.com/vercel/next.js/pull/48923 added type-checking to that object, but using jest's `Config.InitialProjectOptions`, which is only a subset of `InitialOptions` (which is type usually used in a jest config)
Repository: rust
Issue: ICE message: don't print "the compiler unexpectedly panicked. this is a bug." when internal features are enabled
Labels: C-enhancement,T-compiler

With internal features such as intrinsics, we don't aim to make the compiler ICE-free. It is fine if rustc ICEs when an intrinsic has the wring signature or is used the wrong way. So it would be good if we could not tell users "this is a bug. please report." when the report will then be closed as "ICEs with intrinsics are not bugs".

Here is an [example](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=10922a716bbb59561daa3db0a1c0abfe) of such an ICE. Here's [another one](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=aec707142da4494fb6e3b5ead753ac01).
Repository: vscode
Issue: Applying Multiple Breakpoints to lines of code
Labels: feature-request,debug

<!-- ⚠️⚠️ 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. -->

<!-- Describe the feature you'd like. -->
Please make a feature that allows one to double-click on a breakpoint and hold and drag it to the line to apply the breakpoints in between. I hope this little UI addition is going to be really beneficial in applying breakpoints in mass number.
Repository: godot
Issue: GDScript String.contains() always returns false if argument is empty string
Labels: discussion,topic:core

### Godot version

v4.1.1.stable.arch_linux

### System information

Godot v4.1.1.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 09:32:00 +0000 - Vulkan (Compatibility) - Mesa Intel(R) HD Graphics 4600 (HSW GT2) () - Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz (4 Threads)

### Issue description

 In GDScript, calling foo.contains("") for any string 'foo' (including the empty string) returns false. Philosophy aside I think that's not a desirable default behavior at all. Most if not all programming languages assert the empty string to be contained in any string (especially the empty string itself!). Otherwise we end up in a weird NaN != NaN situation.
In Python:
```Python
print("" in "" and "" in "foo") #prints out 'True'
```
In JavaScript:
```JavaScript
console.log("".includes("") && "foo".includes("")) // prints out 'true'
```
It can also be pointed out that in GDScript, `foo.begins_with("")` and `foo.ends_with("")` always return true, so for the sake of consistency I think this should be fixed.

### Steps to reproduce

```GDScript
print("foo".contains("")) # should print true, but prints false
print("".contains("")) # should print true, but prints false
```

### Minimal reproduction project

N/A
Repository: next.js
Issue: next/dynamic behavior breaking in nextjs 13.5 while using package pdfjs-dist
Labels: bug,Lazy Loading

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/stoic-frog-9jvh89?file=%2Fapp%2Fpage.tsx%3A5%2C1

### To Reproduce

1. Visit the url above
2. Notice the following error

![image](https://github.com/vercel/next.js/assets/12589797/c1a1c8e2-85b0-48ce-8305-4a7ed2cae3aa)


### Current vs. Expected behavior

I have a component that depends on `pdfjs-dist` to do some in browser pdf operations.
First I create a base component with `use client;` and then in another wrapper component I import it dynamically with ssr false, and that wrapped component gets used everywhere else.

```ts
import dynamic from "next/dynamic";

export const PdfUpload = dynamic(() => import("./pdf-upload-base"), {
  ssr: false,
  loading: () => <input disabled type="file" accept="application/pdf" />,
});

```

In the previous version of nextjs I was using 13.4.19 the same exact code was working as expected and the package `pdfjs-dist` was lazily loading correctly. After upgrading nextjs to version 13.5 the behvaiour is breaking and it's trying to execute the code on server causing this issue.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000
Binaries:
  Node: 18.13.0
  npm: 8.19.3
  Yarn: 1.22.19
  pnpm: 8.7.0
Relevant Packages:
  next: 13.5.3
  eslint-config-next: 13.5.3
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Dynamic imports (next/dynamic)

### Additional context

The same issue is reproduced in codesandbox also, haven't tried pushing it to production on vercel but I'm guessing the same thign will happen there also.
Repository: TypeScript
Issue: Indexing/element access on `super` avoids instance property checks
Labels: Bug,Help Wanted,Fix Available,Rescheduled,Effort: Casual

Discovered in conversation at https://github.com/microsoft/TypeScript/pull/55892#discussion_r1339658106

```ts
class C {
    yadda = () => {};
}

class D extends C {
    badda() {
        super["yadda"]();
    }
}

new D().badda()
```

Currently there is no error for this code; however, if you switched it to a property access, you'd get the error introduced at https://github.com/microsoft/TypeScript/pull/54056.

```ts
class C {
    yadda = () => {};
}

class D extends C {
    badda() {
        super.yadda(); // ❌ errors, as expected
    }
}
```
Repository: PowerToys
Issue: Enumerate Using the Alphabet
Labels: Idea-Enhancement,Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

To add a series of running letters instead of running numbers.

### Scenario when this would be used?

When wanting to add a prefix Annex A, Annex B, Annex C...
Possibly padded like Annex AA, Annex AB, Annex AC... Annex BA, Annex BB, Annex BC...

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [This is a wrapped interface for sd. How can I run only the code command?
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

This is a wrapped interface for sd. How can I run only the code command?

### Proposed workflow

This is a wrapped interface for sd. How can I run only the code command?


### Additional information

_No response_