sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: puppeteer
Issue: [Feature]: Cannot grant access to WebUSB device, "Connect" dialog cannot be managed
Labels: feature,upstream,confirmed

### Bug description

Steps to reproduce the problem:

1. Launch a browser: 

    ```js
    const browser = await puppeteer.launch();
    ```

2. Navigate to a url w/ WebUSB functionality:

    ```js
    const page = await browser.newPage();
    await page.goto('https://example.com/webusb-test'); // replace example url
    ```

3. Listen for "Connect" dialog and accept device:

    ```js
    page.on("dialog", async dialog => {
        await dialog.accept('my-device-name'); 
    });
    ```

4. Request a device:

    ```js
    await page.evaluate(() => {
        const device = await navigator.usb.requestDevice({ filters: [{ vendorId: <my-id> }] });
    });
    ```

Dialog launches but i'm not able to programmatically interact with it to select and approve my device. 


### Puppeteer version

16.1.1

### Node.js version

16.16.0

### npm version

8.11.0

### What operating system are you seeing the problem on?

macOS

### Relevant log output

_No response_
Repository: pytorch
Issue: Build from source failed on MacOS 10.6 with CUDA 10.1 
Labels: module: build,triaged,module: macos

### 🐛 Describe the bug

I am trying to build Pytorch from source with CUDA enabled. I followed the steps at https://gist.github.com/brokeyourbike/def7a3313c1e4fdf1334b5c4f0e239f3, including installing from https://github.com/pytorch/pytorch/tree/eeb43ffab9200ea046f29fecf914d8e71d00d474

I am not able to complete `MACOSX_DEPLOYMENT_TARGET=10.13 CC=clang CXX=clang++ python setup.py install` 

Here are some details of my setup:
MacBook Pro (Retina, 15-inch, Late 2013)
NVIDIA GeForce GT 750M 2048 MB
macOS 10.13.6 (17G14042)
Xcode 10.1
CUDA toolkit 10.1
CUDA Driver Version: 418.163
GPU Driver Version: 387.10.10.10.40.140

I tried installing with Python 3.7, 3.8, 3.8, 3.10. They give different warnings, but all fail. 

I've also tried installing, with Python 3.7, eeb43ffab9200ea046f29fecf914d8e71d00d474, 87061875239d0694779255b55e50250b272169ff, and f094113ebf5b4e5281ab1a134220a1a985f03964 (most recent commit today).

My goal is to be able to do the verify installation steps a la https://gist.github.com/brokeyourbike/def7a3313c1e4fdf1334b5c4f0e239f3 with some PyTorch master branch - doesn't have to be the most recent version of PyTorch, but something within the last few years.

For more details see these CMake logs (for build with Python 3.7, PyTorch eeb43ffab9200ea046f29fecf914d8e71d00d474)

[CMakeError.log](https://github.com/pytorch/pytorch/files/9378367/CMakeError.log)
[CMakeOutput.log](https://github.com/pytorch/pytorch/files/9378368/CMakeOutput.log)

Note that I can use CUDA (10.1) on my machine, and compile .cu files and successfully run them.

### Versions

```
(torch_20220818_py37) gws-MacBook-Pro-6:developer gw$ python collect_env.py
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: macOS 10.13.6 (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.24.20220817-gb6cfa38
Libc version: N/A

Python version: 3.7.13 (default, Mar 28 2022, 07:24:34)  [Clang 12.0.0 ] (64-bit runtime)
Python platform: Darwin-17.7.0-x86_64-i386-64bit
Is CUDA available: N/A
CUDA runtime version: 10.1.168
GPU models and configuration: Could not collect
Nvidia driver version: 1.1.0
cuDNN version: Probably one of the following:
/usr/local/cuda/lib/libcudnn.7.dylib
/usr/local/cuda/lib/libcudnn.dylib
/usr/local/cuda/lib/libcudnn_static.a
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

Versions of relevant libraries:
[pip3] numpy==1.21.5
[conda] mkl                       2020.2                      260
[conda] mkl-include               2022.0.0           hecd8cb5_105
[conda] numpy                     1.21.5           py37h0f1bd0b_3
[conda] numpy-base                1.21.5           py37hbda7086_3
```

cc @malfet @seemethere @albanD
Repository: TypeScript
Issue: `// @ts-expect-deprecation` and `// @ts-expect-no-deprecation` support like `// @ts-expect-error`
Labels: Suggestion,Awaiting More Feedback

# Suggestion

<!--
  Please fill in each section completely. Thank you!
-->

## 🔍 Search Terms

<!--
  💡 Did you know? TypeScript has over 2,000 open suggestions!
  🔎 Please search thoroughly before logging new feature requests as most common ideas already have a proposal in progress.
  The "Common Feature Requests" section of the FAQ lists many popular requests: https://github.com/Microsoft/TypeScript/wiki/FAQ#common-feature-requests

  Replace the text below:
-->

- ts-expect-deprecation
- ts-expect-no-deprecation

## ✅ Viability Checklist

<!--
   Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
   We always recommend reviewing the TypeScript design goals before investing time writing
   a proposal for ideas outside the scope of the project.
-->
My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

<!-- A summary of what you'd like to see added or changed -->

As title

## 📃 Motivating Example

<!--
  If you were announcing this feature in a blog post, what's a short explanation that shows
  a developer why this feature improves the language?
-->

Function A can have different signatures, only a few of them maybe deprecated, I want to have test cases to make sure TS understand which overload usages should be considered as deprecation, which should be used without deprecation notice.

## 💻 Use Cases

<!--
  What do you want to use this for?
  What shortcomings exist with current approaches?
  What workarounds are you using in the meantime?
-->

N/A
Repository: go
Issue: x/pkgsite: readme markdown lists aren't rendered as html lists
Labels: pkgsite

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What is the URL of the page with the issue?

https://pkg.go.dev/github.com/google/go-cmp/cmp

### What is your user agent?

<!--
You can find your user agent here:
https://www.google.com/search?q=what+is+my+user+agent
-->

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15

### Screenshot

<!--
Please paste a screenshot of the page.
-->

<img width="558" alt="Screen Shot 2022-08-18 at 8 15 17 PM" src="https://user-images.githubusercontent.com/63830/185535134-f94e63b0-53dc-485e-a3fd-f41dc34b665c.png">

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
-->

Went to https://pkg.go.dev/github.com/google/go-cmp/cmp

### What did you expect to see?

HTML lists:

- When the default behavior of...

### What did you see instead?

Middle dot approximation of HTML lists:

• When the default behavior of...
Repository: PowerToys
Issue: Automatic Grid Creation by Row and Column Height and Width provided Dimensions.
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

User should be able to input a requested number of rows and columns and have it automatically create the zones based on dimensions of monitor.

For instance: If someone wanted 10 rows and 20 columns that would mean it would create a perfectly calculated out grid that has a whole bunch of zones that are equally sized out. In a 1920x1080 desktop if you were to create 10 rows and 20 columns each box should be. 96px wide and 108px tall.

### Scenario when this would be used?

It is really nice to use the function of Shift and Ctrl to combine and dynamically scale my windows as needed without having to change FancyZones layouts constantly. It is super useful for getting a bunch of custom size windows in many different areas of the display and dynamically scaling them as needed without having to switch between a bunch of zones just to scale one window to size. There seems to be a hard cap at making a zone only 100px small. If one oculd go lower the window scaling possibilites would be virutally limitless.

### Supporting information

_No response_
Repository: transformers
Issue: Implement a new model: Point-BERT 🌟
Labels: New model

### Model description

Hi, I’m Adonai vera; I’m looking to contribute with a new point cloud model; Point cloud has become very relevant in applications such as autonomous cars, inspections, architecture, reconstruction, and more. Segmentation algorithms allow us to extract valuable information from these types of files. That is why it is very important for me to contribute to the HF community with the architecture of a new Point-Bert model. Point-BERT is a Pre-training 3D Point Cloud Transformers with Masked Point Modeling. According to the state of the art, it is one of the best models, surpassing PointNet, Pointnet++, and Transformer-OcCo, among others.

**Short description of the model and link to the paper:**
They devise a Masked Point Modeling (MPM) task to pre-train point cloud Transformers. Specifically, they first divide a point cloud into several local point patches. A point cloud Tokenizer with a discrete Variational AutoEncoder (dVAE) is designed to generate discrete point tokens containing meaningful local information. Then, they randomly mask out some patches of input point clouds and feed them into the backbone Transformers. (Abstract)

[Link to the paper](https://openaccess.thecvf.com/content/CVPR2022/papers/Yu_Point-BERT_Pre-Training_3D_Point_Cloud_Transformers_With_Masked_Point_Modeling_CVPR_2022_paper.pdf)

**Link to the implementation if it is open-source:**

[Pre-trained model in github](https://github.com/lulutang0608/Point-BERT)

 [Talk about the new arquicture in CVPR 2022](https://www.youtube.com/watch?v=KMOCw68Veoo)

**Link to the model weights if they are available:**

[Cfgs](https://github.com/lulutang0608/Point-BERT/tree/master/cfgs)

[Architecture](https://github.com/lulutang0608/Point-BERT/blob/master/models/Point_BERT.py)

I’m happy to contribute to this process, but it's important to know If this model can be valuable to the community.

PDT: I'm trying to connect with the model's authors to get more insights into the implementation. 🤗 
[EDIT] I talked with Xumin, one of the model's authors, and they support all the deployment in HF. 🚀🚀🚀

The authors are: :woman_teacher: :man_teacher:
@lulutang0608
@yuxumin
@raoyongming


### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation
[Architecture](https://github.com/lulutang0608/Point-BERT/blob/master/models/Point_BERT.py)
[Cfgs](https://github.com/lulutang0608/Point-BERT/tree/master/cfgs)
[Talk about the new arquicture in CVPR 2022](https://www.youtube.com/watch?v=KMOCw68Veoo)
[Pre-trained model in github](https://github.com/lulutang0608/Point-BERT)
[Link to the paper](https://openaccess.thecvf.com/content/CVPR2022/papers/Yu_Point-BERT_Pre-Training_3D_Point_Cloud_Transformers_With_Masked_Point_Modeling_CVPR_2022_paper.pdf)
Repository: TypeScript
Issue: JSDOC `@property` tag has no autocompletion under weird set of circumstances
Labels: Needs Investigation

# Bug Report

### 🔎 Search Terms

jsdoc autocomplete property 

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about `autocomplete`

### ⏯ Playground Link

[Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.8.0-beta&filetype=js#code/PQKhAIAEBcE8AcCmATRAzcBvAdgVwLYBGiATgL7gBiA9teCMAFCgQwIrpZ5GkUBCAQxL0mzMI3pQ4SVBkEAvCa3glqSEnCzgKAR1wAPJeGMnTxgHpGACgBsBAY0ThY1XMPtuAztWEALUk4C2MjgKoienuD20CQ24ADU4J7wDk7QdAK46fbU+PA2iNCISqLAwOAAqtg5+PiI2NDg0P7gNgCW2E7ENtQA7k10aG36TS1tEbiIAFzM5foA3IxirEV5dkXgACoijIj68D6N9nYR4ACysADCJ5GYZIxAA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```js
/** @typedef {number} Foo */
/** @typedef {number} Bar */

/**
 * @typedef Baz
 * @property { } qux
 *            ^
 * Place your cursor here and press ctrl + space to autocomplete
 */

// Uncomment the line below to fix the issue:
// x;

/** @template T */
export class MyClass {}

```

### 🙁 Actual behavior

The autocomplete list only shows all words used in the file.

### 🙂 Expected behavior

The autocomplete list also contains the variables and types used in the file.

I have no idea why, but if you remove any of the `@typedef` tags, `@template` tags or uncomment line 12, the issue is solved
¯\\\_(ツ)_/¯
Repository: vscode
Issue: need region support in code-search formate file
Labels: feature-request,search-editor

<!-- ⚠️⚠️ 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. -->
need region support in code-search formate file, like this
![image](https://user-images.githubusercontent.com/12165569/185540749-6785672d-a753-46d8-b93f-88a4ee9226f3.png)
would be helpful for call graph analyse or some stack analyse
Repository: electron
Issue: [Feature Request]: Needed role for Search-text in App Menu
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

[Feature Request]: Needed role for Search-text in App Menu

### Proposed Solution

Add this feature in role so it is helpful to create Application

### Alternatives Considered

Add this feature in role so it is helpful to create Application

### Additional Information

_No response_
Repository: ant-design
Issue: 关于Image.PreviewGroup挂载到指定节点后，鼠标不在图片放大界面上触发wheel事件监听时也会导致图片放大缩小
Labels: help wanted,Inactive

### What problem does this feature solve?

解决了图片区域放大之后放大不影响别的组件操作，例如滚动

### What does the proposed API look like?

挂载到指定节点时，对挂载的节点进行监听wheel，mouseup，mousemove事件，达到互不干扰的效果

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: terminal
Issue: "Open in Terminal" with git bash as default breaks tilde expansion
Labels: Issue-Bug,Product-Terminal,Needs-Tag-Fix,Culprit-Centennial

I am not really sure if this is a problem of the git bash or Windows Terminal, but here we go:
* I have the git bash loaded into windows terminal with this configuration:
  ```json
  {
      "commandline": "\"C:/Program Files/Git/bin/bash.exe\" --login -i",
      "guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",
      "hidden": false,
      "name": "Git Bash",
      "source": "Git",
      "startingDirectory": "%USERPROFILE%"
  },
  ```
  This profile is selected as my default, i.e. `"defaultProfile": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",` is set.
* When I launch Windows Terminal from the task-bar everything works fine, e.g. my default path is shown as `~` and things like `cd ~` work as well. Everything behaves as expected.
* However when I launch Windows Terminal via right-click in explorer and "Open in Terminal", any tilde completion is broken. `cd ~` produces the error `bash: cd: /%HOMEDRIVE%%HOMEPATH%: No such file or directory` and I can't use `~` in any command really.
  * I believe this is a problem with the integration into Windows Terminal, as using `Git bash here` from the explorer context menu opens a shell in which `cd ~` works without problems.

Versions:
* Windows Terminal 1.14.2281.0 on Windows 10.
* Git version 2.37.2 (the official release from git-scm.com)
Repository: PowerToys
Issue: fancy zones scale
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

 i hope area scale show, I want to specify an area to produce a virtual display that forces the area of the window to scale when applied to the window in full screen

### Scenario when this would be used?

develop 

### Supporting information

_No response_
Repository: rust
Issue: Parse and reject "typescript-style" anonymous enums
Labels: A-diagnostics,A-parser,P-low,T-compiler,D-papercut,D-newcomer-roadblock,D-terse

Given

```rust
fn foo() -> i32 | &str { 42 }
```

we currently point at the `|` and complain about it not being expected.

Ideally, this should parse and explicitly state that anonymous enums are not supported, and provide a structured suggestion for

```rust
enum Name<'a> {
    VariantI32(i32),
    VariantStr(&'a str),
}
fn foo() -> Name<'_> {
    Name::VariantI32(42)
}
```

At least, we should emit a note suggesting the above in text without a structured suggestion (which will be easier to produce).

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"LYF1999"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: material-ui
Issue: [core] Generate index.ts to keep it up to date
Labels: core,ready to take

### Summary 💡

It's easy for the global [index.ts](https://github.com/mui/material-ui/blob/master/packages/mui-joy/src/index.ts) to get out of date with new components added to the repo - I just created https://github.com/mui/material-ui/pull/33982 to fix the current mismatch in @mui/joy. It's very easy to generate the index based on some rules in the directory naming - this way (with a "golden" test - checking that the submitted code matches the generated one) the index should never be out of date.

Current index.ts can be generated by adding:
```js
export { default as colors } from './colors';
export * from './styles';
```

followed by one of these for each directory staring with `[A-Z]`:

```js
export { default as DirName } from './DirName';
export * from './DirName';
```

Random notes:
* this probably could be done for other packages as well, I'm guessing @mui/joy is under most active development, that's why it got out of sync
* it's probably a good idea to add a comment at the top of the file saying something "this file is generated, run \<command\> to update it"

I'm happy to make a PR with this script, but would love to hear your thoughts first.

### Examples 🌈

_No response_

### Motivation 🔦

_No response_
Repository: godot
Issue: Text is displayed on the scroll bar
Labels: discussion,topic:editor,usability,topic:gui

### Godot version

v3.5.stable.official [991bb6ac7]

### System information

win10 64

### Issue description

Not much to say, I think this has already been reported but I've searched for "text on scroll bar" and haven't found a report on it.

![Captura](https://user-images.githubusercontent.com/19652075/185570660-e693e491-cb6f-44e1-b58f-6b583650df99.PNG)



### Steps to reproduce

...

### Minimal reproduction project

...
Repository: rust
Issue: #[repr(align(N))] fields not allowed in #[repr(packed(M>=N))] structs
Labels: O-windows-msvc,C-bug,A-layout,A-repr,A-align,A-repr-packed

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
use std::sync::atomic::AtomicU32;

#[repr(C, packed(4))]
struct Foo {
    bar: AtomicU32,
}
```
I expected that `#[repr(align(4))]` fields, such as `AtomicU32`, would be allowed inside a `#[repr(packed(4))]` struct, since the minimum alignment is >= the required alignment.

However, the compiler complains:

    error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type

Use case: I have some fixed-layout shared memory structs I need to interact with, which sometimes contain unaligned u64s. I also need to use atomics on other parts of them (hopefully only u32s).

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.65.0-nightly (34a6cae28 2022-08-09)
binary: rustc
commit-hash: 34a6cae28e7013ff0e640026a8e46f315426829d
commit-date: 2022-08-09
host: x86_64-unknown-linux-gnu
release: 1.65.0-nightly
LLVM version: 14.0.6
```

</p>
</details>
Repository: storybook
Issue: dist/cjs/server/options ERR_PACKAGE_PATH_NOT_EXPORTED in exports
Labels: bug,nx

Same for me as for @clover-omelnyk 
@shilman Can you please take a look?

I'm trying to use it with:
`"next": "12.2.2",`
`"preact": "10.7.3",`
`"preact-render-to-string": "5.2.0",`
`"react": "npm:@preact/compat@^17.1.1",`
`"react-dom": "npm:@preact/compat@^17.1.1"`

```
info  @nrwl/storybook              ^14.5.7  →   ^14.6.0-beta.4
info  @storybook/addon-essentials   ~6.5.9  →  ~7.0.0-alpha.23
info  @storybook/builder-webpack5   ~6.5.9  →  ~7.0.0-alpha.23
info  @storybook/core-server        ~6.5.9  →  ~7.0.0-alpha.23
info  @storybook/manager-webpack5   ~6.5.9  →  ~7.0.0-alpha.10
info  @storybook/react              ~6.5.9  →  ~7.0.0-alpha.23
```
![image](https://user-images.githubusercontent.com/38359394/185507877-6c017654-0b94-4e8f-bd5f-50ce85cb0aa6.png)


P.s. `6.5.9` is throwing an error about:
```
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /Users/klypalskyi/Documents/Techery/SunRider/sunrider/node_modules/react/package.json
```

_Originally posted by @Klypalskyi in https://github.com/storybookjs/storybook/issues/13099#issuecomment-1220018684_
Repository: PowerToys
Issue: FancyZones recalibration 
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

I always see some windows a bit off from their zones that they were in, which takes time to fix all of them so if there is a shortcut to do that to all these windows at once

### Scenario when this would be used?

when the pc wakes up from sleep or sometimes on start up

### Supporting information


```[tasklist]
### Tasks
- [ ] recalibrate by either deactivating fancy zones and reactivating it again, or other more effiecnt ways to do so.
- [ ] Assign shortcut button for the recalibration, or make it automatic for specific senarios and states of the system like when waking up from sleep or other.
```
Repository: flutter
Issue: Add suport for Android 13 per-app language preferences 
Labels: c: new feature,platform-android,framework,engine,a: internationalization,customer: crowd,c: proposal,e: OS-version specific,P3,team-android,triaged-android

In Android 13 new feature - Per-app language preferences:
https://developer.android.com/guide/topics/resources/app-languages

Could you add its support to Flutter?