sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: The representation of a variable introspected in the Debug Console can be clipped on VSCode.
Labels: bug,debug,debug-console

Type: <b>Bug</b>

Please look at the picture:

![image](https://user-images.githubusercontent.com/67708897/194274965-607aeb22-273c-48de-a01f-e4b4f9cd4aaf.png)

In case you need it:

```
df = pd.DataFrame(
    [
        ['A', 'short text', 1],
        ['A', '1 very 2 very 3 very 4 very 5 very 6 very 7 very 8 very 9 very 10 very text', 2],
        ['A', 'not so long text', 3],
    ], columns=['first', 'description', 'last']
)
df
  first                                        description  last
0     A                                         short text     1
1     A  1 very 2 very 3 very 4 very 5 very 6 very 7 ve...     2
2     A                                   not so long text     3
len(df)
3
df.iloc[-1]
first                         A
description    not so long text
last                          3
Name: 2, dtype: object
pd.options.display.max_colwidth = None
df
  first                                        description  last
0     A                                         short text     1
1     A  1 very 2 very 3 very 4 very 5 very 6 very 7 ve...     2
2     A                                   not so long text     3
df['not existing column']
Traceback (most recent call last):
  File "/home/vagrant/miniconda3/envs/42-proposal-create-a-new-use-case-for-power-savings/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3621, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'not existing column'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/vagrant/miniconda3/envs/42-proposal-create-a-new-use-case-for-power-savings/lib/python3.8/site-packages/pandas/core/frame.py", line 3505, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/home/vagrant/miniconda3/envs/42-proposal-create-a-new-use-case-for-power-savings/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3623, in get_loc
    raise KeyError(key) from err
KeyError: 'not existing column'
```

Extension version: 2022.14.0
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No
Remote OS version: Linux x64 3.10.0-1127.el7.x86_64


<!-- generated by issue reporter -->
Repository: stable-diffusion-webui
Issue: "RuntimeError: Couldn't determine Stable Diffusion's hash" when installing
Labels: asking-for-help-with-local-system-issues

Getting stuck at this when trying to setup everything with webui-user.bat.
Any idea what's potentially causing it?

```venv "D:\GitHub Desktop Files\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: <none>
Traceback (most recent call last):
  File "D:\GitHub Desktop Files\stable-diffusion-webui\launch.py", line 130, in <module>
    git_clone("https://github.com/CompVis/stable-diffusion.git", repo_dir('stable-diffusion'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "D:\GitHub Desktop Files\stable-diffusion-webui\launch.py", line 93, in git_clone
    current_hash = run(f'"{git}" -C {dir} rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "D:\GitHub Desktop Files\stable-diffusion-webui\launch.py", line 55, in run
    raise RuntimeError(message)
RuntimeError: Couldn't determine Stable Diffusion's hash: 69ae4b35e0a0f6ee1af8bb9a5d0016ccb27e36dc.
Command: "git" -C repositories\stable-diffusion rev-parse HEAD
Error code: 1
stdout: 69ae4b35e0a0f6ee1af8bb9a5d0016ccb27e36dc

stderr: ϵͳҲָ·
```
Repository: pytorch
Issue: FSDP support to load DDP optim checkpoints
Labels: oncall: distributed,triaged,better-engineering,module: fsdp

### 🚀 The feature, motivation and pitch

FSDP optimizer checkpoint loading expects params to be keyed by FQN, but DDP saves checkpoints with param IDs.

FSDP does provide `rekey_optim_state_dict` to change the key type appropriately, but user has to manually call this code when attempting to load in a checkpoint. This makes integration with higher level trainer libs a bit more challenging. 

Propose for FSDP to just inspect the state_dict and rekey appropriately if needed. 

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang @kwen2501
Repository: vscode
Issue: Improve alignment of text and icons in status bar
Labels: help wanted,feature-request,polish,good first issue,workbench-status,keep

<img width="1023" alt="image" src="https://user-images.githubusercontent.com/25163139/194638274-2e0a1650-37db-4a9a-9f39-fc9c5281922f.png">
Repository: go
Issue: x/vulndb: govulncheck surfaces function calls with trusted input (e.g., GO-2022-1039)
Labels: NeedsDecision,UX,vulncheck or vulndb

### Report ID

GO-2022-1039

### Suggestion/Comment

The content of the warning is:

> calls regexp.MustCompile, which eventually calls regexp/syntax.Parse

My code does indeed call `MustCompile`, but all of the non-test call sites pass in a literal string to the regex. As such, the call is trusted. If I undestand this vulnerability report correctly, it effectively means we can't ever use regexes and get a clean bill of health from `govulncheck`.

```go
package main

import (
	"fmt"
	"regexp"
)

var re = regexp.MustCompile("trusted")

func main() {
	fmt.Println(re.String())
}
```
Repository: pytorch
Issue: Automatic broadcasting for batch addition for sparse tensors
Labels: module: sparse,triaged,enhancement

### 🚀 The feature, motivation and pitch

```python
import torch
#torch.utils.backcompat.broadcast_warning.enabled=True
m1 = torch.ones(3,4)
m2 = torch.ones(4)
torch.add(m1, m2)
print("This is working.")


m1 = torch.rand((6,10),
                out=None, dtype=None, layout=torch.strided, device=None, requires_grad=False)
m1 = m1.to_sparse()

m2 = torch.rand((1,10),
                out=None, dtype=None, layout=torch.strided, device=None, requires_grad=False)
m2 = m2.to_sparse()
print("This will not work")
torch.add(m1,m2)
#m1 + m2
```

It would be great to have the same dimension broadcasting for sparse tensor as we have for dense tensors.

### Alternatives

_No response_

### Additional context

_No response_

cc @nikitaved @pearu @cpuhrsch @amjames @bhosmer
Repository: vscode
Issue: Notification split button uses mixed border radius rules
Labels: bug,polish,workbench-notifications

<img width="438" alt="image" src="https://user-images.githubusercontent.com/25163139/194653691-663a5aec-4054-4c40-8ad0-eef4f335380c.png">
Repository: youtube-dl
Issue: Support Simon Fraser University Streams
Labels: site-support-request

- [x] I'm reporting a new site support request
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones

## Example URLs
- Single video: https://stream.sfu.ca/Media/Play/4b81988fd2224558920bec311b96a8e01d

## Description

Hello, I would like youtube-dl to support the Simon Fraser University streaming service.  It is used for recorded seminars and other events.
Repository: godot
Issue: Editor freezes when accessing a property of an element of an array within an assignment of that array
Labels: bug,topic:gdscript

### Godot version

3.5.1

### System information

Windows 10, Debian, Manjaro

### Issue description

The editor (and external editor, if using one) freezes when you type a `.` that would be accessing a property of an element of an array within an assignment to that array. This only occurs if the array assignment is split into multiple lines.

### Steps to reproduce

Create a gdscript file, and put this into it:
```
var A = []
func _init():
	A = [
		A[0]
	]
```

Add a `.` to the end of line 4

Note that changing the assignment to ```A = [ A[0]. ]``` (all on one line) prevents the problem from occurring.

Minimal reproduction project node: Project does not include the `.` at the end of line 4, as opening the editor with it already there does not cause the issue. Just add the `.` to cause it.

### Minimal reproduction project

[Minimal-reproduction.zip](https://github.com/godotengine/godot/files/9737705/Minimal-reproduction.zip)
Repository: stable-diffusion-webui
Issue: Store Individual seed's for images in the batch when highres.fix enabled.
Labels: enhancement

When highres.fix enabled I can't get individual seeds for each generated image in txt file. Because of that - I can't run image with my choise for variation generation. Also different images from that batch has the same seed number in txt/name and grid_name/grid_txt
Used pipeline when **highres.fix off** : 
1) your prompt
2) generate batch 2x3
3) pick image (N) 
4) copy seed (x) of image (N) from txt output file - embed seed (x) of image (N) in the main seed field 
5) use **extra** and run picked main seed  (x) for slightly different results for image (N)

Is't possible to get seed's when HR fix is on?
Repository: tauri
Issue: navigator.mediaDevices is undefined 
Labels: type: bug,status: upstream,platform: Linux

### Describe the bug

I want to access camera / other media devices , but navigator.mediaDevices is no longer working on build ( I said no longer because it used to work normally in the past ) 

### Reproduction

_No response_

### Expected behavior

_No response_

### Platform and versions

Environment
  › OS: Ubuntu 22.04 X64
  › Node.js: 16.17.1
  › npm: 8.19.1
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.63.0
  › cargo: 1.63.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu 

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: 1.1.0
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:3000/
  › framework: React

### Stack trace

_No response_

### Additional context

_No response_
Repository: svelte
Issue: Issue with spring, setting a hard value then immediately setting a regular transition
Labels: runtime

### Describe the bug

I'm using a spring to scroll a particular line of a song into view. If they scroll more than 1000px it's a little slow, so I jump it ahead 90% of the way immediately and let the last 10% animate. I made a similar repro case animating a red box.

The issue is, intermittently, the "non-hard" setting doesn't animate. See the repro below.

### Reproduction

https://svelte.dev/repl/74f1dbcfe96e4a7b8408ab9e8c0abdd3?version=3.50.1

If you move the box less than half way across its range, it just animates normally. If you're moving more than 50, it'll jump it immediately to 90% of the destination value. This works some of the time but not all of the time. Sometimes it snaps and freezes without animating that last 10%. Try clicking between 10 and 90 and 10 and 90, you'll see what I mean.

### Logs

_No response_

### System Info

```shell
System:
    OS: macOS 12.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 2.02 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - /opt/brew/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 106.0.5249.103
    Firefox: 99.0.1
    Safari: 16.0
    Safari Technology Preview: 16.4
  npmPackages:
    svelte: ^3.44.0 => 3.48.0
```


### Severity

annoyance
Repository: PowerToys
Issue: UI improvement: history dropdown interference
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

Pretty much every time I use PowerToys Rename, I find myself annoyed by the history dropdown getting in the way, especially for the search box. Part of this is because it doesn't shrink as the matching history items do (in fact, it doesn't even filter at all, so it's borderline useless), so it stays the full size no matter how many matches there are, even if there aren't any. Then, in order to access the other options, since it covers all but the text formatting buttons, I have to either tab or click out of it. While this isn't exactly a big deal, it's a minor annoyance that adds up every time I use it, and it just makes it feel clunky and cumbersome to use.

I would suggest a couple improvements to deal with this. First, fix the history so it actually filters to show matching items only, and adjust the size of the dropdown accordingly. Second, either space things out better so the dropdown doesn't cover the stuff under it, at least by the time it's hopefully narrowed down so it's only showing one or two items, or, probably even better, shift the items under it down so they're always visible below it, and shift them up as it shrinks, so they're always visible.

### Scenario when this would be used?

Always.

### Supporting information

_No response_
Repository: go
Issue: net/http: fill Request.TLS field if underlying conn implements ConnectionState like net/http2
Labels: NeedsInvestigation

<!--
Please answer these questions before submitting your issue. Thanks!
-->

### What version of Go are you using (`go version`)?

<pre>
$ go version
go version go1.19 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

</pre></details>

### What did you do?

<!--
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on go.dev/play is best.
-->
Using a custom net.Listener to do traffic multiplexing on the same port.
[6ccd66](https://github.com/golang/net/commit/6ccd6698c634f5d835c40c1c31848729e0cecda1) added tls state field for http2 handler, but currently there is no such thing done for stdlib automatically.

Right now in [caddy](https://github.com/caddyserver/caddy), I'm using ConnContext to associate net.Conn with context and set it myself in http [handler](https://github.com/caddyserver/caddy/pull/4929/files#diff-32d1dcea7a0e7d9c8e14fd12a9600ee96591e724bf01107642145296b35d10a7R171), but I'm hoping stdlib will do it automatically.

### What did you expect to see?
http.Request.TLS field is automatically set.


### What did you see instead?
http.Request.TLS field is not automatically set.
Repository: PowerToys
Issue: PowertoysRun Typing Suggestion Enhancement
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

This PowertoysRun feature would allow typing suggestions to be retained even as more keys are pressed and again in the case of any typos that may occur.

### Scenario when this would be used?

I'm trying to launch an installed program, and I type the name of the program incorrectly with an extra character within the text box, and PowertoysRun would still retain the suggestions given prior to the typo (or extra character).

### Supporting information

![PowerToys PowerLauncher_3PXkbFo6Fl](https://user-images.githubusercontent.com/78584062/194683128-42c86202-69e7-4cec-8d12-74c2fe63d6cb.png)

Suggestions disappear
![PowerToys PowerLauncher_KfaLEq5W6N](https://user-images.githubusercontent.com/78584062/194683129-d2e46c7e-b238-4fe7-bc01-014fc62ad391.png)

Suggestions currently allow abbreviations/shortened terms
![PowerToys PowerLauncher_TFJAxwxTka](https://user-images.githubusercontent.com/78584062/194683210-7c6bcb59-7423-4a3a-b9fe-ed46e3f277eb.png)


![PowerToys PowerLauncher_qepeECIB2H](https://user-images.githubusercontent.com/78584062/194683311-de23c6f4-dd7a-4748-8237-50fb05b471a7.png)


Ideally suggestions would appear here after multiple character combinations in this sentence would promote a suggestion (yo, ube), just not altogether here (yoyube)
![PowerToys PowerLauncher_FW0hSt8mtD](https://user-images.githubusercontent.com/78584062/194683528-c4bf42ae-4546-4af0-ac4b-03ac1ef65804.png)

The only way to successfully launch this program is to CTRL-Backspace and start over,
Repository: neovim
Issue: Allow ruler with cmdheight=0
Labels: enhancement,ui

### Feature already in Vim?

No

### Feature description

Same as title, I imagine there will be several complications but might as well ask.
Repository: flutter
Issue: Add StreamListenable to the Flutter SDK. 
Labels: c: new feature,framework,dependency: dart,would be a good package,c: proposal,P3,team-framework,triaged-framework

## Use case

`GoRouter.refreshListenable` needs a `Listenable` and as mentioned [here](https://github.com/flutter/flutter/issues/108128) a `StreamListenable` will be implemented in the upcoming release. 

> I think we should probably add it to the Flutter SDK itself.
Repository: vscode
Issue: New "initialSize" does not allow to fit the content
Labels: feature-request,tree-views


Type: <b>Bug</b>

Issue #122283 had the request to be able to automatically adjust the height of a view to the content. In the proposal there was also the value "fit" that could have been passed. In the final implementation, however, you can only pass a variable of type number, which no longer solves the actual problem of the issue creator.
Is there a reason for this? Could this still be reimplemented?

VS Code version: Code 1.72.0 (64bbfbf67ada9953918d72e1df2f4d8e537d340e, 2022-10-04T23:20:39.912Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No


<!-- generated by issue reporter -->
Repository: TypeScript
Issue: Carry over source constraints to the inferred type parameter
Labels: Suggestion,Experimentation Needed

# Suggestion

## 🔍 Search Terms

infer, constraints, generic, extends

## ✅ Viability Checklist

My suggestion meets these guidelines:

* [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 [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

It would be nice if the `infer T` wouldn't lose the source constraint. I've always wondered why this is lost and couldn't find any explanation behind this in the issues etc. @DanielRosenwasser has suggested [here](https://github.com/microsoft/TypeScript/issues/51090#issuecomment-1272121484) that it might be worth opening an issue about this.

Note that since 4.7 it is possible to add [extends Constraints on infer Type Variables](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#extends-constraints-on-infer-type-variables) - the feature request here is different because the constraint is known upfront. Such `extends` would still be useful with the proposed feature because it can be used to limit the number of conditional types both when the source constraint is completely unbound/unknown or when you simply want to match a subtype of the source constraint.

## 📃 Motivating Example

I've bumped into this on several occasions, even such a simple doesn't compile right now:
```ts
type Prefix<Prefix extends string, Input extends string> = `${Prefix}${Input}`;

type Test<T extends string[]> = T extends [infer Head, ...any[]]
  ? Prefix<"foo", Head> // Type 'Head' does not satisfy the constraint 'string'.(2344) This type parameter might need an `extends string` constraint.
  : never;

```

## 💻 Use Cases

It would allow us to skip a lot of error-prone repetition when working with the infer keyword.
Repository: PowerToys
Issue: [Feature Request] An on-screen guide showing the user what has changed since the last version that was installed on the user PC!
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

I just installed v0.63.0 previously I was on Release v0.59.0 & I saw the changelog & since then so much has changed. but to experience that change I will have to move setting by setting to see what has changed or got added. which takes so much of my time. it would be brilliant if you guys could detect what version I was on previously and then show me what has changed since then. like taking a lil' walkthrough to it!
0.59.0 ➡ 0.63.0
all the significant features. and where they are located in the settings. I'm thinking of a quick demo that opens right after installing the new version. like a quick walkthrough or just some indicators.
it should visually show or Indicate which settings have been changed and what additional power toys have been added
kinda like this 

![xPzOVMjKYD](https://user-images.githubusercontent.com/15848350/194701463-e180e448-ac18-49a9-aede-98c46ddf6749.png)

or like this an interactive walkthrough
![INTERACTIVEWALKTHROUGH-GIF](https://user-images.githubusercontent.com/15848350/194720932-b2fa392c-52a0-40c3-b0dc-86c6a10f69a9.gif)


### Scenario when this would be used?

every time user installs a new version!

### Supporting information

_No response_
Repository: rust
Issue: Tracking Issue for MIR-only generator witness
Labels: C-tracking-issue

This is a tracking issue for the unstable option `-Zdrop-tracking-mir`.
This option changes how generator interior types are computed, to get the types from MIR instead of computing them on the HIR.

### About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

### Steps
<!--
Include each step required to complete the feature. Typically this is a PR
implementing a feature, followed by a PR that stabilises the feature. However
for larger features an implementation could be broken up into multiple PRs.
-->

- [ ] Implement
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])

[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs

### Unresolved Questions
<!--
Include any open questions that need to be answered before the feature can be
stabilised.
-->

- [ ] the implementation currently marks all generator as requiring `Drop` to avoid query cycles;
- [ ] the implementation currently filters out "internal" locals for no good reason;
- [ ] we lose drop and use site information for diagnostics.

### Implementation history

<!--
Include a list of all the PRs that were involved in implementing the feature.
-->

Initial implementation: #101692