sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: New feature request: fast thumbnails preloading for user selected folders
Labels: Idea-New PowerToy,Product-File Explorer

### Description of the new feature / enhancement

User right clicks on the folder in the Explorer &  select option "preload thumbnails" from the context menu. 
After that, a one time process start &  thumbnails are generated for each file in the folder, with 100% CPU/GPU power.

### Scenario when this would be used?

Right now, wen user opens folder, full of images and videos,  thumbnails are generated in the background, only for files currently visible on the screen. For folders with thousands of files, it takes a lot of time to find the right file -  when there are no thumbnails yet. Especially for images formats like .HEIC  (gaining popularity) it takes forever to generate thumbnails, as extension for this file type it's extremely slow.
Pre-generating thumbnails with a full CPU/GPU power, would help a lot for professionals working with large multimedia folders.

### Supporting information

There is a tool on the web, with similar functionality (MIT License), but it appears the project is no longer in the active development.
https://github.com/bruhov/WinThumbsPreloader
there are forks, that adds multi threading for faster .heic generation but these are buggy.
Repository: pytorch
Issue: why ram memory surges while loading model, with change in torch load device from CPU to GPU
Labels: module: cuda,module: memory usage,triaged

while loading model using CPU, it only usages 17.5MB size of memory
see the following profiling result (check line number 35)

Line Mem usage  Increment  Occurrences  Line Contents
```

30    386.0 MiB    386.0 MiB           1   @profile
31                                         def attempt_load(weights, map_location=None):
32                                             # Loads an ensemble of models weights=[a,b,c] or a single model weights=[a] or weights=a
33    386.0 MiB      0.0 MiB           1       model = Ensemble()
34    422.7 MiB      0.0 MiB           2       for w in weights if isinstance(weights, list) else [weights]:
35    403.6 MiB     17.5 MiB           1           ckpt = torch.load(w, map_location='cpu')
```

Now, I tried the load same model on GPU cuda:0 but memory behavior is drastically changed,
memory CPU ram surges to 2713.8 MiB, see the profiling result below(line no. 35):

Line Mem usage Increment Occurrences Line Contents
```
30    385.5 MiB    385.5 MiB           1   @profile
31                                         def attempt_load(weights, map_location=None):
32                                             # Loads an ensemble of models weights=[a,b,c] or a single model weights=[a] or weights=a
33    385.5 MiB      0.0 MiB           1       model = Ensemble()
34   3099.6 MiB      0.0 MiB           2       for w in weights if isinstance(weights, list) else [weights]:
35  3099.3 MiB   2713.8 MiB            1           ckpt = torch.load(w, map_location='cuda:0')
```

that’s what I was looking for some solution referred from [link](https://github.com/pytorch/pytorch/issues/7415) to load model first on cpu then transfer to gpu, Want to understand why this memory surges even I changed the load device?

cc @ngimel
Repository: material-ui
Issue: [Calendar Picker] a11y for PickersCalendarHeader
Labels: accessibility,component: pickers

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

a11y for `PickersCalendarHeader`

its not possible to change this texts
- Previous month
- Next month
- year view is open, switch to calendar view
- calendar view is open, switch to year view
https://github.com/mui/material-ui/blob/master/packages/mui-lab/src/CalendarPicker/PickersCalendarHeader.tsx#L121-L139
https://github.com/mui/material-ui/blob/master/packages/mui-lab/src/CalendarPicker/PickersCalendarHeader.tsx#L112


### Examples 🌈

_No response_

### Motivation 🔦

_No response_
Repository: go
Issue: x/website: On "Tutorial: Get started with Go" there is outdated information about the 'quote' package
Labels: Documentation,NeedsFix

### What is the URL of the page with the issue?
 https://go.dev/doc/tutorial/getting-started
 
 
### What is your user agent?
 [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36](https://developers.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes)
 
 
 
### Screenshot
![image](https://user-images.githubusercontent.com/63392454/153862104-06401fca-9966-4455-a8d6-2cc14bb015fa.png)
 
 
 
### What did you do?
Visited https://go.dev/doc/tutorial/getting-started
 
 
 
### What did you expect to see?
 Up-to-date information about the `rsc.io/quote` package
 
 
### What did you see instead?
In the tutorial there is talk about a `rsc.io/quote/v3` version of the `quote` package.
However, when I search for the `quote` package on https://pkg.go.dev/search?q=quote, the only thing that I can find is https://pkg.go.dev/rsc.io/quote/v4.
Repository: material-ui
Issue: [docs] Improve demo previews
Labels: new feature,docs

The autogenerated demo previews don't show relevant code when used to depict unstyled components (and possibly others as well). Often, the code that matters in the demo is placed outside the default exported function (see https://mui.com/components/buttons/#unstyled-component for example).

I propose to allow manually marking code for a preview as an addition to the current automatic extraction.
It could be marked using comments in code, such as:

```js

import React from 'react';

// -- 8< --
function ImportantComponent() {
  // ...
}
// -- >8 --

export default function NotSoImportant() {
  return <ImportantComponent />
}
```

Here, the scissors mark was used but we can discuss the shape of the comment to mark the area.

The preview generation code should be adjusted to look for these markers and extract the code between them. If the markers are not found, it can fall back to the current behavior.

We can also modify the full code preview to cut the markers out, so they don't confuse developers.

cc @mui/docs-infra
Repository: material-ui
Issue: [Date Picker] Using DatePicker with Formik
Labels: component: date picker

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

When we use datepicker with formik it fails because formik expect a string.

How can we set datepicker to return a string as the selected value?

Please find a sample:

[https://codesandbox.io/s/formik-codesandbox-template-forked-xonzi?file=/index.js](https://codesandbox.io/s/formik-codesandbox-template-forked-xonzi?file=/index.js)

![image](https://user-images.githubusercontent.com/16133485/153869790-98ffcd2e-3f5c-41a9-9fac-a6d01c222ba6.png)

The error is returned when we pick a date

![image](https://user-images.githubusercontent.com/16133485/153869904-78fe8e04-05c9-4970-b9d8-d65f40b64aef.png)




### Expected behavior 🤔

We should be able to select the date with formik

### Steps to reproduce 🕹

Steps:

1. Click on DatePicker
2. Select a date
3. the error is returned



### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary>`npx @mui/envinfo`</summary>

 System:
    OS: Windows 10 10.0.19043
  Binaries:
    Node: 16.9.0 - C:\Program Files (x86)\nodejs\node.EXE
    Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.4 - C:\Program Files (x86)\nodejs\npm.CMD
  Browsers:
    Chrome: 98.0.4758.82
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.50)
  npmPackages:
    @emotion/react: ^11.7.1 => 11.7.1
    @emotion/styled: ^11.6.0 => 11.6.0
    @mui/lab: ^5.0.0-alpha.68 => 5.0.0-alpha.68
    @mui/utils:  5.3.0
    @mui/x-data-grid: ^5.5.0 => 5.5.0
    @types/react:  17.0.38
    react: ^16.0.0 => 16.14.0
    react-dom: ^16.0.0 => 16.14.0
    typescript: ^3.9.10 => 3.9.10

</details>
Repository: PowerToys
Issue: [PowerToys Run] Search unicode glyph characters and copy result to clipboard
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

When typing part of the description of a unicode character it is shown as part of the list of unicode characters containing the query.

Example:
A query of "ques" would result in a list of unicode characters:

? Question mark
¿ Inverted Question Mark
; Greek Question Mark

Pressing enter on a result would copy the unicode character of the result into the clipboard


### Scenario when this would be used?

Scenario 1: Entering programming-specific characters on a localized keyboard that does not have the specific character.

Scenario 2: Entering greek characters in math equations.

### Supporting information

Current options I might use: 

- search the character in web and copy it: slow
- open character map: clunky and slow

Existing wox plugin:

There is an existing wox plugin under https://github.com/kosugi/wox.unicodebuilder, that supports entering unicode codepoints and searching unicode characters by name. I have not tested this plugin, but worst case it's a starting point, best case it can simply be imported.
Repository: flutter
Issue: [video_player] Do not prevent display sleep during playback by default on iOS
Labels: c: new feature,platform-ios,p: video_player,package,c: proposal,P3,team-ios,triaged-ios

## Use case

On iOS `AVPlayer` has option to prevent display sleep during playback. This option is set to `true` by default according to Apple [documentation](https://developer.apple.com/documentation/avfoundation/avplayer/2990522-preventsdisplaysleepduringvideop?language=objc).

In case you would like to continue playing video in background (maybe with some third-party plugin) there is a case when unlocked device will never sleep due to mentioned `AVPlayer` flag. And if you unlock device the screen will stay "on" while the video plays like on attached image (and draws additional battery). For now there is no way to switch this option with current `video_player` API.

<img src="https://user-images.githubusercontent.com/25702530/153885484-3a67934b-d7cb-43c2-9398-0e334e37317b.PNG" width="200">

## Proposal

Suggestion is to set the `preventsDisplaySleepDuringVideoPlayback` flag of `AVPlayer` to `false` by default. The posibility to set this flag is available since iOS 12.
And you could still manually control state of the device screen if you would like to prevent sleeping, e.g. [wakelock package](https://pub.dev/packages/wakelock)
Repository: godot
Issue: Particle animation disappears from spatial material if billboard mode is not particle animation
Labels: discussion,topic:rendering,topic:animation,topic:3d

### Godot version

3.4 stable

### System information

Linux Fedora, Radeon RX 590

### Issue description

Particle animation is available only when billboard mode is set to particle billboard in the material.

There are many good usecases for particle animation on different types of meshes, sometimes with y billboard, sometimes with no billboard at all.

(the animated fire here is on a mesh that is not billboard, for example https://www.artstation.com/artwork/EL3EKK)

### Steps to reproduce

Create a spatial material
Enable particle billboard
Observe particle animation is present
Change billboard mode
Particle animation is gone

### Minimal reproduction project

_No response_
Repository: flutter
Issue: [flutter_markdown]: rich text breaks in the middle of a whole sentence, and unicode text not shown.
Labels: a: internationalization,package,team-ecosystem,has reproducible steps,P3,p: flutter_markdown,found in release: 2.10,found in release: 2.11,triaged-ecosystem

## Steps to Reproduce

```sh
flutter --version
Flutter 2.10.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision db747aa133 (5 days ago) • 2022-02-09 13:57:35 -0600
Engine • revision ab46186b24
Tools • Dart 2.16.1 • DevTools 2.9.2
```

![flutter_markdown_demo](https://user-images.githubusercontent.com/36031579/153889153-0c6b17ee-b7fd-4d14-a612-fd990ba515a2.jpg)

As shown above, the text is broken at the red mark, and some unicode text not shown.

[here](https://github.com/carmel/flutter_issue_sample/tree/a2c9caf806a6fb3630a5176b2da2b09e365a2042) is the reproducible repo.
Repository: rust
Issue: supplying generic args to variant and enum results in weird error
Labels: A-diagnostics,T-compiler

```rust
fn main() {
    let x = Option::<u32>::Some::<u32>(3);
}
```
results in
```rust
[E0109]: type arguments are not allowed for this type
 --> src/main.rs:2:35
  |
2 |     let x = Option::<u32>::Some::<u32>(3);
  |                                   ^^^ type argument not allowed
```
this error is far from ideal. we ideally mention that variants may only have generic arguments if their enum doesn't have any. not sure what's the best wording here or how to best achieve this
Repository: vscode
Issue: Tabs that group editor grid layouts (Vim-style tabs)
Labels: feature-request,workbench-editors,workbench-editor-grid

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

I'm breaking this out into a separate issue from #36700.

The discussion in #36700 got a little confusing because of users being sent there from any Vim-style tabs FR #41486, #104483, [VSCodeVim/2989](https://github.com/VSCodeVim/Vim/issues/2989), even though the FR in #36700 is quite different.

--------------

Currently, VSCode supports tabs inside of editor groups, where each tab has a one-to-one relationship with a file-- so, effectively, a tab can't really group anything in VSCode.

In Vim and some other editors, a tab groups a set of splits. For example (from my own VSCode fork):

<img width="1512" alt="image" src="https://user-images.githubusercontent.com/11465187/153884314-2df39d9a-3a93-4521-a000-7c3d8322a707.png">

The key thing to notice here is the **higher-order tab bar on the top**.

<img width="548" alt="image" src="https://user-images.githubusercontent.com/11465187/153884609-b5d10063-09a7-479f-83b4-50f9aa7391ea.png">

This lets me group multiple editor groups inside one tab.

When I want to think about my parser, I can open the implementation, AST node definitions, and tests **with one click/hotkey** (for me, cmd + 1-9) or fuzzy search of the tab titles.

Same thing for my lexer-- impl, grammar, and tests.

<img width="973" alt="image" src="https://user-images.githubusercontent.com/11465187/153885607-78ca221d-a65e-477e-bcf0-95831a79eaa5.png">

For webdev, similarly-- component impl, template, and tests.

Some way to save/reload editor grid layouts (without this exact tab bar UX) would serve the same purpose.

---------------

It would be cool if I could distribute what I have now as an extension, but the extension API's don't currently provide all of the functionality required (not just the extra workbench part for the tab bar, just reloading a layout in general is flaky without source access, see #15178).

[This extension](https://marketplace.visualstudio.com/items?itemName=agquick.workviews) already exists too, which is also pretty close, but suffers from the same issues I ran into when trying to convert my fork into an extension.

Ideally this would just be supported as a first-class use case from VSCode. There's a lot of UX ambiguity that comes up when you hack in this feature via extension, and I think the only way to get an experience that makes sense is to have VSCode implement it.
Repository: godot
Issue: The renamed export variable in Visual Script won't get updated in the inspector tab
Labels: bug,topic:editor,topic:visualscript

### Godot version

v4.0.alpha2.official [79077e6c1], v3.4.3.rc1.official [894b6d504]

### System information

Windows 11, Vulkan Clustered, Intel UHD Graphics 620 v30.0.101.1340

### Issue description

**In both Godot 3.4 and 4**, when the user renamed an export variable in Visual Script, it won't get updated in the inspector tab. 

**In Godot 4**, due to [issue #58072](https://github.com/godotengine/godot/issues/58072), the user will have to delete the export variable and undo (ctrl+z) the deletion in order to make the renaming updated in the inspector tab, as shown in the screen recording below:

https://user-images.githubusercontent.com/1403194/153900264-10e0df24-8ee8-4133-9e95-b55b35f73852.mp4

**In Godot 3.4**, the user has to toggle the export variable on and off to update the naming in the inspector tab, as shown in the screen recording below:

https://user-images.githubusercontent.com/1403194/153900999-57fcc36c-ca3d-45bb-812a-09132013fabc.mp4

I expect the export variable to update its name automatically in the inspector tab.

### Steps to reproduce

1. Create an export variable in Visual Script.
2. Rename the export variable. It won't get updated in the inspector tab.

### Minimal reproduction project

_No response_
Repository: electron
Issue: [Bug]: Unable to focus native window programmatically on Windows
Labels: platform/windows,bug :beetle:,status/confirmed,component/BrowserWindow,has-repro-gist,17-x-y,18-x-y,21-x-y

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

17.0.0

### What operating system are you using?

Windows

### Operating System Version

Windows 10 21H1

### What arch are you using?

x64

### Last Known Working Electron version

none

### Expected Behavior

Calling focus() on BrowserWindow should focus the native window.

### Actual Behavior

Calling focus() appears to give focus to BrowserWindow and the DOM believes that it has focus. However, the native window has not been focused and the input still goes to the previously focused window.

### Testcase Gist URL

https://gist.github.com/cf4d9a1f3705d59756489ef8cccf048e

### Additional Information

I originally investigated a bug with Action Center notifications using protocol activation not focusing the APP when clicked. A repro can be found here. https://github.com/bitdisaster/electron-focus-issue At the time I believed that there was a special situation with AC and switching focus. However, the gist provided above shows a more simple repro. I just provided the notification repro in case there are 2 different root causes for the same symptoms.
Repository: material-ui
Issue: [Autocomplete] Autocomplete options are not selectable with Android Talkback
Labels: bug 🐛,component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Current behavior 😯

With Android Talkback trying to select a Autocomplete option from the options list, results in option not being selected and focus moving to the document

### Expected behavior 🤔

It should select the field and move focus to the input

### Steps to reproduce 🕹

Steps:

1. Activate Android Talkback
2. Navigate to [https://mui.com/components/autocomplete](https://mui.com/components/autocomplete/#main-content)
3. Open the option list in the first example, Combo box with movies
4. "Hover" one option and double tap to select it
5.  The field does not get selected and instead focus is moved to the document


### Context 🔦

I was doing accessibility testing on one of my customer projects and ran into the issue. The Autocomplete component is used as an input for selecting a city, the component lists over 300 options.

Decided to investigate this a bit further and noticed it's occurring in the MUI docs as well

### Your environment 🌎

Issue occured on a Android 11 device running Oxygen OS 11.0.5.1.
Talkback version 12.1.
Browser mobile Chrome 98.0.

<details>
  <summary>`npx @mui/envinfo`</summary>

```
System:
    OS: macOS 12.1
  Binaries:
    Node: 16.13.1 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.1.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 98.0.4758.80
    Edge: Not Found
    Firefox: 96.0.2
    Safari: 15.2
  npmPackages:
    @emotion/react: ^11.7.1 => 11.7.1
    @emotion/styled: ^11.6.0 => 11.6.0
    @mui/base:  5.0.0-alpha.67
    @mui/icons-material: ^5.2.5 => 5.3.1
    @mui/material: ^5.2.8 => 5.4.0
    @mui/private-theming:  5.3.0
    @mui/styled-engine:  5.3.0
    @mui/system:  5.4.0
    @mui/types:  7.1.0
    @mui/utils:  5.3.0
    @types/react: 17.0.39 => 17.0.39
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
    typescript: 4.5.5 => 4.5.5
```
</details>
Repository: vscode
Issue: Symlink loops cause 100% CPU
Labels: bug,file-explorer

Steps to Reproduce:

1. Clone latest systemd source code
2. Build the project with tests enabled
3. Observe 100% CPU on the VSCode main process

The problem seems to be that the systemd build process creates a "fake" /sys file system with many symlinks. There are loops in this structure, and it appears that VSCode ends up iterating through the structure in and endless loop. If I delete the "fake" /sys directory, the CPU usage stops.

I'd expect VSCode to be able to detect symlink loops quickly and abort iteration.
Repository: flutter
Issue: [camera][Android]: outdated documentation related to minimum SDK version section
Labels: platform-android,d: api docs,p: camera,package,P3,team-android,triaged-android

The documentation for Android is outdated.
https://pub.dev/packages/camera#android

In modern versions of Flutter, I believe the minimum SDK version is set from the `local.properties` file, and the code within *android/app/build.gradle* uses `minSDKVersion flutter.minSdkVersion`.

So the documentation should say, add the following to *android/local.properties*:
```properties
flutter.minSdkVersion=21
```

And add the following (or something similar) to *android/app/build.gradle*:
```gradle
minSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger()
```
Repository: pytorch
Issue: Standardize Naming for Workflows/Jobs
Labels: module: ci,triaged

### 🚀 The feature, motivation and pitch

Currently, naming for workflows and jobs are a little inconsistent. For example:

- Build PyTorch nightly Docker image and push to GitHub Container Registry / build-publish-docker
- Lint / clang-format
- linux-bionic-cuda10.2-py3.9-gcc7 / test (jit_legacy, 1, 1, linux.4xlarge.nvidia.gpu)


And more. Standardizing them would help us be able to group jobs more easily in HUD and allow for different types of visualizations other than tables. One suggestion from @suo  is


> For example, we could do: - separated, from least specific grouping to most specific. e.g. linux-py3.7-cuda10.3, linux-py3.7-cpu-clang12, linux-py3.7-cpu-gcc7.3. This code could then be turned into name.split("-")[0], and eventually we can build a tree-ish structure similar to https://ci.chromium.org/p/chromium/g/main/console. Thoughts?


### Alternatives

_No response_

### Additional context

_No response_

cc @seemethere @malfet @pytorch/pytorch-dev-infra