sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ollama
Issue: Improve Documentation for Ollama
Labels: feature request

Currently, the documentation consists of .md content which is located [here](https://github.com/ollama/ollama/tree/main/docs).  I think that the documentation can be greatly improved if it is hosted as a static site using [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/). It uses markdown content for the site and can be incorporated into the current project without having any breaking changes of existing documentation. 

I can help to set-up this site by contributing a PR towards this issue. Could you please let me know?

cc: @dhiltgen
Repository: kubernetes
Issue: NodeUnstageVolume should be called even when stagingPath doesn't exist
Labels: kind/bug,sig/storage,needs-triage

### What happened?

[pkg/volume/csi/csi_block.go](https://github.com/kubernetes/kubernetes/blob/release-1.32/pkg/volume/csi/csi_block.go#L458)

```go
	// Call NodeUnstageVolume
	stagingPath := m.GetStagingPath()
	if _, err := os.Stat(stagingPath); err != nil {
		if os.IsNotExist(err) {
			klog.V(4).Info(log("blockMapper.TearDownDevice stagingPath(%s) has already been deleted, skip calling NodeUnstageVolume", stagingPath))
		} else {
			return err
		}
	} else {
		err := m.unstageVolumeForBlock(ctx, csiClient, stagingPath)
		if err != nil {
			return err
		}
	}
```

If the stagingPath doesn't exist, NodeUnstageVolume won't be called.

In my opinion, NodeUnstageVolume should be called even when stagingPath doesn't exist, for the following reasons:

1. As long as CSI supports StageUnstage capability, the CSI should be able to properly handle cases where stagingPath doesn't exist
2. If NodeUnstageVolume return error but stagingPath is cleaned up, NodeUnstageVolume won't be called again in next retry
3. For filesystem PVCs, NodeUnstageVolume is called normally even when stagingPath doesn't exist
4. When a CSI driver is upgraded from non-StageUnstage to StageUnstage support, volumes mounted before the upgrade won't have stagingPath. However, these pre-upgrade volumes still need NodeUnstageVolume to be called for proper unmounting

### What did you expect to happen?

For block pvc, NodeUnstageVolume should be called even when stagingPath doesn't exist 

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

It can be intuitively seen from the code

### Anything else we need to know?

_No response_

### Kubernetes version

<details>

```console
1.32
```

</details>


### 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: ant-design
Issue: 在`startTransition`中使用`message`会产生死循环渲染
Labels: unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-52252-react18-mqldlr)

### Steps to reproduce

- 通过App.useApp() 获取 message
- 调用message，然后立刻通过startTransition调用message

### What is expected?

message正常工作

### What is actually happening?

startTransition中调用的message不展示， 控制台出现Maximum update depth exceeded警告，多次调用后弹出的message不停闪烁

| Environment | Info |
| --- | --- |
| antd | 5.23.2 |
| React | 18.3.1, 19.0.0 |
| System | windows 11 |
| Browser | Edge 131 |

---
初步怀疑是useNotification这里的队列处理在transition中有问题, 在不停更新taskQueue

https://github.com/react-component/notification/blob/0a6f542dc279f013da3eec18a9ff54a49646e588/src/hooks/useNotification.tsx#L163

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: ant-design
Issue: Space.Compact does not collapse the border when wrapping a Form.Item
Labels: unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/registration-antd-5-23-2-forked-7zpwhj?file=%2Findex.html&workspaceId=ws_UJWDJFW6u5eT5bSdmMxLcC)

### Steps to reproduce

Look at the borders between inputs middle and input & button right. When using `Space.Compact` with a `Form.Item` wrapped around it, the border does not collapse correctly.

### What is expected?

* The border should collapse correctly when `Space.Compact` is used with a `Form.Item`

### What is actually happening?

No collapsing (double-border)

| Environment | Info |
| --- | --- |
| antd | 5.23.2 |
| React | 18.3.1 |
| System | Windows 11 |
| Browser | Latest Chrome |

![Image](https://github.com/user-attachments/assets/ace6124a-dff9-4307-8378-1e4d1f04c85c)

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: vscode
Issue: VSCode Extensions enable arbitrary remote code execution via exec(). Not sure if this is a bug/vulnerability or a feature.
Labels: triage-needed

<!-- ⚠️⚠️ 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?: 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.96.4
- OS Version: Windows 11

All VSCode extensions enable arbitrary remote code execution.
It can be used with any powerShell or bash command of your choice. 
As long as the user of VSCode has permissions they are able to run any code as far as I am concerned. I have only tested with opening Microsoft Apps and running Linux commands.

Steps to Reproduce:

0. Build a basic extension 
1. import { exec } from "child_process";
2. The only thing that matters is exec() you dont need to return data to the front end like I did with this function. 
function windowsCheckActiveApplication(){
  // Run the ListActiveApps logic every second
  const powershellCommand = "Get-Process | Where-Object { $_.MainWindowHandle -ne 0 } | Select-Object Name";

  exec(`powershell.exe -Command "${powershellCommand}"`, (error, stdout, stderr) => {
    if (error) {
      console.error(`Error fetching active apps: ${error.message}`);
      return;
    }

    if (stderr) {
      console.error(`Stderr while fetching active apps: ${stderr}`);
      return;
    }

    // Parse active applications
    activeApplications = stdout
      .split("\n")
      .map((line) => line.trim())
      .filter((line) => line && line !== "Name" && !line.startsWith("----")); // Remove empty lines, headers, and separators
  });
}
Repository: PowerToys
Issue: Crop And Lock - Thumbnail Shortcut
Labels: Needs-Triage

### Description of the new feature / enhancement

Crop And Lock - Thumbnail shortcut

* please add option to zoom in at 1% increments
* please add option to make 'the thumbnail', transparent 
* please add option to make 'the thumbnail', click-through.  the user can click whatever is underneath the thumbnail
* please add option to make the thumbnail move away whenever the mouse is over 90% of the thumbnail.  this will allow the user to use whatever is underneath the thumbnail and can still access the buttons to minimize / close the thumbnail

thank you

### Scenario when this would be used?

* for monitoring stock / crypto price while working on the computer.  just need to see.  no need to interact with the price

### Supporting information

_No response_
Repository: godot
Issue: Godot 3 project to Godot 4 conversion failed but nothing is displayed to the user
Labels: bug,topic:editor,needs testing

### Tested versions

Tested in 4.4.dev7 only.

### System information

Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated GeForce GTX 780M - Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz (8 threads)

### Issue description

I tried to convert [this project](https://github.com/adcomp/Godot3_2D_Island_OpenSimplexNoise) to Godot 4 and it failed whatever option picked (full project or project file only).
The project conversion window shows **nothing at all**.

Although, in log, there are these:

> Starting conversion.
ERROR: Class "IPUnix" does not exist in Godot 4, so it cannot be used in the conversion.
   at: test_array_names (editor/project_converter_3_to_4.cpp:1172)
ERROR: Found function which is used in the converter, but it cannot be found in Godot 4. Rename this element or remove its entry if it's obsolete.
   at: test_array_names (editor/project_converter_3_to_4.cpp:1222)
ERROR: Cannot start converting due to problems with data in arrays.
   at: convert (editor/project_converter_3_to_4.cpp:334)

The error message regarding _IPUnix_ class is weird cause it is even not used in the project.
And this project is pretty small (one scene and one script), nothing fancy and just a few old stuff which have been modified like _export_ and _getset_ syntax, _lock/unlock_ functions of Image object no longer needed/available.

### Steps to reproduce

Download and convert the project given in the issue description.
No errors shown to the user.
Project list remain as it was before and the project doesn't appear in the list.

### Minimal reproduction project (MRP)

[this project](https://github.com/adcomp/Godot3_2D_Island_OpenSimplexNoise)
Repository: iptv
Issue: Add: Grjngo - Western Movies Grjngo - Western Movies
Labels: approved,streams:add

### Channel ID (required)

GrjngoWesternMovies.de

### Stream URL (required)

https://b6c7c7d1020a4588982ca7c2625f85d1.mediatailor.us-east-1.amazonaws.com/v1/master/0fb304b2320b25f067414d481a779b77db81760d/RakutenTV-eu_GrjngoWesterny/playlist.m3u8

### Quality

720p

### Label

None

### Timeshift

_No response_

### HTTP User Agent

_No response_

### HTTP Referrer

_No response_

### Notes

_No response_

### Contributing Guide

- [x] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)
Repository: godot
Issue: After renaming a file in the filesystem dock, the dock loses focus
Labels: bug,topic:editor,usability

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 (NVIDIA; 32.0.15.6109) - AMD Ryzen 5 5600 6-Core Processor (12 Threads)

### Issue description

When renaming multiple similar files I noticed that either renaming or the filescan afterwards seems to release focus leaving the user unable to navigate through hotkeys from where they were. 

### Steps to reproduce

New project,
ctrl+alt+p and either filter for icon or just tab over to results
f2 and rename icon.png
Notice you cannot tab forward or backward
You can switch active scenes with ctrl+tab, which will grab focus 


### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Fancy Zones not respecting taskbar that is moved by Start11
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

v0.87.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Use Start11 to move the taskbar to the left (vertical orientation)
Let monitors go to sleep
Wake monitors
Observe that Fancy Zones zones assume the taskbar is on the bottom and do not resize the zones properly

### ✔️ Expected Behavior

When the monitors wake FancyZones should detect that the taskbar orientation has changed and reorder the zones.

### ❌ Actual Behavior

When the monitors wake, FancyZones behaves as if the taskbar is still on the horizontal orientation on the bottom of the screen

### Other Software

Windows 11 using Start11 to move the taskbar into a vertical orientation on the left of the screen
Repository: PowerToys
Issue: Powertoys logger
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.77

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

[2025-01-25.txt](https://github.com/user-attachments/files/18549613/2025-01-25.txt)

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: godot
Issue: Ctrl + Click on variables and methods doesn't take you to definition or documentation
Labels: bug,topic:gdscript,topic:editor,regression

### Tested versions

- Reproducible in 4.4beta1, current master branch
- Not reproducible in 4.3 stable

### System information

Godot v4.4.beta (b15b24b08) - Arch Linux #1 SMP PREEMPT_DYNAMIC Fri, 17 Jan 2025 14:04:26 +0000 on Wayland - Wayland display driver, Single-window, 4 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 7600 (RADV NAVI33) - 13th Gen Intel(R) Core(TM) i9-13900T (32 threads)

### Issue description

Ctrl + click on a method, variable and any other code does nothing. Elements are highlighted when hovering while holding Ctrl, but clicking on them doesn't take you to their definition or the documentation.

Probably linux/wayland related as I had this issue with current master branch builds for at least a month now.

### Steps to reproduce

Open project. Navigate to gd file. Try ctrl+click.

### Minimal reproduction project (MRP)

[minmal-reproduction-ctrl-click.zip](https://github.com/user-attachments/files/18549637/minmal-reproduction-ctrl-click.zip)
Repository: PowerToys
Issue: Feature request: stay awake for ____.exe
Labels: Idea-Enhancement,Needs-Triage,Product-Awake

### Description of the new feature / enhancement

it would be great if instead of --pid or --use-parent-pid we would use an exe name for instance chrome.exe so it would keep the system awake if any chrome.exe process was running 

### Scenario when this would be used?

it would be used to simplify the process of keeping the system on for certain processes by removing steps or reducing running applications 

### Supporting information

the --pid or --use-parent-pid are lmited in the way that you either need to check the pid for the app you want to keep awake every time or leave a batch script open when the script opened another app
Repository: ollama
Issue: High idle power consumption due to persistent CUDA initialization
Labels: bug

# High idle power consumption due to PCIe bus unable to enter sleep state

## Issue Description
When running Ollama as a service with CUDA enabled, the system maintains unnecessarily high power consumption (~14W vs ~6W) even when idle. This is primarily caused by the PCIe bus being unable to enter sleep state (D3) due to persistent CUDA initialization, despite the GPU itself being in a low-power state.

### Technical Details
- System: DELL XPS15 9530
- CPU: Intel i7-13700H
- GPU: NVIDIA RTX 4070 Laptop
- Driver Version: 550.144.03
- CUDA Version: 12.4
- Ollama Version: 0.5.7
- OS: Manjaro Linux (DISTRIB_RELEASE="24.2.1")
- Kernel: Linux 6.12.4-1-MANJARO

### Current Behavior
Power consumption breakdown:
- Base system (no Ollama): ~6W
- With Ollama service running: ~14W
- Delta: ~8W additional power

The increased power consumption is primarily due to:
1. PCIe bus stuck in D0 state (cannot enter D3 sleep)
2. CUDA runtime keeping PCIe link active

The GPU itself is actually well-behaved:
- Enters P8 power state correctly
- Only draws ~4W at idle
- Properly releases display to Intel GPU
- Memory Usage: 11MiB

### Expected Behavior
- PCIe bus should enter D3 state when CUDA inference is not active
- System should maintain low power consumption (~6W) when not actively processing
- CUDA initialization should happen only when needed for inference
- No impact on inference performance when needed

### Diagnostics
With Ollama service running but idle:
```
PCIe State: D0 (should be D3)
GPU Power State: P8
GPU Power Draw: ~4W
Display: Using Intel GPU
CUDA: Initialized but idle
```

### Attempted Solutions
1. CUDA environment configuration:
```ini
Environment="CUDA_MODULE_LOADING=LAZY"
Environment="CUDA_CACHE_DISABLE=0"
Environment="NVIDIA_DRIVER_CAPABILITIES=compute,utility"
```

2. PCIe power management:
```bash
echo auto > /sys/bus/pci/devices/0000:01:00.0/power/control
```

3. Various NVIDIA power management settings through nvidia-smi

None of these solutions allowed the PCIe bus to enter sleep state while the Ollama service is running.

### Proposed Solution
Implement lazy CUDA initialization in Ollama:
1. Initialize CUDA only when a model is loaded/inference requested
2. Release CUDA context when idle for a configurable period
3. Allow PCIe bus to enter D3 state when CUDA context is released
4. Add configuration option for power management strategy

Benefits:
- Lower idle power consumption
- Better battery life on laptops
- Same performance for actual inference
- No impact on API responsiveness
- Proper power management for PCIe bus

### Current Workaround
Users need to manually start/stop the Ollama service when needed:
```bash
sudo systemctl start ollama  # When inference needed
sudo systemctl stop ollama   # To restore low power state
```

This is not ideal for IDE integrations and other automated workflows that expect Ollama to be always available.
Repository: excalidraw
Issue: Viewport option in Export Image (or, have a crop handle to crop the export preview)
Labels: enhancement

It will be nice to have a "Viewport" option in Export Image.

Or better yet, have a crop box with crop handles in the export preview which I can adjust to crop the export. (Viewport option will still be good to have to quickly snap the crop box to current viewport.)
Repository: iptv
Issue: Add: PopUp.uk
Labels: approved,streams:add

### Channel ID (required)

PopUp.uk

### Stream URL (required)

https://linear-862.frequency.stream/dist/plex-uk/862/hls/master/playlist.m3u8

### Quality

1080p

### Label

None

### Timeshift

_No response_

### HTTP User Agent

_No response_

### HTTP Referrer

_No response_

### Notes

Requires https://github.com/iptv-org/database/issues/15580

### Contributing Guide

- [x] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)
Repository: iptv
Issue: Add: PopUp.uk
Labels: approved,streams:add

### Channel ID (required)

PopUp.uk

### Stream URL (required)

https://linear-862.frequency.stream/dist/lg-uk/862/hls/master/playlist.m3u8

### Quality

1080p

### Label

None

### Timeshift

_No response_

### HTTP User Agent

_No response_

### HTTP Referrer

_No response_

### Notes

Requires https://github.com/iptv-org/database/issues/15580

### Contributing Guide

- [x] I have read [Contributing Guide](https://github.com/iptv-org/iptv/blob/master/CONTRIBUTING.md)
Repository: ui
Issue: [bug]: Sidebar component import not working after migrating to tailwind v4
Labels: bug,tailwind

### Describe the bug

In tailwind v4, tailwind.config.ts got removed.

Sidebar components was modifying the tailwind.config.ts, but now because it doesn't exist anymore in v4, it returns ENOENT.

"ENOENT: no such file or directory, open 'tailwind.config.ts'"

### Affected component/components

Sidebar

### How to reproduce

1. In a shadcn project, upgrade to tailwind v4 using `pnpm dlx @tailwindcss/upgrade@next` (https://tailwindcss.com/docs/upgrade-guide).

2. Import sidebar component: `pnpm dlx shadcn@latest add sidebar`.

3. Receive ENOENT error.

### Codesandbox/StackBlitz link

Not needed, simple enough to reproduce.

### Logs

```bash
➜ pnpm dlx shadcn@latest add sidebar

✔ Checking registry.
⠋ Updating tailwind.config.ts
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

ENOENT: no such file or directory, open '/Users/abadescu/p/sealnext/frontend/tailwind.config.ts'
```

### System Info

```bash
Doesn't matter, personally using macOS.
```

### Before submitting

- [x] I've made research efforts and searched the documentation
- [x] I've searched for existing issues
Repository: ui
Issue: [bug]: Unexpected token '<', "<!DOCTYPE " ... is not valid JSON when running npx shadcn@latest add
Labels: bug

### Describe the bug

While trying to add a component using the shadcn CLI, the process fails with an error related to invalid JSON being returned. The error appears to stem from the tool attempting to fetch registry data and receiving an unexpected HTML response instead of the expected JSON.

Steps to Reproduce:
```
Run the following command in a terminal:

npx shadcn@latest add "https://v0.dev/chat/b/b_63FxS7Vs7l4?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..jGNxj5H3J7xSZHtK.7StqG6CcnjCEKMLIcpQnTWxVaEYpA_fLqLKxe5R2GvcTIPQk7eswfovpuiQ.tptG8QRQZhruNycPR3CX-A"
```
Observe the following error message:
```
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Expected Behavior:
The npx shadcn@latest add command should fetch the registry data and add the requested component without errors.
```
Actual Behavior:
The command fails with an error indicating that the response is not valid JSON. It seems to be an HTML document instead (likely an error page).


Additional Context:
The registry being checked appears to return HTML instead of JSON. This might indicate a misconfiguration, network issue, or a bug in the shadcn CLI.
The problem could also be related to the specific token or URL provided.
Steps Taken to Troubleshoot:
Verified internet connection.
Ensured the npm registry is set to the default (https://registry.npmjs.org/).
Cleared npm cache using npm cache clean --force.
Re-ran the command with --legacy-peer-deps (where applicable).

### Affected component/components

v0 component

### How to reproduce

How to Reproduce
Follow these steps to reproduce the bug:

Set up a React project:

Create or navigate to an existing React project. Example:
bash
Copy
Edit
npx create-react-app book-lingua
cd book-lingua
Run the shadcn CLI:

Execute the following command in the terminal:
```
npx shadcn@latest add "https://v0.dev/chat/b/b_63FxS7Vs7l4?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..jGNxj5H3J7xSZHtK.7StqG6CcnjCEKMLIcpQnTWxVaEYpA_fLqLKxe5R2GvcTIPQk7eswfovpuiQ.tptG8QRQZhruNycPR3CX-A"
```
Wait for the Process:

The CLI will display a message saying "Checking registry."
Observe the Error:

The following error message appears in the terminal:
```
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Unexpected token '<', "<!DOCTYPE "... is not valid JSON
```

### Codesandbox/StackBlitz link

_No response_

### Logs

```bash

Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Unexpected token '<', "<!DOCTYPE "... is not valid JSON
```

### System Info

```bash
Environment:

OS: Windows 10
Node.js Version: v22.13.1
npm Version: 11.0.0
shadcn CLI Version: latest
```

### Before submitting

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