sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [webview] [web] Support posting messages
Labels: c: new feature,p: webview,platform-web,package,P2,team-web,triaged-web

Since the web implementation of `webview_flutter` is based on an iframe, we have significant limitations on functionality we can support. One substantial limitation is not being able to run arbitrary JavaScript in the webview.

To mitigate that limitation, we could add web-specific APIs to allow for communication via `postMessage`. This would only be useful in cases where the author of the application controls the content being loaded, but that is still an important subset of the use cases.
Repository: neovim
Issue: "nvim -es" : set exit code on uncaught Lua or Vimscript error
Labels: enhancement,vimscript,lua,startup

### Feature already in Vim?

don't think so

### Feature description

I call neovim from scripts and would like to know why it exited. For example, if there is a conflicting swap file and the user selects "Abort", the exit code is 1, just as if the program failed or whatever.
I could imagine it being based on the Error codes that happened before, such that aborting on a swap file conflict (E325) would exit with code 325.
Repository: pytorch
Issue: Implement histc for bfloat16 on CPU
Labels: triaged,module: bfloat16,module: sorting and selection

### 🚀 The feature, motivation and pitch

Add support for `histc` using bloat16 on cpu.

Currently, this yields the error:
```
RuntimeError: "histogram_cpu" not implemented for 'BFloat16'
```
as detailed in [this issue at wandb](https://github.com/wandb/client/issues/3332)

### Alternatives

_No response_

### Additional context

_No response_
Repository: three.js
Issue: HemisphereLight direction uniform
Labels: Suggestion

We are using a `HemisphereLight.position` property to define a direction to `HemisphereLight` normals, but that doesn't seem entirely appropriate to me, since it's an angle, and angle is .rotation/.euler. 

I think that we could use `.getWorldDirection()` instead of `.position`?

Can I start like this on WebGPU?


WebGL Code:
https://github.com/mrdoob/three.js/blob/8db7a598ed6e71538e286e5c56c02cc5823157dc/src/renderers/webgl/WebGLLights.js#L530-L532
Repository: PowerToys
Issue: Keyboard shortcut that switches focus to the topmost window in the next zone
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

FancyZones doesn't allow you to focus a zone, only windows assigned to that zone, but this feature is the next best thing. 

Pressing this keyboard shortcut should cycle between the top window in every zone. (Suggested shortcut: Win + Shift + Tab)
So, similar to Alt-Tab, but instead of cycling through all open programs, you would only cycle through the programs that are currently on top in each zone.

### Scenario when this would be used?

Example use case:
- You have a three-zone setup with multiple windows in each zone. 
- You want to switch to the topmost window in the third zone, using the keyboard.
- Currently, this is only possible using Alt-Tab. (which you might have to press numerous times, and pay attention to which window is currently highlighted)

### Supporting information

Note: I know that there is an existing feature which allows cycling between programs assigned to the same zone as the active window (Win + PgUp/PgDn). This is not the same thing! I will be happy to clarify with more examples, if needed.
Repository: pytorch
Issue: Tensorboard Issue with visualizing the connections of encoder-decoder network
Labels: oncall: visualization

We are trying to visualize the connections of the intermediate layers of a deep neural network using tensorboard. Our implementation is below:

```
    model = build_model(cfg) 
    path = 'output/model_0004999.pth' 
    model.load_state_dict(torch.load(path)['model'])  

    # get some random training images
    print(trainloader)
    dataiter = iter(trainloader)
    images = dataiter.next()

    # create grid of images 
    img_grid = torchvision.utils.make_grid(images)

    writer=SummaryWriter('content/logsdir')

    # show images
    matplotlib_imshow(img_grid, one_channel=True)

    # write to tensorboard
    writer.add_image('mt_images', img_grid)
    writer.add_graph(model, images)
    writer.close()

```

However, we keep getting this error pointing to `jit`

```
Only tensors, lists, tuples of tensors, or dictionary of tensors can be output from traced functions
Error occurs, No graph saved
Traceback (most recent call last):
  File "convert_model_tensorboard.py", line 96, in <module>
    writer.add_graph(model, [images])
  File "/home/ubuntu/user/.virtualenv/lib/python3.6/site-packages/torch/utils/tensorboard/writer.py", line 723, in add_graph
    self._get_file_writer().add_graph(graph(model, input_to_model, verbose))
  File "/home/ubuntu/user/.virtualenv/lib/python3.6/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 293, in graph
    raise e
  File "/home/ubuntu/user/.virtualenv/lib/python3.6/site-packages/torch/utils/tensorboard/_pytorch_graph.py", line 286, in graph
    trace = torch.jit.trace(model, args)
  File "/home/ubuntu/user/.virtualenv/lib/python3.6/site-packages/torch/jit/_trace.py", line 742, in trace
    _module_class,
  File "/home/ubuntu/user/.virtualenv/lib/python3.6/site-packages/torch/jit/_trace.py", line 940, in trace_module
    _force_outplace,
RuntimeError: Only tensors, lists, tuples of tensors, or dictionary of tensors can be output from traced functions
```

### Versions

```
Python 3.6.9

torch==1.8.0
torchsummary==1.5.1
torchvision==0.9.0
tensorboard==2.8.0
```
Repository: create-react-app
Issue: Not able to use create-react-app 4.0.3
Labels: needs triage,issue: bug report

From a node:17-alpine Docker image:

```
/ # npx create-react-app@4.0.3 test
Need to install the following packages:
  create-react-app@4.0.3
Ok to proceed? (y) y
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.1).

We no longer support global installation of Create React App.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

npm notice
npm notice New minor version of npm available! 8.5.5 -> 8.6.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.6.0
npm notice Run npm install -g npm@8.6.0 to update!
npm notice
```

It would be very handy to be able to use 4.0.3 while 5.0.X issues are worked out.
Repository: pytorch
Issue: Addressing skips in OpInfo nn.functional.binary_cross_entropy_with_logits
Labels: module: nn,module: tests,triaged

### 🐛 Describe the bug

While implementing the OpInfo for nn.functional.binary_cross_entropy_with_logits a large number of skips were needed to pass the related tests. The PR for creating this ops info can be found here: #75604 

Skips:

``` Python
 skips=(
            # The Weight tensor requires_grad = False
            DecorateInfo(
                unittest.skip("Skipped!"),
                "TestCommon",
                "test_floating_inputs_are_differentiable",
                dtypes=(torch.float32,)
            ),
            # Adding OpInfo to existing operator
            DecorateInfo(
                unittest.skip("Skipped!"),
                "TestCompositeCompliance",
                "test_backward",
                dtypes=(torch.float32,)
            ),
            # Pos Weight is required to be positve
            DecorateInfo(
                unittest.skip("Skipped!"),
                "TestMathBits",
                "test_neg_view",
                dtypes=(torch.float64,)
            ),
            # Test Gradient failures CI
            DecorateInfo(
                unittest.skip("Skipped!"),
                "TestGradients",
                "test_neg_view",
                dtypes=(torch.float64,)
            ),
            DecorateInfo(
                unittest.skip("Skipped!"),
                'TestJit',
                'test_variant_consistency_jit',
                dtypes=(torch.float32,)
            ),
            DecorateInfo(unittest.skip("Skipped!"), 'TestGradients', "test_fn_gradgrad", dtypes=(torch.float64,)),
            DecorateInfo(unittest.skip("Skipped!"), 'TestGradients', "test_forward_mode_AD", dtypes=(torch.float64,)),
            DecorateInfo(unittest.skip("Skipped!"), 'TestGradients', "test_fn_fwgrad_bwgrad", dtypes=(torch.float64,)),
        ),
```


### Versions

Not version specific

cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345
Repository: material-ui
Issue: [Typography] `color` prop is not documented but it works
Labels: docs,component: Typography

https://mui.com/material-ui/api/typography/

color= property is missing.

For example, `color="primary"` and `color="primary.dark"` both work as expected.
Repository: material-ui
Issue: [LinearProgress] `color="action.disabled"` is crashing
Labels: new feature,component: LinearProgress,package: system

`<LinearProgress color="primary" />` works.
`<LinearProgress color="action.disabled" />` does not work (crash)
`<LinearProgress color="inherit" sx={{ color: "action.disabled" }}  />` works as expected (workaround)

For example, These things work as expected:
`<Typography color="action.disabled">qwe</Typography>`
`<Typography color="primary">qwe</Typography>`
`<Typography color="primary.dark">qwe</Typography>`
Repository: material-ui
Issue: [FormControl] Form Label not respecting the color prop
Labels: new feature,package: system,component: FormControl

https://github.com/mui/material-ui/blob/47460ce5538c6e6e4e0edb4fe31560dd00ed6e07/packages/mui-material/src/FormLabel/FormLabel.js#L41

Trying to review my labels and I came across this one. No matter what I set my `InputLabel` color prop to be the text remains text.secondary.

```jsx
<InputLabel shrink={false} disableAnimation={true} color="primary">Foo Bar</InputLabel>
```
Given my `text.primary` color is set to `red` and my `text.secondary` is set to `green`. I see a correct class name being generated for 'MuiFormLabel-colorSecondary' but the composed color isn't being taken into account. See screen shots as examples.

In this given example (https://codesandbox.io/s/silent-monad-v0gih7?file=/src/App.tsx)
The input label is green despite giving it the color as primary. I can override with an sx prop for color, but I would expect the component to use the theme palette color as described in the documents.

![Screen Shot 2022-04-12 at 2 17 54 PM](https://user-images.githubusercontent.com/777527/163046529-f5728b6c-a380-47b5-af18-82248b8d747c.png)

![Screen Shot 2022-04-12 at 2 17 40 PM](https://user-images.githubusercontent.com/777527/163046538-f024e1cf-1f9c-439e-8dca-dcf40301c142.png)

I'm happy to work on a solution if no one has the time to check this out.
Repository: pytorch
Issue: Einsum should have an `out=` parameter
Labels: triaged,module: linear algebra

### 🚀 The feature, motivation and pitch

When using `einsum` in performance sensitive code (and not caring about gradients), it is not good that it allocates a new tensor for the result. Then `numpy` version has an `out=` parameter, similar to `bmm` and many other pytorch functions, which allow specifying a piece of memory to store the result. It would be good to have this in pytorch as well.

### Alternatives

Alternatively users can avoid einsum entirely, but there is not always a pytorch function with the same functionality.

### Additional context

_No response_

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @Lezcano
Repository: flutter
Issue: [camera] Ability to get the current duration of the recorded video
Labels: c: new feature,p: camera,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

Since Camera plugin allows us to pause and resume the recordings, this need is even more important imo.
Is there a way to get the recording duration before calling `stopRecording`?
Of course we can implement a separate `Timer` and try to keep track of the recording duration but this solutions won't be exact in milliseconds.
Most of the apps have strict recording limits and being able to stop recording by listening to the camera controller and getting the duration will make everything more stable.
I think that we should be able to get the current recording duration from `CameraController.value`.
Repository: create-react-app
Issue: Bug: URIError: Failed to decode param '//%PUBLIC_URL%/favicon.ico'
Labels: Status: Unconfirmed

I get a console error when I add '//' to the end of my address

React version: 17.0.2

## Steps To Reproduce

1. add '//' to the end of the url 

Adress: http://localhost:3000//

Code console error:

GET http://localhost:3000//%PUBLIC_URL%/favicon.ico 400 (Bad Request)

manifest.json:1          GET http://localhost:3000//%PUBLIC_URL%/manifest.json 400 (Bad Request)

manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
Repository: pytorch
Issue: Let's host NVIDIA dependencies in our own S3
Labels: module: ci,triaged

### 🚀 The feature, motivation and pitch

To avoid SEVs where we are unable to retrieve a dependency hosted by NVIDIA (see https://github.com/pytorch/pytorch/issues/74967), we should host copies in S3 ourselves. 

### Alternatives

_No response_

### Additional context

This was not possible before but may be possible now.

cc @seemethere @malfet @pytorch/pytorch-dev-infra
Repository: PowerToys
Issue: option for Fancy zone to keep their size and position when resolution/scale changes
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

In Powertoys 0.57.2, I noticed that Zones now change according to resolution or screen scale changes.
Can you add an option to make the Fancy Zones keep their position and size fixed even if I change my screen scale or resolution?

### Scenario when this would be used?

I have a large external monitor, and sometimes I would like to change the scale of the window to reserve a fixed space for other apps, and I do this frequently, so I would like to have a fixed zones sizes and positions even If I change the screen scale and resolution. 

### Supporting information

_No response_
Repository: react
Issue: Bug: beforeInput event doesn't fire when input is replacing previous text
Labels: Component: DOM,Status: Unconfirmed,Difficulty: medium,Type: Needs Investigation,good first issue (taken)

There is a strange React bug where the `beforeinput` event does not fire but only on Firefox (v99).

React version: 17.0.2

## Steps To Reproduce

There are two ways I have found to reproduce this bug and both involve a scenario where the `beforeInput` event is replacing the previous text and both are only problematic on Firefox when the events are triggered via React rendered input.

### MacOS Popup

1. (Using MacOS (v12.1) and a Firefox browser). When focused in a browser input, hold down the "a" key (or any standard english character with a latin accented variation) and wait for the accent popup to show up
2. At this point the `keydown`, `beforeinput`, and `input` events should have fired and the new input should have the regular key inserted
3. Now, select one of the options from the accent menu (using a numeric selector)
4. Notice only the `keydown` and `input` events fired

### Native HTML Spellcheck Replacement

1. (Using a Firefox browser) When focused in a browser input, type some misspelled text in so that it can be selected for spellcheck replacement
2. Notice all of the `keydown`, `beforeinput`, and `input` events fire when typing standard keys
3. Right click on the misspelled text and select a spellcheck alternative
4. Notice only the `input` event fires with the replacement input

## Link to code example:

Here is a simple codesandbox with a Standard HTML textarea **and** a textarea rendered via React. It logs to the console when the events fire. If you run through either one of the above steps to reproduce, you'll notice the `beforeinput` event fires correctly with the standard HTML element but not with the React rendered input.

[Code Sandbox](https://codesandbox.io/s/react-typescript-forked-rpbiun?file=/public/index.html)

## The current behavior
Only the `keydown` and `input` events fired when a replacement text input event flow is triggered

## The expected behavior
The `beforeinput` event should always fire
Repository: rust
Issue: Track which tests are run in CI
Labels: A-testsuite,T-bootstrap

Currently, it's pretty easy to accidentally miss tests in CI - e.g. I recently found that compiler doctests haven't been enforced in a while: https://github.com/rust-lang/rust/issues/95994. It would be great to track which tests are being run.

@mark-simulacrum did you have some ideas for this already in mind? How were you expecting the generated output to look / what sort of granularity did you want? I think just tracking `Step` runs should be pretty easy, but maybe not as useful as tracking cargo invocations? Having our own build system gives us some flexibility here.

_Originally posted by @Mark-Simulacrum in https://github.com/rust-lang/rust/issues/95994#issuecomment-1097489474_
Repository: yt-dlp
Issue: GabTV channel_name error download
Labels: site-bug

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.04.08** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [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 read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Brazil

### Description

When I try to use yt-dlp on GabTV an error is given: unable to extract channel_name 

### Verbose log

```shell
yt-dlp -vU https://tv.gab.com/channel/davecullen/view/three-experiments-that-explain-conformity-and-6254454f4c1b91f9610e8aa1
[debug] Command-line config: ['-vU', 'https://tv.gab.com/channel/davecullen/view/three-experiments-that-explain-conformity-and-6254454f4c1b91f9610e8aa1'][debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65] (zip)[debug] Python version 3.6.9 (CPython 64bit) - Linux-4.15.0-151-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: brotli, certifi, Crypto, secretstorage, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [GabTV] Extracting URL: https://tv.gab.com/channel/davecullen/view/three-experiments-that-explain-conformity-and-6254454f4c1b91f9610e8aa1
[GabTV] 6254454f4c1b91f9610e8aa1: Downloading webpage
ERROR: [GabTV] three-experiments-that-explain-conformity-and-6254454f4c1b91f9610e8aa1: Unable to extract channel_name; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "./yt-dlp/yt_dlp/extractor/common.py", line 641, in extract
    ie_result = self._real_extract(url)
  File "./yt-dlp/yt_dlp/extractor/gab.py", line 36, in _real_extract
    channel_name = self._search_regex(r'data-channel-name=\"(?P<channel_id>[^\"]+)', webpage, 'channel_name')
  File "./yt-dlp/yt_dlp/extractor/common.py", line 1229, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name
```
Repository: PowerToys
Issue: [Mouse utilities\Find My Mouse] Add exception for when clicking
Labels: Idea-Enhancement,Product-Mouse Utilities

### Description of the new feature / enhancement

I get Find My Mouse turning on all the time when I'm going back and forth drawing with my mouse. It would be nice if there was an exception for when the mouse is being clicked so that it wouldn't turn on when clicking to draw.

### Scenario when this would be used?

When drawing with the mouse. I think that is the only time I have issues with it turning on and the only time this would be applicable.

### Supporting information

_No response_
Repository: kubernetes
Issue: implement the Object interface of k8s.io/apimachinery/pkg/apis/meta/v1
Labels: kind/feature,sig/instrumentation,needs-triage

### What would you like to be added?

Plan to use kubectl get to display the metrics of custom-metrics-apiserver, but the Object object of TableRow in the k8s.io/apimachinery/pkg/apis/meta/v1beta1 package needs to be implemented in k8s.io/apimachinery/pkg/apis/meta/v1.


### Why is this needed?

We need to implement `object` interface in custom_metrics.MetricValue.
Repository: TypeScript
Issue: Union tuple type in rest argument can't accpect less argument.
Labels: Bug,Help Wanted

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms
source has but target allows only
<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
- This is a crash

### ⏯ Playground Link

[Playground link with relevant code](https://www.typescriptlang.org/play?#code/FAYw9gdgzgLgBAMwK4RALjgCgHS4IYBOA5lBgNoRIC2ARgKYEA0csBAlhEQLpwA+cZVhyLNKtBlwCUcALwA+OADcwbACaysbGHSrT5cAN5wAvkA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
const func: (...args: [number, string] | [string, number]) => void = (item) => { }
```

### 🙁 Actual behavior

throw error 
```
Type '(item: string | number) => void' is not assignable to type '(...args: [number, string] | [string, number]) => void'.
  Types of parameters 'item' and 'args' are incompatible.
    Type '[number, string] | [string, number]' is not assignable to type '[item: string | number]'.
      Type '[number, string]' is not assignable to type '[item: string | number]'.
        Source has 2 element(s) but target allows only 1.
```

### 🙂 Expected behavior

no error