sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Search suggestions when doing web search in powertoys run
Labels: Needs-Triage

### Description of the new feature / enhancement

When user wants to search for some query from the internet and user is using direct activation command in the prompt then the web search suggestions should appear as user is typing a query, like google search. If possible it will be better, if that prompts gets connected to google and can show directly suggestions from google

### Scenario when this would be used?

When user wants to search query "area of circle", as soon as user starts to type "area", the suggestions should be shown like area of circle, area of traingle, etc. similar to google search.  This will save lot of time of typing and users will use powertoys only to search for the query. No need to open browser and type query.

### Supporting information

_No response_
Repository: godot
Issue: Characterbody2d sliding when standing on AnimatableBody2d that is moving with move_and_collide()
Labels: bug,topic:physics

### Godot version

4.0.beta1

### System information

Windows 10

### Issue description

Standing on an Animatablebody2d moved by move_and_collide() makes character slide when the Animatablebody's velocity changes.

https://user-images.githubusercontent.com/43501741/191983770-4b754179-1ac0-494f-b3c6-d70ea52bf383.mp4



### Steps to reproduce

Run MRP

### Minimal reproduction project


[platformslide-mrp.zip](https://github.com/godotengine/godot/files/9634559/platformslide-mrp.zip)
Repository: flutter
Issue: [NavigationRail]: Proposal to add item hover property to create submenu
Labels: c: new feature,framework,f: material design,c: proposal,team-design,triaged-design

I'm experimenting with web user experience using navigation rails.

I want to create a submenu like this page([https://m3.material.io/components](https://m3.material.io/components)).
Is there any current implementation?

In order to create a submenu, we need an item hover property on the NavigationRail.

https://user-images.githubusercontent.com/49754877/191984576-333c9340-9f1c-4141-bcd8-b942bb86226b.mov
Repository: PowerToys
Issue: [Mouse Utillities] Move mouse pointer to active window in multi-monitor setup on pressing ALT+TAB
Labels: Needs-Triage

### Description of the new feature / enhancement

In case of multiple monitors when we simultaneously use two applications, we move back and forth between the application using ALT+TAB. Incase you want to do some mouse operation and the pointer happens to be inactive window, you have to drag the mouse all the way to do any activity. Again if you press ALT+TAB, the mouse pointer has to be dragged back to the current active window.

The requirement is to enable mouse pointer snap to middle of the active window, wherever the window is. So, If I am at screen 1 doing some activity and press ALT+TAB, the mouse pointer moves to the new active window and the dragging the mouse pointer could be eliminated.

### Scenario when this would be used?

The requirement is to enable mouse pointer snap to middle of the active window, wherever the window is. So, If I am at screen 1 doing some activity and press ALT+TAB, the mouse pointer moves to the new active window and the dragging the mouse pointer could be eliminated.

### Supporting information

_No response_
Repository: flutter
Issue: [webview_flutter] Add support for WKPreferences `javaScriptCanOpenWindowsAutomatically` 
Labels: c: new feature,platform-ios,p: webview,package,c: proposal,P3,team-ios,triaged-ios

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

In a webpage, that is running in `webview_flutter`, the following Javascript is executed `window.open('https://google.com', '_top')`. This works perfectly on Android, but iOS is ignoring it, because it requires WKPreferences bool `javaScriptCanOpenWindowsAutomatically` to be set to true. This is currently not possible, as this preference is not exposed via the WebView widget and not handled in the `webview_flutter_wkwebview` package.

## Proposal

I want to add `javaScriptCanOpenWindowsAutomatically` as a widget parameter, which I'm able to do by reverse engineering the Dart and Objective-C code from the package. I also tested if simply setting this preference to true in `FlutterWebView.m` works, which does the trick. I'm just struggling to find out how exactly `FlutterWebview.m` is generated and how I can add the required handlers. Can someone point me in the right direction so I can provide the pull request?

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: node
Issue: No method defined for RTSP requests
Labels: http

### Version

v18.5.0

### Platform

Microsoft Windows NT 10.0.19044.0 x64

### Subsystem

http

### What steps will reproduce the bug?

```js
const http = require('http')
const net = require('net')

const server = http.createServer((req, res) => {
  res.end(String(req.method))
})

server.listen(0, () => {
  const conn = net.connect(server.address().port, 'localhost')

  conn.on('data', (c) => {
    console.log(c.toString())
  })

  conn.on('close', () => {
    server.close()
  })

  conn.on('connect', () => {
    conn.end('DESCRIBE / RTSP/1.0\r\n\r\n')
  })
})
```

### How often does it reproduce? Is there a required condition?

_No response_

### What is the expected behavior?

I would expect it to show the RTSP method, as https://nodejs.org/dist/latest-v18.x/docs/api/http.html#messagemethod doesn't seem to say that the method is not defined if it is RTSP instead of HTTP. If that is expected behavior, perhaps just a documentation update is in order.

### What do you see instead?

That `req.method` is `undefined`

### Additional information

Is there any way to tell if an incoming request is RTSP rather than HTTP?
Repository: stable-diffusion-webui
Issue: Upscaling progress bar + progress images for LDSR
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
It would be nice to be able to see the progress LDSR makes, since it takes so long to run... Maybe show the image every 10 or 20 iterations? I don't know if it's possible though since displaying the image at the end takes a long time.

**Describe the solution you'd like**
Progress images while LDSR is loading. Also, add a progress bar and estimated time to the UI, since it's only in the CMD. Add progress information for Swinir in CMD, and UI also. (For other models, the progress is so fast that it's not as useful...)

**Describe alternatives you've considered**
Watching CMD while it loads.

**Additional context**
Question: is it normal for LDSR to take so long? It takes 3 minutes to upscale an image. (Oh and it gave a CUDA out of memory at the end -_-)
Repository: flutter
Issue: [google_maps_flutter]: Proposal to add support for built-in markers
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

`google_maps_flutter` supports handling `onTap` for markers that we add.

But the map may also contain other ("builtin") markers not added by ourselves. `GoogleMap` constructor does not provide an option for handing such clicks.

Please add this option, like `onTapMarker`.
Repository: deno
Issue: [node-compat] deno seems to not import dependency specified in import map from esm package when using a `npm: ` import
Labels: bug,node compat

I was trying to connect to a planetscale mysql db via the following packages: 
- kysely (the query builder) 
- kysely-planetscale (the database adapter for planetscale, uses npm package @planetscale/database internally) 

I provided all three via an import mapping: 

```
    "kysely": "npm:kysely@0.21.6",
    "kysely/": "npm:kysely@0.21.6/",
    "kysely-planetscale": "npm:kysely-planetscale@0.2.0",
    "kysely-planetscale/": "npm:kysely-planetscale@0.2.0/",
    "@planetscale/database": "npm:@planetscale/database@1.3.0",
    "@planetscale/database/": "npm:@planetscale/database@1.3.0/"
```

Then I tried to run the following script by using:

```
deno run --unstable --allow-env=DATABASE_HOST,DATABASE_USERNAME,DATABASE_PASSWORD --allow-net=aws.connect.psdb.cloud  "./scripts/db/minimal-select.ts"
```

> Note: You need to provide the 3 env vars  for connecting to a planetscale db: 
> DATABASE_HOST,DATABASE_USERNAME,DATABASE_PASSWORD
> You can make a demo db for free at:  https://auth.planetscale.com/sign-up 

```ts
// File: ./scripts/db/minimal-select.ts
import { Kysely, sql } from "kysely";
import { PlanetScaleDialect } from "kysely-planetscale";

interface PetsTable {
  id: number;

  name: string;
}

// Keys of this interface are table names.
interface Database {
  pets: PetsTable;
}

export const db: Kysely<Database> = new Kysely<Database>({
  dialect: new PlanetScaleDialect({
    host: Deno.env.get("DATABASE_HOST"),
    username: Deno.env.get("DATABASE_USERNAME"),
    password: Deno.env.get("DATABASE_PASSWORD"),
  }),
});

const query = sql<any>`SHOW TABLES`;
const result = await query.execute(db);
console.log("\n Tables in Planetscale DB: ");
console.log(result);
```

## The Error Message 

```
error: Could not resolve '@planetscale/database' from 'kysely-planetscale@0.2.0'.
```

## The Temporary Fix 

I can fix this for now for deno by adding the following import: 

```
// Fixes Runtime Behavior:
import {} from "npm:@planetscale/database@1.3.0";
```

I think this works because it explicitely loads the @planetscale/database package identifier into the runtime 
wich makes it resolvable to "kysely-planetscale"

## My Expectation 

My expectation would be that this simply works without needing my "fake" import.

In theory, deno could resolve all bare specifiers in a package loaded by "npm: " as also being npm packages and load them. 
If that's not that easy, I would also be ok with adding them to my import_map, as I've already done for my example. 

This may be enough to fix this, or do I miss something there?
Repository: pytorch
Issue: torch.Tensor.transpose().contiguous() on dimension of size 1 gives  wrong stride 
Labels: module: docs,triaged

### 🐛 Describe the bug

See code snippet below

```python
>>> torch.empty(1, 2, 3, 4, 5).transpose(0,1).contiguous().stride()
(60, 120, 20, 5, 1) # Should be (60, 60, 20, 5, 1)
>>> torch.empty(2, 1, 3, 4, 5).contiguous().stride()
(60, 60, 20, 5, 1)
```



### Versions

Collecting environment information...
PyTorch version: 1.12.0a0+bd13bc6
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.4 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.22.3
Libc version: glibc-2.31

Python version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:10)  [GCC 10.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-48-generic-x86_64-with-glibc2.10
Is CUDA available: False
CUDA runtime version: 11.6.124
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.4.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] functorch==0.2.0a0+bee44f8
[pip3] numpy==1.22.3
[pip3] pytorch-quantization==2.1.2
[pip3] torch==1.12.0a0+bd13bc6
[pip3] torch-tensorrt==1.1.0a0
[pip3] torchtext==0.13.0a0
[pip3] torchvision==0.13.0a0
[conda] magma-cuda110             2.5.2                         5    local
[conda] mkl                       2019.5                      281    conda-forge
[conda] mkl-include               2019.5                      281    conda-forge
[conda] numpy                     1.22.3           py38h1d589f8_2    conda-forge
[conda] pytorch-quantization      2.1.2                    pypi_0    pypi
[conda] torch                     1.12.0a0+bd13bc6          pypi_0    pypi
[conda] torch-tensorrt            1.1.0a0                  pypi_0    pypi
[conda] torchtext                 0.13.0a0                 pypi_0    pypi
[conda] torchvision               0.13.0a0                 pypi_0    pypi


cc @svekars @holly1238
Repository: flutter
Issue: System Navigation Bar APIs are Confusing
Labels: platform-android,a: layout,P2,team-android,triaged-android

As a starting point, @bleroux  classified several issues using this two categories (imperative vs declarative):

### Imperative 
- https://github.com/flutter/flutter/issues/89774 (great summary of edgeToEdge limitations depending on Android version).
- https://github.com/flutter/flutter/issues/90098 (lot of good information. Closed because it was splitted in two separate actionable issues: https://github.com/flutter/flutter/issues/105714 and https://github.com/flutter/flutter/issues/105716
- https://github.com/flutter/flutter/issues/95403 (edgeToEdge and device specific)
- https://github.com/flutter/flutter/issues/108855 (device specific)
- https://github.com/flutter/flutter/issues/59130 (which seems to be a misunderstanding related to an imperative call overridden by the implicit addition of AnnotatedRegion when there is an AppBar).

### Declarative
- https://github.com/flutter/flutter/issues/100027 (with many insights from rydmike about what could be done to improve the documentation, partially fixed by https://github.com/flutter/engine/pull/32167)
- https://github.com/flutter/flutter/issues/76384 (fixed by https://github.com/flutter/engine/pull/32167)
- https://github.com/flutter/flutter/issues/54029 (iOS)
- https://github.com/flutter/flutter/issues/104410 (where I commented https://github.com/flutter/flutter/issues/104410#issuecomment-1137224408  after analyzing various issues and leads me to this PR)
- https://github.com/flutter/flutter/issues/21265 (onResume issue where the proposed solution was to switch to the declarative way, but people seems to be confused by AppBar overridden their values, see https://github.com/flutter/flutter/issues/21265#issuecomment-579402863)
- https://github.com/flutter/flutter/issues/39132 (seems to be the same confusion)
Repository: tensorflow
Issue: max_pool2d is over 10x slower than it should be for large pooling size
Labels: comp:ops,type:performance,TF 2.8

... At least on CPU, as demonstrated in [this notebook](https://colab.research.google.com/drive/1e6Kx7WMwkL_FH8UX8cdbCzetuYlr-6Gn#scrollTo=CIbmTsSZ8fGE&uniqifier=1)

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Performance

### Source

binary

### Tensorflow Version

2.8.2

### Custom Code

No

### OS Platform and Distribution

Any

### Mobile device

-

### Python version

3.7

### Bazel version

(whatever is default for colab notebooks)

### GCC/Compiler version

(whatever is default for colab notebooks)

### CUDA/cuDNN version

(whatever is default for colab notebooks)

### GPU model and memory

(whatever is default for colab notebooks)

### Current Behaviour?

```shell
Tensorflow's max_pool2d operation is much slower than it should be for large pooling sizes, as demonstrated by the fact that we can compute the same result in 6x the speed using reduce_max for a pooling region of size 80.
```


### Standalone code to reproduce the issue

https://colab.research.google.com/drive/1e6Kx7WMwkL_FH8UX8cdbCzetuYlr-6Gn#scrollTo=CIbmTsSZ8fGE&line=17&uniqifier=1



### Relevant log output

```shell
Max-Pooling a shape (1280, 720) heatmap by factor 2... 
Using max_pool2d - 17.93ms
Using reduce_max - 16.31ms
---
Max-Pooling a shape (1280, 720) heatmap by factor 5... 
Using max_pool2d - 19.59ms
Using reduce_max - 8.22ms
---
Max-Pooling a shape (1280, 720) heatmap by factor 10... 
Using max_pool2d - 20.71ms
Using reduce_max - 4.94ms
---
Max-Pooling a shape (1280, 720) heatmap by factor 20... 
Using max_pool2d - 18.00ms
Using reduce_max - 3.67ms
---
Max-Pooling a shape (1280, 720) heatmap by factor 40... 
Using max_pool2d - 18.71ms
Using reduce_max - 2.45ms
---
Max-Pooling a shape (1280, 720) heatmap by factor 80... 
Using max_pool2d - 18.75ms
Using reduce_max - 1.64ms
```
</details>
Repository: pytorch
Issue: `detach_` behaves differently when computing the gradients in forward mode w/ `jit`
Labels: oncall: jit

### 🐛 Describe the bug

`detach_` behaves differently when computing the gradients in forward mode w/ `jit`

```py
import torch
def m(input):
    return input.detach_()

device = 'cuda'

input = torch.empty([1], dtype=torch.float32, device=device)

jit_m = torch.jit.trace(m, (input.clone(), ))

from torch.autograd.functional import jacobian

try:
    print(jacobian(m, input.clone().requires_grad_(), vectorize=True, strategy='forward-mode'))
except Exception as e:
    print(e)

print(jacobian(jit_m, input.clone().requires_grad_(), vectorize=True, strategy='forward-mode'))
```

```
Can't detach views in-place. Use detach() instead. If you are using DistributedDataParallel (DDP) for training, and gradient_as_bucket_view is set as True, gradients are views of DDP buckets, and hence detach_() cannot be called on these gradients. To fix this error, please refer to the Optimizer.zero_grad() function in torch/optim/optimizer.py as the solution.
tensor([[0.]], device='cuda:0')
```

Interestingly, the reverse mode can give a gradient without jit

```py
import torch
def m(input):
    return input.detach_()

device = 'cuda'

input = torch.empty([1], dtype=torch.float32, device=device)

jit_m = torch.jit.trace(m, (input.clone(), ))

from torch.autograd.functional import jacobian
print(jacobian(m, input.clone().requires_grad_(), vectorize=True, strategy='reverse-mode'))
# tensor([[0.]], device='cuda:0')
```

I am not sure which way is correct, but they do need to behave consistently.

### Versions

```
Collecting environment information...
PyTorch version: 1.13.0.dev20220923+cu116
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.9.13 (main, Aug 25 2022, 23:26:10)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.19.5-051905-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3060
Nvidia driver version: 515.65.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.23.3
[pip3] torch==1.13.0.dev20220923+cu116
[pip3] torchaudio==0.13.0.dev20220923+cu116
[pip3] torchvision==0.14.0.dev20220923+cu116
[conda] numpy                     1.23.3                   pypi_0    pypi
[conda] torch                     1.13.0.dev20220923+cu116          pypi_0    pypi
[conda] torchaudio                0.13.0.dev20220923+cu116          pypi_0    pypi
[conda] torchvision               0.14.0.dev20220923+cu116          pypi_0    pypi

```
Repository: godot
Issue: Editing physics properties of tiles in a TileSet is overwriting tiles collision shape when they are selected. Intermittent.
Labels: topic:editor,usability,topic:2d

### Godot version

4.0.beta1.official

### System information

windows 7 64 bit

### Issue description

When editing the physics properties of the tiles in a TileSet, if I select a tile I have already defined a collision shape for its collision shape is replaced with whatever is currently in the editor. I would expect the editor to instead load the existing shape for the selected Tile.
First image current state with second tile down in left most column selected
Second image state after clicking once on third tile down in left most column
![image](https://user-images.githubusercontent.com/9580873/192055992-9a5d6ca9-7ca4-4ca7-b43b-b8adb4cf45ae.png)
![image](https://user-images.githubusercontent.com/9580873/192056044-3f872920-7e0b-4460-a2ff-c5b9d63774a2.png)


### Steps to reproduce

The TileMap is the root node and only node of a scene (tile_map.tscn), and is using the example 3x3 simple prototype tile map. Select TileSet, select edit, change the collision shape on a tile, then select a different tile and watch what happens.

If it doesn't reproduce, try alt-tabbing away from the editor and back. The problem is intermittent, but I haven't figured out a root cause.

### Minimal reproduction project

[MahouMash.zip](https://github.com/godotengine/godot/files/9637104/MahouMash.zip)
Repository: PowerToys
Issue: ImageResizerContextMenu & PowerRenameContextMenu show in winget list as seperate applications
Labels: Issue-Bug,Area-Setup/Install,Priority-3

### Microsoft PowerToys version

0.62.1

### Running as admin

- [ ] Yes

### Area(s) with issue?

General

### Steps to reproduce

Install PowerToys

open Terminal and run "winget list"

### ✔️ Expected Behavior

Only PowerToys is show in the list like this:
PowerToys (Preview) x64 | Microsoft.PowerToys | 0.62.1 | winget

### ❌ Actual Behavior

Two extra applications are shown:

PowerRenameContextMenu | PowerRenameContextMenu_8wekyb3d8bbwe | 1.0.0.0
Microsoft.PowerToys.ImageResizerContextMenu | Microsoft.PowerToys.ImageResizerContextMenu_8wekyb3d8bbwe | 1.0.0.0

### Other Software

Windows Package Manager Source (winget) | Microsoft.Winget.Source_8wekyb3d8bbwe | 2022.923.2026.688
Repository: pytorch
Issue: `jit` could make some undifferentiable APIs differentiable
Labels: oncall: jit

### 🐛 Describe the bug

`jit` could make some undifferentiable APIs differentiable, like `numel, nelement`

```py
import torch
def m(input):
    return input.nelement()

device = 'cpu'

input = torch.tensor([1], dtype=torch.float32, device=device)

jit_m = torch.jit.trace(m, (input.clone(), ))

from torch.autograd.functional import jacobian

print(jacobian(jit_m, input.clone().requires_grad_(), vectorize=True, strategy='reverse-mode'))
print(jacobian(m, input.clone().requires_grad_(), vectorize=True, strategy='reverse-mode'))
```

```
tensor([0.])

TypeError: The outputs of the user-provided function given to jacobian must be either a Tensor or a tuple of Tensors but the given outputs of the user-provided function has type <class 'int'>.
```

### Versions

1.13.0