sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Dark Mode Overlay (DMO)
Labels: Needs-Triage

### Description of the new feature / enhancement


1. Shall detect the current active window /app and invert colours for those apps that does not provide any dark mode feature by default and can be toggled on or off by shortcut keys combination.
2. A later version might be smarter (detects icons and images and does not apply the filter on them)
3. It should be lightweight as much as possible inorder not to impact the performance of the affected apps similar to the Windows current feature color invert which by experience, has a little to no impact on performance , however it should also work on individual windows
4. Feature can be extended to record user preferences per process name and remember the last decision taken by the user so if the app was overlayed by Night OWL , then windows was restarted , When the app is opened again it should be in dark/inverted colour mode
5. Feature can be further extended to allow the user to select a color pallete for the colors used for overlaying (It shouldn't be Black or White but can be grey for example )
6. Feature should provide the option to be automatically started up upon booting of windows similar to Powertoys Awake feature

### Scenario when this would be used?


1. I am an Embedded software developer with such a bad luck that my toolchain is 99% white and since I am a night OWL , I don't like the Idea of shining white light while working on my poor eyes (shout out to all apps that implement a native dark mode or theming options!)
2. Since these tools have no intention to implement dark mode feature soon , I have been relying on other 3rd party tools that kinnda do the job , but always have a missing piece (app performance is affected , license is costly especially for coroprate environments , does not detect icons or images , Kinnda force u to subscribe or use other utilities that are actually not needed and their functionality is not related to dark mode ,... )
3. Windows deserve a smarter opensource tool for Night OWLs like me


### Supporting information

_No response_
Repository: rust
Issue: rustdoc: Show tag / badge / icon / emoji in the sidebar for unsafe, deprecated and unstable items
Labels: C-enhancement,A-rustdoc-ui,T-rustdoc-frontend

Currently unsafe, deprecated and unstable items are shown with different labels in a module's list of items:

![Image](https://github.com/user-attachments/assets/a6f21e65-0c62-48a3-8a03-b27256c7d103)

I think it would be nice to also add these to the sidebar for types and traits.
Maybe this requires icons for "Deprecated" and "Experimental" as well to not make the sidebar to wide.
Repository: flutter
Issue: Unexpected Behavior When Terminating Flutter Commands with Ctrl + C
Labels: P3,team-tool,triaged-tool

### Type of Request

bug

### Infrastructure Environment

System Type: 64-bit operating system, x64-based processor.
Operating System: Windows 11 Pro.
Terminal Application:  Command Prompt / PowerShell.
Frequency of the Issue: This has never worked for me since I started using Flutter.

![Screenshot 2024-10-24 173936](https://github.com/user-attachments/assets/12f470e9-a1d2-4262-8d11-0835f5c8d0d8)

flutter doctor result if needed:
![image](https://github.com/user-attachments/assets/9996b669-d84b-4fc9-835d-c8e6aaecbe31)

### What is happening?

When running a Flutter command in the terminal, if the command starts a task and I press Ctrl + C, the terminal prompts me with:
 **Terminate batch job (Y/N)?**
 
-  If I press Y, the batch job stops as expected.
- If I press N, the prompt appears to ignore my input, and the batch job still stops unexpectedly, rather than continuing execution.

### Steps to reproduce

1. Open a terminal window.
2. Execute any Flutter command that starts a long-running task (e.g., flutter run, flutter build, etc.).
3. While the task is running, press Ctrl + C.
4. When prompted with Terminate batch job (Y/N)? press N.
5. Observe that the batch job stops instead of continuing.

### Expected results

When pressing N in response to the prompt, the Flutter command should continue executing as intended.
Repository: rust
Issue: Can't find `thiserror_impl` crate with `-Z sanitizer`
Labels: T-compiler,A-sanitizers,C-bug,D-confusing


I tried this code:

```rust
// (empty lib.rs)
```

Cargo.toml:
```toml
[package]
name = "nightly-cant-find-crate-test"
version = "0.1.0"
edition = "2021"

[dependencies]
thiserror = "1.0.65"
```

Compiling with `env RUSTFLAGS="-Z sanitizer=address" cargo +nightly build`

I expected to see this happen: Library compiles

Instead, this happened: Rust fails to find the crate `thiserror_impl`, even though it's a transitive dependency:

```
> env RUSTFLAGS="-Z sanitizer=address" cargo +nightly build
   Compiling proc-macro2 v1.0.89
   Compiling unicode-ident v1.0.13
   Compiling thiserror v1.0.65
   Compiling quote v1.0.37
   Compiling syn v2.0.85
   Compiling thiserror-impl v1.0.65
error[E0463]: can't find crate for `thiserror_impl`
   --> /home/col/.cargo/registry/src/index.crates.io-6f17d22bba15001f/thiserror-1.0.65/src/lib.rs:278:9
    |
278 | pub use thiserror_impl::*;
    |         ^^^^^^^^^^^^^^ can't find crate

For more information about this error, try `rustc --explain E0463`.
```

The crate builds without errors if I omit the sanitizer option, or replace it with something else like `-Zub-checks`. It also obviously builds with stable Rust.

### Meta

`rustc --version --verbose`:
```
> rustup run nightly rustc --version
rustc 1.84.0-nightly (4f2f477fd 2024-10-23)
```

```
> cargo --version
cargo 1.82.0 (8f40fc59f 2024-08-21)
```
Repository: react
Issue: Bug: duplicate keys cause an extra element to render, while the console shows the correct number of items
Labels: Status: Unconfirmed,Resolution: Stale

When rendering a list with duplicate keys, React incorrectly renders an extra item, which is interactable, despite the console logging the correct number of items. This behavior occurs even though the data source has the correct number of items.

React version: ^18.0.0

## Steps To Reproduce

1. `$ npx create-react-app my-app`
2. `$ cd my-app`
3. Replace the contents of App.js with the code listed below
4. `$ npm run start`
5. Open the page in Google Chrome or Edge or any browser
6. Click one of the "Add record" button

```js
import { useState } from "react";

const initialRecords = [
  { id: 1, name: "John Wick", email: "john@wick" },
  { id: 2, name: "Hermione Granger", email: "hermione@granger" },
  { id: 3, name: "Harry Potter", email: "harry@potter" },
  { id: 3, name: "ID Dup", email: "id@duplicate" },
];

export default function App() {
  const [records, setRecords] = useState(initialRecords);

  const handleAddClick = () => {
    const newRecord = { id: 4, name: "New Record", email: "new@record" };
    setRecords((prev) => [newRecord, ...prev]);
  };

  return (
    <div>
      <button onClick={handleAddClick}>Add record</button>
      {records.map(({ id, name, email }) => (
        <div key={id}>
          <p>{id}</p>
          <p>{email}</p>
          <p>{name}</p>
        </div>
      ))}
    </div>
  );
}
```


Link to code example: https://codesandbox.io/p/sandbox/ylr42w

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

## The current behavior
1. React renders an extra (phantom) item that duplicates an existing item (due to the duplicate key). And the count of extra item (id: 3) keeps increasing on every click.
2. This extra item is fully interactable (e.g., it responds to click events).
3. The console logs the correct number of items (5), but 6 items appear on the screen

## The expected behavior
1. The number of rendered items should match the actual number of items in the data array, regardless of key duplication.
2. If keys are not unique, React should throw a warning or handle it predictably (e.g., not render an extra item).
Repository: PowerToys
Issue: Mouse Without Borders - Clearer communication of connection status
Labels: Needs-Triage

### Description of the new feature / enhancement

Currently the connection status of PCs in MWB is communicated only (?) via colorful frame around the icon on the setup page. The meaning of these colors is only explained on the "further information" page of MWB.

Unless the connection is the obvious "green" (which means "working", so nobody cares about the details), trouble shooting is very tedious. At least the tooltip information of a specific PC icon should not just repeat the host name (which is literally printed on the button anyway), but the connection status a clear text. Preferably the connection status should also be printed directly underneath the icon if it's anything other than "Connected".

### Scenario when this would be used?

Whenever the connection does not work as expected, as much information is needed for trouble shooting as possible. A few colorful pixels with an obscure color code mapping table is not that.

It took me several days of trying to "fix" a perfectly working network, because when I thought I was looking at a red "error" frame, it turns out, it was a brown "invalid key" frame, which I only noticed through actually checking the hex code of the frame!

### Supporting information

_No response_
Repository: rust
Issue: "single tab mode" for rustdoc search
Labels: C-enhancement,T-rustdoc-frontend

currently, when performing a single-element search (i.e. a name-based search), there are 3 tabs:
1. In Names
2. In Parameters
3. In Return Types

I basically never use the other two, instead explicitly using type-based search with `->` if i want that info.

These extra tabs add visual clutter and also slow down the searching process.

I propose an option in the settings panel to disable these extra tabs.

related: https://github.com/rust-lang/rust/issues/131156
Repository: vscode
Issue: Chat: Support custom attachments for participants
Labels: api,under-discussion,panel-chat

Right now, in Insiders, the currently-opened editor is included as an attachment in chat requests. The user can easily disable it by clicking.

Certain participants (thinking about `@azure` particularly) would benefit from being able to default-attach their own items in this list. For example, for `@azure`, attaching `azure.yaml` by default (if present) would help with a multitude of user questions. We can attach it automatically today, but we cannot make it show up in the attachments list and allow the user to detach it easily for queries where it is unhelpful.

![Image](https://github.com/user-attachments/assets/2d95c808-bfc4-4607-97b1-4183d23f087e)

Implementation-wise, perhaps if, after typing `@azure`, a method can be called to resolve additional attachments?

/cc @isidorn
Repository: svelte
Issue: Bound constants are `null` in `onDestroy`
Labels: documentation

### Describe the bug

When a parent does `bind:x` on a child's `export const x` and attempts to use this value in the `onDestroy` callback, the value of `x` is `null`.
This is a breaking change while using Svelte 4 syntax, since `x` would previously keep the same value.

### Reproduction

https://svelte.dev/playground/e7886cdc76d14523bec2b84ea5ace46f?version=5.1.0

### Logs

_No response_

### System Info

```shell
Not relevant
```


### Severity

blocking an upgrade
Repository: pytorch
Issue:  Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory   warn(f"Failed to load image Python extension: {e}")
Labels: needs reproduction,module: binaries,triaged

### 🐛 Describe the bug

/home/lmh/.local/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot open shared object file: No such file or directory
  warn(f"Failed to load image Python extension: {e}")
Detected kernel version 5.4.0, which is below the recommended minimum of 5.5.0; this can cause the process to hang. It is recommended to upgrade the kernel to the minimum version or higher.
>>> Tensorboard logs saved to: /data1/lzq/results_guided/outputs/spl/Moire/[spl]_[Moire]_[rev_1]_[2024-10-24]_[23.11.26.736310]_[GPU_1]_[amax]/tb/train
>>> Tensorboard logs saved to: /data1/lzq/results_guided/outputs/spl/Moire/[spl]_[Moire]_[rev_1]_[2024-10-24]_[23.11.26.736310]_[GPU_1]_[amax]/tb/val
Traceback (most recent call last):
  File "/home/lmh/.local/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/home/lmh/.local/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 48, in main
    args.func(args)
  File "/home/lmh/.local/lib/python3.10/site-packages/accelerate/commands/launch.py", line 1168, in launch_command
    simple_launcher(args)
  File "/home/lmh/.local/lib/python3.10/site-packages/accelerate/commands/launch.py", line 763, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/anaconda3/bin/python', 'main.py', '--affine', '--l1loss', '--adaloss', '--perloss', '--dont_calc_mets_at_all', '--log2file', '--data_path', '/data1/lzq/Moire_512', '--data_name', 'Moire', '--train_dir', 'train', '--test_dir', 'val', '--moire_dir', 'moire', '--clean_dir', 'clear', '--batch_size', '2', '--T_0', '50', '--epochs', '100', '--init_weights']' returned non-zero exit status 1.
 Exucuse me. I always meet this error.My python is  Python 3.8.13 and torch/torchvision version is as following.I install torchvision and torch many times but the error is still here. 
 
![image](https://github.com/user-attachments/assets/ce82036d-a108-46a8-ad81-2e41bb2f6648)

### Versions

![image](https://github.com/user-attachments/assets/2d53236a-a9d7-4ffd-88b3-76758ccf3d21)
![image](https://github.com/user-attachments/assets/d704b6c7-da8a-4a2c-8ab5-ec5f9f7f2181)


cc @seemethere @malfet @osalpekar @atalman
Repository: deno
Issue: `deno info DEPENDENCY`
Labels: needs info

To have info on a dependency

- [x] Sub-dependencies
- [x] Bundle Size
- [ ] Information from NPM / JSR manifest (description, author, which registry (NPM/JSR), link to registry + repository, ...)
- [ ] Versions (which is installed, which are available, also consider pre-releases, ...)
- [ ] Security (CVE) information
- [ ] Maybe? : Past installed version (from lock files)
- [ ] Maybe? : accepting multiple dependencies parameter
Repository: opencv
Issue: Add YAML 2.0 support for FileStorage
Labels: feature,category: core

### Describe the feature and motivation

Rationale: 
Yaml 2.0 format is used by python by default. It means that configs/data in Yaml format mabe shared between OpenCV C++/Java/Python code and pure Python scrips.

### Additional context

_No response_
Repository: deno
Issue: `deno fmt` might not respects include/exclude options in workspace settings
Labels: deno fmt,needs discussion,workspaces

> This is also a bug with `deno fmt`. I have a workspace setup where I have this fmt config:> 
> > 
> ```json> 
>   "fmt": {> 
>     "include": ["*.ts", "*.tsx"],> 
>     "exclude": ["*.d.ts", "./server/*"],> 
>     "lineWidth": 120> 
>   },> 
> ```> 
> > 
> This still tries to process JS, CSS and even JSON files. However, when I also exclude the directory which contains those files (my Next JS build directory), it works fine. The include statement just shouldn't work with those files to begin with. 

 _Originally posted by @dmint789 in [#26308](https://github.com/denoland/deno/issues/26308#issuecomment-2432081009)_
Repository: flutter
Issue: Some mac bots are hanging while calling flutter doctor
Labels: team-infra,P1,triaged-infra

### Type of Request

bug

### Infrastructure Environment

LUCI

### What is happening?

Bots [build868-m9](https://chromium-swarm.appspot.com/bot?id=build868-m9) and [build855-m9](https://chromium-swarm.appspot.com/bot?id=build855-m9) are hanging for 20 minutes when calling `flutter doctor`

```console
[2024-10-24 06:15:19.676942] [STDOUT] Executing "/Volumes/Work/s/w/ir/x/w/rc/tmpuio_rvgf/flutter sdk/bin/flutter doctor -v --ci --debug-logs-dir=/Volumes/Work/s/w/ir/x/w/rc/flutter_logs_dir" in "/Volumes/Work/s/w/ir/x/w/rc/tmpuio_rvgf/flutter sdk/dev/devicelab" with environment {BOT: true, LANG: en_US.UTF-8}
[2024-10-24 06:35:13.613327] [STDOUT] stdout: [!] Flutter (Channel [user-branch], 3.27.0-1.0.pre.213, on macOS 14.7 23H124 darwin-x64, locale en-US)
```

```console
[2024-10-23 20:23:11.578822] [STDOUT] Executing "/Volumes/Work/s/w/ir/x/w/rc/tmp4tz9g_sr/flutter sdk/bin/flutter doctor -v --ci --debug-logs-dir=/Volumes/Work/s/w/ir/x/w/rc/flutter_logs_dir" in "/Volumes/Work/s/w/ir/x/w/rc/tmp4tz9g_sr/flutter sdk/dev/devicelab" with environment {BOT: true, LANG: en_US.UTF-8}
[2024-10-23 20:46:43.953580] [STDOUT] stdout: [!] Flutter (Channel [user-branch], 3.27.0-1.0.pre.207, on macOS 14.7 23H124 darwin-x64, locale en-US)
```

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac%20build_android_host_app_with_module_source/28/infra


### Steps to reproduce

Presubmits fail.

### Expected results

I expect presumbits to not flake.
Repository: next.js
Issue: Get an error when upgrading to next v15 and icon.svg in the app folder
Labels: bug

### Link to the code that reproduces this issue

https://github.com/Cache-Hit-Shanghai/pikebaohomepage

### To Reproduce

1. Download the project from the link above.
1. Upgrade next.js to v15.
1. npm run dev

### Current vs. Expected behavior

# current
next-app-loader?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.jsx&appDir=C%3A%5CUsers%5C14S%5CDownloads%5Ccode%5Cpikebaohomepage%5Capp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=C%3A%5CUsers%5C14S%5CDownloads%5Ccode%5Cpikebaohomepage&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!:63
Error: Image import "next-metadata-image-loader?type=icon&segment=&basePath=&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js!C:\Users\14S\Downloads\code\pikebaohomepage\app\icon.svg?__next_metadata__" is not a valid image file. The image may be corrupted or an unsupported format.
# expected
No error as with next v14.

### Provide environment information

```bash
Win11
next.js v15
node v23
```


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

Not sure

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

next dev (local), next build (local)

### Additional context

_No response_
Repository: deno
Issue: `deno import`
Labels: suggestion

To import manifests from other package managers

(tasks, dependencies, ...)

See [`pnpm import`](https://pnpm.io/cli/import)
Repository: angular
Issue: Encapsulated scoped :host-context() transformation
Labels: area: core,area: compiler,core: stylesheets

### Which @angular/* package(s) are the source of the bug?

compiler

### Is this a regression?

No

### Description

Hello!

I've a question about Angular's CSS transformation, creating shadow DOM for encapsulated components.

`:host-context(.bar)` is being transformed into `.bar[a-host], .bar [a-host]` by Angular.
`:host-context(.foo .bar)` is currently being transformed into `.foo .bar [a-host], .foo .bar[a-host]`

Both look consistent.

I'd expect then, that `.foo :host-context(.bar)` would lead to the same result as in the second example: `.foo .bar [a-host], .foo .bar[a-host]` . But it is being transformed into `.foo .bar[a-host], .bar [a-host]`. The second set of selectors isn't scoped by .foo.

Is there a reason for that or is this a bug?

### Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/stackblitz-starters-5ckjwy?file=src%2Fmain.css

### Please provide the exception or error you saw

_No response_

### Please provide the environment you discovered this bug in (run `ng version`)

Stackblitz' output (repro above):
```
Angular CLI: 18.2.7
Node: 18.20.3
Package Manager: npm 10.2.3
OS: linux x64

Angular: 18.2.7
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.7
@angular-devkit/build-angular   18.2.7
@angular-devkit/core            18.2.7
@angular-devkit/schematics      18.2.7
@schematics/angular             18.2.7
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10
```

### Anything else?

In the Stackblitz example the output is being transformed into (the second selector is not scoped by the left-hand side `html` tag):
```
html body[_nghost-ng-c1419874505], body [_nghost-ng-c1419874505] {
    color: aqua;
}
```
Repository: ollama
Issue: after some time idle / phone standby , getting to the termux ollama run cmd makes it restart the dl from 0
Labels: bug,needs more info

### What is the issue?

so i know ollama can resume downloads
but the following issue happened to me now the second time on a different model dl
i run ollama run model
it downloads ..
i can switch apps , switch back to termux ollama , no problem
but after some screen of time i return to termux and see it just began from 0 again ...

### OS

Linux

### GPU

Other

### CPU

Other

### Ollama version

0.3.14
Repository: electron
Issue: [Linux - Plasma6 - KDialog] dialog.ShowSaveDialog() -> Filename not carried over into dialog.
Labels: platform/linux,bug :beetle:,has-repro-gist,33-x-y,34-x-y

### 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 bug report that matches the one I want to file, without success.

### Electron Version

33.0.0

### What operating system(s) are you using?

Other Linux

### Operating System Version

Arch Linux

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

Filename passed into function should be shown in dialog.

### Actual Behavior

Filename is empty.

### Testcase Gist URL

https://gist.github.com/b4798bed4fa77f0c62947534c7738fab

### Additional Information

Found on Signal Desktop App. - Opened an issue there, but could not be resolved, as it is obviously within the electron framework.

Please see this Issue report:
[Signal Desktop App - Issue 7061](https://github.com/signalapp/Signal-Desktop/issues/7061)