sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: Image Link for the Tutorial doesn't work.
Labels: area: docs-infra

### Describe the problem that you experienced

I was doing the Angular Tutorial. I wondered why the images won't appear. I checked the code multiple times. After some time i checked the url. Then I saw the link was invalid.

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

https://angular.dev/assets/images/tutorials/common

### 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

Fix the link.

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

![Image](https://github.com/user-attachments/assets/0e385e57-62f1-4d58-8c6c-68b0f4a916b1)


### 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: react
Issue: [Compiler Bug]: Compiler modified and broke external react component default export
Labels: Type: Bug,Status: Unconfirmed,Component: Optimizing Compiler

### What kind of issue is this?

- [X] React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- [X] babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- [ ] eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script)

### Link to repro

https://github.com/reinismu/react-native-video-react-compiler-bug

### Repro steps

Hi I already raised the issue with `react-native-video` team and they made a workaround for now to use named export.

https://github.com/TheWidlarzGroup/react-native-video/issues/4222

### How often does this bug happen?

Every time

### What version of React are you using?

18
Repository: awesome-mac
Issue: 🎉 Add <ClashX>
Labels: addition

### 🪩 Provide a link to the proposed addition

[github](https://github.com/MetaCubeX/ClashX.Meta)

### 😳 Explain why it should be added

A GUI client for macOS, support mihomo core

### 📖 Additional context

_No response_

### 🧨 Issue Checklist

- [X] I have checked for other similar issues
- [X] I have explained why this change is important
- [X] I have added necessary documentation (if appropriate)
Repository: pytorch
Issue: Triton Dependancy Error while compiling diffusion model on Windows 10 and torch==2.4.1+cu124
Labels: module: windows,triaged,oncall: pt2

### 🐛 Describe the bug

Couldn't run inference after using torch.compile() on unet and vae of a diffusion model. 
It couldn't find an installation of triton.
Model works fine without compiling.
torch.compile runs smoothly but the program raises error on inference.

### Error logs

`raise RuntimeError(
torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
RuntimeError: Cannot find a working triton installation. More information on installing Triton can be found at https://github.com/openai/triton `

### Minified repro

_No response_

### Versions

Collecting environment information...
PyTorch version: 2.4.1+cu124
Is debug build: False
CUDA used to build PyTorch: 12.4
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 Pro
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.30.4
Libc version: N/A

Python version: 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: True
CUDA runtime version: 11.7.64
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4070
Nvidia driver version: 561.09
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=3400
DeviceID=CPU0
Family=198
L2CacheSize=24576
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=3400
Name=13th Gen Intel(R) Core(TM) i7-13700K
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.4.1+cu124
[pip3] torchaudio==2.4.1+cu124
[pip3] torchvision==0.19.1+cu124
[conda] _anaconda_depends         2024.02             py311_mkl_1
[conda] blas                      1.0                         mkl
[conda] mkl                       2023.1.0         h6b88ed4_46358
[conda] mkl-service               2.4.0           py311h2bbff1b_1
[conda] mkl_fft                   1.3.8           py311h2bbff1b_0
[conda] mkl_random                1.2.4           py311h59b6b97_0
[conda] numpy                     1.26.4          py311hdab7c0b_0
[conda] numpy-base                1.26.4          py311hd01c5d8_0
[conda] numpydoc                  1.5.0           py311haa95532_0

cc @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @ezyang @chauhang @penguinwu
Repository: awesome-mac
Issue: 🎉 Add <Wox>
Labels: addition

### 🪩 Provide a link to the proposed addition

[homepage](https://wox-launcher.github.io/Wox/#/)
[github](https://github.com/Wox-launcher/Wox)

### 😳 Explain why it should be added

.Wox is a cross-platform launcher that simply works. It's an alternative to Alfred and Launchy

### 📖 Additional context

_No response_

### 🧨 Issue Checklist

- [X] I have checked for other similar issues
- [X] I have explained why this change is important
- [X] I have added necessary documentation (if appropriate)
Repository: godot
Issue: MultiplayerSynchronizer throws error when synchronizing Node changes on first peer connection
Labels: bug,topic:multiplayer

### Tested versions

Reproducible in v4.3.stable.arch_linux

### System information

Godot v4.3.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Sat, 05 Oct 2024 17:53:31 +0000 - Wayland - GLES3 (Compatibility) - AMD Radeon RX 7600 (radeonsi, navi33, LLVM 18.1.8, DRM 3.54, 6.6.54-1-lts) - 13th Gen Intel(R) Core(TM) i9-13900T (32 Threads)

### Issue description

The `MultiplayerSynchronizer` throws an error on the third peer that it can't find the second peer's Player Node and the same for any subsequent peers except the host.

The synchronization doesn't work for those nodes then.
I don't understand why it throws that error. My expectation is that it shouldn't and synchronize properly.

```
E 0:00:02:0346   get_node: Node not found: "Network/Players/1994578314/MultiplayerSynchronizer" (relative to "/root").
  <C++ Error>    Method/function failed. Returning: nullptr
  <C++ Source>   scene/main/node.cpp:1792 @ get_node()
```
```
E 0:00:02:0346   process_simplify_path: Parameter "node" is null.
  <C++ Source>   modules/multiplayer/scene_cache_interface.cpp:118 @ process_simplify_path()
```
![20241010_11h50m10s_grim](https://github.com/user-attachments/assets/a6ec45be-8aa2-4061-ac23-c998d4fd34d9)

### Steps to reproduce

Run the project.
Click `Host` in one window and `Join` in the others.
Observe the error and check the `score` value for each Player in the `Remote` SceneTree tab.
In all Sessions every Player Node should have their score set to 1, but it isn't.

### Minimal reproduction project (MRP)

[bug-multiplayersynchronizer-playerstate.zip](https://github.com/user-attachments/files/17326390/bug-multiplayersynchronizer-playerstate.zip)
Repository: excalidraw
Issue: optimize eraser performance
Labels: performance ⚡️

- likely related to checking hitbox of all non-deleted elements except just visible ones.
- more optims can likely be done as well

https://excalidraw.com/#json=e9Z_OVliTSgIkoO5RehPa,3fMgD5xu7AiNsSkZUTHflQ
Repository: deno
Issue: Deno install --config flag does not support remote configuration files
Labels: cli,suggestion

# Deno Install Command: Support for Remote Configuration Files

## Version
Deno 2.0.0

## Issue Description
The `deno install` command's `--config` flag currently only accepts local file paths, limiting its functionality when installing CLI tools with remotely hosted source code and configuration files.

## Expected vs. Current Behavior

### Expected
The `--config` flag should accept URLs, allowing for a streamlined installation process of remotely hosted CLI tools.

### Current
The `--config` flag only accepts local file paths, causing installation failures when attempting to use a URL.

## Example Commands

### Desired (Not Currently Supported)
```
deno install -Afg --config https://example-server-url/deno.json --import-map https://example-server-url/import_map.json https://example-server-url/main.ts
```

### Current Workaround
1. Fetch `deno.json` from the server
2. Save it locally
3. Run:
```
deno install -Afg --config ./deno.json --import-map https://example-server-url/import_map.json https://example-server-url/main.ts
```

## Impact
This limitation complicates the installation process for CLI tools relying on remote configuration files, affecting developers who maintain or use such tools.

## Suggested Enhancement
Implement support for remote URLs in the `--config` flag of the `deno install` command to allow for a more flexible and streamlined installation process.

## Additional Information
- The `--import-map` flag already supports remote URLs, suggesting similar functionality could be implemented for `--config`.
- This enhancement aligns with Deno's philosophy of supporting URL-based imports and configurations.

Thank you for considering this enhancement to improve the Deno installation process.
Repository: PowerToys
Issue: Quick Accent: In Esperanto, marked 'u' is not 'u-caron' but rather 'u-breve'
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Quick Accent

### Steps to reproduce

1. Use Quick Accent with a set of Esperanto
2. Input 'u' and add accent

### ✔️ Expected Behavior

'ŭ' (u-breve) (U+016D)

- https://www.akademio-de-esperanto.org/fundamento/gramatiko_angla.html
- https://vortaro.net/#%C5%AD_kd
- https://en.wikipedia.org/wiki/%C5%AC

### ❌ Actual Behavior

'ǔ' (u-caron) (U+01D4)

### Other Software

_No response_
Repository: TypeScript
Issue: Completion should suggest enum keys on some conditions
Labels: Suggestion,Domain: Completion Lists,Awaiting More Feedback

### 🔍 Search Terms

"enum", "enum keys", "completion"

### ✅ Viability Checklist

- [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [x] This wouldn't change the runtime behavior of existing JavaScript code
- [x] This could be implemented without emitting different JS based on the types of the expressions
- [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- [x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

Suggest enum keys completions without having to spell out the enum identifier.

For example, input `CRE` should be offered completion `State.CREATED`.

This completion can be limited to places where the enum type is expected, like a function argument or an object literal.

### 📃 Motivating Example

```typescript
enum State {
    CREATED,
    CLOSED,
}

function f(v : State) {}

f(CRE ) // Expect completion on CRE
```

### 💻 Use Cases

1. What do you want to use this for? better DX
2. What shortcomings exist with current approaches? Have to first write the enum before enum key completions are offered. 
3. What workarounds are you using in the meantime? no
Repository: kubernetes
Issue: kube-apiserver:  High pod churn causes APIServer OOM
Labels: kind/support,sig/api-machinery,triage/needs-information

### What happened?

The `kube-apiserver` memory usage is too high. The node has 512GB of memory, but the `kube-apiserver` is using as much as 326GB. Profiling with Go revealed that `StreamWatcher ` accounts for 84.49% of the memory usage.


memory usage:

![image](https://github.com/user-attachments/assets/62fc8809-eefa-4a0c-86a1-1812ea6602b4)

![Image](https://github.com/user-attachments/assets/922d5dfd-4662-452d-b691-65f942454fba)

flame graph:
![image](https://github.com/user-attachments/assets/485fb809-38dc-4133-847d-d621dd8811b2)


golang profliing heap:
[kube-apiserver.heap.zip](https://github.com/user-attachments/files/17327281/kube-apiserver.heap.zip)

golang profliing cpu:

[kube-apiserver.cpu.zip](https://github.com/user-attachments/files/17327286/kube-apiserver.cpu.zip)

cluster nodes: 4.6K

### What did you expect to happen?

`kube-apiserver` memory remains at a low memory watermark.

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

None

### Anything else we need to know?

None

### Kubernetes version

[release-1.17](https://github.com/kubernetes/kubernetes/tree/release-1.17)

commit ID: 8885823091bd6419bb2b0b83617a0a6fe0aed8cd


### Cloud provider

<details>

</details>


### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# 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: ui
Issue: [bug]: shadcn cli isn't installing devDependencies
Labels: bug

### Describe the bug

When adding a component with shadcn-cli, the devDependencies in the json file do not install.

### Affected component/components

CLI

### How to reproduce

`npx shadcn@latest init "https://raw.githubusercontent.com/ChrisGambrell/shadcn-registry/31c4b339b9005f4ef5cccaf6e913581fd2e157f6/registry.json"`

Check the package.json and see that the expected `@tailwindcss/typography`, `@types/bcryptjs`, and `prisma` are not installed.

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
Apple M1 Max; macOS 15.0.1 (24A348)
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: angular
Issue: origin entry in HTTP_TRANSFER_CACHE_ORIGIN_MAP doesn't allow empty value
Labels: area: common/http,server: http cache

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

common

### Is this a regression?

No

### Description

While trying to use  `HTTP_TRANSFER_CACHE_ORIGIN_MAP` InjectionToken for providing different endpoint origins on server and client side, we faced and issue where the client endpoint (the value of a map's property) has to stay empty. 

Example:
```
{
  provide: HTTP_TRANSFER_CACHE_ORIGIN_MAP,
  useValue: {
    'https://internal.endpoint:8000': ''
  }
}
```
On server side, Angular should request from a network-internal endpoint origin, whereas the endpoint is mapped to the root when accessing it publicly on client-side, so only the pathname without any origin has to be used.

BUT, the above configuration unfortunately won't work with emtpy values, as those are considered invalid, because of just doing a falsy check instead of checking against null/undefined. See https://github.com/angular/angular/blob/main/packages/common/http/src/transfer_cache.ts#L401

So, in our case we aren't able to use this very handy functionality, forcing us to continue using our existing custom transfer-cache interceptor, we actually planned to get rid of after migrating to NG18.

Highly appreciating a fix that also allows empty origins for the client-side.

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

_No response_

### Please provide the exception or error you saw

_No response_

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

Angular CLI: 18.2.0
Node: 20.17.0
Package Manager: npm 10.8.2
OS: linux x64

Angular: 18.2.7
... animations, cdk, common, compiler, compiler-cli, core, forms
... google-maps, language-service, platform-browser
... platform-browser-dynamic, platform-server, router, ssr
... youtube-player

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
@angular/cli                    18.2.0
@schematics/angular             18.2.7
ng-packagr                      18.2.1
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.15.0


### Anything else?

_No response_
Repository: PowerToys
Issue: New+ Number of Templates is Limited
Labels: Needs-Triage

### Description of the new feature / enhancement

It looks like you can only have 16 Templates with New+, at least on my system. This is a useful PowerToy, but I have a need for many more than 16 templates! If I have more than 16 templates in my Templates Folder, the 17th and later Template just don't show up in the New+ menu.

### Scenario when this would be used?

This would be useful in many contexts - in my case, for example, I have around 50 or so template documents I'd like to include, but as of now it appears that I'm limited to 16 templates.

### Supporting information

_No response_
Repository: TypeScript
Issue: Regression: incorrect return type when disabled strictNullChecks
Labels: Help Wanted,Possible Improvement

### 🔎 Search Terms

"ts7011", "strictnullchecks"

### 🕗 Version & Regression Information

- This changed between versions 5.6.3 and 5.7.0-beta (also in 5.7.0-dev.20241010)

When disabled `strictNullChecks` in `tsconfig.json` error `TS7011: Function expression, which lacks return-type annotation, implicitly has an T return type`

### ⏯ Playground Link

https://www.typescriptlang.org/play/?strict=false&strictNullChecks=false&alwaysStrict=false&noEmitHelpers=true&noUnusedLocals=true&esModuleInterop=false&declaration=false&importHelpers=true&experimentalDecorators=true&target=6&module=6&suppressImplicitAnyIndexErrors=true&strictBuiltinIteratorReturn=true&ts=5.7.0-dev.20241010#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXwHcsJgxZgAVHAJRAHMBRADwAcAKAZwC54OMYsqOgEoetRq3gAfeKmQQIAbgBQYPH3gx5IDvAC88ANoByKMYA08YwCNjAXQB0iaBgCyUdlogI9APkLEpORU4sye2sLSMoZ2wopAA

### 💻 Code

```ts
declare function wildcardToRegExp(s: string): RegExp | null;
const rules = ['a', 'b'].flatMap(rule => wildcardToRegExp(rule) || []); // if flatMap<RegExp> - no error
```


### 🙁 Actual behavior

TS7011: Function expression, which lacks return-type annotation, implicitly has an 'RegExp | any[]' return type.

### 🙂 Expected behavior

No error

### Additional information about the issue

_No response_
Repository: node
Issue: Wrong error annotation when commonjs `require`s an ES module
Labels: confirmed-bug

### Version

- `^22.4.0`
- `main` with the `--no-experimental-require-module` flag.

### Platform

```text
macOS arm64
```


### Subsystem

esm,module

### What steps will reproduce the bug?

```bash
mkdir undefined && cd undefined
echo '{"type":"module"}' > package.json
echo "import nothing from 'somewhere'" > app.js
echo "require('./app.js')" > test.cjs
node test.cjs
```

### How often does it reproduce? Is there a required condition?

It starts to happen with v22.4.0. v20.x and <=22.3.0 are not affected.

### What is the expected behavior? Why is that the expected behavior?

```
$ node test.cjs
/Users/mzasso/git/test/undefined/test.cjs:1
require('./app.js')
^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/mzasso/git/test/undefined/app.js from /Users/mzasso/git/test/undefined/test.cjs not supported.
Instead change the require of app.js in /Users/mzasso/git/test/undefined/test.cjs to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/Users/mzasso/git/test/undefined/test.cjs:1:1) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v22.3.0
```

### What do you see instead?

```
$ node test.cjs
/Users/mzasso/git/test/undefined/test.cjs:315
undefined
             ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/mzasso/git/test/undefined/app.js from /Users/mzasso/git/test/undefined/test.cjs not supported.
Instead change the require of app.js in /Users/mzasso/git/test/undefined/test.cjs to a dynamic import() which is available in all CommonJS modules.
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at Object.<anonymous> (/Users/mzasso/git/test/undefined/test.cjs:1:1) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v22.4.0
```

### Additional information

As you can see, this seems to be caused by the presence of `TracingChannel.traceSync` in the stack trace.
Repository: vscode
Issue: crashes
Labels: info-needed,triage-needed,stale


Type: <b>Bug</b>

dont show errors

VS Code version: Code 1.94.1 (Universal) (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z)
OS version: Darwin arm64 23.6.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 (8 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|7, 8, 7|
|Memory (System)|8.00GB (2.03GB free)|
|Process Argv|--crash-reporter-id f056cf85-1da5-4da6-a04b-fff5b8de04b7|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (16)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-tailwindcss|bra|0.12.11
vscode-eslint|dba|3.0.10
gitlens|eam|15.6.0
prettier-vscode|esb|11.0.0
auto-close-tag|for|0.5.15
auto-rename-tag|for|0.1.10
copilot|Git|1.237.0
copilot-chat|Git|0.21.1
debugpy|ms-|2024.10.0
python|ms-|2024.16.1
vscode-pylance|ms-|2024.10.1
material-icon-theme|PKi|5.11.1
prisma|Pri|5.20.0
vscode-wakatime|Wak|24.6.2
console-ninja|Wal|1.0.363
JavaScriptSnippets|xab|1.8.0

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
defaultse:31146405
iacca1:31150322
showchatpanel:31153267
5fd0e150:31146321

```

</details>

<!-- generated by issue reporter -->