sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: PowerToys
Issue: Wake up PC from hibernate mode 
Labels: Idea-Enhancement,Product-Keyboard Shortcut Manager

### Description of the new feature / enhancement

This feature is supposed to make a shortcut to wake up the PC from hibernate mode (e.g., Ctrl + Win + Num+)

### Scenario when this would be used?

  sometimes we face laptops with broken power button and cannot wake up the pc or turn it on 

### Supporting information

_No response_
Repository: tensorflow
Issue: Wrong answer from tflite model with certain configurations of depthwise conv2d
Labels: stat:awaiting tensorflower,type:bug,TFLiteConverter,TF 2.13

### 1. System information

- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Debian 11
- TensorFlow installation (pip package or built from source): pip package
- TensorFlow library (version, if pip package or github SHA, if built from source): 2.13.0

### 2. Code

```
import tensorflow as tf
import numpy as np

tf.keras.utils.set_random_seed(0)

# Layer parameter values
imageSize = (8, 8)
numChannels = 2
fmt = 'channels_last'
kernelSize = (3, 1)
padding = 'same'
depthMult = 1
useBias = False
strides = (2, 2)

# Determine input shape
if fmt == 'channels_last':
    inShape = imageSize + (numChannels,)
else:
    inShape = (numChannels,) + imageSize

# Determine input size and create input data
inSize = (1,) + inShape
rng = np.random.default_rng(seed=999)
x = rng.random(size=inSize, dtype=np.float32)

# Construct Keras model
inp = tf.keras.layers.Input(shape=inShape, batch_size=1)
dconv = tf.keras.layers.DepthwiseConv2D(kernelSize, strides=strides, padding=padding, depth_multiplier=depthMult,
                                        data_format=fmt, activation=None, use_bias=useBias)(inp)
kModel = tf.keras.models.Model(inputs=inp, outputs=dconv)
kModel.compile()

# Run Keras model predict
kY = kModel.predict(x)
print(kY)

# Convert model to tflite
converter = tf.lite.TFLiteConverter.from_keras_model(kModel)
tfModel = converter.convert()

# Run tflite interpreter
interpreter = tf.lite.Interpreter(model_content=tfModel)
interpreter.allocate_tensors()
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
interpreter.set_tensor(input_details[0]['index'], x)
interpreter.invoke()
tfY = interpreter.get_tensor(output_details[0]['index'])
print(tfY)

isequal = np.allclose(kY, tfY, rtol=1e-4, atol=1e-4)
print(isequal)
```

### 3. Failure after conversion
If the conversion is successful, but the generated model is wrong, then state what is wrong:

- Model produces wrong results - in this case all 0s

5. (optional) Any other info / logs

Some general observations on when this wrong answer occurs (all of the following must be met):
- One of the kernel_size dimensions is 1 (1xN or Nx1)
- Stride is not 1
- Padding is same
Repository: deno
Issue: Support for the network domain for Deno's debugger
Labels: feat,debugger

This protocol ([the V8 inspector protocol](https://deno.land/manual@v1.36.4/basics/debugging_your_code)) is extensible and there is a version of it which includes the ability to intercept, record, and rewrite Fetch requests:

https://github.com/ChromeDevTools/devtools-protocol/blob/322248d8ad7c322817fd2557191454cc4a9b3a1e/json/browser_protocol.json#L22194

Over in the land of Node, there was a discussion of supporting this protocol, but it got closed because of staleness: https://github.com/nodejs/diagnostics/issues/75

It'd be pretty nice to be able to debug network traffic with the debugger, and it'd also make the experience of using Deno another step closer to that of other "web javascript" environments like Chrome!
Repository: deno
Issue: Permission to allow read-only access to environment variables
Labels: permissions,suggestion

Deno's `Command` interface provides a nice way to clear the environment variables exposed to a child process - `clearEnv`. But a child process can still write to the environment if given `--allow-env`. It'd be nice to have a middle ground in which a process can read environment variables (which would allow for much broader npm module compatibility) but not write them.

Could there be something like `--allow-env-read` to make this permission more fine-tuned?
Repository: pytorch
Issue: Inconsistent, platform-dependent torch.ones_like behavior on metatensors
Labels: triaged,module: meta tensors

### 🐛 Describe the bug

Calling `torch.ones_like` in Python and providing a metatensor results in a tensor with the correct shape but unpredictable values.

```
import torch
print(torch.__version__)
x = torch.empty(12, device="meta")
print(x)
t = torch.ones_like(x, device="cpu")
print(t)
```

On Google Colab:
```
2.0.1+cu118
tensor(..., device='meta', size=(12,))
tensor([ 2.4151e-38,  4.3132e-41, -4.6492e+36,  3.3216e-41,  1.5909e-38,
         4.3132e-41, -7.1350e+31,  4.3131e-41,  1.5046e-38,  4.3132e-41,
        -7.1691e+31,  4.3131e-41])
```

On OSX (Macbook M1 Pro):
```
2.0.1
tensor(..., device='meta', size=(12,))
tensor([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.])
```

And interestingly:
```
2.2.0a0+fb
tensor(..., device='meta', size=(12,))
tensor([1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.])
```

Not sure if this means this issue has already been fixed in OSS, but I figured it was worth raising regardless.



### Versions

PyTorch version: 2.0.1
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 13.5.1 (arm64)
GCC version: Could not collect
Clang version: 14.0.3 (clang-1403.0.22.14.1)
CMake version: Could not collect
Libc version: N/A

Python version: 3.9.6 (default, May  7 2023, 23:32:44)  [Clang 14.0.3 (clang-1403.0.22.14.1)] (64-bit runtime)
Python platform: macOS-13.5.1-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M1 Pro

Versions of relevant libraries:
[pip3] numpydoc==1.5.0
[pip3] torch==2.0.1
[conda] Could not collect

cc @ezyang @eellison @bdhirsh
Repository: youtube-dl
Issue: Whether https proxy `--proxy=https://user:pass@a.b.com` is not supported? [it isn't]
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [X] I'm asking a question
- [X] I've looked through the README and FAQ for similar questions
- [X] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

I've checked that https proxy with username authenticated can not work well, for example `https://user:pass@a.b.com` will output 'Connection reset by peer'.

<img width="564" alt="image" src="https://github.com/ytdl-org/youtube-dl/assets/9448115/6a7ac2fe-5471-4d69-b9e9-c8c50b485ee5">

for security, proxy address can not be provided here.

I'm using macOS to run this program.

Do I wrongly setup somewhere?
Repository: deno
Issue: Prevent `no-default-lib` removing Deno global?
Labels: suggestion,tsc

It is quite annoying to import something and it has a `/// <reference no-default-lib="true" />` directive as it will remove the `Deno` global. Perhaps we should look into if there's a way we could make the deno global always included even when this is specified.
Repository: flutter
Issue: Engine -> Framework autoroller attempting to roll to Engine commit that hasn't finished building
Labels: team-infra,P3,triaged-infra

https://github.com/flutter/flutter/pull/134304 is rolling up to 

2023-09-08 [rmolivares@renzo-olivares.dev](mailto:rmolivares@renzo-olivares.dev) [Web] Fix insertions/deletions at inverted selection for TextEditingDeltas (https://github.com/flutter/engine/pull/44693)

But that commit hasn't finished building yet.

<img width="379" alt="Screenshot 2023-09-08 at 8 56 10 AM" src="https://github.com/flutter/flutter/assets/6343103/3323a50e-a8e5-467d-aa90-f7885300f03f">
Repository: stable-diffusion-webui
Issue: [Feature Request]: Model Title & tags  added to JSON information
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 ?

In the JSON info file store:
 - Model title with ability to sort by title 
 - Model tags to have an ability to filter out the models. 
 - Model homepage URL (Updated)
Repository: PowerToys
Issue: Make window "Borderless" commonly used in games
Labels: Idea-New PowerToy

### Description of the new feature / enhancement

There is already a tool that makes windows `always on top` and I believe it doesn't take much to make a window borderless using the same principles.

### Scenario when this would be used?

I believe it will mainly be used for older games (like [Life is Feudal: Forest Village](https://store.steampowered.com/app/496460) or [VRoid Studio](https://store.steampowered.com/app/1486350)) that don't support borderless windowed mode.

### Supporting information

There are some tools like [Borderless Gaming](https://github.com/Codeusa/Borderless-Gaming) that does this. They start with Windows and have a customizable list of applications that, when detected, turn them into borderless windows.
Repository: godot
Issue: Global Shadowing warning is incorrect or absent in some situations
Labels: bug,topic:gdscript,confirmed

### Godot version

v4.1.stable.official [970459615]

### System information

Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1080 (NVIDIA; 30.0.15.1165) - Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 Threads)

### Issue description

this was first discussed in #34161 as I thought this was the issue here, but [This comment](https://github.com/godotengine/godot/issues/34161#issuecomment-1711869999) remarked that it was actually probably not the case.

`Orientation` is a global Enum, however when I attempt to access it by clicking on the values in `new()`, it points to my own class's Enum, and the Engine never warns me about it being already defined by the global scope.

This enum is also entirely inaccessible to me, unless I copy and paste one of its values such as `Orientation.HORIZONTAL`, the value itself will auto-complete, but the enum is not inspectable and doesn't link to the docs.
![266657409-ca9c76df-63b4-4356-885f-8b50d6bfe5d3](https://github.com/godotengine/godot/assets/30528331/9605b8a1-670c-43c2-b280-3afc2b58c2ff)


### Steps to reproduce

As seen in the screenshot above:
- Create an enum named `Orientation` in a script
- Create a class which takes this enum for a parameter in its `_init()`
- Attempt to call `YourClass.new( ... )` and pass it your parameter

### Minimal reproduction project

N/A
Repository: TypeScript
Issue: Add a recursion limit to improve stack overflow errors
Labels: Suggestion,Awaiting More Feedback

### 🔍 Search Terms

"recursion", "recursion limit", "stack overflow"

### ✅ Viability Checklist

- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change the runtime behavior of existing JavaScript code
- [X] This could be implemented without emitting different JS based on the types of the expressions
- [X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- [X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

### ⭐ Suggestion

It would be nice to have a recursion limit that allows a better error message in stack overflow errors [like these](https://developercommunity.visualstudio.com/t/Intellisense-gives-Error-processing-requ/10440137), and that could potentially include more context about the recursive function.

### 📃 Motivating Example

[This VS feedback item](https://developercommunity.visualstudio.com/t/Intellisense-gives-Error-processing-requ/10440137) that shows how the error surfaced to the user is quite overwhelming.

### 💻 Use Cases

1. What do you want to use this for? Debugging/fixing stack overflow errors.
2. What shortcomings exist with current approaches? The error lists/output panes in editors aren't great at displaying huge stacks like these.
Repository: go
Issue: runtime: flaky failures on NetBSD since CL 526118
Labels: help wanted,OS-NetBSD,NeedsInvestigation,compiler/runtime

```
#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
```

On the build dashboard, the NetBSD ports start to become very flaky since CL https://go.dev/cl/526118. The failures are usually related to tests that are specific to OS threads. So the CL could be related. Filing an issue to investigate.

cc @prattmic @golang/netbsd @golang/runtime
Repository: vscode
Issue: Keyboard Shortcuts page doesn't have horizontal scrollbar.
Labels: bug,help wanted,keybindings-editor

<!-- ⚠️⚠️ 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. -->

<table><tr>
	<th>Does this issue occur when all extensions are disabled?</th>
	<td>Yes</td>
</tr></table>

<!-- 🪓 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. -->

<table><tr>
	<th>VS Code Version</th>
	<td><a href='https://vscode.download.prss.microsoft.com/dbazure/download/stable/e170252f762678dec6ca2cc69aba1570769a5d39/code-1.88.1-1712771932.el8.x86_64.rpm'><code>code-insiders-1.89.0-1713248269.el8.src.rpm</code></a></td>
</tr><tr>
	<th>OS Version</th>
	<td><a href='https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso'><code>cpe:/o:fedoraproject:fedora:40</code></a></td>
</tr></table>

#### **Steps to Reproduce**

> ![Screenshot_20240418_003027](https://github.com/microsoft/vscode/assets/42837531/f04c9429-b0be-4faf-8345-4e8569049e41)
Repository: rust
Issue: Rust fails to build cross target libraries when building on M1 Mac
Labels: O-macos,O-x86_64,A-cross,T-bootstrap,C-bug,O-AArch64

I am trying to build Rust from source. Besides my host target `aarch64-apple-darwin` I also want to build support for another target. Let's say `x86_64-apple-darwin` (it doesn't really matter as it happens for all targets as far as I can tell).

When I do this it will always emit the following warning and just skip building those targets support (only host support is present then).

```
Building stage2 library artifacts (aarch64-apple-darwin -> x86_64-apple-darwin)
...
    Finished release [optimized] target(s) in 16.01s
Warning: no codegen-backends config matched the requested path to build a codegen backend. Help: add backend to codegen-backends in config.toml.
```

## My System

Mac Studio 2022
macOS: 13.5.2 (22G91)

## How to reproduce

This is my config. Apart from that I just checked out Rust and ran the build command:

```toml
profile = 'dist'
changelog-seen = 2

[llvm]

[build]

configure-args = []

target = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
]

[install]

[rust]

[dist]

```

```sh
git clone https://github.com/rust-lang/rust.git
# latest commit i can reproduce this for
git checkout 309af3442a1808888e3ceb2eacccbf4140eba1e0
git submodule update --recursive
cd rust
./x build
```
Repository: go
Issue: net: TestDialerControlContext/StreamDial timeout with runnable syscall.Syscall goroutine
Labels: OS-Linux,NeedsInvestigation,arch-mips,compiler/runtime

```
#!watchflakes
post <- pkg == "net" && test == "TestDialerControlContext" && `panic: test timed out` && log ~ `goroutine \d+ \[runnable\]:\nsyscall\.Syscall`
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/b94a74a4ad0da1307a7757441db5da7233fbe5a9)):

    panic: test timed out after 12m0s
    running tests:
    	TestDialerControlContext (11m59s)
    	TestDialerControlContext/StreamDial (11m59s)
    
    runtime.gopark(0x120361990, 0xc00005f248, 0xe, 0x17, 0x2)
    	/tmp/gobuilder-mips64le/go/src/runtime/proc.go:398 +0x140 fp=0xc0004225e8 sp=0xc0004225d0 pc=0x120052f70
    runtime.chanrecv(0xc00005f1f0, 0xc0004226cf, 0x1)
    	/tmp/gobuilder-mips64le/go/src/runtime/chan.go:583 +0x5a4 fp=0xc000422658 sp=0xc0004225e8 pc=0x120009514
    runtime.chanrecv1(0xc00005f1f0, 0xc0004226cf)
    	/tmp/gobuilder-mips64le/go/src/runtime/chan.go:442 +0x2c fp=0xc000422680 sp=0xc000422658 pc=0x120008f14
    testing.(*T).Run(0xc0002e0ea0, {0x12034a1e4, 0xa}, 0x120361590)
    	/tmp/gobuilder-mips64le/go/src/testing/testing.go:1649 +0x4f0 fp=0xc000422738 sp=0xc000422680 pc=0x120140630
    net.TestDialerControlContext(0xc0002e0ea0)
    	/tmp/gobuilder-mips64le/go/src/net/dial_test.go:1030 +0x68 fp=0xc000422768 sp=0xc000422738 pc=0x12021c2b8
    testing.tRunner(0xc0002e0ea0, 0x120360c00)


— [watchflakes](https://go.dev/wiki/Watchflakes)
Repository: pytorch
Issue: Inconsistent any( ) between cuda and cpu - Incorrect complex to bool conversion
Labels: triaged,module: complex,module: correctness (silent)

### 🐛 Describe the bug

Currently, casting to bool is not consistent with numpy or default python complex numbers. Although the c10::Complex bool operator does follow numpy, the copy kernel discards the imaginary part and is incorrectly evaluating to false positions where the imaginary part was not zero. A side effect of this, is inconsistent behaviour of the any( ) operator between cuda and cpu, due to cuda using static_cast to bool and cpu using the copy kernel before the operation. A possible straightforward solution is to specialize static_cast_with_inter_type in c10/util/TypeCast.h for complex to bool conversion to ensure that the cast is always correct. 

# code to reproduce the issue:
```
import torch
x = torch.full((3,3,3),0+1j)
print ( x.any(-1) )
print( x.cuda().any(-1))
```
![image](https://github.com/pytorch/pytorch/assets/93442086/72a0c153-000a-4344-b746-68976e9941be)


### Versions

cuda: 11.8 
python: 3.10
torch : 2.0.1+cu118

cc @ezyang @anjali411 @dylanbespalko @mruberry @Lezcano @nikitaved
Repository: flutter
Issue: [web] consider pre-allocating less linear wasm memory
Labels: engine,customer: mulligan (g3),platform-web,perf: memory,P2,team-web,triaged-web

Internal: b/300872675

The web engine does not customize wasm memory usage. Currently we inherit Emscripten's default 132MB. Prior to switching to `ImageDecoder` image memory was stored in the linear memory, but now it is decoded and stored either as `VideoFrame` or WebGL texture on the GPU. It should rarely reach the heap, unless you resize or encode images into the heap explicitly (and we can probably optimize that too). So 132MB maybe over-allocating too much.

Some internal Google customers have tight memory usage requirements. Perhaps we can evaluate if we can reduce the upfront cost. We may find that 64MB, or even 32MB, is enough as a starting memory size.
Repository: PowerToys
Issue: Keyboard manager cause advanced touchpad gesture in settings stop working
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Needs-Repro

### Microsoft PowerToys version

0.73.0

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

ctrl + win + arrow is used to switch virtual desktop, and setting advanced gesture enable using touchpad to switch desktop without animation.

when swapping alt and ctrl location in powertoys, this advanced gesture stop working. Only turning off the keyboard manager or turning off powertoys at the whole solves this issue.

### ✔️ Expected Behavior

powertoys and keyboard manager shouldn't stop the system setting from working normally.

### ❌ Actual Behavior

as the title suggests

### Other Software

no
Repository: godot
Issue: Static Instance Preload Scene read corruption
Labels: bug,topic:core,topic:gdscript

### Godot version

v4.1.1.stable.official [bd6af8e0e]

### System information

Godot v4.1.1.stable - macOS 13.5.1 - Vulkan (Compatibility) - AMD Radeon Pro 580X OpenGL Engine - Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 Threads)

### Issue description


https://github.com/godotengine/godot/assets/628713/20ee0edf-0c0a-425d-8ee3-295f0ab8ba91

`static var scene: PackedScene = preload("res://example.tscn")` in a script attached to a `Node` saved as `example.tscn`, when reloaded in Godot, makes the `example.tscn` file unable to be opened in Godot.

It **does** work when running your project however, and if that line is commented out in the script and the project reloaded, then the scene is editable again.

### Steps to reproduce

# Create the following files:

1. `example.gd`:
```
extends Node

static var scene: PackedScene = preload("res://example.tscn")
```

2. `example.tscn`: A scene with a `Node` root with the `example.gd` script attached.

# Reproduce the error
1. Click `Project -> Reload Current Project`
2. Open `example.tscn`
3. Observe error alert `Scene file 'example.tscn' appears to be invalid/corrupt.`
4. Observe console output:
```
scene/resources/resource_format_text.cpp:283 - res://example.tscn:6 - Parse Error: 
  Failed loading resource: res://example.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  scene/resources/packed_scene.cpp:92 - Condition "nc == 0" is true. Returning: nullptr
  editor/editor_data.cpp:880 - Index p_idx = 2 is out of bounds (edited_scene.size() = 2).
  editor/editor_data.cpp:683 - Index p_idx = 2 is out of bounds (edited_scene.size() = 2).
  editor/editor_data.cpp:745 - Index p_idx = 2 is out of bounds (edited_scene.size() = 2).
```

### Minimal reproduction project

[static_scene_bug_repro.zip](https://github.com/godotengine/godot/files/12562791/static_scene_bug_repro.zip)
Repository: pytorch
Issue: RuntimeError: Unrecognized tensor type ID: ZeroTensor
Labels: triaged,ZeroTensor

### 🐛 Describe the bug

I am using the nightly build for pytorch compatible with CUDA 12.1 and run into `message: RuntimeError: Unrecognized tensor type ID: ZeroTensor`. I use to build a python wheel that I then use in with pytorch==1.13.0. Is the issue due to change in pytorch versions?

I dont see any information corresponding to this error on the web.

### Versions

Using torch=2.0.1 with cuda12.1