sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Screen tearing with Linux Lite (Ubuntu) and intel driver
Labels: bug,topic:rendering,topic:thirdparty,needs testing

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.3 (latest stable)

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Linux Lite latest version (Ubuntu 20.04.02 lts derivated) Intel Graphics and Xfce environment

**Issue description:**
<!-- What happened, and what was expected. -->
Godot projects has a screen tearing. I added `etc/X11/xorg.conf.d/20-intel-graphics.conf` file to resolve **screen tearing** with videos and godot games. With videos works but godot games still have a notorious tearing (no matter what vsync is on)

With gles2 : fps 58-60 with tearing

With gles3: 48 fps

**Steps to reproduce:**
Add `etc/X11/xorg.conf.d/20-intel-graphics.conf` with this configuration:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TripleBuffer" "true"
   Option      "TearFree"     "true"
   Option      "DRI"          "false"
EndSection

**Minimal reproduction project:**
<!-- A small Godot project which reproduces the issue. Drag and drop a zip archive to upload it. -->
Repository: youtube-dl
Issue: ValueError: Empty certificate data! What can i do ?
Labels: question

**I Dont Know What this is ? i am getting this error on every comand when i am windows exe build. what can i do ?
i am not that expert in this. so i need an easy solution please.

https://prnt.sc/12ds9th**

    ```
C:\Users\Minhajul Islam Rahat\Downloads\youtube-dl>youtube-dl -U
    Traceback (most recent call last):
    File "main.py", line 19, in
    File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl_init_.py", line 475, in main
    File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl_init_.py", line 442, in _real_main
    File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 422, in init
    File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 2386, in _setup_opener
    File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\utils.py", line 2297, in make_HTTPS_handler
    File "C:\Python\Python34\lib\ssl.py", line 439, in create_default_context
    File "C:\Python\Python34\lib\ssl.py", line 390, in load_default_certs
    File "C:\Python\Python34\lib\ssl.py", line 382, in _load_windows_store_certs
    ValueError: Empty certificate data

```
Repository: rust
Issue: Compiler generating extra memcpy, inconsistently depending on used types
Labels: A-LLVM,I-slow,T-compiler,C-bug

I'll preface with saying that the compiler was generating _much_ worse code before 1.52, with up to 4 `memcpy` calls where there should have been one. So the LLVM 12 upgrade was great :)

Here's the sample:
https://godbolt.org/z/TdPdWqq6q

As you can see, both `allocate_naive` and `allocate_ptr_write` generate two `memcpy` calls (and significant stack usage). Manual unsafe optimization with `allocate_separate_write` generates a single `memcpy`. The same can be observed on x86_64: https://godbolt.org/z/6Mq9vKP3s

If I replace `pub type Payload = RefCell<[u8; 1000]>;` with just `[u8; 1000]`, all three functions seem to generate good code with a single `memcpy` call: https://godbolt.org/z/8K7s8vbPa

Here's the weirdest part: with the original `Payload`, if I manually inline the `MyStruct` type parameter and turn `MyStruct` into a simple non-generic struct, it still generates bad code on wasm, but on x86_64 correctly optimized all functions into a single `memcpy`: https://godbolt.org/z/jsdrbGExW

Why does a seemingly-equivalent generic struct appears to generate worse code than a non-generic one?
Repository: electron
Issue: [Bug]: Docs should clarify what constitutes a second instance for a single instance lock
Labels: documentation :notebook:,stale-exempt

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/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.

### Electron Version

12.0.4

### What operating system are you using?

Windows

### Operating System Version

Windows 10 20H2

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

The docs should state clearly that Chromium is used to enforce the single instance lock, meaning the criteria is the same as in Chrome;/Chromium: The userData folder.

So a developer can control this behavior by changing the userData folder.
### Actual Behavior

The docs don't really make it clear what constitutes a single instance. Is it across ANY Electron application? Does it depend on app.name? app user model id? It's not really clear.

It is easy to find bug reports from confused developers, so I think adding this info to the docs would be helpful.

Examples: 

https://github.com/electron/electron/issues/24447
https://github.com/electron/electron/issues/23691

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: go
Issue: x/sys/unix: add IoctlSetIntPtr
Labels: Proposal,Proposal-Accepted,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->
### What did you expect to see?
Original discussion: #46058 

Some ioctl calls, such as https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html#setting-and-getting-the-timeout, modify the value in the ioctl call after the value is passed into the operation. Such ioctl calls are of the IOWR (IO write read) variant, as opposed to the IOR and IOW variants.

`IoctlSetPointerInt` is not able to return the modified value.

Proposed fix: 
```
// IoctlSetModifiablePointerInt performs an ioctl operation which sets a
// pointer to an integer value on fd, using the specified request number.
//
// Use this if the ioctl operation may modify the value.
func IoctlSetModifiablePointerInt(fd int, req uint, value *int) error {
	return ioctl(fd, req, uintptr(unsafe.Pointer(value)))
}
```
Repository: flutter
Issue: Make OpenContainer be triggered by a dragUp gesture
Labels: c: new feature,framework,f: material design,f: gestures,c: proposal,team-design,triaged-design

## Use case
I want to implement `OpenContainer` through a dragUp event. Its behavior is only for `onTap` gesture that we can't control. Also a `dragUp` gesture could help to usability for scenarios when OpenContainer is implemented within  a modal bottom sheet.

## Proposal
Add as named parameter if the behavior of `OpenContainer` is gonna be triggered by an `onTap` as well as another gesture such as `dragUp`.
Repository: pytorch
Issue: Circular padding in Convolution layers should not only be wrap for once.
Labels: module: nn,module: convolution,triaged,enhancement,module: padding

## 🚀 Feature
circular padding should not wrap only once.

## Motivation

is that reasonable? When i want to use convolution layers with circular padding with large padding size, i must call `pad` function several times, such as:
```
x = torch.rand(batchsize, channels, 10,10)
x = pad(x, padding=(10, 10, 10, 10), padding_mode='circular')
x = pad(x, padding=(5, 5, 5, 5), padding_mode='circular')
conv = Conv2d(10, 10, kernal_size=(3,3), padding=0, dilation=15)
x = conv(x)
```

I will appreciate a lot if you can reply me!

## Pitch

But it can cause lots of problems in my downstream processing. What i want is just using like this:
```
x = torch.rand(batchsize, channels, 10,10)
conv = Conv2d(10, 10, kernel_size=(3,3), padding=15, dilation=15, padding_mode = 'circular')
x = conv(x)
```
which wiil cause:
```
AssertionError: Padding value causes wrapping around more than once.
```


## Alternatives

I can only pad many times which can cause lots of problems.

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->


cc @albanD @mruberry @jbschlosser
Repository: flutter
Issue: Do not pull packages from pub during Engine repo setup or build.
Labels: team,engine,P2,team-engine,triaged-engine

All of the Dart package dependencies that the Engine needs to build are already coming in through the DEPS file, so the additional packages pulled from pub during the Engine's `gclient sync` are not needed. In particular, the step here:

https://github.com/flutter/engine/blob/1825befbc72d2f369b6ec8def7fd5362cfd10f0e/DEPS#L605

Invokes the Dart program here through `pub global activate`:

https://github.com/flutter/engine/tree/1825befbc72d2f369b6ec8def7fd5362cfd10f0e/tools/generate_package_config

However, this program exists only to generate `.dart_tool/package_config.json` files for the Dart programs built during the Engine build. Instead, these files could be generated by a `pub get --offline` so long as all of the dependencies listed in the `pubspec.yaml` files have "path" dependency overrides pointing at the package locations in the Engine checkout.

This will go in a few steps:
1. Remove the dependency of `flutter_frontend_server` on `package:test` and `package:mockito` (to simplify further steps).
2. Rewrite the `pubspec.yaml` files for `const_finder` and `flutter_frontend_server` to use path dependency overrides.
3. Rewrite run_third_party_dart.py to use `pub get --offline`.
4. Delete dead code (`generate_package_config` and the python script that calls it).
Repository: flutter
Issue: [Web][Desktop][Proposal]: Pressing tab key to focus on buttons, instead of next TextField. 
Labels: platform-web,c: proposal,a: desktop,P2,team-framework,triaged-framework

required on pressing tab key it bypass the focus on those widget which tabstop off. this features exist in desktop application butt in flutter not yet. please add this feature as soon as possible thanks
Repository: go
Issue: x/tools/gopls: updates to go.sum needed, disabled by -mod=readonly with experimentalWorkspaceModule
Labels: NeedsInvestigation,gopls,Tools

<!--
Please answer these questions before submitting your issue. Thanks!
For questions please use one of our forums: https://github.com/golang/go/wiki/Questions
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go1.15.7 darwin/amd64
VSCode Go extension v0.24.2
gopls v0.6.11

</pre>

### Does this issue reproduce with the latest release?



### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/chenweizhi/Library/Caches/go-build"
GOENV="/Users/chenweizhi/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/chenweizhi/go/pkg/mod"
GONOPROXY="*.sankuai.com,*.dianpingoa.com"
GONOSUMDB="*.sankuai.com,*.dianpingoa.com"
GOOS="darwin"
GOPATH="/Users/chenweizhi/go"
GOPRIVATE="*.sankuai.com,*.dianpingoa.com"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/chenweizhi/workspace/blade/blade-operator/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 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ky/6_7vdv752_51h7vsm1ttmzvr0000gn/T/go-build362859145=/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 play.golang.org is best.
-->

The issue I encountered may be the same as https://github.com/golang/go/issues/44097.
VSCode settings for gopls:
```json
"gopls": {
        "build.experimentalWorkspaceModule": true,
        "build.expandWorkspaceToModule": true
    }
```
There are 2 go modules in my project, and  VS Code prompt that `go.sum is out of sync with go.mod. Please update it by applying the quick fix.`, but I can't fix it unless I delete one of the them.

### What did you expect to see?
Figure it out and fix this problem in a graceful way.
Repository: next.js
Issue: [Example Bug] | MDB-React | create-next-app outputs errors
Labels: examples,bug

### What example does this report relate to?

with-mdbreact-app

### What version of Next.js are you using?

10.2.0

### What version of Node.js are you using?

15.8.0

### What browser are you using?

Firefox

### What operating system are you using?

Windows 10

### How are you deploying your application?

create-next-app

### Describe the Bug

Whenever i try to run the example of mdbreact using `npx create-next-app --example with-mdbreact with-mdbreact-app`,
i receive the following output:
```
Creating a new Next.js app in D:\Users\Win10\Desktop\Visual Studio\Visual Studio Code\Projects\Testings\test-nextjs\with-mdbreact-app.

Downloading files for example with-mdbreact. This might take a moment.

Installing packages. This might take a couple of minutes.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR!   react@"17.0.1" from the root project
npm ERR!   peer react@"*" from mdbreact@5.0.2
npm ERR!   node_modules/mdbreact
npm ERR!     mdbreact@"^5.0.0" from the root project
npm ERR!   2 more (react-dom, next)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0" from @material-ui/core@3.9.3
npm ERR! node_modules/mdbreact/node_modules/@material-ui/core
npm ERR!   @material-ui/core@"3.9.3" from mdbreact@5.0.2
npm ERR!   node_modules/mdbreact
npm ERR!     mdbreact@"^5.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Win10\AppData\Local\npm-cache\_logs\2021-05-09T06_32_12_044Z-debug.log

Aborting installation.
  npm install --loglevel error has failed.
```

### Expected Behavior

It should just install the dependencies i guess with no errors.

### To Reproduce

Just run `npx create-next-app --example with-mdbreact with-mdbreact-app`
Repository: rust
Issue: Unknown feature not reported in presence of another error
Labels: A-diagnostics,T-compiler,C-bug,requires-nightly

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

[I tried this code:](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=990a1b92db6ab8d4ee0f301e05d336fc)

```rust
#![feature(const_generics, const_evaluable_checked)]
#![allow(incomplete_features)]

pub trait Condition<const C: bool> {}

pub trait IsTrue {}

impl IsTrue for dyn Condition<true> {}

pub trait Metadata {
    const TAG: Tag;
}

pub trait ValidMetadata {}

impl<A: Metadata> ValidMetadata for A
    where dyn Condition<{ valid(A::TAG) }>: IsTrue
{}

pub const fn valid(TAG: Tag) -> bool {
    !TAG.const_eq(Tag::EOC)
}

#[derive(Debug, Clone, Copy, Eq, PartialEq, PartialOrd, Ord)]
pub struct Tag;

impl Tag {
    pub const EOC: Tag = Tag;

    pub(crate) const fn const_eq(self, rhs: Self) -> bool {
        true
    }
}
```

I expected to see this happen: *An error that reports that `const_evaluable_checked` is an unknown feature, and see and error about `constant expression depends on a generic parameter`*

```
error[E0635]: unknown feature `const_evaluable_checked`
 --> src/main.rs:1:28
  |
1 | #![feature(const_generics, const_evaluable_checked)]
  |                            ^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error; 2 warnings emitted
```

Instead, this happened: *I only see the error about `constant expression depends on a generic parameter`, and nothing about the unknown feature*

```
error: constant expression depends on a generic parameter
  --> src/main.rs:17:53
   |
17 |     where dyn Condition<{ valid_asntype(A::TAG) }>: IsTrue
   |                                                     ^^^^^^
   |
   = note: this may fail depending on what value the parameter takes

error: aborting due to previous error

error: could not compile `playground`

To learn more, run the command again with --verbose.
```


### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
1.54.0-nightly (2021-05-08 881c1ac408d93bb7adaa)
```
Repository: transformers
Issue: Key Error: 'pre-processing' during conversion from tatoeba to Marian model
Labels: WIP

## Environment info

- `transformers` version: `4.6.0.dev0`
- Platform: `CentOS Linux release 7.7.1908 (Core)`
- Python version: `3.8.5`
- PyTorch version: `1.8.1 + cuda 10.2`
- Tensorflow version: N/A
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No

### Who can help

Marian: @patrickvonplaten , @patil-suraj 

## Information

Model I am using (Bert, XLNet ...): Marian

The problem arises when using:
* [x] the official example scripts: tatoeba to marian model script
* [ ] my own modified scripts

The tasks I am working on is:
* [x] an official GLUE/SQUaD task: machine translation
* [ ] my own task or dataset

## To reproduce


Following the script from [scripts/tatoeba/README.md ](https://github.com/huggingface/transformers/tree/master/scripts/tatoeba)
1. 
```git clone git@github.com:huggingface/transformers.git
cd transformers
pip install -e .
pip install pandas GitPython wget
```
2. 
```
curl https://cdn-datasets.huggingface.co/language_codes/language-codes-3b2.csv  > language-codes-3b2.csv
curl https://cdn-datasets.huggingface.co/language_codes/iso-639-3.csv > iso-639-3.csv
```
3. `git clone git@github.com:Helsinki-NLP/Tatoeba-Challenge.git`
4. `python src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py --models kor-eng eng-kor --save_dir converted/`

Error message:
```
Traceback (most recent call last):
  File "src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py", line 1267, in <module>
    resolver = TatoebaConverter(save_dir=args.save_dir)
  File "src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py", line 58, in __init__
    reg = self.make_tatoeba_registry()
  File "src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py", line 258, in make_tatoeba_registry
    return [(k, v["pre-processing"], v["download"], v["download"][:-4] + ".test.txt") for k, v in results.items()]
  File "src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py", line 258, in <listcomp>
    return [(k, v["pre-processing"], v["download"], v["download"][:-4] + ".test.txt") for k, v in results.items()]
KeyError: 'pre-processing'
```

## Expected behavior

Conversion of the model from Tatoeba to Marian for the chosen language pair with no errors.
Repository: rust
Issue: Idea: A lint to allow user to convert usages of "drop flag"s into warning or error.
Labels: C-enhancement,A-lints,T-compiler,A-MIR

Currently "drop flag"s (no longer called this, i think) are still generated within scope, and will generated extra conditional code to deal with cases. I think it would be nice if there's a lint (which always defaults to allow) to allow user to easily detect or deny such cases, since there's codegen quality implications especially if the code is short.
Repository: angular
Issue: Support Typescript incremental build
Labels: feature,area: compiler,feature: under consideration

<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅

Oh hi there! 😄

To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.

🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🚀 Feature request
```
- [ ] new
- [x] build
- [x] serve
- [x] test
- [x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
```

### Description
Support of Typescript incremental build https://devblogs.microsoft.com/typescript/announcing-typescript-3-4-rc/
Repository: node
Issue: Proposal: Introduce codemod tools for long-term refactoring works
Labels: discuss

I noticed that there has been a lot of work to refactor the codebase, for example:

- Reuse the validation in `lib/internal/validators.js`: [PR search results](https://github.com/nodejs/node/pulls?q=is%3Apr+refactor+validate+label%3A%22lib+%2F+src%22)
- Migration of core modules to primordials: https://github.com/nodejs/node/issues/30697

I guess codemod tools may help in these cases. Actually this PR https://github.com/nodejs/node/pull/38608 is finished by the codemod script here https://github.com/pd4d10/nodejs-codemod (a rough MVP version, may have some bugs)

Can't say it saves lots of time in this case, because there are not many changes. But it may be useful in the future, especially as the codebase grows.
Repository: godot
Issue: When creating a new MeshInstance snapping doesn't work before re-clicking . . .
Labels: bug,topic:editor

**Godot version:**
Godot 3.3 . .

**OS/device including version:**
Windows . .

**Issue description:**
When I make a MeshInstance node, with snapping on, when it immediately enters the scene, ' snapping ' is off, ie. it doesn't move in snap ' increments ' . . I have to click something else and, click it again, then it works . .

See here . .

![2021-05-09 1226](https://user-images.githubusercontent.com/83387915/117568709-1fe24a80-b0c2-11eb-85e7-4690e0874c9d.gif)

Snapping was on, ie. icon was 'active', yet by default snapping isn't on, when creating a new object . . This is a bit frustrating, since it happens a lot of times, and sort of, wastes the users time . . I'm not sure why this is happening, though . . Maybe it's a bug, maybe it's normal . .

**Steps to reproduce:**
Enable snapping, make a 'new' objects, and move it, before clicking anything else . . Then, snapping doesn't work, but it works, after de-selecting . . Not sure it's a bug, can't say . . .

**Minimal reproduction project:**
Well, think the video above explains it, not really sure it's a bug, either . . Thx . . .