sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: Audit packages/flutter hashCode implementations for style guide violations/incorrectness
Labels: framework,P2,c: tech-debt,team-framework,triaged-framework

Noticed this while working on https://github.com/flutter/flutter/pull/85370

There are a few hashCode overrides that ignore members of the class for reasons that don't quite make sense. The style guide says to use `hashValues`.
Repository: vscode
Issue: Custom editors: implement proper untitled editor factory
Labels: debt,custom-editors,workbench-untitled-editors

Now that we have a untitled editor factory, custom editors should respect the untyped input that is passed in properly:
* if no resource is given, generate a resource with a counter but keep track of editors and decrement once closed/disposed so that the counter does not just increase
* if a associated resource is given, make sure to preserve that state [1]

https://github.com/microsoft/vscode/blob/d0ca6c7003063cd07a85bef42eab61f92797de8a/src/vs/workbench/contrib/customEditor/browser/customEditors.ts#L131-L133

[1] untitled with associated resource
* run from the command line `code <some path that does not exist for a custom editor file>`
* expect the custom editor to open this file, showing the path and being dirty directly
* expect saving to not prompt for a path but using that path

Related issue for notebooks: https://github.com/microsoft/vscode/issues/125028
Repository: godot
Issue: Subresources are missing Script field in inspector
Labels: bug,topic:editor

### Godot version

3.3.2.stable.mono.official

### System information

Windows 10

### Issue description

When Resource types expose a Resource typed field, assigned, objects as sub-Resources (= non-externally linked) don't show their Script field in the inspector.
![grafik](https://user-images.githubusercontent.com/8841352/123510462-fedab680-d67b-11eb-99f3-b5a73b22e45c.png)


### Steps to reproduce

Create something that exposes a Resource typed field, assign a new Resource from the inspector, and see the Script field not being displayed for it.

### Minimal reproduction project

_No response_
Repository: youtube-dl
Issue: Is there anyway to get only videos with a creator?
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

I think the title explains it very well, i want to get only videos, which have a creator.
I dont mean the uploader of a video (every video as one), i mean the creator, i think you know what i mean
Is there any way to pass this in options? I didnt find anything in readme

Have a great day :D
Repository: PowerToys
Issue: Display mouse location and windows clipboard manager not working after switching 'ctrl' and 'alt'
Labels: Issue-Bug,Help Wanted,Product-Keyboard Shortcut Manager,Priority-2,Status-Reproducible

### Microsoft PowerToys version

0.37.1

### Running as admin

- [X] Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

Apply the following remapping

![image](https://user-images.githubusercontent.com/6374697/123516955-4c354300-d6d1-11eb-858c-c9c8444d3373.png)



### ✔️ Expected Behavior

There is an option in the Mouse Configuration

![image](https://user-images.githubusercontent.com/6374697/123517002-8272c280-d6d1-11eb-8b45-efd0f59ec54e.png)

> Display the location of mouse when clicking CTRL

The windows clipboard manager (win + v) will paste the correct stuff.

### ❌ Actual Behavior

However, it won't work if I type the LEFT ctrl. But the RIGHT ctrl works fine.

Moreover, the windows clipboard manager (win + v) won't work. The manager window will open, but nothing is pasted if I choose something.

### Other Software

_No response_
Repository: vscode
Issue: [json] create diagnostics text out of markdownDeprecationMessage
Labels: feature-request,json

1. Specify `markdownDeprecationMessage` in extension settings contributions:

```js
"markdownDeprecationMessage": "Deprecated in favor of `#errorLens.messageTemplate#`.\n\nhttps://github.com/usernamehw/vscode-error-lens/issues/92",
```

2. `settings.json` renders `markdownDescription` properly but not `markdownDeprecationMessage`:

![markdown_deprecation](https://user-images.githubusercontent.com/9638156/123517746-63f9d080-d6ab-11eb-88ae-178eae5a5a2b.png)
Repository: godot
Issue: Godot Mono c#: using QueueFree() on a child of a Control Node doesn't fully remove it.
Labels: bug,topic:dotnet

### Godot version

Godot Engine v3.3.2.stable.mono.official

### System information

Windows 10, OpenGL ES 2.0 Renderer: GeForce GTX 1050/PCIe/SSE2

### Issue description

When I free a child from an HBoxContainer using QueueFree. The HBoxContainer still registers it as a valid instance, and is used when, for example calling GetChild(0);

Then when a function is called on a this ghost child and exception is throw, because it doesn't exist.

### Steps to reproduce

Fist of all, most of the time that I think I have found a bug it's ends up being that I was doing something wrong. So if that is the case here I apologize in advanced.
![Screenshot 2021-06-26 090005](https://user-images.githubusercontent.com/6559151/123517425-10ad6100-d65e-11eb-8209-f238bafa75d3.png)
I have this basic scene.

![Screenshot 2021-06-26 091449](https://user-images.githubusercontent.com/6559151/123517583-063f9700-d65f-11eb-80fd-5e2cc9a4bce3.png)
1.  On ready: it will add 20 PackedScene Instances of the ButtonScene, and connect a custom "NewSignal" signal to detect when each button is pressed; as well as adds them as children of the HBoxContainer.

![Screenshot 2021-06-26 090110](https://user-images.githubusercontent.com/6559151/123517592-19526700-d65f-11eb-909e-e64b28ecca7b.png)
2. The add20 function adds the 20 instances, selects a current button scene and sets Pressed to true; The current button ID is 1216
![Screenshot 2021-06-26 091434](https://user-images.githubusercontent.com/6559151/123518148-cd54f180-d661-11eb-8d4f-4c1ae774ec38.png)


![Screenshot 2021-06-26 090221](https://user-images.githubusercontent.com/6559151/123517751-f7a5af80-d65f-11eb-92c1-e774220482df.png)
3. The ResetButtons calls all the children and does a QueueFree on them. Then calls the add20() function again, effectively repopulating the HBoxContainer with 20 new ButtonScene Instances.

![Screenshot 2021-06-26 090133](https://user-images.githubusercontent.com/6559151/123517866-9cc08800-d660-11eb-895a-d498d9e65602.png)
4. However when the add20() function calls the _getFirstChild() function it still references the non-existant ID: 1216 button to set the currentButton. This also happens if i call GetChild(0) instead of  _getFirstChild().

5. And so when I click a button after this point I get an exception.


### Minimal reproduction project

[FreeChildrenAndSignalBug.zip](https://github.com/godotengine/godot/files/6720319/FreeChildrenAndSignalBug.zip)
Repository: go
Issue: proposal: x/tools/go/ssa: add Postdominator to Function/BasicBlock
Labels: Proposal

https://pkg.go.dev/golang.org/x/tools/go/ssa#Function  does not build or expose post-dominator relationships among its constituent basic basics.

I found it essential to find post dominance in SSA functions for a lock-unlock analysis [here (https://arxiv.org/pdf/2106.01710.pdf). 
The code using the post dominance can be seen [here](https://github.com/uber-research/GOCC/blob/master/tools/gocc/lupair.go#L159.).

Constructing and exposing post dominance in an SSA Function is relatively simple. It can reuse most of the code available for dominance. I have an example `buildPostdomtree()` [here](https://github.com/uber-research/GOCC/blob/master/tools/gocc/thirdparty/src/golang.org/x/tools/go/ssa/dom.go#L372).
We need to add APIs such as:

`func (b *BasicBlock) PostDominees() []*BasicBlock `
`func (b *BasicBlock) PostDominates(c *BasicBlock) bool `
`func (f *Function) PostdomPreorder() []*BasicBlock `
`func (f *Function) PostdomPostorder() []*BasicBlock {`
`func (b *BasicBlock) Ipdom() *BasicBlock` 

All of these are prototyped [here](https://github.com/uber-research/GOCC/blob/master/tools/gocc/thirdparty/src/golang.org/x/tools/go/ssa/dom.go).
Repository: pytorch
Issue: Where OpInfo doesn't handle cases where one of the inputs is a scalar
Labels: module: tests,triaged,module: sorting and selection

https://github.com/pytorch/pytorch/blob/master/torch/testing/_internal/common_methods_invocations.py#L4436

It'd be nice to cover the other cases as well.

cc @mruberry @VitalyFedyunin @walterddr @heitorschueroff
Repository: opencv
Issue: cv2 import error ( ImportError: /usr/lib/python2.7/dist-packages/cv2/python-2.7/cv2.so: undefined symbol: _ZTVN2cv6detail17BlocksCompensatorE)
Labels: wontfix,category: build/install


##### System information (version)

- Xavier Jetpack 4.3
- OpenCV => 4.1.1
- Operating System / Platform => Ubuntu18.04
- Python => 2.7.17


##### Detailed description

<!-- your description -->
To install autoware package, because it needs libopencv_XXX.so.3.2.0
I link the  libopencv_XXX.so.4.1.1 to  libopencv_XXX.so.3.2.0 ( **ln -s  libopencv_XXX.so.4.1.1  libopencv_XXX.so.3.2.0**)


And the **ldd cv2.so** result is like:
![截圖 2021-06-27 上午6 51 53](https://user-images.githubusercontent.com/60322917/123527783-cfc45380-d714-11eb-9726-85d5b3b24d5b.png)


After the above operation, I **can't import cv2 in Python.**
![截圖 2021-06-27 上午6 45 14](https://user-images.githubusercontent.com/60322917/123527573-61cb5c80-d713-11eb-87db-218711ad2d5b.png)
Repository: rust
Issue: Erroneous drop_bounds lint
Labels: A-lints,A-destructors,T-compiler,C-bug

<!--
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 ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=b80ea1984844c73d4c0a069b17d93167)):

```rust
trait Foo where Self: Sized + Drop + 'static {
    fn drop(me: *mut Self) {
        bar(me)
    }
}
pub fn bar(_: *mut dyn Drop) {}
```

I expected to see this happen: the code should compile without warning.

Instead, this happened: the compiler gave the following warning:
```
warning: bounds on `Self: Drop` are useless, consider instead using `std::mem::needs_drop` to detect if a type has a destructor
 --> src/lib.rs:1:31
  |
1 | trait Foo where Self: Sized + Drop + 'static {
  |                               ^^^^
  |
  = note: `#[warn(drop_bounds)]` on by default
```

But, the `Drop` bound is _not_ useless here — removing it causes the code to no longer compile. It's not clear if removing the bound _should_ make the code stop compiling, but that's a different matter (and perhaps a different bug?).

### Meta

`rustc --version --verbose`:
```
rustc 1.53.0 (53cb7b09b 2021-06-17)
binary: rustc
commit-hash: 53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b
commit-date: 2021-06-17
host: x86_64-unknown-linux-gnu
release: 1.53.0
LLVM version: 12.0.1
```

The warning also occurs on nightly.
Repository: rust
Issue: Cannot use function pointer with dynamic dispatch without identity cast
Labels: C-enhancement,A-diagnostics,T-compiler

I tried this code ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=e8ce60a7ea1a7626ff847862af25766d)):

```rust
pub trait Foo {}

impl Foo for fn(*mut dyn Drop) {}

pub fn bar(_: &dyn Foo) {}

pub fn baz() {
    fn good(_: *mut dyn Drop) {}
    
    // All good:
    bar(&(good as fn(*mut dyn Drop)));
        
    // No good:
    bar(&good);
}
```

I expected to see this happen: the code should compile.

Instead, this happened: compilation fails with the error

```
error[E0277]: the trait bound `fn(*mut (dyn Drop + 'static)) {good}: Foo` is not satisfied
  --> src/lib.rs:14:9
   |
14 |     bar(&good);
   |         ^^^^^ the trait `Foo` is not implemented for `fn(*mut (dyn Drop + 'static)) {good}`
   |
   = note: required for the cast to the object type `dyn Foo`
```

This _feels_ wrong, since the cast appears to be applying the identity function, but I could be missing something about how this is intended to work. Changing `dyn Drop` to `(dyn Drop + 'static)` (as the error message hints at) does not make a difference.

### 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`:
```
rustc 1.53.0 (53cb7b09b 2021-06-17)
binary: rustc
commit-hash: 53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b
commit-date: 2021-06-17
host: x86_64-unknown-linux-gnu
release: 1.53.0
LLVM version: 12.0.1
```

The warning also occurs on nightly.
Repository: rust
Issue: Tracking Issue for RFC 2948: Portable SIMD
Labels: T-libs-api,A-SIMD,C-tracking-issue,needs-rfc,PG-portable-simd,A-target-feature

Feature gate: `#![feature(portable_simd)]`

This is a tracking issue for the future feature chartered in RFC 2977, with the intent of creating something akin to the design in RFC 2948 (rust-lang/rfcs#2948): a portable SIMD library (`std::simd`).

Portable SIMD project group: https://github.com/rust-lang/project-portable-simd
Implementation: https://github.com/rust-lang/portable-simd

More discussion can be found in the [#project-portable-simd](https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd) zulip stream.

### Steps

- [X] Implement the experimental feature behind a feature gate:
  - https://github.com/rust-lang/rust/pull/89167
- [ ] Define the semantics explicitly.
- [ ] Write up an RFC detailing the design and defined semantics.
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- [ ] What will the overall design be?
- [ ] What are the ideal semantics for Masks?
- [ ] Are there any limits or vector sizes we should not support?
- [ ] How should these types interop with types like Saturating, NonZero, etc.?

### Implementation History

  - https://github.com/rust-lang/rust/pull/89167
  - https://github.com/rust-lang/rust/pull/91479

[doc-guide]: https://rustc-dev-guide.rust-lang.org/
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html
Repository: transformers
Issue: A fast tokenizer for BertJapaneseTokenizer
Labels: Feature request

We would like a fast tokenizer for BertJapaneseTokenizer. This is because the current token classification model (run_ner.py) requires using the fast tokenizer but BertJapaneseTokenizer does not have it. Because of this, we cannot do token classification for Japanese using cl-tohoku's BERT models.
Repository: pytorch
Issue: State of Torch Named Tensors
Labels: triaged,module: named tensor

What is the development status and plans on Named Tensors? I don't see any news or progress on it for the last six months at least. I want to use this feature for a system I'm building and am considering whether to build on top of Alex Rush' lib (http://nlp.seas.harvard.edu/NamedTensor) or extending the native but experimental feature. I would certainly prefer the latter but its codebase is C and I'm unsure of how robust or supported it is / will become.

cc @zou3519
Repository: PowerToys
Issue: add a placeholder to the search bar with an indication of the search language
Labels: Idea-Enhancement,Product-PowerToys Run

Add a placeholder to the search bar  PowerToys Run with an indication of the search language.
![2021-06-27 13-26-02 PowerLauncher](https://user-images.githubusercontent.com/33094469/123541148-a2df6300-d74b-11eb-80e3-c0096235bce6.png)
Repository: godot
Issue: The script editor does not remember vertical scrolling when Separate Distraction Mode is enabled in the editor settings
Labels: bug,topic:editor

### Godot version

3.3.2 stable official

### System information

w10 64

### Issue description

When switching between 2D and Script, the script editor is placed in a vertical scroll point that does not coincide with that of the user.

![gif gif](https://user-images.githubusercontent.com/19652075/123542316-572bba00-d749-11eb-85f7-6b72a29854d0.gif)


### Steps to reproduce

Activate the option "separate distraction mode" in the editor settings, in the "editor" section
Make a script with multiple lines to get scroll.
Scroll down the script editor.
Select one of the last lines of the block
Switch to 2D.
Go back to the script.
Check that the vertical scroll matches the one you had previously.

video ->https://youtu.be/kEVSS2ZttlA

### Minimal reproduction project

_No response_
Repository: godot
Issue: OS::shell_open blocks "Show in File Manager" when using xdg-open
Labels: bug,platform:linuxbsd,topic:porting,confirmed

### Godot version

3.3.1.stable.official

### System information

Arch Linux

### Issue description

When using blocking file managers (like `nemo` on `openbox`) when using the OS' s shell_open causes it to be in blocked mode until you close the file explorer / `killall nemo`. similar reference to #12188 as I assume it's due to the same case (OS::get_singleton()->shell_open blocks)

See here for reference:
https://github.com/godotengine/godot/blob/4fcc5891450a7dca9c8ebae6ff3765f5f060c442/editor/editor_file_dialog.cpp#L669

Referenced here:
https://github.com/godotengine/godot/blob/3a8bea3ae3652ec1054bb951fb8ec81cb2507f20/platform/x11/os_x11.cpp#L3168

which, funnily enough, goes to drivers/unix/os_unix.cpp:
https://github.com/godotengine/godot/blob/3a8bea3ae3652ec1054bb951fb8ec81cb2507f20/drivers/unix/os_unix.cpp#L263

there, we see there is a "p_blocking" parameter, which is set to "true" in os_x11.cpp for that shell_open command - on purpose?

gio doesn't block on it's own, but I have xdg-open available, which blocks. (example: 
```
06/27/21 14:43 - kuhnchris@~:> gio open file:///home/kuhnchris
06/27/21 14:44 - kuhnchris@~:> 
** (nemo:2941): WARNING **: 14:44:04.690: Current gtk theme is not known to have nemo support (Adwaita) - checking...
** (nemo:2941): WARNING **: 14:44:04.726: The theme appears to have no nemo support.  Adding some...
06/27/21 14:44 - kuhnchris@~:> 
(not blocked)

06/27/21 14:44 - kuhnchris@~:> xdg-open file:///home/kuhnchris
<blocked>
```

One possible alternative would be: 
* running setsid
 ```
06/27/21 14:49 - kuhnchris@~:> setsid xdg-open ~/   
06/27/21 14:49 - kuhnchris@~:> 
<non blocked>
```
* using "&" at the end of the command line (i.e. spawning a new shell, not sure that works tho)
* try setting p_blocking to "false"

Please let me know if I overlooked something.

Thanks,
Chris

### Steps to reproduce

* Right-click in File Explorer (in godot)
* "Open in File Manager"

### Minimal reproduction project

Not applicable as it is in the core project
Repository: transformers
Issue: Request: New LM Adapted checkpoints for T5
Labels: New model

# 🌟 New LM Adapted checkpoints for T5

## Description

Google released a new set of checkpoints for T5 v1.1. here:
https://github.com/google-research/text-to-text-transfer-transformer/blob/master/released_checkpoints.md#t511

Especially interesting for most people will be the checkpoints below, as finetuning T5 with a prompt or using T5 for conditional text generation is quite common and these checkpoints promise better performance. The default T5 v1.1 checkpoints have never seen sequences without sentinel tokens.

### LM-Adapted: t5.1.1.lm100k (copied from the readme)

These "LM adapted" models are initialized from t5.1.1 (above) and train for an
additional 100K steps on the LM objective discussed in the [T5 paper][paper].
This adaptation improves the ability of the model to be used for [prompt
tuning](https://arxiv.org/abs/2104.08691).

* **t5.1.1.lm100k.small** (~77 million parameters): [gs://t5-data/pretrained_models/t5.1.1.lm100k.small](https://console.cloud.google.com/storage/browser/t5-data/pretrained_models/t5.1.1.lm100k.small/)
* **t5.1.1.lm100k.base** (~250 million parameters): [gs://t5-data/pretrained_models/t5.1.1.lm100k.base](https://console.cloud.google.com/storage/browser/t5-data/pretrained_models/t5.1.1.lm100k.base/)
* **t5.1.1.lm100k.large** (~800 million parameters): [gs://t5-data/pretrained_models/t5.1.1.lm100k.large](https://console.cloud.google.com/storage/browser/t5-data/pretrained_models/t5.1.1.lm100k.large/)
* **t5.1.1.lm100k.xl** (~3 billion parameters): [gs://t5-data/pretrained_models/t5.1.1.lm100k.xl](https://console.cloud.google.com/storage/browser/t5-data/pretrained_models/t5.1.1.lm100k.xl/)
* **t5.1.1.lm100k.xxl** (~11 billion parameters): [gs://t5-data/pretrained_models/t5.1.1.lm100k.xxl](https://console.cloud.google.com/storage/browser/t5-data/pretrained_models/t5.1.1.lm100k.xxl/)

## Open source status

* [x] the model implementation is available: t5 v1.1. with geglu
* [x] the model weights are available: see links above
* [x] who are the authors: Brian Lester, Rami Al-Rfou, Noah Constant