sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Shortcut key “chords” sharing the first “chord”
Labels: Needs-Triage

### Description of the new feature / enhancement

Key chords are great for binding related stuff to the same ROOT key e.g. 
- `Windows + S, +S`: pause track
- `Windows + S, +A`: prev track
- `Windows + S, +D: `next track

> Also note that adding this second dimension frees other keys and allows reusing the second chord for similar actions but in other contexts: A/D keys can be used for left/right whatever...

You CAN do this, but the initial chord can trigger windows shortcuts e.g. Windows search pop-ups whenever I do `Windows + S, +S`
I tried setting `Windows + S` to disabled but then you cannot bind the other chords:

![Image](https://github.com/user-attachments/assets/00a4b9bb-0bad-403e-84e2-ec9c28ad6509)

### Scenario when this would be used?

Showcased in my example, I used them all the time also e.g. for git in vscode:
- ALT+G,S (stage)
- ALT+G,R (revert)
- ...
Repository: langchain
Issue: RedisVectorStore add_texts uses wrong function parameter for ids
Labels: Ɑ: vector store

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

The RedisVectorStore implementation uses a different name for ids, namely 'keys'. In all other vector stores and implementations it is 'ids'.
```python
        vector_store = RedisVectorStore(EMBEDDING_MODEL, config=config)
        doc = Document(
            "Some text",
            id="unique_id1"
        )
        added_ids = vector_store.add_documents([doc]) # does not work, ids are not used!
        added_ids2 = vector_store.add_documents([doc], keys=[doc.id]) # works, since RedisVectorStore is looking for 'keys' instead of 'ids'
```

### Error Message and Stack Trace (if applicable)

_No response_

### Description

The RedisVectorStore implementation uses a different name for ids, namely 'keys'. In all other vector stores and implementations it is 'ids'. This seems wrong and it's only possible to set your own ids if you inspect the code and add 'keys' instead

### System Info

System Information
------------------
> OS:  Darwin
> OS Version:  Darwin Kernel Version 23.6.0: Wed Jul 31 20:49:46 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_ARM64_T8103
> Python Version:  3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Package Information
-------------------
> langchain_core: 0.3.14
> langchain: 0.3.6
> langchain_community: 0.3.4
> langsmith: 0.1.137
> langchain_redis: 0.1.1
> langchain_text_splitters: 0.3.1

Optional packages not installed
-------------------------------
> langgraph
> langserve

Other Dependencies
------------------
> aiohttp: 3.10.10
> async-timeout: Installed. No version info available.
> dataclasses-json: 0.6.7
> httpx: 0.27.2
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> numpy: 1.26.4
> orjson: 3.10.10
> packaging: 24.1
> pydantic: 2.9.2
> pydantic-settings: 2.6.0
> python-ulid: 2.7.0
> PyYAML: 6.0.2
> redisvl: 0.3.5
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> SQLAlchemy: 2.0.36
> tenacity: 8.5.0
> typing-extensions: 4.12.2
Repository: PowerToys
Issue: Shortcut key “chords” for activating apps
Labels: Needs-Triage

### Description of the new feature / enhancement

The keyboard manager can map “chords” so I wonder why there is no option to bind them for app activation e.g. Text Extractor.
As explained in https://github.com/microsoft/PowerToys/issues/35741, “chords” are very useful for related actions when sharing the first "chord".

For example the mouse utilities could be:
- Windows +K, F (find)
- Windows +K, H (highlight)
- Windows +K, C (crosshair)

> Notice that, currently, you cannot share the same root key and expect it to override the windows shortcut https://github.com/microsoft/PowerToys/issues/35741

### Scenario when this would be used?

The current workaround is to bind an app to a regular shortcut (maybe an obscure one) and then use the keyboard mapper to bind a chord to that.
This would make the process much simpler and streamline the user experience + show the proper keys in the dashboard etc.

IMO, I would give it low priority, certainly lower than https://github.com/microsoft/PowerToys/issues/35741.
Depends on the complexity to implement this "enhancement" etc... the workaround is not that complicated and there are not that many apps.

> But for now this issue can be referenced, used for discussion and so on!
Repository: storybook
Issue: [Bug]: 'viteConfigFile' automigration gets triggered for `@storybook/experimental-nextjs-vite`
Labels: bug,nextjs,automigrations

### Describe the bug

When running `npx storybook@latest upgrade` in a Storybook, which uses `@storybook/experimental-nextjs-vite`, the `viteConfigFile` automigration gets automatically triggered. This isn't necessary, because a dedicated `vite.config.ts` file isn't necessary for this framework

### Reproduction link

-

### Reproduction steps

_No response_

### System

-

### Additional context

_No response_
Repository: vscode
Issue: Editable Refactor Preview
Labels: feature-request,workspace-edit

# Problem Statement

Current refactor preview is very limited when using with the SOTA models. Meaning that we have to do a lot of overwork, after the edits are applied, to allow users to post edit partially correct changes, and allow them to keep a good code state in their workspace.

The UX for this is always subpar and requires users to learn specific ways how to interact with different stages, rather than being able to do one  action.

We believe that with the modern ML models, which provide large multifile changes, it should be possible to allow users to quickly apply and modify the ML changes, without struggle and the UX should allow that.

In that sense making the refactor preview editable, would allow the user to directly do all their changes in the bounds of the suggestion, with the added benefit of gathering telemetry for the providers (which can easily gather the better expected response).

## Discussion points

### Why not just create your own view

This is not that straight forward. We want to keep the model of interaction as is in the refactor preview, where user can do their changes to the model on the right side cheaply, without breaking their workspace. Then apply the changes once happy with the final result (or even better apply partially).

Note that we can't create editable virtual files from the extension, that could be used for this case, otherwise we could build similar RP experience with Multi diff view and a custom panel.


### Why make the RP editable?

With ML in the game, possibly providing multifile changes, users might not be confident in the direct solution provided by the tool. Therefore simple acceptance/rejection is not an option. In that case its very helpful to be able to tweak specific parts of the edit and apply the result afterwards.

In this case we would be able to allow users to accept more helpful ML suggestions, and allow them to tweak it at the source of the change, rather than post factum, with tedious and potentially unhelpful UX.

### How is this helpful to ML?

Allowing the user to apply correction to the edits right at the source and not post factum, allows for better tracking of content rewrites. This can feed back in to the training/fine tuning sets to improve the content further, and can provide an easy boundary for **where does the changes to the ML edit end** and **where does the unrelated user edits start**.

# Possible solution

- Allow tools to pass in a specified flag in the `vscode.workspace.applyEdit()` call to trigger this behavior
- Remove the possibility to select/deselect edits in a single file (either directly, or after user made the first edit to the file)
- Allow the virtual file TextModel to be editable for RP when requested (note that the factor impacting this is the implicit Readonly on the simple text model)
- Apply all changes that user made
  - Preferably as a sequence over the original file to correctly track all the user changes
  - Alternatively just grab the right hand side files and apply them whole over the original files

**Happy to help bring this in to production** :)
Repository: excalidraw
Issue: add an equal distribution feature
Labels: More information needed / cannot reproduce

I would like to add an equal distribution feature, similar to the one in PowerPoint. For example, placing 5 blocks at once, and then clicking on equal distribution will make the spacing between them uniform.
Repository: PowerToys
Issue: Workspaces doesn't recognize firefox developer edtion
Labels: Issue-Bug,Needs-Triage,Product-Workspaces

### Microsoft PowerToys version

0.85.1

### Installation method

WinGet

### Running as admin

Yes

### Area(s) with issue?

Workspaces

### Steps to reproduce

Try to create new workspace

![Image](https://github.com/user-attachments/assets/45401b18-1829-4393-b8bd-8f8c977d6d9d)

Open firefox developer edition while in capture mode in order to add it to workspace:

![Image](https://github.com/user-attachments/assets/6e39b2dc-9a6c-4004-9b5b-03b058c6add3)

Default firefox version is added
![Image](https://github.com/user-attachments/assets/3c25c944-d8c8-4ba6-ad4d-43a321f0d5d8)


### ✔️ Expected Behavior

Workspace with firefox developer edition

### ❌ Actual Behavior

Workspace with regular firefox edition

### Other Software

_No response_
Repository: go
Issue: proposal: slices, sort: randomize sort order of equal elements in tests
Labels: Proposal

### Proposal Details

Go's (non-stable) sort functions don't guarantee a particular ordering for equal elements. However, since the order of equal elements is always the same for a number of releases, tests tend to accumulate dependencies on the ordering of equal elements by accident.

In Google codebase we noticed that a large number of tests depended on the order of equal elements when the sorting algorithm was changed to pdqsort in April 2022 (http://go.dev/cl/371574). We needed to fix all of these to be able to release pdqsort internally. Recently http://go.dev/cl/624295 changed how equal elements are ordered. In the 2½ years since pdqsort was introduced a few tests have already started to depend on the order of equal elements again.

This is a classic example of [Hyrum's Law](http://hyrumslaw.com)
> With a sufficient number of users of an API,
> it does not matter what you promise in the contract:
> all observable behaviors of your system
> will be depended on by somebody.

Fixing tests when the order of equal elements changes is a lot of work and makes upgrading to a new Go version harder. It's also surprisingly hard to understand if the order of equal elements actually matters (i.e. if stable sort should have been used) or if the order of equal elements was depended upon accidentally. Both problems can be mitigated sufficiently by randomizing the order of equal elements on each test run. That way, tests that depend on the order of equal elements provide a very early signal of problem.

Google already did this for C++ some time ago and it's working very well:
- https://libcxx.llvm.org/DesignDocs/UnspecifiedBehaviorRandomization.html
- https://reviews.llvm.org/D96946
- https://danlark.org/2022/04/20/changing-stdsort-at-googles-scale-and-beyond/
Repository: rust
Issue: How do I run a single test of libstd with --nocapture ?
Labels: T-bootstrap,C-bug,E-needs-investigation

It is unclear to me how to run a single test of libstd using --nocapture. I've tried `--verbose` and `--test-args --nocapture` without any luck. 

Using 

```shell
--test-args `-- --nocapture`
``` 

reveals that `./x.py` passes the test runner a `--quiet` flag.
Repository: electron
Issue: Resize window doesn't work on Wayland
Labels: platform/linux,bug :beetle:,has-repro-comment,33-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.2

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

Other Linux

### Operating System Version

Arch Linux, Gnome 47.1

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

![Image](https://github.com/user-attachments/assets/50377ab5-322b-42c9-88d1-4671a4916c8e)
Works when running with x

### Actual Behavior

![Image](https://github.com/user-attachments/assets/ba9d12e5-44a0-43f4-b7f8-a604dceb6942)
Ignores pointer when running with wayland

### Testcase Gist URL

_No response_

### Additional Information

_No response_
Repository: PowerToys
Issue: Advanced Paste Feature Request
Labels: Needs-Triage

/### Description of the new feature / enhancement

**Hi,**
I suggest adding scripting capabilities to manipulate copied text and paste the processed text,
user can add multiple scripts as he wants with its own title ,
when user triggers "Advanced paste" he can choose witch script to apply on the copied text,
the script has can be python or any scripting language and structured as a one main function which accept one argument, and user can add any sub-functions according to processing logic.



### Scenario when this would be used?

**example:**
I'm usually needing to copy a text which include many hyphens and I need to paste the text without them, and this a repeated task
usually I copy the text then paste it to notepad then remove the hyphens and then copy it again

> input:    DD-5555-22
> output:  DD555522 

also I can create script to split the input at a certain delimiter and extract the portion I need.

### Supporting information

_No response_

**Many thanks for continues support and upgrades**
Repository: TypeScript
Issue: Does not find .mts file when doing extensionless import and Bundler
Labels: Suggestion,Awaiting More Feedback

### 🔎 Search Terms

mts bundler

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about Bundler


### ⏯ Playground Link

cannot test modulerResolution in the playground

### 💻 Code

tsconfig.json
```
  moduleResolution: "Bundler"
```

file.mts
```ts
export const hi = 1
```
file2.mts
```ts
import {hi} from './file'
```


### 🙁 Actual behavior


fails to find `./file`

### 🙂 Expected behavior

should resolve just like a bundler, so it should find the `.mts` file

### Additional information about the issue

_No response_
Repository: opencv
Issue: drawContours LINE_4 vs LINE_8
Labels: bug,category: imgproc,incomplete

### System Information

OpenCV v4.1.1
Raspbian Buster
Python v3.7.3

### Detailed description

Good day,

Drawing a contour using cv2.drawContours(image, [contours], 0, 255, lineType=cv2.LINE_4) produces a contour with 8-connectivity, and vice versa.

See the screenshots:

- using lineType=cv2.LINE_4
![lineType=cv2 LINE_4](https://github.com/user-attachments/assets/fbb61fe2-7d79-4d39-8bbe-9906dae0e44f)

- using lineType=cv2.LINE_8
![lineType=cv2 LINE_8](https://github.com/user-attachments/assets/5aba3948-fca8-49fd-b1b9-1949ff98995b)

The behavior is swapped.

Regards

### Steps to reproduce

'''
# Get points of straw fragment
	blob_points = cv2.findNonZero(blob_intensity_msk)
	
	# Get blob convex hull
	hull_points = cv2.convexHull(blob_points)
	
	# Initialize convex hull mask
	hull_mask = np.zeros_like(blob_intensity_msk)
	
	# Draw convex hull
	cv2.drawContours(hull_mask, [hull_points], 0, 255, lineType=cv2.LINE_4)
'''

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: react
Issue: [DevTools Bug]: Settings / Components / Hide components where...  - need to be set on each reload.
Labels: Type: Bug,Status: Unconfirmed,Component: Developer Tools

### Website or app

https://react.dev/

### Repro steps

_When filtering components under "Hide components where... " you need to modify the filter each time you've reloaded the page and/or hide/show the Chrome DevTools. Otherwise the filter doesn't bite and the hidden components still show._

**For example:**
Name matches Anonymous

Works fine the first time you enter it - all Anonymous components are hidden.
Reload the page and the filter no longer applies. You need to open:  Settings / Components / Hide components where...  and modify the entry and it works again:

**For example:**
Name matches Anonymous*

Or toggle OFF - close the dialog - open the dialog and toggle ON - Now Anonymous is hidden again.


<img width="820" alt="Screenshot 2024-11-04 at 13 10 37" src="https://github.com/user-attachments/assets/7d7bf89f-d801-4605-9100-140036e67589">


Using 6.0.1-c7c68ef842 of the extension
Chrome Version 130.0.6723.92 (Official Build) (arm64)

### How often does this bug happen?

Every time

### DevTools package (automated)

_No response_

### DevTools version (automated)

_No response_

### Error message (automated)

_No response_

### Error call stack (automated)

_No response_

### Error component stack (automated)

_No response_

### GitHub query string (automated)

_No response_
Repository: bitcoin
Issue: intermittent issue in wallet_upgradewallet.py: AssertionError: bdb magic does not match bdb btree magic
Labels: CI failed

https://cirrus-ci.com/task/5232872305459200:
```bash
067]  node0 2024-11-04T11:58:48.064759Z [httpworker.0] [src/wallet/wallet.h:936] [WalletLogPrintf] [default wallet] m_address_book.size() = 2 
[06:58:49.067]  test  2024-11-04T11:58:48.065000Z TestFramework (INFO): Can upgrade to HD 
[06:58:49.067]  test  2024-11-04T11:58:48.066000Z TestFramework (ERROR): Assertion failed 
[06:58:49.067]                                    Traceback (most recent call last):
[06:58:49.067]                                      File "/ci_container_base/test/functional/test_framework/test_framework.py", line 132, in main
[06:58:49.067]                                        self.run_test()
[06:58:49.067]                                      File "/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/test/functional/wallet_upgradewallet.py", line 226, in run_test
[06:58:49.067]                                        orig_kvs = dump_bdb_kv(node_master_wallet)
[06:58:49.067]                                      File "/ci_container_base/test/functional/test_framework/bdb.py", line 142, in dump_bdb_kv
[06:58:49.067]                                        dump_meta_page(pages[INNER_META_PAGE])
[06:58:49.067]                                      File "/ci_container_base/test/functional/test_framework/bdb.py", line 100, in dump_meta_page
[06:58:49.067]                                        assert magic == BTREE_MAGIC, 'bdb magic does not match bdb btree magic'
[06:58:49.067]                                    AssertionError: bdb magic does not match bdb btree magic
[06:58:49.067]  test  2024-11-04T11:58:48.067000Z TestFramework (DEBUG): Closing down network thread 
```

Looking at all the logs in #30798, this seems to be a different issue.
Repository: ui
Issue: [feat]: add support for microsoft rush monorepo
Labels: area: request

### Feature description


Shadcn CLI does not support projects which are managed by [@microsoft/rush](https://rushjs.io/) mono repo.

Rush mono repo could be configured to use either `npm`, `yarn` or `pnpm` but it has [its own way of managing dependencies](https://rushjs.io/pages/developer/modifying_package_json/#rush-add) 
_(i.e  `npm install` , `yarn add` or `pnpm add` are not used diectly.)_

**Problem:**
Because Rush is managing the dependencies differently, regardless of the Rush package manager config, none of the following Shadcn CLI commands works:
```
npx shadcn@latest add button
# or
npx shadcn@latest add button
# or
pnpm dlx shadcn@latest add button
```

running Shadcn CLI to add a component will cause error at `installing dependencies` step:

using npm
![image](https://github.com/user-attachments/assets/6c6df99a-9efe-4554-9d86-bc9146ca7842)

using pnpm
![image](https://github.com/user-attachments/assets/6c86c0c9-c64c-4a9c-8b25-7befcbf315f5)


### Proposed Solution
Shadcn CLI to detect if project is managed by Rush, and use [rush cli](https://rushjs.io/pages/developer/modifying_package_json/#rush-add) to install dependencies.
(Shadcn CLI currently supports `npm`, `yarn`, `pnpm` and `bun` )




### Affected component/components

CLI

### Additional Context

Additional details here...

### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues and PRs
Repository: ui
Issue: [bug]: Cannot find module 'next-themes/dist/types' or its corresponding type declarations.
Labels: bug

### Describe the bug

Hello,
I have upgraded my project to next 15.0.3-canary.5 and "next-themes": "^0.4.1",

and now when I run 
`pnpm run build `

**It works with "next-themes": "^0.3.0",**

`
./src/components/theme-provider.tsx:5:41
Type error: Cannot find module 'next-themes/dist/types' or its corresponding type declarations.

  3 | import * as React from "react";
  4 | import { ThemeProvider as NextThemesProvider } from "next-themes";
> 5 | import { type ThemeProviderProps } from "next-themes/dist/types";
    |                                         ^
  6 |
  7 | export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
  8 |   return <NextThemesProvider {...props}>{children}</NextThemesProvider>;`
  
  I am using the a simple code like in the examples
  
  `
  "use client";

import * as React from "react";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes/dist/types";

export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
  return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}
`

I am using the latest version of  "next-themes": "^0.4.1",



### Affected component/components

Theme

### How to reproduce

Just run I run 

`pnpm run build `

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Chrome latest version
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: godot
Issue: Polygon2d preview settings unaccessible(mobile)
Labels: bug,platform:android,topic:editor,topic:2d

### Tested versions

4.3Stable

### System information

Godot editor 4 (mobile version from PlayStore)

### Issue description

The window in the polygon2D preview can be moved from side to side or amplified, however, the actual settings can't be accessed, i cant slide up nor open the setting menu in any way at all.

### Steps to reproduce

Either make the word settings be a link to open the settings menu, or just allow the window to slide up to reach it.

### Minimal reproduction project (MRP)

Here i have no idea what you need