sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Wrong indentation when editing text block in Python
Labels: bug,editor-autoindent

<!-- ⚠️⚠️ 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: 1.87.2

Steps to Reproduce:

Try to add `line 2` in this Python code in VS Code:
```python
txt = ("""
line 1
""")
```
Current behavior of indentation for any new line in the text block (depends on the `"""` position):
```python
txt = ("""
line 1
       line 2
""")
```
Expected:
```python
txt = ("""
line 1
line 2
""")
```

## For community
⬇️  **Please click the 👍 reaction instead of leaving a `+1` or 👍  comment**
Repository: vscode
Issue: [json] Provide a way to disable the json-validation contribution point of a specific extension (e.g. ESLint)
Labels: feature-request,json

<!-- ⚠️⚠️ 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. -->

Hi

The ESLint extension is a great companion for JS projects. Thanks to all the people involved.
https://github.com/microsoft/vscode-eslint/
https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

It provides many features that help developers:
- run eslint on files
- display the diagnostics in the Problems panel
- …

This issue focuses on one particular key aspect of this extension:
It also provides JSON validation for ESLint config files such as `.eslinrc.json` file.

To do so, the extension provides the following contribution point in its manifest: 
https://github.com/microsoft/vscode-eslint/blob/main/package.json#L598C1-L611C5

```json
		"jsonValidation": [
			{
				"fileMatch": ".eslintrc",
				"url": "https://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": ".eslintrc.json",
				"url": "https://json.schemastore.org/eslintrc"
			},
			{
				"fileMatch": "package.json",
				"url": "./package-json-schema.json"
			}
		]
```

meaning it is relying on a remote schema… which is unfortunately outdated. The consequence is that it is unable to provide correct info for hover popup on some ESLint rules in a `eslintrc.json`

The obvious fix would be to send an update of the schema to the people handling: https://json.schemastore.org/
While it's definitely an ongoing task, the same situation of an obsolete schema may happen again and again in the future.

So the next obvious fix, is to add this up-to-date validation settings to the personal User settings, pointing to a local JSON schema file. The problem doing so is that a schema define in User Settings, does not overload the one pointed by an extension. It performs an unpredictable merge of the 2 schemas with weird results.

Therefore, in this my  request in this issue, the final solution would be to be able to disable the schema provided by an extension, to avoid any weird merging of JSON schemas, bypassing a schema provided by an extension and solely use the User Settings provided one.

Note that in this case, I do not want to disable the ESLint extension entirely, it is very useful for other things, just disable the json validation contribution.

In a way, this is very similar to this demand made to be able to disable the JSON validation of `package.json` in https://github.com/microsoft/vscode/issues/74943

This issue is to illustrate a concrete pain point with ESLint but it may be generalize to many other extensions.

Thanks
Repository: vscode
Issue: Quick chat resizes on scroll
Labels: under-discussion,quick-chat

* open quick chat, prompt "hello"
* the response is scrollable
* :bug: the scrolling the height changes and the response isn't scrollable anymore


https://github.com/microsoft/vscode/assets/1794099/6f4ab48a-cfbb-40ca-83ee-9eb49c7764ad
Repository: vscode
Issue: Markdown preview stops updating restarting extension host
Labels: bug,help wanted,markdown


Type: <b>Bug</b>

1. Open 2 markdown files
2. Open markdown preview
3. Switch focus between markdown files to see the preview update
4. Restart the extension host (this happens frequently now that we support that when extensions update instead of a full window reload)
5. Try switching focus between markdown files again
:bug: => preview stops updating

VS Code version: Code - Insiders 1.88.0-insider (9e0b3f311a68dce476b6209519d5b1506077bbcb, 2024-03-27T21:47:00.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:

<details><summary>Extensions (31)</summary>

Extension|Author (truncated)|Version
---|---|---
codesnap|adp|1.3.4
markdown-checkbox|bie|0.4.0
markdown-emoji|bie|0.3.0
simple-icons|com|0.1.6
vsc-material-theme-icons|equ|3.5.0
prettier-vscode|esb|10.4.0
codespaces|Git|1.16.17
copilot|Git|1.176.792
copilot-chat|Git|0.14.2024032701
remotehub|Git|0.63.2024031101
vscode-drawio|hed|1.6.6
fluent-icons|mig|0.0.18
vscode-language-pack-es|MS-|1.88.2024032709
vscode-language-pack-fr|MS-|1.88.2024032709
vscode-language-pack-pt-BR|MS-|1.88.2024032709
remote-containers|ms-|0.353.0
remote-ssh|ms-|0.111.2024032715
remote-ssh-edit|ms-|0.86.0
remote-wsl|ms-|0.88.0
azure-repos|ms-|0.39.2024031101
hexeditor|ms-|1.9.14
remote-explorer|ms-|0.5.2024031109
remote-repositories|ms-|0.41.2024022202
remote-server|ms-|1.6.2024032709
vscode-github-issue-notebooks|ms-|0.0.130
color-highlight|nau|2.8.0
material-icon-theme|PKi|4.34.0
excalidraw-editor|pom|3.7.3
vscode-yaml|red|1.14.0
vscode-sort-json|ric|1.20.0
luna-paint|Tyr|0.16.0

(3 theme extensions excluded)

</details>
<!-- generated by issue reporter -->
Repository: pytorch
Issue: DISABLED test_sdpa_rewriter_3_cuda (__main__.SDPAPatternRewriterCudaDynamicTests)
Labels: module: rocm,triaged,skipped

Platforms: rocm

This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22inductor%2Ftest_fused_attention.py%3A%3ASDPAPatternRewriterCudaDynamicTests%3A%3Atest_sdpa_rewriter_3_cuda%22%5D)).

Not sure which PR might have caused this test to fail.  Hopefully just this 1 test is affected.

cc @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
Repository: PowerToys
Issue: fileRename  功能我想在所有文件前面统一增加文本前缀该如何操作？
Labels: Product-PowerRename,Needs-Triage

### Description of the new feature / enhancement

希望正价功能，能简单的给序号类文件增加前缀

### Scenario when this would be used?

例如  01.doc  02.doc   03.doc   更名为  test-01.doc   test-02.doc    test-03.doc 
可能是我不会操作，希望能得到帮助

### Supporting information

_No response_
Repository: tensorflow
Issue: Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed. Aborted (core dumped)
Labels: stat:awaiting tensorflower,type:bug,comp:data,TF 2.15

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.15.0.post1

### Custom code

Yes

### OS platform and distribution

Rocky Linux 8.9

### Mobile device

_No response_

### Python version

3.10.12

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

8.9.2.26

### GPU model and memory

 NVIDIA A100-SXM4-80GB 

### Current behavior?

I am trying to run a simple denoising autoencoder. my training data and label data are 900 samples of healpy maps with nside 64 resolution, loaded as numpy array. After normalising the maps, I used tf.data.Dataset.from_tensor_slices, to create dataset. when I used random noise to create these maps and ran on jupyter notebook, although took ages to initiate training after doing model.fit(), but it did run and produced some result. knowing that the model works, I tried to run on GPU with real data. this is where the issue started.  it shows the following error: Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed. Aborted (core dumped), and the process stops. 

### Standalone code to reproduce the issue

```shell
Here is a colab link:

https://colab.research.google.com/drive/1odbf3gQT9h-DI6zdh5e1llmG9zhjY45l?usp=sharing

It runs on colab. but it doesn't run in the terminal.
```


### Relevant log output

```shell
2024-03-27 12:14:07.288975: F external/local_tsl/tsl/platform/default/env.cc:74] Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed.
Aborted (core dumped)
```
Repository: storybook
Issue: [Bug]: AutoDocs code view tags escaped and unusable
Labels: bug,needs triage

### Describe the bug

Since upgrading to Storybook 8 (web components + Vite), when I view the code in the AutoDocs page, the tags are escaped (they were not in Storybook 7). It also shows a ton of whitespace (which has always been an issue).

Is there a way to clean this up, e.g., using Prettier, to be consistent with the HTML Addon? It's odd that Storybook has this functionality built in but I need a third-party plugin for the addon panel and the two views differ significantly.

Here's code for a simple button story (it's also showing the decorator-specified wrapping tag, which I would rather not):

```
&lt;cbp-app theme="light"&gt; 
      &lt;cbp-button
        
        type=button
        
        
        
        
        
        fill=solid
        color=primary
        
        
        
        
      &gt;
        Default
      &lt;/cbp-button&gt;
    &lt;/cbp-app&gt;
```


### To Reproduce

I'm building components in Stencil JS 4.13, but I don't see this behavior in your storybook.new environments (tried HTML and Lit). I can update with a link to my actual repo once committed.

### System

```bash
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22631
    CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700F
  Binaries:
    Node: 18.18.2 - C:\Program Files\nodejs\node.EXE
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD <----- active
  Browsers:
    Edge: Chromium (122.0.2365.80)
  npmPackages:
    @storybook/addon-essentials: ^8.0.4 => 8.0.4
    @storybook/addon-links: ^8.0.4 => 8.0.4
    @storybook/blocks: ^8.0.4 => 8.0.4
    storybook: ^8.0.4 => 8.0.4
```


### Additional context

_No response_
Repository: next.js
Issue: app\default is ignored after build 
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/sleepy-oskar-t6d39q

### To Reproduce

1. Create default.js in app\
2. Run `npm run dev`
3. Open localhost:3000/404
4. Stop the running instance
5. Run `npm run build`
6. Run `npm start`
7. Open localhost:3000/404

### Current vs. Expected behavior

By following the file-naming convetion from https://nextjs.org/docs/app/building-your-application/routing#file-conventions and adding a `default.js` to the app directory it works fine when the server is running with `npm run dev`.

If I run `npm run build` and `npm start` the default is ignored on every 404 request and it injects this black default 404 error page.

I expect it to work in both instances the same as when I run `npm run dev`.

### Provide environment information

```bash
Operating System:        
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
Binaries:
  Node: 18.17.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.1.0
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.2
Next.js Config:
  output: N/A
```


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

App Router

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

next build (local), next start (local)

### Additional context

Same problem occurs with next: 14.2.0-canary.47
Repository: godot
Issue: Skeleton2D broken
Labels: needs testing,topic:animation

### Tested versions

godot 4.2.1, macOS 14.3.1 on macbook pro M2 max

Edit: tested also with 4.2, and that seems to work

### System information

 macOS 14.3.1 on macbook pro M2 max, forward and mobile renderer tested

### Issue description

Trying to go though the [tutorial ](https://docs.godotengine.org/en/stable/tutorials/animation/2d_skeletons.html)in the docs, I had issues. I already made an issue for the documentation (it still needs a few correction, allthough it is not as bad as I thought) here: https://github.com/godotengine/godot-docs/issues/9150

The bug is related to rotation of the bones. Both the bones themselves and the polygons/images are not rotated correctly. In godot 3 this works as expected.

<img width="411" alt="Screenshot 2024-03-28 at 15 31 14" src="https://github.com/godotengine/godot/assets/596662/e9d98211-db6c-4877-bfe4-a4031ab68521">



### Steps to reproduce

- Simply follow the tutorial with v4.2.1
- Observe issues with rotation.

### Minimal reproduction project (MRP)

N/A
Repository: ui
Issue: [bug]: authentication-04 page resizing issue
Labels: bug

### Describe the bug

When I resize this section

![image](https://github.com/shadcn-ui/ui/assets/88302640/88243f36-dca6-443b-9f02-1892bc3956e9)

It turns into this

![image](https://github.com/shadcn-ui/ui/assets/88302640/b674671f-2c57-42e7-91d0-2677b6f84748)


### Affected component/components

styles

### How to reproduce

1. Go to [authentication page](https://ui.shadcn.com/blocks#authentication-04)
2. Try to resize the page from the right arrow

### Codesandbox/StackBlitz link

No Sandbox

### Logs

```bash
No Logs
```


### System Info

```bash
Browser, Styles, tailwindcss
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: vscode
Issue: Cannot run profile extension host from 'show running extensions' page
Labels: bug,extension-host

on two different machines, both stable and insiders

Steps to Reproduce:

1. open show running extensions and click the 'start extension host profile' button
:bug: doesn't start

```
ERR failed to connect: Error: failed to connect
    at connectWithRetry (c:\Users\aamunger\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\node_modules.asar\v8-inspect-profiler\index.js:47:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.startProfiling (c:\Users\aamunger\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\node_modules.asar\v8-inspect-profiler\index.js:61:20)
    at async N.startProfiling (c:\Users\aamunger\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:58:47467)
```
Repository: flutter
Issue: [Impeller] Provide example on how to build and use Impeller without relying on Flutter and its build system
Labels: engine,c: proposal,P3,e: impeller,team-engine,triaged-engine

### Use case

I'm having trouble using/building the Impeller library on its own in conjunctions with GLFW to make use of the AIKS/Entity API. 

### Proposal

I think it would be useful if Impeller had an examples folder that showed how one could build/use the library and create a simple program with an OpenGLES backed context in GLFW to use the AIKS/Entity API. Something similar to the Playground but simpler and in a single file. Impeller could be a viable option to users making use of Skia or IMGUI in their application.
Repository: vscode
Issue: creating new terminal from aux windowed terminal opens in main window
Labels: bug,terminal-editors,workbench-auxwindow

<!-- ⚠️⚠️ 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: 
- OS Version: 


not sure if this is something you already are aware of but:
1. move terminal to new window
2. try creating a new terminal via right click -> `new terminal` or from keybinding
3. opens up in main window.
4. expected it to open up in current window instead of main window (ie, if focus is on aux window, open in aux window), since the `plus` button opens up in the current window.

https://github.com/microsoft/vscode/assets/54879025/e15486ce-be7f-41a9-bba4-a1676b39ed61
Repository: go
Issue: make.bash -force: unrecognized failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- repo == "net" && section == "make.bash -force" && test == ""
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/bb73ec9fa764922f47d31e3a6225fcaca6f4a50a)):

    ERROR: Cannot find /usr/lib/go-linux-loong64-bootstrap/bin/go.
    Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.20.6.
    
    build failed: make script failed: exit status 1


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: rust
Issue: Compiler forgets about function-level where clause when a clause for an associated type is present
Labels: A-trait-system,A-associated-items,C-bug,T-types,fixed-by-next-solver

I tried this code:

```rust
trait Foo {
    type Input;

    fn foo<T>(&self, task: T) -> T::Output
    where
        T: Task<Self::Input> + Send,
        T::Output: Send;
}

trait Task<T> {
    type Output;
    
    fn run(&self, t: &mut T) -> Self::Output;
}

struct FooImpl;

impl Foo for FooImpl {
    type Input = FooInput;

    fn foo<T>(&self, task: T) -> T::Output
    where
        T: Task<Self::Input> + Send,
        T::Output: Send,
    {
        task.run(&mut FooInput)
    }
}

struct FooInput;
 ```

I expected to see this happen: It should compile.

Instead, this happened:

```
error[E0277]: the trait bound `T: Task<FooInput>` is not satisfied
  --> src/lib.rs:21:5
   |
21 | /     fn foo<T>(&self, task: T) -> T::Output
22 | |     where
23 | |         T: Task<Self::Input> + Send,
24 | |         T::Output: Send,
   | |________________________^ the trait `Task<FooInput>` is not implemented for `T`
   |
help: consider further restricting this bound
   |
23 |         T: Task<Self::Input> + Send + Task<FooInput>,
   |                                     ++++++++++++++++

error[E0276]: impl has stricter requirements than trait
  --> src/lib.rs:23:12
   |
4  | /     fn foo<T>(&self, task: T) -> T::Output
5  | |     where
6  | |         T: Task<Self::Input> + Send,
7  | |         T::Output: Send;
   | |________________________- definition of `foo` from trait
...
23 |           T: Task<Self::Input> + Send,
   |              ^^^^^^^^^^^^^^^^^ impl has extra requirement `T: Task<FooInput>`

error[E0277]: the trait bound `T: Task<FooInput>` is not satisfied
  --> src/lib.rs:21:34
   |
21 |     fn foo<T>(&self, task: T) -> T::Output
   |                                  ^^^^^^^^^ the trait `Task<FooInput>` is not implemented for `T`
   |
help: consider further restricting this bound
   |
23 |         T: Task<Self::Input> + Send + Task<FooInput>,
   |                                     ++++++++++++++++

Some errors have detailed explanations: E0276, E0277.
For more information about an error, try `rustc --explain E0276`.
```

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=6c4ab41d94cd20eb5102402919325773

Removing the `T::Output: Send` clauses allows it to compile, as does switching `Task`'s type parameter from `Self::Input` to a fixed type like `()`.

### 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.77.0 (aedd173a2 2024-03-17)
```
Repository: awesome-mac
Issue: K9s Kubernetes CLI
Labels: addition

### 🪩 Provide a link to the proposed addition

https://k9scli.io

### 😳 Explain why it should be added

Great tool to manage Kubernetes Clusters

### 📖 Additional context

_No response_

### 🧨 Issue Checklist

- [X] I have checked for other similar issues
- [X] I have explained why this change is important
- [X] I have added necessary documentation (if appropriate)
Repository: flutter
Issue: [resultsdb] Simplify TestFileReporterResults using results db proto file.
Labels: a: tests,team-infra,P2,triaged-infra

Update [TestFileReporterResults](https://cs.opensource.google/flutter/flutter/+/master:dev/bots/tool_subsharding.dart;l=34) to use [test_result](https://github.com/flutter/cocoon/blob/main/packages/buildbucket-dart/lib/src/generated/go.chromium.org/luci/resultdb/proto/v1/test_result.pb.dart) proto filling out as much information as possible from the metrics file.
Repository: flutter
Issue: [resultsdb] Simplify dependencies of buildbucket-dart package and productionize the package
Labels: team-infra,P2,triaged-infra

Simplification:

Move as many dependencies as possible moving dependencies from "dependencies" list to "dev_dependencies" list.

Productionizing:

* Document the versioning schema of the package
* Fix pub analysis issues https://pub.dev/packages/buildbucket/score
Repository: flutter
Issue: [resultsdb] Upload test_results file to results db
Labels: a: tests,team-infra,P2,triaged-infra

dev/bots/test.dart will generate a test results file with a list of [test_results proto](https://github.com/flutter/cocoon/blob/main/packages/buildbucket-dart/lib/src/generated/go.chromium.org/luci/resultdb/proto/v1/test_result.pb.dart) ready to be uploaded to the resultsdb service using https://cs.opensource.google/flutter/recipes/+/main:recipe_modules/resultdb_reporter/
Repository: flutter
Issue: [resultdb] Document the use of analysis tool
Labels: team-infra,P2,triaged-infra

Document how to use the resultsdb and https://luci-analysis.appspot.com/ to accomplish the goals of https://flutter.dev/go/ci-post-test-analysis