sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Indent guide transparency affects Active indent guide
Labels: bug,editor-indent-guides,bracket-pair-guides

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.81.0
- OS Version: macOS Ventura 13.2.1

Steps to Reproduce:

1. Set `editorIndentGuide.activeBackground1` to desired value, e.g. `#0f0`
2. Set `editorIndentGuide.background1` to a transparent value, e.g. `#f000`

**Expected**: Active indent guide is green `#0f0` while the other indent guides are hidden/transparent
**Actual**: All indent guides are hidden/transparent

**Without transparency**
<img width="462" alt="Screenshot 2023-08-04 at 11 33 33" src="https://github.com/microsoft/vscode/assets/88662784/b8a17c69-9d72-4914-bf61-174672a020f5">

**With transparency**
<img width="458" alt="Screenshot 2023-08-04 at 11 33 45" src="https://github.com/microsoft/vscode/assets/88662784/b87b1e04-58b8-4fa3-86f6-a56eafdc75e2">
Repository: opencv
Issue: Remap function in INTER_NEAREST case
Labels: bug,category: imgproc

### System Information

OpenCV version: 3.4.2
Operating System / Platform: Ubuntu 18.04
Compiler & compiler version: GCC 7.5.0

### Detailed description

In remap function, when interpolation = INTER_NEAREST,  the NNDeltaTab_i is initialized as following:
```c++
 NNDeltaTab_i[i*INTER_TAB_SIZE+j][0] = j < INTER_TAB_SIZE/2;
  NNDeltaTab_i[i*INTER_TAB_SIZE+j][1] = i < INTER_TAB_SIZE/2;
``` 

And the table is used like this:
```c++
  XY[x1*2] = sXY[x1*2] + NNDeltaTab_i[a][0];
  XY[x1*2+1] = sXY[x1*2+1] + NNDeltaTab_i[a][1];
``` 

In my opinion, this process is like round to nearest, if the decimal part is larger than 0.5(correspoding to  INTER_TAB_SIZE/2), then corresponding XY should be added 1.

But the code shows, if the decimal part is smaller than 0.5,  the corresponding XY should be added 1.

To confirm this problem，I had done a test:
mapx = 43.93668, mapy = 34.007992. 
Convert to 16SC2 format: map1 = [43, 34], map2[30]

When using opencv remap with INTER_NEAREST, the result postion is (43, 35), but I think it should be (44, 34).



### Steps to reproduce

code problems


### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: rust
Issue: ICE `unstable certainty: Maybe(..)` with `-Ztrait-solver=next-coherence` + `generic_const_exprs`
Labels: I-ICE,T-compiler,C-bug,requires-nightly,F-generic_const_exprs,requires-debug-assertions,WG-trait-system-refactor,requires-incomplete-features

<!--
Thank you for finding an Internal Compiler Error! 🧊  If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->

### Code
`rustc -Ztrait-solver=next-coherence`
```Rust
#![feature(generic_const_exprs)]

trait If<const COND: bool> {}
impl If<true> for () {}

trait IsZero<const N: u8> {}

impl<const N: usize> IsZero<N> for () where (): If<{ N == 0 }> {}

trait Foobar<const N: u8> {}

impl<const N: u8> Foobar<N> for () where (): IsZero<N> {}

impl<const N: u8> Foobar<N> for () {}

pub fn main() {}

```


### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:
```
098c1db7e55e7229a520a2ec8e460e1e300e109b
```

### Error output

```
warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
 --> treereduce.out:1:12
  |
1 | #![feature(generic_const_exprs)]
  |            ^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
  = note: `#[warn(incomplete_features)]` on by default
```
Repository: deno
Issue: Uncaught PermissionDenied: Permission denied (os error 13) this.proc = Deno.run({
Labels: question

I'm using Deno with Puppeteer to scrape some webpages. However when I use `puppeteer.launch()`, I get the error below. If I use `puppeteer.connect()` it works fine. I assume that is because it's not trying to start a chrome instance on my computer. I've been looking around on how to fix this but I can't seem to find any solution. The only reference to this issue I can find is [this one](https://github.com/denoland/deno/issues/5816#issuecomment-1137142724) but I don't see a concrete solution here either.

I'm wondering if someone could help me out to set up my environment correctly to use puppeteer without a third party browser instance.

```
error: Uncaught PermissionDenied: Permission denied (os error 13)
    this.proc = Deno.run({
                     ^
    at opRun (ext:runtime/40_process.js:46:14)
    at Object.run (ext:runtime/40_process.js:132:15)
    at BrowserRunner.start (https://deno.land/x/puppeteer@16.2.0/src/deno/BrowserRunner.ts:64:22)
    at ChromeLauncher.launch (https://deno.land/x/puppeteer@16.2.0/src/deno/Launcher.ts:108:12)
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async main (file:///Users/***/src/index.ts:12:21)
```

Further info:
- Puppeteer import: `import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";`
- MacBook Air M1 2020
- Multiple versions of Chrome for testing installed under `/Users/***/.cache/puppeteer/chrome`
Repository: stable-diffusion-webui
Issue: How to run without any venv or conda things?
Labels: asking-for-help-with-local-system-issues

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

My local python 3.10.10 has everything in requirements, besides I don't have too much disk space for a duplicate env. 
python launch.py will get error,

Traceback (most recent call last):
  File "D:\stable-diffusion-webui\launch.py", line 1, in <module>
    from modules import launch_utils
  File "D:\python310\lib\site-packages\multiscaledeformableattention-1.0-py3.10-win-amd64.egg\modules\__init__.py", line 9, in <module>
    from .ms_deform_attn import MSDeformAttn
  File "D:\python310\lib\site-packages\multiscaledeformableattention-1.0-py3.10-win-amd64.egg\modules\ms_deform_attn.py", line 21, in <module>
    from ..functions import MSDeformAttnFunction
ImportError: attempted relative import beyond top-level package

### Proposed workflow

Please assume some expert users can handle env thing themselves, don't force using venv things.  

python launch.py and everything works.

### Additional information

_No response_
Repository: vscode
Issue: Open file as file read-only through command flag
Labels: feature-request,workbench-editors,workbench-cli

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

Now that https://github.com/microsoft/vscode/issues/4873 is merged, we can have some files open as read-only (see https://code.visualstudio.com/updates/v1_79#_readonly-mode).

I would like to have to have the ability to *open* new files as read-only (possibly outside the workspace), through the `code` command. Something like:

```bash
code --read-only /path/to/file.txt
```

Ideally this would work whenever the `code` command is available (e.g., on a local installation of vscode, and also on a remote)

Can we add a `--read-only`(or with some other name) command flag to `code`?
Repository: tensorflow
Issue: How/Where decision is made to choose between eager execution & graph execution for Tensorflow kernel OPs
Labels: stat:awaiting tensorflower,type:bug,comp:core,TF 2.13

I ran HuggingFace BERT model which uses tensorflow 2.13v with oneDNN support on intel machine and recorded its execution logs by setting TF_CPP_MAX_VLOG_LEVEL=2 & ONEDNN_VERBOSE=1 in file.

**Observation :** I have observing logs that are produced after model creation and its weight loading. Since model.fit() always run in graph model, all tensorflow kernel OPs (onednn's mkl kernel op and non-mkl kernel ops) should run in graph mode. But i observe only for non-mkl kernel ops (like ADDV2, Mul) are executing in eager mode followed by graph mode. I dont see any mkl kernel ops(like _MklMatMul) running in eager mode.

**Questions:** I want to know the reason and file where decision making is made for which op there should be eager mode. Since model.fit() runs in graph mode, why I am seeing eager mode execution for all non-mkl ops?

Sample Logs for model.fit() for ADDV2 kernel op:

```
2023-07-31 03:48:44.632289: I tensorflow/core/common_runtime/eager/execute.cc:1678] Executing op AddV2 in device /job:localhost/replica:0/task:0/device:CPU:0 --> executing addv2 eagerly After some other logs in between, I see below log:

2023-07-31 03:50:01.968512: I tensorflow/core/common_runtime/executor.cc:841] Process node: 8127 step -4458402160563696089 {{node tf_bert_for_sequence_classification/bert/encoder/layer_._0/output/LayerNorm/batchnorm/add_1}} = AddV2[T=DT_FLOAT, _XlaHasReferenceVars=false, device="/job:localhost/replica:0/task:0/device:CPU:0"](tf_bert_for_sequence_classification/bert/encoder/layer.0/output/LayerNorm/batchnorm/mul_1, tf_bert_for_sequence_classification/bert/encoder/layer._0/output/LayerNorm/batchnorm/sub) device: 
```
/job:localhost/replica:0/task:0/device:CPU:0 --> executing addv2 in graph mode i assume

**Expected to happen:** All kerenl ops should execute in graph mode.
Repository: stable-diffusion-webui
Issue: [Feature Request]: AUR package please
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Please build AUR package for Arch/Manjaro users to installation folder /opt/ with local user permission so that the script can be upgraded both through the AUR and by the user.
Please consider doing this.
Thanks.

### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: neovim
Issue: CI: replace luacheck with luals (for headless/automated linting)
Labels: ci,lua

### Problem

(This is a tracking issue, to invite discussion/counterpoints/investigation.)

luacheck might be redundant with luals.

### Expected behavior

- determine if luacheck adds value beyond what luals is capable of
- if luals has a non-interactive mode, use that instead of luacheck to check code in CI
    - con: this requires `lintlua` build target to use/install luals
- remove luacheck
Repository: PowerToys
Issue: Add an item to the PowerToys shortcut panel in windows taskbar
Labels: Idea-Enhancement,Area-Flyout

### Description of the new feature / enhancement

I like that we can access the powertoys shortcut panel from the windows taskbar quick launch. How do we manually add items to the shortcut panel. I there is no feature like that can we add the feature. The shortcut panel is really handy.
![PowerToys Shortcut](https://github.com/microsoft/PowerToys/assets/90775736/eb6f6c18-356f-4687-9d29-20e210b19a29)


### Scenario when this would be used?

It would make accessing the powertoys features very easy. No need to remember shortcut keys or dig into the main powertoys program to launch a feature.
![PowerToys Shortcut](https://github.com/microsoft/PowerToys/assets/90775736/f4ccd8f3-87d6-4ed4-ae9a-9b41ccba833d)


### Supporting information

_No response_
Repository: ollama
Issue: Do not prompt to install CLI if already on `$PATH`
Labels: bug,good first issue,macos

When launching the Ollama application, a dialog window will appear and prompt you for administrative access in order to “install” the command line executable, which in practice means symlinking `/Applications/Ollama.app/Contents/Resources/ollama` to `/usr/local/bin/ollama`.

## Observed Behavior

This dialog window appears even when `ollama` is already available elsewhere on `$PATH`. Presumably the check naively looks for `/usr/local/bin/ollama`, and if it is not found at that specific location, the aforementioned dialog window appears on each and every launch of the application.

## Expected Behavior

If `ollama` is already available on `$PATH`, regardless of its specific location, the aforementioned dialog window should _not_ appear.

## Rationale

When installing new applications, I prefer not to grant such administrative permissions, particularly when the only purpose is to create a symlink into a protected directory. I therefore prefer to manage my `$PATH` myself and manually create such symlinks into places such as `~/.local/bin/` that do not require admin permissions. Others might even prefer to invoke the full path to `/Applications/Ollama.app/Contents/Resources/ollama` instead.

But as the situation currently stands, there is no way to stop this dialog from appearing, even when its intended purpose is entirely unnecessary.

## Proposed Remediation

I suggest all three of the following be implemented posthaste:

1. Do not show this dialog window if `ollama` is already available on `$PATH`.
2. Put a button on the dialog window to skip the CLI symlink step.
3. Put a checkbox on this dialog that says "Do not ask again" and record the result, so future application launches will not spawn the CLI symlink prompt.
Repository: go
Issue: x/text/internal/language/compact: missing tag declaration for Belarusian
Labels: NeedsInvestigation

Is it possible to add the Belarusian language? In internal/language/compact/tables.go there is beIndex ID = 53
beBYIndex ID = 54 but it is not declared in internal/language/compact/tags.go and therefore not declared in language/tags.go
Why is it impossible to determine the BY region since it is not declared.
Repository: go
Issue: x/build: misc-compile coverage for ios/amd64 port (iOS Simulator) in LUCI
Labels: Builders,NeedsInvestigation,OS-iOS

This is like #42177, but for LUCI.

The current failure mode:

```
# bytes.test
loadinternal: cannot find runtime/cgo
/.../goroot/pkg/tool/linux_amd64/link: running clang failed: exec: "clang": executable file not found in $PATH
```

See https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8773728632492973313/+/u/step/11/log/2.

CC @golang/ios.
Repository: go
Issue: x/build: misc-compile coverage for ios/arm64 port (iOS) in LUCI
Labels: Builders,NeedsInvestigation,arch-arm64,OS-iOS

This is like #25963, but for LUCI.

The current failure mode:

```
# bufio.test
loadinternal: cannot find runtime/cgo
/.../goroot/pkg/tool/linux_amd64/link: running clang failed: exec: "clang": executable file not found in $PATH
```

See https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8773728633417673633/+/u/step/10/log/2.

CC @golang/ios.
Repository: go
Issue: x/build: misc-compile coverage for GOOS=android ports in LUCI
Labels: Builders,OS-Android,NeedsDecision

This is like #25963, but for LUCI.

The current failure mode (for android/arm specifically):

```
# compress/bzip2.test
loadinternal: cannot find runtime/cgo
/.../goroot/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
gcc: error: unrecognized command-line option ‘-marm’; did you mean ‘-mabm’?
```

See https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8773728632941952977/+/u/step/10/log/2.

misc-compile coverage for android/386, android/amd64, and android/arm64 needs similar attention.

CC @golang/android.
Repository: tensorflow
Issue: Tensorflow 2.13.0 cannot be imported after install via poetry due to missing wheel metadata
Labels: stat:awaiting tensorflower,type:bug,type:build/install,subtype:macOS,TF 2.13

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

binary

### TensorFlow version

2.13.0

### Custom code

No

### OS platform and distribution

macOS-13.3-arm64-arm-64bit

### Mobile device

_No response_

### Python version

3.11

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

After installing tensorflow  2.13.0 with poetry it cannot be imported

### Standalone code to reproduce the issue
See https://github.com/python-poetry/poetry/issues/8271

According to @dimbleby, the issue happens due to missing wheel metadata.

> please encourage the tensorflow folk to publish consistent metadata in all of their wheels, with platform-specific variations described by markers

Tensorflow folks, please publish consistent metadata ;)

```shell
poetry add tensorflow==2.13.0
poetry shell
python3 
import tensorflow
```


### Relevant log output

```shell
ModuleNotFoundError: No module named 'tensorflow
```
Repository: flutter
Issue: Determine how to handle privacy manifests in packages
Labels: platform-ios,tool,team-ecosystem,P1,a: plugins,triaged-ecosystem

[Edit April 22, 2024]:
* For the current status, please see [this comment](https://github.com/flutter/flutter/issues/131940#issuecomment-2070301947)
* If you are an application developer trying to understand how to handle an `ITMS-91053` response from Apple, please see [this comment](https://github.com/flutter/flutter/issues/145269#issuecomment-2070221423).

---

See https://github.com/flutter/flutter/issues/131495 for more background. This splits out the specific question of how packages should handle privacy manifests and required reason API metadata, and what the `flutter` needs to do to support that.

Background docs:
- https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api?language=objc
- https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests?language=objc

Capturing from my comment in the original issue:

> It seems like we'll either need to:
> - leave this up to app developers to deal with (e.g., via finding the transitive usage and asking developers to list the reasons in their READMEs), which isn't going to be a good experience, or
> - build a system for arbitrary pub packages to declare privacy manifests, and for the tool to bundle them all together.

We'll also need to investigate how exactly Apple is defining what an SDK is from the standpoint of the automated checks. E.g., if someone's project is configured to build plugins as frameworks, rather than static libraries, will putting the manifests into those frameworks rather than the app be mandatory?
Repository: pytorch
Issue: FFT Samples Inputs with More than Three Dimensions
Labels: module: tests,triaged,module: fft

### 🚀 The feature, motivation and pitch

This is worth capturing because cuFFT can only transform three dimensions at once, so, 4dim+ has divergent behavior. See https://github.com/pytorch/pytorch/pull/103616#discussion_r1237295970. 

### Alternatives

_No response_

### Additional context

_No response_

cc @mruberry @peterbell10
Repository: pytorch
Issue: Meta implementations of FFT operators often have incorrect strides
Labels: triaged,module: fft,oncall: pt2,module: dynamic shapes

## Issue description

`aten._fft_c2r` and `aten._fft_r2c` meta implementations currently return contiguous strides in all cases, which is not consistent with eager.

`aten._fft_c2c` makes a much better effort, but is still incorrect on CUDA when there are more than 3 transform dimensions or on CPU when using the pocketfft implementation instead of mkl-fft.

Ref:
- [c2r](https://github.com/pytorch/pytorch/blob/df8abaaf5f7e19d897aa30896bdbbe416ca2f825/torch/_meta_registrations.py#L279)
- [r2c](https://github.com/pytorch/pytorch/blob/df8abaaf5f7e19d897aa30896bdbbe416ca2f825/torch/_meta_registrations.py#L221)
- [c2c](https://github.com/pytorch/pytorch/blob/df8abaaf5f7e19d897aa30896bdbbe416ca2f825/torch/_meta_registrations.py#L205)

## Code example

This real-to-complex example falls back to eager with `torch.compile` due to `UnsupportedOperatorException`:
```python
import torch

def fn(x):
    return torch.fft.rfft(x)

torch.compile(fn, dynamic=True)
```

This complex-to-complex example compiles, but fails at runtime with stride mismatch:
```python
import torch

@torch.compile
def fn(x):
    return torch.fft.fftn(x, dim=(1, 2, 3, 4))

fn(torch.randn((5, 5, 5, 5, 5), dtype=torch.complex64, device="cuda"))
# AssertionError: expected size 5==5, stride 1==125 at dim=1
```

cc @ezyang @gchanan @zou3519 @kadeng @mruberry @msaroufim @bdhirsh @anijain2305 @chauhang @wconstab @nkaretnikov