sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Server side page si not generated in lingui example
Labels: good first issue,examples

### 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.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64
    Binaries:
      Node: 16.15.0
      npm: 8.5.5
      Yarn: 1.22.18
      pnpm: N/A
    Relevant packages:
      next: 12.1.7-canary.2
      react: 17.0.2
      react-dom: 17.0.2

### What browser are you using? (if relevant)

Chrome

### How are you deploying your application? (if relevant)

_No response_

### Describe the Bug

I'm using the lingui example:
https://github.com/vercel/next.js/tree/canary/examples/with-lingui
If I try to check the source code of the generated page, only the basic html structure is server-side generated but not the content.

### Expected Behavior

I should have the entire page generated server side

### To Reproduce

1. Start on `yarn dev`
2. Open the page on a browser
3. Right-click, inspect source code
Repository: pytorch
Issue: [RFC] Upstream current implementation of ssd_offload from fairscale FSDP to Torch Distributed FSDP
Labels: oncall: distributed,module: fsdp

### 🚀 The feature, motivation and pitch

# Goal
Upstream the currently experimental ssd_offload feature from Fairscale FSDP to torch distributed FSDP.

ssd_offload is a capability in similar FSDP-like systems (for example zero-infinity by Microsoft)

# API changes:
Logically from the outside ssd_offload looks very similar to cpu_offload. So merging the options probably makes sense (even though in the implementation they will look quite different.

fsdp constructor: cpu_offload argument -> offload_config
torch.distributed.fsdp.CPUOffload -> ... OffloadConfig

```
class OffloadConfig:
    offload_type: Optional(str) = None # "cpu" or "ssd" only supported for now, maybe make into an enum
    offload_directory: Optional(str) = None # directory where tensors offloaded to disk reside (only valid with offload_type="ssd". In the future this will probably be extended to support some sort of wildcards (e.g. a single machine has N GPUs and N SSDs, you may want to have a dedicated per GPU)
    offload_params: bool = False
```

# Parts of Implementation
 1) Efficient Chunked Disk I/O functions
 2) Tensor Subclass implementation that exposes Tensors that can migrate back and forth between CPU and disk (SsdTensorHandle and SsdParameter). This also includes some optimizations for pickling (torch.save-ing) SsdTensorHandles (and its descendants) allowing them to serialize to disk and back w/out having multiple entire copies of the tensor in memory at a time.
 3) Implementation of Flattened Parameter (SsdFlatParameter/SsdFlatParameterView) and ancillary code to support them. Current implementation uses non-chainable derivative of pytorch parameterization I've coined propertization (turning an nn.Module attribute into a property -- necessary for updating views from the flattened tensor due to .data modification) I'm also looking into another possible alternative that would utilize a transparently wrapped SsdFlatParameterView object (similar to wrapt, but much simpler).

### Alternatives

_No response_

### Additional context

# Future Works/Desires
* Creating Asynchronous disk I/O calls that can be called by an prefetcher/offloader to pipeline disk accesses.
* Simplifying SsdTensorHandle by removing .data overriding within FSDP
* Benchmarking + Profiling both time and memory usage of ssd_offloaded tensors when used in realistic models.
   * Optimizations to improve performance. 

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: vscode
Issue: Disable bracket pair colorization via color theme
Labels: feature-request,bracket-pair-colorization

I know this can be disabled via settings.json with `"editor.bracketPairColorization.enabled": false,`, but I need to disable it via my color theme such that it is only disabled when my theme is active. 

The only solution I can find for now is to explicitly set colors for 
```
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
```
but this is cumbersome...
Repository: vscode
Issue: Import Settings Profile when you drag & drop a `.code-profile` to VS Code window
Labels: feature-request,user-profiles

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
When you drag & drop a `.code-profile` file to VS Code, it should Import the profile. 

Doing so, it will provide the same experience when you drag & drop a `.code-workspace` file.

Thanks in advance
Repository: flutter
Issue: Flutter should support iOS 15's Secure Paste feature
Labels: platform-ios,engine,c: proposal,P1,workaround available,team-ios,triaged-ios

iOS 14 introduced a system notification when an app pasted from the pasteboard as a security feature.  In iOS 15, Apple is introducing "secure paste", which seems like it will bypass this notification when the paste is initiated by the user.

https://www.apple.com/newsroom/2021/06/apple-advances-its-privacy-leadership-with-ios-15-ipados-15-macos-monterey-and-watchos-8/
https://developer.apple.com/videos/play/wwdc2021/10085/?time=360

That information about the feature is vague, but it may not be possible for Flutter to implement this, at least for the text selection menu, since Flutter doesn't use the native text selection menu.  If I'm understanding it correctly, tapping on Flutter's "paste" button will always be treated as being initiated by the app, and it will show the notification.

We may be able to support this for the keyboard by receiving whatever "user paste" event Apple creates and sending something along to the framework.

CC @jmagman
Repository: rust
Issue: GAT with HRTB yields weird inference errors.
Labels: A-lifetimes,A-trait-system,T-compiler,A-inference,fixed-by-next-solver,A-GATs,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: ([playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=c6770bcd61c964dafc6d39bf6f0baf60))

```rust
#![feature(generic_associated_types)]
use std::marker::PhantomData;

trait AsyncFn<Arg> { type Output; }
trait RequestFamily { type Type<'a>; }
trait Service {}

struct MyFn;
impl AsyncFn<String> for MyFn { type Output = (); }

impl RequestFamily for String { type Type<'a> = String; }

struct ServiceFromAsyncFn<F, Req>(F, PhantomData<Req>);

impl<F, Req, O> Service for ServiceFromAsyncFn<F, Req>
where
    Req: RequestFamily,
    F: AsyncFn<Req>,
    F: for<'a> AsyncFn<Req::Type<'a>, Output = O>,
{
}

fn assert_service() -> impl Service {
    ServiceFromAsyncFn(MyFn, PhantomData)
}
```
It fails type inference with the following error:
```rust
error[E0282]: type annotations needed
  --> src/lib.rs:23:24
   |
23 | fn assert_service() -> impl Service {
   |                        ^^^^^^^^^^^^ cannot infer type for type parameter `O`
```

This is super weird because type paramters that don't appear in `Self` type of the impl are not expected to fail inference.
Surprisingly, removing `O` makes it pass:
```diff
-impl<F, Req, O> Service for ServiceFromAsyncFn<F, Req>
+impl<F, Req> Service for ServiceFromAsyncFn<F, Req>
 where
     Req: RequestFamily,
     F: AsyncFn<Req>,
-    F: for<'a> AsyncFn<Req::Type<'a>, Output = O>,
+    F: for<'a> AsyncFn<Req::Type<'a>>,
```

### 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.
-->

Nightly version: 1.62.0-nightly

(2022-05-03 e1b71feb592ba6480568)

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->

@rustbot label F-generic_associated_types T-compiler A-traits A-inference A-lifetimes
Repository: godot
Issue: Vulkan: Subsurface scattering looks buggy with directional lights
Labels: bug,topic:rendering,needs testing,topic:3d

### Godot version

4.0 Alpha 6

### System information

Windows 10, Vulkan, GTX 1660

### Issue description

the above one is using a spot light, the bellow one is using a directional light in a 3D mesh with SSS turned on, why does it seems to bug it like that? i was really happy how the SSS was looking until i changed it to directional light, in case it's not possible to fixs it would be good to at least only use SSS for spot lights and make it ignore directional lights, that alone would help massively, Godot 4 rendering is looking pretty good so far, but it's hard to make decent Human skin without SSS.

![image](https://user-images.githubusercontent.com/44421928/167046598-a72c73b7-483f-42c3-aecb-9b3da219ac48.png)
![image](https://user-images.githubusercontent.com/44421928/167046616-5b53544c-d5b0-485c-a74f-a70465e22412.png)

also for some reason i can't upload the .zip archive 

### Steps to reproduce

make a project, put in a 3D model, add SSS, add a directional light.

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: NVFuser opinfos - check for CudaFusionGroup in the graph
Labels: triaged,module: nvfuser

### 🚀 The feature, motivation and pitch

If an NVFuser opinfo fails but the JIT graph doesn't contain a CudaFusionGroup node, then we should append this information to the error, since it indicate that the problem is likely with JIT, not with NVFuser. This would make debugging these types of errors faster.

### Alternatives

_No response_

### Additional context

_No response_
Repository: excalidraw
Issue: Rendering bug using draw tool with background
Labels: bug

![image](https://user-images.githubusercontent.com/72866986/167054401-8ef0af22-1a6b-4939-ab31-6b6a2d75f803.png)
Repository: pytorch
Issue: Private API for accessing all "internal" attributes on Tensors
Labels: module: internals,triaged

### 🐛 Describe the bug

c10::TensorImpl has a bunch of internal properties which are not directly accessible from Python. This can make debugging certain types of problems more difficult; e.g., you suspect the dispatch key set isn't set correctly but you can't just print it out directly. There should be a private, unstable API for querying this information (I don't think we should allow mutating the info) that can be used to assist in debugging.

### Versions

master

cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh
Repository: go
Issue: proposal: x/net: Accept client-provided logger for http2 debug logs in addition to GODEBUG=http2debug=1,2
Labels: Proposal,Proposal-Hold

This allows me to get HTTP/2 debug logs: https://github.com/golang/net/blob/290c469a71a567d354e4abd335577aba44c4bde4/http2/http2.go#L41-L50

...But unlike [the gRPC package](https://pkg.go.dev/google.golang.org/grpc/grpclog#LoggerV2), I can't specify my own logger. I also can't change the log level at runtime (I can toggle `VerboseLogs` since that's exported, but not `logFrameWrites` and `logFrameReads`).

For logging format consistency and runtime configuration of log levels it would be great to provide my own logger. I suppose this would also require a switch to level-based logging instead of e.g. `log.Printf()`; I don't know if the structure of logs is covered by the Go compatibility guarantee and if so this would need to be done in a way that doesn't break it (maybe all `debug` level with no formatting change in the default logger implementation?)

Thanks for considering this!
Repository: flutter
Issue: Support `rgb565 ` and `rgb888 ` color formats for ui.Image
Labels: c: new feature,framework,engine,c: proposal,P3,team-engine,triaged-engine

Currently ui.Image only support rgba8888 and bgra8888 decode for raw bytes array from native (such as handle by openCV). But most images don't have alpha channel, which makes waste of memory. And somes rgb565 is enough, which can reduce half of memory. Is there any plan to support rgb565 and rgb888 for ui.Image?
Repository: flutter
Issue: [web-platform] flutter service worker cache is not skipping requests to other sites
Labels: tool,platform-web,P2,e: flutter.js,team-web,triaged-web

I think a host judgment should be added here to bypass some restrictions in serviceWorker fetch listener,
```js
  if (event.request.host != self.location.host) {
      return;
  }
```
Otherwise, requesting other websites will also be recognized as resources in RESOURCES, trying to read the cache,
This can lead to some unknown issues, including #103054

![image](https://user-images.githubusercontent.com/11682198/167071662-b2ea1e35-78be-4372-a857-a4f36c508a6c.png)
![image](https://user-images.githubusercontent.com/11682198/167071758-55e12671-7f83-4283-84ad-6e8c0a03ef70.png)

@darshankawar 
@ditman
Repository: pytorch
Issue: primTorch references don't handle scalar x scalar inputs correctly
Labels: triaged,module: type promotion,module: primTorch

Because of https://github.com/pytorch/pytorch/issues/76801. Testing for these is currently disabled.

cc @nairbv @mruberry @ezyang @ngimel
Repository: material-ui
Issue: [TextField] When using type="time", the step is not working
Labels: support: question,component: text field

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When I do try to select time as specified here with a 300 steps, time is stil showing ...31,32,33minutes
I was expecting to see only 5,10,15... minutes there

[material-ui](https://github.com/mui/material-ui/tree/v4.x)/[docs](https://github.com/mui/material-ui/tree/v4.x/docs)/[src](https://github.com/mui/material-ui/tree/v4.x/docs/src)/[pages](https://github.com/mui/material-ui/tree/v4.x/docs/src/pages)/[components](https://github.com/mui/material-ui/tree/v4.x/docs/src/pages/components)/[pickers](https://github.com/mui/material-ui/tree/v4.x/docs/src/pages/components/pickers)/TimePickers.js

### Expected behavior 🤔

I was expecting to see only 5,10,15... minutes there


### Steps to reproduce 🕹

Steps:

1. open https://codesandbox.io/s/material-demo-forked-y302jh
2. see the same behavior
3. Steps is not acting in any way
4. Please confirm


### Context 🔦

react hooks

### Your environment 🌎

https://codesandbox.io/s/material-demo-forked-y302jh
Repository: PowerToys
Issue: Simulate typing the clipboard contents
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

It would be nice to have a feature that allows the user to simulate typing the text content from the Clipboard. 
For example, by pressing [Win]+[Shift]+[V] the PowerToys will check the clipboard content, and if the content contains text or can be treated as text content it will start a sequence of keypresses equal to that content. 
Settings: delay between keypresses, to enable or disable this feature. 

### Scenario when this would be used?

- Useful when pasting is not allowed.
- Virtual OS installation process when integration tools haven't yet installed, usually (or, in my cases) you cannot use [Ctrl]+[V] to send any information into [some] virtual OS. 
- VNC connections where clipboard feature either not working or not implemented (e.g., Synology VM web based VNC connection)
- Web pages, where pasting is disabled.

### Supporting information

https://keepass.info/help/base/autotype.html
Repository: flutter
Issue: Add a way to intercept Dart to native platform communication.
Labels: c: new feature,engine,c: proposal,P3,team-engine,triaged-engine

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

I'd like to request the ability to intercept any communication which happens between the Dart/Flutter side and the native platform side. 

## Use case

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

The use case is application performance observability in production. I'd like to measure how long the communication takes, e.g. how long it takes from request (Dart side) until the answer from native side (Android, iOS,..) arrives.
Since a lot of the communication isn't under my control, like for example the plus plugins (device_info_plus), I want to be able to have a way which global for all the communication.

## Proposal

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->

After looking for some time at existing code, I think one viable solution would be to add some kind of listener to the [`ChannelBuffers`](https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html) class. 
A potential interface for such a listener could look like this:

```dart
abstract class ChannelBuffersListener {
  void onMessageSend(String channelName, String methodName, ByteData? data);
  void onMessageReceived(String channelName, String methodName, ByteData? data);
}
```
Repository: opencv
Issue: AV import leads to OpenCV imshow freeze
Labels: RFC,category: 3rdparty

Importing `av` breaks OpenCV `imshow` (freeze, 100% CPU). This was first noticed in https://github.com/pytorch/vision/issues/5940. Also importing other libraries that depend on `av` breaks the `cv2.imshow()` command. This is only the case if `av` is imported before the first execution of the said OpenCV function, if `cv2.imshow()` is run before the import all subsequent calls after the import also run.

##### System information (version)
See https://github.com/pytorch/vision/issues/5940

##### Steps to reproduce

See https://github.com/pytorch/vision/issues/5940

##### Issue submission checklist

 - [x] I report the issue, it's not a question
   <!--
   OpenCV team works with forum.opencv.org, Stack Overflow and other communities
   to discuss problems. Tickets with questions without a real issue statement will be
   closed.
   -->
 - [x] I checked the problem with documentation, FAQ, open issues,
       forum.opencv.org, Stack Overflow, etc and have not found any solution
   <!--
   Places to check:
   * OpenCV documentation: https://docs.opencv.org
   * FAQ page: https://github.com/opencv/opencv/wiki/FAQ
   * OpenCV forum: https://forum.opencv.org
   * OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
   * Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
   -->
 - [x] I updated to the latest OpenCV version and the issue is still there
   <!--
   master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
   OpenCV team supports only the latest release for each branch.
   The ticket is closed if the problem is not reproduced with the modern version.
   -->
 - [x] There is reproducer code and related data files: videos, images, onnx, etc
   <!--
   The best reproducer -- test case for OpenCV that we can add to the library.
   Recommendations for media files and binary files:
   * Try to reproduce the issue with images and videos in opencv_extra repository
     to reduce attachment size
   * Use PNG for images, if you report some CV related bug, but not image reader
     issue
   * Attach the image as an archive to the ticket, if you report some reader issue.
     Image hosting services compress images and it breaks the repro code.
   * Provide ONNX file for some public model or ONNX file with random weights,
     if you report ONNX parsing or handling issue. Architecture details diagram
     from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
   -->
Repository: yt-dlp
Issue: [MDR - KiKa] [FR] Download Playlists
Labels: site-enhancement

### Checklist

- [X] I'm reporting a site feature 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 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 I'm willing to share it if required

### Region

Germany

### Example URLs

https://www.kika.de/kikaninchen/sendungen/videos-kikaninchen-100.html

### Description

Playlists are not handled.  Please add Playlist feature.

### Verbose log

```shell
[debug] Command-line config: ['-vU', 'https://www.kika.de/kikaninchen/sendungen/videos-kikaninchen-100.html']
[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] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: ff4d7860d
[debug] Python version 3.7.3 (CPython 64bit) - Linux-4.19.0-19-amd64-x86_64-with-debian-10.11
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: ffmpeg -bsfs
[debug] exe versions: ffmpeg 4.1.8-0, ffprobe 4.1.8-0
[debug] Optional libraries: certifi-2018.08.24, sqlite3-2.6.0
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] Using fake IP 53.217.93.243 (DE) as X-Forwarded-For
[debug] [MDR] Extracting URL: https://www.kika.de/kikaninchen/sendungen/videos-kikaninchen-100.html
[MDR] 100: Downloading webpage
ERROR: [MDR] 100: Unable to extract data url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/src/yt-dlp/yt_dlp/extractor/common.py", line 635, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/src/yt-dlp/yt_dlp/extractor/mdr.py", line 104, in _real_extract
    webpage, 'data url', group='url').replace(r'\/', '/')
  File "/usr/local/src/yt-dlp/yt_dlp/extractor/common.py", line 1223, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
```