sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Compiling files can write almost empty useless(?) rlib files
Labels: C-cleanup,A-linkage,T-compiler

Reproduce:
1. Setup some tracking machinery (ETW on windows, for example)
2. compile `fn main(){}` with `rustc empty.rs -Clto=yes` (lto flag needed, without it files didn't created. Maybe other flags will work too)
3. Files like `libminiz_oxide-9633500de6d1ff03.rlib.temp-archive-7378fd5.a` will be created in temp directory, later moved to `libminiz_oxide-9633500de6d1ff03.rlib`. They will be deleted later.

Those files will be 8 bytes long (header only without content, i guess).

`members` here will be empty, but files still written:
https://github.com/rust-lang/rust/blob/cad92b4c979760b088ffd18e6c89801668c944f2/compiler/rustc_codegen_llvm/src/back/archive.rs#L402-L409

This can be refactored to skip writing this files if members empty.

tested on 02-05-23 x86_64-pc-windows-msvc nightly

@rustbot label: +T-compiler +A-linkage +C-cleanup
Repository: material-ui
Issue: [docs]  Allow selecting text in Default theme viewer
Labels: docs,enhancement

### Duplicates

- [X] I have searched the existing issues

### Related page

https://mui.com/material-ui/customization/default-theme/

### Kind of issue

Other

### Issue description

I would like to be able to copy values (or keys) from Default theme viewer, but I can't.

### Context 🔦

n/a
Repository: terminal
Issue: Window repetedly minimizes and focuses itself right after back from sleep
Labels: Help Wanted,Issue-Bug,Product-Terminal,Area-Windowing

### Windows Terminal version

1.16.10262.0

### Windows build number

10.0.22621.0

### Other Software

_No response_

### Steps to reproduce

This happens infrequently. But always right as I come back to the PC and unlock it. Haven't been able to determine if there is anything specific that triggers it.

### Expected Behavior

That the window maintains the previous state

### Actual Behavior

The window rapidly and repetedly minimizes and "unminimizes" itself, no matter what other window was in focus
Repository: rust
Issue: Tracking Issue for AVX512 intrinsics
Labels: O-x86_64,T-libs-api,C-tracking-issue,O-x86_32

Feature gate: `#![feature(stdarch_x86_avx512)]`

This is a tracking issue for the AVX-512 (and related extensions) intrinsics in `core::arch`.

### Public API

This feature covers all of the intrinsics from the following features:

 - `avx512bf16`
 - `avx512bitalg`
 - `avx512bw`
 - `avx512cd`
 - `avx512f`
 - `avx512ifma`
 - `avx512vbmi`
 - `avx512vbmi2`
 - `avx512vnni`
 - `avx512vpopcntdq`
 - `gfni`
 - `vaes`
 - `vpclmulqdq`

#### VEX variants
 - `avxifma`
 - `avxneconvert`
 - `avxvnni`
 - `avxvnniint16`
 - `avxvnniint8`

### Implementation History
- https://github.com/rust-lang/stdarch/pull/1486
- https://github.com/rust-lang/rust/pull/121088
- https://github.com/rust-lang/rust/pull/125498
- https://github.com/rust-lang/rust/pull/126617

### Steps

- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

### Unresolved Questions and Other Concerns

- ~~https://github.com/rust-lang/stdarch/issues/1533~~
- (blocking) How will we handle AVX10?
- (blocking) https://github.com/rust-lang/rust/issues/130365

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: rust
Issue: Tracking Issue for Intel Restricted Transactional Memory intrinsics
Labels: O-x86_64,T-libs-api,C-tracking-issue,O-x86_32

Feature gate: `#![feature(stdarch_x86_rtm)]`

This is a tracking issue for x86 RTM intrinsics in stdarch.

<!--
Include a short description of the feature.
-->

### Public API

This feature covers all of the intrinsics from the following features:
- `rtm`

### Steps / History

- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: rust
Issue: rustdoc: copy version number when click
Labels: T-rustdoc,A-rustdoc-ui,A-rustdoc-js

Just a small suggestion, adding an option, when click on the version, version number got copied, it's easier for people to paste into Cargo.toml. 

![image](https://user-images.githubusercontent.com/42113313/233541794-e0bf0f00-99d5-4f9c-bd92-e1ef3c8cf7a2.png)
Repository: ant-design
Issue: Datepicker is not using custom dateFormat from locale
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-datepicker-bug-jfgdb2?file=/index.js)

### Steps to reproduce

Wrap DatePicker in ConfigProvider with locale and dateFormat for DatePicker set.  
Select a date in the DatePicker.


### What is expected?

The date is formatted with the format specified in the locale.

### What is actually happening?

The date is formatted with the default format.

| Environment | Info |
| --- | --- |
| antd | 5.4.6 |
| React | 9.6.2 |
| System | macOS 13.3.1 |
| Browser | Chrome 112.0.5615.137 |

---
I need to set the format of the date displayed based on the locale as I have multiple locales. I have tested modifying other values in the locale object and it worked as expected. Only modifying the dateFormat seems not to be working.  
Other issues show a solution by setting the format in the DatePicker to "L" but this is a fix using moment and I want to stay with the now default dayjs.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: Tracking Issue for PowerPC arch intrinsics
Labels: T-libs-api,O-PowerPC,C-tracking-issue

Feature gate: `#![feature(stdarch_powerpc)]`

This is a tracking issue for the PowerPC intrinsics in `core::arch::{powerpc,powerpc64}`.

### Public API

Everything in `core::arch::{powerpc,powerpc64}}`.

### Steps / History

- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

### Unresolved Questions

- None yet.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: flutter
Issue: changes to Scrollbar(pressDuration) don't take effect
Labels: framework,f: scrolling,a: quality,P2,team-framework,triaged-framework

When we update the gesture detectors in Scrollbar, we don't update the gesture detector's duration, so changing the widget's pressDuration has no effect. Among other things this means hot reloading after changing a scrollbar's configuration does not correctly reflect the code.

To fix this we'd need to make `PrimaryPointerGestureRecognizer.deadline` mutable.
Repository: flutter
Issue: Add a `flutter test` flag to pause the test on exit
Labels: c: new feature,tool,c: proposal,P2,team-tool,triaged-tool

`flutter test` has a `--start-paused` flag that can be passed to pause the test on start and output a vm service URI for the test. This is useful for debugging a test with DevTools for example. 

Sometimes there is also a need to pause the test on exit to inspect the end state (one example is to inspect the memory of the test isolate to track down leaks). There is a service extension to pause the test isolate after tests: `ext.test.pauseAfterTests`, but currently no flutter test flag to set its value. Some internal tools call this service extension after connecting to the test isolate's vm service, but it would be nice if this could also be accessed from CLI.

@christopherfujino
Repository: rust
Issue: Tracking Issue for _MM_SHUFFLE
Labels: O-x86_64,T-libs-api,C-tracking-issue,O-x86_32

Feature gate: `#![feature(stdarch_x86_mm_shuffle)]`

This is a tracking issue for the `_MM_SHUFFLE` function in `core::arch::x86`.

### Public API

```rust
// core::arch::{x86, x86_64}

pub const fn _MM_SHUFFLE(z: u32, y: u32, x: u32, w: u32) -> i32 {
    ((z << 6) | (y << 4) | (x << 2) | w) as i32
}
```

### Steps / History

- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilization PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- [ ] Concerns about the return type: https://github.com/rust-lang/stdarch/issues/522

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: pytorch
Issue: [ONNX] Opset 18 support for TorchScript exporter
Labels: module: onnx,triaged

* Modified ONNX Ops
  - [ ] Reduce ops. E.g., https://onnx.ai/onnx/operators/text_diff_ReduceMax_13_18.html#l-onnx-op-reducemax-d13-18
  - [ ] Pad. https://onnx.ai/onnx/operators/text_diff_Pad_13_18.html#l-onnx-op-pad-d13-18
  - [ ] Resize. https://onnx.ai/onnx/operators/text_diff_Resize_13_18.html#l-onnx-op-resize-d13-18
  - [ ] ScatterElements, ScatterND. Native reduction mode https://onnx.ai/onnx/operators/text_diff_ScatterElements_16_18.html#l-onnx-op-scatterelements-d16-18
  - [ ] Split. New attribute `num_outputs`. https://onnx.ai/onnx/operators/text_diff_Split_13_18.html#l-onnx-op-split-d13-18

* New ONNX Ops
  - [ ] CenterCropPad
  - [ ] Col2Im
  - [ ] Mish
  - [ ] BitwiseAnd, BitwiseNot, BitwiseOr, BitwiseXor
  - [ ] GroupNormalization
Repository: electron
Issue: [Feature Request]: add `getSourceById` method to `desktopCapturer`
Labels: enhancement :sparkles:,component/desktopcapturer

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

If I know window ID and I want to refresh thumbnail for one source, I have to loop all windows, because there is currently one one method that returns all windows.

### Proposed Solution

-

### Alternatives Considered

I would like to avoid looping through return object of `getSources` method.

### Additional Information

_No response_
Repository: material-ui
Issue: tooltip persists at (0, 0) when element reloads
Labels: bug 🐛,component: tooltip

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Sometimes when I reload my screen while a tooltip is displayed, the tooltip comes unglued from the element it decorates and jumps to the top left corner of my screen. Presumably this is happening when the element is removed from the DOM and replaced with a similar one.

I'm [attempting to reproduce this in CodeSandbox](https://codesandbox.io/s/hopeful-grothendieck-nnqf0q) but so far without success. Locally it occurs when my tooltip is rendered inside a third-party datagrid component, and it's been difficult to reproduce without the full stack. But maybe someone has a quick answer here for how it might be fixed.

### Current behavior 😯

When I reload data (in a specific way the presumably removes the tooltipped element from the DOM) the tooltip jumps to the top left corner of the screen, while a second tooltip appears where the first one was (i.e., in the expected location). The screen now shows two identical tooltips, one in the top left corner unconnected to the original element.

Here's what that looks like in the DOM:

![bad-tooltips](https://user-images.githubusercontent.com/8271372/235997766-7e16270b-edf5-49c9-8d60-5d9e8dc44f48.png)


### Expected behavior 🤔

The tooltip should go away if the element it's connected to disappears (at least, I think that's what's happening).

### Context 🔦

I have a [DevExtreme DataGrid](https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxDataGrid/) component, one column of which has a tooltip in it. When I reload the data in the grid, something happens to the underlying element and the tooltip jumps to the top left corner of the screen.

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```

  System:
    OS: Linux 5.15 Linux Mint 21 (Vanessa)
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 4.71 GB / 15.32 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 3.2.4 - ~/.yarn/bin/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Managers:
    Cargo: 1.51.0 - ~/.cargo/bin/cargo
    pip3: 22.0.2 - /usr/bin/pip3
  Utilities:
    CMake: 3.22.1 - /usr/bin/cmake
    Make: 4.3 - /usr/bin/make
    GCC: 11.3.0 - /usr/bin/gcc
    Git: 2.34.1 - /usr/bin/git
    Ninja: 1.10.1 - /usr/bin/ninja
    FFmpeg: 4.4.2 - /usr/bin/ffmpeg
  Virtualization:
    Docker: 23.0.5 - /usr/bin/docker
  IDEs:
    Nano: 6.2 - /usr/bin/nano
    Vim: 0.10.0 - /usr/bin/vim
  Languages:
    Bash: 5.1.16 - /usr/bin/bash
    Perl: 5.34.0 - /usr/bin/perl
    Protoc: 3.17.0 - /usr/local/bin/protoc
    Python3: 3.10.6 - /usr/bin/python3
  Databases:
  Browsers:
    Chromium: 112.0.5615.165
    Firefox: 112.0.2
  Monorepos:
    Yarn Workspaces: 3.2.4
    Lerna: 5.6.2

```
</details>
Repository: ui
Issue: Allow CLI to change name of Component
Labels: area: roadmap,area: shadcn

### Summary 
Similarly to being able to choose the `dir` for the installation. It would be helpful to change the name of the component.

`npx shadcn-ui add dialog` 

![image](https://user-images.githubusercontent.com/14193159/236011921-75fc92a5-ff5a-48fd-a708-2ccd3530d624.png)

**Adding to an existing project I already had a similarly named component and it just overwrote the file entirely as stated** 

### Suggested Approach
Add another prompt similar to asking for 'dir' but for the component name.

It would: 
- Prompt for Component Name
- Name the folder appropriately
- Rename the internal Generated Component to the entered name
   - If you chose "Modal" it would Modal.tsx
   - Component Names would be ModalDescription, ModalTitle, ModalFooter, Modal...
- Update the Exports to the new names

This all can be done manually once installed but would be neat out of the box!

Thanks for your hard work :)
Repository: material-ui
Issue: Multiverse Timeline?
Labels: new feature,component: timeline

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

The timeline component is awesome, but could it support the concept of a multiverse?

That is, multiple timelines branching off a single starting timeline?

This could be useful for things like trying to visualize multiple possible outcomes, demonstrating git branching, and more.



### Examples 🌈

Not really a great example, but here's an image from the show "Loki" which sort-of demonstrates this idea:
http://fishstreamtv.com/wp-content/uploads/2021/06/loki-timeline-branches-700x300.jpg



### Motivation 🔦

This would be useful for things like visualizing multiple outcomes.

Obviously this is just a fun idea, and feel free to close if not useful!
Repository: godot
Issue: `Attempt to disconnect a nonexistent connection from '@ConfirmationDialog@16952:<ConfirmationDialog#1125499591109>'. Signal: 'confirmed', callable: 'Delegate::Invoke'` (and similar) errors when closing editor after building C# project
Labels: bug,topic:editor,topic:dotnet

### Godot version

v4.1.dev2

### System information

Windows

### Issue description

Closing the editor after building a C# project prints these errors:

```
ERROR: Attempt to disconnect a nonexistent connection from '@ConfirmationDialog@16952:<ConfirmationDialog#1125499591109>'. Signal: 'confirmed', callable: 'Delegate::Invoke'.
   at: (core\object\object.cpp:1353)
ERROR: Attempt to disconnect a nonexistent connection from '<VBoxContainer#1125902244315>'. Signal: 'ready', callable: 'Delegate::Invoke'.
   at: (core\object\object.cpp:1353)
ERROR: Attempt to disconnect a nonexistent connection from '@Button@16961:<Button#1126405560822>'. Signal: 'pressed', callable: 'Delegate::Invoke'.
   at: (core\object\object.cpp:1353)
ERROR: Attempt to disconnect a nonexistent connection from '@PopupMenu@16960:<PopupMenu#1126036462051>'. Signal: 'id_pressed', callable: 'Delegate::Invoke'.
   at: (core\object\object.cpp:1353)
ERROR: Attempt to disconnect a nonexistent connection from '<EditorSettings#-9223372008903932771>'. Signal: 'settings_changed', callable: 'Delegate::Invoke'.
   at: (core\object\object.cpp:1353)
```

### Causes and possible fixes

Reloading the managed assemblies causes the hash of `ManagedCallable` instances to change, corrupting the hash map of signals and causing these issues on cleanup.

https://github.com/godotengine/godot/pull/75533 prevents the GodotTools assembly from being reloaded and thus prevents these errors in particular, but these errors will still trigger when using custom editor plugins.

### Steps to reproduce

1. Take any C# project (the project must have the solution, but no C# code is required)
2. Rebuild the solution
3. Exit the editor

### Minimal reproduction project

It's an empty project: [Test_1.zip](https://github.com/godotengine/godot/files/11390457/Test_1.zip)
Repository: next.js
Issue: Regression with 404 page
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: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000
    Binaries:
      Node: 16.19.0
      npm: 8.19.3
      Yarn: N/A
      pnpm: N/A
    Relevant packages:
      next: 13.3.5-canary.6
      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)

404 page

### Link to the code that reproduces this issue

https://github.com/frattaro/next-404-repro

### To Reproduce

1. npm i
2. npm run dev
3. click the http://localhost:3000/
4. see default 404 page (should be custom 404 page)

### Describe the Bug

After 13.2.5-canary.27 (that is, it started breaking on 13.2.5-canary.28), loading the 404 page shows the default 404 page instead of the custom 404 page.

### Expected Behavior

The custom 404 page should be showing.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: pytorch
Issue: Add support for aten::tril_indices for MPS backend 
Labels: feature,triaged,module: linear algebra,module: mps

### 🐛 Describe the bug

First time contributors are welcome! 🙂
Add support for 'aten::tril_indices' for MPS backend. Generic support for adding operations to MPS backend is captured here: https://github.com/pytorch/pytorch/wiki/MPS-Backend#adding-op-for-mps-backend

### Versions

N/A

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano @kulinseth @albanD @malfet @DenisVieriu97 @razarmehr @abhudev
Repository: rust
Issue: Trait implementation implies trait bounds for associated types but not for GAT associated types
Labels: C-bug,A-implied-bounds,A-GATs

As always, I want to thank you for implementing GATs and to preemptively apologize for using them to implement Haskell Brain nonsense. With that out of the way, I tried this code:

```rust

trait Requirement {
}

trait Super 
where Self::Assoc: Requirement
{
    type Assoc;
}

trait Sub: Super 
  where <Self as Super>::Assoc: Requirement {
    
}

// 'Super' implies Assoc: Requirement, compiles
fn compiles1<X: Super>(x: X) {}
// 'Sub' implies Assoc: Requirement, compiles
fn compiles2<X: Sub>(x: X) {}


enum Token{}


trait SuperGAT
where Self::Assoc<Token>: Requirement
{
    type Assoc<X>;
}

trait SubGAT: SuperGAT
  where <Self as SuperGAT>::Assoc<Token>: Requirement {
    
}

// 'SuperGAT' should imply Assoc<Token>: Requirement, but it doesn't compile:
// error[E0277]: the trait bound `<X as SuperGAT>::Assoc<Token>: Requirement` is not satisfied
fn doesnt_compile_gat_1<X: SuperGAT>(x: X) {}
// 'SubGAT' should imply Assoc<Token>: Requirement, but it doesn't compile:
// error[E0277]: the trait bound `<X as SuperGAT>::Assoc<Token>: Requirement` is not satisfied
fn doesnt_compile_gat_2<X: SubGAT>(x: X) {}

```

I expected to see `SuperGAT` and `SubGAT` imply that the associated type implements `Requirement` as with `Super` and `Sub`.

Instead, I get E027 for both cases noting that that requirement is not satisfied. This occurs on both stable and nightly.

### Meta

stable: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=721bd4fe341ce41dc74f72700fe2bacf
nightly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=c1b755aa1af7f2fc6b0f26e465a91a9f
Repository: youtube-dl
Issue: Add issue #30839 to issue template checklist
Labels: request

## Checklist
- [x] I'm reporting a feature request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've searched the bugtracker for similar feature requests including closed ones

## Description
Include issue #30839 in new issue template checklist.
I discovered it while verifying that I'd not duplicate an existing (eventually closed) issue.
As I know where the 'new issue' button is, I didn't pay attention to the existing issues and overlooked the pinned one, despite it's convenience.