sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [go_router] Nested navigation limitation
Labels: platform-web,package,has reproducible steps,P3,found in release: 2.10,p: go_router,found in release: 2.13,team-go_router,triaged-go_router

# Use case

The following was implemented using `go_router`:
```
  final _router = GoRouter(
    routes: [
      GoRoute(
        path: '/home/:tab',
        builder: (_, __) => const HomePage(),
        routes: [
          GoRoute(
            path: 'add_banana',
            builder: (_, __) => const AddBanana(),
          ),
          GoRoute(
            path: 'add_apple',
            builder: (_, __) => const AddApple(),
          ),
      ),
    ],
    urlPathStrategy: UrlPathStrategy.path,
  );
```
The home page has 2 tabs, `Apples` and `Bananas` and the following are all valid routes in the app:
* `/home/apples`
* `/home/apples/add_apple`
* `/home/bananas`
* `/home/bananas/add_banana`

Unfortunately, the way `go_router` handles nested navigation, there is no way to limit or introduce specificity on the routes under `/home/:tab` and as a consequence routes like:
* `/home/bananas/add_apple` or
* `/home/apples/add_banana`

are also valid, without a way to block that, despite the fact that they make no sense in the app and constitute maintainability issues in the long run.
Repository: youtube-dl
Issue: Split youtube audio using video chapters
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 2021.12.17. 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 **2021.12.17**
- [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.
-->

Hello, I was wondering if there was support for splitting a youtube video's audio into separate audio files based on the video's chapters. 

For example, this video:

https://www.youtube.com/watch?v=hrxTh9m-xQw

Is 31 minutes long, and you can see the video's chapters when you scroll your mouse through the video, also included in the video description are timestamps
```
00:00 Sweet Matara
17:24 House of Music
21:14 Bambo's Bump
```
![image](https://user-images.githubusercontent.com/27025504/161873374-4744f807-5dd0-4d93-91c4-a1cee6ec9ee3.png)

What I'm trying to accomplish is instead of downloading the entire 31 minute video as a single audio file:
```
Sweet Matara - Barney Rachabane & Company (1976)-hrxTh9m-xQw.mp3
```
The 31 minute video gets split up into the three chapters named/tagged accordingly:
```
- 1. Sweet Matara - Sweet Matara - Barney Rachabane & Company (1976)-hrxTh9m-xQw.mp3
- 2. House of Music - Sweet Matara - Barney Rachabane & Company (1976)-hrxTh9m-xQw.mp3
- 3. Bambo's Bump - Sweet Matara - Barney Rachabane & Company (1976)-hrxTh9m-xQw.mp3
```
 I was wondering if this feature was possible currently using the youtube-dl pip package, if not then Its something I can work on adding and submitting in a PR
Repository: PowerToys
Issue: Developer file preview shows html code, overriding an html previewer that actually renders the html
Labels: Idea-Enhancement,Product-File Explorer

### Microsoft PowerToys version

0.57.0

### Running as admin

- [ ] Yes

### Area(s) with issue?

Developer file preview

### Steps to reproduce

- Enable this setting: File Explorer add-ons>Preview Pane> Enable developer files preview.
- Preview an html file in Explorer - it shows html code, i.e. it does render the content.  This is probably not what most people want.
- Preview a markdown file in Explorer - it is rendered.  Why the inconsistency?
Disable the setting and html files are rendered in the preview pane.  If there's actually a reason for the PowerToys previewer to show the code instead of rendering the html, perhaps an option to disable the PowerToys preview for specific file types such as html.  Or follow the suggestion from a few years ago to provide buttons to toggle between previewing as code or rendered.

### ✔️ Expected Behavior

Rendered html in the preview pane.

### ❌ Actual Behavior

html displayed as code in the preview pane.

### Other Software

_No response_
Repository: godot
Issue: Instancing a node2d with modified properties and queue_freeing it in same thread causes getornull error
Labels: bug,topic:core

### Godot version

v3.4.4.stable.official [419e713a2]

### System information

Windows 10

### Issue description

Creating a node2d in a thread and then queue_freeing it in the same thread will cause
```

getornull: Condition "!id_map.has(p_rid.get_data())" is true. Returned: nullptr
  <C++ Source>  ./core/rid.h:149 @ getornull()

```
If normally modifiable properties are changed, like position, scale, or modulate. Each property changed will cause an additional error for each modified node alongside a more specific error, like this one for a changed modulate:
`canvas_item_set_modulate: Condition "!canvas_item" is true.
  <C++ Source>  servers/visual/visual_server_canvas.cpp:425 @ canvas_item_set_modulate()
`

### Steps to reproduce

Have a scene with a node2d (or a derivative) with changed properties.
Create a thread and instance the scene within the thread.
Queue_free the scene. Errors will occur.

### Minimal reproduction project

[PropertyBugThread.zip](https://github.com/godotengine/godot/files/8422957/PropertyBugThread.zip)
Repository: rust
Issue: Automatically detect number of columns for test cases to display in terse mode
Labels: C-enhancement,A-libtest

#95709 reduce(d) the number of test cases to display from 100 to 88 to fit under a terminal with 100 columns.

As an improvement, we could automatically decide how many test cases to display in each row using detection, and fallback to a default if not displayed in terminal.
Repository: go
Issue: x/playground: no error reported for stack overflow (due to infinite recursion)
Labels: NeedsInvestigation

When running the following [infinitely-recursive code](https://go.dev/play/p/ILbGVj0dfWg) on the Go Playground (with Go 1.18, but 1.17 and dev do the same):

```go
func f() string {
	return f()
}

func main() {
	fmt.Printf("%q", f())
}
```

Instead of printing a "stack overflow" or any other kind of error, it prints nothing except the usual "Program exited" message. This is confusing because it appears the program ran successfully. Presumably the Playground runtime can tell whether a program exited successfully or with some kind of error (stack overflow / out of memory in this case) and print "fatal error: stack overflow" or similar.

See related [golang-nuts thread](https://groups.google.com/g/golang-nuts/c/OrzKnV4UaZ4).
Repository: pytorch
Issue: Using Adaptive Model for Pytorch Mobile
Labels: oncall: mobile

### 🐛 Describe the bug

I recently tried to build an executable model for a Neural ODE model with an adaptive step size ODE solver and found a feature that can become a vulnerability. I noticed that each executable model is needed to be initialized with an input, which creates the computational graph for the rest of the inputs. If someone uses an initialization input that causes higher computation in the Neural ODE model, the executable model consumes higher energy for all inputs. Therefore, this feature can be used by attackers to increase the energy/latency consumption of models.

### Versions

PyTorch version: 1.11.0
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.17

Python version: 3.9.7 (default, Sep 16 2021, 13:09:58)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-3.10.0-957.1.3.el7.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: 
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
GPU 2: GeForce GTX 1080 Ti
GPU 3: GeForce GTX 1080 Ti
GPU 4: GeForce GTX 1080 Ti
GPU 5: GeForce GTX 1080 Ti
GPU 6: GeForce GTX 1080 Ti
GPU 7: GeForce GTX 1080 Ti

Nvidia driver version: 440.59
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Repository: node
Issue: http.ServerResponse#sendDate makes overly definitive claim about HTTP standards
Labels: http,doc

### Affected URL(s)

https://nodejs.org/docs/latest-v16.x/api/http.html#responsesenddate

### Description of the problem

From the docs on this parameter:

> This should only be disabled for testing; HTTP requires the Date header in responses.

However, the story seems to be a bit more complicated than that; [RFC 7231](https://httpwg.org/specs/rfc7231.html#header.date) has a rather dense paragraph which can be summarized as:
* Server MUST NOT send Date if it doesn't have a suitable clock
* Server MAY send Date for 1xx or 5xx statuses
* Server MUST send Date otherwise (i.e. it has a clock and is sending 2/3/4xx)

This note appears to have been added along with the setting itself in 1e425e3fa774fefd3553ecaa6f0ac35f9b0a1355, which doesn't provide any insight on where this claim originated.

I'm not an expert on either Node or HTTP, but it seems like maybe the docs should be updated to something like the below?

> This should generally be left enabled; the Date header is mandatory in most cases. (See [RFC 7231](https://httpwg.org/specs/rfc7231.html#header.date) for details.)
Repository: pytorch
Issue: [jit] failing OpInfo JIT tests for conv1d and complex input
Labels: oncall: jit

### 🐛 Describe the bug

Adding expectedFailure to unblock the PR

PR : https://github.com/pytorch/pytorch/pull/75310

Test : `test_nnc_correctness`
Ref: https://github.com/pytorch/pytorch/runs/5838401052?check_suite_focus=true#step:9:22211

Test : `TestDtypeCustomRules`
Stack Trace
```
Traceback (most recent call last):
  File "/home/kshiteej/Pytorch/pytorch_complex_convolution.py/test/jit/test_dtype_analysis.py", line 361, in test_custom_rules
    self.custom_rules_test_base(device, dtype, op)
  File "/home/kshiteej/Pytorch/pytorch_complex_convolution.py/test/jit/test_dtype_analysis.py", line 357, in custom_rules_test_base
    self.assert_output_dtype_equal(expected_res, graph)
  File "/home/kshiteej/Pytorch/pytorch_complex_convolution.py/test/jit/test_dtype_analysis.py", line 323, in assert_output_dtype_equal
    self.assert_tensor_dtype_equal(expected_res, actual_dtype[0])
  File "/home/kshiteej/Pytorch/pytorch_complex_convolution.py/test/jit/test_dtype_analysis.py", line 332, in assert_tensor_dtype_equal
    self.assertEqual(tensor_output.dtype, graph_dtype)
  File "/home/kshiteej/.conda/envs/pytorch-cuda-dev/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 2160, in assertEqual
    assert_equal(
  File "/home/kshiteej/.conda/envs/pytorch-cuda-dev/lib/python3.10/site-packages/torch/testing/_comparison.py", line 1084, in assert_equal
    raise error_metas[0].to_error()
AssertionError: None mismatch: torch.complex128 is not None
```


### Versions

master
Repository: godot
Issue: [HTML5] `Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)` can not work when the game initialization is complete
Labels: bug,topic:input

### Godot version

3.4.4 stable

### System information

window 10 

### Issue description

"Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)" can not work when the game initialization is complete
And "Input.get_mouse_mode()" always return 0.



### Steps to reproduce

#

### Minimal reproduction project

_No response_
Repository: react
Issue: Suppress "Download the React DevTools" log for a better development experience
Labels: Type: Feature Request,Component: Developer Tools,good first issue (taken)

<!--
  Please provide a clear and concise description of what the bug is. Include
  screenshots if needed. Please test using the latest version of the relevant
  React packages to make sure your issue has not already been fixed.
-->

React version: 18.0.0

## Steps To Reproduce

1. open a remote debug chrome devtools window
2. the message will show

<!--
  Your bug will get fixed much faster if we can run your code and it doesn't
  have dependencies other than React. Issues without reproduction steps or
  code examples may be immediately closed as not actionable.
-->

Link to code example:

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

## The current behavior

<img width="1440" alt="image" src="https://user-images.githubusercontent.com/41773861/161918579-8c7458a0-5568-4f3b-a1ad-cdb5da5cde87.png">



## The expected behavior

No this message. Chrome extension can't be used in remote debug window
Repository: kubernetes
Issue: ThreadSafeStore support complicated index
Labels: sig/api-machinery,kind/feature,triage/accepted

### What would you like to be added?

Introduce new interface `JointIndexer` by side `ThreadSafeStore` to support complicated index.

Proposal as bellow:
```go
// JointIndexer for doing convenient joint index against indexer by
// given IndexConditions and JointIndexOptions.
type JointIndexer interface {
	// ByIndexes returns the stored objects by given IndexConditions and JointIndexOptions
	ByIndexes(conds IndexConditions, opts *JointIndexOptions) ([]interface{}, error)
}

// examples:

// multi index conditions with different operator
indexConds := IndexConditions{
        {Operator: selection.Equals, IndexName: testIndexer2, IndexedValue: "1"},
	{Operator: selection.DoubleEquals, IndexName: testIndexer3, IndexedValue: "i"},
	{Operator: selection.NotEquals, IndexName: testIndexer4, IndexedValue: "-"},
}

// JointIndexOptions applies to indexed result. General support pairwise
// union, pairwise intersection and pairwise symmetric difference.
// Meanwhile, custom index is also support.
indexOpts := &JointIndexOptions{IndexType: UnionIndexType, IndexFunc: nil}

// do joint index by a convenient and safe way
jointIndexResult := store.ByIndexes(indexConds, indexOpts)
```

### Why is this needed?

In some scenarios, we expect to use complex joint indexing, not just through a single indexer.

For example, in https://github.com/kubernetes-sigs/controller-runtime/blob/4c9c9564e4652bbdec14a602d6196d8622500b51/pkg/cache/internal/cache_reader.go#L108-L126
```go
func (c *CacheReader) List(_ context.Context, out client.ObjectList, opts ...client.ListOption) error {
	var objs []interface{}
	var err error


	listOpts := client.ListOptions{}
	listOpts.ApplyOptions(opts)


	switch {
	case listOpts.FieldSelector != nil:
		// TODO(directxman12): support more complicated field selectors by
		// combining multiple indices, GetIndexers, etc
		field, val, requiresExact := requiresExactMatch(listOpts.FieldSelector)
		if !requiresExact {
			return fmt.Errorf("non-exact field matches are not supported by the cache")
		}
		// list all objects by the field selector.  If this is namespaced and we have one, ask for the
		// namespaced index key.  Otherwise, ask for the non-namespaced variant by using the fake "all namespaces"
		// namespace.
		objs, err = c.indexer.ByIndex(FieldIndexName(field), KeyToNamespacedKey(listOpts.Namespace, val))
```
Repository: vscode
Issue: Setting checkboxes for object boolean values has no focus or active style
Labels: bug,accessibility,settings-editor

The checkboxes for this new settings UI should have proper accessibility indicators such as focus (border) and active (background color change when mousedown) styles.

![Recording 2022-04-06 at 10 35 24](https://user-images.githubusercontent.com/22350/161932643-91bde7b0-cf38-4e74-915c-b8187b7de4b4.gif)
Repository: vscode
Issue: Confusing suffix on description of boolean property of settings object
Labels: bug,settings-editor,confirmed

Issue Type: <b>Bug</b>

Seen on the new `scm.diffDecorationsGutterPattern` setting which arrived in PR #146724.

![image](https://user-images.githubusercontent.com/6726799/161945058-ccdd483d-f367-4e85-a255-78e14c20b3aa.png)

I think the purpose of these suffixes is to show the user what the property name is. But I think this is superfluous for most users and only relevant if modifying the JSON.

VS Code version: Code - Insiders 1.67.0-insider (f050b17dacedba13962244b13c70084a473d08f7, 2022-04-06T05:15:56.751Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No


<!-- generated by issue reporter -->
Repository: go
Issue: runtime: process hangs after moving to Go 1.17 on Windows
Labels: OS-Windows,NeedsInvestigation,compiler/runtime

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
1.17.2
</pre>

### Does this issue reproduce with the latest release?
Yes with 1.17.6
Not tried with 1.18


### What operating system and processor architecture are you using (`go env`)?
Windows

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env

</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->
We migrated our go version from go1.12 to go 1.17.2. After that we see that our process hangs sometimes on windows os. Most of the times it runs fine, but some times it hangs and it never comes out. Even it doesn't return go profiles (we have pprof included in process). 
We get this issue in production, but not able to produce this in house, so dont have much details. 
I am attaching process dump that we have taken from explorer. I do see it doing force GC, but can't actually figure out what is the issue.

One more thing: We have this runtime.ReadMemStats() happening every 30 sec. Not sure if that is related, but just noting down here.

### What did you expect to see?
Process should continue and finish gracefully.


### What did you see instead?
Process hangs
Repository: vscode
Issue: VSCode windows not staying in their respective virtual desktops on app restart
Labels: feature-request,workbench-window

Issue Type: <b>Bug</b>

Open an arbitrary number of VSCode windows.
Split them randomly among a number of virtual desktops.
Restart VSCode
All windows open in the same virtual desktop

I'm on W11 (can't recall wether this happened in W10 too). Quite annoying, specially because the new W11 virtual desktop UI lags tremendously on my PC, meaning each time I have to re-move the VSCode windows to the virtual desktops I want them in I can spend 5 minutes doing so.

A plethora of other apps follow the expected behaviour:
Sublime text
Edge
RStudio
Visual Studio
etc

VS Code version: Code - Insiders 1.67.0-insider (f050b17dacedba13962244b13c70084a473d08f7, 2022-04-06T05:15:56.751Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-1059-aws

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|11.70GB (1.86GB free)|
|Process Argv|--crash-reporter-id 4285aea8-8024-49ba-97f2-9d60622a70f0|
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|SSH: AWS|
|OS|Linux x64 5.4.0-1059-aws|
|CPUs|Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (8 x 3195)|
|Memory (System)|30.91GB (0.69GB free)|
|VM|0%|
</details><details><summary>Extensions (11)</summary>

Extension|Author (truncated)|Version
---|---|---
jupyter-keymap|ms-|1.0.0
remote-containers|ms-|0.232.3
remote-ssh|ms-|0.78.0
remote-ssh-edit|ms-|0.80.0
remote-wsl|ms-|0.66.0
vscode-remote-extensionpack|ms-|0.21.0
python|ms-|2022.4.0
vscode-pylance|ms-|2022.3.4
jupyter|ms-|2022.4.1000971004
jupyter-keymap|ms-|1.0.0
jupyter-renderers|ms-|1.0.6

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
pythonvspyt640:30438691
vscscmwlcmt:30465136
pynewfile477:30451556

```

</details>

<!-- generated by issue reporter -->
Repository: create-react-app
Issue: create-react-app
Labels: needs triage

 npx create-react-app mo-hafiz

Creating a new React app in C:\Users\hafiz\source\reactjs\mo-hafiz.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...


Aborting installation.
Unexpected error. Please report it as a bug:
Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:700:9)
    at spawn (C:\Users\hafiz\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\cross-spawn\index.js:12:24)
    at C:\Users\hafiz\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:390:19
    at new Promise (<anonymous>)
    at install (C:\Users\hafiz\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:341:10)
    at C:\Users\hafiz\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app\createReactApp.js:468:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -4094,
  code: 'UNKNOWN',
  syscall: 'spawn'
}

Deleting generated file... package.json
Deleting mo-hafiz/ from C:\Users\hafiz\source\reactjs
Done.


c'est le code d'erreur
Repository: vscode
Issue: Add inline suggestion API commands
Labels: feature-request,api,inline-completions

We expose language feature via "api command" and should do the same for inline suggestion. These commands are backbone of LiveShare and other extensions. The command should return the data model, not the UI model, e.g the merged result of all providers. This is how it is done/starts for completions: 

https://github.com/microsoft/vscode/blob/6136c815bc6e7b99ec2dac56dccb3869574d2dd8/src/vs/workbench/api/common/extHostApiCommands.ts#L238-L254