sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ant-design
Issue: DatePicker/RangePicker on mobile browsers
Labels: help wanted,Inactive,📱Mobile Device

- [X] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-uyqw0)

### Steps to reproduce
Open codesandbox link and resize browser window to simulate mobile page width and open rangepicker. RangePicker goes outside the browser window, but there isn't a parameter to show only 1 month or something similar.

### What is expected?
Adapt to the browser width

### What is actually happening?
RangePicker goes outside browser screen

| Environment | Info |
|---|---|
| antd | 4.6.4 |
| React | 16.9 |
| System | Android |
| Browser | Chrome |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: AMP support for libtorch/c++
Labels: triaged,enhancement,module: amp (automated mixed precision)

## 🚀 Feature

PyTorch 1.6 introduces AMP for python, but libtorch does not have these new functionalities.

## Motivation

AMP is becoming more and more needed to use all the power from the new NVIDIA RTX GPUs.

@mcarilli @gchanan @ngimel 
 


cc @mcarilli
Repository: flutter
Issue: [Video_player] video play doesn't play or has a black frame when using new version of video_player + chewie on iOS
Labels: c: regression,platform-ios,p: video_player,package,has reproducible steps,P2,found in release: 2.2,found in release: 2.3,team-ios,triaged-ios

Hello.
I've black screen when launching video_player on iOS 13.7 on iphone 7 (real device) with mp4 video (network url).
Video is loading but can't be played (no sound also).

Hope i'm giving enought information.

Thank you

video_player: ^0.10.12+2

```
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G73, locale fr-FR)
    • Flutter version 1.20.3 at /Users/Colir/Documents/Flutter/flutter
    • Framework revision 216dee60c0 (2 weeks ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/Colir/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (2 available)
    • Mi A3 (mobile)           • e8c856892b1e                             • android-arm64 • Android 10 (API 29)
    • iPhone de Colir (mobile) • 1d690c3bad00d174027e92c78734d2dbe5ed91fe • ios           • iOS 13.7

• No issues found!
```
Repository: TypeScript
Issue: Import path autocomplete with tsconfig path containing "/"
Labels: Bug,Help Wanted,Domain: Completion Lists

<!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

<!--
Please try to reproduce the issue with the latest published version. It may have already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly
-->
**TypeScript Version:**  4.0.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:** import path autocomplete tsconfig path slash duplicate text

**Code**
tsconfig snippet:
```json
{
   "compilerOptions": {
       "paths": {
            "@myproj/lib-123": ["libs/lib123/index.ts"]
       }
    }
}
```
Behavior in any typescript file:
```ts
// Start typing this and an auto-complete suggestion comes up for "@myproj/lib-123" (yay):
import { xyz } from "@myproj/lib-
// But when I select the autocomplete, it inserts this (oops):
import { xyz } from "@myproj/@myproj/lib-123"
```

**Expected behavior:**
`import { xyz } from "@myproj/lib-123"`

**Actual behavior:**
`import { xyz } from "@myproj/@myproj/lib-123"`
If the tsconfig shortcut does not contain a "/" this works just fine

**Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> I imagine this is not necessary here, let me know.

**Related Issues:** None.
Repository: pytorch
Issue: 404 Page not found - inference_api.md & management_api.md
Labels: triaged,module: doc infra

Getting page not found on clicking the below inference and management pytorch serve API links.

click the link below

http://pytorch.org/serve/management_api.md

http://pytorch.org/serve/inference_api.md

cc @ezyang @zou3519 @jlin27
Repository: node
Issue: Node not saving coverage when process is terminated using SIGINT/SIGTERM
Labels: coverage

* **Version**: v14.10.1

### What steps will reproduce the bug?

When running this code
```
function run() {
  if (1) {
    console.log(1);
  } else {
    console.log(2);
  }
}

run();

setTimeout(process.exit, 3000)
```

If I stop the process using SIGINT/SIGTERM before the timeout kicks in, coverage is not saved.

```
% NODE_V8_COVERAGE=/tmp/cov node /tmp/t.js
1
^C
% ls /tmp/cov
ls: cannot access '/tmp/cov': No such file or directory
% 

```

### What is the expected behavior?

Node coverage should work in the same way as other coverage tools, saving the coverage before terminating the process even if no SIGINT handler is set.

### What do you see instead?

No coverage is saved.

### Additional information

I know that adding a SIGINT/SIGTERM handler can be used as a workaround but this is not how most applications terminate and has no added value.
```
process.on('SIGINT', () => process.exit())
process.on('SIGTERM', () => process.exit())
```
Repository: pytorch
Issue: Get rid of copy_from
Labels: module: internals,triaged

We have multiple dispatch, which means that if you have copy(CPU, XLA), you can be directed straight to XLA's specialized implementation of the copy kernel. This means we can get rid of the thicket of if statements plaguing `aten/src/ATen/native/Copy.cpp` and use the dispatcher to get us where we need to be.

This is not a trivial change because all of the copy_from implementations have to be rewritten to be copy implementations.

cc @ezyang @bhosmer @smessmer @ljk53
Repository: flutter
Issue: Accessibility - Exposing ReduceMotion 
Labels: framework,a: accessibility,c: proposal,P3,team-framework,triaged-framework

<!-- 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
-->

## Use case
For iOS, the `MediaQuery.of(context).disableAnimations` does not detect whether it is Reduce Motion on or off currently. 

Thus, it would be very beneficial to expose the `AccessibilityFeatures.reduceMotion` to `MediaQueryData` so that the users can check the flag, Or, alternatively, we should make the `disableAnimations` flag to reflect the `reduceMotion` flag for iOS.

![IMG_26CA03E77E73-1](https://user-images.githubusercontent.com/8919703/93249496-6663ed00-f75f-11ea-9f7d-8d3dd2fdfb52.jpeg)

<!--
     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?
-->

## Proposal
Solution 1: 
* Expose the `AccessibilityFeatures.reduceMotion` to `MediaQueryData` 

Solution 2: 
* Modify the `MediaQueryData.disableAnimations` flag to reflect on iOS's ReduceMotion flag.
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     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.
-->
Repository: flutter
Issue: Validate snap containment in Linux build
Labels: tool,platform-linux,a: desktop,a: build,P3,team-linux,triaged-linux

Based on a discussion today about the issues that have come in where Linux builds run from the snap are picking up things from outside the snap (which are tricky to debug), a suggestion was to see if we can actually validate at build time. Something like:
- In CMake, detect whether it's being built in the snap.
- If so, check all of the include paths and library paths to see if they are in the snap.
- If anything fails in that check, fail out of the build with a clear error message,

That would save us some debugging of what's gone wrong and exactly what the problematic dependency is. I'm not actually sure if this is possible, but it would be interesting to explore.

/cc @MarcusTomlinson
Repository: pytorch
Issue: [tools.codegen] Remove byte-for-byte compatibility code
Labels: triaged,module: codegen

In tools.codegen, there are a lot of comments `Note [Byte-for-byte compatibility]`. The code they describe can be removed. Read the defining note to see where these comments came from and why they can be removed.
Repository: rust
Issue: Run linkchecker just on some docs?
Labels: T-bootstrap,C-feature-request

I once again had a CI run fail due to a bad rustdoc link, and figured I'd try running that linkchecker locally. So I ran `./x.py test linkchecker --test-args library/alloc`, realized it was building a full rustc (`tidy` seems to overwrite that default so maybe the linkchecker should, too? that sounds like https://github.com/rust-lang/rust/issues/76371), added `--stage 0`, and still had to wait quite a bit while it built rustbook and "unstable-book-gen" and whatnot, none of which is needed to ensure that the liballoc docs do not have bad links. And then it still built a full rustc so I stopped, I guess I will have to rely on CI for this.

Is there any way to runst linkcheker on the docs for library/alloc without building rustc?
Repository: flutter
Issue: Other plugins may not get performFetchWithCompletionHandler callback in FlutterApplicationLifeCycleDelegate if one of the plugins returns YES
Labels: engine,P2,a: plugins,team-engine,triaged-engine

The callback performFetchWithCompletionHandler returns a bool
But for individual plugins, if they return true here, no other plugins can get this callback anymore. [related code](https://engine.chinmaygarde.com/interface_flutter_plugin_app_life_cycle_delegate.html#a394bcd96560eb95f956fa1bf8bbaafc9)

aaclarke@ mentioned
```
what might be a better is some API that allows the client to negotiate what plugins get that message
that could allow you to get what you want without being a breaking change
```
Repository: pytorch
Issue: cblas_gemv is not being used for gemv on complex on CPU
Labels: triaged,module: complex

There's no implementation of `gemv_use_fast_path` for complex types, so this means we are falling back to the slow implementation in aten/src/ATen/native/BlasKernel.cpp

cc @ezyang @anjali411 @dylanbespalko @nikitaved
Repository: opencv
Issue: opencv-ios no ffmpeg support, general query regarding video streaming to ios device. 
Labels: feature,priority: low,category: videoio,platform: ios/osx

System information (version)
OpenCV => 4.4
Operating System / Platform => iOS
Compiler => Xcode

Detailed description
I'm using OpenCV native C++ code.
I'm reading from an mjpeg stream which cannot open. This is my first time using the library on ios so don't know what's going on here. Any guidance would be appreciated!

I've attempted to install ffmpeg and then rebuild but after updating getBuildInformation doesn't return FFMPEG support. I found out later that the buildscript doesn't build ffmpeg support into ios targets. 

The use case is to develop both reading(streaming) and recording on an ios app that handles the mjpeg stream we have made. Having only a little experience with video streaming i'm asking for any general help where to go for a potential solution to this use case. We are looking into using gstreamer instead of mjpeg and building the ios app to leverage that. The cameras have to operate at 30fps 1080p. No concern with tablet hardware as we will be simply providing this service to tablets that can support it.
Repository: pytorch
Issue: [JIT] function decorated with @torch.no_grad() can not be exported when another function is called inside it.
Labels: oncall: jit,days

## 🐛 Bug

A function (decorated with @torch.no_grad()) can not be exported to torchscript if another function is called inside it.

## To Reproduce
```
def g(x):
    return x + 1

@torch.no_grad()
def f(x):
    return g(x)

torch.jit.script(f)
```
and we will get:
```
RuntimeError: 
undefined value g:
  File "torch/autograd/grad_mode.py", line 13
@torch.no_grad()
def f(x):
    return g(x)
           ~ <--- HERE
```

## Environment
 - PyTorch Version (e.g., 1.0): master
 - OS (e.g., Linux): linux
 - How you installed PyTorch (`conda`, `pip`, source): source
 - Build command you used (if compiling from source): build from source
 - Python version: 3.6
 - CUDA/cuDNN version: 10.0/7.6.5


cc @gmagogsfm
Repository: electron
Issue: API to get tray theme
Labels: enhancement :sparkles:,platform/macOS

<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->
``nativeTheme.shouldUseDarkColors`` is only for setting theme of our APP interface and not for tray icon.

After updated to macOS Big Sur, tray color will not only base on system theme but also the wallpaper you used.

So provide an API to get "Tray Theme"(dark/light) is necessary I think.

### Proposed Solution
<!-- Describe the solution you'd like in a clear and concise manner -->

### Alternatives Considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

### Additional Information
<!-- Add any other context about the problem here. -->
It seems that not only macOS but also Windows need this.
Repository: TypeScript
Issue: d.ts type imports are not resolved correctly in dependencies
Labels: Needs Investigation

**TypeScript Version:**  4.1.0-dev.20200915

**Search Terms:**

path module resolution

**Code**

Please check this repo: https://github.com/dkjii-g/tsc-ref-bug

Check the README for bugs/instructions.

**Expected behavior:**

- The 4 folders compile correctly (they are slight variations to better explain the bug - you don't have to check them all).
- Typescript should not use the current project's module resolution when importing a different project's definitions.

**Actual behavior:**

Typescript tries to import repo2's modules from repo1's project.

This prevents the compiler from finding the type definition in dependencies.

**Related Issues:** #38111 #39117 (not sure)
Repository: pytorch
Issue: Timed out RRef can still be used in subsequent RPCs
Labels: triaged,module: rpc

The problem is that between when an RRef is created and when an RRef is timeout, applications can still use this RRef in anyway they want. As a result, if the RRef creation function didn't crash, but just taking longer than the specified timeout, it is possible that an RPCs using this RRef can still succeed, even if the RRef itself is timed out. Not yet clear what would be the best option. Creating this issue to track. 

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528 @jjlilley @osalpekar @jiayisuse
Repository: neovim
Issue: CursorMoved event closes float too early if there is a pending cursor move
Labels: bug,lsp,events

<!-- Before reporting: search existing issues and check the FAQ. -->

- `nvim --version`: v0.5.0-f34eeba2d
- `vim -u DEFAULTS` (version: ) behaves differently?  only neovim 
- Operating system/version: macos 10.15.6
- Terminal name/version: kitty
- `$TERM`: xterm-kitty

### Steps to reproduce using `nvim -u NORC`

```lua
function  jump_to()
  api.nvim_win_set_cursor(0,{4,3})
  vim.lsp.util.open_floating_preview({"test"},'markdown')
end
```

### Actual behaviour

 The `nvim_win_set_cursor` doesn't immediately trigger CursorMoved. The util function opens a float and immediately registers the CursorMoved aucmd. On next event loop "tick", the float is closed even if the cursor was not moved again.

### Expected behaviour

The autocmd being debounced/delayed somehow. Like wait for two `CursorMoved` before closing the window (if one is pending already).
Repository: PowerToys
Issue: PowerShell integration for FancyZones
Labels: Idea-Enhancement,Product-FancyZones

It would be really practical to be able to move windows to a desired zone using a PowerShell cmdlet. Likewise for switching between FancyZones layouts.

When changing between different screen-setups, I'd like to be able to just run a script that checks which setup I'm on and which programs are running to then move them to their designated zone on the right screen.
While there is not yet support for multiple monitors in FancyZones, it works decently enough. And using a 3rd party tool like MultiMonitorTool.exe I can manipulate the setup and move programs to the right screen. What I cannot do (without this enhancement to PowerToys) is make sure the windows snap to their zones. It works sometimes, if the windows happen to have already been snapped and thus appear in the right position.

This enhancement would in the ideal case go together with the one about multi monitor support :-)
Repository: go
Issue: x/net/http2: graceful shutdown support to standalone HTTP/2 server
Labels: NeedsInvestigation,FeatureRequest

This is a feature request which follows #4674. 

HTTP/2 server only supports graceful shutdown when integrated with the standard
library's HTTP Server: https://github.com/golang/net/blob/62affa334b73ec65ed44a326519ac12c421905e3/http2/server.go#L199

We have a use case where HTTP/2 server is used as a stand-alone server with ALTS instead of TLS as the security layer (https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security?hl=en). It seems impossible to use the graceful shutdown feature currently even if we are willing to start a HTTP server (I could be wrong. Any idea will be very welcome!). 

I think making the related functions public can easily fix the issue.

There is also some discussion around generalizing the graceful shutdown in https://github.com/golang/go/issues/4674#issuecomment-257562428 .
Repository: flutter
Issue: Allow FlutterFragment to be shown as Service's view.
Labels: c: new feature,platform-android,platform-ios,engine,a: platform-views,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
-->

## 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?
-->
Hi, I tried to make a multiplatform keyboard in flutter. But In android I can't declare a Flutter Fragment on the InputMethodService because It's not an Activity.
Can you allow to use Flutter Fragment in InputMethodService view by creating a FlutterServiceFragment or something like this ?

There currently not exist any pub package to provide an equivalent, so I ask here.
Thank you for any help.

## Proposal

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching images showing what you are imagining.

     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.
-->

On Android we need to have the possibility to create a FlutterServiceFragment to be implemented in a [Service](https://www.androidauthority.com/lets-build-custom-keyboard-android-832362/). (InputMethodService extends from Service)
On iOS, the FlutterServiceFragment must be instantiated in a [UIInputView](https://developer.apple.com/documentation/uikit/keyboards_and_input/creating_a_custom_keyboard).