sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: excalidraw
Issue: [Feature Suggestion] Toggle Pressure Simulation 
Labels: Candidate P1

Greetings,

I describe here a phenomena that occurs, and following that I describe a feature suggestion that stops it from occurring..

# Steps to Reproduce

- Use the drawing tool (of any thickness size) with a standard mouse
- Zoom in to see the effects more clearly
- Start drawing a line with the drawing tool, moving it slowly from one point to another
- Repeat the previous step, but this time draw a line with the drawing tool while moving it faster from one point to another

# Expected Outcome

Both lines looking exactly the same

#  Actual Result

The lines drawn vary in thickness,
the line drawn slowly is thicker than the line drawn faster.

![image](https://github.com/excalidraw/excalidraw/assets/43674238/86ee0ab0-8391-4496-910d-23844bf5a70c)

# Feature Suggestion

Add a toggle button that enables or disables this thickness variablity (which appears to be pressure simulation).

Here's a mockup:

![image](https://github.com/excalidraw/excalidraw/assets/43674238/dca55f01-7966-4ad5-8e51-b99d9e677789)
Repository: PowerToys
Issue: [Run > Shell plugin] Setting for choosing the WT profile
Labels: Idea-Enhancement,Needs-Triage,Run-Plugin,Status-Blocked

### Description of the new feature / enhancement

Add a setting where the user can type the name of the WT profile that is used.

### Scenario when this would be used?

When using a different profile for shell commands than used as default wt profile.

### Supporting information

- The parameter should be surrounded with `"`.
- The profile name is case-sensitive.
- If implemented as simple text input setting, an empty string can be used for the default profile.
- Second setting for the command prefix. (Like "/c" for cmd.)
Repository: terminal
Issue: Add a parameter for `--closeOnExit`
Labels: Help Wanted,Product-Terminal,Issue-Task,In-PR,Area-Commandline

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->

# Description of the new feature/enhancement

You can sett e keep open parameter as parameter of the shell used. But if this Is dynamic (e.g. in PowerToys shell plugin) a global parameter for WT would be helpful.

This parameter should keeps the WT window open regardless of the choosen profile and its parameters.

# Proposed technical implementation details (optional)

<!-- 
A clear and concise description of what you want to happen.
-->
Repository: stable-diffusion-webui
Issue: [Feature Request]: Add highres checkpoint to xyz plot options
Labels: enhancement

### Is there an existing issue for this?

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

### What would your feature do ?

We got refiner samplers and checkpoints available in xyz plot, but no highres checkpoint option

### Proposed workflow

1. Go to scripts
2. Press XYZ plot
3. Be able to select different checkpoints to use with highres fix


### Additional information

Tried doing it myself but got stumped after learning that editing xyz_plot.py was not enough
Repository: godot
Issue: After Renaming Project - Certain .tscn cannot be loadrd
Labels: bug,topic:editor

### Godot version

4.1.1 Stable mono official

### System information

Windows 10

### Issue description

When I open the project after renaming. Some .tscn files are invalid. Before I renames the project everything worked fine.

If I open the tscn files in the explorer on some tscn, the images are like a blackscreen.
Warnung:
Szenendatei "name.tscn" scheint ungültig / fehlerhaft zu sein.

The errors that occure:
opening the .gd files in the editor did not help

Index out of bounds not only size 5 also other size numbers occure.

![16959758761116945279359397479450](https://github.com/godotengine/godot/assets/145292472/695643e4-1cab-4be1-95c3-b3812d27a438)

![16959760277771015567340578049843](https://github.com/godotengine/godot/assets/145292472/77fda0b0-3e27-456c-9ae2-8bd7d437d3d4)

![16959763377142669902820474492976](https://github.com/godotengine/godot/assets/145292472/6a2f407a-b81f-4c92-91f8-c95a302ef4fc)


### Steps to reproduce

I renamed a Project with many .tscn files. Now I cannot open some .tscn. I can only open them if I rename the project back to the original name, but if I do so.
Some other .tscn files are invalid to open.

### Minimal reproduction project

I tried to make a minimal project by renaming but could  not reproduce the issue. Maybe the issue occures on larger projects.
Repository: godot
Issue: Get id of type by instance is impossible
Labels: topic:gdscript

### Godot version

4.1.1.stable

### System information

Windows 10, GLES2, Intel(R) UHD Graphics 630

### Issue description

I have class A
```
class A extends Object:
    pass
```

I have instance
```
var a = A.new()
```

I have some configuring for types
```
var dict: Dictionary = {
    A: 1,
    MyOtherClass: 2
}
```

So I can get config for A `var conf = dict[A]`
But I can't get config for instance `var conf = dict[a]`

I understand that 'a' and 'A' are diferent objects, but in C# I can do this

```
private Dictionary<Type, int> dict.....
```

Then I can fill dict by typeof(A), typeof(MyOtherClass) etc...

After it I can get conf by `var conf = dict[a.GetType()]`

I can't do it in GDScript

I don't want add in my classes func
```
class_name A

func get_my_type():
    return A
```

What can I do outside class script to get what I want (get A from a)?

### Steps to reproduce

Nothing

### Minimal reproduction project

Nothing
Repository: stable-diffusion-webui
Issue: [Bug]: "Error training embedding Traceback" - when training Embedding or Hypernetwork
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?

When training a hypernetwork with a dataset and Hypernetwork.txt as template, stable diffusion throws the following error:
`** Error training embedding Traceback (most recent call last): File "C:\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 593, in train_embedding p.sampler_name = sd_samplers.samplers[preview_sampler_index].name TypeError: list indices must be integers or slices, not str`

Training a hypernetwork works fine in v 1.5. This is an v1.6 issue.

Could make it work partly when using this fix: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/de5bb4ca88df44362c9263de7334b30156540e21

Also check this previous BUG report https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13080

### Steps to reproduce the problem

1. Go to Training
2. Press Training hypernetwork with a dataset and some prompt in text2img
3. Press Training Hypernetwork or embedding


### What should have happened?

Successfull starting the training/learning process of a given dataset

### Sysinfo

Windows 11 x64

### What browsers do you use to access the UI ?

Edge, Chrome

### Console logs

```Shell
`** Error training embedding Traceback (most recent call last): File "C:\AI\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 593, in train_embedding p.sampler_name = sd_samplers.samplers[preview_sampler_index].name TypeError: list indices must be integers or slices, not str`
```


### Additional information

Does not happen in V1.5
Repository: godot
Issue: Use *await* will raise error when reloaded script in DEBUG mode
Labels: bug,topic:gdscript

### Godot version

4.1.2.rc1

### System information

Godot Engine v4.1.2.rc1.mono.official.58f0cae4a - https://godotengine.org Vulkan API 1.3.236 - Forward+ 

### Issue description

After I use * await * KEYWORD in my script, it will raise errors when i edit my code and reloaded  it in debugging mode.
The issue not happen again when I delete or comment out the line include * await * KEYWORD 
This is error info:

E 0:00:30:0220   test.gd:13 @ _ready(): Condition ' (ip + 5) > _code_size ' is true. Breaking..:

### Steps to reproduce

There are test code in a new created project:
```
extends Node3D

func _ready() -> void:
	
	var NewTween = get_tree().create_tween().set_loops()
	NewTween.tween_callback(CreateMonster).set_delay(0.2)

func CreateMonster():
	var Monster = MeshInstance3D.new()
	Monster.mesh = $MeshInstance3D.mesh
	add_child(Monster)
	Monster.position = Vector3.ONE * randf_range(0,51)
	await get_tree().create_timer(1).timeout
	Monster.queue_free()

```
When i changed and save code in Debugging ,the script reloaded then it raise an error

### Minimal reproduction project


[Trail.zip](https://github.com/godotengine/godot/files/12763178/Trail.zip)
Repository: vscode
Issue: Blue button at bottom right of editor sometimes has small bottom and right margins
Labels: bug,merge-editor

# Description 



![Image](https://github.com/microsoft/vscode/assets/16353531/2300d0c6-bb40-4fc3-9455-e7532edb6761)


# Version 


```
Version: 1.83.0-insider
Commit: ba36ae4dcca57ba64a9b61e5f4eca88b6e0bc4db
Date: 2023-09-29T02:08:02.965Z
Electron: 25.8.2
ElectronBuildId: 23977753
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0
```
Repository: PowerToys
Issue: Hotkey layout swap on multi-monitor setup per monitor instead for all
Labels: Product-FancyZones,Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

When assigning a Hotkey to a Layout (e.g. in my case Strg+Win+Alt+[1] and [2]) I can hot swap between two layouts I created. So far, so good.
But I use two different layouts for my main screen and my secondary screen. The layout on the main screen shall remain as it is, while the layout on the secondary screen is supposed to change with the hotkey.
What happens is, that both screens are getting the hotkey layout applied, not the secondary screen only (the secondary screen was selected in the layout editor while setting the hotkey number).

I would like to see an option to configure, if I want the hotkey layout applied to all screens or only the ones I selected manually (like "Apply to screen: [All], [1], [1 + 3]", configurable in the zone layout editor, where I can assign the hotkey number to the layout).

### Scenario when this would be used?

I want to keep the layout on my main screen consistent, while swapping the secondary monitor layouts with hotkeys for different window/zone layouts.

### Supporting information

_No response_
Repository: next.js
Issue: Functions and buttons from react-big-calendar don't work in next 13.4.9 and upwards but work in 13.4.8 and earlier
Labels: Upstream,bug,linear: next

### Link to the code that reproduces this issue

https://github.com/octavian-regatun/nextjs-react-big-calendar-with-bug

### To Reproduce

1. Start the application with `npm run dev`
2. Try to click any of the buttons from the home page in the toolbar (BACK, NEXT, MONTH, WEEK, DAY, etc.)

### Current vs. Expected behavior

Following the steps from the previous section, I expected the buttons to work, but I observed that no button is working.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023
Binaries:
  Node: 18.16.0
  npm: 9.6.6
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 13.5.4-canary.6
  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)

Not sure

### Additional context

I tested my reproduction against different next releases and the first one that introduced the bug was "13.4.9-canary.3", since reverting to "13.4.9-canary.2" works.

The bug can be reproduced only with `npm run dev`. With `npm run build && npm run start` everything works as expected even on "13.4.9-canary.3" and upwards

You can check the working and the non-working repositories here (the code is the same, the only difference is the next version):
- with bug: https://github.com/octavian-regatun/nextjs-react-big-calendar-with-bug
- without bug: https://github.com/octavian-regatun/nextjs-react-big-calendar-without-bug
Repository: pytorch
Issue: feat(Pipeline Parallelism): use mincut optimization for local communication optimization
Labels: oncall: distributed

### 🚀 The feature, motivation and pitch

Currently, the pipeline parallelism API requires the user to make a decision about the partitioning:
https://github.com/pytorch/pytorch/blob/758735b739e119dfa66c447b81e8bd391ab765f7/torch/distributed/pipeline/sync/pipe.py#L224

However, I believe an _automated partitioner_ that reduces the cross-device communication could be employed. 


### Proposal
Of course, the device placement issue is hard enough (partitioning the bwd + fwd workload / memory to be evenly distributed across devices), but even once the graphs have been approximately placed, one may still want to search over a small radius to repartition operations so as to reduce cross-device communication. 

To do so, one may employ the mincut optimization to find the minimum cut of communication in a local region, similar to the min_cut_partitioner in inductor:

https://github.com/pytorch/pytorch/blob/758735b739e119dfa66c447b81e8bd391ab765f7/torch/_functorch/partitioners.py#L253

### Considerations
1. In e.g. [torchgpipe](https://arxiv.org/pdf/2004.09910.pdf) only a coarse-grained global partitioning strategy (`torchgpipe.balance`) is utilized, but not a local strategy.

### Alternatives
1. Unclear if this should be the role of PyTorch, which should provide the _capability_ for pipeline parallelism but not necessarily the fine-grained decisions.
    - Nonetheless, I believe that providing a default Torch partitioner / local repartitioner may still be useful to many users. 

### References
1. [Alpa - Inter+Intra Operator Parallelism](https://www.usenix.org/system/files/osdi22-zheng-lianmin.pdf) - unclear if the "local" min cut approach would be complementary with e2e principled, topology-aware approach with cost model like Alpa.

CC @wconstab 

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu
Repository: PowerToys
Issue: Add Wrap Mouse to be enabled\disabled from Taskbar Icon
Labels: Needs-Triage,Product-Mouse Without Borders

### Description of the new feature / enhancement

Add Wrap Mouse to be enabled\disabled from Taskbar Icon.

This would allow the Wrap Mouse setting to be quickly enabled and disabled from the Taskbar Icon, without needing to always go into the app settings and make the changes from there.

### Scenario when this would be used?

This would be helpful where some software will not play nice with the mouse wrapping feature enabled when using Mouse without borders. This would allow the end user to quickly disable mouse wrapping while the software is being used and then enable it again once that software is no longer being used.

### Supporting information

_No response_
Repository: flutter
Issue: Make NavigationDrawer more customizable
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

In my Flutter App, I have a NavigationDrawer with NavigationDrawerDestinations. Ideally, I would like the 'Settings' destination to be at the bottom of the drawer, sticking to the lower edge of the screen. In regular ListViews or Columns, this can be done with some Align widget. However, You can not use NavigationDrawerDestinations if their parent is not a NavigationDrawer. Hence, I cannot align the settings destination to the bottom of the screen.

A code example:

```flutter
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final String title;

  const MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: const Text("My App"),
      ),
      drawer: const NavigationDrawer(
        children: [
          NavigationDrawerDestination(
            icon: Icon(Icons.home),
            label: Text("Home"),
          ),
          NavigationDrawerDestination(
            icon: Icon(Icons.settings),
            label: Text("This works"),
          ),
//           Align(
//             alignment: Alignment.bottomLeft,
//             child: NavigationDrawerDestination(
//              icon: Icon(Icons.settings),
//              label: Text("This does not work"),
//            )
//           )
        ]
      ),
      body: const Center(
        child:  Text('Home'),
      ),
    );
  }
}
```` 

The commented bit shows what I would like to do, but which does not work. 




### Proposal

It would be great if NavigationDrawerDestination widgets could be used anywhere as long as there is a NavigationDrawer above them in the tree. Aside from Align widgets, this could also be useful for ExpansionTiles, such as used in the drawer of the Firebase Console: 

![image](https://github.com/flutter/flutter/assets/43265483/83df4d3c-8e38-4bcd-bb13-39dbf9c2fa4b)

This proposal is related to #127621 but I want to be able to put NavigationDrawerDestination widgets inside the Align/ExpansionTile/whatever widgets
Repository: tauri
Issue: [bug] The app's system tray icon appears blank after multiple cycle changes. The tray icon and tray menu appear blank.
Labels: type: bug,platform: Windows,status: needs triage

### Describe the bug

In the Windows system, use a loop to change the application's tray icon every 500ms. After a few minutes, the tray icon will become blank and the tray menu content will disappear and become a pure white background.

And the tray cannot respond to click events.

Part of the code:
```rust
            while flag {
                let mut file_content: Vec<u8> = if k { fs.to_vec() } else { fh.to_vec() };
                window
                    .app_handle()
                    .tray_handle()
                    .set_icon(tauri::Icon::Raw(file_content).into())
                    .unwrap();
                std::thread::sleep(Duration::from_millis(600));
                k = !k;
                flag = INSTANCE.lock().unwrap().flag;
            }
```
disappear:
![image](https://github.com/tauri-apps/tauri/assets/13309995/c5f02d13-3efd-4440-9c2c-ef78e0356d19)


### Reproduction

_No response_

### Expected behavior

It should display and use normally

### Platform and versions

```text
> tauri "info"

[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 117.0.2045.43
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
    ✔ Cargo: 1.72.0 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 16.15.0
    - yarn: 1.22.19
    - npm: 8.5.5

[-] Packages
    - tauri [RUST]: 1.4.1
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: not installed!
    - @tauri-apps/cli [NPM]: 1.4.0 (outdated, latest: 1.5.0)
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: ollama
Issue: Allow global Ollama settings configuration
Labels: feature request

In some cases (specifically related to hardware usually) it makes sense to have some global Ollama configuration rather than binding the setting to the Modelfile.

For example if I am running many different servers with different hardware capabilities I don't want to create and load Modelfiles for each machine to set `num_thread`, I want to set it once.
Repository: node
Issue: flaky: parallel/test-worker-stdio-from-preload-module
Labels: windows,flaky-test

### Test

parallel/test-worker-stdio-from-preload-module

### Platform

Windows

### Console output

```console
13:16:35 not ok 874 parallel/test-worker-stdio-from-preload-module
13:16:35   ---
13:16:35   duration_ms: 624.99000
13:16:35   severity: fail
13:16:35   exitcode: 3221226356
13:16:35   stack: |-
13:16:35   ...
```


### Build links

- https://ci.nodejs.org/job/node-test-binary-windows-js-suites/23386/RUN_SUBSET=3,nodes=win2019-COMPILED_BY-vs2022/console

### Additional information

_No response_
Repository: PowerToys
Issue: Add option to specify where mouse pointer will go when mouse leaves the screen
Labels: Needs-Triage,Product-Mouse Without Borders

### Description of the new feature / enhancement

Add options for where the mouse pointer will be placed when the mouse leaves the computer.


### Scenario when this would be used?

Currently the two options for the mouse pointer when the mouse leaves the screen seems to put the mouse pointer in the top middle edge or the very center of the screen depending on if "hide mouse at screen edge" is selected.

An entry box for coordinates, an option to click a place on the screen, or even some other fixed option of where to put the mouse pointer would be beneficial.

### Supporting information

Currently if the mouse point is left in the middle of the screen is left visible.  If the option to hide the mouse at the screen edge is selected it is left at the very top middle of the screen.  This can cause the triggering of menu bars and other elements in various applications when in fullscreen mode.