sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [joy-ui][Radio] Can't use a checked icon/unchecked icon when setting a background color
Labels: on hold,component: radio,package: joy-ui

### Steps to reproduce

Link to live example: [(required)](https://codesandbox.io/p/sandbox/nice-hill-vvtyfy?file=%2Fsrc%2FDemo.tsx%3A36%2C46)

Steps:
1. Create a radio group that contains radios with `disableIcon` set and `slotProps` that change the background color of the `action` component when the radio is checked. e.g. [This example from the docs](https://codesandbox.io/p/sandbox/nice-hill-vvtyfy?file=%2Fsrc%2FDemo.tsx%3A36%2C46)
2. See that it's possible to select the different options, the background color changes, and the label text is still visible.
3. Remove the `disableIcon` prop and pass a `checkedIcon` and/or `uncheckedIcon` prop with a random icon from `@mui/icons-material`.
4. See that the background color of a selected radio hides the icon and label.


### Current behavior

The label and icon are hidden when the option is selected.

https://github.com/mui/material-ui/assets/1231200/59b99689-359f-4921-9963-18de4f04b017


### Expected behavior

The label and icon should remain visible when the option is selected.

### Context

Create a radio button group with options that change background color when selected and include icons.

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
System:
    OS: macOS 14.4.1
  Binaries:
    Node: 21.7.3 - ~/.asdf/installs/nodejs/21.7.3/bin/node
    npm: 10.5.0 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 9.0.1 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 124.0.6367.62
    Edge: Not Found
    Safari: 17.4.1
  npmPackages:
    @emotion/react: ^11.11.4 => 11.11.4 
    @emotion/styled: ^11.11.5 => 11.11.5 
    @mui/joy: 5.0.0-beta.36 => 5.0.0-beta.36 
    @mui/material: ^5.15.15 => 5.15.15 
    @types/react: ^18.2.79 => 18.2.79 
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    typescript: ^5.4.5 => 5.4.5 
```
</details>

Tested in Chrome, Safari, and Firefox

**Search keywords**: radio background color icon
Repository: vscode
Issue: Expanded SCM tree view is not scrolled into view
Labels: bug,workbench-views,confirmed

- Expand several tree views except for the last tree view in the SCM pane so that a vertical scrollbar appears 
- Expand the last tree view
- It expands but is not scrolled into view 🐛 

https://github.com/microsoft/vscode/assets/61460952/6a7e996c-354b-459c-bda5-22ace636f33d
Repository: angular
Issue: Image lazy loading doesn't work in SSR when using ngTemplateOutlet and disabled hydration
Labels: area: server

### Which @angular/* package(s) are the source of the bug?

platform-server

### Is this a regression?

No

### Description

In fresh application created with angular 17.3.4, with SSR and disabled hydration (removed `provideClientHydration()` from providers), when I setup html to use html `<picture>` element with `<ng-container [ngTemplateOutlet]="tmpImg"></ng-container>` inside of it - image lazy loading is not working in Chrome and Safari. For Firefox it works in each case. 

Example:
```
<picture>
        <source *ngFor="let source of [1,2,3]"
          [srcset]="'https://source.unsplash.com/random/200x300?sig=' + (source + 20 + i)"
          [media]="'(min-width: ' + (source * 100) + 'px)'" />

        <ng-container [ngTemplateOutlet]="tmpImg"></ng-container>
</picture>

<ng-template #tmpImg>
    <img [loading]="loading" [src]="'https://source.unsplash.com/random/200x300?sig=' + i" alt="Alt"
        class="list__img" />
</ng-template>
```
The `loading` property inside of the component is `public loading = 'lazy'`.

I created three listings with 20 elements with images. Each listing has different images setup, and I see that when `<img>` is inside of the `<picture>` element directly, without usage of template outlet, lazy loading works fine. 
But if there is `<ng-container [ngTemplateOutlet]="tmpImg"></ng-container>` that loads `<img>` tag instead of placing `<img>` directly - lazy loading doesn't work. 
Also, if `<img>` is placed directly inside of `<picture>`, but has `*ngIf` attribute on `<img>`, lazy loading also doesn't work. 

When the hydration is enabled - image lazy loading is working for all scenarios.

Full html could be checked on https://github.com/rmch91/image-lazy-loading/blob/main/src/app/listing2/listing2.component.html

### Please provide a link to a minimal reproduction of the bug

https://github.com/rmch91/image-lazy-loading

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 17.3.4
Node: 18.14.0
Package Manager: npm 9.3.1
OS: darwin arm64

Angular: 17.3.4
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Browser: Chrome, Safari
```


### Anything else?

_No response_
Repository: godot
Issue: Flags emoji not rendering correctly on Godot 4.2.1
Labels: bug,topic:gui

### Tested versions

v4.2.1.stable.official [b09f793f5]
v4.2.2.stable.official [15073afe3]

### System information

Ubuntu 22.04 - Vulkan API 1.3.232 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon RX 6600M

### Issue description

I would like to use emojis on label/richtextlabel, I followed the [docs](https://docs.godotengine.org/en/stable/tutorials/ui/gui_using_fonts.html#using-emoji) and used [Noto Color Emoji](https://fonts.google.com/noto/specimen/Noto+Color+Emoji) in the labels that I want to use emojis, some of them works, but the ones that I needed the most don't.
![image](https://github.com/godotengine/godot/assets/85710616/e124b938-0ac8-4d57-89a4-0eac028437bf)
![image](https://github.com/godotengine/godot/assets/85710616/ca167e35-4495-437a-b7ec-06b834bc18fb)
Some flags are missing parts (ex. Brazil, Japan), other don't even show up (ex. US), already checked this font and the flags do work normally on the web

### Steps to reproduce

Create a Label or RichTextLabel, use the Noto Color Emoji font on it, and try to use any flag related emoji. I'm linking the MRP, the scene emoji-example.tscn contains both already configured and filled with examples.
The max upload size is 10MB and the font is 22MB+, so you have to download the font [Noto Color Emoji](https://fonts.google.com/noto/specimen/Noto+Color+Emoji) and place it on Theme overrides > Fonts

### Minimal reproduction project (MRP)

[mini-rep-emoji.zip](https://github.com/godotengine/godot/files/15096028/mini-rep-emoji.zip)
Repository: vscode
Issue: VS-Code Insiders - 1.89.0 broke Jupyter PowerToys Execute Group feature
Labels: bug,notebook

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
Version: 1.89.0-insider
Commit: 6d23b7f11a3d7292b9458f0de7160048089398f9
Date: 2024-04-24T05:50:15.963Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0: 

Steps to Reproduce:

1. Load jupyter notebook with Grouped cells e.g. Group 1, Group 2 
2. In VS-Code-Insiders, option to Execute groups greyed out.
<img width="958" alt="image" src="https://github.com/microsoft/vscode/assets/10182821/a2695140-0c04-46a7-bac1-b50c1c1b48cc">
3. Open same notebook in VS Code, Execute Groups tabs enabled.
<img width="1075" alt="image" src="https://github.com/microsoft/vscode/assets/10182821/f0b5a3c9-d2cb-4925-9986-60110fabe756">
Repository: ollama
Issue: Simple guide for using/uploading custom models from Windows onto Ollama.
Labels: feature request

Ollama is fantastic, however until now i've been dependant on models that are already on the website.. There are many models from hugging face that I wanna use with Ollama (since Ollama is highly optimized and larger models run better on my computer using it). However, there are literally zero guides online about how to do that on windows.. The tutorials on youtube are all about Mac or Linux (which is frustrating)... And the guide on how to do that in this page is extremely confusing and unnecessarily overcomplicated (and again, it uses Mac and Linux terminology).

If someone could do a simple step by step for Windows users that'd be cool (such as how to upload models from HF onto the Ollama website so that they can be downloaded in the natural way via "Ollama run [model]" in the console like usual ollama models).
Repository: excalidraw
Issue: Add threshold for accidental x/y movements
Labels: bug,UX/UI,history

Unprecise clicks with the touchpad or mouse could lead to accidentally capturing such changes, messing up the position of elements on history actions. Let's consider adding a good enough threshold for capturing such changes.
Repository: vscode
Issue: Misaligned editor cursor in Insiders
Labels: bug,font-rendering,editor-rendering

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.89.0-insider (Universal)
- OS Version: macOS Sonoma 14.3.1

When a line contains any of the "special*" characters "å", "ä" or "ö" (alternatively (capitalised) "Å", "Ä", "Ö") the cursor is misaligned on 20 selected characters in/Col 21. It also happens later on 42 selected in and likely later.

![Recording 2024-04-24 at 17 26 33](https://github.com/microsoft/vscode/assets/4050133/c368b30f-ed0b-4521-ad16-a942611bee18)

(* I say "special" because they are a part of our alphabet so they aren't very special to us)

It doesn't matter where on the line the character is, it can be after and still have the same result.
This only happens in Insiders.

Steps to Reproduce:

1.  Put one of the characters mentioned above on a line somewhere or paste the below content into a new file
```
                    
            Ö       
                    
```
2. Put a cursor on each line (for visibility) on Col 21 (farthest to the right if you use above content)
Repository: TypeScript
Issue: TypeScript language service cannot find subclass references/implementation of mixin methods
Labels: Suggestion,Help Wanted,Experience Enhancement

### 🔎 Search Terms

mixin mixins reference references implementation implementations find go to goto language service server protocol lsp

### 🕗 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?#code/C4TwDgpgBAwg9gOwM7AE4FcDGw6oCrjQC8UAhgEYqqnZQIQDuUAFAHTtinUC2SAXGQQgA2gF0AlFCIA+QSABQAM3QJsAS0RQAYnDhaAPHigQAHsAgIAJkliIqWHPkLTmAIVJIIAvJIDe8qECySjQaYChMABsPGx04YzMLayh3Tyh-IMzgqjCoRV1mcQEANzg1SwBuAKCAX2rA1AhgdFQEbV0quvkomJSuBPMrWN0tZgB5cgArCGw-eryCvzqaoA

### 💻 Code

```ts
type ConstructorType = abstract new (...params: any[]) => any
function FooF<T extends ConstructorType>(Base: T) {
    abstract class Foo extends Base {
        abstract foo(): void;
    }
    return Foo;
}

class Bar extends FooF(Object) {
    foo() {}
}
```

### 🙁 Actual behavior

Note: I noticed this in my editor and not using the TS language service API directly, but I'm assuming the problem is at the Language Service layer

In the TS playground, if you try to "Find All / Go to References", "Rename symbol", or "Find All / Go to Implementation" (in VS Code, for example) for `Foo.foo`, it won't find/update `Bar.foo`.

### 🙂 Expected behavior

I would expect TS to recognize that `Bar.foo` is a reference/implementation of `Foo.foo`. Note that TS does correctly require `Bar` to implement `foo`, so the compiler already has some idea that they are connected.

I know it's not within the scope of this repo but I'll mention it in case it helps with anything, but FWIW while IntelliJ also fails at finding references/implementations (probably because it defers to the TS Language service), IntelliJ _also_ provides a "Go to Super method" function that _does_ correctly jump from `Bar.foo` to `Foo.foo`.

### Additional information about the issue
After snooping around the source a little, my guess is that either:
- something around how TS represents mixin classes, as kind of un-named class expressions e.g. `((abstract new (...params: any[]) => Foo) & {
    prototype: FooF<any>.Foo;
}) & T` instead of `typeof Foo & T` in the above example (visible if you hover over `FooF`), and/or
- something around how TS searches for whether a symbol inherits from another symbol so explicitly checks the extends clause (https://github.com/microsoft/TypeScript/blob/2e58032f067fbe0d6efbdc970b54b6d72c349aa8/src/services/findAllReferences.ts#L2283-L2302) could be improved
Repository: pytorch
Issue: Use lintrunner-adapters for our adapters when possible
Labels: module: lint,triaged

### 🐛 Describe the bug

https://github.com/justinchuby/lintrunner-adapters seems nice. We should use it.

@justinchuby, do you happen to know which adapters are exactly compatible with PyTorch's and which ones we shouldn't use? Also, I'm a bit unsure about how to actually install lintrunner_adapters; you seem to suggest that you should manually pip install it before running lintrunner, but I'd like `lintrunner init` to automatically take care of this, ideally.

### Versions

main
Repository: ollama
Issue: Support for Snowflake Arctic
Labels: model request

Snowflake just released new models: 

https://huggingface.co/Snowflake/snowflake-arctic-instruct

https://huggingface.co/Snowflake/snowflake-arctic-base
Repository: vscode
Issue: Notebook editor can take a long time to open
Labels: bug,freeze-slow-crash-leak,notebook

Does not repro consistently

1. close all tabs, reload vscode
2. open notebooks and let the editor load one at a time for a few editors
:bug: one of them will sometimes take up to 10 seconds to load the editor

It seems to be the custom markdown workflow that takes the longest:

```
[NotebookEditor] open notebook perf file:///c%3A/src/test/7/1.ipynb - extensionActivation: 2578, inputLoad: 2725, webviewComm: 2725, customMarkdown: 9303, editorLoad: 9384
[NotebookEditor] open notebook perf file:///c%3A/src/test/7/2exported.ipynb - extensionActivation: 13, inputLoad: 31, webviewComm: 31, customMarkdown: 4057, editorLoad: 4089
[NotebookEditor] open notebook perf file:///c%3A/src/test/7/2.ipynb - extensionActivation: 18, inputLoad: 352, webviewComm: 352, customMarkdown: 9242, editorLoad: 9292
```
Repository: ollama
Issue: MESSAGE dont work in REST API
Labels: bug,api

### What is the issue?

Hi i am using your model file definition to train an AI, but when i use the rest api the knoledgment passed througth the MESSAGE structure my AI dont work, what i am missing?

Example of my Model file

```modelfile
FROM llama2
SYSTEM """Eres un asistente que ayuda a los clientes de la empresa Octano, dentro de la empresa se te ha asignado la atención al cliente,  debes responder con respuestas cortas y claras. La conversación solo la debes dar en el lenguaje español."""
MESSAGE user """¿Como te llamas?"""
MESSAGE assistant """Mi nombre es Octavio, soy el asistente virtual de Octano, estoy aquí para ayudarte con tus consultas."""
MESSAGE user """¿Que servicios brindan?"""
MESSAGE assistant """En Octano ayudamos a las personas a aprender programación a traves de nuestros cursos y webinars."""
```
Additional i am using ollama-js to generate the Model file and then througth the method ollama.create i am loading

```js
await ollama.create({ model: 'octavio', modelfile: Modelfile });
```

The problem is when i using the rest api, the ai only use the SYSTEM information, all the training passed about the MESSAGE parameter is forgeted.

All the information passed with the MESSAGE structure only work in the terminal when i use the :

```
ollama run octavio
```
When i stay in the terminal and chat there my ai works well, but not when use the rest api.

Thanks for your help


### OS

macOS

### GPU

Apple

### CPU

Apple

### Ollama version

0.1.32
Repository: node
Issue: Error with child_process spawn after updating to node 20.11.0
Labels: child_process

### Version

20.11.0

### Platform

Mac OS Sonoma

### Subsystem

_No response_

### What steps will reproduce the bug?

No specific steps, related to custom project framework.

### How often does it reproduce? Is there a required condition?

Consistence error. 

### What is the expected behavior? Why is that the expected behavior?

_No response_

### What do you see instead?

```console
Error: spawn Unknown system error -8
  at ChildProcess.spawn (node:internal/child_process:421:11)
  at spawn (node:child_process:761:9)
  at: file_path
 error: -8,
code: 'Unknown system error -8'
 syscall: 'spawn'
```

### Additional information

After updating to node 20.11.0 running `pnpm` command which linked with `ChildProcess.spawn` stopped working, when downgrading back to 18.11.0 it works fine. Maybe anyone else have encounter this issue?
Repository: flutter
Issue: et on windows prints broken character (boxed question mark) in terminal output
Labels: engine,P3,team-engine,triaged-engine

![image](https://github.com/flutter/flutter/assets/381137/21c088e1-478b-4a9e-bdb6-968db623063e)
Repository: pytorch
Issue: Deprecate unsupported types in operator registration
Labels: high priority,triaged,module: custom-operators,months,oncall: pt2,module: pt2-dispatcher

We support some weird types:
```py
import torch
lib = torch.library.Library("mylib", "FRAGMENT")
lib.define("foo(Tensor[][][][] x) -> Tensor")
```
PyTorch does not give full support for this type; for example, the dispatcher will just ignore `x` when dispatching.

We should:
1. identify an acceptable list of input/output types for custom ops and put it somewhere as the source of truth. torchgen may have this already; export has their own list: https://github.com/pytorch/pytorch/blob/main/torch/_export/serde/schema.py#L155
2. deprecate registering operators that are not of this type.

cc @ezyang @gchanan @kadeng @msaroufim @bdhirsh @anijain2305 @chauhang
Repository: flutter
Issue: Upgrade remaining iOS 16 devices to 17
Labels: team-infra,P2,infra: metrics,infra: device lab,triaged-infra

Recent beta release is done with iOS16 devices, and we are unblocked to upgrade these to iOS17.

https://chromium-swarm.appspot.com/botlist?c=id&c=task&c=cores&c=os&c=status&d=asc&f=os%3AMac&f=device_os%3AiOS-16&k=device_os&s=id

/cc @godofredoc @yusuf-goog
Repository: pytorch
Issue: support side effects in HOPs?
Labels: triaged,enhancement,oncall: pt2,module: higher order operators,module: compiled autograd,module: pt2-dispatcher

Imagine `torch.utils.checkpoint.checkpoint(fun, args)`. If `fun` mutates a global variable, then we expect it to also mutate the global variable during the backward pass (under eager-mode PyTorch). There's no way of expressing this today.

In order to get this to work:
- speculate_subgraph(fun) needs to record a list of side effects that `fun` does.
- Something needs to replay the side effects from `fun` during backward. Maybe this can only be supported via compiled autograd.

cc @ezyang @chauhang @penguinwu @ydwu4 @bdhirsh @msaroufim @anijain2305
Repository: vscode
Issue: notebook progress accessibility signal refinement suggestions
Labels: feature-request,accessibility

              i've been taking advantage of these audio cues when running long-running operations in notebooks in the latest insider build, thank you for implementing this! I wanted to make a few suggestions based on my observations to improve the experience.
- determinant Vs. indeterminant progress bars could use different audio cues. I observe that VSCode plays the chat response pending sound for any operation that takes above a certain time. It may be useful to have a different sound as suggested by @jooyoungseo  that conveys the actual progress for long operations that surface this information (e.g. operations using the TQDM progress bars), with the chat response pending sound reserved for operations with indeterminant progress.
- option to set smart repeat frequency based on desired verbosity for determinant progress bars. The current experience results in an audio cue being played every few seconds irrespective of the duration of the operation. This could result in noisy output for long-running operations. For example, hearing an alert every 3 seconds for an operation that is expected to take a few hours may not be desirable. updates with lesser verbosity, combined with VSCode's ability to play these cues in the background could enable an amazing multi-tasking developer experience. TQDM progress bars provide the following information to screen readers which makes me think that smart repeat frequency may be possible: " 57%|█████▊    | 115/200 [1:55:47<1:25:38, 60.46s/it]"
- Option to disable audio cues when VSCode is out of focus. This may be less necessary if the alert frequency can be adjusted based on operation time for tasks that provide information for the runtime to be estimated as suggested in my previous point but may still be useful for long-running tasks where runtime cannot be estimated.
- potentially confusing reasons for progress. I do not have a suggestion yet on how to address this, but I notice that VSCode plays a few progress sounds when I wake my computer up even if there is no running operation. I work by connecting to a computer via remote-ssh so I am not sure if this sound is a result of my local IDE re-connecting to VSCode Server on the remote machine. Being able to identify what a progress bar corresponds to could be helpful.

_Originally posted by @venkateshpotluri in https://github.com/microsoft/vscode/issues/196396#issuecomment-2073102309_