sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: Terminal does not update synchronously after nvim_chan_send
Labels: enhancement,terminal,has:workaround

### Problem

When using a terminal from `nvim_open_term`, the terminal buffer does not update synchronously after sending data to it via `nvim_chan_send`. I'm looking for a way to get the rendered terminal output, but it doesn't happen immediately and there does not appear to be any callback or autocmd I can hook into. It would be great if the buffer were updated immediately, or if there were some sort of `flush` command I could run to ensure that the buffer is updated before continuing.

### Steps to reproduce

```lua
local bufnr = vim.api.nvim_create_buf(false, true)
vim.api.nvim_win_set_buf(0, bufnr)
local term_id = vim.api.nvim_open_term(bufnr, {})
vim.api.nvim_chan_send(term_id, "hello\r\nworld\r\n")
vim.print("lines after chan_send", vim.api.nvim_buf_get_lines(bufnr, 0, 2, false))
vim.defer_fn(function()
  vim.print("lines after short delay", vim.api.nvim_buf_get_lines(bufnr, 0, 2, false))
end, 5)
vim.defer_fn(function()
  vim.print("lines after longer delay", vim.api.nvim_buf_get_lines(bufnr, 0, 2, false))
end, 10)
```

### Expected behavior

I expect that the first line of output should display the "hello world" text.

actual output:
```
lines after chan_send
{ "", "" }
lines after short delay
{ "", "" }
lines after longer delay
{ "hello", "world" }
```

### Neovim version (nvim -v)

NVIM v0.9.0

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

macOS 13.3.1

### Terminal name/version

alacritty 0.12.0

### $TERM environment variable

alacritty

### Installation

homebrew
Repository: stable-diffusion-webui
Issue: [Bug]: The API interface cannot be opened：This enables the api which can be reviewed at http://127.0.0.1:7860/docs (or whever the URL is + /docs) The basic ones I'm interested in are these two.
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

The official way to open the API interface cannot be opened.

### Steps to reproduce the problem

The official way to open the API interface cannot be opened.


### What should have happened?

The official way to open the API interface cannot be opened.

### Commit where the problem happens

https://discord.gg/feTf9x3ZSB

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

_No response_

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

_No response_

### Command Line Arguments

```Shell
none
```


### List of extensions

none

### Console logs

```Shell
none
```


### Additional information

_No response_
Repository: rust
Issue: RPIT type parameters not checked for well-formedness
Labels: A-impl-trait,C-bug,T-types

<!--
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
trait Test<T: ?Sized> {}

impl<T: ?Sized, U: ?Sized> Test<U> for T {}

fn foo() -> impl Test<(str, str)> {
    ()
}

fn main() {
    foo();
}
```

I expected to see this happen: Compile error, `(str, str)` is not well-formed

Instead, this happened: Compiles and runs successfully
### 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.71.0-nightly (1a6ae3d69 2023-04-27)
binary: rustc
commit-hash: 1a6ae3d692cfb52b21d0f45ba50b659486e53d6c
commit-date: 2023-04-27
host: x86_64-unknown-linux-gnu
release: 1.71.0-nightly
LLVM version: 16.0.2
```

@rustbot label +A-impl-trait +T-types
Repository: ant-design
Issue: Uzbek language support
Labels: help wanted,Inactive,unconfirmed

### What problem does this feature solve?

It seems like Ant Design doesn't have Uzbek language support. If I'am not mistaken are you planning to develop it soon? 

### What does the proposed API look like?

-

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: opencv
Issue: cv2.findChessboardCorners() running endlessly on certain images
Labels: optimization,category: calib3d,confirmed

### System Information

OpenCV python version: both 3.4.18.65 and 4.7.0.72
Operating System / Platform: Ubuntu 18.04 and macOS 13.2.1
Python version: 3.7

### Detailed description

I’m using OpenCV to find chessboard corners on an image using `cv2.findChessboardCorners()`. It can happen that an image is passed into the function that is of bad quality or almost completely black. When this happens, the function just endlessly runs, trying to find the corners.

I initially opened a [topic on the OpenCV forum](https://forum.opencv.org/t/cv2-findchessboardcorners-running-endlessly-on-certain-images/12972), but there it was confirmed that it's a bug, hence why I'm also opening a bug report here.

This issue is a problem to me because it completely blocks my application when this happens.

### Steps to reproduce

This issue can easily be reproduced.

You can use the code snippet below:
```
import cv2

test = cv2.imread("/path/to/the/image/27-04-2023_14-13-21_494.png")

found, corners = cv2.findChessboardCorners(image=test,
                                           patternSize=(26, 16),
                                           flags=(cv2.CALIB_CB_FAST_CHECK +
                                                  cv2.CALIB_CB_ADAPTIVE_THRESH +
                                                  cv2.CALIB_CB_NORMALIZE_IMAGE))

print(found)
```

in combination with the image below:
![27-04-2023_14-13-21_494](https://user-images.githubusercontent.com/4648081/235081868-f46a588b-08f4-436e-973b-71fdca8e4480.png)

You will notice that the function just endlessly keeps running and consuming resources (I’ve let it run for +15 minutes already).

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: excalidraw
Issue: small `q` looks too much like a
Labels: Virgil

![image](https://user-images.githubusercontent.com/86198810/235083004-8a8c38ff-9dfe-4368-9682-eb6348bf3a25.png)


The q here looks too much like a
Repository: excalidraw
Issue: Khmer Translation
Labels: translation

Hello, can you open a Khmer section on your Crowdin page? I want to help with Khmer translation. It'd be nice to have some Khmer translation on  the project
Repository: godot
Issue: Missing automatic document generation in the case of nested inheritance
Labels: bug,topic:gdscript,topic:editor,needs testing

### Godot version

4.02

### System information

Android

### Issue description

As the title says，When you create several nested classes (and within the project, there are no references to them), the document generation does not seem to be configured correctly.

### Steps to reproduce

Create a new project and create several nested classes within the project. At this point, close all the nested class gd script files you are editing in the editor (make sure they are named, and make sure they are closed in the built-in gd script editor), then. Exit the engine, turn on the engine again, and open the project. At this point, you won't find these classes in the help list.
The purpose of the help document is to make it easier for us to find the information of the script we have written.But because of this bug, we had to open the scripts we had written over and over again and save them so that we could find them in the help list.
This makes the help list seem meaningless.

### Minimal reproduction project

null
Repository: rust
Issue: Add a lint to warn about `&(dyn … + Send)`
Labels: A-diagnostics,T-compiler,E-help-wanted,C-feature-request

Adding `+ Send` to a `&dyn` is a useless restriction. E.g. `&(dyn Any + Send)` implicitly converts to `&dyn Any`, but not the other way around, even though it'd be sound to just transmute it in both directions, since the `Send` isn't of any use for (shared) references.

It'd be nice if we suggest removing the `+ Send` for `&(dyn … + Send)`.

See https://github.com/rust-lang/rust/pull/110799

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"john-h-k"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: tauri
Issue: [bug] window.find can not work
Labels: type: feature request,status: upstream

### Describe the bug

window.find can not work in tauri, but in chrome, window.find can work

### Reproduction

_No response_

### Expected behavior

_No response_

### Platform and versions

```text
$ tauri info

Environment
  › OS: Mac OS 12.3.1 X64
  › Node.js: 14.18.0
  › npm: 6.14.15
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.2
  › cargo: 1.68.2
  › Rust toolchain: stable-x86_64-apple-darwin 

Packages
  › @tauri-apps/cli [NPM]: 1.2.1
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:1420/
  › framework: Vue.js

App directory structure
  ├─ dist
  ├─ node_modules
  ├─ public
  ├─ .github
  ├─ src-tauri
  ├─ .git
  └─ src
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: godot
Issue: AnimationTree: only one animation library works at the same time
Labels: bug,topic:animation

### Godot version

4.0.2

### System information

Pop_OS

### Issue description

When using an AnimationTree with an AnimationPlayer that uses animation libraries, loading a new library breaks the playback of the animations from one of the libraries. This is despite both playing correctly in the AnimationPlayer.

### Steps to reproduce

Open the minimal reproduction project, then:
- See that the AnimationTree plays an animation correctly
- Disable the AnimationTree (set `active` to off)
- In AnimationPlayer, load the 2nd animation library (Animation -> Manage Animations -> Load Library -> open `melee_library.res`)
- In AnimationPlayer, note that animations from both sets play correctly
- Enable AnimationTree back
- Open the animation tree and change the animation being played
- Note that only one of the sets plays correctly now (note: in my main project the first set breaks, but in the reproduction project it's the other set that breaks. I can't tell what governs this)

Additionally:
- remove the *first* animation set from AnimationPlayer
- note that the 2nd animation set now plays correctly through AnimationTree

### Minimal reproduction project

[animtree_reproduction_project.zip](https://github.com/godotengine/godot/files/11352176/animtree_reproduction_project.zip)
Repository: pytorch
Issue: Interaction of torch.no_grad and torch.autocast context managers with torch.compile
Labels: triaged,topic: docs,oncall: pt2,compile-docs

### 🐛 Describe the bug

Originally discussed at:
https://discuss.pytorch.org/t/torch-compile-interaction-with-autocast-and-no-grad/178648/2?u=vadimkantorov

`Where should I put no_grad and autocast contexts? Inside the function that will be torch.compile’d? Or should I torch.compile first and then wrap the calls with autocast / no_grad? In theory knowing the autocast context and if we don’t need to save intermediate tensors can lead to stonger optimization and more aggressive inplace / economic memory placement`

I think this is an important question as during optimizing for best fp16 perf, e.g. inductor can pre-allocate smaller buffers and use inplace codegen if it knows that it's in no_grad. So the question is coming up naturally. @ezyang @albanD What are your current ideas on interaction of compilation with these important aspects: no_grad-ness and low_precision-ness? And how can we currently hint compilation for MAX brrr (in training) and smaller memory footprints (in inference) :) Also, if we keep using the compiled function in these contexts, it should not trigger a re-compilation every time

@bdhirsh in the original discuss thread:
`Today, if you try to torch.compile a module / function that internally uses autocast/no_grad context managers, dynamo will graph break on them.`

So I’d recommend putting them outside for now:
```python
@torch.compile
def f(args):
    ...

with torch.cuda.amp.autocast():
    out = f(...)

with torch.no_grad():
    out = f(...)
```
`I think we want to fix this though, and avoid graph breaking on these context managers. So longer term the answer is “it shouldn’t matter” - feel free to file an issue though!`

### Versions

N/A

cc @ezyang @bdhirsh @anijain2305 @chauhang @msaroufim @zou3519 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng @soumith @wconstab @ngimel @Xia-Weiwen @desertfire
Repository: node
Issue: Flaky test-net-write-fully-async-(hex-string|buffer)
Labels: net,s390,flaky-test,linux

### Test

test-net-write-fully-async-hex-string

### Platform

Linux s390x, Linux x64

### Console output

```console
not ok 2855 parallel/test-net-write-fully-async-hex-string
  ---
  duration_ms: 120090.59800
  severity: fail
  exitcode: -15
  stack: |-
    timeout
  ...
```


### Build links

- https://ci.nodejs.org/job/node-test-pull-request/51428/
- https://ci.nodejs.org/job/node-test-pull-request/51514/
- https://ci.nodejs.org/job/node-test-pull-request/51421/
- https://ci.nodejs.org/job/node-test-pull-request/51497/

### Additional information

These two are among the flakiest tests according to https://github.com/nodejs/reliability/issues/549 and previous reports. cc @nodejs/net
Repository: go
Issue: net/http: TestTransportRequestWriteRoundTrip failures
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "net/http" && log ~ `WARNING: DATA RACE` && log ~ `net/http_test.testServerExpect`
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/2874a65dbd2ea504af567bc14467c4f876fce033)):

    --- FAIL: TestTransportRequestWriteRoundTrip (0.00s)
        --- FAIL: TestTransportRequestWriteRoundTrip/h2 (0.36s)
            --- FAIL: TestTransportRequestWriteRoundTrip/h2/buffer,_length_-1 (0.05s)
                testing.go:1465: race detected during execution of test
            testing.go:1465: race detected during execution of test
        --- FAIL: TestTransportRequestWriteRoundTrip/h1 (0.40s)
            --- FAIL: TestTransportRequestWriteRoundTrip/h1/buffer,_length_-1 (0.04s)
                testing.go:1465: race detected during execution of test
            testing.go:1465: race detected during execution of test


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: next.js
Issue: Cannot find module 'next/dist/server/next-server.js'. Turborepo + VercelCLI
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: linux
      Arch: x64
      Version: #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023
    Binaries:
      Node: 16.15.1
      npm: 8.19.1
      Yarn: 1.22.19
      pnpm: 7.29.1
    Relevant packages:
      next: 13.3.1
      eslint-config-next: 13.2.4
      react: 18.2.0
      react-dom: 18.2.0

----------------- 

Vercel CLI 28.20.0
28.20.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

Turbopack (--turbo)

### Link to the code that reproduces this issue

https://github.com/MrDockal/nextjs-turbo-vercel-cli-issue

### To Reproduce

1. Clone the repo  https://github.com/MrDockal/nextjs-turbo-vercel-cli-issue
2. npx vercel build --token YOUR_VERCEL_TOKEN --cwd apps/web
3. npx vercel deploy --prebuilt --token YOUR_VERCEL_TOKEN --yes --cwd apps/web
4. Visit the `/lambda` page and you'll get 500. The root page `/` works

### Describe the Bug

Hello,
When I deploy a lambda function (page with getServerSideProps implemented) to Vercel using **Vercel CLI + Turborepo + NextJs**. The lambda throws an error: _**Cannot find module 'next/dist/server/next-server.js'**_ (it could similar to this issue https://github.com/vercel/next.js/discussions/39432)
There isn't **node_modules** folder at all
![image](https://user-images.githubusercontent.com/8297716/235138170-7365f8a0-5008-4719-985e-687fd99031c9.png)


I tried to deploy the same Nextjs app outside the Turborepo and it works. As you see there is **node_modules** folder with all required dependencies now
![image](https://user-images.githubusercontent.com/8297716/235138489-ae12123f-a26e-431f-922e-5257415e9dfc.png)

I don't know if this is an issue with Next, Turborepo or Vercel CLI itself.
Thank you

### Expected Behavior

I expect endpoint `/lambda` to return 200 with HTML code

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: go
Issue: net/http: TestTLSServer failures
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "net/http" && test == "TestTLSServer"
```

Issue created automatically to collect these failures.

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

    --- FAIL: TestTLSServer (0.00s)
        --- FAIL: TestTLSServer/h2 (0.05s)
            testing.go:1465: race detected during execution of test
        --- FAIL: TestTLSServer/https1 (0.07s)
            testing.go:1465: race detected during execution of test


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: kubernetes
Issue: rethink sets.List() / sets.Set.UnsortedList() naming?
Labels: sig/api-machinery,triage/accepted

Having played around with the new generics-based sets API a bit, I really dislike `sets.List()`.

The `List`/`UnsortedList` API always seemed a little bit weird to me, in that the "default" behavior (`List`) was to sort the output, and you had to explicitly specify if you didn't want that... Now with the generic version, the naming/behavior is even weirder... `UnsortedList` is now distinguishing itself from another method that doesn't actually exist, while `List` is now a helper function whose name doesn't really indicate how it helps. The names basically only make sense in the context of comparing them to the old API (which will presumably eventually go away).

So maybe:
- rename `x.UnsortedList()` to `x.Elements()`
- rename `sets.List(x)` to `sets.Sort(x)` or `sets.SortElements(x)` or `sets.SortedElements(x)`
?

cc @weilaaa @lavalamp @pohly
Repository: vscode
Issue: Ability to open a workspace with the profile that the workspace contains
Labels: feature-request,user-profiles

<!-- ⚠️⚠️ 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. -->
When learning about profiles and their relationship with workspaces, I was excited to think that this meant that we could have everything we needed in a repository to set up a fully working environment but this doesn't seem to be so simple ( unless I'm missing something).

When working as a team it would be good if everyone is working within an environment that is identical. 
This would mean that someone could open a workspace and have all the settings, extensions, launch configurations etc ready.

It seems that profiles are associated with workspaces but only for the individual computer user.

Whereas the other configurable parts are stored in json that can be committed to version control,  easily shared and automatically applied to a project ( workspace config, launch configs, linting configs etc) it seems that profile data is stored locally on the machine ( e.g. /Users/xxxx/Library/Application Support/Code/User/profiles/xxxx/settings.json ).

I have looked for how to store this in our repository, alongside our workspace configs, but can not seem to find this option.

I understand that I can export the configuration, in which case another developer could then manually import it, but this doesn't seem to be a sensible way of providing an isolated development environment configuration. This could get particularly frustrating when onboarding developers where we have multiple workspaces each with it's own profile configuration.


My use case is around a mono-repo config where we have groups of functionality ( FE, BE, APIs, libraries, etc ). We have different workspaces depending on which groups of projects we need access to. Workspaces works fine for this. We are able to set up our launch configs and most other things based on a per project or per workspace basis. We are missing the ability to have the extensions installed and enabled while switching between the workspaces, which I thought would be done through profiles.


Therefore, request for feature would be:
- have profile configuration saved alongside workspace json ( or embedded inside workspace json ) and be a part of the project filesystem so it can be shared and version controlled
- if a workspace has an associated profile present, then automatically apply that profile when loading the workspace.


Of course if I have missed anything and this is already possible then I would appreciate a pointer in the right direction but until seems that it can only be handled by installing external extensions.

Thanks
Phil
Repository: ant-design
Issue: Lag spike on Table component when reaching either end of horizontal scroll
Labels: Inactive,⚡️ Performance

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-table-horizontal-scroll-lag-spike-ekhguw?file=/index.js)

### Steps to reproduce

Create a table that has horizontal scroll enabled (`scroll={{x: 500, y: 1000}}`, for example) and wide enough content that horizontal scrolling is necessary. Use the horizontal scroll bar, there is a large lag spike when reach or leaving either end of the scroll range. The larger and more complex the table is the worse the issue is.

### What is expected?

The horizontal scroll should be smooth

### What is actually happening?

There is a large lag spike when the horizontal scroll hits either end

| Environment | Info |
| --- | --- |
| antd | 5.4.6 |
| React | 18.2.0 |
| System | Windows |
| Browser | Chrome |

---
The issue didn't exist on version 4.x.x. I put fixed columns on the left and right since they help make the issue easier to see, but their existence isn't needed for the problem to happen.

Here is a gif on the issue from the minimal reproduction: https://i.imgur.com/AvGynoh.gif

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: transformers
Issue: [New model] 🐸TTS advanced Text-to-Speech
Labels: New model

### Model description

🐸TTS is a library for advanced Text-to-Speech generation. It's built on the latest research, was designed to achieve the best trade-off among ease-of-training, speed and quality. 🐸TTS comes with pretrained models, tools for measuring dataset quality and already used in 20+ languages for products and research projects.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

GithHub repo: https://github.com/coqui-ai/TTS
Samples: http://erogol.com/ddc-samples/