sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: docs: generate more helptags at build time
Labels: enhancement,documentation

### Problem

`:h vim.api.nvim_buf_attach` does not bring the user to the documentation for `:h nvim_buf_attach()`.

### Expected behavior

Generating helptags linking the various `vim.api.*` to the corresponding `nvim_*` function documentation would help.

Bfredl also mentionned that having `vim.api.nvim_` as an alias for `vim.api` would provide more useful results when performing `:help api.vim.n<tab>`.

`:help vim.loop.sp<tab>` finding `uv.spawn()` would be a great improvement too.

There's also `vim.fn.foo() -> foo()` and `vim.cmd.foo -> :foo`.
Repository: pytorch
Issue: `torch.distributed.Store` triggers INTERNAL ASSER FAILED when seting
Labels: oncall: distributed,triaged

### 🐛 Describe the bug

`torch.distributed.Store` triggers INTERNAL ASSER FAILED when seting

```py
import torch

torch.manual_seed(420)

store = torch.distributed.Store()
key = "key"
value = "value"

for i in range(100):
    store.set(key+str(i), value+str(i))
# RuntimeError: fn INTERNAL ASSERT FAILED at 
# "/opt/conda/conda-bld/pytorch_1672906354936/work/torch/csrc/distributed/c10d/init.cpp":138, 
# please report a bug to PyTorch.
```

### Versions

```
PyTorch version: 2.0.0.dev20230105
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.9.15 (main, Nov 24 2022, 14:31:59)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 11.7.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 3090
GPU 1: NVIDIA GeForce RTX 3090
GPU 2: NVIDIA GeForce RTX 3090

Nvidia driver version: 515.86.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.4.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.4.1
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.5
[pip3] torch==2.0.0.dev20230105
[pip3] torchaudio==2.0.0.dev20230105
[pip3] torchvision==0.15.0.dev20230105
[conda] blas                      1.0                         mkl
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py39h7f8727e_0
[conda] mkl_fft                   1.3.1            py39hd3c417c_0
[conda] mkl_random                1.2.2            py39h51133e4_0
[conda] numpy                     1.23.5           py39h14f4228_0
[conda] numpy-base                1.23.5           py39h31eccc5_0
[conda] pytorch                   2.0.0.dev20230105 py3.9_cuda11.7_cudnn8.5.0_0    pytorch-nightly
[conda] pytorch-cuda              11.7                 h67b0de4_2    pytorch-nightly
[conda] pytorch-mutex             1.0                        cuda    pytorch-nightly
[conda] torchaudio                2.0.0.dev20230105      py39_cu117    pytorch-nightly
[conda] torchtriton               2.0.0+0d7e753227            py39    pytorch-nightly
[conda] torchvision               0.15.0.dev20230105      py39_cu117    pytorch-nightly
```

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu
Repository: rust
Issue: TAITs and recursive definitions of closures hang the check and build
Labels: T-compiler,C-bug,F-type_alias_impl_trait

I tried this code:

```rust
#![feature(type_alias_impl_trait)]

type Recur = impl FnOnce() -> Recur;

fn recur_def() -> Recur {
    || recur_def()
}
```

I expected to see this happen: either it successfully compiles or errors with the message of unsupported recursive closure definitions.

Instead, this happened: both check and build hang indefinitely.

### Meta

`rustc --version --verbose`:
```
rustc 1.69.0-nightly (246eae2fa 2023-02-21)
binary: rustc
commit-hash: 246eae2fab54a5139365c4e1a08c5724fb385fbf
commit-date: 2023-02-21
host: x86_64-pc-windows-msvc
release: 1.69.0-nightly
LLVM version: 15.0.7
```
Repository: rust
Issue: type inference fails when using `async_fn_in_trait`
Labels: T-compiler,A-inference,A-impl-trait,A-async-await,AsyncAwait-Triaged,WG-async

```rust
#![feature(async_fn_in_trait)]

fn main() {}

trait MyTrait<T> {
	async fn foo(&mut self) -> T;
}


impl<T> MyTrait<bool> for T {
	async fn foo(&mut self) -> bool {
		true
	}
}

impl<T> MyTrait<i32> for T {
	async fn foo(&mut self) -> i32 {
		let x: bool = self.foo().await; //error[E0698]: type inside `async fn` body must be known in this context

		42
	}
}
```
works fine when removing `async` or using the `async-trait` crate

workaround:
```rust
let x: bool = MyTrait::<bool>::foo(self).await;
```
Repository: vscode
Issue: vscode web incorrectly opens uri resolved from IExternalUriResolver
Labels: feature-request,uri,opener

- VS Code Version: stable and from sources

This is related to https://github.com/microsoft/vscode/issues/85930 and https://github.com/microsoft/vscode/issues/140907, there's already a TODO about this in [openerService](https://github.com/microsoft/vscode/blob/3c9f409888c4be37ec305b604941e286f3dc9964/src/vs/editor/browser/services/openerService.ts#L212) but there's no workaround like in the other cases as the exposed interface only accepts and returns an URI

Steps to repro https://github.com/gitpod-io/gitpod/issues/16494

cc @jrieken
Repository: next.js
Issue: "next build" doesn't recognise node subpath export patterns in npm packages
Labels: bug,TypeScript

I'm trying to publish a component library that Next.js users can use individual components from without having to worry about bundle size overhead. Since Next.js [doesn't tree shake the root import][1], as a library author, I have to provide deep imports to the individual components as a workaround. But the build command fails for deep imports.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.13.0
      npm: 8.19.3
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.1.7-canary.26
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0

### Which area(s) of Next.js are affected? (leave empty if unsure)

App directory (appDir: true), CLI (create-next-app), Package manager (npm, pnpm, Yarn), TypeScript

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/purple-dream-eum7fq

### To Reproduce

- Visit the provided Codesandbox link
- Check the import in `app/page.tsx`, the editor recognises the import correctly.
- The Default tab running `next dev` runs the application without errors.
- The build tab running `next build` throws an error: `Type error: Cannot find module`

In general, use a subpath import (e.g. `import { something } from "my-package/something";`) from an npm package that has defined this under `exports` field in its `package.json`:

```json
  "exports": {
    "./*": {
      "import": "./dist/subpath/*.js"
    }
  },
```

### Describe the Bug

The `next build` command is not able to recognise subpath imports from a package that exports them using Node's [wildcard exports][2] syntax. This error only occurs on build, the `next dev` command throws no errors, neither does the IDE.

### Expected Behavior

`next build` should not throw an error for subpath imports from an npm package exporting them using wildcard syntax.

### Which browser are you using? (if relevant)

Microsoft Edge Version 110.0.1587.50 (Official build) (arm64)

### How are you deploying your application? (if relevant)

Vercel

[1]: https://github.com/vercel/next.js/issues/12557#issuecomment-1427088366
[2]: https://nodejs.org/api/packages.html#subpath-patterns
Repository: flutter
Issue: `integration_test`s should ignore pointers from real devices
Labels: a: tests,framework,f: integration_test,P2,c: flake,team-framework,triaged-framework

If you run an integration test written with the `integration_test` package with `flutter test` any pointer events caused by physically touching the screen should be ignored and not forwarded to the framework in any way to keep the test hermetic. Only pointer events caused by the test itself (via the `WidgetTester`) should be dispatched to the framework.

Currently, the `IntegrationTestWidgetsFlutterBinding` extends `LiveTestWidgetsFlutterBinding` which takes pointer events from the device and performs a hit test on the app under test to print a list of possible finders:

https://github.com/flutter/flutter/blob/7d85a585da7572a495960d93324cbe1f8ac0be13/packages/flutter_test/lib/src/widget_tester.dart#L883

These hit tests of device pointer events can clash with simulated pointer events from the test if the events have the same pointer ID causing an assert [1] to trigger in the framework. This makes tests flaky in an unpredictable and hard to debug way (they only crash if something happens to touch the screen at the right moment while the test is running). We have seen an example of this in https://github.com/flutter/flutter/issues/116663.

Tests should be hermetic, so while the integration_test is executed an an automated fashion via `flutter test`, all outside pointer events should just be ignored.

[1] https://github.com/flutter/flutter/blob/7d85a585da7572a495960d93324cbe1f8ac0be13/packages/flutter/lib/src/gestures/binding.dart#L369
Repository: stable-diffusion-webui
Issue: [Feature Request]: Use image as conditioning
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

As CLIP models map both images and text into a common latent space, I was wondering: what if, instead of encoding text for conditioning during sampling, we used an image?

I don't know much about machine learning and transformers, but I tried asking chatGPT to see if this would be possible. With what it replied with, I'm now certain that either 1) it doesn't know or 2) I don't know how to ask.

I know that SD checkpoints only include a text encoder, and no image encoder. I'm still curious, are there any model that could be used to map an image to an ok-ish clip space? (i.e. something that resembles the text->clip encoder of the SD1.5 ckpt for example) How hard would it be to train a model to do this if no such model exists?

### Proposed workflow

1. Go to txt2img or img2img tab
2. Click the `Image embedding` checkbox
3. Witness the text prompt get replaced by a gradio image component
1.alt Same orthogonal process for negative prompt?

### Additional information

_No response_
Repository: flutter
Issue: Remove references to Observatory from flags and source code
Labels: tool,P2,team-tool,triaged-tool
Repository: flutter
Issue: [pointer_interceptor] Intercept "on top" of a view
Labels: platform-web,P2,p: pointer_interceptor,team-web,triaged-web

The current pointer interceptor always intercepts by assuming that its children is going to be a well behaved flutter element.

However, it's been reported that it's more practical in some cases to stack a pointer interceptor on *top* of an HTMLElementView to disable its interaction completely.

Can the pointer_interceptor be configured to be positioned "on top" of its child, rather than behind it?
Repository: youtube-dl
Issue: eVOD https://watch.evod.co.za/ Support
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://watch.evod.co.za/player/46674/stream?assetType=episodes&playlist_id=51
- Playlist: https://watch.evod.co.za/79e530ca-f6b4-4bba-a7e8-807f6d7113d2/details/46674?playlist_id=51


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

eVOD is a online version of a South African TV Channel. It requires an account to be created, but is free of charge.
Repository: node
Issue: ReadableStreamDefaultReader.read accesses Object.prototype.then
Labels: web streams

### Version

v19.7.0

### Platform

Microsoft Windows NT 10.0.19045.0 x64

### Subsystem

web streams

### What steps will reproduce the bug?

```js
const hello = new TextEncoder().encode('hello')

const rs = new ReadableStream({
  start(controller) {
    controller.enqueue(hello);
    controller.close();
  }
})

const reader = rs.getReader()

Object.defineProperty(Object.prototype, 'then', {
  get () {
    throw new Error()
  }
})

while (true) {
  const { done } = await reader.read()

  if (done) break
}

```

### How often does it reproduce? Is there a required condition?

_No response_

### What is the expected behavior?

No error thrown

### What do you see instead?

```
file:///undici/test.mjs:14
    throw new Error()
          ^

Error
    at Object.get (file:///undici/test.mjs:14:11)
    at Object.resolve (<anonymous>)
    at [kChunk] (node:internal/webstreams/readablestream:771:27)
    at readableStreamDefaultControllerPullSteps (node:internal/webstreams/readablestream:2304:24)
    at [kPull] (node:internal/webstreams/readablestream:1052:5)
    at readableStreamDefaultReaderRead (node:internal/webstreams/readablestream:2138:39)
    at ReadableStreamDefaultReader.read (node:internal/webstreams/readablestream:841:5)
    at file:///undici/test.mjs:19:33
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
```

### Additional information

This is a WPT that I discovered working on fetch, https://github.com/web-platform-tests/wpt/blob/master/fetch/api/response/response-stream-with-broken-then.any.js
Repository: PowerToys
Issue: FancyZones: option for no outside border
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

There is an option now for space between zones. However, it also adds space at the top, bottom, and sides. Eliminating this outside border would make better use of screen real estate.

### Scenario when this would be used?

When using a grid based layout, the space between windows is a useful visual marker but the space between the windows and the monitor edge is wasted.

### Supporting information

_No response_
Repository: godot
Issue: Crash while saving after running tool.
Labels: bug,topic:core,confirmed,crash

### Godot version

4.0 rc3

### System information

windows 10

### Issue description

Crashes while saving after running tool on node.

### Steps to reproduce

run "fillArrayTool.gd" on the "runToolOnMe" node (must have node selected).
Save afterwards.

### Minimal reproduction project

[saveCrashBug.zip](https://github.com/godotengine/godot/files/10808591/saveCrashBug.zip)
Repository: pytorch
Issue: Circular padding error for 3D arrays
Labels: triaged,module: padding

### 🐛 Describe the bug

An error is raised when trying to do circular padding for a 3D array
```
import torch
import torch.nn.functional as F
F.pad(torch.arange(9).reshape(1, 3,3), (0,1,1,0), mode='circular')
```
Error:
```
RuntimeError: Invalid padding size, expected 2 but got 4
```

A current workaround is to get a view of the array with an extra dimension:
```
import torch
import torch.nn.functional as F
F.pad(torch.arange(9).reshape(1, 1, 3,3), (0,1,1,0), mode='circular')
```
which runs fine.

### Versions

PyTorch version: 1.13.0+cpu
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 10 Enterprise
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:43:00) [MSC v.1929 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.19044-SP0
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=1805
DeviceID=CPU0
Family=198
L2CacheSize=5120
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=1805
Name=11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] numpy==1.23.5
[pip3] torch==1.13.0
[pip3] torch-tb-profiler==0.4.0
[pip3] torchvision==0.14.0
[pip3] opencv==4.6.0
[conda] blas 1.0 mkl
[conda] mkl 2021.4.0 haa95532_640
[conda] mkl-service 2.4.0 py38h2bbff1b_0
[conda] mkl_fft 1.3.1 py38h277e83a_0
[conda] mkl_random 1.2.2 py38hf11a4ad_0
[conda] numpy 1.23.0 pypi_0 pypi
[conda] numpy-base 1.23.5 py38h4da318b_0
[conda] torch 1.13.0 pypi_0 pypi
[conda] torch-tb-profiler 0.4.0 pypi_0 pypi
[conda] torchvision 0.14.0 pypi_0 pypi
Repository: godot
Issue: Breakpoint and large stack variables
Labels: bug,topic:core,topic:editor,usability

### Godot version

v4.0.rc3.official [7e79aead9]

### System information

Windows 10, 32GB ram, Intel Core i7-4770K CPU @ 3.50GHz

### Issue description

Hi
I'm not sure this is the correct forum but…
I found a inconvenient while debugging and having large stack variables. 
I have an image (480x480p) and a PackedByteArray[921600]
And when I have a breakpoint that are trigged, the stack variable inspector do handle that ok.
But if i restart (F5) the application, then more memory, about 1.2GB, more are used each time according to the windows Task Manager.
Sometimes it seems that Godot are going on a garbage collection and freezes, cursor turns into the rotating circle, for about a minute, returning most of the memory. 
Pressing "STOP" (F8) does not return the memory.
Closing Godot then takes about a minute while the memory are returned to Windows 
Windows 10 w 16GB ram, Godot 4.0.rc3

### Steps to reproduce

[CrashTestDummie.zip](https://github.com/godotengine/godot/files/10808781/CrashTestDummie.zip)
Have a breakpoint on line 92
Start the task manager and monitor Godots memory usage while: 
Run the attached project (hop that's what's needed)
:    Klick on the [Lets Break ! ]-button
:    Run again
Repeat

### Minimal reproduction project

[CrashTestDummie.zip](https://github.com/godotengine/godot/files/10808802/CrashTestDummie.zip)
Not really minimal :-D
Repository: node
Issue: `Cannot redefine property` when accessing properties of freezed global
Labels: confirmed-bug

### Version

19.3.0

### Platform

Darwin * 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64    

### Subsystem

_No response_

### What steps will reproduce the bug?

Run `node` and enter
`Object.freeze(global);console.log(AbortController)`
or 
`Object.freeze(global);console.log(MessageChannel)`

### How often does it reproduce? Is there a required condition?

since v19.3 

### What is the expected behavior?

No error, just like for v19.2

### What do you see instead?

```
Welcome to Node.js v19.3.0.
Type ".help" for more information.
> Object.freeze(global);console.log(MessageChannel)
Uncaught TypeError: Cannot redefine property: MessageChannel
    at defineProperty (<anonymous>)
    at set MessageChannel (node:internal/util:511:7)
    at get MessageChannel (node:internal/util:525:9)
```

### Additional information

_No response_
Repository: go
Issue: encoding/json: show nested fields path if DisallowUnknownFields leads to an error
Labels: NeedsInvestigation

Hello, Go community!

### Problem

I tried to utilize the `DisallowUnknownFields` option for `json.Decoder` and faced a problem. It is not possible get the path of the problematic field from the error.

Example:

The structure
```go
type Credentials struct {
	BasicAuth struct {
		Username string `json:"username"`
		Password string `json:"password"`
	} `json:"basic_auth"`
	BearerToken string `json:"bearer_token"`
}
```
and the following config
```json
{
  "basic_auth": {
    "unknown_token": "test"
  },
  "unknown_token": "test"
}
```
on decoding will throw an error `json: unknown field "unknown_token"`, yet it is not clear exactly which field caused it.

https://go.dev/play/p/zzLCOBn3AI8

If the config is a little, it is fine to find the field, but it is not suitable to validate cumbersome configs.

### Proposal

Decoder already has all the info. The only thing left is to return it to a user.

The following block
https://github.com/golang/go/blob/06b67591e7861d813e94fa76434af9c778d81cf5/src/encoding/json/decode.go#L747-L749

should be rewritten like this

```go
} else if d.disallowUnknownFields {
        d.errorContext.FieldStack = append(d.errorContext.FieldStack, string(key))
        d.saveError(fmt.Errorf("json: unknown field %q", strings.Join(d.errorContext.FieldStack, ".")))
}
```
or (to avoid Join)
```go
} else if d.disallowUnknownFields {
    errMsg := fmt.Sprintf("json: unknown field %q", key)
    if len(d.errorContext.FieldStack) > 0 {
        errMsg += fmt.Sprintf(" in context %q", d.errorContext.FieldStack)
    }
    d.saveError(fmt.Errorf(errMsg))
}
```