sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: TypeScript intellisense fails to display description of named parameter (property of an option object) from a `.d.ts` file generated from JavaScript with JSDoc
Labels: Bug,Help Wanted,Domain: Quick Info

<!-- ⚠️⚠️ 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.83.1
- OS Version: Linux

Problem:

TypeScript intellisense does not show the description of the name parameters when mouse hover above it

![screenshot of code](https://github.com/microsoft/vscode/assets/11488886/a202913a-b121-48ff-83bc-2bcf4fd787ba)


Steps to Reproduce:

1. Write this JavaScript file:

```javascript
/**
 * Do something
 * @param {Object} options Description of options
 * @param {String} options.foo Description of foo
 * @param {Number} options.bar Description of bar
 */
export function doSomething(options) {
  console.log(options)
}
```

2. Create the following tsconfig:

```json
{
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true,
    "declaration": true,
    "emitDeclarationOnly": true,
    "strict": true,
    "strictNullChecks": true,
    "module": "ES2022",
    "target": "ES2022"
  }
}
```

3. Compile with `tsc`, which would give the following declaration file:

```typescript
/**
 * Do something
 * @param {Object} options Description of options
 * @param {String} options.foo Description of foo
 * @param {Number} options.bar Description of bar
 */
export function doSomething(options: {
    foo: string;
    bar: number;
}): void;
```
Repository: flutter
Issue: Test  baseline profiles with Flutter Android apps
Labels: P3,team-android,triaged-android

### Use case

Baseline Profiles is an Android tool that has the potential of helping Android apps load faster and run smoothly. 

### Proposal

We should try to use baseline profiles with a Flutter app to see what value it brings and if this is a tool we can support for all Flutter android developers.  https://developer.android.com/topic/performance/baselineprofiles/overview
Repository: PowerToys
Issue: File Locksmith not working
Labels: Issue-Bug,Needs-Team-Response,Product-File Locksmith,Area-Context Menu

### Microsoft PowerToys version

0.78.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

File Locksmith

### Steps to reproduce

Right click context menu does not show File Locksmith, no matter what file or folder is selected.  Is there any other way to run it?

### ✔️ Expected Behavior

File Locksmith should show up in the context menu as advertised.

### ❌ Actual Behavior

File Locksmith does not show up in the context menu.

### Other Software

_No response_
Repository: vscode
Issue: Terminal with custom alpha color buggs the prompt
Labels: bug,upstream,upstream-issue-linked,terminal-rendering

<!-- ⚠️⚠️ 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 (yes)

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: **1.86.0**
- OS Version: **10.0.19045**

Steps to Reproduce:

1. Add custom color for your terminal panel
2. Add opacity to the color

Example:
```
 "workbench.colorCustomizations": {
     "panel.background": "#171717[00-99]"
 }
```

Before:
![b](https://github.com/microsoft/vscode/assets/26440820/667abe32-48f0-485f-81f3-fdb4120ac13b)

After:
![a](https://github.com/microsoft/vscode/assets/26440820/0a4b306c-fbec-4319-be05-f6a63f13e75c)

Looks like each letter in the prompt gets overriden with its own default background color and they overlay eachother if the background of the panel's color has opacity.
Repository: TypeScript
Issue: TS doesn't watch files for changes
Labels: Needs More Info

<!-- ⚠️⚠️ 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.85.2
- OS Version: All

Steps to Reproduce:

1. Move a file somewhere or rename it
2. See how Typescript doesn't react to this change at all

You constantly have to reload VSCode window for changes to show. 
```[tasklist]
### Tasks
```
Repository: TypeScript
Issue: Autocomplete static methods and fields
Labels: Suggestion,Awaiting More Feedback

<!-- ⚠️⚠️ 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. -->
### Context
We should be able to autocomplete exported static variables, static functions, and enums

### Reference
Intellij has this functionality, shown here:
![image](https://github.com/microsoft/vscode/assets/70538229/81c41aa2-a9e6-4f33-8213-6d5cfcef9411)
Intellij blogpost about this feature: https://blog.jetbrains.com/idea/2012/08/complete-static-methods-and-fields-with-the-new-intellij-idea-12-eap-build-12229/

### Example
```TS
// File 1
export class ExampleClass {
     static fooBar(): any {
          return {}
      }
}
```
```TS
// File 2
fooBa // typing this should suggest ExampleClass.fooBar 
```
Repository: TypeScript
Issue: Editor hangs during folder rename in TypeScript projects
Labels: Needs More Info

I've had this problem intermittently for a long time on multiple different Windows computers, and was finally able to reproduce it while screen recording with all extensions disabled: https://app.screencast.com/EFFFWRNzDVc6n

This related issue was closed: https://github.com/microsoft/vscode/issues/139326
But my video demonstrates that the problem is caused by VS Code not the OS or other software locking the folder

The problem is intermittent and usually goes away temporarily if I reload the window or kill the processes in File Locksmith as shown

----

VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 5800X 8-Core Processor              (16 x 3793)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|63.90GB (42.10GB free)|
|Process Argv|--crash-reporter-id 1da03074-efe6-46e2-b136-4c0275639a49|
|Screen Reader|no|
|VM|0%|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vshan820:30294714
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
0bi6i642:30933247
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2cf:30928864
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
cp7184t3:30927821

```

</details>

<!-- generated by issue reporter -->
Repository: pytorch
Issue: Custom ROCm hip and C++ extensions (replicated from pytorch/tutorials)
Labels: module: rocm,triaged

### 📚 The doc issue

This is an issue to track below existing issue in pytorch/tutorials about documentation for writing custom C++ extensions using ROCm hip kernels:
https://github.com/pytorch/tutorials/issues/2342

The reason to create one here is that we can track it using our Project "PyTorch on ROCm". 

### Suggest a potential alternative/fix

_No response_

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo
Repository: tauri
Issue: [feat] allow custom types to implement `Assets` to let us have more freedom over what it served on `tauri.localhost`.
Labels: type: feature request

### Describe the problem

I'm attempting to make it possible to do an over-the-air update for my front-end with another smaller front-end that exists to show a loading screen during updates (think Discord).

In order to do this I'd like to be able to give the context a custom type that implements the `Assets` trait (which is already supported) which lets me load it from the zip file.

To maintain security I'm using checksums and pubkey encryption on the zip file so it should still be considered secure to do so.

### Describe the solution you'd like

At the moment there is a `'static` lifetime requirement on the trait that is preventing this solution from working.

Hopefully it could be possible to implement the traits in a way that's nice and friendly and potentially even support `async` operations (via `async_trait`) maybe?

### Alternatives considered

I can call `std::mem::transmute` to tell the lifetime system to keep its mouth shut, but it's an option that assumes a lot that could lead to issues.

I have looked into using an HTTP server, but that undermines one of the main features of tauri, so I'd rather avoid this if possible.

### Additional context

I'd be happy to attempt to make this PR myself, though my knowledge of this codebase is limited. A point in the right direction (and assistance testing on MacOS & Linux) would be much appreciated 😄.
Repository: TypeScript
Issue: rename-refactoring a typescript import changes the extension to .js (moduleResolution: Node16)
Labels: Bug,Help Wanted

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version:  Version: 1.85.1 (Universal)
- OS Version: OSX Sonoma 14.1.1

Steps to Reproduce:

1. Have a project with the following tsconfg.json settings

```json
{
    "compilerOptions": {
        "target": "es2022",
        "module": "Node16",
        "moduleResolution": "Node16",
        "esModuleInterop": true,
        "strictNullChecks": true,
        "strictFunctionTypes": true,
        "paths": {
            "*": ["./node_modules/*"]
        }
    }
}
```

2. Have a couple files like

```ts
// a.ts
let x: number;
```
and
```ts
// b.ts
import "./a.js";
```

3. rename `./a.js` to `./a-renamed.js` with VSCode
4. Observe the file extension unfortunately changes as well, and must then be manually changed back.

## Video 😉 
https://github.com/microsoft/vscode/assets/719818/4dadb9c2-3911-4edd-9b35-c7b8001f33d2

## Workaround
Changing the name of files files via the "Explorer" pane works correctly.
Repository: ant-design
Issue: 简单的 a:link 和 a:visited 样式就能覆盖默认 Button 颜色
Labels: Inactive,unconfirmed

### Reproduction link

[https://stackblitz.com/edit/react-cuaaqu?file=demo.tsx,index.css](https://stackblitz.com/edit/react-cuaaqu?file=demo.tsx,index.css)

### Steps to reproduce

在全局 CSS 中指定链接 a 的颜色（实际应用中，这部分是站点全局样式引入的，应用开发者无法控制）：

```css
a:link {
  color: blue;
}
```

然后写一个带 href 的 Button：

```jsx
<Button href="#">按钮</Button>
```

### What is expected?

按钮文字颜色不应该被影响。

### What is actually happening?

按钮文字颜色被影响，变成了蓝色。

| Environment | Info |
| --- | --- |
| antd | 5.12.1 |
| React | 18.2.0 |
| System | maOS |
| Browser | Chrome 121 |

---
主要原因还是 .btn-default 的 selector 就是单纯的 .ant-btn-default 而不是 .ant-btn.ant-btn-default，通过增加 selector 优先级即可解决。

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: pytest test/onnx/test_pytorch_onnx_onnxruntime_cuda.py -k test_embedding_bag_2d_per_sample_weights is failing
Labels: module: onnx,triaged

### 🐛 Describe the bug

pytest test/onnx/test_pytorch_onnx_onnxruntime_cuda.py -k test_embedding_bag_2d_per_sample_weights
when running with onnxruntime 1.17.0 this test fails with the following error:
FAIL : Non-zero status code returned while running If node. 
"Name:'/If' Status Message: if.cc:253 Compute
If nodes condition input must have exactly one element

### Versions

the test is skipped for now:
    @skipIfUnsupportedMinOpsetVersion(11)
    @unittest.skip(
        "This test is broken with ONNXRuntime(17): "
        "when running with onnxruntime 1.17.0 this test fails with the following error:"
        "FAIL : Non-zero status code returned while running If node. "
        "Name:'/If' Status Message: if.cc:253 Compute "
        "If nodes condition input must have exactly one element"
    )
    def test_embedding_bag_2d_per_sample_weights(self):
Repository: ollama
Issue: Add support to internlm2-chat-20b model
Labels: model request

If possible, could support for this model be added to ollama?

`https://huggingface.co/BoloniniD/internlm2-chat-20b-gguf `
Repository: stable-diffusion-webui
Issue: [Bug]: Style database not found: /workspace/file/stable-diffusion-webui/styles.csv
Labels: bug-report

### Checklist

- [ ] The issue exists after disabling all extensions
- [X] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [X] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

I make a port to use cpu on gitpod

### Steps to reproduce the problem

1. use gitpod to make a copy 
2. setup all environments for diffusion 
3. run on notebook 
4. make sure all requirements installed 
5. bugged

### What should have happened?

run on gradio 

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

_No response_

### Sysinfo

[sysinfo-2024-02-08-08-08.json](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/14206123/sysinfo-2024-02-08-08-08.json)


### Console logs

```Shell
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Version: v1.7.0
Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e
Launching Web UI with arguments: --no-half --skip-torch-cuda-test --share --skip-version-check
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
```


### Additional information

_No response_
Repository: opencv
Issue: All different shapes of circles depending on the method
Labels: question (invalid tracker)

### System Information

OpenCV python version: 4.7.0
Operating System / Platform: Ubuntu 18.04.6 LTS
Python version: 3.8.16

### Detailed description

Have you ever noticed that the circles drawn with OpenCV are all different depending on the method? Is this a bug?

![image](https://github.com/opencv/opencv/assets/6425237/6f85d0e7-b2f6-4768-97bc-319ce70ed7f0)

### Steps to reproduce

```python
import cv2
import numpy as np


def create_kernel_v1(radius):
    """Using cv2.circle()"""

    diameter = radius * 2 + 1
    image = np.zeros((diameter, diameter), np.uint8)
    cv2.circle(image, (radius, radius), radius, 1, -1)

    return image


def create_kernel_v2(radius):
    """Using cv2.ellipse()"""

    diameter = radius * 2 + 1
    image = np.zeros((diameter, diameter), np.uint8)
    cv2.ellipse(image, (radius, radius), (radius, radius), 0, 0, 360, 1, -1)

    return image


def create_kernel_v3(radius):
    """Using cv2.getStructuringElement()"""
    diameter = radius * 2 + 1
    kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (diameter, diameter))
    return kernel


def main():

    for radius in (1, 2, 3, 4, 5):

        image1 = create_kernel_v1(radius)
        image2 = create_kernel_v2(radius)
        image3 = create_kernel_v3(radius)

        result_1vs2 = np.array_equal(image1, image2)
        result_2vs3 = np.array_equal(image2, image3)

        print(radius, image1.shape, result_1vs2, result_2vs3, sep='\t')
        # 1  (3, 3)    True   True
        # 2  (5, 5)    True   False
        # 3  (7, 7)    False  False
        # 4  (9, 9)    False  False
        # 5  (11, 11)  False  False

        cv2.imwrite(f'radius{radius}_v1.png', image1 * 255)
        cv2.imwrite(f'radius{radius}_v2.png', image2 * 255)
        cv2.imwrite(f'radius{radius}_v3.png', image3 * 255)


if __name__ == '__main__':
    main()
```

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: vscode
Issue: `extensions-ci` task in build exits with code 137
Labels: vscode-build,engineering

This has happened several times this week, and several times today:

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=256104&view=logs&j=bd1e231b-cef9-51a2-e461-b67194c0a817&t=a7f1014d-b95c-5a7e-9858-4d3087c99302&s=281c0047-a38e-5757-de37-c73026bbc92f

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=256130&view=logs&j=bd1e231b-cef9-51a2-e461-b67194c0a817&t=a7f1014d-b95c-5a7e-9858-4d3087c99302
Repository: vscode
Issue: [Meta] Enable windows 11 context menu by default in Stable
Labels: engineering,windows 11,system-context-menu

Bug tracks the pending tasks to be completed before the feature can be promoted to stable releases.

- [ ] :runner: Context menu not appearing on some setups even after successful appx installation (https://github.com/microsoft/vscode/issues/184676, https://github.com/microsoft/vscode/issues/171911)
- [ ] :runner: Uninstallation takes longer time when context menu is installed (https://github.com/microsoft/vscode/issues/164689)
- [ ] :runner: Context menu not showing up in Windows Arm64 (https://github.com/microsoft/vscode/issues/164464)
- [ ] Run as administrator does not trigger UAC elevation prompt when launching application from context menu (https://github.com/microsoft/vscode/issues/180065)
Repository: flutter
Issue: Android back gesture from the side with camera intrusion triggers drawer open
Labels: e: device-specific,platform-android,framework,f: material design,P2,team-design,triaged-design

### Steps to reproduce

1. Run the app on a device with a front camera intrusion (likely other intrusions should affect in the same way)
2. Ensure android navigation is set to "gestures"
3. Try to make the "back" gesture from the side with an intrusion

### Expected results

Back gesture succeeds reliably without triggering the drawer

### Actual results

Drawer opening animation is triggered.
The gestures work weirdly:
- if the are screens to pop - pop occurs and drawer is open
- if there are no screens to pop - drawer animates back and app is not closed

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      home: Scaffold(
        drawerEdgeDragWidth: 100,
        drawer: Drawer(),
      ),
    ),
  );
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[[Upload media here]](https://github.com/flutter/flutter/assets/20318198/a50e6336-b061-4b64-ad46-b7828be1d1a2)

</details>




### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.16.9, on Manjaro Linux 6.6.10-1-MANJARO, locale en_US.UTF-8)
    • Flutter version 3.16.9 on channel stable at /home/dvoloshyn/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (2 weeks ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/dvoloshyn/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+8)
    • All Android licenses accepted.

```

</details>