sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Invalid default icon (Win registry)
Labels: bug,install-update,windows

<!-- ⚠️⚠️ 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(s): _^1.7x.x (or before),  1.91.1 (user setup, now installed)_
- OS Version: _Windows_NT_ _x64 10.0.19045 (Win 10 Pro)_

Steps to Reproduce:

1. Using a third party software to scan for invalid keys in Windows Registry.
2. The results show an **invalid file icon** that really doesn't exist: `plist.ico` but it has an registry entry.

---

## More fact details

The path to the key Registry is: `Computer\HKEY_CLASSES_ROOT\VSCode.plist` and then get into DefaultIcon in which we encounter this value:
```
~\AppData\Local\Programs\Microsoft VS Code\resources\app\resources\win32\plist.ico
```
So after checking exactly at the folder path such file is missing. This folder in the system has some icons.

## Checking for legacy icons and change logs

I inspected for the change log, for example, in [Icons for VS Code](https://github.com/vscode-icons/vscode-icons):
```
https://github.com/vscode-icons/vscode-icons/blob/89a95757aed9a585f6f5256baa96f989b89a061c/CHANGELOG.md?plain=1#L554
```
And I think that such file _plist.ico_ is associated with _config.ico_  

The official VS Code repository has such file to make definitions in Registry:
```
https://github.com/microsoft/vscode/blob/66edca3c44eb424c9b217e5dd2b398b01488d223/build/win32/code.iss#L914
```
PLIST -> is an file extension associated with Property List or something else. In iOS there's an application that uses this extension.  

This is the report.
Repository: go
Issue: proposal: database/sql: make free connection strategy configurable
Labels: Proposal

### Proposal Details

The current [strategy](https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/database/sql/sql.go;l=1324-1330;drc=0d018b49e33b1383dc0ae5cc968e800dffeeaf7d) of lookup of a free connection is based on "most recently used" and this helps in closing connections as soon as they become idle. But this strategy creates traffic imbalance between multiple replicas of a cluster (behind haproxy) as it prefers recently used connections, some read replicas in a cluster get much higher qps than other replicas.

Proposal is to add a configurable option to DB type using which the free connection strategy will be using "least recently used" and picks connections from the beginning of the `freeConn` slice.  Although this does not let idle connections to be cleaned up as connections won't be idle compared to the current strategy, this new strategy can be coupled with `SetConnMaxLifetime` to ensure that after ConnMaxLifetime, the optimal resources are being used.
Repository: ollama
Issue: I want ollama add Higgs llama3 70b q8 and llama3 70b bllossom ko 70b too
Labels: model request

Higgs llama3 and bllossom ko llama3 70b and cameleon doesnt work in ollama?
Repository: ui
Issue: [bug]: CLI does not add custom tailwind prefix for indicators in charts component
Labels: bug

### Describe the bug

When you use a custom tailwind prefix (e.g. `tw-`) the shadcn CLI normally generates the componets file with the custom prefix. For the chart component it does not for the indicator section. 

actual: 

```tsx
<div
    className={cn(
        "tw-shrink-0 tw-rounded-[2px] tw-border-[--color-border] tw-bg-[--color-bg]",
        {
            "h-2.5 w-2.5": indicator === "dot",
            "w-1": indicator === "line",
            "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
            "my-0.5": nestLabel && indicator === "dashed",
        }
    )}
    style={{
        "--color-bg": indicatorColor,
        "--color-border": indicatorColor,
        } as React.CSSProperties
    }
/>
```

expected:

```tsx
<div
    className={cn(
        "tw-shrink-0 tw-rounded-[2px] tw-border-[--color-border] tw-bg-[--color-bg]",
        {
            "tw-h-2.5 tw-w-2.5": indicator === "dot",
            "tw-w-1": indicator === "line",
            "tw-w-0 tw-border-[1.5px] tw-border-dashed tw-bg-transparent": indicator === "dashed",
            "tw-my-0.5": nestLabel && indicator === "dashed",
        }
    )}
    style={{
        "--color-bg": indicatorColor,
        "--color-border": indicatorColor,
        } as React.CSSProperties
    }
/>
```

### Affected component/components

Chart

### How to reproduce

`bunx --bun shadcn-ui@latest add chart`

### Codesandbox/StackBlitz link

_No response_

### Logs

_No response_

### System Info

```bash
macOS, bun 1.1.14
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: godot
Issue: Can not run fullscreen mode on WSLg X11
Labels: bug,platform:windows,platform:linuxbsd,topic:rendering,topic:porting

### Tested versions

4.2.2

### System information

WSL Version： 2.2.4.0     Kernel Version： 5.15.153.1-2       WSLg Version： 1.0.61          MSRDC Version： 1.2.5326            Direct3D Version： 1.611.1-81528511                         DXCore Version： 10.0.26091.1-240325-1447.ge-release             Windows Version： 10.0.19045.4651

### Issue description

When add -f or --fullscreen for Godot, it stuck on main page

### Steps to reproduce

Run Godot with -f or --fullscreen on WSLg X11

### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Copy/Paste actions in Citrix environment resets connection to client
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.82.0

### Installation method

GitHub, PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

General

### Steps to reproduce

When remotely connected to a Citrix environment with PowerToys installed and active on default settings, a cut or copy/paste action  on this remote machine results in a connection loss to the client.

I confirmed the behaviour by closing PowerToys, allowing me to C/P again. Enabling PowerToys disconnects the client.

### ✔️ Expected Behavior

C/P actions on remote virtual environment without disconnection of the Citrix client.

### ❌ Actual Behavior

When C/P actions are initiated at the remote environment, the connection to the remote Citrix client with an installation of PowerToys is lost.

### Other Software

Citrix Workspace 24.5.0.131 (2405) on client machine.
Repository: ollama
Issue: Windows Client: Provide a way to allow connections to Ollama from web browser origins other than localhost and 0.0.0.0
Labels: feature request,api

Running my WebApp on my machine works.

```
import ollama from "ollama/browser"

ollama.list().then(...)
// => http:127.0.0.1:11434/api/tags
```

Running it from my web host does not work

```
ollama.list().then(...)
// options => 204
// get     => GET http://127.0.0.1:11434/api/tags net::ERR_FAILED
           Access to fetch at 'http://127.0.0.1:11434/api/tags' from origin 'https://myWebSpace.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Private-Network' header was present in the preflight response for this private network request targeting the `local` address space.
``` 

Ollama installation:
Windows client 0.2.7

I have the server running as follows (without that the OPTIONS call doesn't work):
```
OLLAMA_ORIGINS=https://myWebSpace.com *
```

It would be great if this would work with Windows too.
(seems to work for other platforms https://github.com/ollama/ollama/issues/300)

After running `ollama serve` I can see that the OPTIONS calls, but not the other calls.
```
[GIN] 2024/07/21 - 23:06:59 | 204 |            0s |       127.0.0.1 | OPTIONS  "/api/tags"
```

And the settings from the serve call
```
 OLLAMA_DEBUG:true
 OLLAMA_FLASH_ATTENTION:false 
 OLLAMA_HOST:http://127.0.0.1:11434
 OLLAMA_INTEL_GPU:false
 OLLAMA_KEEP_ALIVE:5m0s
 OLLAMA_LLM_LIBRARY:
 OLLAMA_MAX_LOADED_MODELS:0
 OLLAMA_MAX_QUEUE:512
 OLLAMA_MAX_VRAM:0
 OLLAMA_MODELS:d:\\ollama\\models
 OLLAMA_NOHISTORY:false
 OLLAMA_NOPRUNE:false
 OLLAMA_NUM_PARALLEL:0
 OLLAMA_ORIGINS:[http://myWebSpace.com * http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://*]
OLLAMA_RUNNERS_DIR:C:\\Users\\LLM\\AppData\\Local\\Programs\\Ollama\\ollama_runners
 OLLAMA_SCHED_SPREAD:false 
 OLLAMA_TMPDIR:d:\\ollama\\tmpDir 
 ```
Repository: tauri
Issue: [bug] beforeDevCommand not killed on ctrl+c
Labels: type: bug,platform: macOS,status: needs triage

### Describe the bug

idk

### Reproduction

Force quit Tauri with ctrl+c while using the program.


### Expected behavior

<img width="1173" alt="image" src="https://github.com/user-attachments/assets/dc260c30-64fd-481d-9ef1-54576442b474">


### Full `tauri info` output

```text
> tauri-app@0.0.0 tauri /Users/dev523/rn-pra
> tauri "info"


[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ 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-aarch64-apple-darwin (default)
    - node: 22.5.1
    - pnpm: 8.15.1
    - yarn: 1.22.22
    - npm: 10.8.2

[-] Packages
    - tauri [RUST]: 2.0.0-beta.24
    - tauri-build [RUST]: 2.0.0-beta.19
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 1.6.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.15
    - @tauri-apps/cli [NPM]: 2.0.0-beta.22

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

[-] iOS
    - Developer Teams: None
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: bitcoin
Issue: Faster way to get block with prevouts in JSON-RPC
Labels: Feature,RPC/REST/ZMQ,Block storage

I often need to process the whole blockchain (or a large part of it) using an external script/program, for which I need blocks with prevout information included. However, the only current way to get that is `getblock <hash> 3`, which includes a lot of potentially unnecessary data and is quite slow, mainly (based on my experiments) because of `UniValue` overhead and descriptor inferring.

I benchmarked current master, retrieving 1000 blocks sequentially starting at block 840000, with different `verbosity` parameters:

|benchmark|result|
|-|-|
|getblock (verbosity=0)|16.189s ± 1.165s|
|getblock (verbosity=1)|31.975s ± 1.014s|
|getblock (verbosity=2)|352.487s ± 1.636s|
|getblock (verbosity=3)|473.375s ± 2.280s|

As you can see, verbosity=3 is around 30 times slower than verbosity=0. It seems obvious that a faster way of getting blocks with prevout information is feasible.

Potential solutions that come to mind:
- Creating a new RPC call for undo data, say `getblockundo`. This would be perfect for my needs, but it would require making the undo data serialization format non-internal (not sure if this would be a problem, as IIRC it hasn't changed in many years).
- Creating a new verbosity level for `getblock` that would only provide the minimum amount of data necessary (i.e. no addresses, descriptors, ASM scripts, TXIDs/WTXIDs etc.) while still providing prevouts. This would be better than nothing but would still leave a lot of performance on the table because of `UniValue` overhead.
Repository: TypeScript
Issue: Default type parameter values always shown on hover
Labels: Suggestion,Awaiting More Feedback

### 🔎 Search Terms

default parameters hover 

### 🕗 Version & Regression Information

- This is the behavior in every version I tried



### ⏯ Playground Link

https://tsplay.dev/mpkKgN

### 💻 Code

```ts
export abstract class Kind<
    hkt extends (...args: any[]) => unknown = (...args: any[]) => unknown
> {
    declare readonly args: unknown
    abstract readonly hkt: hkt
}

// Hover: Kind<(...args: any[]) => unknown>
type SomeHkt = Kind
```


### 🙁 Actual behavior

Kind's defaulted parameter is displayed on hover.

### 🙂 Expected behavior

Defaultable generic parameters should not be printed if they are unset in the instantiation and/or explicitly set to their default value.

This could also apply to `.d.ts`, although that's viewed less often.

### Additional information about the issue

This is obviously not a bug but a request that would help reduce visual clutter for many types. Types with several parameters with non trivial default values are relatively common, especially when those defaults are expanded recursively.

It also occurred to me that when combined with autofixes, this could also make types written to a user file much more usable. When using `--isolatedDeclarations`, one of the biggest problems with the autofixes is that they'd often pull in types with several generic parameters with long defaults, and end up writing some massive type instead of just a single identifier.
Repository: rust
Issue: Vetting 3rd party crates for supply-chain-security issues
Labels: C-enhancement,A-security,T-bootstrap,T-infra

The `Cargo.lock` file is [updated by many contributors](https://github.com/rust-lang/rust/commits/master/Cargo.lock), sometimes [a bot?](https://github.com/rust-lang/rust/commit/990535723d5efd0d4e86d7e18bdf2047e0ca921f), and there's no record of the 3rd party dependencies having their code reviewed.

This seems risky to me, given how big impact the 3rd party code could have on the compiler and all downstream Rust users. The crates in the lockfile have many owners, some which are not members of rust-lang org. If any of the crates had malware, it could attack rust-lang org infrastructure, computers of core developers, etc. This doesn't require malice from any of the people involved — it could also happen due other security issues like leak of an auth token, or one of crate owners having their machine infected with malware.
Repository: ollama
Issue: Add restrictive license indicator
Labels: feature request

I have noticed that some models such as llama 3 and gemma have restrictive licenses that add arbitrary limitations. I think the licensing of models is not clear yet but models that do not allow use, distribution and modification for any purpose should be labeled with a red restrictive license indicator. This will make it easier to avoid models that have requirements such as keeping it up to date at all times. It also will avoid legal issues for users who may violate the license terms without using it.
Repository: ant-design
Issue: A phenomenon in which the Enter key is not applied when applying showTime to DatePicker
Labels: Inactive,⌨️ Accessibility

### Reproduction link

[https://ant.design/components/date-picker#components-date-picker-demo-time](https://ant.design/components/date-picker#components-date-picker-demo-time)

### Steps to reproduce

There appears to be an issue in the current Ant 5.x version where the datepicker and time are not applied when the Enter key is pressed. In version 4.x, the selected value is applied even when the Enter key is pressed.
![ant desing-datepicker](https://github.com/user-attachments/assets/6bccb2fd-fc37-4b98-baa8-835c38d74119)

### What is expected?

When applying showTime to DatePicker, if you set the date and time and press the Enter key, the selected information should be reflected in the input and the calendar should be closed.

### What is actually happening?

When applying showTime to DatePicker, if you set the date and time and press the Enter key, the value is not applied and the calendar does not close.

| Environment | Info |
| --- | --- |
| antd | 5.19.3 |
| React | 18.2.0 |
| System | window 10 |
| Browser | chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: VRS causes extreme aliasing on linux compared to windows
Labels: bug,platform:linuxbsd,topic:rendering,topic:thirdparty,topic:xr

### Tested versions

4.2.2

### System information

Godot v4.2.2.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000 - Wayland - Vulkan (Mobile) - dedicated AMD Radeon RX 6800 XT (RADV NAVI21) () - AMD Ryzen 7 5800X3D 8-Core Processor (16 Threads)

### Issue description

Setting VRS mode to XR or texture on linux causes extreme aliasing (even in the center of the view) compared to windows (or any other platform that I've tried).

windows :window:
![windows](https://github.com/user-attachments/assets/e1358194-dc66-4a1d-9393-c7a4ec8d5ada)
linux :penguin:
![linux](https://github.com/user-attachments/assets/e993f03f-c3e5-4abe-a4aa-c812aa159992)

The difference is even more pronounced once blown up to full size in a VR headset but here I am just showing it in a small desktop window.

### Steps to reproduce

Run the MRP on windows vs linux, compare the difference

### Minimal reproduction project (MRP)

[vrs-test.zip](https://github.com/user-attachments/files/16340768/vrs-test.zip) (uploaded a new one with VRS_TEXTURE as well as VRS_XR.
Repository: ollama
Issue: feature request: darwin service registration and sockets without CGO
Labels: feature request

I am using https://github.com/tprasadtp/go-launchd  for Services on Mac.

It would be awesome if ollama could use this so we get Socket activation without CGO.
Repository: ollama
Issue: Manage internlm2 models
Labels: bug,model request

### What is the issue?

Hi, maintainers of ollama. I'm one of the developers of [internlm2](https://huggingface.co/internlm) models and there is a bug with https://ollama.com/library/internlm2 model as referred in the issue #5761. I've uploaded some models in my account as in https://ollama.com/internlm/internlm2.5. Now I wonder how to update the [model](https://ollama.com/library/internlm2) uploaded by ollama maintainers?

Thanks.

### OS

_No response_

### GPU

_No response_

### CPU

_No response_

### Ollama version

_No response_
Repository: node
Issue: ERR_INTERNAL_ASSERTION
Labels: worker

### Version

20.15.1

### Platform

```text
Microsoft Windows NT 10.0.22631.0 x64
```


### Subsystem

_No response_

### What steps will reproduce the bug?

_No response_

### How often does it reproduce? Is there a required condition?

_No response_

### What is the expected behavior? Why is that the expected behavior?

_No response_

### What do you see instead?

```
node:internal/event_target:1094                                                                                                                                   
  process.nextTick(() => { throw err; });
                           ^

Error: Unknown worker message type message
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at Function.fail (node:internal/assert:20:9)
    at Worker.[kOnMessage] (node:internal/worker:354:12)
    at MessagePort.<anonymous> (node:internal/worker:232:57)
    at _ZoneDelegate.invokeTask (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:449:37)      
    at ZoneImpl.runTask (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:196:51)
    at ZoneTask.invokeTask [as invoke] (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:531:38)
    at invokeTask (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:1196:22)
    at globalCallback (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:1227:31)
    at MessagePort.globalZoneAwareCallback (C:\Users\willi\Desktop\Proyectos\github\Angular\angular_clean_architecture\node_modules\zone.js\bundles\zone.umd.js:1263:20)
    at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28) {
  code: 'ERR_INTERNAL_ASSERTION'
}
```

### Additional information

_No response_
Repository: tauri
Issue: [bug] help me The constant triggering of WM_MOUSELEAVE events bothers me
Labels: type: bug,status: needs triage

### Describe the bug

I'm building an HTML wallpaper application using Tauri. I've placed the tauri form in full screen behind the desktop icon (`SetParent()`), then set its properties to allow mouse events to penetrate it, so far successful, Then set the mouse hook to forward the event to my Tauri application (innermost layer) with the `SendMessageW()` function.
I filtered the 'WM_MOUSELEAVE' event, but it still appears in spy++. This causes my Tauri application to not handle move and hover events properly.
Is that a bug? What should I do? 😭 😭 😭

我正在使用 Tauri 构建一个 HTML wallpaper 应用，我把 tauri 窗体全屏后放在了桌面图标后面（`SetParent()`），然后设置了它的属性让鼠标事件穿透它，到目前为止还算成功，之后设置鼠标 hook 用 `SendMessageW()` 函数将事件转发给我的 Tauri 应用（最内层）。
我过滤了 `WM_MOUSELEAVE` 事件，但它还是出现在spy++里。这导致我的 Tauri 应用无法正常处理 move 和 hover 事件。
我应该怎么做？😭😭😭
<img width="815" alt="PixPin_2024-07-22_11-27-39" src="https://github.com/user-attachments/assets/e26d7fc7-85bd-4f8b-9631-0a257b75e951">
<img width="556" alt="PixPin_2024-07-22_11-28-34" src="https://github.com/user-attachments/assets/ac8d1bf5-932f-4af1-8172-2349aee1b34c">
<img width="674" alt="PixPin_2024-07-22_11-32-15" src="https://github.com/user-attachments/assets/01b515fa-2388-4ea7-8fef-b6bf8f94ba25">
<img width="605" alt="PixPin_2024-07-22_11-32-19" src="https://github.com/user-attachments/assets/4f0c805a-3d5b-4591-8747-e4db38339cd8">


### Reproduction

_No response_

### Expected behavior

_No response_

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 126.0.2592.113
    ✔ 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)

[-] Packages
    - tauri-cli [RUST]: 2.0.0-beta.22

[-] App
```


### Stack trace

_No response_

### Additional context

_No response_