sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: puppeteer
Issue: [Feature]: `@puppeteer/ng-schematics:builder` should support setting tsconfig.json, using path aliases, replacing environment.ts and not starting the dev-server
Labels: feature,@puppeteer/ng-schematics,P3

### Feature description

-  Right now the path to the `tsconfig.json` is hard-coded to `e2e/tsconfig.json` and cannot be set via `"options": { "tsconfig": "path/to/tsconfig.json" }` which forces you to use the same folder structure and the same filename (I personally would prefer to rename the config to `tsconfig.e2e.json`).

- TS path aliases are not replaced right now, so you cannot use an import like `import { environment } from '@env/environment.ci'`.

- Replacing the `environment.ts` file isn't working, nothing is replaced. This makes it awkward to use `ng e2e` locally and in a CI environment. Normally you'd call something like `npm run e2e:ci` in your pipeline which would run `ng e2e --configuration ci` and locally you'd simply run `npm run e2e`/`ng e2e`.

- It's impossible to run `ng e2e` in a CI environment without also pointlessly starting the dev-server.
Repository: vscode
Issue: Stage/Revert buttons should appear in middle of screen for large diffs?
Labels: polish,diff-editor

Note how in this example, one has to search for the buttons. I would expect them to appear always in the middle of the screen for a large diff. 

<img width="3200" alt="image" src="https://github.com/microsoft/vscode/assets/16353531/197588c8-9679-4133-9b48-76471840f241">
Repository: node
Issue: Registering customization hooks via --require results in double registration
Labels: module,loaders

The current recommendation to install customization hooks is to use `--import`.

But `--import` is still marked as experimental therefore not the preferred thing to use in production.

If I use the stable alternative `--register` the loader hooks are installed twice.

Easy to reproduce:
```js
// loader.mjs
export async function resolve (specifier, context, parentResolve) {
    console.log('execArgv', process.execArgv);
	return await parentResolve(specifier, context);
}

// register.js
const { register } = require('node:module');
const { pathToFileURL } = require('node:url');

const url = pathToFileURL('./loader.mjs');

console.log('registering', url.href);
register(url);

// main.mjs
console.log("hello");
```

run with `--require` results in
```
node --require ./register.js  main.mjs  
registering file:///C:/work/node-double-loader/loader.mjs
registering file:///C:/work/node-double-loader/loader.mjs
execArgv [ '--require', './register.js' ]
execArgv [ '--require', './register.js' ]
hello
```

run with `--import`:
```
registering file:///C:/work/node-double-loader/loader.mjs
execArgv [ '--import', './register.js' ]
hello
```

I guess the `--require` argument gets forwarded to the internal `Worker` (along with env and other command line args) and in contrast to `--import` this seems to have an effect. 

Not sure if the problem is the different behavior of  `--require` vs `--import` in Worker.

But in general I think we should not blindly forward and command line args to the internal hooks worker.

Edit: Thinking once more I think we should forward env/--require/... configs to the internal worker. People migth want to get e.g. Otel into this thread to capture traces.
Repository: PowerToys
Issue: keyboard remap not work if pressed alt+f4 
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Triage

### Microsoft PowerToys version

0.80.0

### Installation method

GitHub, PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1- create remap shortcut which in my case remap alt+tab_number to ctrl+tab_number and i added chrome.exe as target app.
2- open chrome and confirm that it works and it will work.
3- press alt+f4 to close any other app.
4- get back to chrome and test the shortcut you created again and you will find that it will not work.
5- run power run with your shortcut and do search for files.
6- get back to chrome and you will find that the shortcut works again.


### ✔️ Expected Behavior

the shortcut must not conflict with alt+f4

### ❌ Actual Behavior

it crashed when used alt+f4 to close any other app.

### Other Software

_No response_
Repository: PowerToys
Issue: [Power Toys-Shortcut Guide]: Narrator focus is not moving inside the guide pane in scan mode.
Labels: Issue-Bug,Product-Shortcut Guide,Area-Accessibility,Needs-Triage,Status-Blocked,A11yE+D,A11ySev3,A11yWCAG

### Microsoft PowerToys version

v0.79.0

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Shortcut Guide

### Steps to reproduce

**Test environment:**
OS Build: Windows 11 Enterprise insider preview 23H2 (22631.3296)
Power toys version: v0.79.0
Screen reader: Narrator

**Repro Steps:**

1. Open the Power Toys app in the desktop.
2. Now open the shortcut guide from left navigation pane.
3. Activate the guide using the shortcut.
4. Turn on the narrator using Win + Ctrl + Win and turn on scan mode.
5. Now try to navigate inside the guide pane with arrow key.
6. Observe the issue.

**User Experience:**
Lack of screen reader support prevents users with visual impairments from accessing the content within the guide pane, impacting accessibility.

**Guideline reference:**
https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships

**Attachments:**


https://github.com/microsoft/PowerToys/assets/117908911/865859d2-ab49-41e6-93c3-d09d0c1682ad



### ✔️ Expected Behavior

The screen reader should be able to navigate inside the guide pane in scan mode, providing users with information about the content and announcing the next available content.

### ❌ Actual Behavior

The narrator focus does not move inside the guide pane in scan mode, and it announces no next content.

### Other Software

_No response_
Repository: tauri
Issue: [bug] the webview doesn't respond after window get focus
Labels: type: bug,status: needs triage

### Describe the bug

the webview doesn't respond after window get focus

### Env
MacOS 12.7.4
tauri 1.6.1
tauri-build 1.5.1

### Reproduce
[tauri-app.zip](https://github.com/tauri-apps/tauri/files/14891765/tauri-app.zip)

https://github.com/tauri-apps/tauri/assets/11213808/d032c5b7-8261-4cef-bf27-5b32a422c339
Repository: storybook
Issue: [Bug]: Angular 17.3.1, unable to bind value to [ngModel] for custom ControlValueAccessor component
Labels: bug,needs triage

### Describe the bug

[The example provided in the repository](https://github.com/storybookjs/storybook/blob/next/code/frameworks/angular/template/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts) for customControlValueAccessor does not work in my fresh Angular library project generated via CLI.
A string "Type anything" is not bound to [ngModel] directive.

I've tried to check how it works in this repo by using the `angular-latest` sandbox but the build is failing for me when I run
`ng run angular-latest:storybook`

### To Reproduce

1. Create a component and a story based on the following code:
- [custom-cva-component.ts](https://github.com/storybookjs/storybook/blob/next/code/frameworks/angular/template/stories/basics/angular-forms/customControlValueAccessor/custom-cva.component.ts)
- [custom-cva-component.stories.ts](https://github.com/storybookjs/storybook/blob/next/code/frameworks/angular/template/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts)

2. Run storybook

**Actual result:**
![image](https://github.com/storybookjs/storybook/assets/4891031/e65bad7e-87bc-4a50-99bd-13cd10c98e90)

**Expected result:**
Text input should be set to "Type anything"


### System

```bash
Storybook Environment Info:

  System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.10.0/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm <----- active
  npmPackages:
    @storybook/addon-essentials: ^8.0.5 => 8.0.5
    @storybook/addon-interactions: ^8.0.5 => 8.0.5
    @storybook/addon-links: ^8.0.5 => 8.0.5
    @storybook/angular: ^8.0.5 => 8.0.5
    @storybook/blocks: ^8.0.5 => 8.0.5
    @storybook/test: ^8.0.5 => 8.0.5
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.0.5 => 8.0.5
```


### Additional context

_No response_
Repository: opencv
Issue: Improve python sample/ javascript sample code for computing and visualisation of dense-flow
Labels: category: documentation

### Describe the doc issue

In the [python code](https://github.com/opencv/opencv/blob/e0b7f04fd240b3ea23ae0cc2e3c071c2e018a7ec/samples/python/tutorial_code/video/optical_flow/optical_flow_dense.py#L27) (also in javascript version) the frames are (deep?) copied, which isn't necessary.
No good sample code.



### Fix suggestion

See [my C++ code](https://forum.opencv.org/t/visualize-dense-optical-flow/16871/3) (second example).
Repository: PowerToys
Issue: error to use mouse without borders
Labels: Issue-Bug,Needs-Triage,Product-Mouse Without Borders

### Microsoft PowerToys version

0.80.0

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

When I click on generate password on my powertoy in mouse without borders it does not generate password, I also tried to log in with another computer and security key that it generated and it did not let me connect. The computer that I try to generate the key and connect to is on a Domain, and the one I am trying to connect to is not within the domain. Second, the computer that I am trying to generate the key is Windows 11 and the other computer is Windows 10.

### ✔️ Expected Behavior

...

### ❌ Actual Behavior

...

### Other Software

...
Repository: vscode
Issue: Diff editor sides are not equally wide
Labels: feature-request,diff-editor

The left side of the diff editor is narrower than the right side when it is opened initially or resized to default width by double clicking the seperator.
This is probably because the new buttons in the middle take the space from the left side.

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.88.0
- OS Version: Windows 10

Steps to Reproduce:

1. Open diff editor
2. The left side is narrower than the right side

![image](https://github.com/microsoft/vscode/assets/56256405/f73eba99-ccfc-4487-9438-c4dc9c6ecfa1)
Repository: vscode
Issue: Allow @participant to be addressed anywhere in the user prompt, not only at start
Labels: feature-request,panel-chat

Right now it is mandatory for `@` to be at the start of the chat message to address a chat participant. 

Limiting it to just the start, encourages better sentence structure as @roblourens points out. However my concerns are that it limits the user in how they use agents. If I forgot to put `@workspace`, and now I am at the end of the sentence, I have to go all the way back to start. Or even worse, I put it at the end, and it does not get send to the right agent.

If the user mentions multiple participants, then I suggest we send it to the one that appears first.

fyi @jrieken @daviddossett
Repository: ollama
Issue: I can't pull any models
Labels: bug

### What is the issue?

C:\Users\18164>ollama run qwen:0.5b
pulling manifest
Error: pull model manifest: Get "https://ollama.com/token?nonce=pa9U-g8eXWKfTiK3NN_FdQ&scope=repository%!A(MISSING)library%!F(MISSING)qwen%!A(MISSING)pull&service=ollama.com&ts=1712324131": net/http: TLS handshake timeout

### What did you expect to see?

Pull the model

### Steps to reproduce

Pull the model

### Are there any recent changes that introduced the issue?

No

### OS

Windows

### Architecture

x86

### Platform

Docker

### Ollama version

0.1.30

### GPU

Intel

### GPU info

_No response_

### CPU

Intel

### Other software

_No response_
Repository: godot
Issue: Literal String as int (or float) cast causes Parser Error "Cannot cast a value of type "String" as "int"." although it works with variable String
Labels: bug,topic:gdscript

### Tested versions

- Reproducible v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 860M (nvidia; 535.161.07) - Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 Threads)

### Issue description

When trying to cast a **literal string** like `"52"` into an integer (or float) using the `as` syntax, the Parser shows an Error:

> "Cannot cast a value of type "String" as "int".

(or float resp.)

This is a regression over https://github.com/godotengine/godot/issues/67494 which was fixed by https://github.com/godotengine/godot/pull/62814 and I even checked the test code suggested at the end. I also added `to_int` and the case of variable strings to demonstrate it works otherwise:

```gd
function _ready():
	var a1 = "42"
	assert(a1 is String)

	# Expected: Parser Error "Cannot assign a value of type "String" as "int"."
	#var a2 : int = "42"

	# Should pass, but get "Cannot cast a value of type "String" as "int"."
	var a3 : int = "42" as int
	assert(a3 is int)

	# BUT this works with a variable
	var s3 := "42"
	var b3 : int = s3 as int
	assert(b3 is int)

	var a4 := "42"
	assert(a4 is String)

	# Should pass, but get "Cannot cast a value of type "String" as "int"."
	var a5 := "42" as int
	assert(a5 is int)

	# BUT this works with a variable
	var s5 := "42"
	var b5 := s5 as int
	assert(b5 is int)

	var a6 = int("42")
	assert(a6 is int)

	var a7 = "42".to_int()
	assert(a7 is int)
```

![image](https://github.com/godotengine/godot/assets/1067772/6e10da40-e493-4fc2-887e-f362de988e0c)

### Steps to reproduce

1. Copy the demonstration code snippet above in any project script and add a node with that script
2. Let parser error show unexpected errors in red
3. You can also force parsing by running the game, but it shouldn't be needed

### Minimal reproduction project (MRP)

N/A
Repository: vscode
Issue: Accessible diff viewer
Labels: accessibility,diff-editor

<!-- ⚠️⚠️ 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. -->


![image](https://github.com/microsoft/vscode/assets/153802841/72dbb46c-3fbe-4a1c-8d9c-1dbd9ac596f0)

Need a Shortcut button to stage current change
Repository: electron
Issue: [Bug]:  sandboxed electron app fails when running as admin
Labels: platform/windows,bug :beetle:,has-repro-gist,29-x-y,30-x-y,32-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

29

### What operating system are you using?

Windows

### Operating System Version

Windows 10

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

I expect that I can `sudo` run or Run as Admin an Electron app

### Actual Behavior

Fails to run. I recall getting a (-2) ERR_FAILED when navigating to a URL. Now not clear, but the page doesn't load.

### Testcase Gist URL

https://gist.github.com/pushkin-/a1b408c363639da81aa78ffbe4e76045

### Additional Information

[related issue](https://github.com/electron/electron/issues/31123) - was asked to create another issue for it

package up the fiddle and run as admin. Nothing will display in the window.
Repository: kubernetes
Issue: metav1.Now() should have nanoseconds precision
Labels: sig/api-machinery,kind/feature,triage/accepted

### What happened?

`metav1.Time` is a wrapper over golang time, however, when unmarshal doesn't seem to have nanoseconds precision at all 

### What did you expect to happen?

Calling `Unmarshal` or `UnmarshalJSON` on `metav1.Now()` should preserve nanoseconds precision

### How can we reproduce it (as minimally and precisely as possible)?

```
func TestTimeUnmarshalFromJSONAndProto(t *testing.T) {
	oldTime := metav1.Now()
	jsonData, _ := oldTime.MarshalJSON()
	protoData, _ := oldTime.Marshal()

	var timeFromJSON, timeFromProto metav1.Time
	timeFromJSON.UnmarshalJSON(jsonData)
	timeFromProto.Unmarshal(protoData)
	require.Equal(t, oldTime.Nanosecond(), timeFromJSON.Nanosecond())
	require.Equal(t, oldTime.Nanosecond(), timeFromProto.Nanosecond())
}
```
Would error with the first assert, (e.g. Expected :520146000 Actual   :0)

### Anything else we need to know?

This other seems related https://github.com/kubernetes/kubernetes/issues/111928

### Kubernetes version

<details>

```console
$ kubectl version
Client Version: v1.29.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.10-eks-508b6b3
```

</details>

### Cloud provider

<details>

</details>
N/A, see on all GCP, AWS, and Azure

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
cat: /etc/os-release: No such file or directory
$ uname -a
Darwin W220G0GD4K 23.4.0 Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000 arm64 arm Darwin


# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

</details>


### Install tools

<details>

</details>


### Container runtime (CRI) and version (if applicable)

<details>

</details>


### Related plugins (CNI, CSI, ...) and versions (if applicable)

<details>

</details>
Repository: vscode
Issue: Custom menu is clipped in multi diff editor
Labels: bug,multi-diff-editor


Type: <b>Bug</b>

1. Open multidiff view with a small diff
2. Right click in editor

:bug: => menu is clipped

VS Code version: Code - Insiders 1.89.0-insider (d6eba9b861e3ab7d1935cff61c3943e319f5c830, 2024-04-05T05:52:23.778Z)
OS version: Windows_NT x64 10.0.22631



![Image](https://github.com/microsoft/vscode/assets/6561887/f4b0fc7c-514d-455d-a279-0333972a01e8)
Repository: vscode
Issue: [Feature request] Native VS Code support for GitHub Alerts
Labels: feature-request,markdown,comments

<!-- ⚠️⚠️ 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. -->
Please add **native** VS Code support for [GitHub Alerts](https://github.com/orgs/community/discussions/16925), e.g.:

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.

Right now in VS Code, you need an [external extension](https://marketplace.visualstudio.com/items?itemName=yahyabatulu.vscode-markdown-alert) for displaying the markdown for these alerts, lacking features like creating snippet commands to quickly add alerts.
Repository: vscode
Issue: Command to "Run cells in section" for current cell's section in notebook.
Labels: feature-request,notebook-toc-outline

<!-- ⚠️⚠️ 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. -->

_Searched for "Run cells in section", had filed as https://github.com/microsoft/vscode-jupyter/issues/15501, maybe it belongs here._

<!-- Describe the feature you'd like. -->

The new ["Run cells in section" feature](https://code.visualstudio.com/updates/v1_88#_run-cells-in-section) is fantastic for organizing notebooks,
particularly where you may have a section of "heavy IO" before a block of EDA or interactive analysis.

We often have notebooks with two sections:
1. A "data load" block that loads data from a backend warehouse, potentially running some expensive post-processing.
2. A "analysis" block, where we reshape the data, define some helper functions and run some lighter post-processing or tidy the dataset.

The "run in section" feature is great inside an analysis block, because we can easily rerun the lightweight helper definitions and generate EDA plots *without* triggering the heavier IO section of the notebook. Wow! Much rapid feedback. Much workflow ease. Nice.

However, unlike the (also great) "Run Precedent Cells" feature, there doesn't appear to be a way to trigger this from the command palette (and therefor keyboard shortcut) for the selected cell or section.

It would be good to add a editor command "Execute Section Cells"...

...selectable by the standard command palette
...targetable by keyboard shortcuts
...(ideally) in the extended run dropdown

...that detects the section of the currently selected cell or cells
...then runs the entire section (or sections) in the needful way (as if I clicked this on the section header in outline)

Examples of where in the UI I would expect this to show up...
![image](https://github.com/microsoft/vscode-jupyter/assets/282792/6d41a7c3-f3ca-412b-839e-438d21ce4031)
![image](https://github.com/microsoft/vscode-jupyter/assets/282792/b26a7479-5872-4e8a-8ec0-a81629e7ecf6)

I noted, in the keyboard shortcuts section, `notebook.section.runCells`, however this doesn't appear to have an effect when bound to a key.
Repository: ui
Issue: [bug]: Interpaging in dashboard in dashboard-02
Labels: bug

### Describe the bug

While clicking "Acme Inc" in sidebar, the components turns into a shadcn/ui homepage, you can route and nest more websites inside of it.

### Affected component/components

Blocks/Dashboard-02

### How to reproduce

1. Go to https://ui.shadcn.com/blocks#dashboard-01
2. Click on "Acme Inc"

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Ubuntu 22.04 / Mozilla Firefox 124.0
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues