sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/trace: support for perfetto
Labels: Proposal,Proposal-Accepted,compiler/runtime

The current catapult trace viewer is bit rotting and struggles with large traces. [Perfetto UI](https://ui.perfetto.dev/) could offer better performance and UX.

This was already proposed in https://github.com/golang/go/issues/57175 but no dedicated issue existed yet.

Also see https://github.com/golang/go/issues/57159 which could be a follow-up enhancement.
Repository: PowerToys
Issue: Quick Accent Remove Toolbar
Labels: Issue-Bug,Area-Quality,Product-Quick Accent

### Description of the new feature / enhancement

Unsure if this is a bug, user error or a feature request...
Quick Accent is fantastic! I often get left with the Toolbar open when it's no longer needed. So far the only workaround I've discovered to resolve this is to quit PowerToys.

### Scenario when this would be used?

It would be useful as it would remove the toolbar when it's not required.

### Supporting information

_No response_
Repository: PowerToys
Issue: ctrl+tab与alt+tab快捷键互换失效
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.65.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

始终以管理员运行，将alt与ctrl物理映射互换，发现alt+tab并没有更换为Ctrl+tab，然后增加快捷键映射，将alt+tab与ctrl+tab互换，生效，但是有时候会失效，失效后只能重启才能再次生效

### ✔️ Expected Behavior

应该生效

### ❌ Actual Behavior

有时候失效

### Other Software

_No response_
Repository: react
Issue: Bug: Rendering <Suspense> outside <body> should error
Labels: Type: Bug,Component: Server Rendering

Expected: it should error
Actual: it doesn't

Possibly related: https://github.com/facebook/react/issues/25710#issuecomment-1352456042. In a standalone project, I've only managed to repro `<!--$-->` before doctype, but not between doctype and html as in the repro from that issue. I haven't confirmed that this is the actual cause of #25710, but at the very least we should have errored there as well.
Repository: PowerToys
Issue: 键盘映射添加快捷键开关 | Keyboard mapping adds shortcut switch
Labels: Needs-Triage

### Description of the new feature / enhancement

1.比如在PS中，直接一个按键，就是一套组合按键。现在是只能以ctrl shift alt开头，这个大部分软件都能修改快捷键吧？
2.希望添加硬盘映射的开关快捷方式，ps中，需要按键来输入文字。所以有冲突。不然组合形式有点太少了
------
1. For example, in PS, a button is directly a combination button.Now I can only start with Ctrl Shift Alt. Most of the software can modify the shortcut keys?

2. I hope to add a switch shortcut for the hard disk mapping. In PS, you need to press the key to enter the text.So there are conflicts.Otherwise, there are too few combination forms

### Scenario when this would be used?

PS，专业软件里面

### Supporting information

_No response_
Repository: vscode
Issue: Re-enable AutoDisableAccessibility feature support
Labels: bug,upstream,debt,accessibility,chromium

- [ ] Investigate a11y events are received once application regains focus
- [ ] Confirm runtime can send a11y events multiple times during lifetime of application without requiring a restart of either the application or the a11y client.
Repository: TypeScript
Issue: Solution for narrowing `unknown`
Labels: Suggestion,Needs Proposal

# Suggestion

## 🔍 Search Terms

optional chaining unknown

## ✅ Viability Checklist

N/A because this is not about any specific implementation
<!--
My suggestion meets these guidelines:

* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [ ] This wouldn't change the runtime behavior of existing JavaScript code
* [ ] This could be implemented without emitting different JS based on the types of the expressions
* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).

-->

## Problem

This seems to be the way to comprehensively/safely handle errors currently:

```ts
try {
  someApiCall()
} catch (error) {
  if (error && typeof error === 'object') {
    if ('response' in error && error.response && typeof error.response === 'object') {
      if ('message' in error.response && typeof error.response.message === 'string') {
        return { error: error.response.message }
      }
    }
  }
  return { error: 'Unknown error' }
}
```

## ⭐ Suggestion

I find the above really hard to work with. It would be great to have an easier way, so that it's not as enticing to cast to `any` and risk runtime errors.
Repository: godot
Issue: Static memory usage keeps increasing when using AnimatedTexture
Labels: bug,topic:core,needs testing

### Godot version

v4.0.beta8.mono.official [45cac42c0]

### System information

Windows 10

### Issue description

I was looking through the debugger/monitors when I noticed that any scene using an AnimatedTexture resource had it's static memory continuously increasing.

I'm not sure if this is actually a problem or not, but seeing it climbing leaves me a bit nervous so I'm reporting it.

### Steps to reproduce

1. Create a TextureRect node.
2. Assign new AnimatedTexture to texture.
3. Edit AnimatedTexture and assign Frame 0/texture to any image.
4. Save and run the scene.
5. Switch to the monitor tab and watch the memory usage climb.

### Minimal reproduction project

N/A
Repository: pytorch
Issue: DISABLED test_numpy_ref_mps_nn_functional_group_norm_mps_float32 (__main__.TestCommonMPS)
Labels: triaged,module: flaky-tests,skipped,module: mps

Platforms: mac, macos

This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/failure/test_numpy_ref_mps_nn_functional_group_norm_mps_float32) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/10102049593).

Over the past 72 hours, it has flakily failed in 2 workflow(s).

**Debugging instructions (after clicking on the recent samples link):**
To find relevant log snippets:
1. Click on the workflow logs linked above
2. Grep for `test_numpy_ref_mps_nn_functional_group_norm_mps_float32`


cc @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr @abhudev
Repository: pytorch
Issue: ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
Labels: module: build,triaged

### 🐛 Describe the bug

When I build PyTorch on OS X, and then attempt to import torch.distributed, I get this error:

```
$ python -c "import torch.distributed.distributed_c10d"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/ezyang/Dev/pytorch-cpu/torch/distributed/distributed_c10d.py", line 16, in <module>
    from torch._C._distributed_c10d import (
ModuleNotFoundError: No module named 'torch._C._distributed_c10d'; 'torch._C' is not a package
```

OS X build command:

```
MACOSX_DEPLOYMENT_TARGET=10.11 CC=clang CXX=clang++ python setup.py develop
```

Cmake says

```
-- Building with distributed package: 
  -- USE_TENSORPIPE=False
  -- USE_GLOO=False
  -- USE_MPI=False
--   USE_DISTRIBUTED       : OFF
```

but I would still expect the import to gracefully fail lazily

### Versions

master

cc @malfet @seemethere
Repository: flutter
Issue: Include bundletool in the `flutter_tools`
Labels: platform-android,tool,dependency: android,P2,team-android,triaged-android

Android Appbundles (aabs) are the required format for play store app submissions. However, .aab files built by `flutter build appbundle` cannot be easily previewed.

https://github.com/google/bundletool Is required to handle bundles. To make the user experience more seamless, we should provide a way for devs to access bundletool without having to go install it themselves, whether that be wrapping bundletool commands or just providing access to the bundletool directly.
Repository: pytorch
Issue: Check that SymPy semantics match Python semantics
Labels: triaged,module: dynamic shapes

### 🐛 Describe the bug

Currently, we _assume_ that Python and SymPy behave identically (e.g., promotion), but it might not be the case. Someone needs to verify this.

cc @ezyang 

### Versions

master
Repository: PowerToys
Issue: PowerToys Run Ordering Results not working!
Labels: Issue-Docs,Needs-Triage

### Provide a description of requested docs changes

hey guys,
in powertoys Run (which i use the most amont all tools) i need it whenever i search for something it shows up the folders first not the files, even tho i changed and used the "global sort order score modifer" but still no difference. 
it used to be normal and usually folders were higher in search results but idk if it was after a update or windows change or sth but then now i dont know how to fix it. 
fixing this would be a big help for me, Thanks
Repository: pytorch
Issue: Retrieve Tensor from Tensor.data_ptr()
Labels: triaged,core issue

### 🚀 The feature, motivation and pitch

We are working on a DSL implementation which would use the PyTorch to manage the allocation of tensors and the kernel would accept the Tensor.data_ptr() and other attributes, e.g. stride, type, shape as arguments. However we need assemble these info automatically to a tensor-like object now, but it difficult to correspond these info scattering in arguments. 


### Alternatives

There are 4 choices:
1. accept torch tensor as input
2. encapsulate torch tensor to hide implementation or encapsulate info from tensor to one new type
3. assemble these info automatically as stated before  - difficult to correspond arguments and seems prone to errors
4. recover the tensor from the data_ptr(), but other arguments are useless except explicit reference 

We will try the 1st and 2nd options and also seize the opportunity of 4th option

### Additional context

_No response_
Repository: angular
Issue: HTTP Accept header incorrect when requiring JSON response
Labels: area: common/http

### Which @angular/* package(s) are the source of the bug?

common

### Is this a regression?

No

### Description

When requesting a JSON answer from `HttpClient.get()` with `observe?: body` and `responseType?: json`, which are the default values for those parameters, the `Accept` HTTP header is set to the `application/json, text/plain, */*` value, which accepts other responses than JSON, hence violation assumptions.

Currently, it would be necessary for a client application using `angular/common` to explicitely set an `Accept` HTTP header in the `headers` parameter of the `HttpClient` object to enforce what should already be driven by the `responseType` field.

When JSON is expected as the answer format, the HTTP client shall request this format only.
It would be nice that, by default, when no `Accept` HTTP header is set through the `headers` parameter of an `HttpClient` instance, the default value takes the `responseType` parameter into account.

### Please provide a link to a minimal reproduction of the bug

_No response_

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

_No response_

### Anything else?

[The problem exists in the current `master` branch](https://github.com/angular/angular/blob/eb52d9eabd13100ef5dc10f1934d2b8455fa1cdc/packages/common/http/src/xhr.ts#L72-L74) at the time of this writing.
Repository: pytorch
Issue: Torch SummaryWriter import fails with torch 2.0 with an error on numpy.object
Labels: module: tensorboard,oncall: visualization

### 🐛 Describe the bug

On pytorch 2.0 the code line 
'from torch.utils.tensorboard import SummaryWriter'
produces the following error.
![Cattura](https://user-images.githubusercontent.com/16682919/207862762-2a57956f-4c93-419f-b6f5-8be5bba40447.PNG)


### Versions

pytorch 2.0
numpy 1.24.0rc2
Repository: flutter
Issue: Incorrect selection area in RTL TextField.
Labels: a: text input,framework,a: internationalization,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework

A dot at the end of a line that is followed by another line makes the text selection area incorrect!
First, create a simple app with an RTL multiline TextField. (or use my sample code.)

Steps to Reproduce:
1. Add a line with this text: "Select a word and see the selected area."
2. Add another line
3. Double click on the "word" to select it.

Expected:
The selection area should match the "word" area.

Actual:
The selected area is not matched with the "word" area.

<details>
<summary>Sample code</summary>

```dart
import 'package:flutter/material.dart';

void main() =>
  runApp(MaterialApp(
    home: Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          TextField(
            controller: TextEditingController(text: '\nSelect a word and see the incorrect selected area.\n'),
            textDirection: TextDirection.rtl,
            maxLines: null,
          ),
          TextField(
            controller: TextEditingController(text: '\nSelect a word and see the correct selected area.\n'),
            maxLines: null,
          ),
        ],
      ),
    ),
  ));
```
</details>
Repository: go
Issue: proposal: testing: output timing and outcome of TestMain or possible setup and teardown functions
Labels: Proposal

Hi,

We are currently using the `TestMain` function to setup and teardown [test-containers](https://github.com/testcontainers/testcontainers-go) in our integration tests. This allows us to prepare the environment once for the entire test suite and save time.
We also monitor our test CI step by using [gotestsum](https://github.com/gotestyourself/gotestsum) which practically parses the output from `go test -json`. This lets us keep the CI snappy.

One issue we are having is that there is no way to monitor `TestMain`'s timing or outcome. In gotestsum there is [some code](https://github.com/gotestyourself/gotestsum/blob/v1.7.0/internal/junitxml/report.go#L154-L161) to add a fake test case in the case the failure occurred in `TestMain` (see [comment](https://github.com/gotestyourself/gotestsum/issues/220#issuecomment-962497045) by @dnephin ). But, there is still no way to monitor how long did the logic before and after the tests ran.

There are several possible ways to tackle this IMO:

### Declaring setup and teardown functions

Introduce new functions for setup and teardown:

```go
func TestMain(m *testing.M) {
	m.Setup(setupFunc)
	m.Teardown(teardownFunc)
}
```

This can work just like `testing.T.Cleanup` does. I think this is beneficial for other use cases where there is a need to better organize testing code.

Emitted JSONs could look like:
```json
{"Time":"2022-12-10T14:13:37.4857284-02:00","Action":"pass","Package":"example.com/cool/app","Function":"setupFunc","Elapsed":0.0321}
```

### Monitor `TestMain` timing without `m.Run` time

Another option is to time the entire `TestMain` but stop the timer on `m.Run` and resume when it ends.

Hypothetical code:
```go
func (m *testing.M) Run() int {
	m.timer.Stop()
	defer m.timer.Continue()

	# ... run tests
}
```

Emitted JSONs could look like:
```json
{"Time":"2022-12-10T14:13:37.4857284-02:00","Action":"pass","Package":"example.com/cool/app","Function":"TestMain","Elapsed":10.3853}
```
Repository: flutter
Issue: Displaying incorrect caret position in RTL TextField.
Labels: a: text input,framework,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework

A dot, a new line, or a space in lines makes the caret position looks incorrect.
first, create a simple app and add a TextField with RTL and multiline. (or use my sample code)

Step to reproduce:
1. Add a line ending with a dot.
2. Add another line ending with a dot and starting with a space.
3. Click the front of the dot.

Expected:
Caret should be shown in front of the dot.
(more especially in RTL language)

Actual:
Caret is shown before the dot.

<details>
<summary>Sample code</summary>

```dart
import 'package:flutter/material.dart';

void main() =>
  runApp(MaterialApp(
    home: Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          const Text('Sample 1: Click the front of these dots below to see the caret position:'),
          TextField(
            controller: TextEditingController(text: 'A simple line ending with a dot looks ok.\nthe next line ending with a dot looks ok.\nbut in the last line, the caret is located before dot.'),
            textDirection: TextDirection.rtl,
            maxLines: null,
          ),
          const SizedBox(height: 10.0),
          const Text('Sample 2: Unexpected caret position by just adding a scape at the start of line 2 and 3:'),
          TextField(
            controller: TextEditingController(text: 'A simple line ending with a dot looks ok.\n the next line ending with a dot looks ok.\n but in the last line, the caret is located before dot.'),
            textDirection: TextDirection.rtl,
            maxLines: null,
          ),
          const SizedBox(height: 10.0),
          const Text('Sample 3: the same issue by new-line between lines:'),
          TextField(
            controller: TextEditingController(text: 'A simple line ending with a dot looks ok.\n\nthe next line ending with a dot looks ok.\n\nbut in the last line, the caret is located before dot.'),
            textDirection: TextDirection.rtl,
            maxLines: null,
          ),
        ],
      ),
    ),
  ));

```
</details>
Repository: pytorch
Issue: Support for Transformer Models on Android with Vulkan Backend
Labels: triaged,module: vulkan

### 🚀 The feature, motivation and pitch

Hello

We are currently using a number of different transformer models (plain BERT encoders with attached classification head) on Android. In order to increase the performance of the inference on mobile devices, we're currently evaluating the Pytorch Vulkan backend. We therefore compiled Pytorch from source for desktop to export our model for mobile and specifically for the Vulkan backend. Afterwards, we compiled Pytorch with Vulkan backend for Android, included the resulting aars in our Testing-App and tried running the model. The following error occured:

```
com.facebook.jni.CppException: Vulkan vk_format(): no corresponding format for dtype
```

After some digging around in the source code, we found that the dtype for which there is no corresponding format is `Long`. We assume that the model requires a `Long` as index to the embedding bag. To make sure that nothing was wrong with our custom build, we also tried to run a basic mobilenet v2 model on Android with Vulkan backend and it seemed to work as expected. We therefore assume that this is an unsupported feature. 

Just out of curiosity we also tried passing `Int` and `Float` values to the model, just to see what would happen. With `Int` we received the same error whereas with `Float` the following error occured:
```
com.facebook.jni.CppException: Could not run 'aten::as_strided' with arguments from the 'Vulkan' backend. This could be because the operator doesn't exist for this backend
```

Can you please confirm that this is in fact an unsupported feature? Is there currently some kind of workaround for this? Is there a plan to support this in the future?

Thank you in advance for your reply and have a great day!

### Alternatives

_No response_

### Additional context

_No response_
Repository: vscode
Issue: zsh HISTFILE Hardcoded after #168396 fix
Labels: bug,terminal-shell-zsh

<!-- ⚠️⚠️ 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.74.1 (Universal)
- OS Version: Darwin x64 22.2.0 (ssh extension into debian 10.12)

The fix for #168396 permanently overwrites my $HISTFILE setting, so I can't redirect it to another file. If I set
```
    "terminal.integrated.env.linux": {
        "HISTFILE": "${HOME}/something_else",
    }
```
in VS Code user settings or `export HISTFILE="${HOME}/something_else"` in my .zshenv, I see 
```
% env | grep HIST
HISTFILE=/home/redoubts/.zsh_history
```

Steps to Reproduce:

1. try to set $HISTFILE anywhere normally
2. observe with `env | grep HIST`
Repository: vscode
Issue: Context for compressed Explorer folders always points to child
Labels: bug,file-explorer

<!-- ⚠️⚠️ 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.74.1
- OS Version: MacOS 12.6

Steps to Reproduce:

1. Create a folder, "parent"
2. Create a sub-folder "child"
3. Hover over "parent":
![image](https://user-images.githubusercontent.com/9009552/207886092-dc6ceba3-5918-4748-910b-e15153d488b4.png)
4. Hover over "child":
![image](https://user-images.githubusercontent.com/9009552/207886186-43d6c51d-4bbd-4332-9ccc-4764c811798b.png)

You'll notice that the parent folder always points to the child folder. This also seems to apply to the `resource` context item which is problematic when trying to create a new context item with a when clause. 

You cannot reliably create a `when` clause because the `resource` may be incorrect. For example: If a context menu item has a `when` clause like:
```
"resource =~ /parent$/"
```
it will never be true because it is always tested against the child path (`../parent/child`)

It would be helpful if there was a way to test against the specific target element that's clicked