sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: target-feature diagnostics should run for check-builds
Labels: A-codegen,T-compiler,C-bug

Today any sort of checking done to verify the validity of the target features runs at codegen/post-monomorphization time. This means these issues are not visible for check builds and more importantly they also fail to show up for functions that do not get collected into a codegen unit. An example of this sort of problem is something I encountered when adjusting the `ui/target-feature/tied-features.rs` test, which if written like this:

```rust
// build-fail
// compile-flags: --crate-type=rlib --target=aarch64-unknown-linux-gnu
// needs-llvm-components: aarch64
#![feature(aarch64_target_feature, target_feature_11)]
#![feature(no_core, lang_items)]
#![no_core]

#[lang="sized"]
trait Sized {}

// FIXME: this should not need to be public.
/*pub */ fn main() {
    #[target_feature(enable = "pacg")]
    //~^ ERROR must all be either enabled or disabled together
    unsafe fn inner() {}

    unsafe {
        foo();
        bar();
        baz();
        inner();
    }
}

#[target_feature(enable = "paca")]
//~^ ERROR must all be either enabled or disabled together
unsafe fn foo() {}


#[target_feature(enable = "paca,pacg")]
unsafe fn bar() {}

#[target_feature(enable = "paca")]
#[target_feature(enable = "pacg")]
unsafe fn baz() {}
```

will not emit any errors. That's because the test is `rlib` and all of the functions are private, and therefore not collected. Since they are not collected, none of the validation code in the LLVM codegen implementation gets run.

We should move most of the target-feature related validation away from the `rustc_codegen_llvm` and to somewhere where this would be run for `cargo check` and similar.

---

This requires some deliberation on the exact approach used, however. In some cases the features are global and specified via CLI flags, in other cases they are function-specific and specified via attributes as seen above. Finally there is translation from the rustc feature names to the backend specific feature names, which needs to remain in the backend.

Oh, and we need to have access to current features early on to derive `target_feature` `cfg`s from. And those may be affected by stuff like `-Ctarget-cpu=native`, and only the backend knows what that entails, really.
Repository: godot
Issue: Vulkan: Unused `use_half_res` push constant in the SSR shader
Labels: bug,topic:rendering,topic:3d

### Godot version

4.0.alpha (0393057e3)

### System information

Fedora 34, GeForce GTX 1080 (NVIDIA 495.46)

### Issue description

An `use_half_res` push constant value is set in the screen-space reflection shader:

https://github.com/godotengine/godot/blob/3fab862c590b706aa5c6211415d3854140dbc5d3/servers/rendering/renderer_rd/effects_rd.cpp#L638

In the GLSL shader, the push constant is not used anywhere: https://github.com/godotengine/godot/blob/3fab862c590b706aa5c6211415d3854140dbc5d3/servers/rendering/renderer_rd/shaders/screen_space_reflection.glsl#L32

Is this an implementation leftover, or an indication that half-resolution SSR should be implemented?

**Edit:** Looking at other parts of the renderer, it seems that SSR is already rendered at half resolution: https://github.com/godotengine/godot/blob/3fab862c590b706aa5c6211415d3854140dbc5d3/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp#L1971-L1972

### Steps to reproduce

Look at the above code :slightly_smiling_face: 

### Minimal reproduction project

N/A
Repository: godot
Issue: Vulkan: Sprite3D Billboard doesn't work with ORMMaterial3D
Labels: bug,topic:rendering,topic:3d

### Godot version

4.0 alpha 3 build

### System information

Windows 10

### Issue description

`Sprite3D` with `Billboard` turned on works fine so long as you don't apply an `ORMMaterial3D` in the `Material Override` slot
![image](https://user-images.githubusercontent.com/88465477/155910082-3fd48644-63f4-4369-a769-202d6fe54a76.png)

For whatever reason, the quad that the Sprite3D should display on becomes filed instead of hidden when the material override is applied.  I assume the material is making it visible as when you apply a texture to the albedo, you can see the texture on the quad, and the filtering (which is the purpose of applying the material) isn't applying to the billboarded image

![image](https://user-images.githubusercontent.com/88465477/155910294-a499738d-0998-4118-b644-1c86b3f0fdf1.png)


### Steps to reproduce

1) Make a new project with a new Scene using a `Sprite3D`
2) put the icon.png into the `Texture` slot of the `Sprite3D`
3) in `Flags` set Billboard to `Enabled`
-- the Sprite3D should billboard just fine here --
4) in `Geometry` set `Material Override` to a new `ORMMaterial3D`
--the Quad that the Sprite3D should originally be produced on becomes visible --

### Minimal reproduction project

[Sprite3D_bug.zip](https://github.com/godotengine/godot/files/8149963/Sprite3D_bug.zip)
Repository: terminal
Issue: Quake Mode should remember its size
Labels: Help Wanted,Issue-Bug,Product-Terminal,Priority-3,Area-Windowing

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

I often want the Quake Mode terminal window to be different sizes,  depending on what I'm doing at the time. However, the window size always resets upon closing and reopening.

There can be a setting in the config file to allow the Quake Mode window to remember its size upon opening/closing.
Repository: flutter
Issue: [add to app][multiple_flutters]how to pass params to Flutter module
Labels: framework,d: examples,a: existing-apps,P2,team-framework,triaged-framework

how can I pass params from Native to Flutter with Flutter Engine Groups API?

@pragma('vm:entry-point')
void topMain() => runApp(const MyApp(color: Colors.green));

for example. I want to run with Flutter "topMian" with a param "BookId"

➜  ~ flutter doctor
[✓] Flutter (Channel stable, 2.8.1, on Mac OS X 10.15.7 19H2 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version
    31.0.0-rc4)
Repository: youtube-dl
Issue: Add support for LAXD (NSFW)
Labels: site-support-request

<!--

######################################################################
  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:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running youtube-dl version **2021.12.17**
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that none of provided URLs violate any copyrights
- [X] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

- Single video (NSFW ASMR): https://video.laxd.com/a/content/SQSSQRQZn6NPRchc


## Description

FC2 adult video seems to be transferring their videos to this new website (lots of them are now unavailable/tagged as deleted on FC2 Video).
Repository: bitcoin
Issue: Apparently CJDNS network does not work with Tor on mainnet.
Labels: Bug

Apparently CJDNS network does not work with Tor on mainnet.

**Expected behavior**

Both networks should work.

**Actual behavior**

When monitoring connections via `./src/bitcoin-cli  -netinfo 4`, this does not show any CJDNS peers if Tor is enabled.
If the Tor proxy is commented out in the configuration file, the CJDNS peers will be connected.

**To reproduce**

Install Tor, I2P and CJDNS services on Fedora / Debian.

Add the following items to `bitcoin.conf` file:
```
[main]
proxy=127.0.0.1:9050
cjdnsreachable=1
i2pacceptincoming=1
i2psam=127.0.0.1:7656
addnode=fcc7:be49:ccd1:dc91:3125:f0da:457d:8ce
addnode=fc32:17ea:e415:c3bf:9808:149d:b5a2:c9aa
addnode=sedndhv5vpcgdmykyi5st4yqhdxl3hpdtglta4do435wupahhx6q.b32.i2p:0
addnode=zsxwyo6qcn3chqzwxnseusqgsnuw3maqnztkiypyfxtya4snkoka.b32.i2p:0
addnode=wwbw7nqr3ahkqv62cuqfwgtneekvvpnuc4i4f6yo7tpoqjswvcwa.b32.i2p:0
addnode=opnyfyeiibe5qo5a3wbxzbb4xdiagc32bbce46owmertdknta5mi7uyd.onion:8333
addnode=rp7k2go3s5lyj3fnj6zn62ktarlrsft2ohlsxkyd7v3e3idqyptvread.onion:8333
addnode=xqt25cobm5zqucac3634zfght72he6u3eagfyej5ellbhcdgos7t2had.onion:8333
```
Run Bicoin Core. With the configuration above, there can be IPv4, onion and I2P peers, but not CJDNS.
Stop Bitcoin Core, comment out `proxy=127.0.0.1:9050` and restart it. There can be IPv4, CJDNS and I2P

**System information**
Bitcoin Core was compiled from master (last commit `ee8c9971256`). Ran on Fedora Linux 35. 
Same behavior observed on Debian 11.
Repository: godot
Issue: Large log files prevent game from starting
Labels: bug,topic:core

### Godot version

v3.4.3.rc1.official [894b6d504]

### System information

Mac OSX (Intel 2019)

### Issue description

Sometimes there's a bug in my game, and it's spamming log files. That's ok, but when I try to launch the game again it won't start.

<img width="526" alt="Screenshot 2022-02-28 at 12 05 14" src="https://user-images.githubusercontent.com/100964/155954946-2a28b4ee-c826-4001-a621-3fdf67e5cdc4.png">

For some reason Godot is trying to read these logs when the game starts?

### Steps to reproduce

1. Add a huge log file to your logs folder.
2. Game will refuse to start

### Minimal reproduction project

_No response_
Repository: PowerToys
Issue: [PT Run] Image cache corrupt
Labels: Issue-Bug,Product-PowerToys Run,Severity-Regression,Priority-2,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

RC v0.56.0

### Running as admin

- [ ] Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Some of the last changes corrupted image cache of PT Run. Icons shown incorrectly.
Maybe after a crash, but I am not sure. Deleting image cache file fixes the bug.

### ✔️ Expected Behavior

Correct image for each entry.

### ❌ Actual Behavior

Incorrect images.

### Other Software

_No response_

### Screenshots

Expected | Actual
------------ | -------------
![image](https://user-images.githubusercontent.com/61519853/155967863-3e0dc145-3aee-4e58-ad6f-d6afa1acb5bc.png) | ![image](https://user-images.githubusercontent.com/61519853/155967442-cbca901b-8e18-494b-bb18-101189cff0b1.png)
![image](https://user-images.githubusercontent.com/61519853/155967774-e68b7822-eebf-4488-92df-71d189707564.png) | ![image](https://user-images.githubusercontent.com/61519853/155967528-da05ef55-a7c7-4961-b7b5-34eaa8ac574e.png)
Repository: pytorch
Issue: `index_copy` has different index behavior with `index_fill`
Labels: triaged,module: advanced indexing

### 🐛 Describe the bug

`index_copy` has different index behavior with `index_fill` when indexing a scalar tensor

```python
import torch
input_tensor = torch.rand([], dtype=torch.float64)
dim = 0
index= torch.tensor(-1, dtype=torch.int64)
value= torch.rand([], dtype=torch.float64)

input_tensor.clone().index_fill(dim, index, value)
# succeed
input_tensor.clone().index_copy(dim, index, value)
# IndexError: index_copy_(): index -1 is out of bounds for dimension 0 with size 1
```

### Versions

pytorch: 1.10.1
Repository: pytorch
Issue: `ge` and `div` behaves differently when converting an overflow number
Labels: triaged,module: type promotion,module: edge cases

### 🐛 Describe the bug

`ge` and `div` behaves differently when converting an overflow number

```python
import torch
results = dict()
input = torch.randint(0,4,[], dtype=torch.uint8)
value = 2110
torch.div(input, value, rounding_mode="trunc")
# tensor(0, dtype=torch.uint8)
torch.ge(input, value)
# RuntimeError: value cannot be converted to type uint8_t without overflow: 2110
```

When is the appropriate time to convert the value?

### Versions

pytorch: 1.10.1

cc @nairbv @mruberry
Repository: vscode
Issue: Word wrap with indentation does not work well with editor messages
Labels: bug,editor-core

![image](https://user-images.githubusercontent.com/2931520/155989405-72e9ddcf-09f3-4268-a153-6930a0cfa7d6.png)
Repository: pytorch
Issue: Figure out what to do with functions that take both Tensor and TensorOptions
Labels: triaged,module: codegen

### 🐛 Describe the bug

https://github.com/pytorch/pytorch/pull/72881/files#r815359191

The proximal cause of the problem is that api.python will only recognize tensor option arguments `if is_factory_function or is_like_or_new_function`. 

There is something a bit questionable about the `_nested_tensor` type signature but it's not entirely clear that we should prevent people from accepting TensorOptions arguments as keyword arguments if it fails the pattern. Some discussion necessary. Maybe a correct analogy is the `torch.tensor` constructor, but this one is not available from `native_functions.yaml`

### Versions

master

cc @ezyang @bhosmer @bdhirsh
Repository: pytorch
Issue: Idiom for extensible string printing for TensorImpl subclasses
Labels: module: internals,module: printing,triaged

### 🐛 Describe the bug

https://github.com/pytorch/pytorch/pull/72881/files#r813335202

@cpuhrsch tells us that for out of tree TensorImpl extensions, there is no good way to override string printing behavior. Ordinarily, if you were to subclass a Tensor, you could simply override `__repr__` and `__str__` to provide your desired behavior. However, for a TensorImpl subclass, by default these present in Python as just plain Tensor, so you don't have the subclass interposition point, and the printing function `_tensor_str` doesn't have any provision for extensibility in this way.

It's probably worth explicitly specifying that if you're cool enough to have an allocated DispatchKey in core, you're also cool enough to have a hook in `_tensor_str` for dynamic dispatching your printing algorithm somewhere else. Another thought is that you can use the XLA tensor style hook to override which subclass your tensor presents as, see https://github.com/pytorch/pytorch/blob/b213041df304c05980b3209dddf1b595699c8b74/torch/csrc/autograd/python_variable.cpp#L164 

### Versions

master

cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh
Repository: pytorch
Issue: Implement SiLU method for the QuantizedCPU backend
Labels: oncall: quantization,low priority,triaged

### 🚀 The feature, motivation and pitch

SiLU is a very popular activation function, among others thanks to the EfficientNet backbone family. Currently there is no way to quantize EfficientNet based models as one is getting the following error:
`NotImplementedError: Could not run 'aten::silu.out' with arguments from the 'QuantizedCPU' backend.`

Implementing SiLU activation functions would allow EfficientNet to be quantized properly.

### Alternatives

Alternatively, one can replace SiLU with ReLU once preparing model for quantization but the drop in model performance/accuracy is too large to consider it as a valid solution especially for static quantization.


### Additional context

_No response_

cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel
Repository: rust
Issue: Query filling bug in docs search on 404 page
Labels: T-rustdoc,C-bug,A-rustdoc-search

Steps to reproduce:

1. Go to the https://doc.rust-lang.org/std/std/ or any path with at least two parts (like https://doc.rust-lang.org/qqq/qq)
2. You would get 404 page from [here](https://doc.rust-lang.org/std/std/)
3. Search input is empty
4. Click "search" button

Actual behavior:
5. Search input is filled with `index html?search=`, url is chaged to https://doc.rust-lang.org/std/std/std/index.html?search=
6. Click "search" button again
7. Search input is filled with `index html?search=index%20html%3Fsearch%3D`, url is changed to https://doc.rust-lang.org/std/std/std/std/index.html?search=index%20html%3Fsearch%3D
8. Click more for more input and longer urls.

Expected behavior:
5. Search input filled with whole path or its last part. No index.html in proposed query.
Repository: youtube-dl
Issue: Gala.de German tabloid 
Labels: site-support-request

<!--

######################################################################
  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:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x ] I'm reporting a new site support request
- [ x] I've verified that I'm running youtube-dl version **2021.12.17**
- [ x] I've checked that all provided URLs are alive and playable in a browser
- [x ] I've checked that none of provided URLs violate any copyrights
- [x ] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs
https://www.gala.de/amp/lifestyle/persoenlichkeitstest--was-erkennen-sie-auf-diesem-bild--22606386.html
<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

A news page on a tabloid page were the contetnt is in a video.
Repository: PowerToys
Issue: Running Installer when already Installed
Labels: Idea-Enhancement,Area-Setup/Install

### Microsoft PowerToys version

0.55.2

### Running as admin

- [X] Yes

### Area(s) with issue?

Installer

### Steps to reproduce

When I run the installer with an existing version or high already installed the installer returns exit code 1 which doesn't tell me anything.

### ✔️ Expected Behavior

Exit code of either 1638 (`ERROR_PRODUCT_VERSION`) or 1604

### ❌ Actual Behavior

Exit code 1

### Other Software

_No response_
Repository: electron
Issue: [Bug]: Electron window does not render, until resized.
Labels: bug :beetle:,platform/all,status/confirmed,has-repro-gist,14-x-y,15-x-y,16-x-y,17-x-y

### 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

17.1.0

### What operating system are you using?

Windows

### Operating System Version

Edition	Windows 10 Pro Version	21H1 Installed on	‎26/‎09/‎2020 OS build	19043.1526 Experience	Windows Feature Experience Pack 120.2212.4170.0

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

I expected the electron starter app, customized with my changes (see gist) to render 2 webviews, something like this

![image](https://user-images.githubusercontent.com/141554/156019793-c3482ac1-f4a6-4d20-99c6-6836e7285246.png)


### Actual Behavior

It refuses to render, until the window is resized. 
![image](https://user-images.githubusercontent.com/141554/156019866-2c027097-fd8d-4622-b436-3677f0db6cb0.png)


### Testcase Gist URL

https://gist.github.com/ryantheleach/cb60d5ed8e75f58ca2ec28c944567b45

### Additional Information

_No response_
Repository: pytorch
Issue: Teach tools.codegen.api.translate about IValues
Labels: module: bootcamp,triaged,better-engineering,module: codegen

### 🐛 Describe the bug

IValue to C++ conversion logic has been independently reimplemented twice at https://github.com/pytorch/pytorch/pull/72602 and https://github.com/pytorch/pytorch/pull/69881 there should be a centralized implementation in translate.

### Versions

master

cc @ezyang @bhosmer @bdhirsh
Repository: terminal
Issue: Passing a commandline to an elevate:true profile on the commandline doesn't separate args
Labels: Help Wanted,Issue-Bug,Product-Terminal,Priority-2,Area-Commandline

(from a teams convo)

> I bet that
> 
> ```
> wt --profile "Admin Cmd" -- cmd.exe /c D:\os\src\tools\razzle.cmd amd64fre developer_dir D:\Repos\developer\groups\jevansa no_opt
> ```
> 
> would work

> ```[error 2147942402 (0x80070002) when launching `"cmd.exe /c D:\os\src\tools\razzle.cmd amd64fre developer_dir D:\Repos\developer\groups\jevansa no_opt"']```
> I ran: `wt --profile "Admin Cmd" -- cmd.exe /c D:\os\src\tools\razzle.cmd amd64fre developer_dir D:\Repos\developer\groups\jevansa no_opt`
> 
> I think it's still trying to take the whole string and pass to CreateProcess. Is there a way to get it split up?


> it might be the fact that when you do have an `elevate:true` profile, we have to `CreateProcess` another terminal process, and I bet we're passing the whole bit after `--` as a single arg to the elevated wt
Repository: godot
Issue: settings joint_type in PhysicalBone3D does nothing in runtime
Labels: bug,topic:physics,needs testing,topic:3d

### Godot version

v4.0.alpha.custom_build [039ffda99]

### System information

Linux, Vulkan

### Issue description

Settings joint_type does nothing when i change it in runtime

### Steps to reproduce

I tried doing it via the value and via set_joint_type()
both do nothing

### Minimal reproduction project

[BoneJoint.zip](https://github.com/godotengine/godot/files/8156922/BoneJoint.zip)