sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: yt-dlp
Issue: Fine download-sections use while downloading playlist
Labels: enhancement,triage

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a feature unrelated to a specific site
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Provide a description that is worded well enough to be understood

I want to be able to use the `download-sections` options on each video separetly while downloading playlists. For example something like this `yt-dlp PLAYLIST_URL --download-sections="ID1:*00:00-01:00" --download-sections="ID2:*02:25-04:00"`

### Provide verbose output that clearly demonstrates the problem

- [ ] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [ ] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

_No response_
Repository: excalidraw
Issue: docs @0.18.0
Labels: documentation

```[tasklist]
### Tasks
- [ ] collab cursor color/disable https://github.com/excalidraw/excalidraw/pull/7130
- [ ] custom Stats sub-components https://github.com/excalidraw/excalidraw/pull/8361
- [ ] `<DefaultSidebar.Triggers/>` changes https://github.com/excalidraw/excalidraw/pull/8498
```
Repository: PowerToys
Issue: `Caps Lock` -> `Win+Space` keys remap does not work in Remote Desktop (Microsoft store) app
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.79.0

### Installation method

Microsoft Store

### Running as admin

No

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Remap `Caps Lock` ley to `Win + Space` shortcut in Keyboard Manager app:
![2024-03-18_14-46-53](https://github.com/microsoft/PowerToys/assets/12271104/6984ce28-433e-4b0c-b944-df14d7f55ec4)
2. Open [Remote Desktop](https://www.microsoft.com/store/productId/9WZDNCRFJ3PS?ocid=pdpshare) app, connect to Windows 11 instance through RDP by connection in local network;
3. Try to press `Caps Lock` key. It types `space` symbol instead of pressing `Win+Space` shortcut to language switch.

https://github.com/microsoft/PowerToys/assets/12271104/d6799cfd-5def-414a-b55a-34de37bef038


https://github.com/microsoft/PowerToys/assets/12271104/82103592-6aa9-48f6-9f3a-be0afeaa9688



### ✔️ Expected Behavior

It switches language to next one.

### ❌ Actual Behavior

It types `space` symbol.

### Other Software

Host:
- Windows 11 latest stable, KZ region, ru-KZ locale, ru-RU culture, Rus+Eng language packs, ru-RU + en-US keyboard inputs.

Remote machine:
- Windows 11 latest stable, KZ region, ru-KZ locale, ru-KZ culture, Eng+Rus language packs, ru-RU + en-GB keyboard inputs.

It happens in any app that accepts keyboard input, whatever technology it is built on.
It only happens on a remote machine, while on host it works correctly.
Repository: neovim
Issue: Completion for treesitter highlight captures
Labels: enhancement,treesitter

### Problem

The treesitter query omnifunc does not complete captures since they're generally arbitrary.

### Expected behavior

The highlight captures are standardised now so they could be completed when editing `highlights.scm`.
Repository: go
Issue: x/crypto/ssh/test: TestDialUnix failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh/test" && test == "TestDialUnix"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8753204082693823457)):

    === RUN   TestDialUnix
        dial_unix_test.go:57: Dial: EOF
        test_unix_test.go:241: sshd:
            Error reading managed configuration (2: No such file or directory). Proceeding with default configuration.
            /Users/swarming/.swarming/w/ir/x/t/sshtest1546390591/sshd_config line 10: Deprecated option KeyRegenerationInterval
            /Users/swarming/.swarming/w/ir/x/t/sshtest1546390591/sshd_config line 11: Deprecated option ServerKeyBits
            /Users/swarming/.swarming/w/ir/x/t/sshtest1546390591/sshd_config line 17: Deprecated option RSAAuthentication
            /Users/swarming/.swarming/w/ir/x/t/sshtest1546390591/sshd_config line 22: Deprecated option RhostsRSAAuthentication
            debug1: inetd sockets after dupping: 4, 5
            BSM audit: getaddrinfo failed for UNKNOWN: nodename nor servname provided, or not known
    ...
            debug1: restore_uid: (unprivileged)
            debug1: auth_activate_options: setting new authentication options
            Accepted publickey for swarming from UNKNOWN port 65535 ssh2: ECDSA SHA256:DbuSF5a8c3JMmpZ5WiK8oLAx97Uu8zIAFReb/NyTPuo
            debug1: monitor_child_preauth: user swarming authenticated by privileged process
            debug1: auth_activate_options: setting new authentication options [preauth]
            debug2: userauth_pubkey: authenticated 1 pkalg ecdsa-sha2-nistp256 [preauth]
            debug1: monitor_read_log: child log fd closed
            BSM audit: bsm_audit_session_setup: setaudit_addr failed: Invalid argument
            debug1: do_cleanup
    --- FAIL: TestDialUnix (0.12s)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: kubernetes
Issue: pod with initcontainer failed with UnexpectedAdmissionError when restart kubelet
Labels: kind/bug,priority/backlog,sig/node,triage/accepted

### What happened?

Memory manager have bug, restart kubelet (do not delete any checkpoint file ), pod with init-container will failed.

### What did you expect to happen?

Pod A and Pod B is still running.

### How can we reproduce it (as minimally and precisely as possible)?

I have a node had 256Gi and 2 NUMA node with 128Gi for one NUMA;
1. Create Pod A, with init-container and container both 100Gi
2. Create Pod B, with init-container and container both 100Gi 
3. Restart kubelet.
4. Both Pod A and Pod B failed with UnexpectedAdmissionError

### Anything else we need to know?

In `--topology-policy=single-numa-node` mode.
When memory manager caculate memory for topology, it will caculate init-container firstly, when comes to app container, it will reuse the init-container's memory as possible,  and reduce init-container's memory in state, it's as expected;


https://github.com/kubernetes/kubernetes/blob/9df98f3d393e204dd8db02322057ac2e7f3f6c28/pkg/kubelet/cm/memorymanager/policy_static.go#L192
https://github.com/kubernetes/kubernetes/blob/9df98f3d393e204dd8db02322057ac2e7f3f6c28/pkg/kubelet/cm/memorymanager/policy_static.go#L956-L965

But when restart kubelet, memory manager will re calculate memory for init-container,  if now node has not enough memory for init-container, the whole pod will be failed because of Admit failed;

<img width="1060" alt="image" src="https://github.com/kubernetes/kubernetes/assets/151703335/d455fd2e-b7a6-4661-825a-ae661d96d84a">

After restart kubelet:
<img width="1420" alt="image" src="https://github.com/kubernetes/kubernetes/assets/151703335/cd1f196d-b3c7-418f-b670-90bb51051321">



### Kubernetes version

<details>

```console
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.17", GitCommit:"a7736eaf34d823d7652415337ac0ad06db9167fc", GitTreeState:"clean", BuildDate:"2022-12-08T11:47:36Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.17", GitCommit:"a7736eaf34d823d7652415337ac0ad06db9167fc", GitTreeState:"clean", BuildDate:"2022-12-08T11:42:04Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
```

</details>


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: next.js
Issue: Images not loading in horizontally moving container without mouse movement
Labels: bug,Image (next/image)

### Link to the code that reproduces this issue

https://github.com/kev-ac/repro-nextimage-lazyload-scroll-bug

### To Reproduce

1. Start application
2. Watch the animation without moving the mouse 

### Current vs. Expected behavior

If the images are scrolling horizontally the next images coming into viewport should be lazy loaded. Without mouse movement it does not work reliably in Chrome and sometimes not at all in Safari. 

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 3.6.0
  pnpm: 8.15.1
Relevant Packages:
  next: 14.2.0-canary.28 // Latest available version is detected (14.2.0-canary.28).
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Image optimization (next/image, next/legacy/image)

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

### Additional context

_No response_
Repository: PowerToys
Issue: Mapping Copilot (F23) -> CTRL not working
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Team-Response

### Microsoft PowerToys version

0.79.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

I am trying to map the Copilot / F23 on my new keyboard back to CTRL

I have set up the below configuration but it is not working

![image](https://github.com/microsoft/PowerToys/assets/107115325/d86c4447-a9ef-41b5-82ca-e2fcd5dac6bd)


### ✔️ Expected Behavior

That the CoPilot key functions like the CTRL key

### ❌ Actual Behavior

The CoPilolt key now does nothing when pressed

### Other Software

_No response_
Repository: material-ui
Issue: [docs-infra] Add capacity to filter the search scope
Labels: new feature,scope: docs-infra

### Summary

Often when I search for something on the MUI docs through the Algolia search (Strg + K), I'm presented irrelevant search results for the Toolpad components first.

It'd be great to have the ability to exclude products from search.

### Examples

Example of the results when searching for "DatePicker"

![image](https://github.com/mui/material-ui/assets/162120/bf84cf8d-8bba-4688-853c-33ba00b34d8d)

### Motivation

_No response_

**Search keywords**: search toolpad
Repository: ollama
Issue: Support Grok
Labels: model request

### What model would you like?

Please add [xai-org/grok-1](https://github.com/xai-org/grok-1) model to ollama.
Repository: PowerToys
Issue: Place the last open Explorer folder in "clipboard"
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

For many years I ran a AutoHotkey script I called LastPath. It's a very simple script.

It monitors any open Explorer windows and remembers the last one with focus. So when you go to any applications Save or Open FileDialog, you could ctrl+win+rightclick to dump the last open path into the address bar. 

**This saves so much time navigating folder structures !**

However, recent Windows 11 updates broke the source where I took the path from. _The address is no longer included in the VisibleText for AutoHotkey to extract._

Maybe PowerToys can reintroduce a feature similar to this?



### Scenario when this would be used?

All the time! 
How many times have you opened a file dialog, and it opens in it's standard place and you want it to go the explorer window you just clicked away from?

Below demo video on windows 10, I've enabled an keypress osd.
[Lastpath demo win10 with osd.webm](https://github.com/microsoft/PowerToys/assets/3674137/271a36ad-fc7b-466e-9230-bc9cbbdb2b7e)



### Supporting information

My script for reference, should still work on win10 or win7. `Needle` is language specific.
```
; LastPath in AutoHotkey by Jeroen3
; V1

#SingleInstance force

; ctrl + R + Right Mouse		paste last active explorer window path

; Please change this to "Address: " in your language (notice the ":{space}")
Needle	:= "Address: "

; Text save loop
loop{
	if WinActive("ahk_class CabinetWClass") 
	or WinActive("ahk_class ExploreWClass")
	{
		WinGetText, OutputVar , A		; if explorer active, save text
	}
	sleep 500				; frequency, every 500 ms
}


^#RButton::
	Start 	:= StrLen(Needle)  + InStr(OutputVar , Needle)		; detect start of path in text
	Stop 	:= InStr(OutputVar , "`n", false, Start) - 1	; remove \n\r
	Length  := Stop-Start			
	Offset := SubStr(OutputVar, Start, Length)		; substring patch
	SendInput {Raw}%Offset%					; put
return
```
Repository: tensorflow
Issue: Conv3D Operation Error on Windows platform
Labels: stat:awaiting tensorflower,type:bug,subtype:cpu-intel,TF 2.15

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

tf-2.15.0, tf-2.16.0, tf-2.16.1

### Custom code

Yes

### OS platform and distribution

Windows 10

### Mobile device

_No response_

### Python version

3.9

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I found an output shape inconsistent in Conv3D layer:
```
from tensorflow.keras.layers import Conv3D
import numpy as np

x=np.random.rand(3,5,5,5,4)
l=Conv3D(5,[2,2,3],[1,1,1],'valid','channels_first',[2,2,2],1)
print(l(x).shape)
print(l.compute_output_shape(x.shape))
```
The output is:
```
(3, 5, 5, 5, 4)
(3, 5, 3, 3, 0)
```

However, I failed to reproduce it on google colab. After checking the package and re-running it on a Linux machine and another Windows machine, I found this bug may come from the package 'tensorflow-intel', which exists only on Windows platform.

Could you please check it?

### Standalone code to reproduce the issue

```shell
from tensorflow.keras.layers import Conv3D
import numpy as np

x=np.random.rand(3,5,5,5,4)
l=Conv3D(5,[2,2,3],[1,1,1],'valid','channels_first',[2,2,2],1)
print(l(x).shape)
print(l.compute_output_shape(x.shape))
```
```


### Relevant log output

```shell
(3, 5, 5, 5, 4)
(3, 5, 3, 3, 0)
```
Repository: godot
Issue: `Window` nodes in the edited scene get their position wrongly corrected when the bottom panel is resized
Labels: bug,topic:editor

### Tested versions

- v4.2.1.stable.official [b09f793f5]
- v4.3.dev.custom_build [fe01776f0]

### System information

linux

### Issue description

Take a look:

https://github.com/godotengine/godot/assets/71937306/79b7f685-e2a5-4cdd-b793-36f40ed345fa

- I assume it's a check to make sure the window doesn't show up out of the screen.

The problem is that this could be a valid position in my setup (and it is), so I believe this window clamping should happen at runtime (and should happen properly).
At least when windows are OS-natives rather than godot-contained (that is, either enabled in the root viewport or forced in that window).

### Steps to reproduce

- add a window and give it a position that makes it go outside of the game window
- toggle the bottom panel

### Minimal reproduction project (MRP)

any
Repository: storybook
Issue: Cannot init in a new project
Labels: bug,dependencies,sev:S2

### Describe the bug

I am trying to install Storybook in a new project. But when I run `npx storybook@latest init`, it says "Error: Unable to find versions of @storybook/cli using npm"

### To Reproduce

Run `npx storybook@latest init`

### System

```bash
Storybook Environment Info:
 
   System:
     OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
     CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
     Shell: 5.1.16 - /bin/bash
   Browsers:
     Chrome: 122.0.6261.128
```


### Additional context

```
 Error: Unable to find versions of @storybook/cli using npm
     at NPMProxy.runGetVersions (/home/pavitra/.npm/_npx/6fe9a9991b157df1/node_modules/@storybook/core-common/dist/index.js:37:639)
     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
     at async doInitiate (/home/pavitra/.npm/_npx/6fe9a9991b157df1/node_modules/@storybook/cli/dist/generate.js:146:997)
     at async withTelemetry (/home/pavitra/.npm/_npx/6fe9a9991b157df1/node_modules/@storybook/core-server/dist/index.js:28:3579)
     at async initiate (/home/pavitra/.npm/_npx/6fe9a9991b157df1/node_modules/@storybook/cli/dist/generate.js:180:250)
```
Repository: TypeScript
Issue: Default type imported with `import type` from not-found module not flagged when used as a value
Labels: Bug,Help Wanted

### 🔎 Search Terms

cannot be used as a value because it was imported using import type

### 🕗 Version & Regression Information

- This is the behavior in every version I tried

### ⏯ Playground Link

https://www.typescriptlang.org/play?ts=5.4.2#code/JYWwDg9gTgLgBDAnmApnAKnAZlCIBQA9IXAAIwDOAtCgB6oDGMNUuU+ccA5CBACZcA3PnwMIAOwrx4AXgzD8oSLDgBvJKjgBVAL7ZcBYmUo16KJizYduvAQrGT4AVzhytwoA

### 💻 Code

```ts
import type T from
// @ts-expect-error
  'mod';

const t = T;

import {type U} from
// @ts-expect-error
  'mod';

const u = U;
```


### 🙁 Actual behavior

TS does not error on the usage of `T`.

TS errors on the usage of `U` with the error

> 'U' cannot be used as a value because it was imported using 'import type'.(1361)


### 🙂 Expected behavior

TS errors on the usage of `T` with the error

> 'T' cannot be used as a value because it was imported using 'import type'.(1361)

TS errors on the usage of `U` with the error

> 'U' cannot be used as a value because it was imported using 'import type'.(1361)


### Additional information about the issue

_No response_
Repository: ui
Issue: [Bug]: When using <Tab>, I am getting this error: `RovingFocusGroupItem` must be used within `RovingFocusGroup`.
Labels: bug

### Describe the bug

I'm working with shad-cn library and i when try <Tabs> getting this error :- Error: `RovingFocusGroupItem` must be used within `RovingFocusGroup`

in which part should i change.
![Screenshot 2024-03-18 at 6 19 42 PM](https://github.com/shadcn-ui/ui/assets/104212977/336d0495-3eda-470e-9f77-65f0a4c9268e)

  

### Affected component/components

Tabs, TabsList, TabsTrigger, TabsContent

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
System : Macos
Browser : Chrome
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: pytorch
Issue: Infinite cycle on BSC tensor: base -> values -> base
Labels: module: sparse,triaged

### 🐛 Describe the bug

When working on https://github.com/pytorch/pytorch/pull/122044 I noticed if I naively attempted to recursively traverse all fields of BSC tensors, I'd get an infinite cycle traversing view base to values to base. Sample repro test is `python test/test_sparse.py -k test_fake_SparseBSC_float64`. It feels like maybe we just set some field incorrectly; COO sparse tensors don't seem to have this problem.

### Versions

main

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jcaip
Repository: ant-design
Issue: Add `size` Prop to <Tag> Component for Size Customization
Labels: Inactive,unconfirmed

### What problem does this feature solve?

Introducing a `size` prop will allow users to easily customize the size of tags based on their importance or hierarchy, providing a more nuanced visual representation.
While most Ant Design components provide a size prop, the absence of this prop in the `<Tag>` component creates visual inconsistencies. In my actual app, I am using custom css to change the size of the `<Tag>`

```javascript
<Tag style={{ fontSize: "large", fontWeight: "bold", padding: "8px" }}>Ant Design</Tag>;
```

### What does the proposed API look like?

it looks like `<Input>` `size` prop (large | middle | small)
```javascript
<Tag size="large">Ant Design</Tag>;
```

![image](https://github.com/ant-design/ant-design/assets/37114553/1de3c0c2-df2e-47a3-a490-cb1e71f0127c)

I would like to contribute to this feature with some guidance

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: pytorch
Issue: masked_index_add
Labels: module: performance,module: cuda,triaged,module: cuda graphs,module: python frontend

### 🚀 The feature, motivation and pitch

We train graph neural networks for molecules, in which the number of edges in the graph changes depending on the changing locations of the nodes. 
CUDA graphs are important for our workloads so we try to maintain static shapes.

For that I usually establish a maximum number of possible edges and mask unused ones. I often find myself implementing a construct similar to this:
```python
import torch


def static_shape_operation(source, index, values):
    # index = index[index >= 0] # This line would make the shape of index dynamic
    # I replace masked elements by a phantom value
    index = index.masked_fill(index < 0, n_sources)
    # Append a phantom value
    source = torch.cat((source, torch.zeros(1, dtype=torch.float32)))
    # All masked elements are summed to the phantom value
    result = source.index_add(dim=0, index=index, source=values)
    # Remove the phantom value
    result = result[:-1]
    return result


n_sources = 4
# Some arbitrary per-node values
source = torch.zeros(n_sources, dtype=torch.float32)

# Some arbitrary per-edge indexes and values, -1 means the edge is masked
index = torch.tensor([0, 1, 2, 3, -1, -1, -1])
values = torch.tensor([3, 2, 3, 8, -1, -1, -1], dtype=torch.float32)

result = static_shape_operation(source, index, values)
assert result.shape[0] == n_sources
```
Given that index_add can be implemented using atomic operations and the number of masked edges is arbitrary (and possibly high) this is a large price to pay for static shapes.

Instead, I would like to implement the function as:

```python
def static_shape_operation(source, index, values):
    mask = index > 0
    return source.masked_index_add(dim=0, index=index, source=values, mask=mask)
```
Similarly to what can be done for masked_scatter.

### Alternatives

_No response_

### Additional context

_No response_

cc @ptrblck @mcarilli @ezyang @eellison @peterbell10 @albanD