sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/compile: under what circumstances does 1.18 generate significantly larger binaries than 1.17 when compiling the same source code?
Labels: NeedsInvestigation,compiler/runtime

### What version of Go are you using (`go version`)?

1.17 vs 1.18

### What operating system and processor architecture are you using (`go env`)?

linux/arm

### Details

Regarding output binary size, the go 1.18 release notes only talk about changes (relative to 1.17) that potentially reduce size of output objects, due to linker optimisations etc. But under what circumstances would we expect 1.18 to produce significantly larger binaries than 1.17 for the same code?

Example: we have a medium-sized project that runs on an embedded linux/arm system. In this environment both performance (we do a lot of crypto stuff) and size are important. Output binary sizes for 1.17 vs 1.18 are as follows:

```
ldflags | 1.17      | 1.18
--------+-----------+-----------
none    | 9548064   | 10586552
-w -s   | 6684672   | 7340032
```

Both with no build flags and with `-w -s` we see a binary size increase of around 10% between 1.17 and 1.18, which is quite significant. (Binaries produced by 1.17 and 1.18 are similarly performant for us, so these extra bytes are 'for nothing'.)

I am not sure whether this is strictly a 'compiler bug' or if there are circumstances where 1.18 simply produces more bloated code than 1.17. If that is true, it would be extremely useful to know what those circumstances are, so we can work around them, not migrate to 1.18 for our build process, etc.

Any light and wisdom on this would be much appreciated!

-Adrian
Repository: next.js
Issue: getServerSideProps not getting the updated cookie from the middleware
Labels: bug,Middleware,linear: next

### Verify canary release

- [X] I verified that the issue exists in Next.js canary release

### Provide environment information


Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 21.1.0
    Binaries:
      Node: 14.17.1
      npm: N/A
      Yarn: 1.22.17
      pnpm: N/A
    Relevant packages:
      next: 12.1.5-canary.4
      react: 17.0.2
      react-dom: 17.0.2


### What browser are you using? (if relevant)

Chrome Version 99.0.4844.84 (Official Build) (arm64)

### How are you deploying your application? (if relevant)

next start

### Describe the Bug

In the Middleware, when I set the cookie to some new value or a new cookie and I need to use it in the getServerSideProps, I cant able to get those cookies. 

### Expected Behavior

I can able to see the cookie in the browser, but the new/updated cookie should be present in getServerSideProps, aswell.

### To Reproduce

In Middleware.ts
```
  const pages = ['/home/'];
  async function middleware(request: NextRequest) {
      if (pages.includes(request.nextUrl.pathname)) {
        return nextResponse.cookie('newCookie','some value')
      }
   }
```
in [page.tsx]
```
export const getServerSideProps: GetServerSideProps = async (context) => {
   console.log(context?.req?.headers);
   return {props:{}}
}
```
I cant able to see the newCookie in the [page.tsx] console statement.
Repository: terminal
Issue: Double tooltip when hovering cursor over "Close" window button
Labels: Help Wanted,Issue-Bug,Product-Terminal,Priority-3,Area-Windowing

### Windows Terminal version

1.12.10733.0

### Windows build number

10.0.22593.0

### Other Software

NA

### Steps to reproduce

1. Open a terminal window
2. Hover mouse over the close button.
3. Observe double tooltip for the button.

### Expected Behavior

Only one tooltip is shown

### Actual Behavior

Two tooltips are being shown.

![image](https://user-images.githubusercontent.com/51435948/162664521-da24e533-f14f-4cfd-b890-bbbea2365192.png)

![image](https://user-images.githubusercontent.com/51435948/162664580-cffcd12a-6a78-483f-aac5-74c975d1b129.png)
Repository: rust
Issue: HRTB with nested lifetimes and explicit lifetime bounds fails.
Labels: A-type-system,A-lifetimes,A-trait-system,T-compiler,C-bug,T-types,A-higher-ranked

<!--
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:

```rust
trait Service<Req> {}

impl<'a, Req: 'a> Service<&'a Req> for u8 {}

fn main() {
    fn impl_check() where u8: for<'a, 'b> Service<&'a &'b u8> {}
    impl_check()
}
```

I expected to see this happen: *code compiles fine*

Instead, this happened: *`Implementation is not general enough` Error*

Removing the explicit lifetime bound on the impl fixes the problem:
```diff
- impl<'a, Req: 'a> Service<&'a Req> for u8 {}
+ impl<'a, Req> Service<&'a Req> for u8 {}
```

### 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.
-->
Reproduced on both the current stable and nightly branches.

`rustc --version --verbose`:
```
1.62.0-nightly (2022-04-09 8bf93e9b6791acee3a59)
```

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary>Error Output</summary>
<p>

```
error: implementation of `Service` is not general enough
 [--> src/lib.rs:7:5
](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021#)  |
7 |     impl_check()
  |     ^^^^^^^^^^ implementation of `Service` is not general enough
  |
  = note: `u8` must implement `Service<&'0 &'1 u8>`, for any two lifetimes `'0` and `'1`...
  = note: ...but it actually implements `Service<&'2 &'b u8>`, for some specific lifetime `'2`
```

</p>
</details>
@rustbot label A-typesystem, A-lifetimes, A-traits
Repository: PowerToys
Issue: Temporary layout switch
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

An addition to the quick layout switch during windows dragging: Switch the layout only for the current movement.

Could be either an option in the FancyZones section of the PowerToys Settings window, to change the behavior of the quick layout switch ([Shift]+[Number]), or an additional button ([Ctrl]+[Shift]+[Number]) to be pressed while dragging.


### Scenario when this would be used?

One could have one main layout and use another layout for only certain select situations.

In certain situations (e.g., side-by-side code review) it would be useful to have the main / center section to be wider than during 95% of the normal work.

### Supporting information

_No response_
Repository: create-react-app
Issue: Update " resolve-url-loader" to 5.0.0. 
Labels: needs triage,issue: bug report

### Describe the bug

react-scripts 5.0.0 is using "resolve-url-loader" 4.0.0  package as a cross dependency which in turn depends on "postcss" package of version 7.0.39 which has a security vulnerability. Please update the package to remove the vulnerability.
Repository: storybook
Issue: ng-deep style is not displayed in storybook
Labels: bug,needs triage

**Describe the bug**
SCSS file with :host ::ng-deep is not displayed in storybook, but it is displayed in application. Could it be that we are missing some configuration for storybook or some plugins? Or it is just a common issue with storybook with ng-deep.

**To Reproduce**
1. Make angular application.
2. Add storybook.
3. Create 2 SCSS one with :host ::ng-deep and one without.

Repository with this bug:
https://github.com/AleSergio/storybook-deep

**System**
Storybook result:
![image](https://user-images.githubusercontent.com/46831993/162677267-1e686bdb-f5e5-4fed-bd76-efb851d2f646.png)

Application result:
![image](https://user-images.githubusercontent.com/46831993/162677630-4046bb31-b655-4a4a-95f6-0ed359edd247.png)
Repository: opencv
Issue: fisheye_projectPoints error in opencv.js 4.5.5
Labels: category: calib3d,category: javascript (js)



##### System information (version)


- OpenCV =>  4.5.5
- Operating System / Platform =>  Chrome 100.0.4896.75

##### Detailed description

use fisheye_projectPoints in opencv.js, i this method from [4.5.5-doc](https://docs.opencv.org/4.5.5/db/d58/group__calib3d__fisheye.html#gab1ad1dc30c42ee1a50ce570019baf2c4)
but it error
i can't find any info from error message

![image](https://user-images.githubusercontent.com/25682169/162688722-7b282351-2f63-40ee-8aad-96df0e34790d.png)


##### Steps to reproduce

```javascript
let pointMat= cv.matFromArray(1, 1, cv.CV_64FC3, [
  12.67855006579735,
  2.392633362571465,
  0.33500003814697266
])

let rMat=cv.matFromArray(3, 3, cv.CV_64FC1, [
    0.00023477369814709992,
    -0.9999441545437641,
    -0.0105634778110522,
    0.010449407416592825,
    0.010565353641379319,
    -0.9998895741176487,
    0.9999453885620024,
    0.00012436537838650679,
    0.010451302995668946
  ])
let crMat=cv.Mat.zeros(3, 1, cv.CV_64FC1)
cv.Rodrigues(rMat,crMat)

let tMat=cv.matFromArray(3,1, cv.CV_64FC1, [-0.0027968169412954, -0.07510879138296463, -0.2721327964058732])

let internalMat=cv.matFromArray(3, 3, cv.CV_64FC1,  [721.5377197265625, 0, 609.559326171875, 0, 721.5377197265625, 172.85400390625, 0, 0, 1])

let distCoeffs=new Array(5).fill(0)
let distCoeffsMat=cv.matFromArray(5, 1, cv.CV_64FC1, distCoeffs)

let res=new cv.Mat()
cv.fisheye_projectPoints(pointMat,res,crMat,tMat,internalMat,distCoeffsMat)
```

##### Issue submission checklist

 - [x] I report the issue, it's not a question
 - [x] I checked the problem with documentation, FAQ, open issues,
       forum.opencv.org, Stack Overflow, etc and have not found any solution
 - [x] I updated to the latest OpenCV version and the issue is still there
Repository: rust
Issue: rustc 1.59/1.60 builds musl binaries that segfault, when compiling with musl-gcc wrappers, due to static-pie default
Labels: E-mentor,P-high,T-compiler,regression-from-stable-to-stable,E-help-wanted,O-musl,C-bug,WG-diagnostics

With the `x86_64-unknown-linux-musl` target installed:

```
$ cat hello.rs 
fn main() {
    println!("Hello, world!");
}
$ rustc hello.rs --target x86_64-unknown-linux-musl && file hello && ./hello 
hello: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=29ba716c85a1f3f9990246f160b61003b38b63a9, with debug_info, not stripped
Hello, world!
$ rustc hello.rs --target x86_64-unknown-linux-musl -C linker=musl-gcc && file hello && ./hello 
hello: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, with debug_info, not stripped
Segmentation fault
```

A `gdb` backtrace shows the segfault in `_start_c () at ../src_musl/crt/../ldso/dlstart.c:141`.

This segfault happens because the `musl-gcc` wrappers (including cross-compile wrappers like `x86_64-linux-musl-gcc` and `aarch64-linux-musl-gcc`) don't support static-pie in the way rustc is invoking them.

This is a regression in Rust 1.59 and 1.60; 1.58 and before produced working binaries. 1.59 includes https://github.com/rust-lang/rust/pull/70740 , which not only marked the musl targets as supporting static-pie (which they may or may not depending on the linker), but also made x86_64-unknown-linux-musl default to static-pie.

For context, the `musl-gcc` wrappers are commonly used for a variety of reasons, including cross-compilation (particularly when linking native C code). Attempting to link using `x86_64-linux-gnu-gcc` or `aarch64-linux-gnu-gcc` cross-compilers (rather than the corresponding `-musl-gcc` cross-compilers) produces compatibility issues, especially with projects that build and link native C dependencies.

I noticed this problem when working with someone trying to cross-compile a project from aarch64 to x86-64, using the x86_64-linux-musl-gcc cross-compiler wrapper, installed via Debian. (I hadn't previously noticed the regression myself, because I hadn't arranged to use the cross-compiler wrappers on x86_64 since my native host is x86_64.)

This problem doesn't currently show up when cross-compiling from x86_64 to aarch64, since aarch64 doesn't use static-pie by default, but enabling PIE with `-C relocation-model=pie` triggers the same bug and makes the resulting binaries segfault.

I'm currently working around this, but I think this is a stable regression.

(For reference, two possible workarounds: use `-C relocation-model=static`, or use `linker=x86_64-linux-gnu-gcc` and hope it works for you.)
Repository: flutter
Issue: [Feature request] DefaultTabController.onPageChanged
Labels: c: new feature,framework,f: material design,f: scrolling,c: proposal,P3,team-design,triaged-design

## Use case

I'd like to update some data when the user changes Tab in a TabBarView. Since DefaultTabController's internal controller isn't accessible, I can't listen for changes and have to setup my own controller.

## Proposal
Add a `void Function(int)? onPageChanged` argument to `DefaultTabController` which would be called whenever the user changes Tabs (passing the current index to the provided callback).
Repository: yt-dlp
Issue: https://kinescope.io/
Labels: good first issue,site-request

### Checklist

- [X] I'm reporting a new site support request
- [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 none of provided URLs [violate any copyrights](https://github.com/ytdl-org/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [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)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required

### Region

Russia

### Example URLs

https://kinescope.io/200597093/
https://kinescope.io/200597096/

### Description

https://kinescope.io/200597096/1080p after loading, you can download it with the right mouse button in mp4 but without sound.

### Verbose log

```shell
yt-dlp -vU https://kinescope.io/200597093/ --no-check-certificate
[debug] Command-line config: ['-vU', 'https://kinescope.io/200597093/', '--no-check-certificate']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65] (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-glibc2.29
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: certifi, secretstorage, sqlite
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [generic] Extracting URL: https://kinescope.io/200597093/
[generic] 200597093: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] 200597093: Downloading webpage
[generic] 200597093: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://kinescope.io/200597093/
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1408, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1478, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 641, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 4039, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://kinescope.io/200597093/
```
Repository: material-ui
Issue: [Drawer] Resizing window with open drawer makes main content non-scrollable
Labels: component: drawer

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When switching the browser width between mobile & desktop, the main content is not any more scrollable.

Note that this not only happens when the viewport changes between mobile and non-mobile, but also when the Drawer is initialised with `open = true` state, but the viewport is in "desktop" width.

### Expected behavior 🤔

Content is always scrollable, no matter if a Drawer has property `open = true` or not if Drawer is in "desktop" mode.

### Steps to reproduce 🕹

Steps:

1. Go to https://mui.com/material-ui/react-drawer/#responsive-drawer
2. Resize window to "mobile" --> drawer is collapsed behind burger menu
3. Click on burger menu --> drawer appears with gray backdrop, content disappears
4. Reize window to "desktop" --> drawer stays visible on the left, and content re-appears on the right
5. Now try to scroll the content. It doesn't work, as body has `overflow: hidden;` style. Also note that body has `padding-right: 366px;` style, which looks not good.

### Context 🔦

_No response_

### Your environment 🌎

Latest MUI version on Chrome.
Repository: ant-design
Issue: Cascader搜索场景，在onSelect后searchValue被重置为''，导致搜索结果消失
Labels: help wanted,Inactive

### What problem does this feature solve?

以城市级联场景为例，用户搜索了“京”，会出现北京-北京、江苏-南京，用户点击北京后，搜索结果消失，需要重新输入“京”，然后找到南京选择。如果搜索的结果很多，需要多次重复做以上操作。
目前，element-ui、semi-ui默认都是选中后搜索结果不消失的效果。

### What does the proposed API look like?

rc-cascader库中src/Cascader.tsx中的onInternalSelect方法的第一行代码是 setSearchValue('')，筛掉可以解决这个问题。
建议做成配置化的，用户选择选择后是否清楚搜索词。类似Select的autoClearSearchValue

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: ant-design
Issue: Allow Slider marks to be non-linear
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

Sometimes it's useful to have a non-linear marks to keep slider compact. In this case user can select only mark as values, in-between values cannot  be selected.

See example from Azure console for database storage size selection:

<img width="484" alt="Screenshot 2022-04-11 at 21 34 11" src="https://user-images.githubusercontent.com/1058233/162751553-1468d157-09d2-4a92-bf6a-8b6b1872c11a.png">

### What does the proposed API look like?

```
const marks = {32:32, 64:64, 128:128}
<Slider marks={marks} nonLinearMarks={true} />
```
or
```
const marks = {32:32, 64:64, 128:128}
<Slider marks={marks} marksOnly={true} />
```
<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: mouse cursor change
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

by the state of keyboard, say chinese and english (or caps lock), it changes the color of the cursor, including the caret(text cursor). so the user would know what state the keyboard is on. user don't have to check right-down corner to check the keyboard state.

### Scenario when this would be used?

when i need to switch between Chinese and English, or caps lock or unlock, i need often check the right-down corner, it is very trouble some, sometimes i forget to check, then i input the wrong letter, then i have to go backspace,  and then switch,and then input again.

### Supporting information

for now i use ahk to change the color the cursor, but i can't get it done with the caret, so maybe we can integret it into power toys.
Repository: material-ui
Issue: [TextField] Generating not valid HTML when using the `select` prop
Labels: new feature,component: text field

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

Text Field with prop select in result html add wrong attribute variant="outlined"

### Expected behavior 🤔

_No response_

### Steps to reproduce 🕹

Steps:

1. Open https://mui.com/material-ui/react-text-field/#main-content
2. Ctrl + U
3. Ctrl + F
4. paste variant="outlined"


### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: godot
Issue: After exporting the project to Windows, PackedSceneGLTF issues an error.
Labels: discussion,topic:3d,topic:export

### Godot version

Godot_v3.4.4-stable_win64

### System information

W10x64, GLES 3.0 Quadro K2000M/PCIe/SSE2

### Issue description

In the editor mode PackedSceneGLTF.new () works fine, but after exporting to Windows, it issues the following error: Parse Error: The identifier "PackedSceneGLTF" is not a valid type (not a script or class), or could not be found on base "self".

### Steps to reproduce

func _ready():
	var importer = PackedSceneGLTF.new();#here there is an error because such class is not declared (in the release executable file), but in the editor it works correctly!

### Minimal reproduction project

_No response_
Repository: vscode
Issue: Play audio-cues for suggest widget
Labels: feature-request,accessibility,suggest

CC @isidorn

## System Info

Version: 1.67.0-insider (system setup)
Commit: b84feecf9231d404a766e251f8a37c730089511b
Date: 2022-04-11T05:15:52.676Z
Electron: 17.4.0
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.22000

## Reproducible steps

1. Enable `Audio Cues Line Has Inline Suggestion`.
1. Create `test.py`.
1. Type `i` to trigger auto-suggestion for `import`.
1. See if you can hear any audio cues for `Line Has Inline Suggestion`: I don't hear anything.
Repository: vscode
Issue: Bad symlinks  display
Labels: bug,file-explorer


Issue Type: <b>Bug</b>

Steps to Reproduce:

1. create a symlink to an existing folder in the main folder  
   on windows you type the command (cmd) mklink /J "toto" "..\toto"
4. remove the link created before 
   on windows rmdir toto
5. create a standard folder with the same name
   on windows mkdir toto

VSCode still show folder as a link even if we refresh the view




VS Code version: Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:50:12.141Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz (4 x 2208)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|31.89GB (19.57GB free)|
|Process Argv|--crash-reporter-id 4aeb3694-fec6-4efe-a194-b5c2d5b74ce2|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (18)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-css-formatter|aes|1.0.2
Bookmarks|ale|13.2.4
quitcontrol-vscode|art|4.0.0
vscode-intelephense-client|bme|1.8.2
filter-line|eve|2.0.1
innosetup|idl|1.6.1
electron-debug|kod|18.11.1
cortex-debug|mar|1.4.4
easy-less|mrc|1.7.3
python|ms-|2022.4.1
vscode-pylance|ms-|2022.4.0
remote-ssh|ms-|0.78.0
remote-ssh-edit|ms-|0.80.0
cpptools|ms-|1.9.7
codeshare|Pro|1.0.8
php-debug|rob|1.14.0
code-settings-sync|Sha|3.4.3
clang-format|xav|1.9.0


</details>
<!-- generated by issue reporter -->