sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Look into drop powered panic guards
Labels: T-libs-api,T-libs

Origin: https://github.com/rust-lang/rust/pull/102023#discussion_r996362821

It's a bit weird to have `forget` and `ManuallyDrop`, especially since forget is just a `let _ = ManuallyDrop::new(t);` under the hood. The primary usage of `forget` that still makes sense is for panic guards, but using `forget` has the disadvantage of being unclear in its intent. Removing `forget` would probably make panic guards clearer as they would encourage writing a comment or seperate method explaining what's happening.
Repository: stable-diffusion-webui
Issue: textual inversion default values....
Labels: enhancement

Can we get defaults exacly like in this file ?
https://github.com/nicolai256/Stable-textual-inversion_win/blob/main/configs/stable-diffusion/v1-finetune.yaml

Learning rate is  5.0e-03 but i think other stuff was changed too
I think current defaults give pretty bad results, id also change all other stuff to be exactly like in that yaml cause these values are proven to work great here
https://github.com/rinongal/textual_inversion/issues/35
Repository: rust
Issue: Not using the byval attribute loses memcpy optimizations
Labels: A-codegen,T-compiler,C-bug

Consider this code ([Godbolt link](https://godbolt.org/z/x75Mc58ne)):

```rust
pub struct S([i32; 16]);

#[inline(never)]
fn g(x: S) {
    println!("{}", x.0[3]);
}

#[inline(never)]
fn f(x: S) {
    g(x)
}

pub fn main() {
    f(S([0; 16]))
}
```

LLVM can't eliminate the memcpy between f and g, even though it should legally be able to do so. This is because memcpyopt can only forward to parameters marked byval. We don't use the byval attribute, and this seems to be by design. But we lose this optimization, which I've observed hurting codegen in several places even in hello world (`core::fmt::Write::write_fmt`, `core::panicking::assert_failed()`, `<core::fmt::Arguments as core::fmt::Display>::fmt`). I suspect losing this optimization hurts us all over the place.

There are two solutions I can see:

(1) Use byval for indirect arguments in the Rust ABI.

(2) Change LLVM to allow the optimization to happen for at least `nocapture noalias readonly` parameters. Since `nocapture` implies that the behavior of the callee doesn't depend on the address and `noalias readonly` implies that the memory is strongly immutable, this should work. We mark all indirect by-value arguments as `nocapture noalias` already.

I'm working on a patch for (2), but I was wondering why we can't just do (1).
Repository: stable-diffusion-webui
Issue: Cycle Diffusion. img to img composition in SD
Labels: enhancement,extension-request

[https://github.com/ChenWu98/cycle-diffusion](https://github.com/ChenWu98/cycle-diffusion) 

A method of infering the random seed from a real image, causing SD to generate an identical one, which can then be composed differently by changing specific parts of the prompt to a target text.
Repository: stable-diffusion-webui
Issue: Bad sample sigma scheduler
Labels: bug-report,upstream,help-wanted

**Describe the bug**
Euler, step 25

I try to print the sigma (the difference of sigmas is something likes learning rate) in https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/be1596ce30b1ead6998da0c62003003dcce5eb2c/modules/sd_samplers.py#L389

get:
```
[14.6116, 11.4338,  9.0777,  7.3021,  5.9490,  4.9028,  4.0869,  3.4386,
         2.9182,  2.4957,  2.1488,  1.8592,  1.6160,  1.4080,  1.2278,  1.0712,
         0.9320,  0.8083,  0.6952,  0.5911,  0.4938,  0.3994,  0.3062,  0.2033,
         0.0313,  0.0000]
```

the difference of sigma:
```
dt: [-3.177830696105957,
 -2.356069564819336, 
-1.7756867408752441, 
-1.3530864715576172, 
-1.0462112426757812, 
-0.8158211708068848, 
-0.6483118534088135, 
-0.5204684734344482, 
-0.42246341705322266, 
-0.34693169593811035, 
-0.2895848751068115, 
-0.2432178258895874, 
-0.20793068408966064, 
-0.18019843101501465, 
-0.15663456916809082, 
-0.13917803764343262, 
-0.12373453378677368, 
-0.11305737495422363, 
-0.10407549142837524, 
-0.09735357761383057, 
-0.09442031383514404, 
-0.09321478009223938, 
-0.10290129482746124,  ***********
-0.17199255526065826,  ***********
-0.0312652550637722]
```

Last 3 dt seems abnormal, I think this may be a scheduler bug.

I'm trying to find a simple way to make it produce a more smooth dt curve
Repository: godot
Issue: IME predictive conversion bug by Godot when using a virtual desktop 
Labels: bug,platform:linuxbsd,topic:porting,needs testing,topic:input

### Godot version

3.5.1 stable

### System information

OS : Manjaro (based on Arch Linux), DE : KDE Plasma 5.26.0, IME : fcitx5-mozc

### Issue description

I use a virtual desktop on Linux all the time.
If I have a script editor open in Godot, and I type in a full-width character on another virtual desktop, the IME's predictive conversion is not working.
It is not that I can't do it at all, but rather that the predictive conversion of the IME only appears for a moment.
Another screen in Godot, say 2D or 3D, will not have this problem.
The problem also does not occur on the same virtual desktop.

### Steps to reproduce

1. open the script editor in Godot
2. type in full-width characters on a different virtual desktop (e.g., with a different software, such as a browser) 
3. Predictive conversion appears only for a moment, and no predictive conversion is possible.

### Minimal reproduction project

_No response_
Repository: pytorch
Issue: Saving and loading from physical storage
Labels: module: memory usage,module: serialization,triaged

### 🚀 The feature, motivation and pitch

Physical storage allows us to work with very large tensors.

Ideally, saving a tensor from physical storage into a file would not create a copy of the full tensor in memory. I believe that a call to `torch.save` will already do that.
However, when loading the tensor, it will be directly loaded on memory, not on physical storage. This is a problem if the tensor is too big.

A nice feature would be that a tensor that was saved on physical storage would be loaded on physical storage again, without creating a full copy in memory:
```python
x = torch.zeros(10).share_memory_()
torch.save(x, "x.pt")
x_loaded = torch.load("x.pt")
x.is_shared()  # the tensor is on physical storage again
```

cc @mruberry @suo

### Alternatives

TorchSnapshot offers an alternative where we can directly save a tensor from physical to physical storage, then load a tensor in place on another one in any memory location without creating a full copy in memory (hence solving this problem). I don't think PyTorch intends to do in-place tensor loading but still, I think that keeping the memory location (as we keep the device) would be a nice-to-have feature.

### Additional context

We have implemented in TorchRL a buffer API where big tensors that would not fit in RAM are stored on disk (say > 1Tb). Through the use of memmap arrays, we can quickly access any given set of rows of these tensors during sampling from the buffer. This is much faster than accessing shared tensors stored in a list for instance.
When checkpointing, we'd like to save directly those tensors from disk storage to disk storage, without loading the full tensor on RAM. We would also like to load tensors that were saved on physical storage on the same storage location, without loading the full tensor in memory.
Repository: stable-diffusion-webui
Issue: [Feature request] Too many images in output folder.
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
Got 3000+ images after just few days, most results are not ideal but will be keep in outputs folder.

**Describe the solution you'd like**
A checkbox or delete button on generated images will be good.💕
Repository: flutter
Issue: `ListView` has one frame jank when releasing finger (PointerUpEvent), no matter how lightweight the content is
Labels: framework,f: scrolling,has reproducible steps,P2,found in release: 3.3,found in release: 3.5,team-framework,triaged-framework

Consider a classical Flutter case with very light workload. Suppose vsync happens at 0ms, 16.67ms, 33.33ms, etc, and suppose PointerUpEvent is handled at 15ms (i.e. the after-draw-frame period). Then, at 15ms, Flutter calls goBallistic with current offset and velocity. Next, during the 16.67-33.33ms frame, Flutter's ballistic scroll activity handles the first tick (i.e. with elapsed being zero), so it outputs a offset identical to the last pointer offset. Because of this, the output from 16.67-33.33ms frame will has the same offset as that from 0-16.67ms.

Reproducible sample:

```dart
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('ListView jank', (tester) async {
    await tester.pumpWidget(MaterialApp(
      home: Scaffold(
        body: ListView(
          children: [
            for (var i = 0; i < 10; ++i) Container(height: 300),
          ],
        ),
      ),
    ));
    final state = tester.state<ScrollableState>(find.byType(Scrollable));

    double? lastPosition;
    void checkPositionChanged() {
      final currPosition = state.position.pixels;
      expect(currPosition, isNot(lastPosition));
      lastPosition = currPosition;
    }

    checkPositionChanged();

    final gesture =
        await tester.startGesture(tester.getCenter(find.byType(Scrollable)));
    for (var i = 0; i < 30; ++i) {
      await gesture.moveBy(const Offset(0, -5));
      await tester.pump();
      checkPositionChanged();
    }
   
    await gesture.up();
    await tester.pump();
    checkPositionChanged();
  });
}
```

Output

```
/Volumes/MyExternal/ExternalRefCode/flutter/bin/flutter --no-color test --machine --start-paused --local-engine-src-path=/Volumes/MyExternal/ExternalRefCode/engine/src --local-engine=host_debug_unopt test/hi.dart
Testing started at 14:37 ...

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: not <150.0>
  Actual: <150.0>

When the exception was thrown, this was the stack:
#4      main.<anonymous closure>.checkPositionChanged (file:///Users/tom/RefCode/flutter_smooth/packages/smooth/test/hi.dart:20:7)
#5      main.<anonymous closure> (file:///Users/tom/RefCode/flutter_smooth/packages/smooth/test/hi.dart:36:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/tom/RefCode/flutter_smooth/packages/smooth/test/hi.dart line 20
The test description was:
  ListView jank
════════════════════════════════════════════════════════════════════════════════════════════════════

Test failed. See exception logs above.
The test description was: ListView jank
```
Repository: godot
Issue: Inspecting a resource disabled in the editor features opens empty subinspector without any warning/error
Labels: bug,topic:editor,needs testing

### Godot version

3.5.stable

### System information

M1 MacBook Pro - 16 inch

### Issue description

When I add a new MultiMeshInstance to the scene tree and then click on it and create a new MultiMesh. And then click on it, I am getting an empty dropdown.
I have attached a sample video.


https://user-images.githubusercontent.com/5861833/196023195-f9d79ad5-eb9f-4635-a0f6-4ede318ffe9b.mov



### Steps to reproduce

current behaviour
1. Add a new multimeshinstance in godot 3.5 stable in macos
2. create a new multimesh
3. click on the multimesh
4. No dropdown will appear

expected behaviour
4. dropdown properties of new multimesh should appear

### Minimal reproduction project

_No response_
Repository: stable-diffusion-webui
Issue: support for Intel iGPUs
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Repository: material-ui
Issue: Support of Circular Slider
Labels: new feature,waiting for 👍,component: slider

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

https://github.com/mui/material-ui/tree/v5.10.9/docs/data/material/components/slider

In the current Slider there are various options but Circular Slider option is missing. There should be props which accept variant of slider as Linear or Circular.


### Examples 🌈

<img width="132" alt="Screenshot 2022-10-16 at 1 16 34 PM" src="https://user-images.githubusercontent.com/13163739/196024323-d099b8ee-e257-472e-bfbf-b0034e44205c.png">


### Motivation 🔦

Just an another options as I can see there are Several people searching for the same, and they end up creating new or using another library just for this single component.
It would be great if someone add this as feature into existing Component
Repository: stable-diffusion-webui
Issue: Separate dropdown for negative prompts, similar to styles
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
When using different checkpoints it is necessary to switch between negative prompts, which can be quite long. Which is not very convenient at the moment.

**Describe the solution you'd like**
Would be nice to have an additional 3rd dropdown below style1/style2 for selecting a negative prompt from list of presets. The prompts could be stored in *.csv files, like styles, and don't really need an UI for creating them.

**Describe alternatives you've considered**
Negative prompt could also be part of the style, but this is not necessarily convenient, as styles can be combined together.

**Additional context**
Nothing
Repository: puppeteer
Issue: [Bug]: dialog handler doesn't catch "open with application" popup
Labels: feature,confirmed

### Bug description

Open https://apps.apple.com/app/id1523054563?mt=8 with puppeteer 

```typescript
const handlePageDialog = (dialog: Dialog): void => {
  void dialog.dismiss();
};

page.on('dialog', handlePageDialog);
```

Dismiss doesn't work in this case as it simply doesn't handle this as a dialog.

<img width="1511" alt="image" src="https://user-images.githubusercontent.com/20266461/196030290-642ba268-fd42-46e2-a49e-de37c0f7b182.png">


### Puppeteer version

16.1.1

### Node.js version

v16.14.2

### npm version

8.5.0

### What operating system are you seeing the problem on?

macOS

### Relevant log output

_No response_
Repository: godot
Issue: Using match statements without line break?
Labels: bug,topic:gdscript

### Godot version

v3.5.1.stable.official [6fed1ffa3]

### System information

Windows 10

### Issue description

When declaring the cases, if I don't use a linebreak, it doesn't work. "Unexpected assign". Is that a bug? Is there a way to make it work without using line breaks?

### What does work

```
const N_COL: int = 5
const N_FIL: int = 4

class Room:
	var del: bool = false

var rooms: Array = []

func Clean_Corners() -> void:
	for i in range(4):
		var n_1: int; var n_2: int; var n_3: int
		match i:
			0:
				n_1 = 1; n_2 = N_COL; n_3 = 0
			1: 
				n_1 = N_COL - 2; n_2 = N_COL * 2 - 1; n_3 = N_COL - 1
			2: 
				n_1 = N_COL * (N_FIL - 2); n_2 = N_COL * (N_FIL - 1) + 1; n_3 = N_COL * (N_FIL - 1)
			3: 
				n_1 = N_COL * (N_FIL - 1) - 1; n_2 = rooms.size() - 2; n_3 = rooms.size() - 1
		if rooms[n_1].del and rooms[n_2].del: rooms[n_3].del = true
```

### What doesn't work

```
const N_COL: int = 5
const N_FIL: int = 4

class Room:
	var del: bool = false

var rooms: Array = []

func Clean_Corners() -> void:
	for i in range(4):
		var n_1: int; var n_2: int; var n_3: int
		match i:
			0: n_1 = 1; n_2 = N_COL; n_3 = 0
			1: n_1 = N_COL - 2; n_2 = N_COL * 2 - 1; n_3 = N_COL - 1
			2: n_1 = N_COL * (N_FIL - 2); n_2 = N_COL * (N_FIL - 1) + 1; n_3 = N_COL * (N_FIL - 1)
			3: n_1 = N_COL * (N_FIL - 1) - 1; n_2 = rooms.size() - 2; n_3 = rooms.size() - 1
		if rooms[n_1].del and rooms[n_2].del: rooms[n_3].del = true
```

### Error

error(191, 20): Unexpected assign
Repository: deno
Issue: thread 'main' panicked at 'failed printing to stdout: The pipe is being closed. (os error 232)'
Labels: bug,panic

Deno panics when running "deno | cls" in windows 10
![image](https://user-images.githubusercontent.com/44905605/196037539-58b9070d-baa4-4201-8cf2-5d9972e42ce1.png)
Repository: youtube-dl
Issue: New site support request - https://www.noovo.ca/
Labels: site-support-request,clarification-needed

<!--

######################################################################
  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.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [ X] I'm reporting a new site support request
- [X ] I've verified that I'm running youtube-dl version **2021.12.17**
- [X ] I've checked that all provided URLs are alive and playable in a browser
- [X ] I've checked that none of provided URLs violate any copyrights
- [X ] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

https://www.noovo.ca/emissions/entre-deux-draps/surprises-et-deceptions-s3e2


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE **(yes, really)**
Repository: stable-diffusion-webui
Issue: [Feature request] Automatically stretch the preview image vertically based on the browser window size
Labels: enhancement

It would enhance viewing the generation process.
Repository: stable-diffusion-webui
Issue: Consistently hangs after 6-7 minutes since yesterday
Labels: bug-report

**Describe the bug**
Consistently hangs after 6-7 minutes since yesterday (10/15). Hopping on the command line the process is shown as killed. This happens both starting with webui.sh and launch.py.

**To Reproduce**
Steps to reproduce the behavior:
6 - 7 minutes of activity in the web UI. The UI hangs and eventually the process is killed.

**Expected behavior**
Not hang?

**Screenshots**
![Screenshot_20221016_083554](https://user-images.githubusercontent.com/67766369/196038758-b14a0ce3-d211-4295-9698-95dcc190b166.jpg)


**Desktop (please complete the following information):**
 - OS: Pop OS 22.04
 - Browser: Firefox
 - Commit revision: fc220a51cf5bb5bfca83322c16e907a18ec59f6b
Repository: godot
Issue: Godot splash screen doesn't resize to match window size during initialization
Labels: bug,platform:linuxbsd,topic:rendering,topic:porting

### Godot version

Godot 4 Beta 2

### System information

Ubuntu 22.04 Running on Vulkan Mesa Intel® UHD Graphics 620 (WHL GT2)

### Issue description

Is this my Vulkan error or is this Godot?
![image](https://user-images.githubusercontent.com/63069499/196039020-dc1ceb8f-98e9-4b59-809a-c7cbfc42dd6a.png)


### Steps to reproduce

clone https://github.com/coder2195text/tile-craft
see if the boot splash screen looks like the above

### Minimal reproduction project

_No response_
Repository: stable-diffusion-webui
Issue: [FR] Snippet support for prompt text areas
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
Typing out the same useful words or syntax can get a bit cumbersome - in the latter case, it's especially inconvenient to write prompt editing tokens if you are using a QWERTZ keyboard. Additions like styles and adjusting token weight with the directional keys help a little, but are still a bit clunky and can't adapt for things like new syntax through custom scripts.

**Describe the solution you'd like**
I would like to see a snippet system similar to VS Code that lets the user define a trigger text and a template, complete with placeholders that the user can fill one after the other. After typing the trigger text, hitting enter would replace it with the template and let the user fill one prompt after the other. With this, it will be easy to write complex sequences of syntax, like `(cyberpunk:1.[2:0:0.3])` or `[<sportscar>:<spaceship>:0.3]`.
If we were to follow VS Code syntax for defining a template, the first example would look something like this: `($1:1.$(2:2):$3(3:0):0.$(4:3)]$0`

**Additional context**
As for implementation, I can just point towards two different directions:
- [Monaco Editor](https://github.com/Microsoft/monaco-editor), which is a web implementation of the VS Code editor. I don't know if it can be embedded into Gradio, but it would definitely have all the bells and whistles.
- [Booru tag autocompletion](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete), which already can autocomplete words that match with predefined lists of tags.
Repository: flutter
Issue: Incorrect date format in italian localization file
Labels: framework,f: material design,a: internationalization,has reproducible steps,found in release: 3.3,found in release: 3.5,team-design,triaged-design

The italian localization file in  [flutter_localizations](https://github.com/flutter/flutter/tree/master/packages/flutter_localizations) package has a incorrect translation.


https://github.com/flutter/flutter/blob/a707d05e9d4c7ec95403444e04a65cd69c0da3b0/packages/flutter_localizations/lib/src/l10n/material_it.arb#L59

The correct translation is: `gg/mm/aaaa`.