sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: youtube-dl
Issue: [FR] Splitting live stream into multiple parts
Labels: 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.
- Search the bugtracker for similar feature 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 feature request
- [X] I've verified that I'm running youtube-dl version **2019.08.13**
- [X] I've searched the bugtracker for similar feature requests including closed ones


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
-->

It would be nice, when recording a very long livestream, to be able to save it periodically into multiple files. For example, we could create a new output file every hour (configurable) or when it exceeds a certain size (also configurable)
Repository: godot
Issue: Default Environment lost after re-importing Assets
Labels: bug,topic:editor,confirmed

**Godot version:**
3.1.1 stable

**OS/device including version:**
linux (editor)

**Issue description:**
*project.godot* file has line `environment/default_environment="res://default_env.tres"`
after re-import Assets this line will be lost

**Steps to reproduce:**
remove *.import* folder from any Godot project, and reopen this project
example project has *default environment*, and it lost on load

**Minimal reproduction project:**
https://danilw.github.io/godot-utils-and-other/BUG_Environment/BUG_Environment.zip
Repository: rust
Issue: No documentation about f32_runtime without std
Labels: C-enhancement,T-libs-api,A-docs,A-floating-point

Hi,
It seems like all the functions under `f32_runtime` don't work without std (https://doc.rust-lang.org/src/std/f32.rs.html#29-994)
I tried looking for documentation about this and didn't find anything concrete, and since the `core` docs don't have documentation for the primitives and only the `std` ones do it's hard to figure this out. 
Some examples:
https://play.rust-lang.org/?gist=5aa47f506cd792cf58fbcd9f0219ef2b

According to: https://github.com/rust-lang/rust/issues/39473
It sounds like some of it may be on purpose? if so it's too bad but at least should be documented well
Repository: youtube-dl
Issue: new site support request for mediaamp.io
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.mediaamp.io/about/
- Single Video: source https://player.mediaamp.io/p/U8-EDC/f2EV94iatoa0/embed/select/media/n7T3h6gC_LRU?autoPlay=false
- Single video2: view-source:https://player.mediaamp.io/p/U8-EDC/HOo9GXupLYen/embed/select/media/lFbyKqAOo1qB?form=html
access the video content outside of the player will result in "This content is not available from this domain." error, but it is the case only for some videos 

## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
The video link can be extracted from page source, but access the video content outside of the player will result in "This content is not available from this domain." error, but it is the case only for some videos. It is the case in example 2. 
- Single video: https://www.mediaamp.io/about/
- Single Video: source https://player.mediaamp.io/p/U8-EDC/f2EV94iatoa0/embed/select/media/n7T3h6gC_LRU?autoPlay=false
- Single video2: view-source:https://player.mediaamp.io/p/U8-EDC/HOo9GXupLYen/embed/select/media/lFbyKqAOo1qB?form=html
Repository: go
Issue: encoding/json: unmarshalling null into non-nullable golang types
Labels: NeedsDecision

### Does this issue reproduce with the latest release?

As of 1.12, yes.

### What did you do?

I unmarshalled `null` into an int, string, bool etc. (any non-nullable Golang type)

### What did you expect to see?

A type mismatch error, similar to if I'd unmarshalled a string into an int, or any other type mismatch.

### What did you see instead?

No error at all, unmarshalling 'succeeds' at deserialising `null` into my non-nullable type.

# Discussion

I'm aware of #2540 , I'm specifically arguing for the reversal of that decision. I'm aware the documentation says "Because null is often used in JSON to mean “not present,” unmarshalling a JSON null into any other Go type has no effect on the value and produces no error.". I'm arguing against that behaviour.

#### 1.
The unmarshaller shouldn't have an opinion on what `null` "means", it should accurately map json types into their golang equivalents.

#### 2.

If I'm unmarshalling into a specific golang type, I've gone to the effort of statically defining the type that I expect. The unmarshaller should assist me, and reject any poorly typed input (which it does well for all types other than `null`). If I wanted to marshal into a nullable type, I would have specified a nullable type.

#### 3.

`myVar int` and `myVar *int` currently behave the same way when unmarshalling. In golang, an optional value is often implemented as a pointer, so I read these as "int" and "optional int", and I would expect them to behave differently.

#### 4.

Currently `json` struct tags using the standard library, and `db` struct tags using the standard library for sql behave differently. In the sql libraries, nullable types are explicit, and trying to unmarshal an sql `NULL` into a non-nullable type is an error. For sql, like my point 2 above, a pointer to a value can be used as a nullable version of that type.

#### ~5.~

~It is impossible for me to override this behaviour of the unmarshaller. Defining my own `type NoReallyIMeantInt int` doesn't help. Unmarshalling still succeeds, because the current code parses the `null` first, and returns early without looking at the Golang type. (It explicitly sets Interfaces, pointers, maps and slices to their zero values, and ignores all other types.)~

## Practicalities

I'm aware this decision was made a long time ago. Realistically, what are the chances that this will be fixed now? Is it a compatibility concern? Do we think people deliberately rely on the current unmarshalling behaviour of `null`?
Repository: pytorch
Issue: BCEWithLogitsLoss expects wrong shape of weight (#classes instead of batch size)
Labels: module: nn,module: loss,triaged

## 🐛 Bug

BCEWithLogitsLoss and binary_cross_entropy_with_logits used with weights parameter throw a RuntimeError stating that the weight has wrong shape. According to the documentation
> weight (Tensor, optional) – a manual rescaling weight given to the loss of each batch element. If given, has to be a Tensor of size nbatch.

the weight should have `nbatch `entries but expects a vector of size `#classes`.

## To Reproduce
```
import torch
y = torch.randn((4,5))
pred = torch.randn((4,5))
weights = torch.rand((4))
crit = torch.nn.BCEWithLogitsLoss(weight=weights)
crit(pred, y)
```
Leads to
```
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-14-5fdd39d2ae8b> in <module>
      4 weights = torch.rand((4))
      5 crit = torch.nn.BCEWithLogitsLoss(weight=weights)
----> 6 crit(pred, y)

RuntimeError: The size of tensor a (5) must match the size of tensor b (4) at non-singleton dimension 1
```

Same when calling `F.binary_cross_entropy_with_logits` directlt

## Expected behavior
Return weighted loss

## Environment
PyTorch version: 1.0.1
Is debug build: No
CUDA used to build PyTorch: None

OS: Microsoft Windows 10 Home
GCC version: Could not collect
CMake version: version 3.14.0

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

Versions of relevant libraries:
[pip] numpy==1.16.3
[pip] torch==1.0.1
[pip] torchvision==0.2.2
[conda] blas                      1.0                         mkl  
[conda] mkl                       2019.3                      203  
[conda] mkl_fft                   1.0.12           py37h14836fe_0  
[conda] mkl_random                1.0.2            py37h343c172_0  
[conda] pytorch-cpu               1.0.1               py3.7_cpu_1    pytorch
[conda] torchvision               0.2.2.post3              pypi_0    pypi
[conda] torchvision-cpu           0.2.2                      py_3    pytorch
Repository: flutter
Issue: [iOS] add controller.print(String) to FlutterViewController
Labels: platform-ios,engine,c: proposal,P3,team-ios,triaged-ios

Allow us to print to Flutter's console with a FlutterViewController.print method. I am requesting this because I am not aware of any way to print to the Flutter console from within Swift on iOS.

eg

```swift
let printChannel = FlutterMethodChannel(name: "console", binaryMessenger: controller.binaryMessenger);
printChannel.invokeMethod("print", arguments: "1printyboiiiiiiiI!!!")
```

```dart
void main() {
  MethodChannel("console").setMethodCallHandler((call) {
    if (call.method == "print") {
      print(call.arguments);
    }

    return;
  });

  runApp(_MyApp());
}
```

```
flutter: 1printyboiiiiiiiI!!!
```
Repository: flutter
Issue: Decide on a strategy for macOS application name handling
Labels: tool,platform-mac,a: desktop,P3,team-macos,triaged-macos

Currently if you want to correctly change the display name of the macOS example app in FDE you have to change it in a whole lot of places (various XIB items, build settings, project settings, etc.). That's not viable for a long-term approach—we could populate all of these correctly during initial template creation, but renaming later would be very messy. Before making this into a template we should figure out how we want to manage this; it should require as few edits as possible.

Some things to consider:
- Have the application delegate (which doesn't yet exist) default to walking a known list of menubar items and replacing a placeholder with a runtime string.
- Have the template's window controller to the same with the window title.
- Adding a `pubspec.yaml` entry that we could use to populate a build flag that's set in the xcconfigs.
Repository: go
Issue: x/net/http2: TestServer_Rejects_TLSBadCipher fails on OpenBSD arm
Labels: Testing,OS-OpenBSD,NeedsFix

Example from https://build.golang.org/log/791d55e2cf7e2f96ac6ad20f561477a0f401c861

See https://build.golang.org/?repo=golang.org%2fx%2fnet for more instances

```
--- FAIL: TestServer_Rejects_TLSBadCipher (0.05s)
    server_test.go:549: got a *http2.SettingsFrame; want *GoAwayFrame
    server_test.go:235: Framer read log:
        2019-08-21 14:37:42.791078336 Framer 0xc29d80: read SETTINGS len=24, settings: MAX_FRAME_SIZE=1048576, MAX_CONCURRENT_STREAMS=250, MAX_HEADER_LIST_SIZE=1048896, INITIAL_WINDOW_SIZE=1048576
FAIL
FAIL	golang.org/x/net/http2	74.768s
```

@FiloSottile
Repository: flutter
Issue: CupertinoSliverNavigationBar doesn't become compact in landscape mode
Labels: framework,a: fidelity,f: cupertino,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-design,triaged-design

While it is okay for CupertinoSliverNavigationBar to be "large" in portrait mode (and becoming small as the user scrolls down), it should always stay small in landscape mode.

This could be easily solvable if a parameter controlling the size was present in the constructor (so it could be wrapped in a OrientationBuilder), but this is not the case.

This is how it should look like:
![Simulator Screen Shot - iPhone 6s - 2019-08-26 at 19 17 10](https://user-images.githubusercontent.com/16939117/63708990-2bcaa200-c836-11e9-9a7e-3601132a8638.png)

This is what it actually looks like:
![Simulator Screen Shot - iPhone 6s - 2019-08-26 at 19 17 15](https://user-images.githubusercontent.com/16939117/63709000-3127ec80-c836-11e9-9e3e-9a47d48066d9.png)

_I would like to propose a fix:_ 

Expose the `large` property of `_NavigationBarStaticComponents` and have the `_CupertinoSliverNavigationBarState` use a OrientationBuilder to manipulate this property as needed.
Repository: rust
Issue: Isolate llvm's C++ symbols in distibution binaries?
Labels: A-linkage,A-LLVM,C-enhancement,T-compiler

[MIRAI](https://github.com/facebookexperimental/MIRAI) is an abstract interpreter for MIR. It uses the [Z3 theorem prover](https://github.com/Z3Prover/z3) as part of its implementation. Z3 uses C++, and is often used precompiled.

MIRAI also links against rustc. This means that Z3's C++ library conflicts with the libstdc++ linked into rustc (well, libLLVM I think). At best this generates GB of linker errors, at worst something that seems to build but behaves erratically at runtime.

Is there some way to hide all llvm's C++ symbols so that it just becomes an internal implementation details, and a second libstdc++ can coexist in the same address space? Alternatively could it be distributed with a shared libstdc++ so that llvm and Z3 are using a common library?

I can solve this by building everything from source against the same libstdc++, but its a large burden to build rustc from source just to use MIRAI.

cc @hermanventer @alexcrichton
Repository: neovim
Issue: Cursor shape change has a delay when blinking is enabled (Konsole)
Labels: bug,tui

When using blinking cursor settings, there is a delay for cursor switching shape, between normal, insert and replace modes for example (pressing Ins). My settings:

```
" cursor shapes
set guicursor=n-c:block-Cursor/lCursor-blinkon1,i-v-ci:ver25-Cursor/lCursor-blinkon1,r-cr:hor20-Cursor/lCursor-blinkon1
" restoring cursor to non blinking state on exit
au VimLeave * set guicursor=a:block-blinkon0
```
With defaults (no blinking), cursor shape changes immediately when pressing Ins.
- - - 
Configuration:
nvim version:
```
NVIM v0.3.8
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-zItjhS/neovim-0.3.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -Wconversion -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-zItjhS/neovim-0.3.8/build/config -I/build/neovim-zItjhS/neovim-0.3.8/src -I/usr/include -I/build/neovim-zItjhS/neovim-0.3.8/build/src/nvim/auto -I/build/neovim-zItjhS/neovim-0.3.8/build/include
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv -jemalloc +tui 
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"
```
OS: Debian testing Linux
Terminal: Konsole 19.08.0
`$TERM`: `term-256color`
Repository: flutter
Issue: UIKItView should support mutations: color_filter
Labels: platform-ios,engine,a: platform-views,P2,a: plugins,team-ios,triaged-ios

UIKitView does not support color_filter. See below screenshot. The top half of the app is a regular flutter widget with a color filter and the bottom part is a platform view with the same color filter. They should look the same once UIKitView supports color_filter.


The demo app is hosted at: https://github.com/cyanglaz/platform_view_builder_ops_demo

![Simulator Screen Shot - iPhone 8 - 2022-05-26 at 10 47 21](https://user-images.githubusercontent.com/3756895/170545864-ecb79bdd-5dfa-4a03-a057-e08998782861.png)
Repository: flutter
Issue: UIKItView should support mutations: shader_mask
Labels: platform-ios,engine,a: platform-views,P3,a: plugins,team-ios,triaged-ios

UIKitView does not support shader_mask. See below screenshot. The top half of the app is a regular flutter widget with a color filter and the bottom part is a platform view with the same shader_mask They should look the same once UIKitView supports shader_mask.


The demo app is hosted at: https://github.com/cyanglaz/platform_view_builder_ops_demo


![Simulator Screen Shot - iPhone 8 - 2022-05-26 at 10 55 31](https://user-images.githubusercontent.com/3756895/170547202-45093bbe-80f7-4762-93aa-3016feaca0fb.png)
Repository: flutter
Issue: Evaluate & introduce iOS 13 materials as reusable components
Labels: c: new feature,framework,f: cupertino,P3,team-design,triaged-design

Instead of duplicating code and creating fliter combos in an ad-hoc fashion, it may be worthwhile to  translate iOS system defined materials into reusable cupertino components so we don't have to eye-ball the color values everytime.

https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/materials/
Repository: TypeScript
Issue: Add way force TS Server to use a specific set of tsconfig/jsconfigs
Labels: Suggestion,VS Code Tracked,Rescheduled

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ, especially the "Common Feature Requests" section: https://github.com/Microsoft/TypeScript/wiki/FAQ

-->

From https://github.com/microsoft/vscode/issues/12463


## Search Terms
- tsconfig / jsconfig
- tsserver

## Problem
Some common project templates (such as angular) generate config file with names such as `tsconfig.dev.json`. The TS Server used by VS Code will not load this project because the file is not named `tsconfig.json`. We only load project files exactly named `tsconfig.json` 

## Feature Request
Allow users to configure a specific set one or more project config files that the TS Server should load, such as `/Users/matb/project/test/tsconfig.dev.json`. This could either be configured using a server command line flag or using the `configure` request in TS

## How do we handle additional projects?
If specific project files have been configured, one proposal is that we only load those projects (and never fall back to loading additional projects). Using this approach, when a user opens a new file:

- If that file is part of one of the configured projects, then open it inside the project
- Otherwise load the file in the inferred/global project

As an alternative to this to better support multi-root workspaces in VS Code, we could instead only fall back to loading an additional project if that project is not under the roots of any of the configured projects. For example, if I configured `/Users/matb/project/test/tsconfig.dev.json` as the project to load, we should never load additional projects under: `/Users/matb/project/test/**` but could load ones from under `/Users/matb/project/other/**`
Repository: pytorch
Issue: Ability to tell whether a tensor might be changed in TH/Aten impl
Labels: high priority,module: internals,triaged

In generated code for `at::rrelu_with_noise(self, noise,..., training)`, Tensor `self` and `noise` are const Tensors. But the content of noise indeed changes when `training=true`. https://github.com/pytorch/pytorch/blob/master/aten/src/THNN/generic/RReLU.c#L54

I'm happy to include this task as part of XLA integration improvements if we could form a plan through discussions. :D  
cc: @ezyang @gchanan. 

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @bhosmer @smessmer @ljk53 @suo
Repository: go
Issue: encoding/json: unmarshal option to treat omitted fields as null
Labels: NeedsInvestigation,FeatureRequest

Json objects have two types of null-like fields, either a null value for `foo` such as `{"foo":null}`, or an omitted `foo` field such as `{}`. When unmarshalling into a Golang struct, the field can't really be absent, but I can choose whether the field's type is nullable or not(*1). I don't want to preserve the distinction between json absent and null (one null-type is plenty), so I'd like the option to treat the absent field as if it were `null`, and map both null-like json types into the same Golang behaviour.

(*1) See #33835 for proper `null` unmarshalling support, where `null` into a non-nullable type returns an error, and user-defined types determine whether they can unmarshal `null` or not. This issue makes most sense in combination with that. The current behaviour is to treat both absent and `null` like absent when unmarshalling, and in combination with #33835, the (opt-in) behaviour I'm proposing is to treat both absent and `null` like `null` instead.

The behaviour that I want to avoid is having the Golang field skipped over during unmarshalling when the json field is absent. If my Golang field is optional / some nullable type, it doesn't make a huge difference - the field will be skipped, stay at its zero value, which I can define as the same value I'd get unmarshalling `null` into it. The issue is when I have a non-nullable field - I've gone to the effort of saying my input has a defined structure with a defined non-nullable type, I want the unmarshaller to return an error if the input did not contain the structure I said it should. My proposal would return an error in this case, by treating the absent as `null`, then unmarshalling `null` into the non-nullable golang type, and in combination with (*1) that would return an error.

The implementation I prefer is an opt-in `json.Decoder` flag along the lines of `OmittedAsNull()`, so I can set it once for my whole project. I'm less interested in an `omittedasnull` struct tag, because I'd end up writing it on every struct field I define.

Either way the code would be the same when they're used: after parsing an object into a struct, determine which struct fields were not visited, and unmarshal `null` into them.