sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: video capture .set() method not working as expected
Labels: bug,category: videoio,confirmed

### System Information

Operating System / Platform:: Pop!_OS 22.04 LTS
Python version: 3.10.6
OpenCV python version:  4.7.0.72

### Detailed description

Hi,
im using opencv-python package, and got a wierd issue when using videocapture.set(cv2.CAP_PROP_POS_MSEC, value).
After using the set method, and then the get method, the returned value is completely different.
This is a project that works as expected in a mac laptop (including when using the same video file), but when i try running it on PopOs it dosent work as expected.
The video file is of length of 90+ minutes, so the new time im trying to set is definitely a valid one.

### Steps to reproduce

```python
current_millis = cap.get(cv2.CAP_PROP_POS_MSEC)
# current_millis=211631.6666666667
# skip_seconds=24
skip_to_millis=cap.get(cv2.CAP_PROP_POS_MSEC) + (
skip_seconds* 1000)
# skip_to_millis =235631.6666666667
cap.set(cv2.CAP_PROP_POS_MSEC,
skip_to_millis)
current_millis = cap.get(cv2.CAP_PROP_POS_MSEC)
# current_millis=2618.1222222222223
```

### 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: Cursor becomes stuck and invisible when adjusting AnimatedSprite's frame duration
Labels: bug,topic:editor

### Godot version

4.0.2.stable

### System information

Windows 10

### Issue description

It happens when you adjust the frame duration by dragging with the mouse. You can still click on things in the editor, but the cursor is invisible and it seems to be locked into the Godot window. You can alt-tab or alt-f4 to get the cursor back.

This issue seems similar to https://github.com/godotengine/godot/issues/61062, but I think that one is fixed.

### Steps to reproduce

1. Create an AnimatedSprite2D or 3D
2. Make sure to add some frames
3. Click the up or down arrow next to the frame duration text box
4. Now try dragging left or right in frame duration text box

### Minimal reproduction project

N/A
Repository: go
Issue: x/vuln: add support for suppressing vulnerabilities by ID
Labels: NeedsInvestigation,FeatureRequest,vulncheck or vulndb

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.20.2 darwin/amd64
</pre>

### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
$ go env
MacOS amd64 darwin
</pre></details>

Hi,

Requesting to introduce a config file (ideally) or a flag that allows users to explicitly exclude some vulnerabilities? Maybe until they resolve them, they can be suppressed in CI so on.

Thanks

**Config file**

```
$ govulncheck -config vuln.yaml ./...
```

```bash
# vuln.yaml
vulnerability:
    exclude:
        - GO-2023-1704
        - GO-2023-1705
```

**Flag**

```
$ govulncheck \
    -exclude GO-2023-1704 \
    -exclude GO-2023-1705 \
    ./...
```
Repository: stable-diffusion-webui
Issue: [Bug]: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

This bug happens when i try to launch webui-user.bat

### Steps to reproduce the problem

1. launch webui-user.bat
2. wait

### What should have happened?

The program should install torch, load the model and then start the web server.

### Commit where the problem happens

22bcc7be428c94e9408f589966c2040187245d81

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--lowvram --precision full --no-half --skip-torch-cuda-test --disable-safe-unpickle
```


### List of extensions

No

### Console logs

```Shell
D:\IA\stable-diffusion-webui>webui-user.bat
venv "D:\IA\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:38:17) [MSC v.1932 32 bit (Intel)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none)
ERROR: No matching distribution found for torch==1.13.1+cu117

[notice] A new release of pip available: 22.2.1 -> 23.0.1
[notice] To update, run: D:\IA\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
  File "D:\IA\stable-diffusion-webui\launch.py", line 355, in <module>
    prepare_environment()
  File "D:\IA\stable-diffusion-webui\launch.py", line 257, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
  File "D:\IA\stable-diffusion-webui\launch.py", line 81, in run
    raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "D:\IA\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
Error code: 1
```


### Additional information

I've currently installed python 3.10.6 and i tried to delete venv folder and then launch again, but i still get this error.

i've ran "py -0p" and as it seems, i do not have any other python versions on my system other than 3.10.6.
Repository: flutter
Issue: [Web] Calling `TextInput.finishAutofillContext` from `onFieldSubmitted` causes duplicate submissions 
Labels: a: text input,platform-web,has reproducible steps,P2,found in release: 3.7,found in release: 3.10,team-web,triaged-web

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Paste the code sample below into dartpad.dev
2. Type some text in the text field
3. Hit enter/return on your keyboard
4. Observe that the print statement is logged twice
5. Follow the same steps on MacOS (or any other non-web platform) and observe that the print statement is logged once

**Expected results:** <!-- what did you want to see? -->
`onFieldSubmitted` is submitted once.

**Actual results:** <!-- what did you see? -->
Calling `TextInput.finishAutofillContext()` causes `onFieldSubmitted` to be submitted a second time.


<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.all(8.0),
          child: TextFormField(
            onFieldSubmitted: (value) {
              print('onFieldSubmitted');
              TextInput.finishAutofillContext(shouldSave: false);
            },
          ),
        ),
      ),
    );
  }
}
```

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->

https://user-images.githubusercontent.com/20613561/230742252-9dd3df17-f861-43bf-969d-1b6effc8fec0.mov
Repository: tensorflow
Issue: Doc Feature Request: For tf 2, explain how to distribute a pretrained model across multiple nodes.
Labels: stat:awaiting tensorflower,type:feature,comp:dist-strat

When I read the original TF paper, I was told that

> Dataflow simplifies distributed execution, because it makes communication between subcomputations explicit.
> It enables the same TensorFlow program to be deployed to a cluster of GPUs for training, a cluster of TPUs for serving, and a cellphone for mobile inference. 
> Each operation resides on a particular device, such as a CPU or GPU in a particular task. A device is responsible for executing a kernel for each operation assigned to it.
> (...)
> The TensorFlow runtime places operations on devices, subject to implicit or explicit constraints in the graph.
> The placement algorithm computes a feasible set of devices for each operation, calculates the sets of operations that must be colocated, and selects a satisfying device for each colocation group.

I work with small models, so I have never need more than one device. But now large models are all the rage, and a lot of competition is about just getting the weights of a pretrained model and run them. So I want cluster all the GPUs of a room to just run a LLM, either ad-hoc, keras or HF. 

I would expect a tutorial for this to be available somewhere. It is not. I guess one still needs to configure a cluster description and, if such option is available still in 2.x, launch an script in each machine to join them into a cluster. And then somehow launch a master script in some machine that loads the model, deploys its graph across the cluster, and runs it. Without needing any mirroring or any parameter collection, so that the current objects in distribute.strategy seem very big for such task. Perhaps eventually the example could include some ClusterResolver for common cloud services, but ideally it should be for in-home heterogeneous architecture.

Of course it could be still sensible to do such tutorial with the distribute.strategy tools, if it were considered as a first introduction to distribution of tasks, and that the next natural thing is to learn also to do a loss calculation, a backpropagation, and a training step.
Repository: PowerToys
Issue: [Text Extractor] Memory over consumption 
Labels: Issue-Bug,Status-Reproducible,Product-Text Extractor

### Microsoft PowerToys version

0.69.0

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

TextExtractor

### Steps to reproduce

1. Enable Text Extractor
2. Run it once
3. Check memory usage in Task Manager

### ✔️ Expected Behavior

Minimize the memory consumption at least when it is inactive.

### ❌ Actual Behavior

It eats about 700 MB of memory even when IDLE, this is way too much, especially when it isn't even doing anything.

### Other Software

_No response_
Repository: node
Issue: parseArgs Type Definition
Labels: util

Instead of having a `type` property with either a `"string"` or `"boolean"` value, I believe it would be more intuitive to have a `boolean` property with either `true` or `false` value, with the default value being false.

```js
options: {
  verbose: {
    short: "v",
    boolean: true
  }
}
```

Furthermore, I would prefer the options to be an array of objects, as this would make it easier work with them.

```js
options: [
  {
    long: "output",
    short: "o",
    required: true
  },
  {
    long: "verbose",
    short: "v",
    boolean: true
  }
}
```

Thank you for including the parseArgs feature in Node!
Repository: godot
Issue: Node configuration warning doesn't update immediatly on the scene dock
Labels: discussion,topic:core,documentation

### Godot version

v4.0.2.stable.official [7a0977ce2]

### System information

Windows 11

### Issue description

Warning doesn't show immediatly on scene dock when update_configuration_warnings() is called

### Steps to reproduce

Copy-paste this script to any node and restart the editor (so the script become is active in the editor)

```
@tool
extends Node


func _get_configuration_warnings():
	#return ["first warning, second warning"]
	#return ["new warning"]
	return []

func _process(_delta):
	update_configuration_warnings()
```

Change the return value of _get_configuration_warnings() and save the script, the warning will update only after you do something in the scene dock.
If you already have a warning and change it, you will se the updated warnings when you click the warning icon, but when you hover the mouse over the warning icon, it will show the old warning.

### Minimal reproduction project

N/A
Repository: deno
Issue: TypeError: t is not a function from esm.sh/v114/axios@0.26.1/esnext/axios.mjs
Labels: needs investigation

I'm trying to run OpenAI npm package in a supabase function and running into this error:

```ts

import { serve } from "https://deno.land/std@0.168.0/http/server.ts";
import { Configuration, OpenAIApi } from "npm:openai";

console.log("Hello from Functions!");

const configuration = new Configuration({
  apiKey: Deno.env.get("OPENAI_API_KEY"),
});

serve(async (req) => {
  const openai = new OpenAIApi(configuration);
  const testChat = await openai.createChatCompletion({
    model: "gpt-4",
    messages: [
      {
        role: "user",
        content: `Hello, what can you do?`,
      },
    ],
  });

  return new Response(JSON.stringify(testChat), {
    headers: { "Content-Type": "application/json" },
  });
});
```


```
TypeError: t is not a function
    at Ke.exports (https://esm.sh/v114/axios@0.26.1/esnext/axios.mjs:523:16)
    at T.request (https://esm.sh/v114/axios@0.26.1/esnext/axios.mjs:681:17)
    at Function.request (https://esm.sh/v114/axios@0.26.1/esnext/axios.mjs:29:22)
    at https://esm.sh/v114/openai@3.2.1/esnext/openai.mjs:147:22
    at https://esm.sh/v114/openai@3.2.1/esnext/openai.mjs:866:91
    at async Server.<anonymous> (file:///home/deno/functions/testing/index.ts:12:22)
    at async Server.#respond (https://deno.land/std@0.168.0/http/server.ts:221:24)
 ```
 
Sorry, I'm still very new to deno so not really sure how to deal with these types of dependency issues...
Repository: PowerToys
Issue: automatic placement of windows using keywords
Labels: Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

the interest is to use fancyzones in a more advanced way, this would allow each window to go into a zone using the keyword that no window overlaps or overlaps in this way each window would go into a zone until Make sure that all the areas are occupied, this would allow a simpler and more successful work

### Scenario when this would be used?

let's say that I have 6 zones in my screen, that I want to position different windows without using my mouse, fancyzone would fill this task automatically since we will suppose to program this using different keywords, a bit like the soft placemint but in a simpler and more intuitive way: >>>>https://sourceforge.net/projects/placemint/

### Supporting information

_No response_
Repository: neovim
Issue: --remote-expr stopped working in Neovim 0.9.0
Labels: has:workaround,bug-regression,startup,remote

### Problem

The `--remote-expr` option stopped working in nvim-0.9.0.

It was working fine in the previous release.

### Steps to reproduce

1. Run `nvim --clean`, and get the servername (`echo v:servername`)

2. Open another terminal and run

        nvim --clean --server-name <servername> --remote-expr '1+1'



### Expected behavior

Should output "2"; but either I get no output, or garbled output.

### Neovim version (nvim -v)

NVIM v0.9.0

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

No. Vim (or previous versions of nvim) do not have the same issue

### Operating system/version

Arch linux 6.2.10-arch1-1

### Terminal name/version

konsole

### $TERM environment variable

xterm-256color

### Installation

package manager (pacman)
Repository: axios
Issue: Can anyone confirm this Axios memory leak.
Labels: priority::high

### Discussed in https://github.com/axios/axios/discussions/5640

<div type='discussions-op-text'>

<sup>Originally posted by **ekerner-com** April  9, 2023</sup>
I observed this in Chrome on Mac (so Safari essentially).
I haven't tested in any other environment.

**Every call with Axois adds 4 event listeners and they never get cleaned up**.
This inflates memory consumption over time and eventually causes a mem crash.

**To reproduce**
Leave a page open with an interval running an Axios call every n seconds.

**To observe**
Open the performance monitor and make sure that the JS Heap and Event Listeners metrics are selected.

![image](https://user-images.githubusercontent.com/5393913/230735923-88c82d5d-dc69-4007-8c31-c2e36794f590.png)

I tried the latest and older versions with the same result.</div>
Repository: PowerToys
Issue: Add FancyZones template option to just type in the number of rows and columns you want
Labels: Idea-Enhancement,FancyZones-Editor,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

When choosing from the FancyZones template options, there would be a new option to allow the user to specify the number of rows and columns they would like their screen divided up into. 

The current 'grid' template just has a slider, and cannot do 12 columns 8 rows, the way it does 96 is strange (11x9). Trying to make something like 12x8 with a custom layout is too much work to make and it wouldn't be perfect anyways, unless I just don't know enough tricks about how to make custom layouts.

### Scenario when this would be used?

Available for sizing windows at any moment.

### Supporting information

![image](https://user-images.githubusercontent.com/1617130/230755550-6135d8cc-07ef-44cd-aef9-7af2af666fbf.png)
Repository: flutter
Issue: Requesting for Image.toByteData to have raw BGRA and ARGB formats available
Labels: c: new feature,engine,a: images,c: proposal,P3,team-engine,triaged-engine

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

Hi, currently Image.toByteData only has RGBA formats.  For example:

### Flutter
```dart
var bytes = await image.toByteData(format: ui.ImageByteFormat.rawRgba);
```

It would be nice to have ARGB or BGRA formats that can be used directly in native iOS Core Video functions such as:

### Native iOS Code:
```swift  
CVPixelBufferCreate(
    kCFAllocatorDefault,
    width,
    height,
    kCVPixelFormatType_32BGRA,
    nil,
    &pixelBuffer
)
```

Although the format value kCVPixelFormatType_32RGBA exists to select from in iOS, when running the app will crash, since the device actually doesn't support that pixel format.

I can do the permute conversion from RGBA to BGRA in native code, but if it's not much trouble to provide those ImageFormats as direct outputs of toByteData that would be great!

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal
Please add raw BGRA and ARGB formats.
```dart
var bytes = await image.toByteData(format: ui.ImageByteFormat.rawBgra);
```

```dart
var bytes = await image.toByteData(format: ui.ImageByteFormat.rawArgb);
```

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: PowerToys
Issue: Paste copied images directly to the current file explorer instance 
Labels: Needs-Triage

### Description of the new feature / enhancement

Copy any image from for example your browser and then go to the file explorer, press Ctrl + V and it will be added to the current path you are in.

### Scenario when this would be used?

When Copying images from the browser to directly paste them to the file explorer

### Supporting information


https://user-images.githubusercontent.com/72889252/230761271-79412f9f-8bf3-4af6-81a8-56e5bd9b9ae5.mp4
Repository: opencv
Issue: Reroute OpenCV log message from cerr/cout to a user defined routine
Labels: feature,category: core

### Descripe the feature and motivation

A user of a program using open cv may not be the developer, and in such a case warning and error messages that are only written to std::cerr and std::cout, as is currently done, are difficult to catch. A more preferable mechanism is to allow the developer to override the default logging to a function or class of their choice..

### Additional context

I suggest something like the following:

1. In logger.h create a logging API pure virtual class `LoggingCallbackFunction` that contains a method for logging.
2. Add a function in logger.cpp `setLogCallbackFunction` which initializes a private member of `internal` to the value of logging class. (Similar to how the `LogLevel` is initialized)
3. In `writeLogMessage` instead of writing directly to `cerr` and `cout` check for the existance of a `LogCallbackFunction` and if defined, use it.
4. Otherwise default to the current behavior

If there is interest, I'll be happy to create a pull request