sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: kubernetes
Issue: Add block I/O in the ContainerStats of CRI
Labels: sig/node,kind/feature,lifecycle/rotten,needs-triage

### What would you like to be added?

Block I/O is the stats of tracking how many bytes are read/written from/to the block device on the node, for a particular container. 

It is straightforward to add it in the FilesystemUsage
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto

### Why is this needed?

With this new feature, we can figure out I/O heavy containers easily. It will help debug disk I/O issues with `crictl` tool.
Repository: flutter
Issue: [autosubmit] Build constructor for object we need for shouldMerge()
Labels: team-infra,P3,triaged-infra

Currently the only constructor we can use for CheckRun, CheckSuite and RepositoryStatus classes is T.fromJson() which needs to take in json. In order to create the Dart objects directly rather than import huge chunks of json, we want to build the constructor for CheckRun, CheckSuite and RepositoryStatus.
Repository: go
Issue: net: EPROTOTYPE surfaced from write() on macOS due to kernel bug
Labels: OS-Darwin,NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.17.6 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/tmm1/Library/Caches/go-build"
GOENV="/Users/tmm1/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/tmm1/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/tmm1/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.17.6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.17.6/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/tmm1/fancybits/channels-server/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_2/hljyy_zj3912lv9qqpy70t5w0000gn/T/go-build1772962119=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->
I have a http server running on macOS, which uses `io.Copy()` to stream data out to the http response writer.


### What did you expect to see?

When the client closes the socket, I expect to see ECONNRESET or EPIPE


### What did you see instead?

I sometimes see EPROTOTYPE instead:

>2022/03/04 06:37:26.032031 write tcp 10.20.1.13:8089->10.20.1.17:53525: write: protocol wrong type for socket

>2022/03/05 10:25:59.675548 write tcp 10.20.1.13:8089->10.20.1.17:49209: write: protocol wrong type for socket

>2022/02/28 07:01:09.358647 write tcp 10.20.1.13:8089->10.20.1.17:50689: write: protocol wrong type for socket

This appears to be due to a well-documented macOS kernel bug: http://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/

Many other runtimes have experienced this issue, and the suggested workaround is to retry the `write` operation.

See https://bugs.python.org/issue44229 and similar links on https://github.com/tokio-rs/mio/issues/1364 (for workarounds in libuv, dotnet, gevent)
Repository: TypeScript
Issue: Setting `non-relative` for `importModuleSpecifier` fails when package links itself
Labels: Needs Investigation

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: **Yes**

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: `1.64.2`
- OS Version: `macOS 12.2.1`

Steps to Reproduce:

- for your convenience, here's a [minimum repro](https://codesandbox.io/s/vscode-auto-import-bug-when-linking-itself-srnof9), but you'd need to use VSCode

Or follow these steps:
1. Use any package manager that allows to link a package
2. Add package.json

```json
{
  "name": "pkg",
  "devDependencies": {
    "pkg": "file:."
  }
}
```

3. Define a variable in a separate from the testing file (ex. `example.ts`)
4. Attempt to auto import from the testing file (`index.ts`) the variable declared in `example.ts`
5. VSCode fails to auto import using a `non-relative` path
    - even with `typescript.preferences.importModuleSpecifier` set as `non-relative`
    - **expectation**
      - `pkg/src/example`
    - **current VSCode's behavior**
      - `./example`
Repository: flutter
Issue: Text decoration underline breaks when using Emoji
Labels: framework,engine,a: typography,c: rendering,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-engine,triaged-engine

Hi,

Text decoration underline is broken when using Emoji

```dart
Text(
'Here is some normal text 💎',
style: TextStyle(decoration: TextDecoration.underline),
),
```

[Image example](https://cdn.discordapp.com/attachments/421448406506930187/950464774079131728/unknown.png)


```
Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (5 days ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2
```
Repository: deno
Issue: `Deno.ListenOptions` should have `port` as an optional property
Labels: public API,suggestion

The `Deno.ListenOptions` should have `port` be an optional property defaulting to `0`.

In oak (and I assume other frameworks) we extend `Deno.ListenOptions` where `port` is required, though it is "boilerplate" when trying to specify an OS selected port, or on Deploy, where the port is ignored.
Repository: godot
Issue: Analog Stick Won't Work With UI Elements Unless Deadzone is >= 0.5
Labels: bug,topic:input

### Godot version

3.3.4

### System information

Windows 10

### Issue description

I've mapped the left analog stick to the ui_up/down/left/right actions, and everything works --I can control UI elements via the arrow keys, the gamepad D-pad, or the gamepad left analog stick. However, if I change the deadzone to 0.2, then the left analog stick will no longer control the menu. 

You can see this in the sample project: ui_down has a deadzone of 0.5 and ui_up has a deadzone of 0.2. The analog stick will ONLY work to move the focus down, not up. If I add a script to one of the buttons with an _input() function that checks for "event.is_action_pressed('ui_up')" "Input.is_action_just_pressed('ui_up')", nothing looks amiss --it seems like the events are getting  through just fine (but not triggering a focus change).

This is particularly odd in that I would expect any input which triggers with a 0.5 deadzone to also trigger with a 0.2 deadzone, since 0.2 is < 0.5. Note that different gamepads have different behavior (see comments below).

### Steps to reproduce

1) Run the sample project
2) Press down on the keyboard. The focus moves to button 2. 
3) Press up on the keyboard. the focus moves to button 1.
4) Press down on the gamepad's D-pad. The focus moves to button 2. 
5) Press up on the gamepad's D-pad. the focus moves to button 1.
6) Move the left analog stick down. The focus moves to button 2. (This action has a deadzone of 0.5)
7) Move the left analog stick up. The focus DOES NOT move to button 1. (This action has a deadzone of 0.2) 
8) (If you were to change the "deadzone" for ui_up to 0.5 in the Project settings, then step 7 would work correctly.)

There is one more confounding behavior here:
9) If you VERY strongly/quickly push the left analog stick up, it will sometimes register "correctly" in step 7.

I tested this with an X Box One controller (and experienced the bug).
A friend (also on Windows; same Godot version) tested this with an X Box 360 controller and did NOT experience the bug.
The same friend tested this with a Logitech F310 controller and DID experience the bug.

### Minimal reproduction project

[TestInput.zip](https://github.com/godotengine/godot/files/8202699/TestInput.zip)
Repository: go
Issue: http2.golang.org: remove references
Labels: NeedsInvestigation

https://downforeveryoneorjustme.com/http2.golang.org?proto=https
Repository: storybook
Issue: Allow perma linking to the props of a component
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
Sometimes my colleagues ask me how to do X with a component. Thats when I tell them to simply use the property "superCoolProp" of the component and link them to the docs page of said component (f.e. https://my-storybook-instance.com/?path=/docs/my-component ). However they still have to search for the property on the page.

**Describe the solution you'd like**
I'd like to give them an url like https://my-storybook-instance.com/?path=/docs/my-component--super-cool-prop which will bring them directly to the property upon loading the page. (i.e. an `id` should be added to each prop in the argTable).

**Describe alternatives you've considered**
Haven't found any so far.

**Are you able to assist to bring the feature to reality?**
_Maybe_ if you could point me in the right direction.

**Additional context**
None.
Repository: pytorch
Issue: SummaryWriter reports encoding error
Labels: triaged,module: tensorboard

### 🐛 Describe the bug

### Problem Description
Encoding error is reported just by introducing a class
```
# conding=utf-8
from torch.utils.tensorboard import SummaryWriter
```
### error
```
Traceback (most recent call last):
  File "D:/workstation/python/practice1/torch_test/Tensorboard_demo2.py", line 2, in <module>
    from torch.utils.tensorboard import SummaryWriter
  File "D:\anaconda\anaconda\envs\pytorch\lib\site-packages\torch\utils\tensorboard\__init__.py", line 8, in <module>
    from .writer import FileWriter, SummaryWriter  # noqa F401
  File "D:\anaconda\anaconda\envs\pytorch\lib\site-packages\torch\utils\tensorboard\writer.py", line 339
            """
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xbf in position 338: invalid start byte
```


### Versions

torch : 1.6.0
tensorboard : 2.8.0
Repository: rust
Issue: The error is confusing when return a reference to a captured variable that's moved into the closure
Labels: A-diagnostics,A-closures,T-compiler,D-newcomer-roadblock

It seems return a reference to captured variable that's moved into a closure is disallowed, no matter the closure is a `Fn`, `FnMut`,or `FnOnce`. But the compiler gives different error for `Fn`, `FnMut`, and `FnOnce`(You can uncomment the code in `main` to see it), which is confusing. If it's not allowed anyway, give a error that states "return a reference to captured variable that's moved into the closure is disallowed" should be more helpful.
```
fn main() {
    let _name = "name".to_string();
    let mut _foo = 10;
    let bar = 20;

    let _ = move ||  {
        // Uncomment the following line to turn this into a FnOnce
        // drop(_name);
        // Uncomment the following line to turn this into a FnMut
        // _foo += 1;
        &bar
    };
```
```
error: lifetime may not live long enough
  --> src/bin/clo.rs:12:9
   |
7  |     let _ = move ||  {
   |             -------
   |             |     |
   |             |     return type of closure is &'2 i32
   |             lifetime `'1` represents this closure's body
...
12 |         &bar
   |         ^^^^ returning this value requires that `'1` must outlive `'2`
   |
   = note: closure implements `Fn`, so references to captured variables can't escape the closure
```
Repository: excalidraw
Issue: Left-handed mode
Labels: enhancement

Original issue raised by @RodrigoValente97: [#510](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/510)

The element properties panel is not in an ideal location if you are left handed.
Repository: godot
Issue: License year on the Steam page is out of date
Labels: bug

### Godot version

N/A

### System information

N/A

### Issue description

License year on the [Steam page](https://store.steampowered.com/app/404790/Godot_Engine/) is out of date.

> Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur.
> Copyright (c) 2014-2021 Godot Engine contributors.

### Steps to reproduce

Open https://store.steampowered.com/app/404790/Godot_Engine/ and navigate to the `SYSTEM REQUIREMENTS` section.

### Minimal reproduction project

_No response_
Repository: vscode
Issue: Git - fingerprint warning missing after new install
Labels: bug,git


Issue Type: <b>Bug</b>

After installing vscode new on a machine where the known_hosts was not initialized sync does not go through without a warning.

Steps:
Opening a git controlled folder
Hit Source Control Pull or the sync symbol on the statusbar

behaviour:
Nothing happens, vscode seems to sync (rotating statusbar icon)

expected: 
Authenticity prompt or error message

Output from git pull:
The authenticity of host 'github.com (140.82.121.4)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWEIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:08.962Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>skia_renderer: enabled_on<br>video_decode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.63GB (5.89GB free)|
|Process Argv|--crash-reporter-id c0931e1e-9e53-423f-94de-0fbc6a7799dd|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (20)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-css-formatter|aes|1.0.2
vscode-intelephense-client|bme|1.8.2
quickclone|Con|1.0.1
EditorConfig|Edi|0.16.4
classroom|git|0.0.3
vscode-pull-request-github|Git|0.38.0
vscode-dependency-cruiser|jua|0.0.1
git-graph|mhu|1.30.0
gitignore|mic|1.0.1
vsliveshare|ms-|1.0.5418
vsliveshare-audio|ms-|0.1.91
php-docblocker|nei|2.7.0
vscode-php-getters-setters|php|1.2.3
phpdoc-comment-vscode-plugin|rex|1.3.0
LiveServer|rit|5.7.4
vscode-javascript-booster|sbu|14.0.1
php-formatter|Sop|0.2.4
sass-indented|syl|1.8.19
vscode-counter|uct|3.0.3
markdown-all-in-one|yzh|3.4.0


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30448491
dsvsc009:30440023
pythonvsnew555:30442236
vsbas813:30436447
vscscmwlcmt:30438805
vscgsvid2:30447481
helix:30440343
vscaac:30438847

```

</details>

<!-- generated by issue reporter -->
Repository: PowerToys
Issue: Add VHD management
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

Add a VHD manager please

### Scenario when this would be used?

I am using both VHD and BestCrypt Container Encryption (Jetico.com). 
BestCrypt Container Encryption is running from Windows startup and is visible in the taskbar. 
R-Click the taskbar button and a pop-up shows up to Mount/Unmount password protected containers. 

It would be nice if Powertoys would have a VHD mount/unmount manager, a bit similar to the BestCrypt. 
Am familiar with how to access a VHD (usually I double click the VHD) and should then _immediately_... click on the pop-up that will show up. Then another pop up shows up prompting for a password.
If not responded immediately this method does not properly work.

A PowerToys VHD manager would make this more user-friendly.

![PowerToys VHD Manager similar to BestCrypt-07032022](https://user-images.githubusercontent.com/101186455/157235377-a8158fbc-e793-4fee-96e4-37ec9fe8d24d.png)



### Supporting information

_No response_
Repository: pytorch
Issue: Invalid code inrandom_ kernel
Labels: module: distributions,triaged

### 🐛 Describe the bug

the random_ kernel is implemented in aten/src/ATen/native/DistributionTemplates.h.
in  line 132 and 133:
132        constexpr int64_t scalar_t_max = static_cast<int64_t>(1) << std::numeric_limits<scalar_t>::digits;
133       to_inc = scalar_t_max > std::numeric_limits<int64_t>::max() ? std::numeric_limits<int64_t>::max() : static_cast<int64_t>(scalar_t_max);
it seems that the **scalar_t_max** is always less than **std::numeric_limits<int64_t>::max()**. so why use a comparision here?

### Versions

pytorch: master

cc @fritzo @neerajprad @alicanb @nikitaved
Repository: ant-design
Issue: [textarea] cursor jumped to the end when exceed max length
Labels: 🐛 Bug,help wanted,Inactive

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/wen-ben-yu-antd-4-19-1-forked-rx1xcs?file=/index.js)

### Steps to reproduce
input anything in the middle

### What is expected?
cursor's position not changed

### What is actually happening?
cursor's position jumps to the end

| Environment | Info |
|---|---|
| antd | undefined |
| React | All |
| System | All |
| Browser | All |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: material-ui
Issue: Multiple declare module '@mui/material/Button'  don't work
Labels: bug 🐛,typescript

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

The current advise is to use the following code

```ts
declare module '@mui/material/Button' {
  interface ButtonPropsVariantOverrides {
    pill2: true
  }
}
```

This works if they are in the same file, you can see that pill2 is recognized:
<img width="796" alt="Schermafbeelding 2022-03-08 om 14 04 14" src="https://user-images.githubusercontent.com/1244416/157243570-30369f29-3e6b-4e58-b4ad-356d265798d5.png">

If I move the second declaration to another file it isn't picked up anymore:
<img width="752" alt="Schermafbeelding 2022-03-08 om 13 54 03" src="https://user-images.githubusercontent.com/1244416/157242076-4c00d779-15a0-4589-9f1a-799375796ce6.png">
 

If I replace the import paths with `'@mui/material/Button/Button'` it works as expected:
<img width="782" alt="Schermafbeelding 2022-03-08 om 13 56 06" src="https://user-images.githubusercontent.com/1244416/157242771-2b3ffd78-2375-4727-b44f-e97c64133288.png">



### Expected behavior 🤔

The documentation should probably advise the following code:

```ts
declare module '@mui/material/Button/Button' {
  interface ButtonPropsVariantOverrides {
    pill2: true
  }
}
```

### Steps to reproduce 🕹

See screenshots in Current behavior.   

### Context 🔦

We have some base declarations we want to make and allow 'implementors' add new declarations.

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

```
 System:
    OS: macOS 12.2.1
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.19.1 - ~/.nvm/versions/node/v14.19.0/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
  Browsers:
    Chrome: 99.0.4844.51
    Edge: 99.0.1150.36
    Firefox: Not Found
    Safari: 15.3
```
</details>
Repository: flutter
Issue: [IOS] Flutter Web app can be swiped back using a drag gesture which rebuilds the web app
Labels: platform-ios,framework,f: routes,platform-web,has reproducible steps,P3,found in release: 2.10,found in release: 2.11,team-framework,triaged-framework

I have a flutter web app, when I open my web app in my iphone 7 , the starting html page is still behind the Route stack pages, I mean when I swipe horizontally(popping the pages in iphone => I mean like backbutton in android but swiping horizontally from left to right in iphone) the white screen(the started html page) shows and the web app rebuild itself and after that when I swipe horizontally again, it seems that the white screen is gone and everything works fine, but everytime that I close the web app and reopen it again, this senario repeats.[ here is the video of what I mean](https://www.dropbox.com/s/bo332qjlawsbe4a/RPReplay_Final1646636021.mov?dl=0.).

be careful, I don't mean that I want to omit the first white screen,my problem will be from the first screen(orange screen) and this senatio is not happening in android devices and browsers.

thanks a lot.
Repository: material-ui
Issue: [Drawer] Left and right anchored Drawers overexpand with inner Tabs
Labels: component: drawer

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When using tabs inside a Drawer component with top or bottom anchor, it expands the drawer outside the viewport

### Expected behavior 🤔

The Drawer should not expand outside of the viewport

### Steps to reproduce 🕹

https://codesandbox.io/s/quirky-lucy-dzp1ub

Steps:

1. Create a Drawer with an anchor left or right
2. Create a Tabs component within
3. Create enough Tab components within that to require scroll


### Context 🔦

_No response_

### Your environment 🌎

Browser: Google Chrome

<details>
  <summary>`npx @mui/envinfo`</summary>

```
  System:
    OS: macOS 11.5.2
  Binaries:
    Node: 17.1.0 - ~/.nvm/versions/node/v17.1.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v17.1.0/bin/npm
  Browsers:
    Chrome: 99.0.4844.51
    Edge: Not Found
    Firefox: 96.0.2
    Safari: 14.1.2
```
</details>