sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Focus movement with Attached file pill should be improved
Labels: bug,accessibility,chat

1. Open chat view, notice current file is attached and rendered as a pill
2. Press <kbd>Tab</kbd> -> focus is nicely moved to the pill
3. Press <kbd>Tab</kbd> focus moves to the eye
4. Press space on the eye. Focus gets lost 🐛  Instead focus should stay on the pill
5. Press <kbd>esc</kbd> when focus is on the pill. It should move focus back to chat like find widget does 🐛 

In addition we need to make it easier for users to remove / disable items. This can follow the breakpoints pattern.
* When focus is on the pill, <kbd>cmd</kbd>+<kbd>backspace</kbd> on macOS and <kbd>delete</kbd> on Win and LInux

Fixing this should make it easier for a keyboard centric user to disable / enable attached files. And move focus back to input.

fyi @ulugbekna @meganrogge
Repository: node
Issue: Add a `level` parameter to test runner diagnostics
Labels: feature request,test_runner

maybe we should add a `level` parameter in diagnostics (i.e debug/info/warn/error) so reporters can implement coloring or other things

_Originally posted by @MoLow in https://github.com/nodejs/node/pull/55911#discussion_r1847778597_
Repository: electron
Issue: How to use fetch() from utility process with self-signed certs / custom proxy settings?
Labels: enhancement :sparkles:

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

#### Context

It is possible to use `net.fetch()` from a utility process. As stated [here](https://www.electronjs.org/docs/latest/api/net#netfetchinput-init) in the documentation:

> This method will issue requests from the [default session](https://www.electronjs.org/docs/latest/api/session#sessiondefaultsession). To send a fetch request from another session, use [ses.fetch()](https://www.electronjs.org/docs/latest/api/session#sesfetchinput-init).

So using `net.fetch()` in a utility process basically comes down to using `session.defaultSession.fetch()`.

#### Requirement

I need to use [session.setCertificateVerifyProc()](https://www.electronjs.org/docs/latest/api/session#sessetcertificateverifyprocproc) in order to accept self-signed certificates from a given certificate authority. However, I want that logic to be limited to the task performed by a utility process. So I would like to do the following in a utility process:
- create a session that is specific to that utility process (using `session.fromPartition()`)
- call `setCertificateVerifyProc()` on that specific session
- to then call `fetch()` on that specific session

#### Problem

`session` is undefined in the context of a utility process.


### Proposed Solution

Make `session` available in the context of a utility process.

Note that this could maybe help reconcile the 2 different ways of setting proxy configuration (see below, this is error-prone).

```js
const config = { proxyRules };

// Set proxy settings for main process and renderer processes
session.defaultSession.setProxy(config);

// Set proxy settings for utility process
app.setProxy(config);
```

### Alternatives Considered

NA

### Additional Information

_No response_
Repository: PowerToys
Issue: Add a Group Policy Management tool
Labels: Needs-Triage

### Description of the new feature / enhancement

A new Group Policy Management tool for PowerToys that simplifies and modernizes the experience of working with Group Policies. This tool would provide an intuitive interface and streamlined functionality compared to the existing Group Policy Editor. It would also integrate seamlessly into the PowerToys suite, complementing tools like the Environment Variables, Hosts File Editor, and Registry Preview.

### Scenario when this would be used?

Managing Group Policy settings on Windows can be cumbersome due to the outdated interface and overly complex options in the current editor. For example:
- A administrator wants to quickly enable or disable a specific policy but struggles to navigate through multiple layers in the existing tool;
- Another admin needs to view and adjust multiple policies efficiently, but the lack of a modern search and filter system slows down the process.

With a Group Policy Management tool in PowerToys, these users can perform these tasks faster and with greater ease, enhancing productivity. This tool could also help users who regularly adjust system configurations consolidate all system-related tools in one place for better accessibility.

### Supporting information

_No response_
Repository: kubernetes
Issue: resourceFieldRef.divisor when unspecified is set to 0 (documented is 1) 
Labels: kind/bug,sig/api-machinery,sig/apps,triage/accepted

### What happened?

The divisor key in [ResourceFieldRef](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/resource-field-selector/#ResourceFieldSelector) is documented to default to 1.

However, when applying a manifest using a resourceFieldRef without specifying the divisor, then checking the spec, the divisor is set to '0'.

### What did you expect to happen?

The field should either not be present when checking the manifests, or having the correct value.

### How can we reproduce it (as minimally and precisely as possible)?

On a kubernetes cluster, deploy the following manifest:
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: test-divisor
  name: test-divisor
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-divisor
  template:
    metadata:
      labels:
        app: test-divisor
    spec:
      containers:
      - image: invalid-name
        name: test-divisor
        resources:
          limits:
            memory: 30M
        env:
        - name: GOMEMLIMIT
          valueFrom:
            resourceFieldRef:
              resource: limits.memory
```

Then run 
```console
$ kubectl get deploy test-divisor -o jsonpath='{.spec.template.spec.containers[0].env[0].valueFrom.resourceFieldRef.divisor}{"\n"}'
0
```

### Anything else we need to know?

This cause problem for things like argocd which considers the application perpetually out of sync (see cilium/cilium#3063)

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.29.10
WARNING: version difference between client (1.31) and server (1.29) exceeds the supported minor version skew of +/-1
```

</details>


### Cloud provider

<details>
None
</details>


### OS version

<details>

```console
$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

$ uname -a
Linux framework 6.11.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:41 +0000 x86_64 GNU/Linux
```
</details>


### Install tools

<details>
Kubespray
</details>


### Container runtime (CRI) and version (if applicable)

_No response_

### Related plugins (CNI, CSI, ...) and versions (if applicable)

_No response_
Repository: flutter
Issue: Smoothing Discrete Scroll Inputs
Labels: framework,f: scrolling,platform-web,a: desktop,P3,design doc,team-framework,triaged-framework,:scroll:

### Document Link

https://flutter.dev/go/smoothing-discrete-scroll-inputs

### What problem are you solving?

One of the first, and often blocking, issues noticed by developers when evaluating Flutter for desktop/web application development is its default scrolling behavior.

When using low-resolution input devices, like a mouse with a scroll wheel, or when making quick gestures on high-resolution devices, scrollable content may shift abruptly by hundreds of pixels from one frame to the next. This behavior may be perceived negatively in several ways:

- The abrupt movement of scrollable content might interrupt the natural flow of reading. In applications that implement smooth scrolling, users can follow text seamlessly as they scroll. Without this functionality, users must constantly refocus and locate their previous reading position after each scroll.
- Modern web applications are generally expected to feature smooth scrolling, as it is enabled by default across all major browsers and platforms. The absence of smooth scrolling in an application can make the experience feel inconsistent with standard web interactions and diminish the overall perception of quality.
- The sudden nature of step-based scrolling might lead users to believe that there is an issue with their device or browser.

### What issues does this document resolve?

- https://github.com/flutter/flutter/issues/32120
- https://github.com/flutter/flutter/issues/159194
- https://github.com/flutter/flutter/issues/159195
Repository: vscode
Issue: Only add reference padding when the text is available
Labels: feature-request,code-lens

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

The codebase I'm working on now takes some time to resolve all the dependencies and the references. 

https://github.com/user-attachments/assets/eca1e935-6316-4ce7-a64b-808a995c0f81

VSCode adds an empty "padding" while resolving the project dependencies, which leads me to think that I have an empty line multiple times when that's not the case.

Proposed solution: only move the text when the references are solved. I attached a recording of the issue.
Repository: tensorflow
Issue: tf.gather and workarouds are very slow on TPU
Labels: stat:awaiting tensorflower,comp:tpus,type:performance,TF 2.16

### Issue type

Performance

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.16.1

### Custom code

Yes

### OS platform and distribution

Ubuntu 22.04.2 LTS

### Mobile device

TPU VM

### Python version

3.10.12

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

Hi all,

I am trying to solve a performance bug that occurs during pretraining/fine-tuning a DeBERTa model on TPUs.

In a nutshell, the `tf.gather` implemention is very slow on TPUs (but very fast on GPUs).

I am now looking for a way, that boosts up the `tf.one_hot` + `tf.einsum` trick, which would have massive impact in pretraining DeBERTa models to widespread it's usage.

There are some issues that have also reported this issue:

* https://github.com/huggingface/transformers/issues/18239
* https://github.com/keras-team/keras-hub/issues/606

But with no solution yet. Any help is highly appreciated!

### Standalone code to reproduce the issue

Here's a code snippet with an example:

```python
def take_along_axis_v2(x, indices):
    # Only a valid port of np.take_along_axis when the gather axis is -1

    # TPU + gathers and reshapes don't go along well -- see https://github.com/huggingface/transformers/issues/18239
    if isinstance(tf.distribute.get_strategy(), tf.distribute.TPUStrategy):
        # [B, S, P] -> [B, S, P, D]
        one_hot_indices = tf.one_hot(indices, depth=x.shape[-1], dtype=x.dtype)

        # if we ignore the first two dims, this is equivalent to multiplying a matrix (one hot) by a vector (x)
        # grossly abusing notation: [B, S, P, D] . [B, S, D] = [B, S, P]
        gathered = tf.einsum("ijkl,ijl->ijk", one_hot_indices, x)

    # GPUs, on the other hand, prefer gathers instead of large one-hot+matmuls
    else:
        gathered = tf.gather(x, indices, batch_dims=2)

    return gathered
```

Taken from https://github.com/WissamAntoun/CamemBERTa/blob/1a1fb4a658729dfac2bb93842d88261132803ec3/modeling_tf_deberta_v2.py#L734-L750



### Relevant log output

_No response_
Repository: rust
Issue: Tracking Issue for `const_destruct`
Labels: T-lang,T-libs-api,C-tracking-issue,F-const_trait_impl,T-types,PG-const-traits

Feature gate: `#![feature(const_destruct)]`

This is a tracking issue for `const_destruct`, which enables the naming of the `Destruct` trait and its use in `~const` bounds to allow dropping values in const contexts.

### Public API

```rust
pub trait Destruct { }
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Implementation: It was already implemented, but it's getting a new feature gate in https://github.com/rust-lang/rust/pull/132329.
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

### Unresolved Questions

- Do we want to allow `~const` bounds on `const Drop` impls?

I think we do, and sorely need them for const drop to ever be useful. See my justification in https://github.com/rust-lang/rust/pull/132329#discussion_r1838749569. We want to be able to implement a conditional drop impl like:

```rust
struct DropAndCall<F: Fn()>(F);

impl<F> const Drop for DropAndCall<F>
where
    F: ~const Fn(),
{
    fn drop(&mut self) {
        (self.0)(); // This should be allowed.
    }
}
```

 This is what is implemented on nightly.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: neovim
Issue: Sporadic crashes on Sway/Wezterm
Labels: has:repro,has:backtrace,bug-crash,has:plan,column

### Problem

Neovim sometimes crashes when I'm editing code. It has happened three or four times now. It always crashes with the same assertion error:
```
vim: /usr/src/debug/neovim/neovim/src/nvim/normal.c:2539: nv_screengo: Assertion `curwin->w_curswant <= INT_MAX - w' failed.
```

I don't know if this is an actionable issue - but I expect it happens to other people as well.

### Steps to reproduce

I have no idea how to reproduce it - since it for me happens sporadically.

### Expected behavior

I expect it not to crash.

### Nvim version (nvim -v)

NVIM v0.10.2 Build type: RelWithDebInfo LuaJIT 2.1.1727870382 Run "nvim -V1 -v" for more info

### Vim (not Nvim) behaves the same?

Have not been able to verify.

### Operating system/version

6.11.5-arch1-1 x86_64 GNU/Linux (Arch Linux)

### Terminal name/version

wezterm 20240203-110809-5046fc22

### $TERM environment variable

xterm-256color

### Installation

Arch public repository - so mainline Neovim on arch linux
Repository: vscode
Issue: Editor GPU: Live share participant indicators shows gpu lines bleeding through
Labels: bug,editor-gpu

![Image](https://github.com/user-attachments/assets/c4c48255-6b4b-4a2f-ad19-c1e20f4b852e)
Repository: opencv
Issue: opencv university button also should want by hovering background color into blue like that shop now button 
Labels: feature

### Describe the feature and motivation

This issue regarding some user experience , both button should want same css so that it is good user experience.
i also attach screenshot of this issue
![Screenshot 2024-11-19 225102](https://github.com/user-attachments/assets/aa5718c8-a57d-4e7b-a6b9-0e1caabb6eaa)
![Screenshot 2024-11-19 225658](https://github.com/user-attachments/assets/71d3a354-c429-4914-b292-56f51325dd5b)
Repository: storybook
Issue: [Bug]: Monorepo `getAbsolutePath` results in broken `project.json`
Labels: bug,core,sev:S2

### Describe the bug

Currently Storybook's `project.json` reports the addons that are listed in `.storybook/main.ts`. It does this by calling `getActualPacakgeVersion` on each of the addons:

https://github.com/storybookjs/storybook/blob/next/code/core/src/telemetry/package-json.ts

However, in monorepos we recommend using absolute paths with the following pattern:

```ts
import { dirname, join } from 'node:path';

const getAbsolutePath = <I extends string>(input: I): I =>
  dirname(require.resolve(join(input, 'package.json'))) as any;

const config: StorybookConfig = {
  stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
  addons: [
    getAbsolutePath('@storybook/addon-onboarding'),
    getAbsolutePath('@storybook/addon-essentials'),
    getAbsolutePath('@chromatic-com/storybook'),
  ]
},
```

This generates addon entries like the following:

```
info     "addons": {
info       "$SNIP/node_modules/.pnpm/@storybook+addon-onboarding@8.5.0-alpha.8_react@18.3.1_storybook@8.5.0-alpha.8/node_modules/@storybook/addon-onboarding": {
info         "version": null
info       },
info       "$SNIP/node_modules/.pnpm/@storybook+addon-essentials@8.5.0-alpha.8_@types+react@18.3.12_storybook@8.5.0-alpha.8/node_modules/@storybook/addon-essentials": {
info         "version": null
info       },
info       "$SNIP/node_modules/.pnpm/@chromatic-com+storybook@3.2.2_react@18.3.1_storybook@8.5.0-alpha.8/node_modules/@chromatic-com/storybook": {
info         "version": null
info       },
```

Instead, it should produce:

```
info     "addons": {
info       "@storybook/addon-onboarding": {
info         "version": "8.5.0-alpha.8"
info       },
info       "@storybook/addon-essentials": {
info         "version": "8.5.0-alpha.8"
info       },
info       "@chromatic-com/storybook": {
info         "version": "3.2.2"
info       },
```

### Reproduction link

N/A

### Reproduction steps

See above

### System

```bash
Any
```

### Additional context

_No response_
Repository: godot
Issue: Imported Animation Name Gets Truncated with "Cycle" Ending
Labels: discussion,documentation,topic:import,topic:animation

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 980 (NVIDIA; 32.0.15.6094) - Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 Threads)

### Issue description

If an animation name ends with "Cycle" that ending gets removed after import process.

### Steps to reproduce

Import an animation file (.glb in my case) and if any animation name ends with "Cycle", the "Cycle" ending gets removed from the animation name. 

### Minimal reproduction project (MRP)

Animation in example named "CubeAction_Cycle" it is shown as "CubeAction" in godot but if it is opened with another program Cycle is still in the name of animation.
[bugrep_anim_name_cycle.zip](https://github.com/user-attachments/files/17819492/bugrep_anim_name_cycle.zip)
Repository: go
Issue: crypto/internal/fips/aes/gcm: TestAllocations fails on PPC64
Labels: NeedsFix,arch-ppc64x,FixPending

### Go version

master

### Output of `go env` in your module/workspace:

```shell
GOARCH=ppc64le
```


### What did you do?

cd crypto/internal/fips/aes/gcm
go test

### What did you see happen?

--- FAIL: TestAllocations (0.00s)
    ctrkdf_test.go:31: expected zero allocations, got 6.0

### What did you expect to see?

All tests pass
Repository: PowerToys
Issue: Unable to update/install PowerToys after reverting from Win 11 24H2 to 23H2
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.86.0

### Installation method

GitHub, PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Installer

### Steps to reproduce

![Image](https://github.com/user-attachments/assets/7e96d332-2c9e-4eb0-952c-75d4b54bfd46)
[powertoys-bootstrapper-msi-0.86.0_20241119205512.log](https://github.com/user-attachments/files/17820002/powertoys-bootstrapper-msi-0.86.0_20241119205512.log)

Getting an error "The feature you are trying to use is on a network resource that is unavailable" when I try to either update PowerToys from the app or from the MSI downloaded from GitHub. I attempted to clear the associated Package Cache folder as well, but it made no difference.

Seems like this issue has something to do with the Windows update reverting process as someone else had the same problem on #24213
I did the update revert a couple of weeks ago and since then this has been an issue.

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: godot
Issue: Move initialize_physics to own file
Labels: enhancement,topic:physics,topic:codestyle

### Tested versions

Reproducible in 4.3 stable - 0dda6a974c0b782216b3bf8a2a27fdbc5b0a6cd9

### System information

Windows 11 - Godot 4.3 

### Issue description

Enhancement request: Move initialize_physics() function from main.cpp to a dedicated file

Current location: main.cpp line 317
Current implementation:
// FIXME: Could maybe be moved to have less code in main.cpp.
void initialize_physics() {
#ifndef *3D*DISABLED
    /// 3D Physics Server

Moving this function to its own file would:

Reduce main.cpp complexity
Improve code organization
Address existing FIXME comment

No existing issue was found addressing this FIXME comment.

### Steps to reproduce

Steps to verify:
1. Open main.cpp
2. Locate initialize_physics() function at line 317
3. Note FIXME comment indicating the need to move the function
4. Search through open issues for "initialize_physics" or "main.cpp cleanup"
5. Verify no existing issue addresses this FIXME

Expected outcome: Issue tracking for moving initialize_physics() function to dedicated file, as suggested by existing FIXME comment.

### Minimal reproduction project (MRP)

[main.zip](https://github.com/user-attachments/files/17819908/main.zip)
Repository: vscode
Issue: github.dev search options no longer work
Labels: bug,search

https://github.dev/OpenCPN/OpenCPN

github.dev: 'Match Case', 'Match Whole Word', Use Regular Expression' options do nothing.

![Image](https://github.com/user-attachments/assets/6be28ffa-c0ae-453b-a5a3-8ba75b5af350)


Version: 1.95.3
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Embedder: github.dev

<!-- generated by web issue reporter -->