sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [iOS][iOS 17] IME shows at the wrong place for text input on iPhone + iOS 17 + hardware keyboard
Labels: a: text input,platform-ios,engine,a: internationalization,e: OS-version specific,has reproducible steps,P2,found in release: 3.10,team-ios,triaged-ios,found in release: 3.14

### 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)

### Steps to reproduce

1. Create an empty project with a text field (or just use flutter/dev/integration_tests/ios_platform_view_tests
2. Connect hardware keyboard on device (or CMD+K on simulator)
3. Change input to IME language (e.g. Chinese)
4. Type and observe the issue

Verified that this only happens to iPhone with iOS 17 + hardware keyboard

### Expected results

 The IME should be positioned right below to the text input

### Actual results

 The IME is positioned at the wrong place

### Code sample

NA

### Screenshots or Video

Originally, it's on top left corner

![phone ios 17, main branch](https://github.com/flutter/flutter/assets/41930132/3e8725e1-2cc4-4136-a59a-fd4c403eac5c)


Then we fixed an auto correction issue (https://github.com/flutter/engine/pull/44779), now it shows close to the right place, but still a bit off: 

<img width="485" alt="Screenshot 2023-08-16 at 1 24 47 PM" src="https://github.com/flutter/flutter/assets/41930132/1211ffd4-a7ba-474c-80bd-700b64975003">


### Logs

NA

### Flutter Doctor output

NA
Repository: rust
Issue: CI accepted doctests that do not build (due to missing feature gates)
Labels: A-stability,P-high,T-compiler,C-bug

This will stop reproducing when https://github.com/rust-lang/rust/pull/114837 lands, but right now you can click [here](https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.provide), click on "Run", and playground opens and you click on "Run" again, and you get an error. How did CI accept a doctest that does not build?
Repository: pytorch
Issue: The difference between input grad computed by channels last backward and the input grad computed by channels first backward of Hardswish on MPS is too large
Labels: high priority,module: nn,triaged,module: memory format,module: correctness (silent),module: mps

### 🐛 Describe the bug

I added a backward test for test_memory_format : https://github.com/pytorch/pytorch/pull/106104, and found:
The difference between input grad computed by channels last backward and the input grad computed by channels first backward of Hardswish on MPS is too large. I have no mac machine to reproduce it, and you can refer to https://github.com/pytorch/pytorch/actions/runs/5862978195/job/15895774563.

LPPool2d, ReLU, Sigmoid, Tanh, and Tanhshrink seem to have the same issue.

### Versions

PyTorch master

cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @jamesr66a @kulinseth @malfet @DenisVieriu97 @jhavukainen @razarmehr @abhudev
Repository: PowerToys
Issue: Desktop Icon Position Saving and Syncing from one device to another
Labels: Needs-Triage

### Description of the new feature / enhancement

There is a program I currently use on windows 10 and 11 computers called Desktop_OK. It saves layouts of icons on your computers desktop.

### Scenario when this would be used?

If my icons move I can simply reload my layout and everything that was saved last is in place. Any new icons would mean I have to save the layout again. It also allows you to save the layout to a file that can be imported on another computer. This has allowed me to "sync" a users desktop.

### Supporting information

https://www.softwareok.com/?seite=Freeware/DesktopOK
Repository: godot
Issue: All sound stops playing when you set the Quaternion of a node with Camera3D and AudioStreamPlayer3D to zero.
Labels: bug,topic:audio,topic:3d

### Godot version

4.1.1

### System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 31.0.15.3179) - Intel(R) Core(TM) i9-9900KS CPU @ 4.00GHz (16 Threads)

### Issue description

If you accidentally set the quaternion for a node in 3D space to (0, 0, 0, 0) and attached to this node is a Camera3D and AudioStreamPlayer3D then this will instantly stop all sound from playing.

### Steps to reproduce

Using the project below, you can simply start it. After a short countdown, the world.gd script will set the Quaternion of the MeshInstance3D (with cam and audio attached) and all sound will stop playing.

### Minimal reproduction project

[sound-bug.zip](https://github.com/godotengine/godot/files/12341878/sound-bug.zip)
Repository: vscode
Issue: Document symbols: details are not rendered
Labels: feature-request,editor-symbols

<!-- ⚠️⚠️ 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. -->
When using CTRL+O or `@symbol` in VSCode you get the symbol names in the current document from the LSP. If you're using a language that supports function overloading like C++ or C# it can get really hard to navigate the file using that functionality.

It would be great to be able to see a function signature (or at the very least the function arguments) in this view so that you can navigate by typing the name + some part of the type.

An example of how this looks with a language server that handles the symbol names according to the spec:
![image](https://github.com/microsoft/vscode/assets/31630192/5acdb064-6c2c-4b0e-b8db-fa0e1adc5ffc)

compared to how it can look if you don't 100% follow the LSP spec:
![image](https://github.com/microsoft/vscode/assets/31630192/92b29854-746b-4abd-8666-ff97e8a6f671)

The Microsoft C++ extension already supports this by including the details in the name field of the LSP but this means that every other LSP also would need to break the spec to support this feature (and other editors would then get unexpected information in the name field).

It would be nice to either by default show the function signature information by default in languages that support overloading, or to have an option that gets VSCode to show the function signature.

Discussion on the clangd patch that I made: https://reviews.llvm.org/D157080
Related issue in the clangd repo: https://github.com/clangd/clangd/issues/1344
A (potentially incomplete) list of languages that support overloading: https://en.wikipedia.org/wiki/Function_overloading
Repository: pytorch
Issue: Documenting `IterableDataset`'s needing `StopIteration` for finite data
Labels: triaged,module: data

### 📚 The doc issue

When using `IterableDataset` with finite data, one needs to raise `StopIteration` after exhausting the underlying data, or else iterations will eventually go out of bounds. This is relevant when directly iterating over the `IterableDataset`, or when passing the dataset into a `DataLoader`.

For example, in the below snippet, there will be an `IndexError` if the `StopIteration` inside `__next__` is removed:

```python
from collections.abc import Sequence
from typing import Self

from torch.utils.data import IterableDataset


class SomeIterableDataset(IterableDataset):
    def __init__(self, data: Sequence[int]):
        self._data = data
        self._index = 0

    def __iter__(self) -> Self:
        return self

    def __next__(self) -> int:
        index = self._index
        if index >= len(self._data):
            self._index = 0  # Reset for next cycle through the dataset
            raise StopIteration  # Stops for loop after
        value = self._data[self._index]
        self._index += 1
        return value


for i in range(2):
    for datapoint in SomeIterableDataset(data=[1, 2, 3, 4]):
        print(f"Loop {i}: value is {datapoint}.")
```

### Suggest a potential alternative/fix

I think it would be good to mention `StopIteration` somewhere to the [`IterableDataset` docs](https://pytorch.org/docs/stable/data.html#torch.utils.data.IterableDataset).  This can be done by augmenting one of the examples, or alternately adding text.

If interested, I am happy to pose and contribute an addition.

cc @VitalyFedyunin @ejguan @dzhulgakov
Repository: PowerToys
Issue: Issue with Remapped Shortcut: Inconsistent Functionality with Simultaneous Key Presses
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.72.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

When you assign a remap shortcut like ALT + TAB to "disable" or any other function, it functions correctly. However, if you are actively using a key, such as "W," and then you press ALT + TAB followed by the disable key, it doesn't work as intended.

### ✔️ Expected Behavior

The Remap should working

### ❌ Actual Behavior

Remap not working

### Other Software

_No response_
Repository: go
Issue: proposal: os: Splitenv
Labels: Proposal

I'd like to propose adding:

```go
// Splitenv splits a key=value entry, as found in the environment block.
//
// Splitenv understands Windows-specific environment entries that contain
// a leading '=' in the key name.
func Splitenv(s string) (key, value string, ok bool) {
   ...
}
```

This issue is a continuation of https://github.com/golang/go/issues/61956 where, after some archeology, it was re-discovered that on Windows, environment variables have one of two forms. In addition to the well-known `key=value`, the form `=key=value` is allowed and indeed used by `cmd.exe`.

Problems related to `=key=value` entires have been previously encountered in https://github.com/golang/go/issues/49886 and https://github.com/golang/go/issues/52436.

I believe that this belongs in the standard library, so that more Go programs are portable across platforms, and so that people do not have to re-invent this particular elliptical wheel whenever they port their stack to Windows and notice something unusual.

In addition, although this may be a separate proposal due to the difficulty of detecting this reliably, `go vet` might detect some common, incorrect attempts to implement `Splitenv` based on `strings.Cut` or similar functions.

Lastly I would suggest that documentation of `os.Environ` mentions `os.Splitenv`, so that developers are pointed towards the right code and, perhaps, refrain from implementing this function by hand.

I'm happy to implement the function, tests or anything else required.
Repository: TypeScript
Issue: Generic indexed access on a substitution type with an array constraint resolves incorrectly
Labels: Possible Improvement

### 🔎 Search Terms

indexed access substitution type array constraint

### 🕗 Version & Regression Information

- This is the behavior in every version I tried


### ⏯ Playground Link

https://www.typescriptlang.org/play?#code/C4TwDgpgBAMglsCAnAhgGwCrmgXigZ2CTgDsBzKAHyhIFcBbAI2SqkYHt20IUSBuAFChIUAGrpaEAOIRgiJAB5xaSVhEQAHohIATfLATJ0a3AfnHsAPih4AFAEob15auyCh2KAGUAxgAsIehQbb39AlABBJFQQVl8AoIB5RgArCB9gVnhzTDcPEXjwqJiQ4pQQBUKk1PTM6irI6PKsw1RcyEtBYWgG5LSMkIBvASgoAG0AawgQAC4CIlIyAF053pqB+rCgstjqbKN2iEEAX3duqABJEgAzZBcIfAAxJHZ6BsqoTW09UISUazwXk+Wggun0+zaJhGUAA-GIJNJZPJKpZoatgd99A0dtC4cNRgTxgBpKCkKBTEDsa7eFaXG53BFPF5vLYoSpjIlLTrQ0bHNHeDGgn5rfrAXFQfGE4mkkjk6ZUmlzK63JD3Jmvd5eDlcwSEvmjOYkCAAN2QgiAA

### 💻 Code

```ts
type LiteralType = string | number | boolean;
type ValueGetter<ValueType extends LiteralType = LiteralType> = () => ValueType;

type Schema = SchemaArray | SchemaObject | LiteralType;
type SchemaArray = Array<SchemaObject | SchemaArray | LiteralType>;
type SchemaObject = {
  [key: string]: SchemaObject | SchemaArray | LiteralType;
};

type InferValuesFromSchema<S extends Schema> = S extends LiteralType
  ? ValueGetter<S>
  : S extends SchemaArray
  ? {
      [K in keyof S]: InferValuesFromSchema<S[K]>;
    }
  : S extends SchemaObject
  ? {
      [K in keyof S]: InferValuesFromSchema<S[K]>;
    }
  : never;
```


### 🙁 Actual behavior

an error is reported:
```
Type 'S[K]' does not satisfy the constraint 'Schema'.
  Type 'S[keyof S]' is not assignable to type 'Schema'.
    Type 'S[string] | S[number] | S[symbol]' is not assignable to type 'Schema'.
      Type 'S[string]' is not assignable to type 'Schema'.
        Type 'S[string]' is not assignable to type 'SchemaObject'.
          Type 'S[keyof S]' is not assignable to type 'SchemaObject'.
            Type 'S[K]' is not assignable to type 'SchemaObject'.
              Type 'S[keyof S]' is not assignable to type 'SchemaObject'.
                Type 'S[string] | S[number] | S[symbol]' is not assignable to type 'SchemaObject'.
                  Type 'S[string]' is not assignable to type 'SchemaObject'.(2344)
```

### 🙂 Expected behavior

There should be no error, `S[K]` should satisfy `Schema` constraint (at least since https://github.com/microsoft/TypeScript/pull/48837 )

### Additional information about the issue

A variant with an additional type alias for that array branch works OK: [TS playground](https://www.typescriptlang.org/play?#code/C4TwDgpgBAMglsCAnAhgGwCrmgXigZ2CTgDsBzKAHyhIFcBbAI2SqkYHt20IUSBuAFChIUAGrpaEAOIRgiJAB5xaSVhEQAHohIATfLATJ0a3AfnHsAPih4AFAEob15auyCh2KAGUAxgAsIehQbb39AlABBJFQQVl8AoIB5RgArCB9gVnhzTDcPEXjwqJiQ4pQQBUKk1PTM6irI6PKsw1RcyEtBYWgG5LSMkIBvASgoAG0AawgQAC4CIlIyAF053pqB+rCgstjqbKN2iEEAX3duqABJEgAzZGLKqE1tPVCExpjrPGHRsYBpKFIUCmIHY128K0uN2QLgg+AAYkh2PQGpU-ktOgJTgJ8tArrckDD4YjkVsUA8nhBdPoGp9vI8tJSXvs2iYRlAAPxiCTSWTySqWNmrenPamknZszl4u7RfmCukUqmvcJ9WoSqDfUaav4AkhA6ag8FzKUE7lEpEorxojGaqDHOUkCAAN2QgiAA).
Repository: PowerToys
Issue: [MouseWithoutBorders] Preferred network interface(s)
Labels: Idea-Enhancement,Needs-Triage,Product-Mouse Without Borders

### Description of the new feature / enhancement

Allow to select the preferred network interfaces to use with mouse with borderses

### Scenario when this would be used?

Select the more performant network in case you have different interfaces with different networks (i.e. Wifi and ethernet)

### Supporting information

_No response_
Repository: java-design-patterns
Issue: Translation to Urdu
Labels: info: help wanted,type: feature,epic: translation

This task tracks the translation of the patterns in Urdu language. More information about the translation process is available at https://github.com/iluwatar/java-design-patterns/wiki/15.-Support-for-multiple-languages

Acceptance criteria

The patterns have been translated
The patterns can be browsed in Github and on the website https://java-design-patterns.com/
Repository: stable-diffusion-webui
Issue: [Feature Request]: API  support http callback
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 ?

I expect to add an HTTP callback capability for the "txt2img" and "img2img" interfaces in order to provide HTTP callbacks. This should include the ability to report progress and completion of tasks.

### Proposed workflow

1. support http callback when task finished
2. support progress  change report by http callback

### Additional information

_No response_
Repository: go
Issue: os: SameFile doesn't handle invalid file IDs on Windows
Labels: OS-Windows,NeedsFix

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.7 windows/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\qmuntaldiaz\AppData\Local\go-build
set GOENV=C:\Users\qmuntaldiaz\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\qmuntaldiaz\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\qmuntaldiaz\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Users\qmuntaldiaz\sdk\go1.20.7
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Users\qmuntaldiaz\sdk\go1.20.7\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.20.7
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\qmuntaldiaz\code\gotest\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\QMUNTA~1\AppData\Local\Temp\go-build3933964541=/tmp/go-build -gno-record-gcc-switches
</pre></details>

### What did you do?

```go
package main

import "os"

func main() {
	fi1, err := os.Stat(`\\.\pipe\`)
	if err != nil {
		panic(err)
	}
	fi2, err := os.Stat("NUL")
	if err != nil {
		panic(err)
	}
	if os.SameFile(fi1, fi2) {
		panic(`os.SameFile(fi, fi2) = true`)
	}
}
```

### What did you expect to see?

`os.SameFile` does not report \\.\pipe\ and NUL as the same file

### What did you see instead?

`os.SameFile` reports \\.\pipe\ and NUL as the same file

@golang/windows
Repository: flutter
Issue: providing Rect? srcRect to draw certain area of given image for paintImage()
Labels: c: new feature,framework,a: images,c: proposal,P2,team-framework,triaged-framework

The optional Rect? srcRect function needs to be provided for the paintImage() method. In some scenarios we need to draw a certain part of the image instead of drawing the whole image. When the srcRect parameter is given to the method, it should use these values.

I provided this feature for my own project by developing in the paintImage() method. can I send a pull request?
Repository: pytorch
Issue: [CPP API] Add Adadelta, Adamax, ASGD, NAdam, RAdam and Rprop
Labels: module: cpp,module: optimizer,triaged,needs research

### 🚀 The feature, motivation and pitch

This feature request revolves around augmenting the PyTorch CPP API by integrating additional optimizers that are currently absent. Specifically, I propose the inclusion of the following optimizers from [Python's torch.optim](https://pytorch.org/docs/stable/optim.html#algorithms): Adadelta, Adamax, ASGD, NAdam, RAdam, and Rprop, as they are currently not part of the CPP API's offerings.

### Alternatives

_No response_

### Additional context

I would like to work on this issue.
We could split this issue into different issues if needed.

cc @jbschlosser @vincentqb @albanD @janeyx99 @crcrpar @soumith @iramazanli
Repository: rust
Issue: Tracking Issue for `windows_process_extensions_raw_attribute`
Labels: T-libs-api,C-tracking-issue

**Feature Gate:** `#![feature(windows_process_extensions_raw_attribute)]`

This is a tracking issue for adding support to attach raw attributes for process creation on Windows using the `raw_attribute()` method.

### Public API

```rust
pub trait CommandExt {
    unsafe fn raw_attribute<T: Copy + Send + Sync + 'static>(
        &mut self,
        attribute: usize,
        value: T,
    ) -> &mut process::Command;
}
```

### Steps / History

- [x] https://github.com/rust-lang/rust/pull/114848 
- [ ] https://github.com/rust-lang/rust/pull/123604
- [ ] Stabilization PR

### Unresolved Questions

- Fix passing of raw pointers
- Creating safe interface for setting attributes
Repository: terminal
Issue: Text antialiasing doesn't work properly when moving between monitors of different scale
Labels: Area-Rendering,Issue-Bug,Area-TerminalControl,Product-Terminal

### Windows Terminal version

1.18.1462.0

### Windows build number

10.0.22621.2134

### Other Software

This occurs with all software I tested (Powershell, cmd, WSL).

### Steps to reproduce

1. Have two monitors at different scale factors (I reproduced this with a 15" 2560x1440 monitor at 125% scale and a 27" 2560x1440 monitor at 100% scale).
2. Have Terminal on one monitor (it is most easily seen if you start on the 125% monitor).
3. Drag or use shift+win+right to move Terminal to the other monitor.
4. Observe that the font is now blurry:
   - On the 125% monitor:
      ![image](https://github.com/microsoft/terminal/assets/3046014/e90668d7-c40b-46fd-807b-8bcb897bea0f)
   - After moving to the 100% monitor:
      ![image](https://github.com/microsoft/terminal/assets/3046014/e955a2a0-2690-4b53-81cc-425393c46226)
   - Changing the size of the window (maximize, restore, drag a border in or out, whatever) fixes the rendering:
      ![image](https://github.com/microsoft/terminal/assets/3046014/8747c631-56a2-41ac-94c4-7099bff47619)
   - Changing the font size via ctrl and +/- does *not* fix the antialiasing.

### Expected Behavior

Font antialiasing maintains quality when moved to a new window.

### Actual Behavior

Font antialiasing has reduced quality (font is blurry) until the window size is changed.

This appears like it might be related to #6210, but it's a different symptom - while the column count does change as in that issue, this is specifically about antialiasing.
Repository: godot
Issue: Focus doesn't work as expected with main window and dialog windows
Labels: bug,topic:porting,topic:gui

### Godot version

v4.2.dev3.official [013e8e3af]

### System information

Godot v4.2.dev3 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 Threads)

### Issue description

Godot's dialog windows (Editor Settings, Project Settings, etc.) are neither modal or modeless. At least in Windows this is wrong.

### Steps to reproduce

1. Open any GDScript file in main window (to see editable code)
2. Open Editor Settings dialog (or Project Settings or any other similar dialog)
3. Click the main window with mouse 

What happens: Focus _seems_ to move to the main window. Main window's title bar changes to active and Editor Settings dialog's title bar changes to inactive. Caret starts to blink in the main window's code editor. _Everything_ looks like the main window has gotten the focus and you should be able type in the code editor. 

Problem: Neither main window nor Editor Settings dialog have the keyboard focus. You cannot write code where the caret blinks nor you cannot close the Editor Settings dialog with Esc key. Mouse doesn't work in the main window either. You can also minimize the Editor Settings dialog and leave the main window in a state where it very much looks like it is freezed. You can fix this state by minimizing the main window too and then un-minimizing Godot and then closing the Editor Settings dialog.

I would expect Editor Settings dialog (and other similar dialogs) either to be modal (you cannot move the focus to main window without closing the dialog) or fully modeless. In Godot 3 the dialogs are modal.


### Minimal reproduction project

N/A
Repository: bitcoin
Issue: compact block fingerprinting
Labels: P2P,Privacy

I haven't written a test for this, but it seems that a peer can fingerprint a chunk of our mempool by announcing a new compact block with a valid header, but inserting many `shorttxids` that don't belong to the block but are suspected to be in our mempool. Assuming no short id collisions, we'll then request each tx that we didn't find in either `vExtraTxnForCompact` or the mempool. 

I'm not sure how to fix this since compact block relay relies on this behavior. One possible way of fixing this was brought up here https://github.com/bitcoin/bitcoin/pull/27086#issuecomment-1426937832.