sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: go
Issue: cmd/go: -overlay doesn't apply to embed directives
Labels: NeedsInvestigation,GoCommand

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.2 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?

Yes.

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/nickzavaritsky/Library/Caches/go-build"
GOENV="/Users/nickzavaritsky/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/nickzavaritsky/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/nickzavaritsky/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.20.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.20.2/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20.2"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="cc"
CXX="c++"
CGO_ENABLED="1"
GOMOD="/Users/nickzavaritsky/EMnify/overlay_test/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r9/l4zpd_011yv25z49q8wgddnm0000gp/T/go-build417032286=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

I use `go:embed` to embed a single file as string. The program prints file content and exits. I have an entry in `overlay.json` with the path of the file being embedded as a key pointing to another file. I pass `overlay.json` to `go build` via `-overlay` option. Then I invoke the resulting binary.

### What did you expect to see?

The content from the replacement file as specified via `overlay.json`.

### What did you see instead?

The content from the original file.

The reproducer is available at https://github.com/mejedi/golang-overlay-experiment
Repository: neovim
Issue: cmdheight=0: `nvim_echo` loses first line in scheduled job
Labels: bug,api,ui,messages

### Problem

The output from `nvim_echo` loses its first line when run in a scheduled job (e.g., with `timer_start`) when `&cmdheight=0`

### Steps to reproduce

```
set cmdheight=0
call timer_start(0, { _ -> nvim_echo([["foo\nbar"]], 0, {}) })
```

### Expected behavior

I expect the output to be:
```
foo
bar
Press ENTER or type command to continue
```
but it is instead
```

bar
Press ENTER or type command to continue
```

### Neovim version (nvim -v)

v0.9.0-dev-1312+g908494889

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

Rocky Linux 8.6

### Terminal name/version

xfce4-terminal 1.0.4

### $TERM environment variable

tmux-256color

### Installation

appimage
Repository: PowerToys
Issue: AlwaysOnTop doesn't work with Windows 10x64 Computer Management
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.68.1

### Installation method

GitHub

### Running as admin

Yes

### Area(s) with issue?

Always on Top

### Steps to reproduce

Open Computer Management and use the hotkey Win-Ctrl-T to lock it on top of everything.  I have mine set to add a border and make a sound when it does the deed but it won't do the deed.

BTW Win-Ctrl-T is a hard set of keys to doe with a single hand.  I've changed mine to Win-Alt-T.

### ✔️ Expected Behavior

Expecting Computer Management window to remain on top of all other windows to have an extra wide border created around the window to let you know it's locked on top of all other windows and to play a sound letting you know the task was completed.

### ❌ Actual Behavior

Nothing.

### Other Software

Win10x64 Computer Management Console

![image](https://user-images.githubusercontent.com/19868297/229630343-eb154c5c-67da-47e0-bf71-f8605f4888ea.png)
![image](https://user-images.githubusercontent.com/19868297/229630465-799df693-c983-4187-929c-52eeb03ffb28.png)
[PowerToysReport_2023-04-03-16-58-06.zip](https://github.com/microsoft/PowerToys/files/11142592/PowerToysReport_2023-04-03-16-58-06.zip)
You might want to rethink building an entire list of PowerToy apps to go into your zip file and instead limit it to the module with problems.  Just a thought.
Repository: tauri
Issue: [bug] Can't close MediaStream (Camera Indicator stll active)
Labels: type: bug,status: needs triage

### Describe the bug

The camera Indicator is still active even camera stream is ```stop()```, 

**Example**
Here is a simple example for reproducing the bug I found, 
Repo Link: https://github.com/xxidbr9/camera-issue-tauri

I have mac and windows device and all of the device is facing the same issue, the problem is only when I run it on _Tauri_, but I have no problem when running it as a normal Web app

### Reproduction

1. Clone the repo 
2. and try web and Tauri version to compare

### Expected behavior

Will turn off camera indicator when use 

```js
// const stream = navigator.mediaDevices.getUserMedia({ video: true, audio: true })
stream.getTracks().forEach(track => track.stop());
```

### Platform and versions

```text
› OS: Mac OS 13.2.1 X64
  › Node.js: 16.19.0
  › npm: 8.19.3
  › pnpm: 8.1.0
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.66.1
  › cargo: 1.66.1
  › Rust toolchain: stable-aarch64-apple-darwin
```


### Stack trace

_No response_

### Additional context

_No response_
Repository: PowerToys
Issue: Copy as plain text instead of paste as plain text.
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

Hey,
I use alot of terminal which does not support pasting plain text directly(as they have different pasting methods.)
I wish we can have an option to copy as plain text instead of pasting as plain text.

### Scenario when this would be used?

Using on VScode terminal/codespace terminal, linux terminal....

### Supporting information

_No response_
Repository: PowerToys
Issue: Changelogs versus. ReadMe
Labels: Idea-Enhancement,Area-GitHub workflow

### Description of the new feature / enhancement

The **ReadMe** and the **Releases** both have clear and different purposes. I think we should not copy-paste the release notes to ReadMe every single time. It's just not the right place for it. It also saves us time and work every month, which we can use for other things.

I also suggest to not include hotfixes in the following larger update. This is unnecessary redundant, since the hotfix (page) already mentions this. v0.75.0 ≁ 0.75.1 etc.
Repository: flutter
Issue: [Proposal] Align `OverflowBar` children in Cross Axis
Labels: framework,c: proposal,P3,team-framework,triaged-framework

Is there any way to align `OverflowBar` children in Cross Axis? It is always aligning to center. There is a overflowAlignment parameter, but it works only in vertical layout to align children horizontally. And I need to align vertically when `OverflowBar` is in horizontal layout.

What I have:
<img width="1415" alt="9h3Tj" src="https://user-images.githubusercontent.com/82471392/229641379-f73c6e52-eeb4-41dd-b123-bf19211f35ac.png">

What I want to achieve:
<img width="1419" alt="LwET4" src="https://user-images.githubusercontent.com/82471392/229641436-20c0c31c-d4cb-402f-a9ba-11083d55f685.png">

I achieve that using `Wrap` widget, but it is not what I need, cause it wraps differently.

You can reproduce that by creating `OverflowBar` with any children that have not equal height.
Repository: rust
Issue: Segfault when creating a rdkafka consumer on x86_64-unknown-linux-musl
Labels: O-musl,C-bug

Hiya

I have a minimal reproducible example here https://github.com/RedKinda/rust-musl-segfault. The dockerfile builds and compiles successfully, but running it results in a segfault.

Code only attempts to create a simple kafka consumer using the `rdkafka` crate. However after compiling to `x86_64-unknown-linux-musl` and running the executable, it immediately segfaults. 

I expected to see this happen: not segfault and exit gracefully. Instead, it segfaults.

After debugging with gdb, segfault leads me to this, which leads me to believe this is a miscompilation
```
gef➤  x/1w 0x7ffff7ff7000
0x7ffff7ff7000 <EVP_sha256@got.plt>:    0x1f456
```

I have created an issue on the rdkafka repo (https://github.com/fede1024/rust-rdkafka/issues/562) but thought it might be useful to raise it here as well.

Cheers!
Repository: flutter
Issue: `TestFlutterView` should have a way to set the logical size of the view
Labels: a: tests,framework,P2,team-framework,triaged-framework

## Use case

Setting `physicalSize` can be confusing as depending on the `devicePixelRatio` that the platform supports, that'll report as different logical sizes for measurements. To combat this, tests tend to set _both_ the `physicalSize` and the `devicePixelRatio` when the test needs to adjust the size. This is inconvenient and difficult to find/understand if you don't know _why_ other tests are setting both values.

## Proposal

Add a `setLogicalSize(Size size)` method to `TestFlutterView` and add breadcrumbs to both `physicalSize` and `devicePixelRatio` driving users towards that method as the default for changing the size while being `devicePixelRatio` aware.
Repository: pytorch
Issue: DISABLED test_doc_examples (__main__.TestTypeHints)
Labels: module: typing,triaged,skipped

Platforms: linux

This test was disabled because it is failing on master ([recent examples](https://hud.pytorch.org/failure/%2Fopt%2Fconda%2Fenvs%2Fpy_3.11%2Flib%2Fpython3.11%2Fsite-packages%2Fnumpy%2F__init__.pyi%3A638%3A48%3A%20error%3A%20Positional-only%20parameters%20are%20only%20supported%20in%20Python%203.8%20and%20greater%20%20%5Bsyntax%5D)).

This looks like an upstream mypy issue https://github.com/python/mypy/issues/13627 as documented in https://github.com/pytorch/pytorch/pull/94255.  Disable the test to investigate further

cc @ezyang @malfet @rgommers @xuzhao9 @gramster
Repository: neovim
Issue: Only last line of multi-line `nvim_out_write` appears when sent as notification
Labels: bug,api,ui,messages

### Problem

When `nvim_out_write` is called as a notification over RPC, only the last line is displayed.

### Steps to reproduce

```
let sock = sockconnect("pipe", v:servername, { "rpc": 1 })
call rpcnotify(sock, "nvim_out_write", "foo\nbar\nbaz\n")
```

### Expected behavior

I expect the output to be
```
foo
bar
baz
Press ENTER or type command to continue
```
but it is instead
```
baz
```
There is some possibility that this is by design, but if so this behavior difference needs to be documented (ideally w/ its motivation).

### Neovim version (nvim -v)

v0.9.0-dev-1312+g908494889

### Vim (not Nvim) behaves the same?

N/A

### Operating system/version

Rocky Linux 8.6

### Terminal name/version

xfce4-terminal 1.0.4

### $TERM environment variable

tmux-256color

### Installation

appimage
Repository: pytorch
Issue: Broken mypy check in test_type_hints.py::TestTypeHints::test_doc_examples
Labels: module: typing,triaged

### 🐛 Describe the bug

There are two problems with this test that surfaces today:

1. The `mypy==0.960` version we are using has a bug with Python 3.10.6+ https://github.com/python/mypy/issues/13627.  It breaks for Python 3.11 in CI.  The fix requires an upgrade to 0.981 or newer.  The bug is that mypy not only checks stuffs in PyTorch, but also PyTorch dependencies.  Specifically, it's numpy `/opt/conda/envs/py_3.11/lib/python3.11/site-packages/numpy/__init__.pyi:638:48: error: Positional-only parameters are only supported in Python 3.8 and greater  [syntax]`.  For example, https://hud.pytorch.org/pytorch/pytorch/commit/73b06a0268bb89c09a86f16fa0f72818baa4b250.  I found a PR https://github.com/pytorch/pytorch/pull/91983 to upgrade mypy.  Could we go ahead with that? (cc @ezyang @malfet @rgommers @xuzhao9 @gramster)
2. The test has been broken on ASAN after https://github.com/pytorch/pytorch/pull/94525 (cc @wanchaol) with the following error `mypy.ini:5:1: error: Error importing plugin "numpy.typing.mypy_plugin": No module named 'numpy.typing.mypy_plugin'  [misc]`, for example https://github.com/pytorch/pytorch/actions/runs/4601886643/jobs/8130489457

So why today you ask?  As these changes have been in trunk for a while.  It turns out that `test_doc_examples` was slow, so it wasn't run in these jobs till now.

```
test_type_hints.py::TestTypeHints::test_doc_examples SKIPPED [0.0002s] (test is slow; run with PYTORCH_TEST_WITH_SLOW to enable test)
```

The test is run as part of [slow jobs](https://github.com/pytorch/pytorch/blob/master/.github/workflows/slow.yml) but they don't cover 3.11 nor ASAN to trigger those bugs (Ouch!)

I have disabled the test in the mean time while we take actions https://github.com/pytorch/pytorch/issues/98259

### Versions

PyTorch CI
Repository: go
Issue: proposal: internal/cpu: add ifma detection for AMD64 to support e.g., optimized RSA signing
Labels: Proposal,Proposal-Crypto

Detect IFMA instructions ("HasIFMA") for AMD64 to support e.g., optimized RSA,  RSA, ECDSA, and ECDHE public key cryptographic ciphers.  References:

https://www.intel.com/content/www/us/en/developer/articles/technical/fourth-generation-xeon-scalable-family-overview.html#gs.uemgn3

https://www.intel.com/content/www/us/en/developer/articles/technical/ipp-crypto-acceleration-with-processor-code-named-ice-lake.html
Repository: godot
Issue: is_action_released triggers both left and right on gamepad
Labels: topic:input

### Godot version

4.01

### System information

Windows 10

### Issue description

The problem is specifically with event.is_action_released in a _input function.
I mapped 2 actions, for left and right, and set the controller properly for both.
When I press Right or Left on the joy stick, it triggers both in the code; where the debug output shows "test" the moment I move the joy stick. It doesn't wait until I release the joy stick, the line where it adds the two variables always returns 2.

### Steps to reproduce

In the Input Map tab, set the following:
move_left
    joypad Axis 0 - (Left Stick Left, joystick 0 Left) - All Devices
move_right
    joypad Axis 0 + (Left Stick Right, joystick 0 Right) - All Devices

Create a new scene and attach a new script and add the following:
```
extends Node3D

var test1:= 0
var test2:= 0

func _input(event):
	if test1 == 0 and event.is_action_released("move_left"):
		test1 = 1
	if test2 == 0 and event.is_action_released("move_right"):
		test2 = 1
	if (test1 + test2) == 2:
		print_debug("test")

```

### Minimal reproduction project

[TestProject.zip](https://github.com/godotengine/godot/files/11143679/TestProject.zip)
Repository: PowerToys
Issue: Add support for Cura thumbnails in GCode to File Explorer Add-ons
Labels: Idea-Enhancement,Product-File Explorer

### Description of the new feature / enhancement

The current power tool for GCode recognizes the thumbnail option, which is usually 32x32 pixels, leaving a blurry option as a preview.

Creality has incorporated a new preview picture that is higher resolution and would be better suited for preview / icon generation. At the very start of the file, it now places two jpgs by default - one at 48x48, one at 200x200. Prusa supports a 230 x 180 size.

This provides preview images within Creality Ender display products.

### Scenario when this would be used?

The 230x180 / 200x200 for FIle Preview, the 48x48 for generating icons for GCode files.

### Supporting information

The existing thumbnail option is included in a header for GCode, which looks like this:
```
;FLAVOR:Marlin
;TIME:5449
;Filament used: 2.55355m
;Layer height: 0.2
;MINX:75.55
;MINY:92.35
;MINZ:0.2
;MAXX:144.45
;MAXY:127.65
;MAXZ:76.4
;Generated with Cura_SteamEngine 5.3.0
;
; thumbnail begin 32 32 2320
; iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGfk
; lEQVRYha2XbWyWZxXHf+e67vt+XtqntNDyItCug76AhTrLXJQlJCYzxiz7sIVptiwYX0ay4ExMiHN+
...
; b3ci6Sv+Vyui+OzODAVw6frDfhR8//AIwKOMM26kGWAAAAAElFTkSuQmCC
; thumbnail end
;
```

In this case, the start of the file (before the header described above), has the following:

```
; jpg begin 48*48 1191 1 47 500
; /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
; HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
...
; MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADIAMgDASIA
; jpg end
 
; jpg begin 200*200 4031 3 197 500
; /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
; HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
...
; MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCADIAMgDASIA
; jpg end
```
Breaking down the heade; more insight about this can be found at the link below.

jpg begin 200*200
#### is the only change point - encoded_snapshot_length
1 47 500 (for the 48)
3 197 500 (for the 200)

Here's a few links to describing what and how this all works:
https://github.com/mriscoc/Ender3V2S1/wiki/How-to-generate-a-gcode-preview
Repository: opencv
Issue: cv::approxPolyDP sometimes locked in cvSquareAcc more than an hour
Labels: bug,incomplete

### System Information

OpenCV version: 4.1.2 & 4.7.0
Operating System: Windows 10 1809 & Higher
Compiler: MSVC 1929（VS2019 16.11.22）


### Detailed description

In a Laser Line-Scanning Sensor, we got more than a thousand cv::Point2d Data. And we try to downsampling the data with cv::approxPolyDP(aOriPts, aResult, aEps, false). Under particular circumstances, we got more than an hour delay.
With process explore we discover the cvSquareAcc address is changing and it never stop.

### Steps to reproduce

I can not reproduce intentionally, but it will happen sometimes.

### 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
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: godot
Issue: Godot 3.5.1 animation bug -- smooth animations in Blender import as ' jagged ', or have errors . . .
Labels: topic:import,topic:animation,topic:3d

### Godot version

Godot 3.5.1

### System information

Windows 10

### Issue description

not sure how to describe this one, made a simple, looping bezier animation in Blender, and it looks smooth, there's no ' jagged ' stuff, jumps, or ' weird ' breaks, etc etc . . .

![Animation (28)](https://user-images.githubusercontent.com/83387915/229665702-90dc2b25-4d55-4dbb-8af6-2681a5f3e1ae.gif)

there's a jump in the animation, however it's from the screen2gif program, there's no jump in the animation anywhere . . .

after importing it into the engine it looks like this . . .

![Animation (29)](https://user-images.githubusercontent.com/83387915/229666048-896d9532-6f7c-4cd9-ad1b-1bd2806a91fc.gif)

it looks like at several keyframes it makes a ' jump ', or jitters, however this was not a problem ever notice in 3.4, or also 3.3, from what it looks like in import settings there's a new ' optimizer ' setting, not sure why this is happening, the animation is 100 % smooth in Blender, however in Godot, using default settings, and importing as ' multiple scenes ', ie. the animations as a separate node, for weird reasons the animation is ' jagged ', or has weird pauses, or ' jittering ' - stuff . . .

### Steps to reproduce

make a simple looping animation in Blender, set extrapolation mode to ' linear ' to get a smooth animation, or use the f-mod cyclic mode to make it 100 % looping accurate, and bezier interpolation, at least that's what did myself, then import it in Godot 3.5.1, and the animation has ' pauses ', or ' breaks ' where it should not // doesn't look like in Blender, etc etc

### Minimal reproduction project

going to upload the sample, if it helps, not sure the problem is the new ' optimizer ' for animations, that optimizes stuff so much it looks bad, or it's information that's been deleted while importing, anyway maybe it's something people that code the engine understand, not sure it's using .glb stuff, etc etc . . .
Repository: ant-design
Issue: 增加图标选择器功能
Labels: 💡 Feature Request,Inactive

### What problem does this feature solve?

很多场景需要动态定制图标，期望增加图标选择器，或者提供已有组件的实现方法

### What does the proposed API look like?

期望增加图标选择器

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: neovim
Issue: new 'shortmess' option to combine `S` messages and search count
Labels: enhancement,needs:vim-patch

Currently the shortmess option matrix for search messages looks like this:

<table>
  <tr>
    <th rowspan="2">Feature</td>
    <th colspan="8">'shortmess' setting</td>
  </tr>
  <tr>
    <td>+s+S</td>
    <td>+s-S</td>
    <td></td>
    <td>-s-S</td>
    <td>-s+S</td>
    <td>???</td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td>"search hit TOP/BOTTOM, continuing at BOTTOM/TOP"<br>when search wraps</td><td>N</td><td>N</td><td>N</td><td>N</td><td>Y</td><td>Y</td><td>Y</td><td>Y</td>
  </tr>
  <tr>
    <td>display "W" when search wraps</td><td>N</td><td>N</td><td>Y</td><td>Y</td><td>N</td><td>N</td><td>Y</td><td>Y</td>
  </tr>
  <tr>
    <td>display search count</td><td>N</td><td>Y</td><td>N</td><td>Y</td><td>N</td><td>Y</td><td>N</td><td>Y</td>
  </tr>
</table>

I find both the first and third feature helpful - I don't often notice the "W," esp. since it's on the other side of the screen and I'm not always watching the search count. I'd like to have a setting combination that lets me enable both of them. I don't care whether or not the W is displayed also.
Repository: transformers
Issue: [HOW TO FINETUNE CLIP OPENAI LAION2B MODELS FOR IMAGE CLASSIFICATION]
Labels: WIP

I try to finetune CLIP model by using pretrained: https://huggingface.co/laion/CLIP-ViT-B-32-laion2B-s34B-b79K
But I met a bug: 
![image](https://user-images.githubusercontent.com/124332581/229679584-34db65ad-5a43-423e-bcd9-c54902fe7d6b.png)
Help me! Thanks