sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: Quick fix for using bracket accessor instead of get/set on Map
Labels: Suggestion,Domain: Quick Fixes,Experience Enhancement

<!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:**  3.6.0-dev.20190814 

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**
- quick fix 
- code action
- getCodeFixes

**Code**
With `strict: true`: 

```ts
class Foo {
    public readonly map = new Map<string, string>();

    constructor() {
        console.log(this.map['af123']);``
    }
}
```

This produces the error:

```
Element implicitly has an 'any' type because type 'Map<string, string>' has no index signature. Did you mean to call 'get' ?
```

**Expected behavior:**
The error message suggests a fix. We should  should be a quick fix that changes the code to call `.get`

**Actual behavior:**
No quick fix returned.
Repository: pytorch
Issue: Build PyTorch 1.2.0 occur `recipe for target bin/test_parallel' failed
Labels: module: build,triaged

## 🐛 Bug

When building PyTorch 1.2.0, occur `recipe for target 'bin/test_parallel' failed` error.

## To Reproduce

Steps to reproduce the behavior:

1. `git clone https://github.com/pytorch/pytorch.git` 
2. `git git checkout tags/v1.2.0 -b build-v1.2.0`
3. `python setup.py install`

## Environment
```
PyTorch version: 1.2.0+cpu
Is debug build: No
CUDA used to build PyTorch: None

OS: Ubuntu 18.04.2 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.10.2

Python version: 3.7
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
```

## Additional context

Here is the [build.log](https://gist.github.com/rivergold/750cd567d35ffe0820b6fe2c98f713ea)
Repository: TypeScript
Issue: union types not type guarded
Labels: Bug,Fix Available,Rescheduled

<!-- 🚨 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 `typescript@next`. It may have already been fixed. -->
**TypeScript Version:**  3.5.2

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:*extended function type restriction*

**Code**

```ts
class C
{
    name: string;
    constructor(private handler: F)
    {
        this.name = handler.name;
    }
}

type F = (...args: any[]) => any;

type F2 = F & { inject?: string[] }

function f(x: C | F2):C
{
    if (typeof x == 'function')
        x = new C(f);

    return x;
}
```

**Expected behavior:** x in function f should be of type C at the point of the return statement

**Actual behavior:** x is considered as C or F2, apparently because of the combined type (it works well if we replace F2 with F)

**Playground Link:** https://www.typescriptlang.org/play/index.html#code/MYGwhgzhAEDCBQBve1XQHZgLYFMBc0EALgE4CW6A5gNwprAD26xJArsEQyQBQAO5ANzBEc0ABZh0AExA4SBAGIBKOqmRoN0ImLIQAdJlzQAvOMky5B7DloaAvvAfwiAT16iFJ6Nz2+wJSggCSRcAbQBdJRMAPmgQ2mc3DwAmL08AMmhEaAoAKxwOAH4CFgpKCOgnADNWdA4yJmgq7gAPAlhoAB9oBWSlPAR1NDIq71d3BlGWk1MAchq6ogb0WZVNNGnTdBwAdzhuKqUEjRIcIlYSdGgW2jsgA

**Related Issues:** #27143
Repository: neovim
Issue: Vim script syntax highlighting messed up after fold marker
Labels: runtime,bug-vim,syntax,needs:vim-patch


- `nvim --version`:  v0.3.8
- `vim -u DEFAULTS` (version: ) behaves differently? no
- Operating system/version: linux
- Terminal name/version: kitty
- `$TERM`: xterm-kitty

### Steps to reproduce using `nvim -u NORC`

Open a .vim file.
Run `:set foldenable | set foldmethod=marker`.
Declare a variable `let g:my_var = 'test'`.
Insert a newline and create a fold on the previous line using `o<esc>kzfj`.
Type some vimscript inside the fold.

### Actual behaviour

Syntax highlighting doesn't work correctly inside the fold unless a space is added between the string and the initial fold marker (`"{{{`).

### Expected behaviour

Syntax highlighting works as usual.


##### Without space:
![2019-08-16-011255_maim](https://user-images.githubusercontent.com/29720696/63144067-99b9d280-bfc7-11e9-84c1-f2434cca1f35.png)
##### With space:
![2019-08-16-011447_maim](https://user-images.githubusercontent.com/29720696/63144082-a76f5800-bfc7-11e9-9538-197a30efabb4.png)
Repository: youtube-dl
Issue: download from boomerang.com audio and video
Labels: site-support-request



- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2019.08.13**
- [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

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://watch.boomerang.com/watch/227/1


## Description

<!--
Provide any additional information.

-->
I try to download audio and video from boomerang but it is not supported there are free episodes for testing

WRITE DESCRIPTION HERE
Repository: rust
Issue: rustc (>= 1.20.0) fails to optimize moves in trivial cases
Labels: A-LLVM,I-slow,C-enhancement,T-compiler,C-optimization

The example code below generates extra stack copies of String (meta)data in function `got()` which is expected to produce identical *optimized* code with `expect()`. For quickly verifying the issue, compare `sub rsp, $FRAME_SIZE` instructions which initialize stack frames in the beginning of `got()` & `expect()` functions compiled with `-C opt-level=3` (or measure & compare the generated code sizes). [Rust Playground link](https://play.rust-lang.org/?version=nightly&mode=release&edition=2018&gist=0438199d12435fdcdcc8e65605b762af).

rustc versions before 1.20.0 produce expected optimized assembly.

```rust
pub fn got() -> String {
    let mut res = String::new();
    let s0 = String::from("foobar");
    res.push_str(&s0); let s0 = s0;
    res.push_str(&s0); let s0 = s0;
    res.push_str(&s0); let s0 = s0;
    res.push_str(&s0);
    res
}

pub fn expect() -> String {
    let mut res = String::new();
    let s0 = String::from("foobar");
    res.push_str(&s0);
    res.push_str(&s0);
    res.push_str(&s0);
    res.push_str(&s0);
    res
}

/*
 * s0: String required, s0: &str generates correctly optimized assembly
 * res.push_str(...) line repetitions can be increased for a greater effect
 * let s0 = s0 used for illustration purposes (variable names do not matter)
 */
```
Repository: react
Issue: SSR: Cannot set property 'memoizedState' of null
Labels: Type: Bug

<!--
  Note: if the issue is about documentation or the website, please file it at:
  https://github.com/reactjs/reactjs.org/issues/new
-->

**Do you want to request a *feature* or report a *bug*?**

A bug?

**What is the current behavior?**

> Cannot set property 'memoizedState' of null

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:**

```js
const processLink = html => {
  return renderToStaticMarkup(<Link />)
};

const RichText = ({ html }) => {
  const htmlProcessed = useMemo(() => processLink(html), [html]);
}
```
See https://codesandbox.io/s/cannot-set-property-memoizedstate-of-null-mrxfr

**What is the expected behavior?**

**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**

16.8~16.9
Repository: create-react-app
Issue: Automatically convert manifest.json fields to corresponding iOS meta tags
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

On iOS, Safari doesn't make use of the manifest.json icons, splash screen, and other settings. Instead, it expects some special meta tags in the HTML page.


### Describe the solution you'd like

<!--
  Provide a clear and concise description of what you want to happen.
-->

It would be very useful if CRA included some webpack plugin that automatically reads the manifest.json entries and injects the needed HTML tags in the index.html page.

### Describe alternatives you've considered

<!--
  Let us know about other solutions you've tried or researched.
-->

N/A

### Additional context

<!--
  Is there anything else you can add about the proposal?
  You might want to link to related issues here, if you haven't already.
-->

I know there are some plugins such as webpack-pwa-manifest, but they require a special format that then generates both the manifest.json **and** the HTML tags.

I think it would make more sense if the plugin directly read the manifest.json settings instead, so that we don't tie the users to a custom syntax.
Repository: pytorch
Issue: Crashes on torch.cuda.memory_allocated(device)
Labels: module: error checking,triaged

## 🐛 Bug

I have two Nvidia cards and after setting in the environment`CUDA_VISIBLE_DEVICES=1`, then running

    import torch                              
                                          
    device = torch.device("cuda:1")           
    print(torch.cuda.memory_allocated(device))
I get

    Traceback (most recent call last):
      File "bug.py", line 4, in <module>
        print(torch.cuda.memory_allocated(device))
      File "/home/hovnatan/miniconda3/lib/python3.7/site-packages/torch/cuda/__init__.py", line 461, in memory_allocated                                          
       return torch._C._cuda_memoryAllocated(device)
    RuntimeError: 0 <= device && device < device_num INTERNAL ASSERT FAILED at /opt/conda/conda-bld/pytorch_1565272271120/work/c10/cuda/CUDACachingAllocator.cpp:667, please report a bug to PyTorch. Invalid device argument.

## Environment

    Collecting environment information...
    PyTorch version: 1.2.0
    Is debug build: No
    CUDA used to build PyTorch: 10.0.130

    OS: Ubuntu 16.04.6 LTS
    GCC version: (Ubuntu 8.3.0-16ubuntu3~16.04) 8.3.0
    CMake version: version 3.15.1

    Python version: 3.7
    Is CUDA available: Yes
    CUDA runtime version: 7.5.17
    GPU models and configuration: 
    GPU 0: GeForce RTX 2080
    GPU 1: GeForce RTX 2080

    Nvidia driver version: 418.56
    cuDNN version: Could not collect

    Versions of relevant libraries:
    [pip] numpy==1.17.0
    [pip] torch==1.2.0
    [pip] torchvision==0.4.0a0+6b959ee
    [conda] mkl                       2019.4                      243  
    [conda] pytorch                   1.2.0           py3.7_cuda10.0.130_cudnn7.6.2_0    pytorch
    [conda] torchvision               0.4.0                py37_cu100    pytorch
Repository: rust
Issue: Remove repr(simd) attribute and use a lang-item instead
Labels: C-cleanup,T-compiler,A-SIMD

After #63531, we should, at some point, expose a `#[lang = "packed_simd"] struct Simd<T, const N: usize>([T; N]);` from libcore that we handle specially in the compiler instead of using a `#[repr(simd)]` attribute for it.
Repository: godot
Issue: Android: copy/paste menu not available for LineEdit/TextEdit
Labels: bug,platform:android,topic:porting,topic:gui

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if non-official. -->
3.1.1 stable flathub

**OS/device including version:**
<!-- Specify GPU model and drivers if graphics-related. -->
Linux (Ubuntu 18.04 LTS) + Android
JDK: jdk-8u222-ojdkbuild-linux-x64

**Issue description:**
<!-- What happened, and what was expected. -->
Normal Android text input has a context menu, shown after pressing the screen for a longer while. That menu allows to copy or cut the text (if a text was selected) or paste previously copied text (if an empty text input was selected). An Android application exported by Godot doesn't show that context menu.

**Steps to reproduce:**


**Minimal reproduction project:**
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->
Repository: godot
Issue: Check texture dimension and warn when exporting for mobile/web platforms
Labels: enhancement,platform:web,platform:ios,platform:android,topic:editor,topic:export

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if non-official. -->
3.x

**OS/device including version:**
<!-- Specify GPU model and drivers if graphics-related. -->
iOS and Android

**Issue description:**
<!-- What happened, and what was expected. -->
It would be better to check texture dimension for mobile when exporting.

**Steps to reproduce:**


**Minimal reproduction project:**
<!-- Recommended as it greatly speeds up debugging. Drag and drop a zip archive to upload it. -->
Repository: pytorch
Issue: [Tensorboard] Write summaries to S3 or GCS bucket
Labels: feature,triaged,module: tensorboard

## 🚀 Feature
When creating a SummaryWriter, specifying a path in an S3 or GCP bucket should directly write to the bucket instead of the local filesystem

## Motivation

Both in tensorflow and tesorboardX you can specify s3:// or gs:// paths in your logdir, which greatly simplifies distributed training and monitoring, you also can launch tensorbaord directly from your local machine, or a notebook pointing directly to the bucket, which means no need to launch a machine to share results, just the URL to the results inside the bucket

## Additional context

tensorboardX implementation https://github.com/lanpa/tensorboardX/blob/master/tensorboardX/record_writer.py#L57
Repository: storybook
Issue: More control over sidebar content
Labels: feature request,addon: docs

**Is your feature request related to a problem? Please describe.**
One of my stories has a lot of text about the project and is broken up into several parts (very minimal on code).  Because they are not Stories in the traditional sense, they are not indexed in the sidebar where it would be ideal.

**Describe the solution you'd like**
With `addon-docs` enabled, perhaps allow indexing to occur on text groupings  with `<Article>` tags just like we do for `<Story>`, like so:
```
<Article name="History">
     Lorem ipsum dolor sit amet...
</Article>
<Article name="Setup">
     Lorem ipsum dolor sit amet...
</Article>
```
As we aim to consolidate documentation with code seamlessly into one view I think it would be nice to index documentation to the sidebar equally.

**Describe alternatives you've considered**
I tried wrapping `<Story>` around the text but Storybook didn't like that.

**Are you able to assist bring the feature to reality?**
No; wish I could!
Repository: pytorch
Issue: Benchmark cudnn version of grid sampler
Labels: module: performance,module: cudnn,triaged

As discussed in #23923  , we should benchmark the perf difference between cudnn version and native version of grid sampler. cudnn version has very limited support, we should remove it if the perf doesn't vary much. 

cc @csarofeen @ptrblck @VitalyFedyunin @ngimel
Repository: rust
Issue: rustdoc: Poor CPU usage on Windows during thousands of doctests
Labels: O-windows,T-rustdoc,I-compiletime,C-bug,A-doctests

When running the doctests for the `core` crate on my 28-core system the system unfortunately never really gets above 40% cpu usage, yet the doctests being compiled are embarassingly parallel and should result in full usage of the cores available to execute.

For now this can be reproduced with `./x.py test src/libcore --doc` and watching CPU usage via `python src/ci/cpu-usage-over-time.py`

One suspicion I have for this is that rustdoc has always use in-process compilation for all the doctests, but there may be an excessive amount of synchronization in LLVM or rustc which prevents all CPU cores from being used. I'm not sure if this is the cause though.
Repository: godot
Issue: Basis.get_euler() can return pitch outside of [-π/2, π/2] range
Labels: bug,discussion,topic:core,confirmed

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
v3.2.dev.custom_build.188a10df8 de8ce3e


**OS/device including version:**
Linux Mint 19.2 x86_64


**Issue description:**
Euler angles are supposed to be returned in the [-π, π] range for yaw and roll, and [-π/2, π/2] range for pitch.
However, when yaw and roll are both zero, pitch is returned in the [-π, π] range.


**Steps to reproduce:**
* Write a script that can rotate an object.
* Print the angles returned by basis.get_euler()


**Minimal reproduction project:**
[EulerTest.zip](https://github.com/godotengine/godot/files/3510055/EulerTest.zip)
This project contains two Aircraft nodes, which are identical except for their overall orientation, and their script which print either "Aircraft 1" or "Aircraft 2".
You can rotate both planes with the arrow keys and page up/down keys, and you can reset them by pressing R.
If you pitch up or down, you will notice that pitch values will differ when passing π/2 (90°). Any amount of rotation along roll and yaw will make the incorrect pitch value jump to the correct value.

Aircraft 2 is for demonstration purposes, it is rotated such that its axes follow the XYZ convention the get_euler() function is based upon: X forward, Y to the right, Z down. When rotated back to the same orientation as Aicraft 1, pitch is returned in the expected range. This might be related to the rotation not being exactly 90°, though.

 The pitch issue might come from the rotation back to Godot orientation of Y up.
Repository: godot
Issue: Warn user when saving Signal with unsavable binding
Labels: enhancement,topic:editor

<!-- Please search existing issues for potential duplicates before filing yours:
https://github.com/godotengine/godot/issues?q=is%3Aissue
-->

**Godot version:**
<!-- Specify commit hash if non-official. -->
3.1

Feature request pretty much.

When creating Signals in editor tools, plugins, and tool scripts, you can inadvertently create connections with binding arguments that can not be saved to a scene file. For example node references, (Which are often attached so you can easily identify who is emitting a signal.)

I think it would be a good idea to print a warning when such a signal is being saved, so that there can be no unexpected runtime behavior.
Repository: pytorch
Issue: Migrate CPU_tensor_apply to TensorIterator in aten/src/ATen/native/TensorCompare.cpp:30
Labels: triaged,better-engineering,module: CPU_tensor_apply

Migrate CPU_tensor_apply to TensorIterator
https://github.com/pytorch/pytorch/blob/eabfca3577ea85df2d68bdf747c62dd4a5fff5cf/aten/src/ATen/native/TensorCompare.cpp#L30
How to use TensorIterator: https://github.com/pytorch/pytorch/wiki/How-to-use-TensorIterator
Additional Instructions:#24478
Blocked by:#24472
Repository: flutter
Issue: Do macOS engine binaries need LTO?
Labels: engine,platform-mac,a: desktop,P3,team-macos,triaged-macos

For Android and iOS we build the release and profile engine binaries with LTO. This adds a significant amount of time to the build process, but results in smaller binaries.

For the macOS desktop profile and release engines, the benefit of space saving might not be as pronounced. Additionally, we're a bit under capacity in terms of macOS infra, so skipping LTO at least in the short-term has some benefits.


cc @dnfield @chinmaygarde @stuartmorgan
Repository: youtube-dl
Issue: unable to download video from duboku.net
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 2019.08.13. 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 **2019.08.13**
- [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

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.youtube.com/watch?v=BaW_jenozKc
- Single video: https://youtu.be/BaW_jenozKc
- Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->


unable to download video from https://www.duboku.net/vodplay/459-1-7.html

please add support for duboku.net