sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: Please add new url www.trainedbyjp.com
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 2020.07.28. 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 **2020.07.28**
- [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.trainedbyjp.com/legs-with-dorian-yates/
- Single video: https://www.trainedbyjp.com/eat-big-to-get-big/
- Playlist: NO PLAYLIST

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE

Please can you add https://www.trainedbyjp.com
Repository: pytorch
Issue: CUDAGuard might not create CUcontext
Labels: module: cuda,triaged

## 🐛 Bug

CUDAGuard and OptionalCUDAGuard are used to set cuda devices. In CUDAGuardImpl::setDevice() function current device index is first checked and if it's equal to new device then cudaSetDevice() is not called and corresponding CUcontext object will not be created. That can be a problem for third party libraries that expect CUcontext exists.  
 
## To Reproduce

One issue with device guard was reported here https://github.com/pytorch/pytorch/issues/31528. Device guard in progress thread of mpi process group doesn't initialize cuda context because of described behavior and that leads to segfault in cuda aware mpi.

## Expected behavior

Call cudaSetDevice() in CUDAGuardImpl::setDevice() if CUcontext is not exist in current thread.



cc @ngimel
Repository: rust
Issue: Add `cargo fix` support for switching to intra-doc links
Labels: T-rustdoc,E-hard,A-resolve,C-feature-request,A-intra-doc-links,A-suggestion-diagnostics

This will be tricky for several reasons.

- It needs pulldown support to look at the links even if they're not broken. [`Event`](https://docs.rs/pulldown-cmark/0.7.2/pulldown_cmark/enum.Event.html) and [`Tag`](https://docs.rs/pulldown-cmark/0.7.2/pulldown_cmark/enum.Tag.html) seem like they should work.
- Rustdoc needs to know what the link is _meant_ to resolve to. This can be tricky if the item is re-exported in multiple places (see e.g. https://github.com/rust-lang/rust/issues/32129). Rustdoc should report all possible items you meant if there's ambiguity (and downgrade the applicability).
- Rustdoc needs to know what name in scope matches with the item you're linking too. This seems like it shouldn't be _too_ hard, but I don't see a way to go from `DefId` -> `Path` on [`Resolver`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.Resolver.html), only the reverse. cc @Manishearth, do you have ideas?

This can be implemented as an allowed-by-default lint with [`Applicability::MachineApplicable`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/enum.Applicability.html#variant.MachineApplicable); then `cargo fix` will pick it up automatically.
Repository: youtube-dl
Issue: Site support for https://ww1.animesepisodes.com/
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 2020.07.28. 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 **2020.07.28**
- [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 episode: https://ww1.animesepisodes.com/watch/one-piece-episode-6-english-subbed/
- Entire series: https://ww1.animesepisodes.com/anime/one-piece-english-subbed/


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Hey, I'd like to request site support for https://ww1.animesepisodes.com/. Sadly I don't know if this site is clean on a copyright viewpoint. However I could not find an opposite option via a google/duckduckgo search. I assume it to be ok.

On a technical point, scraping information from this site should be strait forward as its html is minified but not obfuscated. Getting the actual video url is a bit more tricky. The media player their embedding is hardly obfuscated. However videos are stored as a single file, for example on: https://storage.googleapis.com/coastal-airlock-287102/XKTUEY3QG2D/23a_1598014379_3533.mp4. Once we get this url downloading is child's play. I've found this out by looking at the network tab of my developer console.

If I get a positive response regarding this issue, I'd like to give this a try my self and maybe issue a PR later.
Repository: PowerToys
Issue: [PowerRename] Rename converting decimal numbers to hexadecimal
Labels: Idea-Enhancement,Help Wanted,Product-PowerRename

Proposed Feature: Bulk renaming decimal numbers to hexadecimal equivalents with PowerRename

Example: frame0056            frame0038
               frame0107   --->  frame006B
               frame0352            frame0160
Repository: TypeScript
Issue: Provide an editor-level warning when including output files
Labels: Suggestion,Needs Proposal

Something that we noticed with internal codebases, as well as even [with RxJS](https://github.com/ReactiveX/rxjs/blob/15311529fa1b880ed469b6c253cd0be7ff2f98a1/tsconfig.json) is that `tsconfig.json`s are incorrectly configured for editor scenarios and include folders like `dist` and `lib`. This means you end up with slower performance, and [noisy auto-imports](https://twitter.com/BenLesh/status/1297228494368317442).

We already provide some sort of error here when compiling, but we don't provide the same error in editor scenarios.

Open questions:

- How is this information presented to the user? How is the editor given notice that it should alert a user about this?
- What exactly does it mean to include an output file? [In the case of RxJS](https://github.com/ReactiveX/rxjs/blob/15311529fa1b880ed469b6c253cd0be7ff2f98a1/tsconfig.json), there are no "output files" getting included in the compilation based on how we determine a file is an an output of input files. Specifically, the root-level `tsconfig.json` doesn't specify an `outDir`, so it doesn't know that it should avoid including `dist`. Maybe we can use some directory-naming heuristics when we find one folder named `src` and another named `dist` or `lib`?
Repository: go
Issue: encoding/json: use different error type for unknown field if they are disallowed 
Labels: NeedsInvestigation,FeatureRequest

On Go 1.15 and below, json decoder returns a generic error when unknown fields are disallowed (via `Decoder.DisallowUnknownFields`. See https://github.com/golang/go/blob/master/src/encoding/json/decode.go#L737-L739

It may be useful to return a different error type so the caller can detect when it is the case. 

The only way to detect that currently is to interpret the string returned by `Error`
Repository: storybook
Issue: v6 source-loader / addon-storysource not working, when default and named export of stories are defined in two different files
Labels: bug,addon: storysource,source-loader

**Describe the bug**
When we separate the default export of a story and the definition of a named exported story into two different files, then source loader / addon-storysource modules are not working. Story tab in tha add-on panel shows up as empty

This scenario works fine in v5 but fails in v6

**To Reproduce**
download the sample reproducible code from below repo and run npm run storybook
https://github.com/vinothvk/storybookjv6-story-source-issue

Now visit 
http://localhost:9010/?path=/story/greeting--title-only 
http://localhost:9010/?path=/story/greeting--with-message

check the story tab it will be empty

**Expected behavior**
story definition though it is present in different file should show up (it does in v5 version not in v6)
Also the line story start and end to be highlighted ( this was not working in v5 )

**Screenshots**
NA

**Code snippets**
https://github.com/vinothvk/storybookjv6-story-source-issue

**System:**
Environment Info:

  System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.7 - ~/.nvm/versions/node/v12.18.3/bin/npm
  Browsers:
    Chrome: 84.0.4147.135
    Firefox: 78.0.2
    Safari: 13.1.2
  npmPackages:
    @storybook/addon-a11y: ~6.0.16 => 6.0.16
    @storybook/addon-actions: ~6.0.16 => 6.0.16
    @storybook/addon-backgrounds: ~6.0.16 => 6.0.16
    @storybook/addon-console: ~1.2.1 => 1.2.1
    @storybook/addon-controls: ~6.0.16 => 6.0.16
    @storybook/addon-docs: ~6.0.16 => 6.0.16
    @storybook/addon-events: ~6.0.16 => 6.0.16
    @storybook/addon-knobs: ~6.0.16 => 6.0.16
    @storybook/addon-links: ~6.0.16 => 6.0.16
    @storybook/addon-storysource: ~6.0.16 => 6.0.16
    @storybook/addon-toolbars: ~6.0.16 => 6.0.16
    @storybook/addon-viewport: ~6.0.16 => 6.0.16
    @storybook/addons: ~6.0.16 => 6.0.16
    @storybook/react: ~6.0.16 => 6.0.16
    @storybook/theming: ~6.0.16 => 6.0.16

**Additional context**
NA
Repository: node
Issue: Modules doc direct execution test invalid under "type": "module"
Labels: esm

Trying to emulate the Python `__main__` check for testing purposes, I found the description in 
["Accessing the Main Module"](https://nodejs.org/dist/latest-v14.x/docs/api/modules.html#modules_accessing_the_main_module) is unhelpful when package.json is set to ES modules mode "type": "module".

Suggesting `if (require.main === module)` is unhelpful when both `require` and `module` are undefined and node throws errors.

I see at ["No require, ..."](https://nodejs.org/dist/latest-v14.x/docs/api/esm.html#esm_no_require_exports_module_exports_filename_dirname) that it says no `require` variable is created in ESM mode, but it doesn't say `module` disappears also.

I see old issues #21143 and linked #21150 but don't understand if they were asking for `require`/`module` in ESM mode.

The [modules doc](https://nodejs.org/dist/latest-v14.x/docs/api/modules.html) needs updating to reflect what happens under "type": "module" mode. That text has been left behind by the node.js support for ESM.

If there is elsewhere - or could be - hints as to how to emulate the Python `__main__` check that'd be of interest to more than a few people.
Repository: pytorch
Issue: Trying to build PyTorch from source with LLD 8 fails
Labels: module: build,triaged,module: static linking

## 🐛 Bug

Trying to build PyTorch from source with LLD 8 fails with error messages like:

```
ld: error: can't create dynamic relocation R_X86_64_DTPOFF32 against symbol: at::internal::lazy_init_num_threads()::init in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o
>>> referenced by AdaptiveAveragePooling.cpp
>>>               caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o:(void at::parallel_for<void at::native::(anonymous namespace)::adaptive_avg_pool2d_out_frame<float>(float*, float*, long, long, long, long, long, long, long, long, long, long)::'lambda'(long, long)>(long, long, long, float const&) (._omp_fn.4))
```

Appears to work with LLD9 and GNU ld (GNU Binutils for Ubuntu) 2.30.

## To Reproduce

Try to build from source with LLD 8.

## Expected behavior

Works or throws an error saying the linker is not supported.

## Environment

PyTorch version: 1.7.0a0+8efa898
Is debug build: False
CUDA used to build PyTorch: 10.1

OS: Ubuntu 18.04.3 LTS (x86_64)
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Clang version: Could not collect
CMake version: version 3.14.0

Python version: 3.6 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.1.105
GPU models and configuration: 
GPU 0: Quadro GP100
GPU 1: Quadro GP100

Nvidia driver version: 440.82
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.19.0
[pip3] torch==1.7.0a0+8efa898
[pip3] torchvision==0.6.1
[conda] blas                      1.0                         mkl  
[conda] magma-cuda101             2.5.2                         1    pytorch
[conda] mkl                       2020.1                      217  
[conda] mkl-include               2020.1                      217  
[conda] mkl-service               2.3.0            py36he904b0f_0  
[conda] mkl_fft                   1.1.0            py36h23d657b_0  
[conda] mkl_random                1.1.1            py36h0573a6f_0  
[conda] numpy                     1.19.1           py36hbc911f0_0  
[conda] numpy-base                1.19.1           py36hfa32c7d_0  
[conda] torch                     1.7.0a0+8efa898           dev_0    <develop>


## Additional context

Should we start logging the linker? 


cc @malfet
Repository: terminal
Issue: Add command-line option start terminal minimized
Labels: Product-Terminal,Issue-Task,Area-Commandline

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

Currently command-line options for launching the windows terminal in maximized and full screen modes are available (-M and -F respectively). Notably, an option of launching minimized is missing.

I use windows task scheduler to start a variety of scripts at logon to insure my build environment is brought up to date the second I logon. Having the output of these scripts display in an interactive terminal is extremely helpful. However when I start my computer and I am not quite ready to work I must interact with the windows terminal to minimize it. A minimize flag in the command line options would solve this issue.
Repository: rust
Issue: Suggest copy_from_slice for erroneous array assignment
Labels: A-diagnostics,T-compiler,A-suggestion-diagnostics,D-newcomer-roadblock

Currently, this code spews out a lot of text about `Sized` and traits ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6c3bda5e4d3b756181604463d3fac2b6)):

```rust
fn main() {
    let a = [1, 2, 3, 4];
    let b = [0, 1];
    b[0..2] = a[0..2];
}
error[E0277]: the size for values of type `[{integer}]` cannot be known at compilation time
 --> src/main.rs:4:5
  |
4 |     b[0..2] = a[0..2];
  |     ^^^^^^^ doesn't have a size known at compile-time
  |
  = help: the trait `std::marker::Sized` is not implemented for `[{integer}]`
  = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
  = note: the left-hand-side of an assignment must have a statically known size
```
However, it's pretty clear that what it actually means is
```rust
    b[0..2].copy_from_slice(&a[0..2]);
```
It would be great to suggest the latter.
Repository: ant-design
Issue: Modal: Children for mask (contentMask) in Modal component
Labels: Inactive

- [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.

### What problem does this feature solve?
If we have children for mask, we can put custom content outside of modal card

### What does the proposed API look like?
```
Interface ModalProps {
contentMask?: ReactNode;
...
}

<Modal
 contentMask={(<div className="absolute">Content outside of modal card</div>)}
 {...props}
>
  <p>Normal content</p>
</Modal>
```


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: cmd/compile: some missing BCE cases
Labels: Performance,NeedsInvestigation,compiler/runtime

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.15 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What did you do?

```golang
package foo

func f(a []int) {
	//a = a[:256] // works
	_ = a[255] // doesn't work (edit: before 1.24)
	for i := 0; i < 50000; i++ {
	    _ = a[byte(i)] // BCEed?
	}
}

func g(a []int) {
	//a = a[:4096] // works
	_ = a[4095] // doesn't work (edit: before 1.19)
	for i := 0; i < 50000; i++ {
	    _ = a[i&4095] // BCEed?
	}
}
```

### What did you expect to see?

Both tricks work.

### What did you see instead?

One of them doesn't work.
Repository: storybook
Issue: Independent CHP level 1 with storybook versioning
Labels: bug,help wanted,api: stories,documentation,core

According to the new docs of v6, supporting package storybook versioning, there're some requirements we need to meet:

1. `Support for /stories.json` - Is there some sort of Storybook API that provides this stories.json file?
1. `Support for /metadata.json and the releases field.` - Same question.

Docs ref: https://storybook.js.org/docs/react/workflows/package-composition#chp-level-1
Repository: go
Issue: cmd/go: unrecognized command line option '-rdynamic' when compiling to Android
Labels: NeedsInvestigation

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.15 windows/amd64
</pre>

### Does this issue reproduce with the latest release? Yes



### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
PS C:\Users\hasan> go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=C:\go\bin
set GOCACHE=C:\Users\hasan\AppData\Local\go-build
set GOENV=C:\Users\hasan\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\hasan\Documents\GoWorkPlace\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\hasan\Documents\GoWorkPlace
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\hasan\AppData\Local\Temp\go-build663873386=/tmp/go-build -gno-record-gcc-switches
</pre></details>

### What did you do?

build.go
```go
package main

import (
	"fmt"
	"os"
	"os/exec"
)

type compiles struct {
	sys  string
	arch string
}

func main() {
	var output string
	// go tool dist list
	systems := []compiles{
		compiles{
			sys:  "darwin",
			arch: "amd64",
		},
		compiles{
			sys:  "android",
			arch: "amd64",
		},
		compiles{
			sys:  "linux",
			arch: "amd64",
		},
	}

	for _, s := range systems {
		os.Setenv("GOOS", s.sys)
		os.Setenv("GOARCH", s.arch)
		switch println(s.sys); s.sys {
		case "darwin":
			output = "output.dmg"
		case "android", "linux":
			//os.Setenv("CC", "arm-none-eabi-gcc")
			output = "output"
		default:
			println("Undefined")
		}
		cmd := exec.Command("go", "build", "-o", output, "main.go")
		out, err := cmd.CombinedOutput()
		if err != nil {
			fmt.Printf("cmd.Run() failed with %v:\n\noutput:\n\n%s\n", err, out)
		}
	}
}
```



### What did you expect to see?

By running `go run build.go` I expect cross compiling for the specified systems, and getting 3 binary files generated, 1 for Apple, 1 for Linux and 1 for Android.

### What did you see instead?

I get 2 (for Apple and Linux) and got error at the time of building the one for Android
```bash
C:\Users\hasan\Documents\GoPlay\Env>go run build.go
darwin
android
cmd.Run() failed with exit status 2:

output:

# command-line-arguments
c:\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
gcc: error: unrecognized command line option '-rdynamic'


linux
```