sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: "Bad address index" error is printed when there is a cyclic reference in a script
Labels: bug,topic:gdscript,confirmed

### Godot version

v4.0.stable.official [92bee43ad]

### System information

macOS 13.2.1 (22D68), Intel Intel(R) Iris(TM) Plus Graphics - Supported, Integrated Vulkan API 1.2.231 - Forward+

### Issue description

Howdy 👋 

I came across a weird error that I've narrowed down to:
- Inherited scenes
- Inherited class
- Instantiation

When using a combination of those, I get:

![image](https://user-images.githubusercontent.com/2452791/222547592-c4a3dd23-9297-47b6-82cf-b75734da02ea.png)

### Steps to reproduce

This is a very reduced version of a project I work on, so don't expect it to "make sense".

Since the code is so short, here's:

```gdscript
# base.gd
extends Node2D
func _ready(): add_child(preload("res://blue.tscn").instantiate())

# red.gd
extends Node
class_name Red
var something = 1

# blue.gd
extends Red
class_name Blue
func _ready(): get_parent().add_child(preload("res://green.tscn").instantiate())

# green.gd
extends Blue
```

In the same fashion, `blue.tscn` is inherited from `red.tscn` and `green.tscn` is inherited from `blue.tscn`.

When this code runs, it fails on `var something = 1` with the error:

![image](https://user-images.githubusercontent.com/2452791/222547592-c4a3dd23-9297-47b6-82cf-b75734da02ea.png)

Maybe related to this? 
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L633

There are a few changes that prevent the code from failing:
- remove/comment `var something = 1`
- make `Red` and/or `Blue` and/or `Green` extends from `ColorRect`
- remove `green.gd` script from the `green.tscn` scene

### Minimal reproduction project

[Archive.zip](https://github.com/godotengine/godot/files/10875671/Archive.zip)
Repository: TypeScript
Issue: Suggest field names in function parameter without pressing ctrl+space (Sequelize)
Labels: Bug,Help Wanted,Domain: Completion Lists

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

Field name, property name, sequelize

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
This is reproducible from v4.0.5 to v4.9.5 (current latest). The suggestion did not work at all pre-v4 so I'm unable to test that.

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->

https://tsplay.dev/WP1Dzw

### 💻 Code

<!-- Please post the relevant code sample here as well-->

```ts
import { Model } from "sequelize";
declare let model: Model<{ foo: number; bar: string; baz: boolean }>;

model.update({
  // start typing "foo", "bar", or "baz" and observe
  // that suggestions do not appear.
  // If you press ctrl + space (before you start typing the field name),
  // the suggestions will be shown as expected
  
});
```
This is easier to reproduce on the [playground](https://tsplay.dev/WP1Dzw) since you can try it for yourself.

### 🙁 Actual behavior

<!-- What happened, and why it was wrong -->

When starting to type one of the field names, it won't show field suggestions, only word suggestions. However, pressing <kbd>Ctrl</kbd>+<kbd>Space</kbd> does show all of the suggestions.

https://user-images.githubusercontent.com/14863373/222564762-1f8f40a7-5f27-4a7a-a45a-d23fc414e67a.mp4

### 🙂 Expected behavior

<!-- What you expected to happen instead, and why -->

The field suggestions should show if I start typing without pressing <kbd>Ctrl</kbd>+<kbd>Space</kbd> beforehand. Commenting out [this overload](https://github.com/sequelize/sequelize/blob/d3f5b5a65e297f4b6861e6a6ce335a9830b28781/src/model.d.ts#L3171) in the Sequelize source fixes the issue.

This was originally posted on [StackOverflow](https://stackoverflow.com/q/75618514/6911703)
Repository: godot
Issue: Hex tilemap shows ysorting artifacts along edge of viewport at X = 0.0
Labels: topic:rendering,documentation,topic:2d

### Godot version

v4.0.stable.official [92bee43ad]

### System information

Macbook Air M2

### Issue description

At x = 0.0, hex-grid tile maps show ysorting artifacts.

![hexysortbug](https://user-images.githubusercontent.com/8674767/222564422-6ed3bbc6-6562-4084-99c9-02a854d3da18.png)


### Steps to reproduce

- Make a tilemap with hexagon shape.
- Add a tileset with one or more tiles having textures slightly larger than the tiles, to facilitate ysorting. (eg: isometric hex tiles with some thickness.)
- In the scene, fill in the tiles past the extents of the viewport
- observe their behaviour along the x-axis, where x = 0.0.


### Minimal reproduction project

[HexMapYSortArtifactsArchive.zip](https://github.com/godotengine/godot/files/10876100/HexMapYSortArtifactsArchive.zip)
Repository: pytorch
Issue: autograd.functional.jacobian : tensor instead of function as input for reverse mode?
Labels: feature,module: autograd,triaged,needs research,has workaround

### 🚀 The feature, motivation and pitch

For reverse-mode, would it be possible to make an overload that takes a tensor as input instead of function. This will simplify the coding quite a bit, when you are continuing the graph after the jacobian calculation.

Especially when you are going to take the jacobian of a jacobian etc.
```
y= torch.mv(A,x)
jac1 = torch.autograd.functional.jacobian(y, x, create_graph=True)
z = somefunction(y,jac1)
jac2 = torch.autograd.functional.jacobian(z ,x, create_graph=False)

a = anotherfunction(z,jac2,y,jac1)
``` 
Instead of :
```
def yf(x):
    return torch.mv(A,x)

def fun1(x):    
  jac = torch.autograd.functional.jacobian(yf,x,create_graph=True) 
  return jac

def fun2(x):
    y=yf(x)
    jac1=fun1(x)
    z=somefunction(y,jac1)
    return z
jac2 = torch.autograd.functional.jacobian(fun2,x,create_graph=False) 
z=fun2(x)
jac1 = fun1(x)
y=yf(x)
a = anotherfunction(z,fac2,y,jac1)
```

### Alternatives

_No response_

### Additional context

_No response_

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @Lezcano @Varal7
Repository: stable-diffusion-webui
Issue: [Feature Request]: detect no effect prompt
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 ?

detect no effect prompt

- not yet installed lora, Textual Inversion, ...etc

```
<lora:2bNierAutomataLora_v2b:1>
```

when it is not installed, warn it, and strip it from prompt write on image meta and text file

- unknown keywords 


### Proposed workflow

1. Go to .... 
2. Press ....
3. ...


### Additional information

_No response_
Repository: electron
Issue: [Feature Request]: expose PWA-related events
Labels: enhancement :sparkles:

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

It appears the `beforeinstallprompt` event is present in a BrowserWindow's DOM environment, but the event is never fired by the browser despite the external website being a valid PWA target. I suspect this is because Electron doesn't currently have the plumbing to enable the installation of PWAs from an Electron app to act as the execution environment for the installed PWA, as Chromium would typically enable.

### Proposed Solution

I am wondering if 1) you would know of any way to trigger the right Chromium/internal methods to emit this event into frames and trigger the PWA install process within Electron, or 2) be amenable to our organization (Block Inc., fka Square) committing the dev resources to making this possible for Electron. We recently hired an engineer from Apple's Safari team who did lower level browser code/dev, so we could make a run at it if the maintainers here would accept a PR.

### Alternatives Considered

Can't really do this without making the required Chromium APIs/features available to the Electron environment, so we're out of options.

### Additional Information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: Checkpoint f222.ckpt [44bf0551] not found; loading fallback deliberate_v2.safetensors [9aba26abdf] Loading weights [9aba26abdf] from C:\stable\models\Stable-diffusion\deliberate_v2.safetensors
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?

i just downloaded stable diffusion but afte openin this problem is hhappening, i tryed to reload it a couple of times, tryed to downolad in ckpt format and another models in exception of deliberate but i still cant use that (the problem will me with my laptop cuz in my pc everything is fine), ive rtx2060 in laptop

### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...
just open webui user 

### What should have happened?

it have to work )) 

### Commit where the problem happens

0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8

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

Windows

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

Microsoft Edge

### Command Line Arguments

```Shell
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
 * branch            master     -> FETCH_HEAD
Already up to date.
venv "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: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Launching Web UI with arguments: --xformers --autolaunch
Checkpoint f222.ckpt [44bf0551] not found; loading fallback deliberate_v2.safetensors [9aba26abdf]
Loading weights [9aba26abdf] from C:\stable\models\Stable-diffusion\deliberate_v2.safetensors
Press any key to continue . . .
```


### List of extensions

no

### Console logs

```Shell
From https://github.com/AUTOMATIC1111/stable-diffusion-webui
 * branch            master     -> FETCH_HEAD
Already up to date.
venv "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: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI
Launching Web UI with arguments: --xformers --autolaunch
Checkpoint f222.ckpt [44bf0551] not found; loading fallback deliberate_v2.safetensors [9aba26abdf]
Loading weights [9aba26abdf] from C:\stable\models\Stable-diffusion\deliberate_v2.safetensors
Press any key to continue . . .
```


### Additional information

_No response_
Repository: go
Issue: x/crypto/ssh: clarify CertChecker.CheckCert usage
Labels: NeedsFix

`CertChecker.CheckCert` has a slightly confusing API, as it appears on the surface as the primary method on the type, but it doesn't actually authenticate the certificate at all, rather it validates the contents and should generally be called _after_ `CertChecker.Authenticate`. In particular the doc comment refers to checking "the signature of the certificate" is perhaps somewhat misleading, since this simply checks that the self-signature on the certificate is valid (both signature and key are attacker controlled, so don't actually impart any trust).

At the minimum we should update the doc comment to be clearer about what it actually does, and that it succeeding does not infer any trust.

cc @FiloSottile
Repository: TypeScript
Issue: Type narrowing fails to account for multiple conditions
Labels: Suggestion,Awaiting More Feedback

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

type narrowing

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

### ⏯ Playground Link

https://tsplay.dev/mAJ91W

### 💻 Code

```
function isNaN(x: unknown): x is number {
	return x !== x;
}
function SameValue(x: unknown, y: unknown): x is typeof y {
	if (x === y) { // 0 === -0, but they are not identical.
		if (x === 0) { return 1 / x === 1 / y; }
		return true;
	}
	return isNaN(x) && isNaN(y);
};
```

### 🙁 Actual behavior

The `y` in `1 / y` has a type error.

### 🙂 Expected behavior

Since this is inside a block where `x === y`, and also where `x === 0`, TS should be able to statically know that `x` and `y` are of type `number` (since both of them is definitively a zero, either `+0` or `-0`). I shouldn't need the `y === 0` check just to please TS.
Repository: vscode
Issue: Allow VS Code extensions to trigger audio cues
Labels: feature-request,accessibility,accessibility-signal

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

👋

Feature request: I'm creating a VS Code extension, and I wish I could trigger audio cues!

These audio cues could be the ones that already exist.

It'd also be amazing if I could trigger custom audio cues (eg, a 440 Hertz tone for 150 milliseconds).

This would be particularly helpful for me when my VS Code extension fails early out of a command (eg, maybe there are no results to show for my custom search command) and an audio cue gets triggered so that I'm not relying only on hard to see visual cues.
Repository: vscode
Issue: add animation frame delay in search
Labels: search,polish,perf

use `dom.runAtThisOrScheduleAtNextAnimationFrame` to improve performance
Repository: PowerToys
Issue: ASCII table popup
Labels: Needs-Triage

### Description of the new feature / enhancement

Along the lines of Shortcut Guide, it would be really nice if there was a Power Toy that "popped-up" an Alt code table.

### Scenario when this would be used?

Every day when looking up and entering Alt-codes for ASCII characters.

### Supporting information

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: text2img stuck at 5% after a few successful runs
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?

I was able to run text2img successfully around 4 times, then the progress stuck at 5%.  No image would be generated.

I was running it on Ubuntu 22.04, nvidia rtx 3080 TI. Driver is 525-server.

### Steps to reproduce the problem

1. Input text2img promote
2. Run a couple of times successfully.
3. At around 5th round, it got stuck at 5%

### What should have happened?

It should generate images successfully always.

### Commit where the problem happens

0cc0ee1

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

Linux

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

Mozilla Firefox

### Command Line Arguments

```Shell
No.
```


### List of extensions

No.

### Console logs

```Shell
No error log.

Just progress stuck at 5%
```


### Additional information

_No response_
Repository: godot
Issue: `servers/rendering/renderer_canvas_cull.cpp:1456 - Condition "pointcount < 3" is true.` but no empty polygons are on scene.
Labels: bug,topic:rendering,topic:2d

### Godot version

4.0stabe

### System information

Windows 10, Vulcan, Intel HD graphics 620

### Issue description

Godot spam
servers/rendering/renderer_canvas_cull.cpp:1456 - Condition "pointcount < 3" is true.
in scenes where is similar to minimum project polys.

### Steps to reproduce

I'm not sure, but looks like need to attach two weighted bones to one poly.

### Minimal reproduction project

[T2.zip](https://github.com/godotengine/godot/files/10877431/T2.zip)
Repository: pytorch
Issue: arange bug
Labels: module: numerical-stability,triaged

### 🐛 Describe the bug

arange bug.

### Versions

![image](https://user-images.githubusercontent.com/55293711/222613044-01716100-9532-459e-b460-12917f0af4e3.png)
Repository: next.js
Issue: Components not tree shaken properly
Labels: bug,SWC

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
Platform: linux
Arch: x64
Version: ~20.04.1-Ubuntu SMP Fri Mar 03 02:00:12 UTC 2023

Binaries:
Node: 18.14.2
npm: 9.1.3
Yarn: 1.22.19
pnpm: N/A

Relevant packages:
next: 13.2.3
eslint-config-next: 13.2.3
react: 18.2.0
react-dom: 18.2.0
```


### Which area(s) of Next.js are affected? (leave empty if unsure)

SWC minifier (swcMinify: true), SWC transpilation

### Link to the code that reproduces this issue

https://github.com/VladimirMikulic/next-tree-shaking

### To Reproduce

1. Clone the repo from the link above
2. Install dependencies (`yarn install`)
3. Build and analyze bundle (`yarn analyze`)

### Describe the Bug

I provided very minimal repository to help illustrate the issue. (derived from Next.js application at my company)

You'll find 2 React components in /components/common/input.tsx:

Input (React component wrapper around HTML's input, 0 additional JS)
Select (custom UI HTML-like select component which makes use of Listbox from @headlessui/react)
There are two pages:

index (uses only Input component)
about (uses only Select component)
After bundling the application, Listbox component from @headlessui/react package is included on both pages.
However, index page uses only Input component so I would expect Select/Listbox to be tree shaken.

In this case, this increases the bundle of index by 6kb gzipped, but at my company we had 30kb player included on several pages although only some icons were imported from it. (not the default export)

![Screenshot_20220630_011220](https://user-images.githubusercontent.com/35997844/176561065-395f783a-3c25-496d-b1f2-52fe4e0a9686.png)

### Expected Behavior

I would expect Select/Listbox to be tree shaken on index page since it only uses Input.

### Which browser are you using? (if relevant)

_No response_

### How are you deploying your application? (if relevant)

_No response_
Repository: godot
Issue: When multiple instances are run and multiple logs are enabled, the old logs will be cleared.
Labels: bug,topic:editor

### Godot version

4.0.stable

### System information

Windows 10

### Issue description

When multiple instances are run and multiple logs are enabled, the old logs will be cleared.

### Steps to reproduce

1.Enabling multiple logs.
![1](https://user-images.githubusercontent.com/6943500/222632779-1b567fd6-d6e8-4354-8333-2e0b7df3a4b8.png)

2.Set up to run two instances.
![2](https://user-images.githubusercontent.com/6943500/222632902-a3f3b44a-41f5-449f-b602-08ca68b2a68a.png)

3.These old logs were emptied.
![3](https://user-images.githubusercontent.com/6943500/222633002-6d825d72-760a-4556-9e61-f5817fd51634.png)


### Minimal reproduction project

[aaa.zip](https://github.com/godotengine/godot/files/10878252/aaa.zip)
Repository: storybook
Issue: [Bug]: Source is not formatted for `web-components`
Labels: bug,help wanted,addon: docs,lit,sev:S3

### Describe the bug

<img width="581" alt="image" src="https://user-images.githubusercontent.com/132554/222640235-ea227f3a-4400-4ea2-aef9-7829112940b3.png">



### To Reproduce

1. `yarn task --task dev --template lit-vite/default-ts`
2. head to http://localhost:6006/?path=/docs/example-button--docs

Or even check the latest `next` build: https://next--638db5bf49adfdfe8cf545e0.chromatic.com/?path=/docs/example-button--docs

### System

_No response_

### Additional context

_No response_
Repository: pytorch
Issue: CPU time performance is unstable
Labels: module: performance,module: cpu,triaged

### 🐛 Describe the bug

I retrain the mobilenetV3 with my own data. The accuracy is the same under cpu or gpu. But the time performance has a huge difference. 
For GPU: the costing time is pretty similar under different epoch. It only takes 15ms to inference single image.

But for CPU, epoch 1 takes over 40ms to inference single image. epoch 2 takes over 20ms and epoch 3 takes over 110ms. And everytime i train the model. Inference time is always different. 

I also use other framework to test whether this problem comes from cpu. But the tensorflow is pretty stable and it costs 25ms to inference.

My cpu is i5-7500 and torch version is 2.0.0.dev. I tried losts of version of torch(1.10.0, 1.12.1,even 1.5) .The problems still happen. Does anyone know what happened and how to fix this problem?

### Versions

My cpu is i5-7500 and torch version is 2.0.0.dev. I tried losts of version of torch(1.10.0, 1.12.1,even 1.5) .The problems still happen. Does anyone know what happened and how to fix this problem?

cc @ngimel @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10