sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: x/build: apparent filesystem corruption on darwin-amd64-11_0
Labels: OS-Darwin,Builders,NeedsInvestigation

```
#!watchflakes
post <- pkg ~ `^cmd/go` && `unexpected input character '\\x00'`
```

```
            > cp go.mod.orig go.mod
            > go mod edit -go=1.17
            [stderr]
            go: errors parsing go.mod:
            $WORK/gopath/src/go.mod:1: unexpected input character '\x00'
            [exit status 1]
            FAIL: testdata/script/mod_lazy_downgrade.txt:80: unexpected command failure
```

`greplogs --dashboard -md -l -e 'unexpected input character ..x00.'`

[2022-04-21T23:41:03-21e1ffe/darwin-amd64-11_0](https://build.golang.org/log/3d6164054d33d50f09805866a78abb742e8b52c1)
[2021-10-18T16:32:38-543a513/darwin-amd64-11_0](https://build.golang.org/log/6a20bb337c66c3efa44d38d73cda0211b6b7ef46)
[2021-09-24T04:20:30-aa878ee/darwin-amd64-11_0](https://build.golang.org/log/abd17c6aa2a64005f7f84b2c6304102b19ad3ed8)
[2021-08-25T03:13:06-e1fcf88/darwin-amd64-11_0](https://build.golang.org/log/90e82d80180ad9ce76e6a15ba9fffdcaa00dc6a3)
[2021-06-02T21:39:28-dd7ba3b/darwin-amd64-11_0](https://build.golang.org/log/d33a67ca0b1d4cc5334fa37a9bf0ce690af2e115)
[2021-04-30T18:07:24-c3365ad/darwin-amd64-11_0](https://build.golang.org/log/5496c2bbc5123f6b22415c1d6c769b08057d896a)

I almost wonder if this is the `amd64` equivalent of #49692. 🤔

@golang/release, what version of MacOS 11 is the builder running at the moment?
Repository: go
Issue: x/website: Add section to generics docs about common type properties that can't be captured with constraints
Labels: Documentation,NeedsInvestigation,website

When creating a generic data structure such as a `Set[T comparable]`, it's also important to think about such properties as:

- zero values of T (such as `nil` interface values)
- invalid values
- edge cases of comparability, such as "is `==` reflexive?" - for example float64 `NaN` values need special handling

These properties (and there are probably more) must be handled to avoid subtle errors in generic code, yet are also easy to overlook for beginners to generic programming like myself. 

Would you consider adding a list of these properties to https://go.dev/doc/tutorial/generics or maybe https://go.dev/blog/when-generics (the two posts that have helped me the most with generics) or accepting a CL to add it?

Special thanks to @bcmills who brought this list up to me in the #generics [Slack channel](https://gophers.slack.com/archives/C88U9BFDZ/p1650633652451629) . I'm attaching a screenshot of our Slack conversation so it doesn't get lost in Slack history.

<img width="1313" alt="image" src="https://user-images.githubusercontent.com/6081085/164750904-a7b3da4b-0fb6-4249-b532-715b767318dc.png">
Repository: electron
Issue: [Feature Request]: View and modify navigation history of webcontents (and by extension webviews)
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

Currently we only have functions for checking if there is history in a specific direction and moving there, which are `canGoBack`, `goBack`, `canGoForward` and `goForward`. We also have `goToIndex` and `goToOffset`, but these seem fairly useless if there is no way to know the length of the list nor the current index, let alone which entries are in the navigation list. Finally, it's also impossible to change this "invisible" navigation history list in any way. It [used to be possible with `.history`](https://github.com/electron/electron/issues/7186), but that got removed, and now there seems to be no other way.

### Proposed Solution

Add back `.history` or some alternative (maybe getters or setters, though Electron seems to be moving to read/write properties lately, so that would also have my preference) to view the list so that there is actually a use for `goToIndex` and `goToOffset` that's not just a guess. Secondly, add a way to know where in the list the navigation currently is, again, `canGoForward` and such can let you make a guess, but it would be better to know. Finally, I would like a way to modify this list, as I need that for one of my projects to be able to restore the history for a webview after restarting the app (or recreating the webview after closing it). If technically easier, I would not mind this being something that needs to happen on creation of the webview, but a property or set of functions on the webcontents seem more reusable and fitting if you ask me.

### Alternatives Considered

As a last resort, not using `goBack` and `goForward` or ANY of the navigation features provided by Electron and building a custom history manager from scratch, which is tedious, but otherwise needed, because the current implementation is not clear on what is in the history at all, and cannot be modified in any way.

### Additional Information

_No response_
Repository: storybook
Issue: Storybook broken in Ember 4.X
Labels: bug,ember,needs triage

**Describe the bug**
Storybook is completely broken when trying to use it in Ember 4.X
Ember 4 removes deprecated features, one of those being Global Ember usage. 
See https://github.com/storybookjs/ember-cli-storybook/issues/103 for more information



After doing a bit of research there are a few target areas that will need to be fixed.
1. You'll need to use `babel-plugin-ember-template-compilation` [here](https://github.com/storybookjs/storybook/blob/4b47793e118f091971f2a453d486c5f01875811d/app/ember/src/server/framework-preset-babel-ember.ts#L30) 

```
var extraPlugins = [[require.resolve('babel-plugin-ember-template-compilation'), {
      precompile: precompileWithPlugins,
      outputModuleOverrides: {
            '@ember/template-factory': {
              createTemplateFactory: ['createTemplateFactory', '@glimmer/core'],
            }
          },
    enableLegacyModules: ['ember-cli-htmlbars', 'ember-cli-htmlbars-inline-precompile', 'htmlbars-inline-precompile']
  }]];
```

2. You'll need to update https://github.com/storybookjs/storybook/blob/4b47793e118f091971f2a453d486c5f01875811d/app/ember/src/client/preview/render.ts#L41 to remove the global ember usage. There is a pull request for this already, but Im not quite sure if you will also have to update it to be a glimmer component and use `setComponentTemplate`. 

3. You might need https://github.com/glimmerjs/glimmer-vm/issues/1252 to be fixed - because you'll run into that once you make the first change. 

Even with all this, I still wasn't able to get it 100% working - but I was able to bypass the Ember is not defined error.
Repository: pytorch
Issue: Initial integration of ZenDNN as backend into PyTorch
Labels: feature,module: convolution,triaged

### 🚀 The feature, motivation and pitch

ZenDNN library optimizes basic math kernels used by Deep learning algorithms on AMD EPYC CPUs. As part of integration of ZenDNN into PyTorch we integrated a single op (convolution). We have support for other ops and optimization ready to be submitted.

This PR covers following
- Added ZenDNN as third-party library
    - ZenDNN is a submodule for pytorch
    - modified pytorch build infra to build with ZenDNN when USE_ZENDNN is set
      to 1
    - pytorch build reverts to default behavior if USE_ZENDNN environmental
      variable is set to zero or unset
- Added AOCL-blis as  dependency of ZenDNN
    - AOCL-blis is a submodule for pytorch
    - AOCL-blis is built if USE_ZENDNN is set to 1
- Added ZenDNN as backend to pytorch
    - added support for user level control to disable or enable zendnn backend
- Added following changes
    - added zendnn layout and ZendnnCPU dispatch key.
    - tensor conversion between dense and zendnn layouts
    - zendnn convolution as a new ConvBackend
        - when built with zendnn (USE_ZENDNN=1) and gradient calculations are
          disabled (torch.no_grad) convolution is computed using ZenDNN library)
        - backward propagation is not supported.
        - support is only added for fp32 data type
- Added few unit tests for pytorch + zendnn

URLs of dependent Library:
ZenDNN github: https://github.com/amd/ZenDNN
AMD-BLIS github: https://github.com/amd/blis
Corresponding Pull Request: https://github.com/pytorch/pytorch/pull/76242


### Alternatives

_No response_

### Additional context

_No response_
Repository: electron
Issue: [Bug]: docs for Session#clearStorageData mention the "appcache" storage, which is not actually cleared
Labels: bug :beetle:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

18-x-y

### What operating system are you using?

Windows

### Operating System Version

N/A

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

docs should be in sync with the code, which doesn't clear "appcache"

https://github.com/electron/electron/blob/d1abb629439e568abd73c5513b6bf7db3ea58f08/shell/browser/api/electron_api_session.cc#L124-L146

appcache is deprecated in Chromium [source](https://source.chromium.org/chromium/chromium/src/+/main:content/public/browser/storage_partition.h;l=167)

### Actual Behavior

docs are out of sync with the code

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: flutter
Issue: Flutter test doesn't report the failing tests in the summary
Labels: c: new feature,tool,c: proposal,P3,team-tool,triaged-tool

Often times it's difficult to know which tests have failed when `flutter test` runs.  For example: https://cirrus-ci.com/task/6163921269686272?logs=main#L3250

The report at the end just says:
```
07:49 +6413 ~14 -5: Some tests failed.
```

Then you have to scroll up looking for the failure which isn't always easy to find and if you search for "fail" in the text many tests print out that text while not failing.

The report at the end should list the tests that failed.
Repository: yt-dlp
Issue: [oreilly] KeyError('next') when trying to login to O'Reilly
Labels: account-needed,site-bug,can-share-account

### Checklist

- [X] I'm reporting a bug unrelated to a specific 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)

### Description

Im getting an error while visiting some oreillys courses .  "ERROR: 10000MNHV202259: An extractor error has occurred. (caused by KeyError('next'));" Does anyone know about this?

### Verbose log

```shell
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.04.08 [7884ade65]
[debug] Python version 3.10.2 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-01-19-git-dd17c86aa1-full_build-www.gyan.dev (setts), ffprobe 2022-01-19-git-dd17c86aa1-full_build-www.gyan.dev
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[safari:course] Downloading login page
ERROR: 10000MNHV202259: An extractor error has occurred. (caused by KeyError('next')); 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 "C:\Users\d\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 639, in extract
    self.initialize()
  File "C:\Users\d\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\common.py", line 544, in initialize
    self._perform_login(username, password)
  File "C:\Users\d\AppData\Local\Programs\Python\Python310\lib\site-packages\yt_dlp\extractor\safari.py", line 44, in _perform_login
    'https://api.oreilly.com', qs['next'][0])
KeyError: 'next'
```
Repository: flutter
Issue: [Windows][Desktop]: Moving the screen shows a black section.
Labels: platform-windows,c: rendering,a: desktop,a: layout,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-windows,triaged-windows

on windows 10 - rendering while part of the window is hidden will not take effect

## Steps to Reproduce

1. make a simple app
2. breakpoint before runApp
3. move flutter window to the side of the screen
4. continue
5. after app was rendered, move window back to the screen

**Expected results:** <!-- what did you want to see? -->
normaly rendered window

**Actual results:** <!-- what did you see? -->
white where the window was hidden for few moments

flutter version
![image](https://user-images.githubusercontent.com/36762719/164769342-8f49f58e-0109-4a6a-a957-b3a739f1d73f.png)
Repository: scrcpy
Issue: Include adb resize command
Labels: feature request

 - [x] I have checked that a similar [feature request](https://github.com/Genymobile/scrcpy/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) does not already exist.

**Is your feature request related to a problem? Please describe.**
This may be considered a workaround for #886 

**Describe the solution you'd like**
Include the ability to use the "adb shell wm size" command as a cli option (maybe "--size")
This helps devices that render at a non-standard screen resolution (eg Samsung Galaxy S10 renders at 2280x1080) present a standard resolution (1920x1080) onto a computer screen.
Repository: godot
Issue: Scaled centred sprites are skewed with pixel snap
Labels: topic:editor,topic:2d

### Godot version

3.4.4

### System information

Arch Linux

### Issue description

Related #42985

quality/2d/use_pixel_snap=true
2d/snapping/use_gpu_pixel_snap=true

Import a 1x1 sprite
centred=true
scale=(1, 1)

![capture_005_23042022_024031](https://user-images.githubusercontent.com/3406652/164775001-b1bb9edc-2a24-4007-9e71-151ad136ebf9.jpg)

As expected.

centred=true
scale=(32,32)

![capture_004_23042022_024014](https://user-images.githubusercontent.com/3406652/164775172-e9b3df68-742f-457f-8ccd-9d7f87f3da55.jpg)

Is this intended behaviour? The sprite origin is on the bottom right of the sprite instead of the centre of the scaled sprite. I expected the 32x32 sprite to be centred, with sprite origin at it's centre i.e. the sprite should be centred after being scaled.

This issue does not happen with textures with even dimensions.

### Steps to reproduce

N.A.

### Minimal reproduction project

[TestPixelSnap2.zip](https://github.com/godotengine/godot/files/8543251/TestPixelSnap2.zip)
Repository: go
Issue: go/types, types2: record instantiated type when fully instantiated function call is missing arguments
Labels: NeedsInvestigation

Raised in [CL 394017](https://go.dev/cl/394017) by @muirdm, the type checker is recording the generic type for a called function if arguments are missing, even if all necessary type arguments are provided, as in the following:

```
func foo[A int|string](a A) {}

foo[int]() // recorded function type is still func[A int|string](A), even though it should be known to be func(int)
```
Example: https://go.dev/play/p/xBmccoNdCK_Y

This is probably a low priority (hence not adding the 1.19 milestone), but it would be nice to clean this up as we work on improved type inference.

CC @griesemer
Repository: flutter
Issue: Noisy PlatformView constructor for Fuchsia/GFX
Labels: engine,platform-fuchsia,P2,team-engine,triaged-engine

Matching bug for fxbug.dev/98398.

ERROR log in Fuchsia's PlatformView constructor causing problems.
Repository: flutter
Issue: [go_router] Replace redirect with onEnter and onExit
Labels: c: new feature,package,P2,p: go_router,team-go_router,triaged-go_router

In order to better support redirection, we should replace the redirection API with `onEnter` and `onExit`. 

The `onEnter` function is called when the new location results in a RouteMatch that was not previously present on RouteMatchList:

```
matchList = [ "/a"]
matchList' = [ "/a", "b"]
```

When `matchList` changes to `matchList'`, the `onEnter` callback for Route "b" will be called, and the callback for "/a" will not.

The `onExit` callback is invoked when the reverse is true:

```
matchList = [ "/a", "b"]
matchList' = [ "/a"]
```

When `matchList` changes to `matchList'`, the `onExit` callback for Route "b" will be called.
Repository: flutter
Issue: Fuchsia's GFX PlatformView uses modern TouchSource API
Labels: engine,platform-fuchsia,P2,team-engine,triaged-engine

Tracks getting GFX's PlatformView to use the modern TouchSource/MouseSource API.
Repository: godot
Issue: Velocity not updated when CharacterBody2D collides in FLOATING mode
Labels: bug,confirmed,topic:physics,topic:2d

### Godot version

v4.0.alpha6.official [e4f0fc50f]

### System information

Windows 11

### Issue description

A CharacterBody2D with its MotionMode set to FLOATING will not have its velocity updated when it collides with objects via `move_and_slide()`.  For example, if it runs into a static object in a direction perpendicular to the surface, I would expect the velocity to be zero after the collision, but instead the velocity remains constant.

This does not occur with GROUNDED motion, where the velocity updates as expected.

### Steps to reproduce

Create a CharacterBody2D and set it to FLOATING, then use `move_and_slide()` to run it into something and observe the effect on its velocity.  In the project below, the velocity is set once in `_ready`, but one can see by the printed values that it stays that way even after colliding with the StaticBody2D.

You can set it to GROUNDED motion to see the difference.

### Minimal reproduction project

[test.zip](https://github.com/godotengine/godot/files/8544734/test.zip)
Repository: storybook
Issue: Add type definitions for supported frameworks
Labels: feature request,vue,angular,core,svelte,vue3

While working on a recent documentation change it was brought to my attention that Storybook for React includes the necessary types to set up and extend Storybook configuration with TypeScript. If a React developer changes `main.js` to `main.ts` he's able to configure his/her Storybook as follows:
```ts
// .storybook/main.ts
import { StorybookConfig } from "@storybook/react/types"

const config: StorybookConfig = {
  stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
  addons: [
    '@storybook/addon-links',
    '@storybook/addon-essentials',
    '@storybook/preset-create-react-app',
    '@storybook/addon-interactions',
  ],
  // Other existing configuration
};
module.exports = config;
```

But for instance, if either a Svelte, Vue/Vue 3 or Angular developer tries the same approach by updating the import from React to his/her framework the `StorybookConfig` type is not actually available. The only way to properly configure it is to update the import and use `@storybook/core-common` which is not actually recommended and we shouldn't promote its usage as it can lead to more issues than it actually solves as it can mutate at a moment's notice and begin breaking user's Storybooks and also preventing them from using certain configurations related to the framework.

What needs to happen
- If and when possible export the types similar to React.
- Update the snippet used in [this page](https://github.com/storybookjs/storybook/blob/next/docs/configure/overview.md#using-storybook-api) to reflect the changes.

@yannbf and @shilman if both of you could follow up with me on this I'd appreciate it. 

Thanks in advance.
Repository: create-react-app
Issue: How to install @babel/runtime without completly breaking create-react-app
Labels: needs triage

So I am using `react-script: 5.0.0`. However do to the way https://www.graphql-code-generator.com/ works, I need to directly install `@babel/runtime` as a dependency, else my plugins will fail to resolve. 

However installing @babel/runtime seems to completly break react-scripts. Trying to build causes an error like this

```
Module not found: Error: Can't resolve '/local/home/**/Projects/**/src/**/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/createClass.js' in '/local/home/**/Projects/**/src/**/node_modules/pretty-format/build'
``` 

This there anything I can do to resolve this. The version of `@babel/runtime` im installing is     "@babel/runtime": "7.17.9". However I have tried other versions including the exact version listed by `cra` 


I will note that the dev sever actually runs fine... just when I try to build I get the above error
Repository: flutter
Issue: [web] Unregister prior ServiceWorker when serviceWorker config is null?
Labels: c: new feature,platform-web,P3,team-web,triaged-web

In `flutter.js`, the `serviceWorker` configuration is completely optional, and when not passed, the initialization script immediately falls back to "script tag" mode. [Code](https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/web/flutter_js.dart#L102-L107).

This, however, doesn't disable any prior service workers that might have been registered by older versions of the app. This might cause unexpected consequences (unintended caching?)

### Proposal

Should Flutter Web attempt to unregister any prior Flutter ServiceWorkers from the web app when serviceWorker config is null?

----

_Issue originally reported by @johnpryan_
Repository: youtube-dl
Issue: Pacstall
Labels: question

Please add this app into the pacstall repository. Pacstall is the AUR for Ubuntu which will allow Ubuntu users to easily install the app and receive updates very shortly after an update is released.

https://pacstall.dev/
Repository: godot
Issue: When select ItemList Editor > Item > Icon object it doesn't appaear on inspector
Labels: discussion,topic:editor

### Godot version

v3.4.4.stable.official [419e713a2]

### System information

Windows 11

### Issue description

Hiiiii,

![image](https://user-images.githubusercontent.com/1125150/164884251-e2a0d478-28c3-48ea-b891-45e15975b81d.png)

I'm selecting AtlasTexture object here but it doesn't appear on inspector.

### Steps to reproduce

Add an ItemList and an item then add an item then make an object for icon property and click on that.

### Minimal reproduction project

_No response_