sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: pytorch
Issue: `torch.utils.data.Sampler`: constructor's `data_source` argument should be removed
Labels: triaged,module: deprecation,module: data

PyTorch 2.2.2 has [these lines](https://github.com/pytorch/pytorch/blob/v2.2.2/torch/utils/data/sampler.py#L60-L65) (introduced in #97338) for `torch.utils.data.Sampler`:

```python
def __init__(self, data_source: Optional[Sized] = None) -> None:
    if data_source is not None:
        import warnings

        warnings.warn("`data_source` argument is not used and will be removed in 2.2.0."
                      "You may still have custom implementation that utilizes it.")
```

cc @VitalyFedyunin @ejguan @dzhulgakov
Repository: three.js
Issue: Error EXR: `deepscanline`. warning: `deepImageState`, `idmanifest`.
Labels: Loaders

### Description

warning:
THREE.EXRLoader: Skipped unknown header attribute type 'deepImageState'. [here](https://openexr.com/en/latest/TechnicalIntroduction.html#multi-part-and-deep-data-attributes).
THREE.EXRLoader: Skipped unknown header attribute type 'idmanifest'.

Error message:
type: "deepscanline" [here](https://openexr.com/en/latest/TechnicalIntroduction.html#multi-part-and-deep-data-attributes)
Error: THREE.EXRLoader: Provided file is currently unsupported.

### Reproduction steps

1. warning deepImageState
2. warning idmanifest
3. Error deepscanline


### Code

```js
type : "deepscanline"
```


### Live example

- [gainmap-creator.monogrid.com](https://gainmap-creator.monogrid.com/)


### Screenshots

chrome:
![Untitled29](https://github.com/mrdoob/three.js/assets/156521906/0ec77fa7-e666-4cd0-9a68-494900d60992)

mrv2:
![Untitled30](https://github.com/mrdoob/three.js/assets/156521906/45e83967-d522-40db-b14f-22fa72a00b32)


### Version

r164

### Device

Desktop

### Browser

Chrome

### OS

Windows
Repository: ui
Issue: [bug]: checkbox icon is not centered when checked
Labels: bug

### Describe the bug

Checkbox icon is not centered when the checkbox is checked. 

For example,
<img width="317" alt="checkbox-before" src="https://github.com/shadcn-ui/ui/assets/59118406/d0522ddb-cc12-4567-96d9-c37ae317b0ac">


### Affected component/components

Checkbox

### How to reproduce

1. Create a checkbox component
2. Click on it

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Safari, Chromium
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: pytorch
Issue: Dogfooding new custom ops API
Labels: triaged,module: custom-operators

Rewrite existing torch.library usages in:
- [ ] ao https://github.com/pytorch/pytorch/blob/main/torch/ao/quantization/fx/_decomposed.py @zou3519 
- [ ] prims (https://github.com/pytorch/pytorch/tree/main/torch/_prims) @williamwen42 
- [ ] spmd (https://github.com/pytorch/pytorch/blob/main/torch/distributed/_spmd/data_parallel.py)
- [ ] https://github.com/pytorch-labs/ao
- [ ] fbgemm_gpu
Repository: godot
Issue: Error when using SubViewport with CanvasLayer to render text. Signal 'child_order_changed' error
Labels: bug,topic:core,confirmed

### Tested versions

v4.2.1.stable.official [b09f793f5] and 4.3 dev5 and on commit 29b3d9e9e538f0aa8effc8ad8bf19a2915292a89

### System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Ti Laptop GPU (NVIDIA; 31.0.15.4626) - AMD Ryzen 5 5600H with Radeon Graphics (12 Threads)

### Issue description

Error happens when trying to render a text label into a viewport to use it in a shader. Then also (in my game project) happens `VK_ERROR_DEVICE_LOST` error.
In MRP it's:
```
E 0:00:01:0526   main.gd:4 @ _on_button_pressed(): Attempt to disconnect a nonexistent connection from 'main:<Node3D#26860324038>'. Signal: 'child_order_changed', callable: 'Viewport::canvas_parent_mark_dirty'.
  <C++ Error>    Condition "!s->slot_map.has(*p_callable.get_base_comparator())" is true. Returning: false
  <C++ Source>   core/object/object.cpp:1420 @ _disconnect()
  <Stack Trace>  main.gd:4 @ _on_button_pressed()
```
It my game it's:
```
USER ERROR: Attempt to disconnect a nonexistent connection from 'main_v_3_part_2:<Node3D#51136955613>'. Signal: 'child_order_changed', callable: 'Viewport::canvas_parent_mark_dirty'.
   at: _disconnect (core/object/object.cpp:1420)
USER ERROR: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST
   at: swap_buffers (drivers/vulkan/vulkan_context.cpp:2536)
USER ERROR: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST
   at: swap_buffers (drivers/vulkan/vulkan_context.cpp:2536)
USER ERROR: Vulkan: Did not create swapchain successfully. Error code: VK_NOT_READY
   at: prepare_buffers (drivers/vulkan/vulkan_context.cpp:2459)
USER ERROR: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST
   at: swap_buffers (drivers/vulkan/vulkan_context.cpp:2536)
USER ERROR: Vulkan: Did not create swapchain successfully. Error code: VK_NOT_READY
   at: prepare_buffers (drivers/vulkan/vulkan_context.cpp:2459)
USER ERROR: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST
... then trying to close the game and editor with task manager all this time
USER ERROR: Condition "p_elem->_root != this" is true.
   at: remove (./core/templates/self_list.h:80)
USER ERROR: Condition "p_elem->_root != this" is true.
   at: remove (./core/templates/self_list.h:80)
```

### Steps to reproduce

Start main scene and press a button "Next level". See the debugger for the error.

### Minimal reproduction project (MRP)

[SubViewportError.zip](https://github.com/godotengine/godot/files/14841738/SubViewportError.zip)
Repository: vscode
Issue: Disassembly window cannot be themed.
Labels: feature-request,debug


Type: <b>Feature Request</b>

Currently the disassembly window cannot be themed, so it just uses while text.

It would be good to be able to theme this window, preferably via a assembly language so it can vary by the target processor.

VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:


<!-- generated by issue reporter -->
Repository: godot
Issue: Exported dictionaries have their keys sorted alphabetically
Labels: discussion,topic:core,documentation

### Tested versions

- Tested with Godot 4.1.2 and Godot 4.3 dev 5

### System information

Godot v4.3.dev5.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Ti (NVIDIA; 31.0.15.4592) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

### Issue description

When an exported dictionary is created, they keys which are set in the editor, are sorted at runtime, which is incredibly frustrating for my use case.

### Steps to reproduce

- Create an exported dictionary (`@export var dict := {}`)
- Add some values into the dictionary through the editor. - ({"b": 0, "c": 1, "a": 2})
- Print the dictionary, it will output: "{"a": 2, "b": 0, "c": 1}"

### Minimal reproduction project (MRP)

N/A
Repository: flutter
Issue: Ensure engine Android tests run on major version breaks.
Labels: P2,team-engine,triaged-engine

This is prompted by the issue caused due to https://github.com/flutter/engine/pull/51839.

Among other things, Flutter enables different subsystems and features based on the version of Android the application is running on.

For complete test coverage, the naive approach is to obviously test on all Android versions and ideally on a device. This isn’t always feasible. This issue attempts to list the major version breaks. For a reasonable amount of confidence in the test setup, tests must run on each of the following versions.

As an aside, some of the features are optional. I’m not averse to backing them out if the test burden is too high. But that is a separate conversation.

|Version|Features|
|-|-|
|24|Choreographer on 64 bit platforms|
|26|AHB Acquisition|
|29|AHB Creation, Surface Controls/Transactions, Setting AHB contents in Surface Controls (via Transactions), Choreographer on 32 bit platforms too.|
|31|AHB IDs for LRU Image Caches|

Missing testing on one of the version breaks risks causing issues like https://github.com/flutter/engine/pull/51839 which was due to a missing test run on API version >= 29 but less than 31.

In fact as I write this, I am unsure if the right version check is used when the AHB is imported as an external texture. If the check for AHB creation is instead used, versions 26-29 will unnecessarily lose AHB external texture support.
Repository: next.js
Issue: Usage of next/dynamic with ssr: false and loading component to opt out from SSR to CSR causes jibrish with path exposed in page source.
Labels: bug,Lazy Loading

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/muddy-wind-3zgcfr?file=%2Fapp%2Fpage.tsx%3A15%2C39

### To Reproduce

1. Use dynamic function with ssr flag false and loading component imported from next/dyanmic.
2. Use view page source to see the bug.

### Current vs. Expected behavior

![Screenshot 2024-04-03 003504](https://github.com/vercel/next.js/assets/75922945/32d23a93-59ae-453f-9112-f9422f9b7bdb)

Expected to not see this in page source.

### Provide environment information

```bash
OS Win 11 Pro;
Next Version : 14.1.4;
React Version : 18
```


### Which area(s) are affected? (Select all that apply)

App Router, Dynamic imports (next/dynamic)

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local), Other (Deployed)

### Additional context

_No response_
Repository: vscode
Issue: OSC hyperlinks are not restored properly on reconnect
Labels: bug,terminal-links

Repro:

Run

```
printf '\e]8;;http://github.com\e\\http scheme\e]8;;\e\n'
printf '\e]8;;https://github.com\e\\https scheme\e]8;;\e\n'
printf '\e]8;;file///Users/tyriar/dev/microsoft/vscode\e\\file scheme\e]8;;\e\n'
printf '\e]8;;vscode://file/Users/tyriar/dev/microsoft/vscode/package.json:10\e\\vscode scheme (with line number)\e]8;;\e\n'
printf '\e]8;;vscode-insiders://file/Users/tyriar/dev/microsoft/vscode/package.json:10\e\\vscode-insiders scheme (with line number)\e]8;;\e\n'
printf '\e]8;;mailto:foo@bar.com\e\\mailto scheme\e]8;;\e\n'
```

Reload the window

🐛 the links show up but don't work.
Repository: kubernetes
Issue: Jsonpath impl does not support left match regex
Labels: sig/api-machinery,kind/feature,sig/cli,triage/accepted

### What would you like to be added?

I would like to have support for `=~` in jsonpath filter expressions.

e.g.

Matches a [Golang regular expression](https://github.com/google/re2/wiki/Syntax). For example, `k get pods -o jsonpath='{.items[?(@.metadata.name =~ /^node.*/i)].metadata.name}'` matches items whose description starts with node (case-insensitive).


### Why is this needed?

When many resources exist in the system being able to match by regex can greatly simplify locating the desired resources.

Note: I am willing to contribute an implementation.
Repository: vscode
Issue: introduce automated tests for notebook rendered notebook output
Labels: debt,notebook-output

possibly with playwright?
Repository: PowerToys
Issue: Find My Mouse
Labels: Issue-Bug,Needs-Triage,Area-App Compat,Product-Mouse Utilities

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

See expected behavior below.

### ✔️ Expected Behavior

I frequently use Wi-Fi design software called AI Pro by Ekahau.  For some reason, it is the only software that seems to defeat the Find My Mouse utility.  No matter how it's configured (shake or control keys) it doesn't work with this software, and I'd really like for it to.

Thanks.

### ❌ Actual Behavior

I frequently use Wi-Fi design software called AI Pro by Ekahau.  For some reason, it is the only software that seems to defeat the Find My Mouse utility.  No matter how it's configured (shake or control keys) it doesn't work with this software, and I'd really like for it to.

Thanks.

### Other Software

Ekahau AI Pro (aka Ekahau Connect) version 11.6.0.1
Repository: vscode
Issue: Add new color for php tag and laravel blade keywords in the default dark+ theme 
Labels: feature-request,php

"editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "name": "PHP Opening Tag",
        "scope": [
          "punctuation.section.embedded.begin.php" // Scope for opening tag
        ],
        "settings": {
          "foreground": "#008cff" // Replace with the desired color code
        }
      },
      {
        "name": "PHP Closing Tag",
        "scope": [
          "punctuation.section.embedded.end.php" // Scope for closing tag
        ],
        "settings": {
          "foreground": "#008cff" // Replace with the desired color code
        }
      },
      {
        "scope": "keyword.blade",
        "settings": {
          "foreground": "#008cff" // Change this to the color you want
        }
      }
    ]
  },

Here is the code for the color change. I belive many php developers will love this code.  

Thank :)
Repository: go
Issue: x/pkgsite: links can point at source code that may not match what is served by the module proxy
Labels: NeedsFix,pkgsite

### What is the URL of the page with the issue?

https://pkg.go.dev/gonih.org/xzpoc

### What is your user agent?

Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

### Screenshot

(not super relevant)

![Screenshot 2024-04-02 at 23-06-42 xzpoc package - gonih org_xzpoc - Go Packages](https://github.com/golang/go/assets/720787/b3e3f87e-6b00-49ab-8eed-209478f4c81d)


### What did you do?

I served a `go-import` meta-tag with vcs `mod` pointing at a personal proxy from `gonih.org/xzpoc`. The proxy is serving a valid, but "malicious" version of a package that contains a `Greeting` function returning the string "gotcha pwned".

It also contains a `go-import` meta-tag with vcs `git` pointing at [a GitHub repo](https://github.com/Merovius/xzpoc/) containing a module with the same package and API, but returning the string `Hello world!` from that function. The `v1.0.0.info` file points at the "clean" `v1.0.0` tag and commit, even though the code contained in the `v1.0.0.zip` file does not match the content of that repository.

[Here is a playground link](https://go.dev/play/p/B2ujldFptfn) to demonstrate what happens when that package is imported.

For your convenience, this is what is served by my "infected" proxy:

[xzpoc.tar.gz](https://github.com/golang/go/files/14843867/xzpoc.tar.gz)

### What did you see happen?

`pkg.go.dev` links to the "clean" version in the repository, both from the side-bar and in the individual links for the exported API, giving the impression that the module, when imported, will contain the "clean" code. But if anyone actually depends on that module, they will download and use the "malicious" version (regardless of whether they use the public mirror, or bypass it with `GOPROXY=direct`, as both will download the module from my "infected" proxy). It is only by inspecting the downloaded code, that they can detect the "malware".

### What did you expect to see?

Some kind of indication, that the code in the repository does not accurately reflect the cached version.
Repository: TypeScript
Issue: Design Meeting Notes, 4/2/2024
Labels: Design Notes

# Set `configurable: true` in Downlevel Targets

https://github.com/microsoft/TypeScript/pull/57784

* Jest, the testing framework, wants to be able to mock out modules in a way that works for basic CJS modules, but not for ESM-style CJS modules.
* Why wouldn't we do this?
    * esbuild, the bundler, does not do this.
    * ESM itself doesn't allow this, so it's strange to change our emit to do this.
* Jest and the like mock ESM in a different mechanism though.
* What does Babel do?
    * Babel makes them non-configurable.
* Same with Rollup.
* So we'd be the only one doing this?
    * Yes.
* Why does Jest need them to be configurable? Can't they just return a new object?
    * Possibly? Some stuff around objects. Maybe Jest should use a Proxy?
* Switching your TS emitter from TS itself to esbuild or Babel or whatever would break your tests. Kind of a footgun!
* If every other compiler works this way, it seems like testing libraries should find an alternative solution.
* Conclusion: we will not make this change.

# Remove `FlowNode` and `FlowFlags` from Public API

https://github.com/microsoft/TypeScript/pull/58036

* We want to change the control flow graph (https://github.com/microsoft/TypeScript/pull/57977) but it would *kind of* be a breaking change.
* We expose these types publicly, but nobody has a public way to access them without unsafely access the internals.
* Only known use is utilities for visualizing the control flow graph.
* Do it.

# Types as Configuration

https://github.com/microsoft/TypeScript/pull/58025

* This is only viable because we now have enough literal-i-ness in the type system.
* One of the concerns we have is that the semantics of TypeScript change from version-to-version.
* This is in an uncanny valley of "a superset of JSON but also a subset of valid TypeScript".
* But broadly, there's a good way to reframe what we want: imports and spreads.
* Let's find a way to bring that into `tsconfig.json`.
Repository: go
Issue: x/net/http2: add Framer.WriteDataN method
Labels: Proposal,Proposal-Accepted

### Proposal Details

To write a data frame, the `x/net/http2.Framer` requires the data contents to first be accumulated into a single contiguous buffer.  However, this is not always possible without requiring a copy.  See [this real-life example](https://github.com/grpc/grpc-go/blob/4ec8307379292dcbe4105ef65d6f9d1f569aa87d/internal/transport/controlbuf.go#L950-L956) where a copy is required in order to construct the frame's contents before writing it.  If we had an API like the following, this copy could be avoided:

```go
func (f *Framer) WriteDataN(streamID uint32, endStream bool, data [][]byte) error
```

The implementation could be as simple as changing the append [here](https://cs.opensource.google/go/x/net/+/refs/tags/v0.22.0:http2/frame.go;l=701) into an append that loops over the slice of buffers instead of just the one buffer.

The gRPC code could then be changed to remove the copy and pass the 5-byte header buffer and the data buffer directly to the new method.

I'd also love to discuss other changes that could make the HTTP/2 Framer even more zero-copy friendly by transferring buffer ownership instead of using `io.Reader`/`io.Writer`, but the proposal above would be a simple step that provides real incremental performance.

cc @PapaCharlie, @atollena
Repository: pytorch
Issue: [CI] vec_test_all tests are not run in CI
Labels: module: cpu,module: ci,triaged,module: regression,module: intel

### 🐛 Describe the bug

I've tried to compile and run `./bin/vec_test_all_types_[DEFAULT|AVX2|AXV512]` and noticed that it fails right now

I.e. on x86 cpu:
```
  FAILED  ] 2 tests, listed below:
[  FAILED  ] Arithmetics/2.Division, where TypeParam = at::vec::AVX2::Vectorized<c10::complex<float> >
[  FAILED  ] Arithmetics/3.Division, where TypeParam = at::vec::AVX2::Vectorized<c10::complex<double> >
```
Which is due to use of reciprocal instruction rather than a proper division for complex, see 
https://github.com/pytorch/pytorch/blob/12e36dc1dfada63d81086cc1074f2294f6d04ed6/aten/src/ATen/cpu/vec/vec256/vec256_complex_float.h#L377

And on ARM VecConverTests are failing as conversion between negative floats and unsigned integers are undefined
```
[ RUN      ] VecConvertTests/0.Convert
/Users/malfet/git/pytorch/pytorch/aten/src/ATen/test/vec_test_all_types.cpp:1667: Failure
Expected equality of these values:
  y[i]
    Which is: '\xFF' (255)
  ref[i]
    Which is: '\x12' (18)
Failure Details:
Test Seed to reproduce: 685912250847958
[  FAILED  ] VecConvertTests/0.Convert, where TypeParam = at::vec::DEFAULT::Vectorized<float> (0 ms)
```

### Versions

CI

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @seemethere @pytorch/pytorch-dev-infra @frank-wei
Repository: rust
Issue: Tracking Issue for `context_ext`
Labels: T-libs-api,C-tracking-issue,A-async-await,AsyncAwait-Triaged,WG-async,F-context_ext

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(context_ext)]`

This is a tracking issue for allowing `std::task::Context` to carry arbitrary extension data.

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
impl Context {
    fn ext(&mut self) -> &mut dyn Any;
}

impl ContextBuilder {
    fn ext(self, data: &'a mut dyn Any) -> Self;

    fn from(cx: &'a mut Context<'_>) -> Self;
    fn waker(self, waker: &'a Waker) -> Self;
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Implementation: #123203
- [ ] 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.
-->

- [passing refs maybe unsound](https://github.com/rust-lang/rust/pull/123203#issuecomment-2028638528)
- [too complex](https://github.com/rust-lang/rust/pull/123203#issuecomment-2032461923)
- This causes Context to no longer be UnwindSafe, which may be a breaking change: https://github.com/rust-lang/rust/issues/125193 (the issue is closed but there still is a FIXME in the code)

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html