sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Rustc compile time astronomically long
Labels: I-compiletime,T-compiler,C-bug,E-needs-mcve

As the title say, this is not actually a compiler crash, but I didn't see an issue template that was better fitting.

I first came across this bug a couple months ago but just tested it on the latest nightly compiler and it still exists.  
Unfortunately the codebase where I encountered this is rather large and due to the nature of this bug I'm not sure how to reduce this, however the actual change needed to trigger the bug is fairly small so I hope this is ok.

Essentially the problem is that the code compiles in a reasonable amount of time (just seconds in incremental builds), but with one small change in the code (which should be functionally equivalent no less) the compile time suddenly becomes really long.  
I don't really know how long because I never let it run to completion, but it must be at least in the order of hours, maybe much longer than that.

The last commit in this branch contains the code changes required to trigger the bug: https://github.com/Artentus/Pipelined-CPU-Emu/tree/compile-time-bug  
Without that commit it compiles just fine, with it the compiler gets stuck.

And in case it matters: I'm compiling on and for Windows. Haven't tested on other platforms. Command used was simply `cargo build`.
Repository: TypeScript
Issue: JS declaration emit invalid when typedefs present and `module.exports` is assigned a non-identifier
Labels: Bug

Reported at https://github.com/microsoft/TypeScript/issues/46011#issuecomment-1748749050

## Repro steps

Run declaration emit on this JS

```js
/** @typedef {string} S */

/** @type {any} */
module.exports = "";
```

## Expected behavior

```ts
declare const _exports: any;
export = _exports;
declare namespace _exports {
    export { S };
}
type S = string;
```

The declaration file is error-free.

## Actual behavior

```ts
declare const _exports: any;
export = _exports;
export type S = string;
```

The declaration file errors with `An export assignment cannot be used in a module with other exported elements.`

## Additional info

Declaration emit works as expected if `module.exports` is assigned to an identifier that doesn’t necessitate the `_exports` temp variable synthesis:

```js
/** @typedef {string} S */

/** @type {any} */
const x = "";
module.exports = x;
```

produces:

```ts
export = x;
/** @typedef {string} S */
/** @type {any} */
declare const x: any;
declare namespace x {
    export { S };
}
type S = string;
```
Repository: TypeScript
Issue: Mixin class with type param seems to lose information about default type parameter, causing "base constructors must all have the same return type"
Labels: Bug,Help Wanted

### 🔎 Search Terms

Mixin class with type param seems to lose information about default type parameter, causing "base constructors must all have the same return type"

Related:
https://github.com/microsoft/TypeScript/issues/37142
https://github.com/microsoft/TypeScript/issues/40110

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about mixins and type parameters

### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=5.2.2#code/CYUwxgNghgTiAEAXAngBwQYQPYDsDOiMArmIljACpogA8FAfPALzxQBGBMUp8OIA7vAAUASmaMKAbgBQ0sLgLwAQrHYQQAMWbw6KvAhAAPRCBzA88bPkIkylajQDybAFbhE9ekL0gAXPAofMSZGAG9peEio9k5uRHhIKDwLFS42dRpU7U4ASxwAc0YjEzMUpIRwqKqotlghQ39cgrFQ+DhEIhgceENJeABfCOrB6raQDq7lVXSQGX6ZOWhkqeB4YtNzKbT1DSFnN1IWwcWkiwBxLCxV9dKttU0913cRGibC+FD+oA

### 💻 Code

```ts
declare type ConstructorType<T> = abstract new () => T;

const BarableF = <TBase extends ConstructorType<Object>>(Base: TBase) => {
      abstract class Barable<Bar = string> extends Base {
          bar(x: string) { return x; }
      }
      return Barable;
};

class Bad extends BarableF(Object) {}

class Good extends BarableF(Object)<string> {}
```


### 🙁 Actual behavior

The line `class Bad extends BarableF(Object) {}` fails because "Base constructors must all have the same return type". If I hover over `BarableF`, I see the type
```ts
const BarableF: <ObjectConstructor>(Base: ObjectConstructor) => ((abstract new <**Bar**>() => BarableF<ObjectConstructor>.Barable<Bar>) & {
    ...;
}) & ObjectConstructor
```

where notably `Bar` has lost its default type param, which might be causing the issue.

### 🙂 Expected behavior

I would expect `Bad` to type-check without a problem, because in the `Good` example below it, you see that providing a type argument that is the same as the default for the type param causes things to work.

### Additional information about the issue

_No response_
Repository: kubernetes
Issue: E2E Service Test assumes node name matches node's hostname
Labels: sig/network,sig/testing,kind/failing-test,triage/accepted

### Which jobs are failing?

https://testgrid.k8s.io/kops-misc#e2e-kops-do-calico-dns-none

### Which tests are failing?

Kubernetes e2e suite.[It] [sig-network] Services should respect internalTrafficPolicy=Local Pod and Node, to Pod (hostNetwork: true)

### Since when has it been failing?

For as long as we have retention history on the e2e job

### Testgrid link

https://testgrid.k8s.io/kops-misc#e2e-kops-do-calico-dns-none

### Reason for failure (if possible)

This test creates an "echo hostname" server pod with hostNetwork. It then verifies that the pod's hostname matches the name of the node it runs on:

https://github.com/kubernetes/kubernetes/blob/3bfa9482fca675803c456ecbe4252b6525c9d021/test/e2e/network/service.go#L2665-L2670

These names match in the most common cluster configurations in GCP and AWS, but isn't a documented requirement. In other cluster configurations this test will fail due to this invalid assumption even though the behavior the test intends to verify is working as expected.

### Anything else we need to know?

Looking at a cluster-info dump of the cluster being tested, [the nodes](https://storage.googleapis.com/kubernetes-jenkins/logs/e2e-kops-do-calico-dns-none/1709688569984978944/artifacts/cluster-info/nodes.yaml) have a Hostname address that is the fully qualified name reported on the host and in the test's unexpected response.

I think it would be more appropriate for this test to compare against a node's unqualified Hostname address if one exists, otherwise falling back to the node name. Similar nodes on [AWS](https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kops/15996/pull-kops-e2e-k8s-aws-calico/1710078083949662208/artifacts/cluster-info/nodes.yaml) and [GCP](https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kops/15996/pull-kops-e2e-k8s-gce-cilium/1710078084008382464/artifacts/cluster-info/nodes.yaml) have Hostname addresses that (when unqualified) match their node names, so this test would continue to pass on these clusters.

Note that this test failure is on a Kops e2e job and relates to https://github.com/kubernetes/kubernetes/issues/120989

### Relevant SIG(s)

/sig testing
/sig network
Repository: godot
Issue: Android: Opening the Audio panel makes the editor expand beyond the screen
Labels: bug,topic:editor,topic:audio,topic:gui

### Godot version

4.2.dev5

### System information

Android 10

### Issue description

Opening the Audio panel makes the editor expand beyond the screen. Since the buttons are now off screen you can't close the Audio panel.

### Steps to reproduce

Just click the Audio panel.

Note: If this doesn't work, try changing the editor scale (`interface/editor/display_scale`).

### Minimal reproduction project

Create a brand new project.
Repository: electron
Issue: [Feature Request]: macOS Sonoma widgets
Labels: enhancement :sparkles:,platform/macOS,macos sonoma

### 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

It would be great to be able to build macOS Sonoma widgets with Electron.

### Proposed Solution

Some additional API to build widgets for Sonoma.

### Alternatives Considered

n/a

### Additional Information

_No response_
Repository: neovim
Issue: bug: `expr`-based folds not set by `vim.cmd.edit`
Labels: performance,folds

### Problem

Migrating from https://github.com/nvim-treesitter/nvim-treesitter/issues/4754 as it doesn't require tree-sitter.

Workaround: typing `:set foldmethod=expr` on the command line triggers the folds to be created.

### Steps to reproduce

`repro.lua`:
```lua
vim.o.foldmethod = "expr"
vim.o.foldexpr = "getline(v:lnum)"

vim.keymap.set("i", "<C-x>", function()
  vim.cmd.edit("foldexpr.txt")
end)
```

`foldexpr.txt`:
```txt
0
1
2
3
```

Will have folds:
```sh
nvim --clean -u repro.lua foldexpr.txt
```

Will not have folds (press `<C-x>` in insert mode):
```sh
nvim --clean -u repro.lua
```

### Expected behavior

Folds should be enabled.

### Neovim version (nvim -v)

f67517bba

### Vim (not Nvim) behaves the same?

I tried `imap <C-x> <C-o>:e repro.lua<CR>` but that doesn't reproduce in Neovim nor Vim.

### Operating system/version

macos 13.4.1

### Terminal name/version

kitty 0.28.1

### $TERM environment variable

xterm-kitty

### Installation

build from repo
Repository: transformers
Issue: [New Model] Retrieval-based Voice Conversion
Labels: New model

### Model description

Type: Audio-to-Audio
Framework: Pytorch / ONNX
License: MIT


### Open source status

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

### Provide useful links for the implementation

Source Code: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI
Pretrained Models by Author: https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main
Models in the wild: https://www.weights.gg/
Repository: frp
Issue: tunnel grpc using h2c
Labels: proposal

### Describe the feature request

It would be great if FRP can tunnel GRPC service with the http plugin.

With a grpc without tls you would get an error as GRPC required http2. Looks like you need to instruct the proxy to do h2c (for example traefik suggests this https://doc.traefik.io/traefik/user-guides/grpc/).

I can use tcp plugun but I would like to use http's vhost/domain  option for simplicity.

### Describe alternatives you've considered

_No response_

### Affected area

- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [ ] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [X] Client Plugin
- [X] Server Plugin
- [ ] Extensions
- [ ] Others
Repository: angular
Issue: $localize: Missing documentation for placeholders in template
Labels: area: i18n

### Describe the problem that you experienced

I'm using the runtime translation via loadTranslation() before the app initializes.
But this topic isn't described in a detailed way in the documentation.

I've found a solution for defining a placeholder value in the html like so:
`<ng-container i18n="@@ID">{{ 'CUSTOM PLACEHOLDER VALUE' // i18n(ph="PH") }}</ng-container>`
But this solution isn't described in the official documentation.

Furthermore I don't find any information how to set a placeholder in a attribute. How is it possible?
What would the example above look like for the e.g. placeholder attribute?
`<inputi18n-placeholder="@@ID" i18n="<what to do here?"/>`

### Enter the URL of the topic with the problem

_No response_

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: puppeteer
Issue: Screencast fails with prerendering
Labels: feature

We need to refactor screencast to allow for more general session management.
Repository: transformers
Issue: BLIVA
Labels: New model

### Model description

BLIVA: A Simple Multimodal LLM for Better Handling of Text-rich Visual Questions

BLIVA performs VQA tasks. It is an augmented version of InstructBLIP with Visual Assistant. It incorporates the query embeddings from InstructBLIP and also directly projects encoded patch embeddings into the LLM.

"Empirical evidence demonstrates that our model, BLIVA, significantly enhances performance in processing text-rich VQA benchmarks (up to 17.76\% in OCR-VQA benchmark) and in undertaking typical VQA benchmarks (up to 7.9\% in Visual Spatial Reasoning benchmark), comparing to our baseline InstructBLIP."


### Open source status

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

### Provide useful links for the implementation

Official repo: https://github.com/mlpc-ucsd/BLIVA
Paper: https://arxiv.org/abs/2308.09936
Repository: next.js
Issue: Using next/image adds `blurwidth` and `blurheight` attributes 
Labels: bug,Image (next/image)

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/zen-surf-33vcdj?file=%2Fpages%2Findex.tsx%3A2%2C46

### To Reproduce

1. Open code sandbox 
2. Check out the DOM and find the `img` element.
3. See how it has unsupported attributes
4. Check out build console where React is warning about it

<img width="888" alt="CleanShot 2023-10-06 at 10 53 03@2x" src="https://github.com/vercel/next.js/assets/11071/80de4b35-5861-44a4-b2f5-25676304ec2b">


### Current vs. Expected behavior

There should be no unsupported attributes added to the IMG tag

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Whatever CodeSandbox uses. I'm on Mac M1 but it doesn't matter since it's not related to the environment but React code.
```


### Which area(s) are affected? (Select all that apply)

Image optimization (next/image, next/legacy/image)

### Additional context

It's been around since next@12 initial next/image I believe.
Repository: stable-diffusion-webui
Issue: [Bug]: hiding tabs can result in unworkable buttons 
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?

i hide some tabs and now i cant use sd and since buttons dont work , i cant revert back to normal ui , so im stuck with it. just the reload button works

### Steps to reproduce the problem

1. Go to settings
2. Press hide tabs except img2img in user interface
3. reload and then use the UI


### What should have happened?

buttons sholudve been in working condition

### Sysinfo

Traceback (most recent call last):
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1312, in postprocess_data
    block = self.blocks[output_id]
KeyError: 2176

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1314, in postprocess_data
    raise InvalidBlockError(
gradio.exceptions.InvalidBlockError: Output component with id 2176 used in click() event not found in this gr.Blocks context. You are allowed to nest gr.Blocks contexts, but there must be a gr.Blocks context that contains all components and events.


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

Microsoft Edge

### Console logs

```Shell
Traceback (most recent call last):
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1312, in postprocess_data
    block = self.blocks[output_id]
KeyError: 2176

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "D:\New folder\sd\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1314, in postprocess_data
    raise InvalidBlockError(
gradio.exceptions.InvalidBlockError: Output component with id 2176 used in click() event not found in this gr.Blocks context. You are allowed to nest gr.Blocks contexts, but there must be a gr.Blocks context that contains all components and events.
```


### Additional information

nothing else
Repository: node
Issue: createWriteStream has problems in a CIFS mount path with node 20.x.x and node 18.18.0
Labels: duplicate,fs

### Version

18.18.0 and 20.x.x

### Platform

Linux iob-node20 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64 GNU/Linux

### Subsystem

iobroker

### What steps will reproduce the bug?

writestream into a cifs share 

### How often does it reproduce? Is there a required condition?

Error always occurs

### What is the expected behavior? Why is that the expected behavior?

The file created with writestream should be written to the remote file system (CIFS share), but it is only 16Kb in size and corrupted

### What do you see instead?

A corrupted file with 16Kb instead of about 5-10 Mb

### Additional information

Hello all,

I hope you can help here... We use the package among other things for backups in the [iobroker project](https://github.com/ioBroker/ioBroker) and have with current node 20 versions and from node 18.18.0 problems with many users who write their backup directly with a CIFS mount on the Fritzbox NAS.
Currently, I am only aware of problems in connection with Fitzbox and CIFS.

It seems that all attempts since Node 18.18.0 have problems with "fs.createWriteStream"  or with .pipe.
Locally on the system there are no problems. The error only occurs when the backup is to be written to the CIFS mount point.

Here is an excerpt of how the create of the backup is constructed.

```
return new Promise((resolve, reject) => {
            const f = fs.createWriteStream(name);
            f.on('finish', () => {
                this.removeTempBackupDir();
                resolve(path.normalize(name));
            });

            f.on('error', e => {
                console.error(`host.${this.hostname} Cannot pack directory ${this.tmpDir}/backup: ${e.message}`);
                reject(new IoBrokerError({ message: e.message, code: EXIT_CODES.CANNOT_GZIP_DIRECTORY }));
            });

            try {
                tar.create({ gzip: true, cwd: `${this.tmpDir}/` }, ['backup']).pipe(f);
            } catch (e) {
                console.error(`host.${this.hostname} Cannot pack directory ${this.tmpDir}/backup: ${e.message}`);
                reject(new IoBrokerError({ message: e.message, code: EXIT_CODES.CANNOT_GZIP_DIRECTORY }));
            }
        });
```
Repository: vscode
Issue: Merge editor should not trigger on save events (such as formatting)
Labels: feature-request,merge-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. -->

When you're done resolving conflicts inside the merge editor and click the button "Complete Merge", this button does the following: save & git add ${file}.

I have in user settings "format on save" and "format on modified lines" enabled.

The end result is that after the merge is resolved, a bunch of lines are formatted and the staged file is full of style-only changes. Even if after the merge resolution the end result should have been a non-modified file.

I propose to think if the merge editor should trigger the "on-save" actions in general or should only the "format on save" action be skipped.

The expected result is that upon completing the merge the final file is in the state that it was last seen inside the merge editor.
Repository: PowerToys
Issue: Mouse Without Borders can't login to another PC
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.74.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

I have used the standalone MWB from Microsoft Garage by Truong Do for a few years and I use it to remotely log into another laptop and fully control it from my desktop PC. I have both MWB instances running in service mode and I do not need to touch the laptop at all except initially to press the power button in the morning. This is especially useful because the keyboard on the laptop is faulty.

I cannot use the MWB that is included with PowerToys to do the same thing. I have told both instances to run as admin and in service mode but I cannot remotely log into the laptop. MWB on my desktop does not connect to MWB on the laptop until the laptop has already logged in. It appears that perhaps the MWB service does not start until after the user has logged in, unlike the standalone MWB installation.

So, even though I am running PowerToys for other features, I have to disable MWB in PowerToys so that I can run the standalone version. Please fix the service to be accessible from startup of the system so that I can remotely log into my laptop.

Regards, Mike.

### ✔️ Expected Behavior

As described above, I wish to be able to log into a remote laptop from initial startup of the system.

### ❌ Actual Behavior

At the bootup log in screen on the remote laptop, there is no MWB connection from my desktop to my laptop, meaning that I cannot remotely log in.

### Other Software

_No response_
Repository: excalidraw
Issue: continue Hebrew translation
Labels: translation

Hi,

can i help with translating some of the missing words to hebrew ? i see that only 72% was translated so far.
Repository: material-ui
Issue: [popper][select] When using a multi-select (textfield) inside popper with flip enabled, select popper will move around
Labels: component: select,component: Popper

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example:
https://codesandbox.io/s/cool-water-jch2cx?file=/src/App.tsx

Steps:

1. Have a popper with modifier "flip" enabled
2. Put a multiple select inside said popper


### Current behavior 😯


When items are selected/deselected the select menu moves away from its anchor element

### Expected behavior 🤔

The select menu should stay attached to the anchor element

### Context 🔦

_No response_

### Your environment 🌎

_No response_