sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: syscall/js: does not handle aliased pointers (panics & incorect results)
Labels: NeedsInvestigation,OS-JS

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.4 linux/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes (go1.20.4)

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/hugo/.cache/go-build"
GOENV="/home/hugo/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/hugo/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/hugo/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/hugo/Documents/Scripts/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/hugo/Documents/Scripts/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.20.4"
GCCGO="gccgo"
GOAMD64="v3"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/mnt/ramdisk/go.mod"
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 -fdebug-prefix-map=/tmp/go-build2819387652=/tmp/go-build -gno-record-gcc-switches"
</pre></details>

### What did you do?

```console
$ cd /tmp && git clone https://github.com/Jorropo/go-bug-report-syscall-js-reference-cycle && cd go-bug-report-syscall-js-reference-cycle
$ ./serve.sh
$ firefox http://localhost:8081/
```

### What did you expect to see?

![Capture d’écran du 2023-05-26 17-40-49](https://github.com/golang/go/assets/24391983/45c41db1-701a-4f1b-8c9a-e0016e2fa27f)

### What did you see instead?

![Capture d’écran du 2023-05-26 17-40-04](https://github.com/golang/go/assets/24391983/75fa8b2a-932d-4ec9-b3bb-9da6d9869773)
Repository: godot
Issue: Broken animations during transition 3.x to 4.x
Labels: bug,topic:animation

### Godot version

4.0.3.stable

### System information

Win 10, i5-11400H, 16GB RAM, RTX3050M

### Issue description

When switching from 3.x to 4.x, all AnimationPlayer's stopped working in my project. This problem occurs both in the editor and in the running project, which leads to errors.
![ScreenRecorderProject135](https://github.com/godotengine/godot/assets/69055489/8f705624-17db-4d44-aa63-54fa70441bad)

Another thing I noticed in my project is that most of the nodes in the scene have gray names. Maybe it has something to do with it?
![image](https://github.com/godotengine/godot/assets/69055489/940ec9b1-f464-4837-a640-207e175e62be)


### Steps to reproduce

I threw off the scene in which this error occurs. If you need the whole project, it is fixed in my profile - kHUTER. What is noteworthy is that this problem is not observed in projects created on 4.

### Minimal reproduction project

[load.tscn](https://github.com/godotengine/godot/files/11576992/load.zip)
Repository: go
Issue: cmd/compile: var _ = f prevents f from being dead-code eliminated
Labels: NeedsInvestigation,FeatureRequest,binary-size,compiler/runtime

Context: https://go.dev/cl/498595

This statement prevents `Config.EncryptTicket` from being dead-code eliminated:

```
var _ = &Config{WrapSession: (&Config{}).EncryptTicket}
```

Seems like the compiler (linker?) could notice that the reference is dead and eliminate it.
Repository: vscode
Issue: Add tagged template literal support for `localize` calls
Labels: feature-request,l10n-platform

Similar to https://github.com/microsoft/vscode/issues/181555 but for core strings.

We propose adding an overload to `localize` that allows it to be used with [tagged template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates). With tagged literals, developers use a template literal as they "normally would", but prepend it with the method call

```ts
localize`Hello ${name}!`
```

The associated definition for `localize()` would gain an overload:

```ts
	export namespace l10n {
		/**
		 * Marks a string for localization. If a localized bundle is available for the language specified by
		 * {@link env.language} and the bundle has a localized value for this message, then that localized
		 * value will be returned (with injected {@link args} values for any templated values).
		 *
		 * This signature is for use with tagged template literals. The more verbose object-based
		 * call should be used if comments are required.
		 *
		 * @example
		 * ```
		 * localize`Hello ${name}!`
		 * ```
		 *
		 * @param message - String message components.
		 * @param args - Replacement components in the string.
		 * @returns localized string with injected arguments.
		 * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates
		 */
		export function t(parts: TemplateStringsArray, ...args: Array<string | number | boolean>): string;
```
Repository: flutter
Issue: Set "host_class" dimension on Flutter machines?
Labels: team-infra,P2,triaged-infra

The scripts setting up the Dart builders assume in a fairly deep place that machines have a dimension called "host_class" that is usually set to "default". The Flutter machines don't have this dimension set, causing the vm-win-release-arm64-try builder to fail for lack of a matching machine. This can be [worked around](https://dart-review.googlesource.com/c/sdk/+/306101) on the Dart side, but it seems cleaner overall if the Flutter machines set this dimension.

cc @yusuf-goog @whesse @athomas
Repository: vscode
Issue: Explore improvements to notifications when using a screen reader
Labels: accessibility,workbench-notifications

During an inclusive design workshop focused on developer tools hosted by design teams at Microsoft, a panel of developers with a variety of disabilities singled out notifications as a pain point when using VS Code.

Screen reader users mentioned a few key areas to be improved:
- How the notification announces itself (could be improved with audio cues as well)
- How to know there were actions/buttons on a notification
- How to reference the notification again when it disappears or is accidentally dismissed 
- Understanding the severity of a notification and if it was something they needed to engage with right away

cc @meganrogge
Repository: next.js
Issue: app-directory: `<Link />` in full height header navigation moves down to content althrough `scroll={false}` is set
Labels: bug

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000
    Binaries:
      Node: 18.15.0
      npm: 9.6.6
      Yarn: 1.22.19
      pnpm: N/A
    Relevant packages:
      next: 13.4.5-canary.0
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 4.9.5
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

_No response_

### Link to the code that reproduces this issue or a replay of the bug

https://github.com/patshologram/link-scroll

### To Reproduce

1. check out https://github.com/patshologram/link-scroll
2. run `yarn`
3. run `yarn dev`
4. open `http://localhost:3000`
5. click the links on top and see how the page is scrolled down to the bottom/content

### Describe the Bug

We implemented an animated mobile menu which spans across the whole height of the device and pushes the content down. We discovered that because of the animation the navigation always lands somewhere between the header and the content when navigating between sites. 

### Expected Behavior

In my understanding, there should not be any scrolling if `scroll={false}` is set, no matter how tall the navigation component is.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: flutter
Issue: [Feature Request] Support re-ordering TabBar tabs via click+hold+drag
Labels: c: new feature,framework,f: material design,c: proposal,P3,would require significant investment,team-design,triaged-design

This could be added as a parameter to `TabBar`: `supportsReordering` or similar. When true the tabs should be able to be dragged around to change position. Here's an example from Chrome DevTools:
![Screenshot 2023-05-23 at 2 42 16 PM](https://github.com/flutter/flutter/assets/43759233/39e7732d-ed6e-49ef-9e86-49bc545e0b5f)
Repository: flutter
Issue: [web] - Password managers can't autofill until after focusing on inputs due to lazy-loaded inputs
Labels: a: text input,platform-web,P2,team-web,triaged-web

On the web, password managers have the ability to autofill forms either automatically, or manually through context menus and their chrome extensions. 

Currently, autofill via password managers in Flutter only work through context menus.  This is because input elements are only created after being focused on in our current text editing system. This prevents password managers from filling out forms automatically or through their chrome extensions until after an input in the form is focused on.  

One potential solution being explored to resolve this is https://github.com/flutter/flutter/issues/120613.
Repository: tensorflow
Issue: Incorrect gradient in divide_no_nan and reciprocal_no_nan when divide by 0
Labels: stat:awaiting tensorflower,type:bug,comp:ops

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Bug

### Have you reproduced the bug with TF nightly?

Yes

### Source

binary

### Tensorflow Version

tf-nightly

### Custom Code

Yes

### OS Platform and Distribution

Ubuntu 20.04

### Mobile device

_No response_

### Python version

3.10.11

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

When we perform divide by zero in `tf.math.divide_no_nan` and `tf.math.reciprocal_no_nan`, the theoretical and numerical gradient given by `tf.test.compute_gradient` do not match. However, if the input is valid (without dividing by zero), the gradients are fine.

More examples in [gist here](https://colab.research.google.com/drive/1U102ToL3El9wHduuDyjQXtpsZkaByDg5?usp=sharing)

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
x = tf.constant([10.0, 20.0])
y = tf.constant([2.0, 0.0])
th, nu= tf.test.compute_gradient(tf.math.divide_no_nan, [x, y])
print(th)
print(nu)
print(tf.experimental.numpy.allclose(th, nu, atol=1e-3))


import tensorflow as tf
x = tf.constant([2.0, 0.0])
th, nu= tf.test.compute_gradient(tf.math.reciprocal_no_nan, [x])
print(th)
print(nu)
print(tf.experimental.numpy.allclose(th, nu, atol=1e-3))
```


### Relevant log output

```shell
(array([[0.5, 0. ],
       [0. , 0. ]], dtype=float32), array([[-2.5,  0. ],
       [-0. ,  0. ]], dtype=float32))
(array([[0.5, 0. ],
       [0. , 0. ]], dtype=float32), array([[-2.5002441e+00,  0.0000000e+00],
       [ 0.0000000e+00,  2.0971520e+07]], dtype=float32))
tf.Tensor(False, shape=(), dtype=bool)



(array([[-0.25,  0.  ],
       [-0.  ,  0.  ]], dtype=float32),)
(array([[-2.500000e-01,  0.000000e+00],
       [ 0.000000e+00,  1.048576e+06]], dtype=float32),)
tf.Tensor(False, shape=(), dtype=bool)
```
</details>
Repository: flutter
Issue: [Impeller] Generate mipmaps when GPU becomes available.
Labels: platform-ios,engine,P2,e: impeller,team-engine,triaged-engine

After https://github.com/flutter/engine/pull/42349, we'll skip generating mipmaps when backgrounded on iOS.

We should generate mipmaps once the gPU is available.
Repository: deno
Issue: Username/password in URL used with WebSocket not passed to the server
Labels: needs info,ext/websocket

Let's say I have a WebSocket server which expects auth via `Authorization: Basic ...` header, and returns 403 when auth fails.

On browser (Firefox, Safari and Chrome at the time of writing this issue) following code behaves correctly:

```javascript
const ws = new WebSocket("wss://foo:bar@domain.tld");
ws.addEventListener("open", (e) => console.log("opened", e));
ws.addEventListener("close", (e) => console.log("closed", e));
ws.addEventListener("error", (e) => console.error("errored", e));
ws.addEventListener("message", (e) => console.log("message", e));

// opened
// message ...
// message ...
```

However, on Deno, I'll get `NetworkError: failed to connect to WebSocket: Invalid status code`. Investigating the server logs, it appears that `Authorization` header is not sent at all, even though username & password are set via URL.

Deno version:
```
deno 1.34.0 (release, aarch64-apple-darwin)
v8 11.5.150.1
typescript 5.0.4
```
Repository: vscode
Issue: Aggressive rendering of imbalanced brackets in Markdown
Labels: bug,bracket-pair-colorization

I wouldn't expect `)` to be colorized like a mismatched bracket here:

<img width="503" alt="image" src="https://github.com/microsoft/vscode/assets/30305945/40a12b12-63dc-4b1c-9a8a-bcde02617fa8">
Repository: tauri
Issue: [feat] MacOSX Support for tauri-driver
Labels: help wanted,type: feature request,platform: macOS

### Describe the problem

tauri-driver does not support Mac.

I have a Tauri app that has some platform-specific code in it. (Think: tauri-plugin-deep-link).
I need to write automated tests of my app, and I need to run on every platform, as the platform-specific code must be verified on every platform.

### Describe the solution you'd like

I would like tauri-driver to support mac similarly to how it supports windows and linux

### Alternatives considered

Selenium Test on windows/linux, and get by with manual testing and unit tests on mac for mac-specific functionality

### Additional context

I understand this is not a priority for the tauri team, understandable as most app testing can be done on a single platform.
I still wanted to file this to collect interest and any more information about solving this.

I would be interested in contributing this based upon required effort and my own priorities.

Does the tauri team have any thoughts on how this could be implemented?

I did some research and while there is a safaridriver I don't see a WKWebview driver for selenium
Repository: deno
Issue: KV atomic mutation limits
Labels: ext/kv

Currently with Deno.KV if you make more than 10 mutations in a single atomic operation it will throw.

I've been told by @losfair that this is because larger transactions have a negative effect on system performance, which sounds reasonable, but...

There may sometimes be contexts where this is a reasonable trade-off. Other systems like Cloudflare KV allow 10000 items in a single transaction. Surely it can be left to the user of Deno.KV to decide if the performance hit is an acceptable one given their usage of it?

Is this limit in place with Deno Deploy in mind primarily?
Repository: TypeScript
Issue: Report evolving arrays / evolving variables differently in QuickInfo
Labels: Suggestion,Help Wanted,Experience Enhancement

# Suggestion

<!--
  Please fill in each section completely. Thank you!
-->

## 🔍 Search Terms

evolving array any quickinfo tooltip

## ✅ Viability Checklist

<!--
   Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
   We always recommend reviewing the TypeScript design goals before investing time writing
   a proposal for ideas outside the scope of the project.
-->
My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

When hovering over an evolving array, we should show the type as something special so that people don't think it's actually `any` and get mad/confused about it

Proposed
Instead of
```ts
const arr = [];
arr
// ?^ any[]
```
show
```ts
const arr = [];
arr
// ?^ (evolving array)
```

Same for
```ts
let a;
```

## 📃 Motivating Example

We have many reports both external and internal of people thinking that an evolving array is of type `any`. This also appears as bug reports where people think that `noImplicitAny` has a bug in it because it's not reporting one

Recently https://twitter.com/mattpocockuk/status/1662103198910300161

#43752
#45369

## 💻 Use Cases

Prevent confusion
Repository: godot
Issue: Project Settings: Theme Font: File Filter missing `*.fnt` in 3.x
Labels: topic:gui

### Godot version

3.5.2.stable

### System information

Windows 11, Core i5-12400F, RX 6600

### Issue description

> Bitmap font importer: AngelCode BMFont (.fnt, .font), text and binary (version 3) format variants.

https://docs.godotengine.org/en/stable/classes/class_fontfile.html

https://github.com/godotengine/godot/blob/2210111eb5e8bac6a476227c01205ac44745e21e/scene/theme/theme_db.cpp#L49

Godot 4 filters for `*.font` and `*.fnt` in Project Settings: Theme Font

> Handles files with the .fnt extension.

https://docs.godotengine.org/en/3.5/classes/class_bitmapfont.html?highlight=fnt#bitmapfont

https://github.com/godotengine/godot/blob/338114d47154298cc96bb3098653bb3db3943457/scene/register_scene_types.cpp#L812

Godot 3 filters for only `*.font` in Project Settings: Theme Font

Though `*.fnt` file still does still work fine in 3.x, and even works in settings if change filter to show `*.fnt` files or (I assume) rename files.
Would be nice if the filter showed `*.fnt` files in 3.x too? It seems to show `*.fnt` files when browsing for font from theme or control in 3.x.
Not a big issue. Easy Fix. Just a minor usability enhancement for a rare(?) file type in an old version. Sorry.
Unsure if these kinds of issues are still addressed in 3.x.
No problem.
Thanks.


### Steps to reproduce

- Try to set a `*.fnt` to Project Settings: Theme Font in 4.x
- Try to set a `*.fnt` to Project Settings: Theme Font in 3.x

### Minimal reproduction project

https://github.com/rakkarage/Interface/tree/main/Font

Some fnt (and accompanying png) files.
Repository: pytorch
Issue: Unexpected Behavior when using torch.isclose()
Labels: triaged,module: NaNs and Infs,module: testing

### 🐛 Describe the bug

When using `self.assertEqual` within test_transformers, I was observing some weird behavior for certain test cases.  I tracked this down to `torch.isclose()` and have a minimal repro:

``` Python
import torch

def main():
    
    a = torch.tensor([0.0001], dtype=torch.float16, device="cuda")
    b = torch.tensor([0.0], dtype = torch.float16, device="cuda")
    rtol = (torch.abs(a - b) / torch.min(abs(a), abs(b))).item()
    print(rtol)
    # This will be torch.inf due to the division by zero
    print(torch.isclose(a, b, atol=1, rtol=rtol))
    # >> False
    

if __name__ == "__main__":
    main()
```

This test will fail regradless of what you set the atol. I think this is counter intuitive to what one would expect:
From the the docs: https://github.com/pytorch/pytorch/blob/0ed22fce978d7aae4a62ee86d9f85fa7314b1dd5/aten/src/ATen/native/TensorCompare.cpp#L287
``` C++
// (1) A is equal to B, with NaNs comparing equal when equal_nan is true.
// (2) The error abs(A - B) is finite and less than the max error
//      (atol + abs(rtol * B)).
```
I think the problem is that this 
In this case (A-B) is finite and `atol + abs(rtol *B) = 1 + abs(inf*0) `
The second term becomes NaN:
```
>>> import torch
>>> a = torch.tensor([torch.inf])
>>> b = torch.tensor([0.0])
>>> a
tensor([inf])
>>> b
tensor([0.])
>>> a * b
tensor([nan])
```

This might be truly a case of undefined behavior and we make no assumptions but I would think that someone using isclose with that atol thinks they are equal. I could be wrong. My argument for this would be add 1 to everything and shift the problem to not be centered around 0 and they results would be as expected.


### Versions

Nightly
Repository: flutter
Issue: [web] provide app load time analytics in flutter.js
Labels: platform-web,P2,perf: startup,e: flutter.js,team-web,triaged-web

### 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)

### Use case

Page load time is an important metric on the web. There is a way to DIY it today by sprinkling `performance.now` in various places when exercising `flutter.js` API. But perhaps it makes sense to include it by default. This would encourage developers to track and optimize load times. If there's an issue developers could file issues supplying metrics in a standard format that we would understand, rather than providing metrics from whatever ad hoc method was used.

### Proposal

App loading process begins with `_flutter.loader.loadEntrypoint` that currently only takes `onEntrypointLoaded` callback. We could add a second callback, say `onAppLoadMetrics` that takes an object with a known schema. It would contain the following information:

```text
{
  "compiler": "dart2js"/"dart2wasm",
  "mode": "release"/"profile"/"debug",
  "renderer": "canvaskit"/"skwasm"/"html",
  "timings": {
    "flutterJsLoaded": TIMESTAMP,
    "entrypointLoaded": TIMESTAMP,
    "engineInitialized": TIMESTAMP,
    "firstFrameRendered": TIMESTAMP,
  },
  "userAgent": navigator.userAgent,
}
```

Where `TIMESTAMP` is the value of `performance.now` taken at the time the action ended (i.e. delta from [Performance.timeOrigin](https://developer.mozilla.org/en-US/docs/Web/API/Performance/timeOrigin)). Other metrics can be computed from these numbers. For example, engine initialization duration can be computed as `engineInitialized - entrypointLoaded`.
Repository: stable-diffusion-webui
Issue: [Feature Request]: Is there a way to script actions?
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 ?

1) I would like the UI to keep track of all the actions and put out a python script to do the same
2) allow me to modify the script further as I see fit.
3) perhaps share the script with a button click



### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: rust
Issue: We are not running std tests for wasm
Labels: A-testsuite,T-bootstrap,C-bug

I tried this code:

```rust
x test library --exclude alloc --stage 0
```

I expected to see this happen: "Testing stage0 library artifacts {std, panic_abort, core, panic_unwind, unwind, proc_macro, test} (x86_64-unknown-linux-gnu)"

Instead, this happened: "Testing stage0 library artifacts"

This gets worse - if I *just* pass `x test --exclude alloc`, then *the entire step* gets skipped. In particular, this means that  https://github.com/rust-lang/rust/blob/eadf69a6c6edfe220fc5b1b659e46e271d75a3a1/src/ci/docker/host-x86_64/wasm32/Dockerfile#L57-L59 is excluding *all standard library tests*, not just the ones for alloc.

### 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.
-->

HEAD is branched from 19ee7f4a6abaf00f3d11d1c7f1d3508b55c84aa1 (which is going to land on master shortly).