sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Tracking Issue for cfg(target_has_atomic_load_store)
Labels: T-lang,C-tracking-issue,S-tracking-design-concerns

The feature gate for the issue is `#![feature(cfg_target_has_atomic)]`.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps

- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions

* [ ] Do we need a separate cfg for load/store operations, in combination with the existing `cfg(target_has_atomic = ...)`? (Or is cfg(accessible) enough?)
Repository: yt-dlp
Issue: Need help with embed-subs UNFORCED
Labels: enhancement,core:post-processor

### Checklist

- [X] I'm asking a question and **not** reporting a bug/feature request
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions including closed ones

### Question

yt-dlp is great! Thanks so much guys. I have a 2-part question about subs. The 2 parts are closely related.

PART 1

I have a command I use on sites which employ .m3u8 master and .vtt subs. The command is:

`yt-dlp "long m3u8 master link in quotes" -f best --remux-video mkv --convert-subs srt --embed-subs`

This single command works perfectly, and gives me embedded srt subs which are OFF by default (not forced), which is exactly what I want. But my command is a bit brute force and disk intensive. Leaving out minor steps, it seems to do 4 full disk writes of the video:

1. initial download
2. fix .ts in .mp4
3. remux to .mkv
4. embed srt subs

This is NOT a bug. I just wonder whether there's a more elegant way to get the same result in a single command, but with *fewer disk writes*. Thanks in advance for any suggestions.

PART 2

If I use this command,

`yt-dlp "long m3u8 master link in quotes" -f best --embed-subs`

I get an .mp4 with embedded subs in mov_text format but they are ON by default. Is there a way to modify this command so that subs are OFF? My research suggests that in .mp4 ffmpeg sets the subs flag to ON by default. Supposedly, this behavior can be changed, maybe with something like:

`--postprocessor-args "-default_mode infer_no_subs"`

I've read the yt-dlp docs, but couldn't quite get my head around the syntax or positioning for this particular use case. Any help would be appreciated.

The most frequent use case is for embedded subs to be optional rather than forced. It would be a great convenience to end users if your Subtitle Options could include:

--subs-forced
--subs-unforced

Thanks.

### Verbose log

_No response_
Repository: create-react-app
Issue: react-error-overlay@6.0.10 Error when hot update
Labels: needs triage,issue: bug report

Uncaught ReferenceError: process is not defined
    at Object.4043 (<anonymous>:2:13168)
    at r (<anonymous>:2:306599)
    at Object.8048 (<anonymous>:2:9496)
    at r (<anonymous>:2:306599)
    at Object.8641 (<anonymous>:2:1379)
    at r (<anonymous>:2:306599)
    at <anonymous>:2:315627
    at <anonymous>:2:324225
    at <anonymous>:2:324229
    at HTMLIFrameElement.e.onload (index.js:1:1)


1.npm install
2.npm run start
3.change some code
Repository: pytorch
Issue: Replace deprecated distutils package in torch/utils/tensorboard/__init__.py
Labels: oncall: visualization

### 🚀 The feature, motivation and pitch

My test logs are full of warnings like:

```
.venv/py310/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py:2
  .venv/py310/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py:2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.version import LooseVersion
```

### Alternatives

_No response_

### Additional context

Not urgent but would be nice to get rid of the warnings.
Repository: flutter
Issue: AppBar accessibility traversal order 
Labels: framework,f: material design,a: accessibility,P2,customer: castaway,team-design,triaged-design

Hello, 

When we use a SliverAppBar, we notice that the semantic order is defined in this way: Leading -> Title -> Actions -> Bottom -> FlexingSpace.
https://github.com/flutter/flutter/blob/ee0bbf4789fac99576c0bd249466a20a305af606/packages/flutter/lib/src/material/app_bar.dart#L1027
I think it could be useful to be able to modify this order, for example the Bottom at the end

Thanks for your help :)
Repository: terminal
Issue: Extra new line while using Telnet connection
Labels: Area-Output,Area-VT,Issue-Bug,Product-Terminal,Priority-2

### Windows Terminal version

1.11.34.71.0

### Windows build number

10.0.19043.1526

### Other Software

VMware® Workstation 16 Pro (version: 16.1.0 build-17198959)
EVE-NG Community edition (version: 2.0.3-112)

### Steps to reproduce

I use WT for network labs. I connect to nodes with a **Telnet** connection. And while I am inside the **CLI** of nodes and doing some stuff there. Exactly at this point when I press the **Enter key** to go to the new line. It gives me two new lines. It feels like I have pressed the key twice.
Instead of WT when I use _Solar-Putty_ this does not happen. Whereas I prefer to use WT and want it to work properly.

### Expected Behavior

It should give only one new line each time I press to the enter key

### Actual Behavior

It doubles the new line. Which is irritating.

In case you need more detail, the following virtual images are from vendors such as:

- Juniper: vMX Router:

![115066102-1a00ab80-9f00-11eb-90f5-c97000eb0a6a](https://user-images.githubusercontent.com/46714728/154232162-493ce4e7-b312-44c4-8b36-c2f6864c435a.png)

- Cisco: IOS Router:

![115066112-1ff68c80-9f00-11eb-9486-6c0bb91a3617](https://user-images.githubusercontent.com/46714728/154232195-6ec5681d-42cb-42e3-971e-f6013b3984ce.png)
Repository: flutter
Issue: Regarding Error Messages in Flutter
Labels: tool,c: proposal,a: error message,P3,team-tool,triaged-tool

I recently noticed that the flutter console shows the actual error messages above all the tracebacks. It would be good from the perspective of the developer if the actual error message appeared below all the tracebacks. It would also adhere to the Human Computer Interaction standards.
Repository: PowerToys
Issue: When a Grid is used in Fancyzones, allow snap to grid movement.
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

When a grid is used in Fancyzones, allow a window to be snapped to the top left of the zone that the top left of the window is in when it is dropped.

Also, allow this behavior for excluded apps, while not affecting their size.

This will require a new modifier key, and would only be active if the layout is grid based, not canvas.

### Scenario when this would be used?

Sometimes I need to move Windows, and would not like to paint that window into the new zones in order to maintain the window's size.

### Supporting information

_No response_
Repository: pytorch
Issue: `torch.svd_lowrank` should set the default value of `q` as `min(6, m, n)`
Labels: triaged,module: linear algebra

### 🐛 Describe the bug

`torch.svd_lowrank` should set the default value of `q` as `min(6, m, n)`, which is what `torch.pca_lowrank` does and makes more sense.

For example,
```python
import torch
A = torch.rand([8, 5], dtype=torch.float32)
torch.pca_lowrank(A)
# succeed
torch.svd_lowrank(A)
# AssertionError: (torch.Size([5, 5]), 6)
```
I think `6` is a slightly overestimated rank of `A` (as mentioned in doc) so `svd_lowrank` should succeed. Besides, the error message is not clear enough. I think `q = min(6, m, n)` makes more sense.


### Versions

pytorch: 1.10.1

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: PowerToys
Issue: Bring window to monitor
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

Bring a window to the current monitor (with the mouse) by middle click or a context menu item of the task bar.

### Scenario when this would be used?

I have monitors and a TV connected to a PC. I need an easy way to bring a window to TV just by using a mouse.
I cannot see monitors and TV simultaneously, so it is hard to move a window using a mouse.
I have to use a keyboard and both hands to press two buttons (win+arrow) multiple times which is inconvenient.
A better way would be just middle click on the window button on the task bar. A context menu item would work too.

### Supporting information

_No response_
Repository: storybook
Issue: Implement control for arrays
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
Array properties are supposed to be changed via an `Object` control in `storybook`. This might break code if no additional (`storybook`-only) checks are implemented. 

Example (not tested):
```Typescript
type ArrayMapperProps = {
    array?: string[];
};

const ArrayMapper: React.FC<ArrayMapperProps> = (props) => {
    return (<>{props.array && props.array.map(el => (<span key={el}>{el}</span>))}</>);
}; 
```

When first setting the property `array` in the controls, it automatically gets set to an object (`{}`), which breaks the code above. One is forced to add a check if the property really is an array. A change only made to prevent `storybook` from crashing the component:

```Typescript
   ...
   return (<>{props.array && Array.isArray(props.array) && props.array.map(el => (<span key={el}>{el}</span>))}</>);
   ...
```

Furthermore, the `object` control is not working well for arrays. However, according to https://storybook.js.org/docs/react/essentials/controls#annotation, there is no option for arrays.

**Describe the solution you'd like**
It would be very helpful and also feels natural to have a control for arrays which automatically gets set based on the type of the property (`string[] => array of strings`).

**Are you able to assist to bring the feature to reality?**
I have not further looked into the implementation yet.

`storybook` setup
```json
"@storybook/addon-actions": "^6.4.18",
"@storybook/addon-essentials": "^6.4.18",
"@storybook/addon-links": "^6.4.18",
"@storybook/builder-webpack5": "^6.4.18",
"@storybook/manager-webpack5": "^6.4.18",
"@storybook/react": "^6.4.18",
```
Repository: PowerToys
Issue: PowerToys Run enhancement or new PowerToy - quick switch
Labels: Idea-Enhancement,Product-PowerToys Run

### Description of the new feature / enhancement

Listary (https://www.listary.com/) has a very handy feature called Quick Switch, more of which can be seen here: https://www.listary.com/quick-switch.

It would be a great feature to have something behaving similar with Run.

### Scenario when this would be used?

Similar scenarios as with Listary use.

Personally I use it frequently when saving files, to switch the view in the Save dialog to the location that i want (it is usually open in a different explorer window).

### Supporting information

People tried all sorts of "replacements", but none seems to work quite well as the one in the original Listary: https://www.donationcoder.com/forum/index.php?topic=49630.0

https://www.autohotkey.com/boards/viewtopic.php?f=76&t=11069
Repository: vscode
Issue: Testing: Add scrollbar indicators for failing tests
Labels: feature-request,testing

<!-- ⚠️⚠️ 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. -->

The external test explorer UI extension had red markers in the editor scrollbar for failed tests. Now that I switched to the "native" test explorer they are not there and it turns out I was using them a lot.

![image](https://user-images.githubusercontent.com/1148112/154289728-991577c8-0379-4fd6-ae24-61f90cb7bf6d.png)

Screenshot from https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-jasmine-test-adapter
The little red marker in the scroll bar is what I am talking about
Repository: pytorch
Issue: Is the current behavior with addcmul and integer dtypes intended?
Labels: module: tests,triaged

### 🚀 The feature, motivation and pitch

What should the result of 
```
torch.addcmul(torch.ones(1, dtype=torch.int), torch.ones(1, dtype=torch.int), torch.ones(1, dtype=torch.int), value=2.4)
```
be?

Currently, it casts `value` to an integer if the tensors are of integral dtype.

The documentation perhaps seems to imply that `value` is not allowed to be an integer ? https://pytorch.org/docs/stable/generated/torch.addcmul.html

> For inputs of type FloatTensor or DoubleTensor, value must be a real number, otherwise an integer.

Primary motivation for this is that currently, the semantics of this function are a bit difficult to describe in a decomposition (at least, with our dtype promotion rules).

```
def addcmul(self: Tensor, tensor1: Tensor, tensor2: Tensor, value: float=1):
    if self.is_floating_point():
        return self + value * tensor1 * tensor2
    else:
        return self + int(value) * tensor1 * tensor2
```

### Alternatives

_No response_

### Additional context

_No response_

cc @mruberry
Repository: PowerToys
Issue: FancyZones used to remember the layout for different screen resolutions, now it keeps the same when changing resolution.
Labels: Issue-Bug,FancyZones-Layouts,Product-FancyZones

### Microsoft PowerToys version

0.55.2

### Running as admin

- [X] Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

1. Set Layout A for resolution 1
2. Change resolution
3. Set Layout B for resolution 2
4. Change back to resolution 1
5. Still shows Layout B

### ✔️ Expected Behavior

I have a monitor that I change the resolution twice a day.  On one resolution I have higher resolution with 8 zones and another, lower resolution with 4 zones.

Before the last update, when I changed resolutions, FZ would remember if it's 8 or 4. Now it keeps what I had before changing resolution, i.e., if i was on the higher resolution with 8 zones and change to the smaller one, i still have 8 zones

1. Set Layout A for resolution 1
2. Change resolution
3. Set Layout B for resolution 2
4. Change back to resolution 1
5. Expect to see Layout A

### ❌ Actual Behavior


1. Set Layout A for resolution 1
2. Change resolution
3. Set Layout B for resolution 2
4. Change back to resolution 1
5. Still see Layout B

### Other Software

_No response_
Repository: flutter
Issue: [Web] TextSpan inside RichText has incorrect vertical alignment with HTML renderer
Labels: framework,a: typography,platform-web,e: web_html,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-web,triaged-web

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter build web --web-renderer html --release` on the code sample <!-- (see "Code sample" section below) -->
2. Point to note is that this occurs only when `--web-renderer html` is used.
3. There are several other problems such as the text inside the `TextSpan` of `RichText` does not appear of the same color as Linux desktop unless I use `TextStyle(color: Colors.white)`

**Expected results:** <!-- what did you want to see? -->

![Screenshot from 2022-02-16 20-57-42](https://user-images.githubusercontent.com/58736240/154297689-81f79871-e6dd-48c8-b03a-d38d37d096ca.png)


**Actual results:** <!-- what did you see? -->

![Screenshot from 2022-02-16 20-51-13](https://user-images.githubusercontent.com/58736240/154296588-dd30aa65-2bf6-4cea-9abc-5a7c346d240f.png)


<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
ElevatedButton(
    onPressed: _index == 0 ? null : () => _changeIndex(-1),
    child: RichText(
        text: const TextSpan(children: [
      WidgetSpan(
          alignment: PlaceholderAlignment.middle,
          child: Icon(Icons.chevron_left)),
      TextSpan(
          text: " Previous", style: TextStyle(color: Colors.white))
    ]))),
```
Full code link: https://github.com/humble-barnacle001/basic_college_management_system/tree/c6e2449c4c9fc4dadfce74639cb2c68b1049c747

</details>
Repository: deno
Issue: Reader: support aborting a read
Labels: public API,suggestion

e.g. I want to be able to read bytes on a TCP socket connection and await more bytes for N milliseconds before processing those received bytes.

see also #10181
Repository: flutter
Issue: Support -D (or other) shorthand for --dart-define
Labels: c: new feature,tool,P3,team-tool,triaged-tool

## Use case

Per https://github.com/flutter/flutter-intellij/issues/5952#issuecomment-1034333521, enable shorthand for the `--dart-define` command line arguement.

## Proposal

Per the `dart` documentation:
```
dart run -h
...
-D, --define=<key=value>                               Define an environment declaration.
```
mirror this behavior in Flutter:
```
flutter run -h
...
-D, --dart-define=<foo=bar>                       Additional key-value pairs that will be available as constants from the String.fromEnvironment, bool.fromEnvironment, int.fromEnvironment, and double.fromEnvironment constructors.
```
Repository: PowerToys
Issue: Move newly created windows to the current active monitor - then maximize window?
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Having the option to maximize a window after it switches to the new screen.

### Scenario when this would be used?

Such as microsoft edge opening a browser on a different monitor than it automatically maximizing. I tried to change the properties of the application to maximize window but does not work. 

### Supporting information

_No response_
Repository: go
Issue: proposal: runtime/pprof: add  WriteGoroutineLabels function for logging
Labels: Proposal

# Problem Statement

Given that goroutines are anonymous and there is no accessible [goroutine id](https://go.dev/doc/faq#no_goroutine_id) makes it very difficult to add goroutine context to debug/tracing output without having a context parameter in all functions and a context field in all objects, which is often unfeasible. That lead to many attempts to workaround this limitation and reoccurring debates about it. So, although beyond doubt there is a reasonable demand for context logging, it has deliberately been ignored in order to not undermine the anonymity of goroutines, which is regarded as more important.

# Proposal

As a kind of compromise, that allows to log goroutine context, without making it too easy to abuse it for "goroutine local storage", I want to propose the following API:

```golang
package pprof

// WriteGoroutineLabels writes the current goroutine's labels to w. If a write
// to w returns an error, that error is returned, nil otherwise. The format of
// the output is not specified, and should only be used for logging/tracing
// purposes.
func WriteGoroutineLabels(w io.Writer) error { ... }
```  

This would easily and efficiently allow to set labels with the `SetGoroutineLabels()` and `Do()` functions, and still log them in code paths, where the context is not available, and give important information for log forensics. This is especially useful for 3rd party libraries, that don't support contexts, but do support setting a global log sink for debug output. For example:

```golang

import (
  "context"
  "log"
  "runtime/pprof"

  "github.com/ansiwen/foobar"
)

func init() {
  foobar.SetDebugOutput(func(msg string) {
    var lbls strings.Builder
    _ = pprof.WriteGoroutineLabels(&lbls)
    log.Printf(`[DBG]<foobar> msg="%s" context="%s"`, msg, lbls.String())
  })
}

func fireFoobarRequest(id string, data []byte) {
  go func() {
    lbl := pprof.Labels("requestID", id)
    pprof.SetGoroutineLabels(pprof.WithLabels(context.Background(), lbl))
    foobar.doRequest(data)
  }()
}
```

*Edit:* added usage example.
Repository: flutter
Issue: Fix Android Engine Deprecations
Labels: platform-android,engine,P2,c: tech-debt,team-android,triaged-android

Internal: b/199402891

There are currently ~**540 deprecation warnings** produced when compiling the engine, most of which are usages of deprecated Android APIs. These should be fixed, and then, the warnings should be made fatal. This issue will serve as a tracker of the issues addressing these deprecations.

*The breakdown currently is ~120 in the engine, ~420 in the engine tests. Note that not all of these deprecations are due to Android APIs; ~60 of the warnings are Robolectric deprecations, ~40 of the warnings are Flutter deprecations, ~30 of these warnings are Dart deprecations, and a couple are junit deprecations.
Repository: pytorch
Issue: Why there are 8 flavors of iOS build jobs for every commit
Labels: module: ci,triaged,module: ios

### 🐛 Describe the bug

It CI we are currently running 8 flavors of ios build jobs each of them takes roughly an hour to finish:
- ios-12-5-1-arm64
- ios-12-5-1-arm64-coreml 
- ios-12-5-1-arm64-custom-ops 
- ios-12-5-1-arm64-full-jit 
- ios-12-5-1-arm64-metal 
- ios-12-5-1-x86-64 
- ios-12-5-1-x86-64-coreml
- ios-12-5-1-x86-64-full-jit 

Considering that our MacOS resources are limited running those 8 jobs contributes to significant queueing (which is currently around 4-5 hours)

Can some of those be combined (i.e. custom-ops perhaps can be an addendum to coreml) or moved to periodic? (On the last 300 commits this job have not failed a single time)



### Versions

N/A

cc @seemethere @malfet @pytorch/pytorch-dev-infra
Repository: flutter
Issue: Remove usages of Android's AsyncTask
Labels: platform-android,engine,P2,c: tech-debt,team-android,triaged-android

[`AsyncTask`](https://developer.android.com/reference/android/os/AsyncTask) was deprecated in favor of using the APIs provided by `java.util.concurrent` directly, so its usages should be replaced accordingly.

Part of Issue #98602.