sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Editor freezes when opening browser
Labels: bug,topic:editor,regression

### Tested versions

4.2.2.stable.arch_linux

### System information

Godot v4.2.2.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:49:46 +0000 - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU () - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)

### Issue description

When running Remote Debug in browser or opening docs when there is no existing browser open, Godot opens a browser as a child process which freezes the editor. Unfreezes when browser is closed. Regression of #51691.

### Steps to reproduce

Run Remote Debug in browser or open docs with no browser open.

### Minimal reproduction project (MRP)

Happens on any project.
Repository: tensorflow
Issue: Numerical precision issue of operators selu, leakyRelu, softplus and their corresponding backward operators on Bfloat16 vs float32
Labels: stat:awaiting tensorflower,type:bug,comp:ops,TF 2.16

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

binary

### TensorFlow version

tf 2.16.1

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

3.10.9

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

I'd like to bring to attention an issue concerning the numerical precision of several operators (selu, leaky, relu) when operating on Bfloat16 versus float32 data types. I conducted comparisons using 20,000 random tensors for these operators, assessing the outputs in both Bfloat16 and float32 and computing the discrepancies. My observations indicate that differences generated by TensorFlow are generally more pronounced compared to PyTorch. Particularly noteworthy is the significant error produced by the SeluGrad operator. The results are summarized in the table below:

| Operator           | TensorFlow | PyTorch |
|--------------------|------------|---------|
| selu               | 0.24918    | 0.12243 |
| leakyrelu          | 0.01875    | 0.00094 |
| softplus           | 0.05488    | 0.01554 |
| seluGrad      | 10.41794   | 0.12406 |
| leakyreluGrad | 0.01875    | 0.00094 |
| softplusGrad | 0.13502    | 0.12484 |

In a standalone code to reproduce the issue, I provide illustrative instances for seluGrad operators, where the output discrepancy between Bfloat16 and float32 can be as high as 10.4.

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
import numpy as np

features = tf.convert_to_tensor(np.array([-0.00112915]), dtype=tf.float32)
gradients = tf.convert_to_tensor(np.array([-14.6875]), dtype=tf.float32)

x = tf.Variable(features)
k = tf.constant(gradients)
with tf.GradientTape(persistent=True) as tape:
    y = tf.nn.selu(features=x)
    z = k*y
    fianl = tf.reduce_mean(z)
    
print('float32 gradient:',tape.gradient(z, x))


features = tf.cast(features, dtype=tf.bfloat16)
gradients = tf.cast(gradients, dtype=tf.bfloat16)
x = tf.Variable(features)
k = tf.constant(gradients)
with tf.GradientTape(persistent=True) as tape:
    y = tf.nn.selu(features=x)
    z = k*y
    fianl = tf.reduce_mean(z)
print('float16 gradient:',tape.gradient(z, x))
```


### Relevant log output

```shell
float32 gradient: tf.Tensor([-25.792944], shape=(1,), dtype=float32)
bfloat16 gradient: tf.Tensor([-15.375], shape=(1,), dtype=bfloat16)
```
Repository: godot
Issue: AnimationPlayer doesn't discards track cache immediately after changing the animation
Labels: bug,confirmed,topic:animation

### Tested versions

- Reproducible in 4.2.2.stable
- Not reproducible in: 3.x, 4.1.4.stable 

### System information

Godot v4.1.4.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (nvidia; 535.171.04) - Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 Threads)

### Issue description

Playing an animation ("Anim2") in a method called via call method track ("Anim1") and using advance(0) (like described in the docs to update immediately) still plays the calling animation ("Anim1"). This results in an endless loop causing a stack overflow.
This worked fine in 3.x and 4.1.4.

### Steps to reproduce

Create 2 animations ("Anim1" and "Anim2")
Add a call method track to the first and call the following method:
```
func call_track() -> void:
	$AnimationPlayer.play("Anim2")
	$AnimationPlayer.advance(0)
```

### Minimal reproduction project (MRP)

[animationplayer_bug.zip](https://github.com/godotengine/godot/files/15294222/animationplayer_bug.zip)
Repository: PowerToys
Issue: PowerToys run and Windows ease of use 
Labels: Issue-Bug,Product-PowerToys Run,Area-User Interface,Area-Accessibility,Needs-Triage

### Microsoft PowerToys version

0.80.1

### Installation method

PowerToys auto-update, Scoop

### Running as admin

No

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

In Windows control panel, go to Ease of Access, Change how your mouse works, click the checkbox Activate a window by hovering over it with the mouse. Click OK.

Activate PowerToys Run, type something to search.

_I realize this is a bit of an edge case_

### ✔️ Expected Behavior

If I search for something that yields only one answer, for example type a math query and you get one line with the answer to your math query.

### ❌ Actual Behavior

When the PowerToys Run window resizes to something smaller than the initial window size it will close because Windows believes that you are focusing whatever window was behind the Run window.

### Other Software

_No response_
Repository: next.js
Issue: Undocumented breaking change with custom server between 13.4.1 and 13.5.1 / getRequestHandler does no longer set status code with Koa custom server
Labels: bug,Runtime

### Link to the code that reproduces this issue

https://github.com/clentfort/nextjs-custom-server-breaking-change

### To Reproduce

# Next v14 and Next v13.5.1

1. Checkout the repostiories `main`/`v13.5.1` branch repsectively
2. Run `npm i` to install all dependencies
3. Run the dev environment via `npm run dev`.
4. Open the page in a browser. Open the dev tools on the network tab. Reload the page.

--> Observer the status code is 404 for all requests. The contents of the page are hidden via CSS

# Next 13.4.1

1. Checkout the repostiories `v13.4.1` branch
2. Run `npm i` to install all dependencies
3. Run the dev environment via `npm run dev`.
4. Open the page in a browser. Open the dev tools on the network tab. Reload the page.

--> Observer the status code is 200 for all requests. The contents of the page is visible


### Current vs. Expected behavior

Currently the status code is not set correctly by `getRequestHandler`. I'd expect it to set the status code to the correct value (i.e. 200/404) as it was done in 13.4.1.

### Provide environment information

```bash
Operating System:
      Platform: darwin
      Arch: arm64
      Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020
    Binaries:
      Node: 20.10.0
      npm: 10.4.0
      Yarn: 4.0.2
      pnpm: 8.14.1
    Relevant Packages:
      next: 13.4.1, 13.5.1, 14.2.3 // Latest available version is detected (14.2.3).
      eslint-config-next: N/A
      react: 18.3.1
      react-dom: 18.3.1
      typescript: 4.9.5
    Next.js Config:
      output: N/A
```


### Which area(s) are affected? (Select all that apply)

Not sure, Runtime

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local)

### Additional context

The application is run via Docker, however the behaviour is already visible in dev mode.
Repository: PowerToys
Issue: Feature request: fully support animated PNG and WEBP in Peek
Labels: Needs-Triage

### Description of the new feature / enhancement

Peek supports the display of animated GIF. It would be practical if it could also display animated PNG and WEBP.

Those two format are supported but not their animated version: Peek only displays the first frame.

Here are test images that could be useful. GitHub does not allow WEPB upload, please rename the .webm to .webp. 
![sort](https://github.com/microsoft/PowerToys/assets/79143715/5982ca22-f055-43e9-84eb-58ad4eb58641) ![sort](https://github.com/microsoft/PowerToys/assets/79143715/1941e409-fd46-4a8e-8f54-416dd882a556) ![sort.webm](https://github.com/microsoft/PowerToys/assets/79143715/de5333cb-ad24-42b4-9fa3-b8983be08510)


### Scenario when this would be used?

Animated PNG and WEBM are not fully supported in the Window's Photo app, that also only displays their first frame.

Being able to quickly peek those animation without using yet another dedicated tool (or opening them in a browser) would be handy.

### Supporting information

_No response_
Repository: TypeScript
Issue: Narrowing by type predicate fails to produce intersection type with weak type
Labels: Bug,Help Wanted

### 🔎 Search Terms

- predicate
- intersection
- weak

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________


### ⏯ Playground Link

https://www.typescriptlang.org/play/?ts=5.5.0-beta&ssl=7&ssc=20&pln=7&pc=21#code/JYOwLgpgTgZghgYwgAgILIN4ChnIDZwBGEeA-AFzIDOYUoA5gNw7JwXW0OO4D0PyAWzgBrFFAgBHAK7BxAE2RgA9shLABoOJFVQoSqFgC+WLKEixEKAEKYWBYmUo06IJr37iBSgG4oqACzh5ZAAHPRDoMABPRRU1DRAtFGg9A1xCSkIlJTwIOBBmYywYKRAEMGAlEGRgKisACjB-BkolQgArCHKASkomhhqqZBtsXHEwKShqgHJCaZrq-tdCkxKyiqrFCBpG5tdKVG7bXCX6ADo4bmQ+ZCVhFmAYZHrahtPuo9HcRT3zy-cdKlSCxjMYgA

### 💻 Code

```ts
interface A {
  label?: string;
  a?: string;  // make required to eliminate error
}

interface B {
  label?: string;  // remove shared property to eliminate error
  b: boolean;
}

function isB(thing: object): thing is B {
  return 'b' in thing;
}

function test(thing: A) {
  thing.a;  // ok
  if (isB(thing)) {
    thing.a;  // error?
  }
}
```


### 🙁 Actual behavior

The type of `thing` inside the conditional is `B`.

### 🙂 Expected behavior

The type of `thing` inside the conditional should be `A & B`.

### Additional information about the issue

This only happens if:

1. `A` is a "weak" type (all optional properties).
2. `A` and `B` have at least one overlapping property.

If either of these isn't the case, then you get the expected intersection type:
<img width="602" alt="image" src="https://github.com/microsoft/TypeScript/assets/98301/3134b071-0472-4d25-bea9-18a3baf20119">

This came up in vscode while testing https://github.com/microsoft/TypeScript/pull/58495#issuecomment-2105358748. The issue is there already but is latent because control flow analysis can't see that a type predicate becomes a type assertion without that PR.

https://github.com/microsoft/vscode/blob/273d65a156865def7869e2899235ea2ab9837a81/src/vs/workbench/api/common/extHostTreeViews.ts#L821
Repository: node
Issue: Commit queue overwrites commit author
Labels: confirmed-bug,meta

See https://github.com/nodejs/node/pull/52745 and https://github.com/nodejs/node/pull/52860 (@marco-ippolito)

When the commit author and the PR author do not match, the original commit author is lost when the PR is merged.
Repository: material-ui
Issue: [docs-infra] Support {{"component" markdown collocation
Labels: enhancement,scope: docs-infra

### Summary

Current state: If you want to show a custom components in the docs with the design of the docs (not the default material design) you need to use `{{"component": "modules/components/..." }} `

We should be able to render custom components from the markdown in the same folder.


without having the default library theme, but the MUI branding theme.

As for the solution, one is to use `{{"demo":` but with an option to not reset the parent theme.

### Examples

- https://github.com/mui/material-ui/pull/37259#discussion_r1598615694 
- https://github.com/mui/mui-x/blob/266b74328e8184a85d02271d77208b792de20c6f/docs/data/whats-new/whats-new.md?plain=1#L5

### Motivation

Make it easier to iterate on the logic, e.g. deleting all files at once.

**Search keywords**: -
Repository: next.js
Issue: Next [14.2.3] middleware is being by passed when using proxy/reverse proxy
Labels: bug,Middleware

### Link to the code that reproduces this issue

https://github.com/AnasArafeh/Next14.2.3-Middleware-with-proxy-issue

### To Reproduce

1. Run the NextJs code
2. Run the backend code which has the proxy in it (it is a dotnet app in this sample)
3. Try to access a route that Next js file structure has, for example here /home (either on localhost:3000 or the backend localhost) a sample "http://localhost:3000/home"
4. You will notice the console.log in the home page is invoked before the middleware and everything in the page is being read 
![image](https://github.com/vercel/next.js/assets/68680829/33a3dd1b-0f6d-4198-b587-cdac62b5d3f1)
5. The middleware will be invoked and will return what you are looking for (in this case I am just rewriting to 404 page)
6. Also you will see that the middleware is being invoked multiple times for the same route along side the /home request

### Current vs. Expected behavior

This behavior started after upgrading next to 14.2.3, before the upgrade I was working on next 14.0.3 and this issue did not occur. The middleware was being invoked first and everything worked normal.

### Provide environment information

```bash
Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Enterprise
  Available memory (MB): 20323
  Available CPU cores: 8
Binaries:
  Node: 18.18.0
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.3.0-canary.59 // Latest available version is detected (14.3.0-canary.59).
  eslint-config-next: N/A
  react: 19.0.0-beta-4508873393-20240430
  react-dom: 19.0.0-beta-4508873393-20240430
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Middleware

### Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local)

### Additional context

I have tested it in the latest canary version 14.3.0-canary.59 and the issue still exists.


Please be aware that the issue disappears when you remove this environment variable NODE_TLS_REJECT_UNAUTHORIZED=0

According to my knowledge this issue occurs when you have proxy + middleware + the API in the middleware returns 404 + having the environment variable mentioned above.

*Update
When I made the API as an HTTP instead of HTTPS and remove the environment variable NODE_TLS_REJECT_UNAUTHORIZED=0 the same issue happens. So probably the issue comes with proxy + middleware + API in the middleware returns 404 or so

**Update 2
When the API returns not found with empty response instead not found with HTML response, the issue is resolved
Repository: go
Issue: x/tools/internal/imports: TestConcurrentProcess failures
Labels: NeedsInvestigation,Tools

```
#!watchflakes
default <- pkg == "golang.org/x/tools/internal/imports" && test == "TestConcurrentProcess"
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/dab2e5c3b9e8f92e324938cc0acbd5b9ad153adb)):

    --- FAIL: TestConcurrentProcess (0.08s)
        --- FAIL: TestConcurrentProcess/Modules (0.04s)
            fix_test.go:2918: /tmp/workdir/tmp/TestConcurrentProcess_Modules607375849/foo.com/p/first.go:1:1: illegal character NUL (and 2 more errors)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: flutter
Issue: Prompt plugin authors to add Swift Package Manager compatibility to their plugin
Labels: tool,P2,team-ios,triaged-ios

When detected that a flutter project is a plugin example app that has a podspec but doesn't have a Package.swift, prompt the user to add Swift Package Manager compatibility and point to documentation with instructions on how to do that. 

https://github.com/flutter/flutter/blob/708fe97f9e3a0fd0c176305c5f63a506d6c78777/packages/flutter_tools/lib/src/plugins.dart#L392-L418
https://github.com/flutter/flutter/blob/708fe97f9e3a0fd0c176305c5f63a506d6c78777/packages/flutter_tools/lib/src/project.dart#L269
https://github.com/flutter/flutter/blob/708fe97f9e3a0fd0c176305c5f63a506d6c78777/packages/flutter_tools/lib/src/project.dart#L253-L257
https://github.com/flutter/flutter/blob/708fe97f9e3a0fd0c176305c5f63a506d6c78777/packages/flutter_tools/lib/src/project.dart#L263
Repository: tauri
Issue: [bug] window is not centred on Linux
Labels: type: bug,platform: Linux,status: needs triage

### Describe the bug

When creating new WebviewWindow in Linux with `center()` the created window is not centred horizontally.

<img width=600 src="https://github.com/tauri-apps/tauri/assets/61390950/ef5e1e85-b257-4e42-bd85-d99f5879436a">


### Reproduction

https://github.com/thewh1teagle/RustDuck/releases/tag/v1.0.2

[src-tauri/src/cmd.rs#L52](https://github.com/thewh1teagle/RustDuck/blob/main/src-tauri/src/cmd.rs#L52)

### Expected behavior

Window should be in center


### Full `tauri info` output

```text
[✔] Environment
    - OS: Ubuntu 22.04 X64
    ✔ webkit2gtk-4.1: 2.44.0
    ✔ rsvg2: 2.52.5
    ✔ rustc: 1.77.1 (7cf61ebde 2024-03-27)
    ✔ cargo: 1.77.1 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 20.12.0
    - npm: 10.5.0
    - bun: 1.1.7

[-] Packages
    - tauri [RUST]: 2.0.0-beta.19
    - tauri-build [RUST]: 2.0.0-beta.15
    - wry [RUST]: 0.39.4
    - tao [RUST]: 0.28.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.9
    - @tauri-apps/cli [NPM]: 2.0.0-beta.13

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

```console
$ eccat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"
ho $XDG_SESSION_TYPE
wayland

$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.4 LTS"
```
Repository: flutter
Issue: Android app in debug mode gets stuck on splash screen after revoking permission
Labels: platform-android,has reproducible steps,P3,team-android,triaged-android,found in release: 3.22

### Steps to reproduce

Steps to reproduce:

1 - Create a new Flutter project.
2 - Add the following permission to the Android manifest:
android.permission.READ_CONTACT
3 - Run the application.
4 - Navigate to the Android settings, approve the Contacts permission, and then revoke it.
5 - Return to the app.

### Expected results

App should restart.

### Actual results

Stuck in the splash screen.


### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### 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.6, on macOS 14.4.1 23E224 darwin-arm64, locale
    en-PT)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2024.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for iPhone de Guilherme (2). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!
```

</details>
Repository: ollama
Issue: Add model GEITje Ultra / Dutch models
Labels: model request

Hi,

Would anyone be able to add GEITje Ultra to ollama? It is a Dutch oriented model based on mistral/mixtral or llama3. The llama3 is called llama3 Dutch. I dont know yet where I would be able to find it, but I suppose you can as it has been opensourced according to this Dutch Tech website; https://tweakers.net/reviews/12036/3/chatgpt-maar-dan-uit-nederland-nederlandse-taalmodellen-geitje-en-geitje-ultra.html

I hope this can happen,

Thanks for your time,

Johan
Repository: godot
Issue: Godot Window Offsets 1 Pixel Up & Down When Open
Labels: bug,platform:windows,topic:porting,needs testing

### Tested versions

- Reproducible in: 4.2.2.stable, 4.2.stable, 4.1.stable, 3.6.beta5 and possibly earlier.

### System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 31.0.15.3742) - AMD Ryzen 9 6900HS with Radeon Graphics (16 Threads)

### Issue description

Whenever I use the application, the window will frequently offset a pixel up, leaving a black bar across the window, then go back to normal. My laptop's display resolution and scale is 2560 x 1440 and 125%, respectively. I've also tested different combinations, like 1920 x 1080 with 100%, 125% and 150%, and 2560 x 1440 with 100% and 150%. Please let me know if you need any more information! I'd love to use Godot, but I can't handle the window shifting.

### Steps to reproduce

No idea how to reproduce this, perhaps set the resolution and scale to what I have? Sorry, I'd put more information if I could.

### Minimal reproduction project (MRP)

N/A
Repository: flutter
Issue: Add application(_:continue:restorationHandler:) on macOS
Labels: engine,platform-mac,c: proposal,P3,team-macos,triaged-macos

### Use case

I maintain a plugin ([app_links](https://pub.dev/packages/app_links)) to allow deep linking on all platforms .
With the current macOS embedder shipped with Flutter 3.19, we can only/mostly handle notification based delegations.

In my case, I need to access `application(_:continue:restorationHandler:)` to allow universal link handling (as on iOS).
https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428471-application

This would simplify setup for developers as they wouldn't add themselves the override in their own native code base.

### Proposal

There's no workaround here that can be implemented by other packages.

`application(_:continue:restorationHandler:)` should be forwarded by the engine.
Repository: ollama
Issue: Would it be possible to add the Bloom model and other multilanguage/multilingual models?
Labels: model request

It would be nice, for us non-English people, to have access to the some good multilanguage/multilingual LLMs.
Bloom comes to mind, but other would be very useful.

https://huggingface.co/blog/bloom