sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: node
Issue: `node:child_process.fork` does not generate cpu-prof when process is killed
Labels: child_process

### Version

v20.17.0

### Platform

```text
Darwin Aris-MacBook-Air.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:16:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8112 arm64
```


### Subsystem

_No response_

### What steps will reproduce the bug?

```js
// repro.mjs
import { fork } from "node:child_process";
import { Worker } from "node:worker_threads";
import { existsSync, writeFileSync } from "node:fs";
import assert from "node:assert";

writeFileSync( "./example.mjs", `
console.log("Hello world");

// Keep alive
setInterval(() => {}, 1_000);
`, "utf8");

const subprocess = fork("./example.mjs", { execArgv: ["--cpu-prof", "--cpu-prof-dir=forks-profile"] });
const onExit = new Promise((r) => subprocess.on("exit", r));

await new Promise((r) => setTimeout(r, 1000));
subprocess.kill();
await onExit;

const thread = new Worker("./example.mjs", { execArgv: ["--cpu-prof", "--cpu-prof-dir=threads-profile"] });

await new Promise((r) => setTimeout(r, 1000));
await thread.terminate();

assert(existsSync("./threads-profile"), "Threads profile missing");
assert(existsSync("./forks-profile"), "Forks profile missing");
```

```sh
 $ node repro.mjs 
Hello world
Hello world
node:internal/modules/run_main:129
    triggerUncaughtException(
    ^

AssertionError [ERR_ASSERTION]: Forks profile missing
    at file:///x/repros/scripts/repro.mjs:26:1
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}

Node.js v20.17.0
```


### How often does it reproduce? Is there a required condition?

Always

### What is the expected behavior? Why is that the expected behavior?

When a child process is killed with `.kill()`, it does not generate the CPU profile that `--cpu-prof` argument instructs it to do. I would expect profile to be generated. 

This is inconsistent with `node:worker_threads` where terminating a `Worker` with `.terminate()` does still generate the profile. It also makes it difficult to debug slow child processes as you cannot get profile info without waiting for graceful exit.


### What do you see instead?

Child process is killed and CPU profile is not written.

### Additional information

_No response_
Repository: vscode
Issue: Diff editor: `1 files` should be `1 file`
Labels: polish,multi-diff-editor

![Image](https://github.com/user-attachments/assets/b7e486b5-08b9-45db-b14a-d5f179bfef5f)
Repository: opencv
Issue: Why can't there be parallel inference when the batch size is greater than 1 in C++ OpenCV CUDA DNN?
Labels: feature,category: gpu/cuda (contrib),category: dnn

OpenCV = 4.9
Operating System / Platform = Windows 64 Bit
Compiler = Visual Studio 2022
cuda =11.6
cudnn = 8.6.0
Driver Version = 536.45
GPU PTX4050 6G
Detailed description：
I used the C++ version of OpenCV for model inference with a simple convolutional network using the GPU. In release mode, when the batch size is 1, the inference time is 40 ms, but when the batch size is 4, the time is approximately 160 ms. The expectation is that the inference time for the model is 40 ms, whether the batch size is 1 or 4. Why is there no parallel inference? In debug mode, the following error is output:

[ INFO:0@0.535] global registry_parallel.impl.hpp:96 cv::parallel::ParallelBackendRegistry::ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
[ INFO:0@0.535] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\code\ISImgDetect\demo\opencv_core_parallel_onetbb490_64d.dll => FAILED
[ INFO:0@0.536] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_onetbb490_64d.dll => FAILED
[ INFO:0@0.536] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\code\ISImgDetect\demo\opencv_core_parallel_tbb490_64d.dll => FAILED
[ INFO:0@0.537] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_tbb490_64d.dll => FAILED
[ INFO:0@0.537] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load D:\code\ISImgDetect\demo\opencv_core_parallel_openmp490_64d.dll => FAILED
[ INFO:0@0.538] global plugin_loader.impl.hpp:67 cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_openmp490_64d.dll => FAILED
[ INFO:0@2.086] global op_cuda.cpp:80 cv::dnn::dnn4_v20231225::Net::Impl::initCUDABackend CUDA backend will fallback to the CPU implementation for the layer "_input" of type NetInputLayer

the layer "_input" of type NetInputLayer be accelerated with GPU, instead using CPU.
Why can't the model perform parallel inference? when the batch size is 1,the GPU usage is 24% and when the batch size is 4 ,the GPU usage is 28%.
How to solve this problem? pls!
Repository: vscode
Issue: Should cell input lose focus when hidden lines are expanded?
Labels: bug,papercut :drop_of_blood:,notebook-diff

Testing #228393

- Focus the cell
- When you expand a hidden region, the focused cell loses focus and the whole notebook is focused. 
- I am wondering if it would make sense to keep the focus on the cell since we interact with the cell?
Repository: vscode
Issue: Idea: Indicate if file is opened in tab
Labels: feature-request,suggest,chat

Testing #229342

If think for common file names, it could be very helpful if the suggest list indicates if an item is currently opened in an editor.
Repository: angular
Issue: docs: light mode doesn't show the correct colors for terminal text
Labels: area: docs-infra

### Describe the problem that you experienced


https://github.com/user-attachments/assets/7d20d725-d68c-4cb2-83b9-06d1973e6471



### Enter the URL of the topic with the problem

_No response_

### Describe what you were looking for in the documentation

_No response_

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

_No response_

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: ant-design
Issue: Upload 上传组件使用照片墙的同时多选上传了400张图片，会出现卡住浏览器无响应
Labels: Inactive,unconfirmed

### Reproduction link

[https://codepen.io/pen?&editors=001&prefill_data_id=9da31576-63b9-44b5-9649-1435b8a837e8](https://codepen.io/pen?&editors=001&prefill_data_id=9da31576-63b9-44b5-9649-1435b8a837e8)

### Steps to reproduce

直接官方文档选择照片墙，打开codepen，改为 multiple 模式，上传400张图片

### What is expected?

不会卡死

### What is actually happening?

浏览器直接卡死

| Environment | Info |
| --- | --- |
| antd | 5.20.1 |
| React | react 18 |
| System | win10 |
| Browser | chrome 版本 128.0.6613.138（正式版本） （64 位） |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: Remapping shortcuts does not work unless I reboot Powertoys
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.84.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

- Having shortcuts remapped (it seems that either the ones with an application specified or the ones that do not are concerned)
- Restart computer
- The shortcuts does not work unless I quit the application and start it again

### ✔️ Expected Behavior

The shortcuts should always work as soon as Powertoys is running. It worked well wtih 0.83.0

### ❌ Actual Behavior

The shortcuts don't work unless I restart Powertoys

### Other Software

_No response_
Repository: vscode
Issue: `Turn on Remote Tunnel Access` account view could show suggestions for accounts to authenticate with 
Labels: feature-request,remote-tunnel

Testing #229420

I am not sure if this is a bug or intended. 

- Open the account menu from the account icon
- Click on `Turn on Remote Tunnel Access`
- Click on `Turn on for this session`
- The first entry shows the Microsoft account I am already signed in with
- I am already signed in with my GitHub account on VS Code
- Perhaps the GitHub account can be shown in the menu as a suggested account to sign in with?

https://github.com/user-attachments/assets/f810da0e-06fa-48bd-a7ae-82bc6f1833c5
Repository: vscode
Issue: SCM Graph - Picked wrong repo not from active editor
Labels: bug,scm

Testing #229375

In a MR workspace where `vscode` is the first repo, I have 3 editors opened from other repos and even though the active editor is from another repo, `vscode` was picked:

![Image](https://github.com/user-attachments/assets/9a87bf0c-1e05-4742-9fe3-2152e7c1e1de)

Here `/Users/bpasero/Development/Microsoft/vscode-node-speech/SECURITY.md` is from a repo `vscode-node-speech`.
Repository: vscode
Issue: SCM Graph - Make repository picker a dropdown with a "More..." entry
Labels: ux,scm,under-discussion

Testing #229375

I would put the top 5 repos in a dropdown and only show quick pick when you click "More..."

![Image](https://github.com/user-attachments/assets/ca222098-ef59-44a5-a5ff-de1580e8a737)
Repository: vscode
Issue: SCM Graph - Picked repository is not remembered after restart
Labels: bug,scm,under-discussion

Testing #229375

When you pick something other than "Auto", after a window reload I think I am back to "Auto". Maybe this needs a better indicator whether I am set to "Auto" vs. a specific repo?
Repository: vscode
Issue: SCM Graph - Render code backticks
Labels: feature-request,scm

Testing #229359

I think it would be nice to render code backticks in the graph view:

![Image](https://github.com/user-attachments/assets/1c09e91b-1f1a-4c0a-97f0-7a214dc232a1)
Repository: react-native
Issue: Click events do not take effect in animation views （Some Android devices, Huawei）
Labels: Issue: Author Provided Repro,Platform: Android,Newer Patch Available,Type: New Architecture

### Description

On some Android devices (Huawei), the buttons in the animation view cannot respond to click events normally, and you need to click many times before you can touch them occasionally.

### Steps to reproduce

1、install the application with `yarn android`
2、click '显示弹框'
3、click '关闭'，It takes many clicks to close

### React Native Version

0.74.1

### Affected Platforms

Runtime - Android

### Areas

Fabric - The New Renderer

### Output of `npx react-native info`

```text
System:
  OS: macOS 13.4
  CPU: (10) arm64 Apple M2 Pro
  Memory: 90.55 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.0.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.19
    path: /usr/local/bin/yarn
  npm:
    version: 8.6.0
    path: /usr/local/bin/npm
  Watchman:
    version: 2024.01.22.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.12.1
    path: /Users/01400926/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 22.4
      - iOS 16.4
      - macOS 13.3
      - tvOS 16.4
      - watchOS 9.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10671973
  Xcode:
    version: 14.3/14E222b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 20.0.2
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/01400926/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.1
    wanted: 0.74.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: false
```


### Stacktrace or Logs

```text
not
```


### Reproducer

https://github.com/peaktangf/rnnotresponsedemo

### Screenshots and Videos

_No response_

https://github.com/user-attachments/assets/5d7ec6d6-2cbd-4dbd-926d-7005db2dbf38
Repository: vscode
Issue: Chat file attachment - disambiguate when file name matches
Labels: bug,panel-chat

Testing #229436

Attached two files from the same workspace that have the same name. At the moment the only way to disambiguate is to hover over. We should probably include parts of the path in the label in order to disambiguate between the files. 

![Image](https://github.com/user-attachments/assets/f73f6be2-95b4-4a86-8403-9f1a9a45c01d)
Repository: godot
Issue: "DisplayServer.window_set_mouse_passthrough" causes flickering around polygon border
Labels: bug,topic:rendering,topic:porting

### Tested versions

- Reproducible in: 4.3.stable, 4.2.stable, 4.4.dev2 [[97ef3c8]](https://github.com/godotengine/godot/commit/97ef3c837263099faf02d8ebafd6c77c94d2aaba) with Compatibility renderer

### System information

Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - GeForce GTX 1060 - Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 Threads)

### Issue description



https://github.com/user-attachments/assets/2f9acf0a-c61e-41a9-808d-00f779bfc0fa

When using window_set_mouse_passthrough and updating the clickable polygon area (e.g. when the player drags a desktop pet around on their screen), it causes clipping around the borders of the polygon area.

Similar issue to [#80098](https://github.com/godotengine/godot/issues/80098#issue-1830205875), except I get clipping around the borders of the polygon instead of whole screen flickering.

### Steps to reproduce

Run the minimal reproduction project and drag the test object around at a relatively fast pace.

The clipping does not happen if ```DisplayServer.window_set_mouse_passthrough(passthrough_polygon)``` (line 25 of Scenes/pet.gd)  is commented out.

### Minimal reproduction project (MRP)

[test_window_set_mouse_passthrough_clipping.zip](https://github.com/user-attachments/files/17111759/test_window_set_mouse_passthrough_clipping.zip)
Repository: storybook
Issue: [Bug]: @storybook/angular unsupported --stats-json flag
Labels: bug,needs triage

### Describe the bug

When Chromatic build storybook it passes additional arguments such as --stats-json.

The `--webpackStatsJson` parameter has been renamed into `--stats-json`: https://github.com/chromaui/chromatic-cli/issues/1030

Therefore since this morning all my CI fails.

Example:

```
> nx run storybook-host-angular:build-storybook --output-dir=/tmp/chromatic--2639-uZkil9x91h0W --stats-json=/tmp/chromatic--2639-uZkil9x91h0W
 NX   'stats-json' is not found in schema
 NX   Running target build-storybook for project storybook-host-angular failed

```

### Reproduction link

https://stackblitz.com/edit/github-a5abiy?file=package.json

### Reproduction steps

1. Go to the above link
2. Run the command `yarn storybook -- --stats-json=./tmp`

### System

```bash
Storybook Environment Info:

  System:
    OS: macOS 15.0
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.volta/tools/image/node/20.17.0/bin/node
    npm: 10.8.2 - ~/.volta/tools/image/node/20.17.0/bin/npm <----- active
  Browsers:
    Chrome: 129.0.6668.59
    Edge: 129.0.2792.52
    Safari: 18.0
  npmPackages:
    @storybook/addon-essentials: 8.3.2 => 8.3.2 
    @storybook/addon-interactions: 8.3.2 => 8.3.2 
    @storybook/angular: 8.3.2 => 8.3.2 
    @storybook/core-server: 8.3.2 => 8.3.2 
    @storybook/nextjs: 8.3.2 => 8.3.2 
    @storybook/react-vite: 8.3.2 => 8.3.2 
    @storybook/test: 8.3.2 => 8.3.2 
    @storybook/test-runner: 0.18.2 => 0.18.2 
    storybook: 8.3.2 => 8.3.2
```


### Additional context

_No response_
Repository: vscode
Issue: Surface find icon in explorer view toolbar
Labels: feature-request,file-explorer

Testing #229408

![Image](https://github.com/user-attachments/assets/a647a972-fdbf-4511-99ab-b9ee30a583f4)

I think now this feature can be made much more discoverable given how it works. I would think that maybe the "Refresh" icon could go away if we wanted to reduce clutter, but maybe we can check with how often these actions are used daily.
Repository: deno
Issue: Bug: `.bin` npm commands not found with byonm
Labels: bug,node compat

In a pnpm workspace setup some entries from the `.bin` folder can be in the workspace member or the root folder:

- `node_modules/.bin`
- `packages/member/node_modules/.bin`

Not all binaries are linked in the workspace member and in node it traverses upwards and searches all `node_modules/.bin` directories for the binaries. In Deno we don't seem to do that and when a binary isn't in the member folder, we fail.

## Steps to reproduce

1. Clone https://github.com/vitest-dev/vitest
2. Run `pnpm i`
3. Run `cd packages/ui`
4. Run `deno task dev`

Output:

```sh
$ deno task dev
Task dev rollup -c --watch --watch.include 'node/**'
rollup: command not found
```

Version: Deno 2.0.0-rc.4+1e261c9
Repository: angular
Issue: Initializer APIs (input, output, queries) not integrating with `TestBed.override` in a jit & aot mix
Labels: area: compiler,core: queries,core: inputs / outputs,P3,compiler: jit,bug

Investigation result of: https://github.com/angular/angular/pull/57668

`TestBed.overrideComponent` seems to not work well with signal inputs, queries, output, or other non-decorator APIs.

That is because the `setClassMetadata` calls (generated for JIT) are used to re-compile the component with the overrides — **but** there is no decorator for the e.g. `input()` calls, hence this metadata is lost.

Options I could see:

- Smartly merging directly with the original component metadata in TestBed. 
   * Will be hard to detect output as it's non-distinguishable from decorator outputs.
   * I guess, we could fully re-use inputs, queries etc. metadata instead of relying on prop decorators..?
- Adding synthetic prop decorators to `setClassMetadata`.
   * Would be great to re-use the JIT transforms.. but those need an import manager; so needs a bit of refactoring!

**Note**: I do think this may not be a problem in Angular CLI applications because full tests are compiled with JIT transforms in place! Here it fails because we mix AOT targets with JIT targets; without any JIT transforms
Repository: ollama
Issue: Tesla p40 24G with quadro M6000 24G can not work together
Labels: bug,nvidia

### What is the issue?

P40 with M6000, just P40 works, and M6000 memory not be used by ollama. even modified ollama.service for multi GPU.
I try to use P40 with 1080ti, works fine with default ollama.service. P40 with RTX 2060, works fine with default ollama.service. 
anyone can tell me why and is there a chance to make them working together? Thx.

### OS

Linux

### GPU

Nvidia

### CPU

Intel

### Ollama version

0.3.11
Repository: PowerToys
Issue: Better German Hyphenation
Labels: Needs-Triage

### Description of the new feature / enhancement

Some in-word linebreaks in the german UI are not what you would typically use in the german language.
![image](https://github.com/user-attachments/assets/aaf7b288-6d86-4e00-82f3-18f34bf78fa6)
German is notorious for having long words (Just look at "Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft") and to make these easier to read there are some guidelines on how to break words apart in case you cannot fit the word in one line.
In the picture provided above you can see that "Tastenkombinationsübersicht" was split after "ü" and the indicating "-" is not present.
Typically you would try to split between syllables preferably even entire sub words.

In this case splitting it like this:
```
Tastenkombinations
-übersicht
```
Would be prefered.

The same can be said for "Registrierungsvorschau"
Here it would be split like this:
```
Registrierungs-
vorschau
```

There are ready to use hyphenation libraries which can achieve this result and would make words with line breaks easier to read for your German users

### Scenario when this would be used?

This specific example can be seen every time Quick-Access is opened when the language is set to German.
There may also be more texts within PowerToys where a hyphenation library could be beneficial for improved readability for your German users.

### Supporting information

Here is a website that can be used to see possible places where German words can be split
https://www.silbentrennung24.de/
Repository: ui
Issue: [bug]: Installation of shad cn ui packages
Labels: bug

### Describe the bug

I want to install one of the packages, I also use VPN and breaker, but I get this error.

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

request to https://ui.shadcn.com/r/index.json failed, reason: connect ETIMEDOUT 5.9.210.65:443



### Affected component/components

ص

### How to reproduce

ص

### Codesandbox/StackBlitz link

ص

### Logs

```bash
ص
```


### System Info

```bash
د
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: tauri
Issue: [bug] In Volume Mixer it show "Microsoft Egde WebView2"
Labels: type: bug,status: upstream,platform: Windows

### Describe the bug

it show audio is playing from "Microsoft Egde WebView2" not apps
![image](https://github.com/user-attachments/assets/19caf08e-ef43-4403-9327-9bba0cfcbba2)


### Reproduction

play audio / video in app

### Expected behavior

it show app name & logo

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 128.0.2739.79
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.5.1
    - npm: 9.8.0

[-] Packages
    - tauri-cli [RUST]: 1.6.2

[-] App
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: ant-design
Issue: 【Feature】ConfigProvider 的 padding、margin和borderRadius属性希望同时支持 string 类型
Labels: Inactive,unconfirmed

### What problem does this feature solve?

目前，Ant Design 的 ConfigProvider 中某些属性（如 padding、margin 和 borderRadius）只能接受 number 类型的值。这限制了开发者在不同方向上设置不同的值（例如 padding: "10px 20px 30px 40px"）。

为了更灵活地控制组件的样式，希望这些属性能够同时支持字符串类型的值，以便可以像 CSS 一样自由地设置四个方向的值。

### What does the proposed API look like?

在ThemeConfig配置对象中，仅支持 number 类型的值可以同时支持 number 和 string。

```tsx
import React from "react";
import { ConfigProvider, Button } from "antd";

const themeConfig = {
  components: {
    Button: {
      // 支持 number
      padding: 10,
      margin: 10,
      // 支持 string
      padding: "10px 20px 30px 40px",
      margin: "5px 10px 15px 20px",
    },
  },
};

const App = () => (
  <ConfigProvider theme={themeConfig}>
    <Button>Custom Button</Button>
  </ConfigProvider>
);

export default App;
```

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->