sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: StreamPeerTLS randomly disconnects when pulling 0 bytes in get_partial_data
Labels: bug,needs testing,topic:network

### Tested versions

4.3

### System information

Windows 10 - Godot 4.3 Stable (Same behavior on Linux, same behavior when changing wifi)

### Issue description


I am really not sure if what I encountered is the expected behavior or if I'm mis-using TLS, but here's something I noticed:

When invoking get_partial_data(available_bytes) on a StreamPeerTLS with a backing TCP stream and there's really  no data available, my peer would suddenly disconnect.

If I pulled only when get_available_bytes() returns a byte count larger than 0, this disconnect does not happen and the connection is stable.
The connection is also stable if I only use StreamPeerTCP without tls.

### Steps to reproduce

Create a StreamPeerTLS with a backing StreamPeerTCP and connect both to a TLS server

Continue to pull data

If no data is available, proceed to call get_partial_data(bytes) anyway. (In my case with the number of available bytes, which was 0)

further interactions with your StreamPeerTLS will suddenly return error code 27 (ERR_CONNECTION_ERROR). I can't tell if this happens immediately or only after some time has passed, though.

### Minimal reproduction project (MRP)

N/A really. But I noticed this behavior while devving on my client library so here's what i can share:

Heres' the old (tls randomly disconnects) version: https://github.com/arnemileswinter/rabbitgd/blob/1255ccb34db3cb961383324e7974ba2873f5149e/addons/rabbit-gd/RMQClient.gd#L124

And here it is with my latest fix which yields a stable connection now: https://github.com/arnemileswinter/rabbitgd/blob/0edc9ccbe2dbb38530d96cb58afa2f1a0faf4da5/addons/rabbit-gd/RMQClient.gd#L124

Here's the relevant diff of what i've done to circumvent the behavior: https://github.com/arnemileswinter/rabbitgd/commit/70b84af48b0e45a7108e564edc2b993e7a66166c#diff-57d035684cfdc886e3620113ac0513315c66fc3e70c501bfb9b0bd291bc254bfR124
Repository: deno
Issue: Add parallel flag in serve method
Labels: suggestion,serve

hi

why not add parallel as default arg in serve method
```
const cpuCount = .....
Deno.serve({ parallelism: cpuCount, ... })
```
Repository: deno
Issue: support additional signals (SIGHUP, SIGKILL, etc) on windows
Labels: feat,node compat

Currently we only support `SIGINT` and `SIGQUIT`. Node/libuv support other signals: https://github.com/libuv/libuv/blob/fbe2d85bd5a5c370a8cacea92b3bdfbd9f98a530/include/uv/win.h#L78-L96.
Repository: godot
Issue: New editor shortcut disappears after restart
Labels: bug,topic:editor,needs testing

### Tested versions

v4.3.stable.official [77dcf97d8]

### System information

Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU - AMD Ryzen 7 5800H with Radeon Graphics (16 Threads)

### Issue description

I go to `Editor -> Editor Settings -> Shortcuts`, configure `View Gizmos` to keyboard key `J`.
This binding works well for current session, but when I restart Godot it disappears.

### Steps to reproduce

1. Go to `Editor -> Editor Settings -> Shortcuts`
2. Configure `View Gizmos` to keyboard key `J`
3. Restart editor
4. Check the key binding for `View Gizmos` (it's empty)

### Minimal reproduction project (MRP)

N/A
Repository: PowerToys
Issue: Advanced Paste AI Prompt Field Showing Even When Disabled
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.85.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Advanced Paste

### Steps to reproduce

1. Enable _Advanced Paste_.
2. Disable _Enable Paste with AI_.
3. Press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>V</kbd>
4. Observe that the AI prompt field is still visible and interactable.

### ✔️ Expected Behavior

I was expecting the AI prompt field to no longer be visible or at least not interactable with a visual indication that it is disabled.

### ❌ Actual Behavior

While nonfunctional, it is still visible and interactable with no indication of said nonfunction.

![AI prompt field at the top of the Advanced Paste window is visible and being interacted with.](https://github.com/user-attachments/assets/5035476e-71c7-45da-804a-bdcca136cdc9)


### Other Software

_No response_
Repository: node
Issue: node:sqlite: support database.backup
Labels: feature request,sqlite

### What is the problem this feature will solve?

no simple function to make backup of the sqlite database.

### What is the feature you are proposing to solve the problem?

make a backup of sqlite database with a simple function like `database.backup(filename);`
refer to sqlite backup API: https://www.sqlite.org/backup.html

### What alternatives have you considered?

_No response_
Repository: pytorch
Issue: [autograd] do not clear all variables when retain_graph=False
Labels: module: autograd,triaged,needs research,has workaround

In `torch.distributed.pipelining` we split up the backward into two smaller operations `backward_input` and `backward_weight`. During `backward_input` we save the intermediate nodes that were computed during `autograd.grad` for the inputs with respect to the outputs:

https://github.com/pytorch/pytorch/blob/b72ff35f220ee487c07360a572322f8eab66a63a/torch/distributed/pipelining/_backward.py#L191-L196 

We call `retain_graph=True` in order to use parts of the autograd graph in later computation for the `backward_weight`, however, we dont need to if autograd can detect during `.grad` which variables can safely be removed.

cc @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7 @xmfan
Repository: deno
Issue: Allow different fmt options for specific file types
Labels: suggestion,deno fmt

I use these `fmt` options in my `deno.json`:
```json
{
    "fmt": { "indentWidth": 4, "semiColons": false, "singleQuote": true }
}
```

I just upgraded to Deno 2 and now `deno fmt` formats my YAML files too, which is great!

Except it forces them to be indented with 4 spaces 😦

It should be possible to configure/override `fmt` options for specific file types.

Right now, I think the only workaround is to exclude my YAML files, which is a bummer.
Repository: ui
Issue: [bug]: Sidebar has extra space at bottom when framed
Labels: bug

### Describe the bug

When the sidebar on the main site, and possibly all sidebar blocks, are framed, there is extra space at the bottom that is unnecessary.

**Screenshot:**

![](https://github.com/user-attachments/assets/ec28f664-89c3-4a79-bb1f-ad5c8cca4b4b)

**Screen recording:**

https://github.com/user-attachments/assets/95e3ccb4-0fc2-4976-b2ab-212836ecc8d7



### Affected component/components

Sidebar

### How to reproduce

Go to the homepage on mobile, open the sidebar, and look at the extra space at the bottom. Note that this is most apparent in an iframe.

### Codesandbox/StackBlitz link

https://ui.shadcn.com/

### Logs

_No response_

### System Info

```bash
iPhone 16 Pro Max. Running chrome @ latest
```


### Before submitting

- [X] I've made research efforts and searched the documentation
- [X] I've searched for existing issues
Repository: flutter
Issue: Capture logs when simulator tests in flutter/packages fail
Labels: package,P2,team-ios,triaged-ios

Provide better debug info to fix: https://github.com/flutter/flutter/issues/153578

So it looks like the packages recipe already supports this:
- recipes [src](https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/packages/packages.py#147)
- Example packages [build](https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20ios_platform_tests_shard_2%20master/15489/infra) (when step 43 failed, step 44 uploaded everything in the directory pointed at by the env var `$FLUTTER_LOGS_DIR`, which was nothing)

From here, I think we should teach the flutter/packages repo's test runner ([src](https://github.com/flutter/packages/tree/main/script/tool)) to catch errors and, *if* the env var `FLUTTER_LOGS_DIR` is set, copy the relevant logs there before exiting.
Repository: deno
Issue: feat: `deno test --include [glob/pattern]`
Labels: suggestion,testing

Hi,

I'd like to propose to add a `--include [glob/pattern]` CLI option for `deno test`.

## Problem

My project currently have unit, integration and e2e tests. Unit tests live under `src/**/*.test.ts`, integration `integration/**/*.test.ts` and e2e `e2e/**/*.test.ts`.

Currently I rely on these tasks in deno.json to run them:

```json
{
    "test:unit": "deno test --special-flags-for-unit src",
    "test:integration": "deno test --special-flags-for-integration integration",
    "test:e2e": "deno test --special-flags-for-e2e e2e"
}
```

Ideally, I'd like to just do

```
deno task test:integration path/to/integration.test.ts path/to/integration-2.test.ts
```

And have the arguments passed down to `deno test`. However, since the path `integration` is already specified in the `test:integration` task, all integration tests are run as a result.

Hence, to target specific test files during development, we ended up needing to keep copy-and-pasting `deno test --some-special-flags`.

I have also considered adding something like the following, omiting the file path.

```
"test:integration:prefix": "deno test --special-flags-for-integration integration",
```

This allow us to target files nicely, but forgetting to do so would mean running **ALL** test files, including `unit` and `e2e` using the special flags for `integration`.

## Proposed solution

Add a `--include [glob/pattern]` option in `deno test`. I imagine this flag would basically change the default `{*_,*.,}test.{js,mjs,ts,mts,jsx,tsx}` glob for finding test files. 

With `--include`, the problem mentioned above can be easily solved with tasks that look like this

```json
{
    "test:unit": "deno test --special-flags-for-unit --include=src/**/*.test.ts",
    "test:integration": "deno test --special-flags-for-integration --include=integration/**/*.test.ts",
    "test:e2e": "deno test --special-flags-for-e2e e2e --include=e2e/**/*.test.ts"
}
```

Without specifying any paths, `deno test` should find test files based on the `--include` option from the CWD.

When the path is specified, for example `deno task test:unit path/to/unit.test.ts`, only the targetted path would run.


------

I haven't found useful option from https://docs.deno.com/runtime/reference/cli/test/ or any issues requesting for this feature yet, so I thought maybe I would propose it here.

Here's my project's [`deno.json`](https://github.com/fishballapp/acme/blob/main/deno.json#L12-L14) for reference.
Repository: go
Issue: unicode/utf8: potential performance improvement of UTF8 validation
Labels: NeedsInvestigation

### Proposal Details

I've been [experimenting](https://github.com/romshark/utf8) with different kinds of optimization techniques in order to speed up [utf8.Valid](https://pkg.go.dev/unicode/utf8#Valid) and [utf8.ValidString](https://pkg.go.dev/unicode/utf8#ValidString) and I'd like to share my findings that appear to be low-hanging fruit, at least on ARM64:

<img width="526" alt="Screenshot 2024-10-16 at 23 42 49" src="https://github.com/user-attachments/assets/c6724d65-f250-40d5-b99b-1ebb8f2c65b0">

The change is minimal but yields performance improvements of up to 41% on Apple M1 Max for all-UTF8 inputs while not showing any significant negative side-effects. Though on AMD Ryzen 7 5700x the geomean is significantly lower at just -1.43%, with some benchmarks even showing significant performance degradation ⚠️.

The test **setup with benchmarks** can be found here: https://github.com/romshark/utf8valid

## Relation to Other Proposals

It might be related to https://github.com/golang/go/issues/47120 but I haven't had the opportunity to dig into the details of Russ' proposal. At first glance it looks like Russ tackled exactly that problem and my proposal may just be a duplicate.

Compared to https://github.com/golang/go/issues/63347 this proposal doesn't require changes of significant complexity, it's a 9-line code change.
Repository: go
Issue: proposal: x/net/http2: add "SETTINGS_NO_RFC7540_PRIORITIES"
Labels: Proposal

### Proposal Details

According to **[RFC 9217: Section 2, P1](https://www.rfc-editor.org/rfc/rfc9218.html#section-2.1)**, the `SETTINGS_NO_RFC7540_PRIORITIES` is now a known setting in `SETTINGS` frame.

It is also used in Firefox 132.0-b8 (Dev channel), if you could add it in net/http2 for devs who have experimental usages, that would be awesome.

Like listing it's ID beside other settings here:
```go
// A SettingID is an HTTP/2 setting as defined in
// https://httpwg.org/specs/rfc7540.html#iana-settings
type SettingID uint16

const (
	SettingHeaderTableSize      SettingID = 0x1
	SettingEnablePush           SettingID = 0x2
	SettingMaxConcurrentStreams SettingID = 0x3
	SettingInitialWindowSize    SettingID = 0x4
	SettingMaxFrameSize         SettingID = 0x5
	SettingMaxHeaderListSize    SettingID = 0x6
        SettingNoRFC7540Priorities  SettingID = 0x9
)

var settingName = map[SettingID]string{
	SettingHeaderTableSize:      "HEADER_TABLE_SIZE",
	SettingEnablePush:           "ENABLE_PUSH",
	SettingMaxConcurrentStreams: "MAX_CONCURRENT_STREAMS",
	SettingInitialWindowSize:    "INITIAL_WINDOW_SIZE",
	SettingMaxFrameSize:         "MAX_FRAME_SIZE",
	SettingMaxHeaderListSize:    "MAX_HEADER_LIST_SIZE",
        SettingNoRFC7540Priorities:  "NO_RFC7540_PRIORITIES",
}
```

Thanks to Go team!
Repository: flutter
Issue: [Impeller] Emulate glBlitFramebuffer using shaders for drivers that don't support GLES 3.
Labels: engine,P3,e: impeller,team-engine,triaged-engine,e: opengl

`glBlitFramebuffer` is a GLES 3-only feature. There is no user-side cap check for this in a HAL. Right now we'll just fail blits on GLES 2-only drivers in `BlitCopyTextureToTextureCommandGLES::Encode` if the proc couldn't be resolved.

Having a cap check for Texture->Texture blits would be a painful limitation for Impeller's 2D renderer & embedders. We can gracefully emulate this functionality with a raster command that samples from the source image and attaches the destination image.
Repository: flutter
Issue: [in_app_purchase_storekit] Re-add reference to tests to the Mac project after bots are upgraded to Mac 14
Labels: platform-ios,p: in_app_purchase,package,P2,team-ios,triaged-ios

https://github.com/flutter/packages/pull/7812

Even thought StoreKitTest is technically a mac 11 framework, the bulk of the testing features, such simulating network errors and things like that are mac 14 only. Since our fleet is part mac 13 and part mac 14 right now, the tests only pass when being run on a mac 14 bot. 

We should re-add reference to tests to the Mac project after bots are upgraded to Mac 14. They just need to be referenced in place, since mac and ios share the same tests.
Repository: kubernetes
Issue: TODO: Remove AllowServiceLBStatusOnNonLB gate in or after v1.35
Labels: sig/network,triage/accepted

Revert https://github.com/kubernetes/kubernetes/pull/128139
Repository: flutter
Issue: Adding the GoogleProvider crashes iOS apps.
Labels: team-codelabs,P2,triaged-codelabs

Referring to - https://firebase.google.com/codelabs/firebase-auth-in-flutter-apps#6

Ran through this section 2 times. Did not see anything I missed. Saw some issues on github with google_sign_in.

When I reach the point where I am adding the GoogleProvider for the Google signin. The iOS app crashes. The Android app runs fine. Are there any work arounds. I did not add anything that allows me to catch the exception, i think. 
It seems like the google_sign_in package has the issue and it would be nice to mention that in the lab too.

```
GoogleProvider(
   clientId: "YOUR_WEBCLIENT_ID"
)
```
My system:
```
Flutter 3.24.3 • channel stable • git@github.com:flutter/flutter.git
Framework • revision 2663184aa7 (5 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3
```
`Apple M1 Pro - macOS Sonoma - 14.6.1`
```
Android Studio Koala Feature Drop | 2024.1.2
Build #AI-241.18034.62.2412.12266719, built on August 22, 2024
Runtime version: 17.0.11+0-17.0.11b1207.24-11852314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.6.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  ide.new.editor.tabs.vertical.borders=true
  ide.animate.toolwindows=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
  com.intellij.marketplace (241.18034.106)
  Dart (241.18808)
  name.kropp.intellij.makefile (241.14494.150)
  Docker (241.18034.82)
  IdeaVIM (2.16.0)
  com.chrisrm.idea.MaterialThemeUI (9.3.1)
  mobi.hsz.idea.gitignore (4.5.3)
  io.flutter (81.0.2)
```
Repository: PowerToys
Issue: Mouse Pointer stick-slip occurs when the Mouse Pointer Crosshairs is ON
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

085.1

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

Mouse Utilities

### Steps to reproduce

When the Mouse Pointer Crosshairs is ON, after over time of operating Excel, the mouse pointer movement becomes stick-slip, and which gets worse over time.
The stick-slip occurs in every case which mouse pointer is over a window of Excel, other application, or desktop (not over a window of any application).
When stick-slip is occurring, the CPU usage of dwm.exe and PowerToys.exe are higher than when stick-slip is not occurring.
Once Excel is discontinued, the stick-slip disappears.
When the Mouse Pointer Crosshairs is OFF, stick-slip does not occur even if Excel operating time is for a long time.
It is used a mouse.
Can this problem solve?

### ✔️ Expected Behavior

_No response_

### ❌ Actual Behavior

_No response_

### Other Software

_No response_
Repository: PowerToys
Issue: Always on top in all tabs
Labels: Needs-Triage,Needs-Team-Response

### Description of the new feature / enhancement

The **always on top** extension does **not work on windows applications**, for example: CMD, GitBash, PowerShell, this would be a perfect feature for **developers**

### Scenario when this would be used?

When taking a course or, for example, facing computer problems that require more screens to solve, and you pause the video and have to search for your cmd among 20 other applications open on your machine, it is much easier to use always on top in cmd and you can do whatever you want, without having to use Alt + Tab or look for your cmd lost among other applications


### Supporting information

_No response_
Repository: pytorch
Issue: nan in sparse mv result when I use cpu 
Labels: module: sparse,triaged

### 🐛 Describe the bug

When I use cpu to compute A@x where A is a CSR sparse matrix, x is a vector through a function, if the non-zero elements number in A is large enough, then there somstimes exist a nan in the result vector. Howerver such problem did not occur when I use gpu to compute. 
``` 
import torch
import random

random.seed(100)
torch.manual_seed(100)
torch.cuda.manual_seed(100)
torch.set_default_device('cpu')



def A_matvec_x(A,x):
    c = torch.mv(A,x)                 #bug is here
    print(c)                              #sometimes there is a nan
    print(c.max())                    #sometimes there is a nan
    

n = 205082                            #control the scale
CSR_IA = [0]
CSR_JA = []

data = torch.zeros(n)
data = data + torch.rand(n) * torch.finfo(data.dtype).eps

x = torch.zeros(n)
b = torch.zeros(n)
for i in range(n):
    temp = []
    while len(temp) < 4:
        q = random.randint(0, n - 1)
        if(q in temp):
            continue
        else:
            CSR_JA.append(q)
            temp.append(q)

    CSR_IA.append(CSR_IA[i] + 4)

A = torch.sparse_csr_tensor(CSR_IA, CSR_JA, data, size = (n, n))
c = torch.mv(A,x)
print(c.max())                          

A_matvec_x(A,x)
```

the result sometimes is 
```
tensor(0.)
tensor([0., 0., 0.,  ..., 0., nan, 0.])
tensor(nan)
```

somtimes is 
```
tensor(0.)
tensor([0., 0., 0.,  ..., 0., 0., 0.])
tensor(0.)
```

### Versions

PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 11 专业版
GCC version: (x86_64-posix-seh-rev3, Built by MinGW-W64 project) 11.2.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.8.18 (default, Sep 11 2023, 13:39:12) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.22631-SP0
Is CUDA available: True
CUDA runtime version: 11.8.89
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4080 Laptop GPU
Nvidia driver version: 556.13
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\cudnn_ops64_9.dll
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=2100
DeviceID=CPU0
Family=198
L2CacheSize=14336
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=2100
Name=13th Gen Intel(R) Core(TM) i7-13700HX
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] numpy==1.24.4
[pip3] torch==2.1.2+cu121
[pip3] torchaudio==2.1.2+cu121
[pip3] torchvision==0.16.2+cu121
[conda] numpy                     1.24.4                   pypi_0    pypi
[conda] torch                     2.1.2+cu121              pypi_0    pypi
[conda] torchaudio                2.1.2+cu121              pypi_0    pypi
[conda] torchvision               0.16.2+cu121             pypi_0    pypi

cc @alexsamardzic @nikitaved @pearu @cpuhrsch @amjames @bhosmer @jcaip
Repository: tauri
Issue: [bug] 
Labels: type: bug,status: needs triage

### Describe the bug

![image](https://github.com/user-attachments/assets/e506345d-83ae-423e-860d-f0f0a26fc45f)


### Reproduction

No need to provide, default to any template, select vue or react

### Expected behavior

Normal operation

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 129.0.2792.89
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.15.0
    - pnpm: 9.4.0
    - yarn: 1.22.22
    - npm: 10.8.1

[-] Packages
    - tauri 🦀: 2.0.4
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.2
    - tao 🦀: 0.30.3
    - @tauri-apps/api : 2.0.2
    - @tauri-apps/cli : 2.0.3

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.1
    - @tauri-apps/plugin-shell : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite
```


### Stack trace

_No response_

### Additional context

![image](https://github.com/user-attachments/assets/4a05e93b-1bb0-49c2-ae1a-0332f6f39f68)