sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: PT Run: Make window walker move mouse cursor
Labels: Idea-Enhancement,Product-PowerToys Run,Needs-Triage,Run-Plugin

### Description of the new feature / enhancement

It would be nice to have the option to make the mouse cursor move to a window selected through Window Walker.

### Scenario when this would be used?

I have a significant amount of screen real estate. Besides bringing windows to the foreground, it would be really useful for me to also move the mouse cursor to a chosen window through powertoys so I don't need to manually move the pointer to the window I just selected. 

It would probably make sense for this to be a setting, not default behaviour, since I can't speak for other people's use of the plugin. But in my case, whenever I use powertoys run to open a window, I do so because i want to interact with it. having to manually move the pointer feels like a pointless (haha) extra step

### Supporting information

_No response_
Repository: excalidraw
Issue: feat: Search library, Resize library pane and objects
Labels: enhancement

The library is _really_ hard to navigate and find what you're looking for.

It would be great if the library had a search box at the top so you could enter something like "postgres" and have any matching items brought to the top.

Additionally the side pane with the library is _really_ small both in frame size and object size compared to the rest of excalidraw - this means you end up scrolling vertically for a long time and squinting to see what the items are. Perhaps this could be a resizable pane and respect cmd++/- to scale the items?
Repository: ollama
Issue: Request: add octopus-v4
Labels: model request

Could you add octopus v4? (I haven't tested for malware, but it looks somewhat legit)

https://huggingface.co/NexaAIDev/Octopus-v4
https://huggingface.co/NexaAIDev/octopus-v4-gguf
Repository: godot
Issue: Max Integer Error spams when pressing Control key and hovering specific UI elements or Right-Clicking in code editor
Labels: bug,topic:editor

### Tested versions

Reproducible in v4.2.2.stable.official [15073afe3] via Steam
Reproducible in v4.1.2.stable.official [399c9dc39]
Reproducible in v4.1.1.stable.official [bd6af8e0e]
Reproducible in v4.0.4.stable.official [fc0b241c9]
Reproducible in v4.0.stable.official [92bee43ad]
Reproducible in v4.0.beta1.official [20d667284]
Reproducible in v4.0.alpha1.official [31a7ddbf8]
Not Reproducible in v3.6.rc1.official [cfc4a0eff] (although the error does appear 3 times as soon as the code is typed)
Not reproducible in v3.5.3.stable.official [6c814135b] (error appears 3 times)



### System information

Windows 10 22H2 - v4.2.2.stable.official [15073afe3] via Steam - Forward+ - NVIDIA GeForce RTX 2080 (Driver 556.12) - Intel Core i7-8700 @ 3.20GHz (12 CPUs)

### Issue description

If you create an integer with a number that is too large (such as 9223372036854775808, for example), you will receive the error "Cannot represent 9223372036854775808 as a 64-bit signed integer, since the value is too large." in your output. However, if you press the Control key on your keyboard while hovered over specific UI elements in the Godot Engine, or right-click inside of the code editor, it will repeatedly send the message.

### Steps to reproduce

Create a script with the following sample code:

var IntTest = 9223372036854775808

You will receive the message "Cannot represent 9223372036854775808 as a 64-bit signed integer, since the value is too large.". Press Control while your mouse is to the right of the integer and you will receive the error again for each. Move your mouse between the equals sign and integer and press control and you will not receive the error, but place your mouse cursor on the equals sign and press control, and you will. Place your mouse cursor over other elements like the Filter Scripts box, a node, the top menu bar, etc. and press Control to receive the error again, but only if the text cursor is in the script editor section (it is "active").

The error will not display when pressing Control on certain other elements, such as the FileSystem, the Output window's Filter Messages box, the Inspector's Filter Properties box, etc.

These errors also appear when Right-Clicking, but only within the script editor window.

Edit: These errors also appear when holding Control and using mouse wheel up/down or +/- keys to zoom (one error per scroll/key press), or Ctrl + 0 to reset zoom (when zoomed in or out).

### Minimal reproduction project (MRP)

[BugTest.zip](https://github.com/user-attachments/files/16448335/BugTest.zip)
Repository: rust
Issue: tests/ui/codegen/duplicated-path-in-error: Fails on musl libc due to ldso error message difference
Labels: A-linkage,A-diagnostics,T-compiler,O-musl,C-bug

I tried this code:

```shell
python3 x.py test -j 64 tests/ui
```

I expected to see this happen: all tests passing

Instead, this happened:

```
failures:
    [ui] tests/ui/codegen/duplicated-path-in-error.rs
```

```
diff of stderr:

-	error: couldn't load codegen backend /non-existing-one.so: cannot open shared object file: No such file or directory
+	error: couldn't load codegen backend /non-existing-one.so: Error loading shared library /non-existing-one.so: No such file or directory
```

### Meta
`rustc --version --verbose`:
```
rustc 1.82.0-nightly (249cf71f1 2024-07-30) (Adélie 1.82.0 EXPERIMENTAL)
binary: rustc
commit-hash: 249cf71f11a29b3fb68e8a35969569d8bb7958ee
commit-date: 2024-07-30
host: powerpc64-foxkit-linux-musl
release: 1.82.0-nightly
LLVM version: 18.1.8
```

I'm not familiar enough yet with the machinery around Rust's test suites to know how to change this to a pattern match, but I think ensuring the output is `error: couldn't load codegen backend /non-existing-one.so: (.*): No such file or directory` would be sufficient.  It'd likely help other libcs like llvm-libc in the future, as well.
Repository: flutter
Issue: [web] Clean-up package:web bridge code.
Labels: platform-web,package,P2,c: tech-debt,team-web,triaged-web

In order for `flutter/packages` web packages to [support both `package:web` versions `0.5.1` and `1.0.0`](https://github.com/flutter/packages/pull/7202#issuecomment-2248171503), a bunch of _"homebrew"_ JS-Interop types were added across the repo that could be deleted once we leave 0.5.1 behind.

For example:

* https://github.com/flutter/packages/blob/main/packages/video_player/video_player_web/lib/src/pkg_web_tweaks.dart
* https://github.com/flutter/packages/blob/main/packages/image_picker/image_picker_for_web/lib/src/pkg_web_tweaks.dart
* https://github.com/flutter/packages/blob/main/packages/video_player/video_player_web/example/integration_test/pkg_web_tweaks.dart
* https://github.com/flutter/packages/blob/main/packages/google_identity_services_web/lib/src/js_interop/package_web_tweaks.dart
* https://github.com/flutter/packages/blob/main/packages/web_benchmarks/lib/client.dart#L406-L408

(And maybe others)

**When we bump the lower `web` dependency to `^1.0.0`, we need to remove the custom package:web tweaks** and use the standard API coming from `package:web`, so upgrading it is easy.

----

As reported by @Rexios80, in [this comment](https://github.com/flutter/packages/pull/7202#issuecomment-2248012678):

> There is some cleanup to do that won't show up as build errors since a lot of the import
> statements are like this:
> ```dart
> import 'package:web/web.dart' as web;
> ```
> which will hide duplicate type errors
>
> `package:web` 1.0.0 added a lot of types, functions, fields, etc that currently exist in custom > extensions. For example in `video_player_web`:
>
> ```dart
> import 'package:web/web.dart' as web;
> 
> /// Adds a "disablePictureInPicture" setter to [web.HTMLVideoElement]s.
> extension NonStandardSettersOnVideoElement on web.HTMLVideoElement {
>  // TODO(srujzs): This will be added in `package:web` 0.6.0. Remove this helper
>  // once it's available.
>  external set disablePictureInPicture(bool disabled);
> }
> 
>/// Adds a "disableRemotePlayback" and "controlsList" setters to [web.HTMLMediaElement]s.
> extension NonStandardSettersOnMediaElement on web.HTMLMediaElement {
>   // TODO(srujzs): This will be added in `package:web` 0.6.0. Remove this helper
>   // once it's available.
>   external set disableRemotePlayback(bool disabled);
>   external set controlsList(String? controlsList);
> }
> ```
Repository: flutter
Issue: [webview_flutter] `setCookie` does not support `maximumAge`
Labels: c: new feature,p: webview,package,team-ecosystem,P2,triaged-ecosystem

### Use case

Why  set cookie without maximumAge,   flutter_inappwebview has an issue  https://github.com/pichillilorenzo/flutter_inappwebview/issues/890, so  i think should support maximumAge
<img width="732" alt="image" src="https://github.com/user-attachments/assets/2fd5bf8e-c9e6-44b2-b00d-da43ff180aa6">


### Proposal

just support  maximumAge
Repository: three.js
Issue: MeshBatched .sortObjects flicker on iOS(safari) WebGPU
Labels: Browser Issue

### Description

Enable .sortObjects on MeshBatched introduce flickering ( WebGPU - Safari - iOS18 ) 
video recording : https://github.com/user-attachments/assets/5f43ab39-c780-4ca3-a260-e5c2a3bf402f 

I also open a bug ticket on Webkit : https://bugs.webkit.org/show_bug.cgi?id=277465

### Reproduction steps

1. create a BatchedMesh 
2. batchedMesh.sortObjects = true
3. turn camera, on some angle element which should be visible will disapear

### Code

Simple batchedMesh example
```js
			const batchedMesh = new BatchedMesh(10000, maxVertices, maxIndices, scene.children[0].material )
			batchedMesh.perObjectFrustumCulled = true
			batchedMesh.sortObjects = true
			for(let i = 0; i < geometries.length; i++){
				let geometry = geometries[i]
				batchedMesh.addGeometry(geometry)
			}
			let dummy = new Object3D()
			for(let i = 0; i < 5000; i++){
				batchedMesh.addInstance( i % 200 )
				let angle = Math.random() * Math.PI * 2
				let dist = 15 + Math.random() * 200
				dummy.position.set(Math.cos(angle) * dist, ( Math.random() - .5) * 0.1, Math.sin(angle) * dist )
				dummy.rotation.set( 0, Math.random() * Math.PI, 0 )
				dummy.scale.set( 1, 1, 1 )
				dummy.updateMatrix()
				batchedMesh.setMatrixAt( i, dummy.matrix )
			}
			scene.add(batchedMesh)
```


### Live example

- 

### Screenshots

_No response_

### Version

r167

### Device

Mobile

### Browser

Safari

### OS

iOS
Repository: pytorch
Issue: Switch to new name `oneDNN` instead of `MKLDNN`
Labels: triaged,module: mkldnn,module: intel

MKLDNN was renamed to oneDNN in 2020. And it's available on Arm of course. We can gradually switch to the new name oneDNN.

We plan to rename all ‘mkldnn’ to ‘onednn’, meanwhile, keep user facing APIs with ‘mkldnn’ and create user facing APIs with ‘onednn’. At one point in the near future, we will deprecate user facing APIs with ‘mkldnn’.

Next is to move ideep into PyTorch.


cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @Guobing-Chen @Xia-Weiwen @snadampal @frank-wei
Repository: kubernetes
Issue: Scheduling Inconsistency Caused by kube-scheduler Restart
Labels: sig/scheduling,sig/storage,triage/needs-information,needs-kind,needs-triage

### What would you like to be added?

I have a deployment that needs to pull up two replicas and configure pod strong anti-affinity as follows:
```
      - ephemeral:
          volumeClaimTemplate:
            metadata:
              creationTimestamp: null
            spec:
              accessModes:
              - ReadWriteOnce
              resources:
                requests:
                  storage: 200Mi
              storageClassName: localcsi
              volumeMode: Filesystem

```

```
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app
                operator: In
                values:
                - xxx
            topologyKey: kubernetes.io/hostname
```




### Why is this needed?

kube-scheduler schedules the temporary volume of replica 1 to node 1 but does not schedule the pod of replica 1. At this time, kube-scheduler restarts. After the restart, kube-scheduler starts to schedule the temporary volume and pod of replica 2 and schedules replica 2 to node 1. As a result, copy 1 cannot be scheduled due to anti-affinity.
After kube-scheduler is restarted, it cannot load the temporary volume information scheduled before the restart.
Does the community have any suggestions on this issue?
Repository: rust
Issue: -Cprofile-use cannot find file depending on RUSTFLAGS order
Labels: T-compiler,C-bug,A-PGO

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```
RUSTFLAGS="-Cprofile-use=$ABS_PATH -Cllvm-args=-pgo-warn-missing-function -Ctarget-cpu=native -Ztune-cpu=native -Clink-arg=-fuse-ld=lld -Zthreads=4 -Ccodegen-units=1 -Cpanic=abort -Clto=fat"
cargo build --release --target=<target>
```

and I get 
```
  process didn't exit successfully: `<path>\bin\rustc.exe - --crate-name 
___ --print=file-names -Cprofile-use=<abs_path>
-Cllvm-args=-pgo-warn-missing-function -Ctarget-cpu=native -Ztune-cpu=native -Clink-arg=-fuse-ld=lld -Zthreads=4 -Ccodegen-units=1 
-Cpanic=abort -Clto=fat --target <target> --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib 
--crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit code: 1)
<snip>
  --- stderr
  error: file `<abs_path>` passed to `-C profile-use` does not exist

```

If I instead change the order of RUSTFLAGS, putting the PGO stuff at the end:
```
RUSTFLAGS="-Ctarget-cpu=native -Ztune-cpu=native -Clink-arg=-fuse-ld=lld -Zthreads=4 -Ccodegen-units=1 -Cpanic=abort -Clto=fat -Cprofile-use=<abs_path> -Cllvm-args=-pgo-warn-missing-function"
```
compilation succeeds

I have verified that the file exists. Both the path I provided and the path reported by the error. I even verified with `Path::new(abs_path).exists()`

I apologize that I couldn't find a more minimal example.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
rustc 1.82.0-nightly (f8060d282 2024-07-30)
binary: rustc
commit-hash: f8060d282d42770fadd73905e3eefb85660d3278
commit-date: 2024-07-30
host: x86_64-pc-windows-msvc
release: 1.82.0-nightly
LLVM version: 18.1.7
```
Repository: pytorch
Issue: per sample gradient with torch.autograd.grad
Labels: module: autograd,triaged,needs research,module: vmap

### 🚀 The feature, motivation and pitch

I'm implementing an algorithm that requires per-sample gradient computation w.r.t a network layer weights, currently I implement this in a naive loop fashion, i.e. call `torch.autograd.grad ` for each sample loss, the following is a example code:


```
def compute_grad(loss_batch, weight):
"""
loss_batch, batched loss for multiple samples, [N,]
weight, the network layer weight for computing the gradients
"""
    grads = []
    for i in range(len(loss_bbox)):
        grad_persample = torch.autograd.grad(loss_batch[i], weight, retain_graph=True)[0]
        grads.append(grad_persample)
    grads = torch.stack(grads)
    return grads
```

but this implementation is very slow, so I would like to implement it in batch, but currently `torch.autograd.grad` seems only support scalar input as loss, there are some suggestions from the pytorch Forum [batch per sample gradient](https://discuss.pytorch.org/t/simple-use-case-compete-gradient-independently-for-multiple-sample-loss/207317) that uses torch.func to parallelize the grdient computation, but that turns out cumbersome to implement, loses the simplitiy of calling `torch.autograd.grad` with loss and weight as input.
 so I propose to add a new feature of batched gradient computation with `torch.autograd.grad`

### Alternatives

the torch.func to parallieze the computation, which lost the simplicity of calling `torch.autograd.grad ` and is cumbersome to implement, as mentioned in the [batch per sample gradient](https://discuss.pytorch.org/t/simple-use-case-compete-gradient-independently-for-multiple-sample-loss/207317)

### Additional context

_No response_

cc @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7 @zou3519
Repository: PowerToys
Issue: unable to uninstall
Labels: Issue-Bug,Area-Setup/Install,Needs-Triage,Needs-Team-Response

### Microsoft PowerToys version

0.76.2

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

i tried uninstalling it from both control panel and apps menu but it is still there in my system

### ✔️ Expected Behavior

to be uninstalled

### ❌ Actual Behavior

not uninstalled

### Other Software

![Screenshot 2024-08-01 111317](https://github.com/user-attachments/assets/8afc65f9-82fa-44e8-820f-e91e02462669)
see it is not visible in control panel
![Screenshot 2024-08-01 111537](https://github.com/user-attachments/assets/166fc027-47f0-424a-a5cb-91aea8ac646b)
here you can see that the option to install is coming in the Microsoft Store, which shows that it is not supposed to be on my system, but in the task bar you can see its instance open.
Repository: angular
Issue: Clarify toObservable VS outputToObservable replay behavior (in JSDoc)
Labels: core: inputs / outputs,P3,cross-cutting: signals,area: docs

### Describe the problem that you experienced

A `Model` can be converted to an `Observable` with either `toObservable` or `outputToObservable`. The JSDocs do not make it clear that they have different replay behavior. Though this is described in https://angular.dev/guide/signals/rxjs-interop#timing-of-toobservable
> toObservable uses an effect to track the value of the signal in a ReplaySubject.

However, the `toObservable` JSDoc (docs you see in IDE) only say:
> The signal's value will be propagated into the Observable's subscribers using an effect.

### Enter the URL of the topic with the problem

_No response_

### Describe what you were looking for in the documentation

Function JSdocs that help me decide whether I want `toObservable` or `outputToObservable`.

### Describe the actions that led you to experience the problem

I was using `switchMap`, which subscribes later, making replay a concern.

### Describe what you want to experience that would fix the problem

`toObservable` JSdocs should mention replay.

`outputToObservable` JSdocs should note that the Observable does not replay.

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: vscode
Issue: auto-import not working when completing in a linked editing range
Labels: bug,editor-synced-region

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: **Yes**

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.91.1
- OS Version: macOS 14.5

**Steps to Reproduce:**

1. Create a new ReactJS project by running `npm create vite@latest`
2. Call it whatever you like, and select `react` and `typescript` as the options
3. Open the folder in VSCode
4. Reload without extensions and ensure that `editor.linkedEditing` is turned on in the settings
5. Under `/src` create a file called `MyComponent.tsx`
6. Add the following code to the component: 
```jsx
export function MyComponent({ children }) {
  return <div>{children}</div>;
}
```
7. Go to `/src/App.tsx`
8. In the JSX, copy and paste `<MyComponent>Hello</MyComponent>` inside the JSX, making sure not to auto-import the component
9. Delete the `ent` in the opening tag, then just type `nt` and select the component from the intellisense dropdown
10. Note the component does not get imported
11. Next, delete some of the opening tag again, then type out the full name of the tag and select it from the dropdown
12. This time it is imported
13. Delete the import, then turn off `editor.linkedEditing` in user settings
14. Now when you delete some of the opening tag, then complete some but not all of it and select the import it will both autocomplete and import the component

**Expected:**

The `editor.linkedEditing` setting should always import the component, even if it needs to complete the word.

**Video reproduction:**

https://github.com/user-attachments/assets/a448ebd1-7eb6-4cde-b3a4-21f269e6d9f8
Repository: ollama
Issue: llama3-groq-tool-use can't request 2 tools at once but llama3.1 could do it
Labels: bug

### What is the issue?

**My code is following**

model = ChatOllama(model="llama3.1")
from langchain_core.pydantic_v1 import BaseModel, Field
def add(a: int, b: int) -> int:
    """Add two integers.
    Args:
        a: First integer
        b: Second integer
    """
    return a + b
def multiply(a: int, b: int) -> int:
    """Multiply two integers.
    Args:
        a: First integer
        b: Second integer
    """
    return a * b
llm_with_tools = model.bind_tools([add, multiply])
messages = [
    HumanMessage("What is 3 * 12? Also, what is 11 + 49?"),
]
ai_msg = llm_with_tools.invoke(
    messages
)
print(ai_msg.tool_calls)

**The output is**
[{'name': 'multiply', 'args': {'a': 3, 'b': 12}, 'id': '75528960-e9fe-4166-b531-46992d58cbb3', 'type': 'tool_call'}, {'name': 'add', 'args': {'a': 11, 'b': 49}, 'id': '03576d56-4118-49d6-b410-d02f88447dd7', 'type': 'tool_call'}]

**When I change the model name to "llama3-groq-tool-use" **
[{'name': 'multiply', 'args': {'a': 5, 'b': 5}, 'id': '6d9ced85-fdcc-441b-9b53-de609086d468', 'type': 'tool_call'}]
**Just one tool has been use

### OS

_No response_

### GPU

_No response_

### CPU

_No response_

### Ollama version

0.3.0
Repository: pytorch
Issue: torch cpu float16 range is not aligned with scipy on polygamma.
Labels: module: cpu,triaged,module: half,module: special,module: edge cases

### 🐛 Describe the bug
```
$ python
Python 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> import numpy as np
>>> import scipy
>>> a = torch.zeros((1), dtype=torch.float16, device='cpu')
>>> a
tensor([0.], dtype=torch.float16)
>>> a = a - 0.2054
>>> a
tensor([-0.2054], dtype=torch.float16)
>>> torch.polygamma(4, a)
tensor([inf], dtype=torch.float16)
>>> scipy.special.polygamma(4, a).astype(np.float16)
array([65504.], dtype=float16)
```
### Versions

torch 2.5.0a0+git27c9262

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @mruberry @kshitij12345