sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Can't build AR applications for Android
Labels: bug,platform:android,topic:porting,topic:xr

### Tested versions

Reproduced with godot 4.2.stable

### System information

Linux, Godot 4.2

### Issue description

Running on iOS: Works fine
Running on Android: Camera rotation dont work and don't show the camera as background.

### Steps to reproduce

Add this scene:

- XROrigin3D
  - XRCamera3D

Add a cube for this scene.
Add an env, in background configure to the camera feed.

### Minimal reproduction project (MRP)

[project.zip](https://github.com/godotengine/godot/files/15063859/project.zip)
Repository: kubernetes
Issue: ImageMaximumGCAge documentation recommendations
Labels: sig/node,priority/important-longterm,triage/accepted

related: https://kubernetes.slack.com/archives/C0BP8PW9G/p1713553524168989

The beta feature `ImageMaximumGCAge` that is enabled by default should have recommended ranges for people to configure. Right now out of the box it's currently set to `0s` (which means it's disabled). This is a documentation request to provide a general rule of thumb for the community to shoot for with garbage collection cleaning up images.

/sig-node
Repository: ollama
Issue: Can we add support for LLaVA-Llama-3-8B?
Labels: model request

Hi I just saw in redis that there is a llava model based on llama-3, can be added it to the library? Thanks

Source:https://www.reddit.com/r/LocalLLaMA/comments/1ca8uxo/llavallama38b_is_released/
Repository: godot
Issue: Array.remove_at(index) out of bounds error even if the array size is correct
Labels: discussion,topic:gdscript

### Tested versions

Godot Engine v4.0.2.stable.official.7a0977ce2
OpenGL API 3.3.0 - Build 21.20.16.4821 - Compatibility - Using Device: Intel - Intel(R) HD Graphics 520

### System information

Windows 10

### Issue description

Using `remove_at` method of `Array` throws out of bounds errors even if the size allows for specified index

Using `remove_at` with negative index:
![002051 - 2024-04-22](https://github.com/godotengine/godot/assets/111675193/6c9d3e7d-dea5-4863-89b4-258387edd39a)
```
E 0:00:08:0882   Enemy.gd:163 @ _on_Player_move(): Index p_index = -1 is out of bounds (size() = 3).
  <C++ Source>   ./core/templates/cowdata.h:164 @ remove_at()
```

Using positive index:
![002050 - 2024-04-22](https://github.com/godotengine/godot/assets/111675193/82364278-0320-40bc-8087-a7b14915b5be)
```
E 0:00:11:0721   Enemy.gd:163 @ _on_Player_move(): Index p_index = 4 is out of bounds (size() = 4).
  <C++ Source>   ./core/templates/cowdata.h:164 @ remove_at()
```

However, if using `Array.erase(Array[-1])` no errors are shown.


### Steps to reproduce

if keyboard button is pressed:
```
var a: Array = []
a.resize(10)
a.fill(1)
a.remove_at(-1)
```

### Minimal reproduction project (MRP)

Not required
Repository: next.js
Issue: Unexpected full page reloads when transitioning between pages router views (in conjunction with app router and middleware)
Labels: bug,Middleware,Pages Router

### Link to the code that reproduces this issue

https://github.com/raphaelsaunier/nextjs-pages-router-app-router-middleware-repro

### To Reproduce

1. Set up a multi-tenant/domain Next.js pages router app, borrowing the architecture from the Vercel [Platforms Starter Kit](https://github.com/vercel/platforms) example
2. Introduce new views using the app router 
3. Try to navigate between views that use the pages router app

### Current vs. Expected behavior

Navigating between two pages that share the same layout (whether using the app router or pages router) should **not** cause a full re-render of the page (exemplified in the repro with an artificial delay to render the navigation component).

Navigating between app router views (i.e. `/a` and `/b`) always works as expected, however navigating within pages router views (i.e. `/x` and `/y`) consistently causes a full re-render in one of the following circumstances:
- The `app/` folder is present (try deleting/renaming it and the problem disappears)
- A middleware is used to rewrite the pathname (try disabling the middleware and the problem disappears too)

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 20.12.0
  npm: 10.5.0
  Yarn: 1.22.21
  pnpm: 8.5.1
Relevant Packages:
  next: 14.2.2 // Latest available version is detected (14.2.2).
  eslint-config-next: 14.2.2
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.4.5
Next.js Config:
  output: N/A
```


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

Middleware, Pages Router

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

next dev (local), Vercel (Deployed)

### Additional context

This has been a blocking issue for as long as I can remember and prevents us from gradually migrating a multi-tenant Next.js app and start using app router.
Repository: react-native
Issue: Turkish Character Display Problem on Android; Letters "i" turn into "ı"
Labels: Issue: Author Provided Repro,Platform: Android,Needs: Attention,Needs: Version Info

### Description

I am developing an application with react native.
I have a language font file called Gesta. It supports the Turkish language.
I do not encounter any problems on the iOS side
On the android side
If the language of the device is English, the fonts are displayed properly.
If the language of the device is Turkish, the letters "i" turn into the letter "ı". I want to see each letter as it is, how can I correct this?






### Steps to reproduce

1. Add Gesta fonts to react-native
download font by this link - > [Gesta-Regular.ttf.zip](https://github.com/facebook/react-native/files/15064319/Gesta-Regular.ttf.zip)
to add the font to project look at this. - > https://dharasapariya.medium.com/a-guide-on-using-custom-fonts-in-react-native-android-6ef20d88c75f
2. Open terminal and move to project root then run "npm run android" or "yarn android"
3. If the device language is English, you will not see any mistakes in the fonts.
4. Then go to Language Settings in Device ( Emulator or Real ), Settings -> System -> Languages
5. Add Turkish language. And set it, ( move it up)
6. Re run the app.
7. You will see "i" letters turn into "ı".






### React Native Version

0.73.5

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
    OS: macOS 14.4.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 72.73 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - /var/folders/wj/qz_yjcdx7fd99qb06y7dt_f9k6zxbt/T/yarn--1713796063065-0.18942484615667166/node
    Yarn: 1.22.21 - /var/folders/wj/qz_yjcdx7fd99qb06y7dt_f9k6zxbt/T/yarn--1713796063065-0.18942484615667166/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    Watchman: 2024.01.22.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.15.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 2023.1 AI-231.9392.1.2311.11330709
    Xcode: 15.2/15C500b - /usr/bin/xcodebuild
  Languages:
    Java: 17.0.10 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: 0.73.5 => 0.73.5
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
```


### Stacktrace or Logs

```text
no logs
```


### Reproducer

- https://github.com/semcak1/android-gestafont-issue.git

### Screenshots and Videos


Result when device language is Turkish ( WRONG )
 ![image](https://github.com/facebook/react-native/assets/38374895/738f38df-d884-4bd9-9dfe-070233a9ccf7)
 
Result when device language is English ( CORRECT )
![image](https://github.com/facebook/react-native/assets/38374895/092c9205-ca46-4570-b014-616477a18065)
Repository: go
Issue: build: cmd/go/internal/modfetch/codehost failures
Labels: NeedsInvestigation

```
#!watchflakes
default <- repo == "go" && pkg == "" && test == "cmd/go/internal/modfetch/codehost"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8750194657342326113)):

    vcs-test.golang.org rerouted to http://127.0.0.1:15777
    https://vcs-test.golang.org rerouted to https://127.0.0.1:19726
    FAIL	cmd/go/internal/modfetch/codehost	360.148s


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: transformers
Issue: Add HelpingAI-3B-v2.2: Emotionally Intelligent Conversational AI
Labels: New model

### Model description

## Introduction

HelpingAI-3B-v2.2 is a state-of-the-art large language model specializing in emotionally intelligent conversation. With advanced emotional understanding capabilities, it can engage in empathetic dialogue tailored to the user's emotional state and context.

## Emotional Intelligence Capabilities

HelpingAI-3B-v2.2 exhibits several key traits that enable emotionally resonant responses:

- Emotion recognition and validation
- Empathetic perspective-taking 
- Generating emotionally supportive language
- Contextual emotional attunement
- Using appropriate tone, word choice and emotional expression

Whether comforting someone grieving, celebrating positive news, or addressing complex feelings, HelpingAI-3B-v2.2 can adapt its communication style with emotional nuance.

## Examples of Emotionally Intelligent Responses


"I'm really sorry to hear about your friend's loss. 😔 Losing a parent can be incredibly difficult and traumatic, and it's completely understandable that they are struggling with grief. It's important to show them empathy and support during this tough time. You can start by simply being there for them, listening to them, and offering a shoulder to lean on. 💕 It's also important to acknowledge their feelings and let them know that it's okay to grieve and take as much time as they need to process their emotions. Offering practical help, such as running errands or cooking for them, can also make a big difference. Remember, small gestures of kindness and compassion can go a long way in comforting someone during difficult times."

"Hey there! 🌟 It's a beautiful day today, so you should cook something delicious and enjoy the sunny weather! How about trying out a new recipe and let your creativity flow? Whether it's a classic dish or something experimental, the kitchen is the perfect place to let your imagination run wild. Write me a list of ingredients you have on hand, and I'll help you come up with a wonderful culinary creation! 🍲🌞"

The model tailors its language, tone and emotional content to be contextually appropriate, combining emotional intelligence with factual knowledge and practical suggestions.



### Open source status

- [ ] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation
https://huggingface.co/collections/OEvortex/emotional-intelligence-6625cc3247851d717e9fa382
Repository: ui
Issue: [bug]: The style overrides by shadcn for sonner are not working.
Labels: bug

### Describe the bug

<img width="737" alt="image" src="https://github.com/shadcn-ui/ui/assets/283559/b86e3f39-90bf-473a-a2d2-0e39bb2d58ba">

From the screenshot, it is evident that the styles added by `shadcn` have a lower priority than the inherent styles of `sonner` , and therefore cannot override them correctly.

### Affected component/components

Sonner

### How to reproduce

1. install shadcn/ui
```
style: default
baseColor: gray
cssVariable: false
```
2. install sonner by `npx shadcn-ui@latest add sonner`
3. use sonner in my project

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
System: macOS 14.2.1
Browser: Arc Version 1.39.0 (48951) / Chromium Engine Version 124.0.6367.61
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: PowerToys
Issue: Environment Variables applet does not remember window size and position.
Labels: Issue-Bug,Idea-Enhancement,Area-User Interface,Needs-Triage,Product-Environment Variables

### Microsoft PowerToys version

0.80.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Environment Variables

### Steps to reproduce

1. Open the applet..
2. Applet opens with a very large window on a 3840 x 2160 resolution monitor.
3. Resize and move  the window..
4. Close the applet.
5. Reopen the applet.


### ✔️ Expected Behavior

The applet should remember the last size and position.

### ❌ Actual Behavior

The applet opens with the same (over large) size and position. 

### Other Software

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Please add support for the COSXL model by Stability AI
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 ?

Stability AI recently recent an alternate version of the SDXL base model called COSXL. This mode can be found here:

https://huggingface.co/stabilityai/cosxl

Description:  Cos Stable Diffusion XL 1.0 and Cos Stable Diffusion XL 1.0 Edit 

Cos Stable Diffusion XL 1.0 Base is tuned to use a Cosine-Continuous EDM VPred schedule. The most notable feature of this schedule change is its capacity to produce the full color range from pitch black to pure white, alongside more subtle improvements to the model's rate-of-change to images across each step.


It's also possible to merge the COSXL model with normal SDXL models as outlined at the bottom of this ComfyUI page: https://comfyanonymous.github.io/ComfyUI_examples/model_merging/  
  
As results there are more than just 2 models that would benefit from support for changes related to COSXL.

A PR to support COSXL in the Forge fork of A1111 was submitted today, although it doesn't appear the file modified is one used by the original code here. Link: https://github.com/lllyasviel/stable-diffusion-webui-forge/pull/686



### Proposed workflow

1. Load COSXL / COSXL Edit / or a model merged with COSXL
2. Proper loading of model and VAE (if automatic/needed) 
3.Proper generation (currently solid red or garbage colors are what are generated).


### Additional information

Thanks for your efforts on this tool. It has been and still is amazing.
Repository: rust
Issue: Rustc reports error on Ctrl-C during linking
Labels: A-linkage,T-compiler,C-bug

```
^C
gh-bjorn3@dev-desktop-eu-1:~/cg_clif$ error: linking with `cc` failed: signal: 2 (SIGINT)
  |
  = note: LC_ALL="C" PATH="/home/gh-bjorn3/cg_clif/dist/lib/rustlib/aarch64-unknown-linux-gnu/bin:/home/gh-bjorn3/.local/bin:/home/gh-bjorn3/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" VSLANG="1033" "cc" "/tmp/rustc3QDuN1/symbols.o" [...]
  = note: 

error: aborting due to 1 previous error
```

Rustc should probably check if it received SIGINT itself and if so ignore child processes exiting with SIGINT.

This is almost certainly a regression from https://github.com/rust-lang/rust/pull/111769
Repository: PowerToys
Issue: In Power Toys Run Calculator Plugin tan(pi/2) is defined.
Labels: Issue-Bug,Cost-Small,Run-Plugin

### Microsoft PowerToys version

0.80.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

PowerToys Run

### Steps to reproduce

Type tan(pi/2) in run 
![image](https://github.com/microsoft/PowerToys/assets/70945820/f9e4974c-00dd-495d-9f10-64a6324eaae4)



### ✔️ Expected Behavior

tan(pi/2) to not do anything like it does for other undefined values like it does to 5/0

### ❌ Actual Behavior

It gives tan(pi/2) as 16331239353195400

### Other Software

_No response_
Repository: kubernetes
Issue: GracefulNodeShutdown fail to update Pod status for system critical pods.
Labels: kind/bug,priority/backlog,sig/node,triage/accepted

### What happened?

Pods with a  `system-cluster-critical` priority class  set are not evicted by Graceful node shutdown when a node is slated to be shutdown. Instead they are evicted by the Taint Manager once the tolerationSeconds period expires. 

### What did you expect to happen?

I'd expect the presence of priority classes to be orthogonal to whether or not Graceful node shutdown evicts the pods or not. If graceful node shutdown runs on node shutdown then pods should be evicted before Taint Manager runs. 

### How can we reproduce it (as minimally and precisely as possible)?

Run a deployment with the below tolerations
```
priorityClass: system-cluster-critical
```

Schedule a node shutdown or trigger a shutdown event using gdbus
```
gdbus emit --system --object-path /org/freedesktop/login1 --signal 'org.freedesktop.login1.Manager.PrepareForShutdown' true
```

Observe that pods from the deployment enter a "Terminating" state and have conditions indicating they were evicted by the Taint manager
```
  - lastProbeTime: null
    lastTransitionTime: "2024-04-22T14:30:26Z"
    message: 'Taint manager: deleting due to NoExecute taint'
    reason: DeletionByTaintManager
    status: "True"
    type: DisruptionTarget
```

The pod status is never updated to show TerminationByKubelet and stays in Running state until the eviction by Taint Manager

### Anything else we need to know?

Kubelet logs will indicate that the node shutdown manager finished terminating the pod but this doesn't get reflected in the API. 

```
shutdown_manager_linux.go:395] "Shutdown manager finished killing pod" pod="kube-system/coredns-5687d5bddb-fqlbh"
```

Pod in the API server
```
coredns-5687d5bddb-fqlbh                  1/1     Terminating   0          89m
```

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.3
```

</details>


### Cloud provider

<details>
Akamai Connected Cloud (The cloud formerly known as Linode)
</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ uname -a
Linux lke-e2e-bcbc70-test-1a751f3d 6.1.0-0.deb11.17-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1~bpo11+1 (2024-01-05) x86_64 GNU/Linux
```

</details>


### Install tools

<details>
kubeadm
</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: flutter
Issue: Consider combining `flutter build ios-framework` and `flutter build macos-framework`
Labels: platform-ios,platform-mac,P2,team-ios,triaged-ios

### Use case

When using Flutter in an add-to-app scenario, the native project it's being added to may support both iOS and macOS. When using `flutter build ios-framework`, it produces iOS-only xcframeworks. When using `flutter build macos-framework`, it produces macOS-only xcframeworks. If you're using a plugin that's both iOS and macOS compatible, like shared_preferences, for example, it'll produce 2 xcframeworks, both named `shared_preferences_foundation.xcframework`, one with iOS arch and one with macOS arch.

If you try to link both versions of `shared_preferences_foundation.xcframework` in Xcode, it only shows one in the interface (although it does link both). Also, it will error when you build with a message like:
```
add_flutter_app/build/macos/framework/Debug/shared_preferences_foundation.xcframework:1:1: While building for iOS Simulator, no library for this platform was found in 'add_flutter_app/build/macos/framework/Debug/shared_preferences_foundation.xcframework'.
```

Would be better for Flutter to produce a single `shared_preferences_foundation.xcframework` with all the architectures.

### Proposal

Perhaps combine the commands into a single `flutter build darwin-framework` that will check if the project supports iOS or macOS or both and then produce the needed xcframeworks with the needed architectures. Also, will need to figure out how to produce the `GeneratedPluginRegistrant`.

For Swift Package Manager [add-to-app scenario](https://github.com/flutter/flutter/issues/146957), this could be a little easier, as you can use a [TargetDependencyCondition](https://developer.apple.com/documentation/packagedescription/targetdependencycondition) to include targets dependencies by platform
Repository: TypeScript
Issue: Add a flag to require JS object literals to be initialized with all declared members
Labels: Suggestion,Awaiting More Feedback

I'm aware JavaScript files work somewhat differently from TypeScript files, so I'm assuming this behavior is intentional. But if not, feel free to consider this as a bug instead.

### 🔍 Search Terms

empty object label:"Domain: JavaScript" 

### ✅ Viability Checklist

- [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 isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

In JavaScript files it is possible to assign an empty object to a variable, as long as you provide it with the expected properties later:
```js
/**
 * @typedef Foo
 * @property {string} hello
 */

/** @type {Foo} */
const x = {};
x.hello = "hello";
```

But this can cause all sorts of issues later down the line. In .ts files this is not an issue because this behavior immediately emits an error when assigning the empty object.
It would be nice to have a new compiler option that makes this behaviour more strict, similar to the current behavior in .ts files.

### 📃 Motivating Example

Consider the following code:
```js
/**
 * @typedef Foo
 * @property {string} myCoolString
 */

/** @type {Foo} */
let x = {};

x.myCoolString.split(","); // Cannot read properties of undefined!

x.myCoolString = "hello";
```
TypeScript acts as if there is nothing wrong with this, but when running this, you'll end up with an error when trying to use `x.myCoolString` before it's been assigned.

Perhaps an even more subtle situation would be where you forget to assign one of your properties:
```js
/**
 * @typedef Foo
 * @property {string} str1
 * @property {string} str2
 */

/** @type {Foo} */
let x = {};
x.str1 = "hello";

x.str2.split(","); // Cannot read properties of undefined!
```
In this case, it's easy to imagine a scenario where you add a new `@property` to the `@typedef` comment, expecting TypeScript to warn you about all cases in your codebase where you may be creating new objects. But in reality, if you are using dot notation anywhere in your codebase to create `Foo`, then you'll be out of luck.

### 💻 Use Cases

Stricter type checking!