sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: proposal: x/crypto/ssh: add ParseAllowedSigners
Labels: Proposal

While `x/crypto/ssh` has at present `ParseKnownHosts` and `ParseAuthorizedKey` functions, it lacks support for parsing the `allowed_signers` format as documented in the [ssh-keygen(1) manual page](https://man.openbsd.org/ssh-keygen.1#ALLOWED_SIGNERS).

Proposal is to add a `ParseAllowedSigners` function, with a likewise signature as `ParseKnownHosts`:

```go
// ParseAllowedSigners parses an entry in the format of the allowed_signers file.
//
// The allowed_signers format is documented in the ssh-keygen(1) manual page.
// This function will parse a single entry from in. On successful return,
// principals will contain the list of principals that this entry matches,
// options will contain the list of options that this entry matches (i.e.
// "cert-authority", "namespaces=file,git"), and pubKey will contain the
// public key. See the ssh-keygen(1) manual page for the various forms that a
// principal string can take, and further details on the options.
//
// The unparsed remainder of the input will be returned in rest. This function
// can be called repeatedly to parse multiple entries.
//
// If no entries were found in the input then err will be io.EOF. Otherwise, a
// non-nil err value indicates a parse error.
func ParseAllowedSigners(in []byte) (principals []string, options []string, pubKey ssh.PublicKey, rest []byte, err error)
```

Adding this would compliment the existing API, and would help facilitate working with the SSH signing features the library has to offer. While leaving the implementation of the actual [SSH Signature format](https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.sshsig) as an exercise for another time.
Repository: tauri
Issue: [bug] Cannot connect to custom protocol (connection refused) after first connection
Labels: type: bug,status: needs triage

### Describe the bug

The custom protocol can only be accessed once. After that it becomes "Connection Refused".

### Reproduction

1. Clone the MWE repo: https://github.com/balthild/tauri-custom-protocol-issue
2. Install dependencies and launch the project: `yarn; yarn tauri dev`
3. Type whatever in the input box and click `Greet`. It should show a greeting message in the `iframe` below.
4. Change the text in the input box and click `Greet` again. Wait a few seconds and it shows a "Connection Refused" in the iframe. Check the devtools and there should be errors in network logs.

### Expected behavior

The connection error should not happen. The `iframe` should always show greeting messages.

### Platform and versions

```text
Environment
  › OS: Windows 10.0.19045 X64
  › Webview2: 111.0.1661.44
  › MSVC: 
      - Visual Studio Community 2022
  › Node.js: 16.15.1
  › npm: 8.11.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.70.0-nightly
  › cargo: 1.70.0-nightly
  › Rust toolchain: nightly-x86_64-pc-windows-msvc 

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../src
  › devPath: ../src

App directory structure
  ├─ .git
  ├─ .vscode
  ├─ node_modules
  ├─ src
  └─ src-tauri
Done in 9.29s.
```


### Stack trace

```text
N/A
```


### Additional context

_No response_
Repository: PowerToys
Issue: Changing Custom Keyboard shortcuts for FancyZones
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

The options to change the FancyZone editor layout shortcut for custom fancy zones.  

### Scenario when this would be used?

For use with hardware, specifically keyboard shortcuts which only accept three keyboard short-cuts instead of four. 

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]:  "webui-user.bat" file reinstalls everything again every time I open it again after closing stable diffusion !
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

After opened the webui bat file to run stable diffusion for the first time, it installed some files which is what happens normally but then I edited the file and added "--xformers" it installed the xformers successfully but then it started installing the same pytorch files it installed the first time.
Is it normal for it download 5+ GBs for files everytime it starts ? or is it possible to use it without an internet connection ?

### Steps to reproduce the problem

open the webui user bat file

### What should have happened?

Don't know this is the first time I'm using this software

### Commit where the problem happens

when i open the webuser.bat file 

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Microsoft Edge

### Command Line Arguments

```Shell
"--xformers"
```


### List of extensions

no

### Console logs

```Shell
venv "C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments: --xformers
Loading weights [b914725d74] from C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\models\Stable-diffusion\ProtoGen_X5.3-pruned-fp16.ckpt
Creating model from config: C:\Users\tekke\Desktop\STABLE_DIFFUSION\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Downloading pytorch_model.bin:   0%|                                                       | 0.00/1.71G [00:00<?, ?B/s]
```


### Additional information

_No response_
Repository: tauri
Issue: [feat] Ability to set SystemTray font to monospace
Labels: type: feature request

### Describe the problem

I'm building a macOS menubar timer app, and would love for the seconds to change without shifting the layout of the SystemTray title. This would be similar to Electron's tray.setTitle functionality: https://www.electronjs.org/docs/latest/api/tray#traysettitletitle-options-macos

### Describe the solution you'd like

No strong preference on how it's implemented. My first thought would be to add an optional `fontType` parameter to the with_title and set_title functions, with `monospace` as an accepted value

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: flutter
Issue: Make `RawAutoComplete` only update the text value if `onSelected` is null
Labels: c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

## Use case

Right now, `RawAutoComplete` will update the text value when the user selects an option. The developer can control what value is set using `displayStringForOption`.

This system is very convoluted if you want to do something like trigger an action on selection and then clear the text field. Or if you're implementing a Twitter style `@<user_name>` feature where only a part of the textfield needs to be overwritten. The latter is especially messy with the current API.

## Proposal

1. If `onSelected` is null, no difference in behavior
2. If `onSelected` is non-null, `RawAutoComplete` will not update the text value. The developer is expected to do so themself in the body of `onSelected`
3. Remove `displayStringForOption`. Given the above behavior, it would be redundant.

It'd be a bit sloppier, but instead of introducing a subtle breaking change by modifying `onSelected` we could instead introduce another attribute with the above functionality called `handleSelection` or similar.

CC @justinmc as this is an extension of our Twitter conversation here: https://twitter.com/justinjmcc/status/1639116016591720450
Repository: godot
Issue: The number of vertices imported from obj file is not correct
Labels: feature proposal,confirmed,documentation,topic:import,topic:3d

### Godot version

3.5.stable.custom_build.991bb6ac7

### System information

Macos Monterey

### Issue description

The mesh imported from 138.obj should have 5023 vertices but has 5118 in godot.
![image](https://user-images.githubusercontent.com/14999486/227427590-29e7507d-f7ce-447d-9807-c70d4aa6577c.png)
![image](https://user-images.githubusercontent.com/14999486/227427747-76715cba-025e-49d7-beff-e4715c77c67e.png)


### Steps to reproduce

Run uploaded project.

### Minimal reproduction project

[test.zip](https://github.com/godotengine/godot/files/11058546/test.zip)
Repository: flutter
Issue: [image_picker]: java.lang.IllegalArgumentException - Couldn't find meta-data for provider with authority
Labels: c: crash,platform-android,p: image_picker,package,a: production,P2,needs repro info,team-android,triaged-android

Crash stack trace:
```
Caused by java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.agendaboa.app.flutter.image_provider
       at androidx.core.content.FileProvider.getFileProviderPathsMetaData(FileProvider.java:664)
       at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:695)
       at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:645)
       at androidx.core.content.FileProvider.attachInfo(FileProvider.java:424)
       at android.app.ActivityThread.installProvider(ActivityThread.java:8210)
       at android.app.ActivityThread.installContentProviders(ActivityThread.java:7746)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7566)
       at android.app.ActivityThread.access$1500(ActivityThread.java:301)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:246)
       at android.app.ActivityThread.main(ActivityThread.java:8653)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
```

## Steps to Reproduce
Unable to reproduce

**Expected results:** <!-- what did you want to see? -->
Should not crash.

**Actual results:** <!-- what did you see? -->
Application is crashing.

**Device details:**
```
Device
Brand:Samsung
Model:Galaxy A50
Orientation: Portrait
RAM free: 920.79 MB
Disk free: 63.71 GB
Operating System
Version:Android 11
Orientation: Portrait
Rooted:No
Crash
Date:Mar 19, 2023, 1:19:16 AM
```

**Flutter details:**
```
Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 52b3dc25f6 (5 months ago) • 2022-11-09 12:09:26 +0800
Engine • revision 857bd6b74c
Tools • Dart 2.18.4 • DevTools 2.15.0
```

**Image picker version:**
```
image_picker: 0.8.6
```

Currently this issue has 1 crash event affecting 1 user.
Repository: tauri
Issue: [bug]My system username is leaked in binary file
Labels: type: bug,status: needs triage

### Describe the bug

Based on the recommand options from [official website](https://tauri.app/zh-cn/v1/guides/building/app-size/#rust-build-time-optimizations), I have set `strip = true`, but the compiled binary still contains my system username.

binary screenshot:

<img width="402" alt="username" src="https://user-images.githubusercontent.com/89722398/227436600-138ef9dd-8d7d-4e0e-b72a-30a61a63ed6a.png">

### Reproduction

1.  sh <(curl https://create.tauri.app/sh)
```
✔ Project name · realapp
✔ Choose which language to use for your frontend · Rust - (cargo)
✔ Choose your UI template · Vanilla
```
2. add [profile.release] in Cargo.toml
```
[profile.release]
panic = "abort"   # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true        # Enables link to optimizations
opt-level = "s"   # Optimize for binary size
strip = true      # Remove debug symbols
```
3. cargo tauri build
4. search username in binary: `src-tauri/target/release/bundle/macos/realapp.app/Contents/MacOS/realapp`

### Expected behavior

Should remove my username in complied binary.

### Platform and versions

```text
Environment
  › OS: Mac OS 11.5.2 X64
  › Node.js: 18.13.0
  › npm: 8.19.3
  › pnpm: 7.26.3
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.0
  › cargo: 1.68.0
  › Rust toolchain: stable-x86_64-apple-darwin

Packages
WARNING: no lock files found, defaulting to npm
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../src
  › devPath: ../src
package.json not found

App directory structure
  ├─ src-tauri
  ├─ .vscode
  └─ src
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: rustdesk
Issue: Audio no sound （Add asio support)
Labels: bug,help wanted,Fund

### Bug Description

When I connect to remote machines, I am unable to hear the audio playback from those machines.

I have enabled the following settings in my playback device:
Default device: Astro MixAmp Pro Game
Default communication device: Astro MixAmp Pro Voice

If the default device is set to Astro MixAmp Pro Game, I will not be able to hear the audio playback from remote machines. However, if the default device is set to Astro MixAmp Pro Voice, I will be able to hear the audio playback from remote machines. Even if I use the default High Definition Audio Device, I can still hear the audio playback from remote machines.

Even if I directly configure the audio input device in RustDesk, it does not work.

It is important to note that when using other remote desktop connections (such as AnyDesk, Teamviewer, etc.), I am able to hear the audio playback from remote machines.

The only way to fix this issue is by changing the Windows playback device settings.
However, due to some reasons, I do not want to switch to other audio input devices to resolve this problem.
I am looking for a better solution to fix this issue.

### How to Reproduce

1. Connect to remote machine
2. Play sound on remote machine
3. Can't hear the played sound

### Expected Behavior

I should hear the sound as I do with AnyDesk / Teamviewer connect remote machines.

### Operating system(s) on local side and remote side

Windows 10 22H2, Windows 11 22H2

### RustDesk Version(s) on local side and remote side

1.1.9, 1.2.0 Nightly Build

### Screenshots

No screenshots

### Additional Context

_No response_

<!-- POLAR PLEDGE BADGE START -->
## Upvote & Fund

- We're using [Polar.sh](https://polar.sh/rustdesk) so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.

<a href="https://polar.sh/rustdesk/rustdesk/issues/3762">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/rustdesk/rustdesk/issues/3762/pledge.svg?darkmode=1">
  <img alt="Fund with Polar" src="https://polar.sh/api/github/rustdesk/rustdesk/issues/3762/pledge.svg">
</picture>
</a>
<!-- POLAR PLEDGE BADGE END -->
Repository: pytorch
Issue: Burn benchmark suites into CI docker image. Not only this saves test time, but also it will get rid of occasional model installation failures. (@weiwangmeta )
Labels: triaged
Repository: opencv
Issue: Writing tiff files of int32 numpy arrays
Labels: category: documentation

### Descripe the doc issue

I am using opencv to store and open an int32 array to and from file. However, I noticed that isn't listed as a supported option in the documentation.

[https://docs.opencv.org/4.7.0/d4/da8/group__imgcodecs.html#gabbc7ef1aa2edfaa87772f1202d67e0ce](https://docs.opencv.org/4.7.0/d4/da8/group__imgcodecs.html#gabbc7ef1aa2edfaa87772f1202d67e0ce)


### Fix suggestion

Mention that tiff has more formats available.
Repository: tauri
Issue: [feat] get the webview's url
Labels: type: feature request

### Describe the problem

I create two webview when the app loaded use the config code below: 

```
"windows": [
      {
        "fullscreen": false,
        "resizable": true,
        "title": "Main",
        "width": 1000,
        "height": 800,
        "center": true
      },
      {
        "label": "side",
        "fullscreen": false,
        "resizable": true,
        "title": "Notion",
        "width": 1000,
        "height": 800,
        "center": true,
        "url": "https://www.xheldon.com"
      }
    ]
```
And I want to get the 'side' webview's real-time url in 'main' webview. (Note: 'side' webview's url may be change by user like click an anchor link).

I check the doc in https://tauri.app/zh-cn/v1/api/js/window but can't find any help info, any idea?

### Describe the solution you'd like

Just add an url property on appWindow, like 'label'.

### Alternatives considered

_No response_

### Additional context

_No response_
Repository: kubernetes
Issue: Memory usage of apiserver still spikes caused by many watcher terminated after using suggestedWatchChannelSize
Labels: kind/bug,sig/api-machinery,triage/accepted

### What happened?

We have a relative large cluster with >800 nodes, and some daemonset watching >8000 CR instances running on every node. These CRs are upated very frequently. 

After applying suggestedWatchChannelSize improvements on watcher channel size, we still got apiserver memort usage spikes repeatedly, even oom, caused by too many watcher terminated due to small channel size and unresponsiveness and then too many relist all CR instances. 

![image](https://user-images.githubusercontent.com/63291172/227457763-38b595c3-1673-4d20-b1a0-ce7aad71b5a1.png)


### What did you expect to happen?

Set big enough channel size for watchers to avoid watcher terminated too many times. Actually before the PR of #109708, we hardcoded the channel size of that CRD to 1000 to fix this issue, and the memory usage is very smooth.
![image](https://user-images.githubusercontent.com/63291172/227460269-82312c63-dfcc-41e6-acf7-1c74daadfc89.png)

- [ ] 

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

This issue occurred in our production cluster. To mimic the behaviour, at least observe the terminated_watchers metrics, we can
1. launch local cluser
2. create some CRD, i.e. mycrds and 5000 instances of mycrds
3. start 50 updater to keep updating these instances 
4. start 300 watchers to watch mycrds
5. observe `apiserver_terminated_watchers_total` for mycrds and kube-apiserver memory usage.

### Anything else we need to know?

_No response_

### Kubernetes version

1.26

### Cloud provider

tencent

### 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: vscode
Issue: vscode.dev: Support routes in PWA applications
Labels: feature-request,web,vscode.dev,keep

hello, I’m trying to make app shortcut from vscode server in IPadOS, but it redirect to vscode.dev 
![Uploading 80A77949-DBEB-4F86-A0B0-3E63E6C4D54F.jpeg…]()
![1B681B4A-F652-4028-B05E-3419CB604B5B](https://user-images.githubusercontent.com/61089081/225581719-2f785ebc-ed4a-41b0-9d39-1cd979478415.jpeg)
Repository: stable-diffusion-webui
Issue: [Bug]: Cant runLaunching Web UI with arguments:   Press any key to continue...
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

I run webui-user.bat , and the bug appear 
venv "C:\Stable dif\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments:
Press any key to continue...

### Steps to reproduce the problem

1. Run webui-user.bat


### What should have happened?

I run webui-user.bat , and the bug appear 
venv "C:\Stable dif\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments:
Press any key to continue...
I tried reinstalling the program, deleting the venv folder and still can't run.In launch.py I put only this commandline_args = os.environ.get('COMMANDLINE_ARGS', "--skip-torch-cuda-test") because I have an AMD video card.


### Commit where the problem happens

Cant run it

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
commandline_args = os.environ.get('COMMANDLINE_ARGS', "--skip-torch-cuda-test")
```


### List of extensions

No

### Console logs

```Shell
venv "C:\Stable dif\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI
Launching Web UI with arguments:
Press any key to continue...
```


### Additional information

_No response_
Repository: rust
Issue: repr(transparent) newtypes do not preserved preferred alignment
Labels: T-compiler,A-layout,A-repr

This type
```rust
#[repr(transparent)]
struct S(u8);
```
[has a "preferred" alignment of 8](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=c92056b343c94ceefc4d704cff09eb27), but `u8`'s "preferred" alignment is 1. I would expect such a transparent newtype to preserve "preferred" alignment.

Preferred alignment is not directly visible to Rust programs, it's an internal thing inside the compiler, so this is not a big deal -- but it is still surprising.
Cc @oli-obk @eddyb
Repository: storybook
Issue: [Bug]: New 4.9 types are not working for Preact
Labels: bug,help wanted,typescript,preact,sev:S3

### Describe the bug

I forget to implement this for Preact, while we actually totally can.

cc @shilman @vanessayuenn to prioritze

### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_