sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: CLI to call ImageResizer
Labels: Idea-Enhancement,Product-Image Resizer

### Description of the new feature / enhancement

As per #20853.

The goal of this enhancement is to have ImageResizer exposed via a CLI that can be called by Power Automate Desktop, a Windows service or some other desktop task scheduler.

(Copy-and-pasted from #20853)
In the latest version of Power Automate Desktop:

there is no way, other than "Run VBScript", to resize images.
file renaming doesn't support regular expressions.
PowerToys is great at these tasks so its a missed opportunity for the Power suite not to be able to leverage them.

### Scenario when this would be used?

(Copy-and-pasted from #20853)

The most useful current scenario for us would be to rename and resize photos automatically when they appear in a project particular folder.

For example, currently we have many engineers that take project related photographs and save them into the relevant project folders exactly as they are - they don't have the time to rename them or resize them so we have an administrator that has to rename the photos and resize them into 3 different dimension sets. Even using PowerToys, this process takes some time given the number of project folders and daily frequency that these tasks must be undertaken.

The rules for renaming are based on regular expressions and are repeatable but have to be carried out manually in each of 40-50 project folders several times a day. The resizing is also formulaic and repeatable but also carried out manually.

Instead of these manual processes, we could like to use Power Automate Desktop running on the admin's machine to parse project folders and undertake all renaming and resizing tasks automictically by calling into PowerToys.

### Supporting information

_No response_
Repository: PowerToys
Issue: CLI to call PowerRename
Labels: Idea-Enhancement,Product-PowerRename

### Description of the new feature / enhancement

As per https://github.com/microsoft/PowerToys/issues/20853.

The goal of this enhancement is to have PowerRename exposed via a CLI that can be called by Power Automate Desktop, a Windows service or some other desktop task scheduler.

(Copy-and-pasted from https://github.com/microsoft/PowerToys/issues/20853)
In the latest version of Power Automate Desktop:

there is no way, other than "Run VBScript", to resize images.
file renaming doesn't support regular expressions.
PowerToys is great at these tasks so its a missed opportunity for the Power suite not to be able to leverage them.

### Scenario when this would be used?

(Copy-and-pasted from https://github.com/microsoft/PowerToys/issues/20853)

The most useful current scenario for us would be to rename and resize photos automatically when they appear in a project particular folder.

For example, currently we have many engineers that take project related photographs and save them into the relevant project folders exactly as they are - they don't have the time to rename them or resize them so we have an administrator that has to rename the photos and resize them into 3 different dimension sets. Even using PowerToys, this process takes some time given the number of project folders and daily frequency that these tasks must be undertaken.

The rules for renaming are based on regular expressions and are repeatable but have to be carried out manually in each of 40-50 project folders several times a day. The resizing is also formulaic and repeatable but also carried out manually.

Instead of these manual processes, we could like to use Power Automate Desktop running on the admin's machine to parse project folders and undertake all renaming and resizing tasks automictically by calling into PowerToys.

### Supporting information

_No response_
Repository: ollama
Issue: Support for HyperGAI/HPT1_5-Air-Llama-3-8B-Instruct-multimodal
Labels: model request

Hello team,
It would be so great so have this new multimodal based llama3 model supported with ollama! thanks!

https://huggingface.co/HyperGAI/HPT1_5-Air-Llama-3-8B-Instruct-multimodal

https://github.com/HyperGAI/HPT?tab=readme-ov-file#installation
Repository: go
Issue: x/build: modify contents of "gray box" (summary markdown) in LUCI UI to be more directly to the point for test failures
Labels: Builders,NeedsFix,DevExp

Currently the LUCI UI for Go builds isn't very direct, especially in the common case of a test failure.

For example:
![image](https://github.com/golang/go/assets/1248668/08c0e622-f86f-4fd5-884f-e6cfccd9c431)

The "FAILURE" line is redundant, the "exit status 1" line is also not very useful (more useful for an infra failure, less useful for a test failure), and the "Links" section has only one link that goes to a more verbose set of information. Nowhere here do we link to the test results directly (we do for main Go repo builds, but that also includes less useful information, like the shard number).

@rsc proposed including a summary of the test failure text instead, which I believe is the right call. We already plumb around the fact that a test failed anyway.

I'll defend the existence of the `go on <x>` and `website on <y>` lines, because I don't believe that information is surfaced very well anywhere else in the UI, but other than that, the summary markdown could use a rethink.
Repository: flutter
Issue: Add getter for floatingActionButtonLocation in ScaffoldState
Labels: c: new feature,framework,f: material design,c: proposal,P3,team-design,triaged-design

### Use case



During development of custom bottom app bar I ran into the issue where I need to place items differently based on Scaffold's FAB location.

My current workaround:

```dart
class NewScaffold extends Scaffold {
  const NewScaffold({
    super.key, 
    super.appBar,
    super.body,
    super.floatingActionButton,
    // ... and so on, truncated for readability
  });

  @override
  ScaffoldState createState() => NewScaffoldState();

  static NewScaffoldState of(BuildContext context) {
    final NewScaffoldState? result = context.findAncestorStateOfType<NewScaffoldState>();
    if (result != null) {
      return result;
    }
    throw Exception();
  }
}

class NewScaffoldState extends ScaffoldState {
  NewScaffoldState() : super();

  FloatingActionButtonLocation get floatingActionButtonLocation
      => widget.floatingActionButtonLocation ?? FloatingActionButtonLocation.endFloat;
}
```
Then:
```dart
final fabLocation = NewScaffold.of(context).floatingActionButtonLocation;
```

Which is just fine, because as of today, the internal ```_floatingActionButtonLocation``` changes only if ```widget.floatingActionButtonLocation``` is changed.

Of course I could simply pass current FAB location to my custom bottom app bar, but it's not the point.

### Proposal

Add getter to ScaffoldState:
```dart
FloatingActionButtonLocation get floatingActionButtonLocation
      => _floatingActionButtonLocation!; // if widget.floatingActionButtonLocation is null, then it has a value of _kDefaultFloatingActionButtonLocation
```
Repository: vscode
Issue: offering When Clause context for snippet activation
Labels: feature-request,snippets

<!-- ⚠️⚠️ 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'd like to have when clause for snippets. This can he useful in these contexts:

- Some frameworks/languages offer snippets that change from one version to the other. And no need to release extensions for each version. 
- Some extensions do not just offer snippets, and in this case Snippets can still work even when the extension is deactivated.
- Programmatically injected snippets do not work for embedded languages. Offering that can be a solution too.

Workaround for this issue can be enabling/disabling snippets by moving files from VSCode Extension directory to another path. But this requires users to refresh it, so doing it programmatically doesn't really work unless users want to enable/disable them. 



```JSON
 {
  "when": "language.versionFour",
  "language": "html",
  "path": "./snippets/lang/components.json"
 },
```
Repository: godot
Issue: MeshDataTool.get_edge_faces giving incorrect faces.
Labels: documentation,topic:import,topic:3d

### Tested versions

v4.2.2.stable.official [15073afe3]

### System information

Godot v4.2.2.stable - Fedora Linux 40 (Workstation Edition) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 5700 XT (RADV NAVI10) () - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)

### Issue description

`MeshDataTool.get_edge_faces()` incorrectly reports 1 face (An open edge) on some edges that should share a face. 

### Steps to reproduce

 - Import a blend file with default cube.

 - Place the blend file in the scene
 
 - Put this script in the root of the scene:

```
func _ready():
    var mesh_instance = $default.find_child("Cube") as MeshInstance3D;
    var mesh = mesh_instance.mesh as ArrayMesh;
    
    var mdt = MeshDataTool.new()
    mdt.create_from_surface(mesh, 0);
    
    var totals = [0, 0, 0];
    for i in range(mdt.get_edge_count()):
        totals[mdt.get_edge_faces(i).size()] += 1;
    print("Open edges: ", totals[1]);
    print("Shared edges: ", totals[2]);
```

 - Run project

Output I get:

```
Open edges: 24
Shared edges: 6
```

Output I expect (Cube is triangulated during import):

```
Open edges: 0
Shared edges: 18
```

It should not be possible for a cube to have open edges, but for some reason it does.

### Minimal reproduction project (MRP)

[BlenderImportFaceEdges.zip](https://github.com/godotengine/godot/files/15204896/BlenderImportFaceEdges.zip)
Repository: bitcoin
Issue: RfC: increase minimum prune target?
Labels: Block storage

The minimum pruning target of `550MiB` was chosen based on a physical block size of `1 MiB`, see  https://github.com/bitcoin/bitcoin/blob/f5b6f621fff7540ca97974b26a66ca1cc6db018c/src/validation.h#L69-L76
We never prune files within 288 blocks from the tip, so the size limit will not be respected if these blocks take up more space.

Since physical block sizes have increased since segwit, I think that there is no benefit to choosing `-prune=550` as opposed to `-prune=1000`:
Running with the smaller value will likely slow down IBD a bit (because we prune / flush chainstate more often), but once we are getting closer to the tip, the blockfile directory will be between `700MiB` and `900 MiB`, so we'll need more disk space eventually anyway (also, today's chainstate is > 12 GiB, which is large in comparison).

So I wonder if we should
* increase the limit in a hard way - this would be an inconvenience to lots of existing users who would need to update their `bitcoin.conf` to be able to start bitcoind.
* increase it in a soft way, something like disrepecting it on purpose by setting it to a higher value, but without an init error.
* add a comment to the `-prune` doc that values around 550MiB are pointless.
* do nothing
Repository: excalidraw
Issue: Request for toolbox position adjustment feature
Labels: enhancement

First of all, thank you for making a great extension.

The toolbox obscures what I am about to explain.
It would be nice to have an option to adjust the position of the toolbox.
(top right or bottom right)

![image](https://github.com/excalidraw/excalidraw/assets/3360511/ddb9df39-af54-4400-82c8-fa407c24fe5b)
Repository: vscode
Issue: Cycle windows backward and forward by last used 
Labels: feature-request,workbench-window,workbench-auxwindow

<!-- ⚠️⚠️ 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 have 20 open windows in vscode. how to cycle through them going back to the latest used and then the second latest used and so on? mac
``Cmd + ` `` and ``Cmd + Shift + ` `` does not work in the order last used.
Repository: pytorch
Issue: C++ libtorch x86_64 Darwin deprecation note missing
Labels: module: binaries,module: cpp,triaged,module: macos

### 🐛 Describe the bug

There is no binaries for x86_64 Darwin `libtorch` 2.3.0 at [pytorch.org](https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.3.0.zip), but there is for [2.2.3](https://download.pytorch.org/libtorch/cpu/libtorch-macos-x86_64-2.3.0.zip).

@ptrblck mentioned at [discussion](https://discuss.pytorch.org/t/libtorch-2-3-0-binaries-for-x86-darwin-is-missing/202032/2?u=npatsakula) that this target deprecated, but there is no deprecation note in release info.

### Versions

-

cc @seemethere @malfet @osalpekar @atalman @jbschlosser @albanD
Repository: pytorch
Issue: Eager/FX backend sometimes uses more memory than eager
Labels: triaged,oncall: pt2,module: dynamo

### 🐛 Describe the bug

The eager backend with dynamo keeps more memory in scope when running RAdam and NAdam compared to eager. Repro script:
```
import torch
torch.set_default_device("cuda")

import torch.optim
nparam = 10

params = [torch.ones(32, 32) for _ in range(nparam)]
for p in params:
    p.grad = torch.ones_like(p)

opt = torch.optim.RAdam(params, lr=0.1, capturable=True, foreach=True)

@torch.compile(backend="eager")
def fn():
    opt.step()

import gc
gc.collect()
torch.cuda.reset_peak_memory_stats()
fn()
torch._dynamo.reset()
gc.collect()
print(torch.cuda.max_memory_allocated())
```
Comment out the torch.compile line to get the pure eager result.

Results on my devgpu:
eager: 225280
compile: 240640

Other clues:
When I remove the `del`s from R/NAdam, eager gets closer to the dynamo backend but not quite there. Looking at the FX graph I see that buffers are correctly set to None but it doesn't appear that they are freed at exactly the same time as in eager.

### Versions

Nightly:
55851e5de5afdc3b29f843c0b7de1118e92e9492

cc @ezyang @msaroufim @bdhirsh @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng
Repository: vscode
Issue: Move viewModel utilities into `testNotebookEditor.ts`
Labels: debt,notebook-toc-outline

we could consider moving these utilities into `testNotebookEditor`

_Originally posted by @rebornix in https://github.com/microsoft/vscode/pull/211861#discussion_r1589784600_
            

https://github.com/microsoft/vscode/blob/aed4230a894876b1c5926be4c6f6830f7af25d76/src/vs/workbench/contrib/notebook/test/browser/contrib/notebookOutlineViewProviders.test.ts#L57-L100
Repository: godot
Issue: Splash screen background remains opaque, even after enable the options "Transparent" and "Per Pixel Transparency" and adjusting"BG Color" to (0, 0, 0, 0).
Labels: bug,topic:rendering,confirmed

### Tested versions

- Reproducible in v4.2 and v4.1.
- Not Reproducible in v3.5.

### System information

Windows 10 - AMD Athlon 200GE - GTX 1050Ti

### Issue description

The splash screen background remains opaque despite enabling the `Project Settings > Display > Window > Transparent` option, the `Project Settings > Display > Window > Per Pixel Transparency` option and adjusting `Project Settings > Application > Boot Splash > BG Color` to (0, 0, 0, 0).

### Steps to reproduce

enable "Transparent" option
![image](https://github.com/godotengine/godot/assets/93272214/674a5884-512c-4a48-8fae-31616258ea57)

enable "Per Pixel Transparency" option
![image](https://github.com/godotengine/godot/assets/93272214/6f31ff74-ae12-4d51-a6d9-eca3c6db14f5)

adjust "BG Color" to (0, 0, 0, 0)
![image](https://github.com/godotengine/godot/assets/93272214/9deef190-249f-4571-b151-f1d15bfb24b2)

~ background is not transparent
![image](https://github.com/godotengine/godot/assets/93272214/530d1a80-14a9-4c6c-b64a-22f72e0b5b24)


expected:
![image](https://github.com/godotengine/godot/assets/93272214/d90c9cde-fd5a-444a-b897-46b2379f3c47)



### Minimal reproduction project (MRP)

N/A
Repository: stable-diffusion-webui
Issue: [Feature Request]: Extentions can't use A1111 modules in correct way
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 ?

There is a complete conversation in https://github.com/Mikubill/sd-webui-controlnet/issues/2836 issue and https://github.com/Mikubill/sd-webui-controlnet/pull/2839 pull request on ControlNet repo. Implementation of launch_utils.run_extension_installer  can be better. but that can effect All other extensions installation. https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0/modules/launch_utils.py#L227-L240

I know that `relative import beyond the top-level package` in python not allowed. but I think with a better implementation of this function (which I don't know how to do that) we can help extension contributors think about something else. 

### Proposed workflow

1. change implementation of run_extension_installer for help extensions to use A1111 modules in better way with out `relative import beyond the top-level package` problem.


### Additional information

this can help extensions for better contribution to project.
Repository: pytorch
Issue: Dynamic shapes: Cannot determine contiguity of split on inner dimension
Labels: triaged,oncall: pt2,module: dynamic shapes

### 🐛 Describe the bug

Internal xref:

```
import torch
import torch.functional

torch._dynamo.config.capture_scalar_outputs = True

@torch.compile(fullgraph=True, dynamic=True)
def f(x, y):
    return torch.functional.split(x.clone(), y.tolist(), dim=1)

f(torch.randn(80, 100), torch.tensor([20, 40, 40]))
```

fails with

```
GuardOnDataDependentSymNode: Could not guard on data-dependent expression Eq(100, u0) (unhinted: Eq(s1, u0)).  (Size-like symbols: u0)

Potential framework code culprit (scroll up for full backtrace):
  File "/data/users/ezyang/a/pytorch/torch/fx/passes/shape_prop.py", line 49, in _extract_tensor_metadata
    if result.is_contiguous(memory_format=query_format):

For more information, run with TORCH_LOGS="dynamic"
For extended logs when we create symbols, also add TORCHDYNAMO_EXTENDED_DEBUG_CREATE_SYMBOL="u0"
If you suspect the guard was triggered from C++, add TORCHDYNAMO_EXTENDED_DEBUG_CPP=1
For more debugging help, see https://docs.google.com/document/d/1HSuTTVvYH1pTew89Rtpeu84Ht3nQEFTYhAX3Ypa_xJs/edit?usp=sharing

For C++ stack trace, run with TORCHDYNAMO_EXTENDED_DEBUG_CPP=1

While executing %split : [num_users=3] = call_function[target=torch.functional.split](args = (%clone, [%item, %item_1, %item_2]), kwargs = {dim: 1})
Original traceback:
  File "/data/users/ezyang/a/pytorch/al.py", line 8, in f
    return torch.functional.split(x.clone(), y.tolist(), dim=1)

```

https://fb.workplace.com/groups/6829516587176185/posts/7172183699576137

### Versions

main

cc @msaroufim @bdhirsh @anijain2305 @chauhang
Repository: deno
Issue: upgrade_prompt is flaky
Labels: flaky

```
---- upgrade::upgrade_prompt stdout ----
command /Users/runner/work/deno/deno/target/debug/deno run --log-level=debug main.js
command cwd /var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF
command /Users/runner/work/deno/deno/target/debug/deno run --log-level=debug main.js
command cwd /var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF
------ Start Full Text ------
"DEBUG RS - deno::worker:180 - main_module file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js\r\nDEBUG RS - deno::module_loader:111 - Preparing module load.\r\nDEBUG RS - deno::module_loader:115 - Building module graph.\r\nDEBUG RS - deno::file_fetcher:565 - FileFetcher::fetch_no_follow_with_options - specifier: file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js\r\nDEBUG RS - deno::npm::managed::resolution:313 - Snapshot already up to date. Skipping pending npm resolution.\r\nDEBUG RS - deno::module_loader:165 - Prepared module load.\r\nDEBUG RS - deno_runtime::worker:761 - received module evaluate Ok(\r\n    (),\r\n)\r\nDEBUG RS - deno::module_loader:709 - Updating V8 code cache for ES module: file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js, [\"3803688792395291579\"]\r\n"
------- End Full Text -------
Next text: "DEBUG RS - deno::worker:180 - main_module file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js\r\nDEBUG RS - deno::module_loader:111 - Preparing module load.\r\nDEBUG RS - deno::module_loader:115 - Building module graph.\r\nDEBUG RS - deno::file_fetcher:565 - FileFetcher::fetch_no_follow_with_options - specifier: file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js\r\nDEBUG RS - deno::npm::managed::resolution:313 - Snapshot already up to date. Skipping pending npm resolution.\r\nDEBUG RS - deno::module_loader:165 - Prepared module load.\r\nDEBUG RS - deno_runtime::worker:761 - received module evaluate Ok(\r\n    (),\r\n)\r\nDEBUG RS - deno::module_loader:709 - Updating V8 code cache for ES module: file:///private/var/folders/bc/7ycrpl196j7dsckgtn2m6g800000gn/T/deno-cli-testLg8NEF/main.js, [\"3803688792395291579\"]\r\n"
thread 'upgrade::upgrade_prompt' panicked at tests/integration/upgrade_tests.rs:226:9:
```

Fails on:

```
pty.expect_any(&[
      " 99999.99.99 Run `deno upgrade` to install it.",
      // it builds canary releases on main, so check for this in that case
      "Run `deno upgrade --canary` to install it.",
    ]);
```
Repository: electron
Issue: [Feature Request]: Support webp format in NativeImage class [totoWEBP()]
Labels: enhancement :sparkles:,component/native-image

### 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 feature request that matches the one I want to file, without success.

### Problem Description

Currently, it's not possible to directly convert captured page (via capturePage) into a webp image.

### Proposed Solution

Adding toWEBP() method to NativeImage class (similar to toPNG and toJPEG methods)

### Alternatives Considered

I'm not sure, but chromium and puppeteer have the required code

### Additional Information

_No response_