sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: Support Python 3.12
Labels: stat:awaiting tensorflower,type:support,comp:core

### Issue type

Support

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

Yes

### Source

binary

### TensorFlow version

tf 2.15.0.dev

### Custom code

No

### OS platform and distribution

Linux Fedora 39

### Mobile device

_No response_

### Python version

3.12

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

No Python3.12 compatbility and wheels.

This issue can be used as a tracking issue. This includes:

 - [ ] TensorFlow builds fully on Python 3.12
 - [ ] All TensorFlow tests pass on Python 3.12
 - [ ] All CI is run and green on Python 3.12
 - [ ] Wheels are uploaded to PyPI for [tf-nightly](https://pypi.org/project/tf-nightly/#files)
   - [ ] Linux
   - [ ] macOS
   - [ ] Windows
 - [ ] Wheels are uploaded to PyPI for at least one TensorFlow release

### Standalone code to reproduce the issue

```shell
python3.12 -m venv venv
source venv/bin/activate
pip install -U pip setuptools wheel
pip install tf-nightly --pre
```


### Relevant log output

```shell
ERROR: Could not find a version that satisfies the requirement tf-nightly (from versions: none)
ERROR: No matching distribution found for tf-nightly

Prior editiions:
- [2011/3.11](https://github.com/tensorflow/tensorflow/issues/58032#issuecomment-1279963648)
- [2010/3.10](https://github.com/tensorflow/tensorflow/issues/51776#issuecomment-934569048)
- [2009/3.9](https://github.com/tensorflow/tensorflow/issues/44485)
- [2008/3.8](https://github.com/tensorflow/tensorflow/issues/33374)

TF 2.14 has just shipped, meaning we'll likely have to wait for TF 2.15/2.16 again.
```
Repository: material-ui
Issue: [material-ui][Autocomplete] Scroll resets upon selection that has multiple, disableCloseOnSelect and filterSelectedOptions passed as true
Labels: bug 🐛,package: material-ui,component: autocomplete

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/mui-scroll-reset-issue-cpvj7v?file=/Demo.tsx

Steps:

1. Have an autocomplete which has multiple, disableCloseOnSelect and filterSelectedOptions set to true
2. Scroll down and select any one of the options
3. We can observe that the scroll resets back to top


https://github.com/mui/material-ui/assets/12635717/e06eef9d-e686-4052-b15c-bd74ca75cf63




### Current behavior 😯

The scroll gets reset after any selection with above mentioned 3 properties sent as true.

### Expected behavior 🤔

The scroll should not get reset as in case of a long list this will be difficult for the end-user to select multiple options. 

It will be helpful if we control this behavior either by introducing a new prop or by reusing `filterSelectedOptions` boolean near the place where highlighting of the option happens.

### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: godot
Issue: `String.get_slice_count()` on empty string returns 0
Labels: bug,topic:core

### Godot version

Godot v4.2.dev5 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)

### System information

Godot v4.2.dev5 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)

### Issue description

`String.get_slice_count()` on empty string always returns 0, but empty strings normally count.

This is unexpected and it's also the only case inconsistent with the default parameters of `split()`. In general, this method is advertised as a cheap substitute to `split()` and getting the size of the returned **PackedStringArray**.

Examples:

`"a,b,c".split(",")` returns `["a", "b", "c"]` and is considered as 3 slices.
`",,".split(",")` returns `["", "", ""]` and is considered as 3 slices.
`"".split("")` returns `[""]` but is considered as 0 slices.

### Steps to reproduce

```gdscript
prints("".split(",").size(), "".get_slice_count(";"))  # Prints "1 0"
```

### Minimal reproduction project

N/A
Repository: go
Issue: x/tools/gopls: express completion scoring in terms of down-ranking factors
Labels: gopls,Tools,gopls/completion

While investigating #62665, I noticed that there were lots of opportunities to optimize deep completion (see also #63263). However, one obstacle to optimization is the fact that completion candidate score adjustment occurs in multiple places, and is a combination of [multiplication by numbers >1 and <1](https://cs.opensource.google/go/x/tools/+/master:gopls/internal/lsp/source/completion/completion.go;l=2895;drc=7f23bc81dc216f83d56b5256abc053109bf5c58b), [explicit setting of score](https://cs.opensource.google/go/x/tools/+/master:gopls/internal/lsp/source/completion/completion.go;l=1105;drc=7f23bc81dc216f83d56b5256abc053109bf5c58b), and [subtraction](https://cs.opensource.google/go/x/tools/+/master:gopls/internal/lsp/source/completion/completion.go;l=1479;drc=7f23bc81dc216f83d56b5256abc053109bf5c58b).

It's clear that a lot of thought and experimentation went into the current scoring, and it works well overall. However, the way scoring is expressed makes it hard to reason about and hard to refactor (because operations don't commute), and therefore hard to improve.

Additionally, it means that we can never determine that the score is already too low and stop doing work. For example, in one of our kubernetes benchmarks we spend approximately 80ms in type checking and "normal" completion combined, and then another 100-200ms doing deep completion. All of that extra work produces [at most 3 additional candidates](https://cs.opensource.google/go/x/tools/+/master:gopls/internal/lsp/source/completion/deep_completion.go;l=16;drc=6ccb09c054185e349ed607260dade4508463256f). It is likely that by doing cheaper scoring operations first, we could immediately invalidate most of the candidates without having to do more expensive operations such as fuzzy matching and type inference.

I therefore believe that a first step toward improving completions should be to enforce the following rule: _**scores only go down, by multiplicative factors**_. In other words:
- no adding/subtracting to the score
- no multiplying the score by a number >1
- no explicit setting of the score to a constant

I think we can make this change in the existing codebase without changing anything else: each scoring operation needs to be recalibrated to express its outcome using a down-ranking factor.

Unfortunately, there is a lot of knowledge embedded in the current scoring, and therefore making this change naively is likely to result in inferior completions in the short term. @pjweinb has been looking at some large scale testing that may be useful for calibrating completion results, and may help us make this change without regression (or, perhaps, while simultaneously _improving_ results).

CC @adonovan @muirdm @heschi, who have experience with the completion code. WDYT?
Repository: awesome-mac
Issue: 🐞 Bug Report: homebrew
Labels: bug

### 🐞 Describe the bug

HomeBrew:
`brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead

### 📖 Expected behavior

Homebrew should have installed the cask successfully when I used `brew cask`, but the `brew cask` command was replaced with `brew --cask`, so I failed to execute the `brew cask` command to install packages.

### 🌅 Screenshots

<img width="621" alt="image" src="https://github.com/jaywcjlove/awesome-mac/assets/107762511/1362295b-07b7-4216-8b1b-b354148e0ce9">


### 💻 Desktop

MacOS 14.0
Repository: terminal
Issue: Acrylic background not applied at startup
Labels: Needs-Repro,Issue-Bug,Product-Terminal,Priority-2,Area-Windowing

### Windows Terminal version

1.18.2681.0

### Windows build number

10.0.19045.0

### Other Software

_No response_

### Steps to reproduce

Just open Terminal.

In the following gif I am just opening Terminal from the taskbar icon and closing it with ALT+F4 multiple times in a row.
Acrylic background is applied only on the first startup (but it's random).

![Terminal](https://github.com/microsoft/terminal/assets/25966642/4c937edd-3d9a-4b61-a301-223f10b31581)


### Expected Behavior

Acrylic background applied

### Actual Behavior

Acrylic background sometimes is not applied
Repository: next.js
Issue: Hot update requests being routed to a wildcard page
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/jalovatt/next-hmr-issue

### To Reproduce

1. Clone the linked repo
2. `yarn`
3. `yarn dev`
4. Open a browser tab to `localhost:3000/some/path`
5. _Without closing the browser tab_, kill the dev server
6. `yarn dev` again
7. Wait for the compilation and fast refresh.
8. Verify that the console log in `getServerSideProps` shows a `_next/static/webpack...` request being routed through `[path]/[[...slug]].tsx`

### Current vs. Expected behavior

Hot update requests are occasionally being routed to the app code. They should be caught and handled by Next/Webpack.

### 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: x64
  Version: Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64
Binaries:
  Node: 20.7.0
  npm: 10.1.0
  Yarn: 3.6.3
  pnpm: 8.7.5
Relevant Packages:
  next: 13.5.3
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: N/A
Next.js Config:
  output: N/A

I'm not sure why it's showing `13.5.3` - `yarn.lock` and `.pnp.cjs` both confirm that `13.5.4-canary.4` is installed.
```


### Which area(s) are affected? (Select all that apply)

Routing (next/router, next/navigation, next/link)

### Additional context

As noted in the linked repo, this issue shows up for me on `13.4.13-canary.0`; anything earlier behaves as expected.
Repository: material-ui
Issue: Allow the option to format the value of extraAvatars in AvatarGroup
Labels: component: avatar,package: material-ui,enhancement

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

I am using the AvatarGroup component with the `total` prop. In my case, the `total` is a very large number (in the thousands) so I want to format it so it would look like this: `4K` instead of `+4012`.

The solution can be in the form of a formatter prop which accepts the number and returns the formatted value.

### Examples 🌈

_No response_

### Motivation 🔦

The lack of this feature causes me to implement the `total` prop logic by myself, which is unfortunate considering the only thing I need is formatting the value.
Repository: flutter
Issue: Adopt new UIAccessibilityTraitToggleButton
Labels: c: new feature,platform-ios,f: material design,a: accessibility,c: proposal,P2,team-design,triaged-design

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

Have VoiceOver describe elements that behave like a toggle button.

### Proposal

iOS 17 introduced a new UIAccessibilityTrait - [UIAccessibilityTraitToggleButton](https://developer.apple.com/documentation/uikit/uiaccessibilitytraittogglebutton?language=objc).

Also, sounds like if you combine it with the button trait, it'll describe it as a switch.
Repository: godot
Issue: Editor Freezes and Can't Reopen Project If a Thread Never Finishes In a @tool Script
Labels: bug,topic:core,topic:editor

### Godot version

4.1.1.stable

### System information

Windows 10 - Vulkan (Compatibility) - NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3623) - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)

### Issue description

On a `@tool` script, if you have a thread running and you put `thread.wait_to_finish()` in the `_exit_tree()` function, but then never actually make the thread stop, the editor will simply freeze when you try to exit the scene (because its waiting for the thread to finish, which it never will). 

The fix is obvious: change your script so that the thread actually finishes. However, because the error is in a tool script, **Godot will freeze each time you try to reopen the project**. 

Instead, you have to manually open the script file and comment out the `@tool` line. 

The reason the Engine initially freezes is clear but having it freeze each time you try to reenter the project with the `@tool` script in it is not as clear and seems like a bug.

### Steps to reproduce

You can paste this script into any node (the commented out lines fix the freezing):

```GD
@tool
extends Node

var thread := Thread.new()
var semaphore := Semaphore.new()

#var exiting_tree : bool = false

func _ready() -> void:
    thread.start(thread_loop)

func thread_loop() -> void:
    while true:
        semaphore.wait()
        #if exiting_tree:
	    #return 

func _exit_tree():
    #exiting_tree = true
    #semaphore.post()
    thread.wait_to_finish() # Thread will never actually finish.
```

Now try to exit a scene with this script running in it. Godot should freeze. 
Try to reenter the project with this script running in it. Godot should freeze.

### Minimal reproduction project

N/A
Repository: transformers
Issue: compute_metrics with causal LM training
Labels: WIP

### Feature request

Besides loss, users often need to report additional metrics throughout the training in order to drive decision making and communicate results, which in the case of Seq2Seq models is elegantly done with the `compute_metrics` argument of the `Trainer`. Generative metrics easily fit this framework by setting `predict_with_generate=True`. The same is much less straightforward with a Causal underlying LM. The only "working" approach I found is this: https://github.com/huggingface/transformers/blob/5e11d72d4d0939138fbabfebe9a69d2061519547/examples/pytorch/language-modeling/run_clm.py#L578

But I think this is an erroneous calculation: the `logits.argmax(dim=-1)` call does not really generate in inference mode, it "cheats" because of teacher forcing and therefore any metric computed that way is probably inflated. Ideally it would be possible to make the argument passed to `compute_metrics`  include a proper `predictions` attribute that has been properly generated using the trainers generation config.

### Motivation

I am always frustrated when I can't observe the learning trajectory of my generative metric (say BLEU/ROUGE) when using a CML even though it is trivial to do when I am using a S2S

### Your contribution

If you confirm that this is an issue and important enough to justify a fix I may be able to make a PR but can't promise it
Repository: node
Issue: sequential.test-watch-mode-inspect seems flaky
Labels: arm,flaky-test

### Test

sequential.test-watch-mode-inspect

### Platform

Linux ARMv7

### Console output

```console
Error Message
fail (-15)
Stacktrace
---
duration_ms: 360029.938
exitcode: -15
severity: fail
...
```


### Build links

- https://ci.nodejs.org/job/node-test-binary-armv7l/7719/RUN_SUBSET=js,nodes=ubuntu2004-armv7l/
- https://ci.nodejs.org/job/node-test-binary-armv7l/7715/RUN_SUBSET=js,nodes=ubuntu2004-armv7l/

### Additional information

_No response_
Repository: vscode
Issue: Settings editor width overflows space in 2x2 grid
Labels: bug,help wanted,splitview-widget,grid-widget

1. Open 2x2 grid 
2. `Cmd+,` to open settings editor
3. :bug: settings editor scrollbar overflows its bounding grid



![Image](https://github.com/microsoft/vscode/assets/30305945/2ba68385-2d6e-457a-ad6c-ae9d9df719f0)
Repository: flutter
Issue: Timeout for `image_picker_android` and `google_sign_in_android` integration tests
Labels: p: google_sign_in,p: image_picker,P2,team-android,triaged-android

The `google_sign_in_android` and `image_picker_android` are timing out on the test that verifies the plugin has been added.

https://github.com/flutter/packages/blob/main/packages/google_sign_in/google_sign_in_android/example/android/app/src/androidTest/java/io/flutter/plugins/googlesigninexample/GoogleSignInTest.java#L15
https://github.com/flutter/packages/blob/main/packages/image_picker/image_picker_android/example/android/app/src/androidTest/java/io/flutter/plugins/imagepickerexample/ImagePickerTest.java#L15

The test is causing a timeout on Firebase Test Lab and blocks the Flutter -> Packages roller.

The test seems to run locally.

See https://github.com/flutter/packages/pull/5011 for errors
Repository: vscode
Issue: Markdown Preview shows outdated file content
Labels: bug,markdown

<!-- ⚠️⚠️ 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.82.2
- OS Version: Win11 

Steps to Reproduce:

1.  Open vscode and create a markdown file ("test.md")
2. open file, add some content and open Markdown Preview
3. close VScode Editor but keep Markdown Preview open
4. change markdown file outside of VSCode Editor (e.g. terminal inside VSCode)
5. reopen VSCode Editor, close Markdown Preview and reopen new Markdown Preview

Markdown Preview does not update content and shows content from step 2.


![markdown_bug](https://github.com/microsoft/vscode/assets/13434739/61a70dac-fe5e-4471-b92b-f6c26af50136)
Repository: flutter
Issue: Remove macOS 13 recipes checks after all hosts upgraded to macOS 13
Labels: team-infra,P3,triaged-infra

### Is there an existing issue for this?

- [X] I have searched the [existing infra issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Ateam-infra)

### Type of Request

infra task

### Infrastructure Environment

Recipes / LUCI

### What is happening?

We had to introduce some macOS 13 specific logic to recipes (https://flutter-review.googlesource.com/c/recipes/+/51340), since macOS 13 handles Xcode and iOS runtimes differently than macOS 12.

Once all hosts are upgraded to macOS 13, we can remove the checks and just use the macOS 13 logic throughout.

### Steps to reproduce

N/A

### Expected results

N/A
Repository: material-ui
Issue: [website] Display dynamic data on the homepage's testimonial section
Labels: website

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Display data dynamically on testimonial part of the homepage of the website. 

I want to contribute for this issue, Please assign it to me. 

### Examples 🌈

![image](https://github.com/mui/material-ui/assets/81584747/7fcdb598-3564-48af-a900-74de6445380f)

Here is npm download, stars on github, open source contributer and followers on twitter are hard coded. 


### Motivation 🔦

This will give a good impression to user for live stats about the webiste and repo.
Repository: flutter
Issue: Provide a percentage-based Radius
Labels: c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

### 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

Probably, the most common case for the class `Radius` is to be used with `BorderRadius` or `RRect` to describe the shape of a box/container.

Currently, we only have the option to describe it with absolute values. For instance, `Radius.circular(16.0)` describes a radius where both `x` and `y` have the same value (`16.0`).

One common case, however, is to have a box with proportional (relative) radius instead of absolute. This guarantee that the radius will be scaled with the box size.

This is very common in web, as in CSS we have a way to define a [border-radius](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius) in terms of percentage:

```css
border-radius: 10%;
```

### Workaround

To do this in Flutter today, we have to manually compute the radius based on the size of the box.

Example:
```dart
final class AreaPainter extends CustomPainter {
  AreaPainter(this.radiusInPercentage);

  final double radiusInPercentage;

  @override
  void paint(Canvas canvas, Size size) {
    final radius = Radius.elliptical(
      size.width * radiusInPercentage,
      size.height * radiusInPercentage,
    );
    final rrect = RRect.fromRectAndRadius(Offset.zero & size, radius);
    final paint = Paint()..color = const Color(0xFFFF0000);

    canvas.drawRRect(rrect, paint);
  }

  @override
  bool shouldRepaint(AreaPainter oldDelegate) {
    return oldDelegate.radiusInPercentage != radiusInPercentage;
  }
}
```

### Proposal

We should provide a `Radius` that is described by percentage instead of by absolute values.
Repository: PowerToys
Issue: Text Extractor - Use the most recent language used for extracting text for the next Text Extractor session
Labels: Idea-Enhancement,Product-Text Extractor

### Description of the new feature / enhancement

For the Text Extractor, instead of having a default language to pick that would be used for all new sessions, what about from the last Text Extractor session, that language is saved/cached and would be used for the next session. This option would be in the default language selector as maybe "Use Last's Session Language (the last language that you used)".

### Scenario when this would be used?

Since a lot of people (including me) use different languages for a short period of time, and switch to another, this could be useful in the sense that you don't need to change the default language in the settings every time, or that you don't want to change the language in the dropdown every time.

### Supporting information

_No response_