sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [flutter_webview] iOS weird behavior leading eventually to app crash sometimes.
Labels: platform-ios,p: webview,package,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.19,found in release: 3.21

### Steps to reproduce

I'm using this library [Google ModelViewer](https://modelviewer.dev/) to show and interact with 3D models.

I'm running a http server (in flutter app) which will host a simple html page that will display the 3D model using the library mentioned above, the need for an http server is to deliver the necessary assets to that web page. I'm using javaScript injection to be able to interact with the model using the [Google ModelViewer](https://modelviewer.dev/) APIs.

On Android everything works as expected, but on iOS the web page will show a weird behavior and lags that sometimes will lead to freeze the whole application even hot restart would not be preformed.

I don't think this has to do with Safari as I tried to access the web page using safari while the app is running (See the video provided) and every thing works fine.

to reproduce:

1. Clone this [repository](https://github.com/hasanmhallak/example).
2. Run the project on iOS.
3. Try switching the model using the FABs.
4. Try to interact with the models.

### Expected results

expected result to be same as android.

### Actual results

lags and eventually the page won't responed to any touch event.

Oddly enough, this behavior will not be present if I add some styling & tags to the html page, yet I did confirmed that this behavior is not present when opening the webpage using safari.

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

Android: 

https://github.com/flutter/flutter/assets/95232508/9e02e9ab-5e71-421d-a5c9-55c8fa347249

iOS:

https://github.com/flutter/flutter/assets/95232508/181ec425-5fdd-4ee2-bee5-44cd26f4adf8


Safari: 


https://github.com/flutter/flutter/assets/95232508/1628f428-7de4-47b5-96c3-6ead005e3d58



</details>



### Logs

N/A


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.1, on macOS 13.5.2 22G91 darwin-arm64, locale
    en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[!] Android Studio (version unknown)
    ✗ Unable to determine Android Studio version.
    ✗ Unable to find bundled Java version.
[✓] VS Code (version 1.87.0)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.
```

</details>
Repository: flutter
Issue: Incorrect text selection toolbar position in scaled Platform Views (also WebView) at least Flutter 3.13.9 on Android
Labels: platform-android,a: platform-views,has reproducible steps,P2,team-android,triaged-android,found in release: 3.19,found in release: 3.21

### Steps to reproduce

Related: https://github.com/flutter/flutter/issues/144278

1. Run code sample.
2. LongPress any text on the page.

### Expected results

Text selection toolbar and selection range handles are in the correct place.

### Actual results

Text selection toolbar and selection range handles are in the wrong place (see video).

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(const _App());

class _App extends StatelessWidget {
  const _App();

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: _Home());
  }
}

class _Home extends StatefulWidget {
  const _Home();

  @override
  State<_Home> createState() => _HomeState();
}

class _HomeState extends State<_Home> {
  final _controller = WebViewController();

  @override
  void initState() {
    super.initState();
    _controller
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
      ..loadRequest(Uri.https('api.flutter.dev'));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Scaled WebView Tester'),
      ),
      body: Transform.scale(
        scale: 0.75,
        child: WebViewWidget(controller: _controller),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Video demonstration</summary>

https://github.com/flutter/flutter/assets/17119410/137d11b6-8496-4ca3-99b2-cf05d2f2bdca

</details>


### Logs

_No response_

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.13.9, on macOS 14.3.1 23D60 darwin-x64, locale ja-JP)
    ! Flutter version 3.13.9 on channel [user-branch] at /System/Volumes/Data/buildroot/flutter_3.13
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.2)
[✓] Connected device (2 available)
[✓] Network resources
```

</details>
Repository: go
Issue: cmd/compile: dynamic checks for atomics should be removed for ARM64 targets that support LSE
Labels: arch-arm64,compiler/runtime,FixPending

### Go version

upstream

### Output of `go env` in your module/workspace:

```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/abokhanko/.cache/go-build'
GOENV='/home/abokhanko/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/abokhanko/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/abokhanko/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/abokhanko/goroot'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/abokhanko/goroot/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='devel go1.23-e9ab25bdd0 Mon Feb 19 22:21:38 2024 +0300'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2057756495=/tmp/go-build -gno-record-gcc-switches'
```


### What did you do?

test.go:

```
package main

import "sync/atomic"

type Counter struct {
        counter int32
}

func main() {
        x := Counter{10}
        atomic.AddInt32(&x.counter, 1)
}
```

Build:
```
GOOS=linux GOARCH=arm64 GOARM64=v8.2 go build test.go
```

Get disassembly:
```
go tool objdump -s main\.main test
```

### What did you see happen?

Atomic add includes checks for presence of atomic instructions and a loop for ARM64 architectures that don't support them:

```
  test.go:11            0x708cc                 b00007db                ADRP 1019904(PC), R27
  test.go:11            0x708d0                 3961af61                MOVBU 2155(R27), R1
  test.go:11            0x708d4                 360000a1                TBZ $0, R1, 5(PC)
  test.go:11            0x708d8                 b24003e1                ORR $1, ZR, R1
  test.go:11            0x708dc                 b8e10002                ?
  test.go:11            0x708e0                 8b010042                ADD R1, R2, R2
  test.go:11            0x708e4                 14000006                JMP 6(PC)
  test.go:11            0x708e8                 b24003e1                ORR $1, ZR, R1
  test.go:11            0x708ec                 885ffc02                LDAXRW (R0), R2
  test.go:11            0x708f0                 8b010042                ADD R1, R2, R2
  test.go:11            0x708f4                 881bfc02                STLXRW R2, (R0), R27
  test.go:11            0x708f8                 b5ffffbb                CBNZ R27, -3(PC)
```


### What did you expect to see?

With `GOARCH=arm64 GOARM64=v8.2` we can eliminate runtime checks and thus, improve performance.
Repository: opencv
Issue: Support decompression of tiled JPEG2000 images 
Labels: feature,category: imgcodecs

### Describe the feature and motivation

OpenCV only includes OpenJPEGs openjp2 module and image decompression with tiles is not supported, see[ the code](https://github.com/opencv/opencv/blob/4.x/modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.cpp#L641-L646).

Tile decompression should be implemented for all structure types in a way similar to OpenJPEGs opj_decompress.

### Additional context

_No response_
Repository: rust
Issue: Inaccurate error message when using parametric type recursion
Labels: A-diagnostics,T-compiler

### Code

```Rust
enum NestedDataType<T> {
    Nil,
    Cons(Box<NestedDataType<(T, T)>>),
}
```


### Current output

```Shell
error[E0392]: type parameter `T` is never used
 --> src/lib.rs:1:21
  |
1 | enum NestedDataType<T> {
  |                     ^ unused type parameter
  |
  = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
  = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead
```


### Desired output

```Shell
Cannot support parametric type recursion
```


### Rationale and extra context

_No response_

### Other cases

_No response_

### Rust Version

```Shell
rustc 1.78.0-nightly (3406ada96 2024-02-21)
binary: rustc
commit-hash: 3406ada96f8e16e49e947a91db3eba0db45245fa
commit-date: 2024-02-21
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0
```


### Anything else?

_No response_
Repository: PowerToys
Issue: enable/disable file info popup on peek
Labels: Idea-Enhancement,Needs-Triage,Product-Peek

### Description of the new feature / enhancement

Either popup containing file info in Peek can be enabled/disabled in Peek settings or add a view file info on context menu

### Scenario when this would be used?

Using Peek when the file content is required but file info isn't

### Supporting information

It is annoying that the file info popup appears on hover and doesn't disappear. I get that this is what file explorer does but is it necessary in Peek? Surely the idea of Peek is to view the content of a file, not the file properties? If enable/disable is added to Peek settings or file info is added to the context menu then both use cases would be satisfied.
Repository: pytorch
Issue: installed pycuda, loss in pytorch has bug
Labels: module: binaries,module: protobuf,triaged

### 🐛 Describe the bug

when installed pycuda, loss has this bug. After i uninstalled pycuda, loss is right. so strangely.
RuntimeError: Unknown device: -115. If you have recently updated the caffe2.proto file to add a new device type, did you forget to update the DeviceTypeName() function to reflect such recent changes? 

### Versions

torch 2.2.1
pycuda 2024.1

cc @seemethere @malfet @osalpekar @atalman
Repository: PowerToys
Issue: develop peek now folders/drives into treesize
Labels: Idea-Enhancement,Product-Peek

### Description of the new feature / enhancement

The new feature allows a user to select a drive or folder and obtain recursive information about the disk space used in subfolders. The user can navigate in a tree structure (expand and collapse subordinate folders) and see the disk space used in this folder and all folders below it. 

### Scenario when this would be used?

The user has too little storage space on a drive, but does not know exactly how the storage space used is distributed in the subfolders.

### Supporting information

There are already existing standalone programs that offer this functionality, e.g. TreeSize or Filelight. This functionality would fit well into the functional scope of PowerToys in a rudimentary, simplified form.
Repository: godot
Issue: Pressing Pause/Stop while paused in the Bezier Curve Editor view will cause the AnimationPlayer Editor to jump to the Track Editor view
Labels: discussion,topic:editor,topic:animation

### Tested versions

4.2.1.stable and Master

### System information

Windows 11, Vulkan, Forward+

### Issue description

If you are in the bezier view of an animation and press the stop/pause button while the animation isn't playing, it will jump to the beginning of the animation correctly, but it will also jump out of the bezier view back into the track view.

https://github.com/godotengine/godot/assets/4955051/37857c08-43f6-42e4-8bb7-b18037badb86

This seems to be because the animation is reassigned when pressing the pause button.

Commenting out this line will resolve the issue, but I'm guessing the assignment happens for a reason.
https://github.com/godotengine/godot/blob/9b94c80e9aff2a4f363ae6d8e2bbe837aa5876bc/editor/plugins/animation_player_editor_plugin.cpp#L306

I believe the issue was introduced with this PR. https://github.com/godotengine/godot/pull/71321

### Steps to reproduce

1. Create an animation with Bezier tracks.
2. In the Bezier view press the Pause/Stop button while the animation is not playing.
3. Observe that the editor jumps back to the track view.

### Minimal reproduction project (MRP)

[bezier_stop_issue.zip](https://github.com/godotengine/godot/files/14511351/bezier_stop_issue.zip)
Repository: kubernetes
Issue: [Flaking Test] [sig-network] Networking Granular Checks: Services should update endpoints: http (gce-ubuntu-master-containerd,master-blocking)
Labels: priority/important-soon,sig/network,sig/node,kind/flake,sig/release,needs-triage

### Which jobs are flaking?

gce-ubuntu-master-containerd

Prow: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-e2e-ubuntu-gce-containerd/1765185224909524992

### Which tests are flaking?

Kubernetes e2e suite.[It] [sig-network] Networking Granular Checks: Services should update endpoints: http

### Since when has it been flaking?

03-06 (intermittently)

### Testgrid link

https://testgrid.k8s.io/sig-release-master-blocking#gce-ubuntu-master-containerd

### Reason for failure (if possible)

`{ failed [FAILED] failed dialing endpoint (recovery), did not find expected responses... 
Tries 46
Command curl -g -q -s 'http://10.64.2.79:9080/dial?request=hostname&protocol=http&host=10.0.6.39&port=80&tries=1'
retrieved map[bootstrap-e2e-minion-group-5dtl:{} netserver-1:{} netserver-2:{} netserver-3:{}]
expected map[netserver-1:{} netserver-2:{} netserver-3:{}]
In [It] at: k8s.io/kubernetes/test/e2e/network/networking.go:341 @ 03/06/24 01:32:57.492
}`

### Anything else we need to know?

multiple failures observed intermittently in the Traige dashboard: https://storage.googleapis.com/k8s-triage/index.html?test=Services%20should%20update%20endpoints

### Relevant SIG(s)

/sig network release
Repository: godot
Issue: FileSystem Does Not Behave Properly During Rescanning
Labels: topic:editor,needs testing

### Tested versions

Current master at commit: 9b94c80e9aff2a4f363ae6d8e2bbe837aa5876bc

### System information

Windows 11

### Issue description

I'm in the process of implementing proposal [5633](https://github.com/godotengine/godot-proposals/issues/5633), and this error is occurring. It seems that during the rescan process, threading is not working correctly. This issue only occurs when there are more than two files being renamed.

Here is the error message, but it is not the root cause. There seems to be an issue with threading; that's all I know so far:

```
editor\editor_file_system.cpp:1710 - Condition "packed_scene.is_null()" is true. Returning: HashSet<StringName>()
```

### Steps to reproduce


https://github.com/godotengine/godot/assets/53887662/c58cd837-f51d-4827-abad-2e412bcfd9d0

Look at the modified time of these files; the modification dates of the last two selected files have reverted back to several days ago.

![image](https://github.com/godotengine/godot/assets/53887662/cebba55c-27c9-4767-845d-064ced49f013)

### Minimal reproduction project (MRP)

Please test with this PR: https://github.com/godotengine/godot/pull/89063
Repository: frp
Issue: [Feature Request] Expose proxy information as prometheus metric
Labels: proposal

### Describe the feature request

Add a prometheus metric `frp_server_proxy_info{name, type, client_version}` with information that is also exposed in the dashboard. This way I can include the client version in the same Grafana dashboard as my other FRP statistics.

### Describe alternatives you've considered

Can I create a custom plugin to expose this information?

### Affected area

- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [ ] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [ ] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [X] Others
Repository: transformers
Issue: Add Microsoft's Code Reviewer model as a dedicated model
Labels: New model

### Model description

The model has three goals:
1. Provide feedback on the quality of the code change.
2. Provide feedback on the code change itself
3. When give a code change and a review comment, perform the required action to rectify the issue identified in the comment

The biggest reason for adding this to the HuggingFace library as a dedicated model is so the model size can be expanded and retrained, and potentially provide more accurate and meaningful output.

The model has some files in HuggingFace at the moment, but the implementation is incomplete. As seen in the GitHub repo, the T5 model is augmented and the state_dict is loaded on top of this modified model. Ideally, everything should live in HuggingFace.

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

Current weights and model implementation: https://huggingface.co/microsoft/codereviewer
Paper: https://arxiv.org/abs/2203.09095
GitHub repo: https://github.com/microsoft/CodeBERT/tree/master/CodeReviewer
Repository: deno
Issue: JSR (REPL): Could not find constraint in list of versions when library is not cached
Labels: bug

Version: Deno 1.41.1

Moved from https://github.com/jsr-io/jsr/issues/191

Steps to reproduce:
1. Cache a version of your JSR module.
2. Publish a new version.
3. Import the new version inside the REPL or a Jupyter notebook.

![image](https://github.com/denoland/deno/assets/56877379/8b4c3d3f-853c-45bc-a5e9-a299a3298be3)

There isn't a time frame within publishing of a new version for this issue to happen. It happens even days later as long as it hasn't been cached already.

I can cache it when using `deno run` or when using the command "Deno: Cache Dependencies". Only Jupyter and the REPL have this issue.
Repository: tensorflow
Issue: Could not find a version that satisfies the requirement tensorflow-macos==2.15.0
Labels: stat:awaiting tensorflower,type:build/install,subtype:macOS,TF 2.15

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.15.0

### Custom code

No

### OS platform and distribution

macOS Sonoma 14.1.1

### Mobile device

_No response_

### Python version

3.10.13

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

Apple M1 Pro

### Current behavior?

I am trying to install `tensorflow` on my macbook pro (Apple M1 pro) and in order to do so, I am trying to install `tensorflow-macos`. 

For some reason, any version greater than `2.12.0` cannot be inferred. 

```
python -m pip install tensorflow-macos==2.15.0
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.15.0 (from versions: 2.9.0, 2.9.1, 2.9.2, 2.10.0, 2.11.0, 2.12.0)
ERROR: No matching distribution found for tensorflow-macos==2.15.0
```

Python Version:
```
python --version
Python 3.10.13
```

I also made sure to upgrade `pip` which is currently set to the latest version:
```
python -m pip --version
pip 24.0 from /path/to/my/venv/lib/python3.10/site-packages/pip (python 3.10)
```

### Standalone code to reproduce the issue

```shell
python -m pip install tensorflow-macos==2.15.0
```
```


### Relevant log output

```shell
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.15.0 (from versions: 2.9.0, 2.9.1, 2.9.2, 2.10.0, 2.11.0, 2.12.0)
ERROR: No matching distribution found for tensorflow-macos==2.15.0
```
Repository: deno
Issue: [ARCH] Unify environment handling across CLI codebase
Labels: feat,refactor

Environment variables are handled in a somewhat ad-hoc manner: https://github.com/search?q=repo%3Adenoland%2Fdeno%20%22std%3A%3Aenv%3A%3Avar%22&type=code

We should consolidate environment var handling in `flags.rs`, ensuring that we get consistent handling of flags provided from both the command-line and from environment variables.

In addition, the handling of environment variables in `--help` should be made more consistent, and we should register both and environment variable of interest and a description at the same time.

Most uses of `std::env::var` should be removed in favour of passing pre-parsed values from the flags. 

Debug-only environment variables don't need to be part of this system, however we should add a single debug-related environment variable and a helper function to test the value of a particular debug flag:

```
DENO_DEBUGGING="http-use-writev tokio-metrics-interval=1 some-string-var='xyz'"

if debug_flag_bool!("http-use-writev") {
  ...
}

if let Some(number) = debug_flag_integer!("tokio-metrics-interval") {
  ...
}

if let Some(string) = debug_flag_string!("some-string-var") {
  ...
}
```