sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Backport 4.0 GodotPhysics fixes for 3.6 
Labels: enhancement,topic:physics

### Godot version

4.0 beta 14

### System information

Windows 10

### Issue description

Recent updates to 4.0 such as https://github.com/godotengine/godot/pull/71447 and https://github.com/godotengine/godot/pull/70660 would be beneficial to projects close to completion in 3.x, but not using Bullet Physics (Gridmaps, for instance, have collision issues in 3.5 when using bullet that doesn't happen with GodotPhysics). I'm reopening this here as I previously incorrectly opened it as a proposal: https://github.com/godotengine/godot-proposals/issues/6158

### Steps to reproduce

Most of the bugs are listed here: https://github.com/godotengine/godot/issues/45333#issuecomment-1361786077

### Minimal reproduction project

N/A
Repository: flutter
Issue: Semantics with textField true does not send onTap events
Labels: framework,a: accessibility,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-framework,triaged-framework

Custom text fields with the `Semantics` widget with the `textField` property set to `true` do not call the callback function determined in `onTap` when using VoiceOver, Voice Access, and Voice Control. Imagine the below scenario when you want to display the on screen keyboard. It all works fine when using `Semantics` with `button: true` but not the `textField`. This is odd as `TextFormField` and `TextField` widgets seem to work `onTap` with the above assistive tech, as in, they display the on screen keyboard.

Tested on Android (v12) using Voice Access and iOS 15.7.2.

`Flutter doctor` output:
```
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.6.2 21G320 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.74.3)
[✓] VS Code (version 1.74.2)
[✓] Connected device (5 available)
```

<details>
<summary>Code sample</summary>

```
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late FocusNode focusNode;

  @override
  void initState() {
    super.initState();
    focusNode = FocusNode();
  }

  @override
  void dispose() {
    focusNode.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          TextField(
            focusNode: focusNode,
          ),
          Semantics(
            textField: true,
            child: Text('Keyboard'),
            onTap: () {
              focusNode.requestFocus();
            },
          ),
          ElevatedButton(
            onPressed: () {
              focusNode.requestFocus();
            },
            child: Text("Keyboard"),
          )
        ],
      ),
    );
  }
}
```

</details>
Repository: neovim
Issue: :terminal does not initially autoscroll unless "G" is typed
Labels: enhancement,ux,terminal

### Describe the bug

The Neovim terminal does not show all the output of the first command that's entered into it when the terminal isn't the currently active window, it only fills the current window to its bottom without scrolling down to the latest output. The commands are successfully run, as entering back into the terminal buffer and pressing `G` gets one down to the bottom of the output. If one then moves back into the terminal, executes another command and moves away from the terminal buffer again it will _now_ correctly show the bottom of the output; any subsequent long-output command will be shown as expected.

![Screenshot](https://user-images.githubusercontent.com/12528765/214262916-d4ecdf32-6286-4cad-bdcd-b42414fd2b3a.png)


### Steps to reproduce

```
nvim --clean
:vsp
:term
i
sleep 3; for n in $(seq 100); do echo $n; done
<C-\\><C-N><C-W>l
```
This will not scroll down to the last output, as shown in screenshot above.
```
<C-W>h
G
i
sleep 3; for n in $(seq 100); do echo $n; done
<C-\\><C-N><C-W>l
```
This _will_ scroll down to the last output, as will any subsequent command.

### Expected behavior

I would expect the latter behaviour from the very start, _i.e._ scrolling down to the latest output even on the first execution of the command and moving to another window.

### Neovim version (nvim -v)

0.8.2 Release

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

No, Vim 9.0.1151

### Operating system/version

macOS 11.6.4 Big Sur

### Terminal name/version

Alacritty 0.11.0 / iTerm2 3.4.18 (tested on both)

### $TERM environment variable

xterm-256color

### Installation

Homebrew
Repository: stable-diffusion-webui
Issue: [Bug]: TypeError: AutoencoderKL.__init__() got an unexpected keyword argument 'use_ema'
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?

After i got the size mismatch error for stable-diffusion i downloaded and placed the renamed (same to the model) config.yaml file of the model to the models /stable-diffusion file and after that i tried to run it but i got this error 

Failed to create model quickly; will retry using slow method.
loading stable diffusion model: TypeError
Traceback (most recent call last):
  File "C:\Users\x\Desktop\stable-diffusion\stable-diffusion-webui\webui.py", line 104, in initialize
    modules.sd_models.load_model()
  File "C:\Users\x\Desktop\stable-diffusion\stable-diffusion-webui\modules\sd_models.py", line 388, in load_model
    sd_model = instantiate_from_config(sd_config.model)
  File "C:\Users\x\Desktop\stable-diffusion\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 79, in instantiate_from_config
    return get_obj_from_str(config["target"])(**config.get("params", dict()))
TypeError: AutoencoderKL.__init__() got an unexpected keyword argument 'use_ema'

### Steps to reproduce the problem

Install SD then place the renamed  config.yaml file to the models file

### What should have happened?

Should have started the SD

### Commit where the problem happens

 602a1864b05075ca4283986e6f5c7d5bce864e11

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

Windows

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

_No response_

### Command Line Arguments

_No response_

### Additional information, context and logs

_No response_
Repository: TypeScript
Issue: Allow type narrowing for arrays using Array#forEach and assertion function
Labels: Suggestion,Awaiting More Feedback

# lib Update Request

<!--
  Please fill in each section completely. Thank you!

  Are you here for one of these commonly-requested lib changes?
    * Object.keys - see https://stackoverflow.com/questions/55012174/
    * Array methods - see https://github.com/microsoft/TypeScript/issues/36554
    * parseInt, parseFloat, isFinite, isNaN, etc. - see https://github.com/microsoft/TypeScript/issues/4002

  The DOM lib is maintained elsewhere and you can skip a step by filing issues/PRs for the DOM at that repo.
  See https://github.com/microsoft/TypeScript-DOM-lib-generator
-->

## Configuration Check

<!--
  If you're missing common new methods like Array.includes, you may have a misconfigured project.
  Try setting `lib: "es2020"` and checking whether the type you want is present.
  You can diagnose further by running `tsc` with `--listFilesOnly` or `--showConfig`.

  Conversely, if you are seeing built-in methods you expect to *not* see, check your 'lib' setting
  or review your dependencies for lib/reference directives that might be polluting
  your global scope. This is common when using the 'node' type library. See https://github.com/microsoft/TypeScript/issues/40184

  Replace the text below:
-->
My compilation *target* is `ES5` and my *lib* is `the default`.

## Missing / Incorrect Definition

Array type narrowing using `Array#forEach` with assertion function, in a fashion similar to `Array#every`, has not been defined. Also applies to `ReadonlyArray`.

## Sample Code

```typescript
const foo: (number | string)[] = ['aaa'];

function assertString(x: unknown): asserts x is string {
  if (typeof x !== 'string') throw new Error('Must be a string!');
}

foo.forEach(assertString);
foo[0].slice(0); // foo should be string[] from here
```

## Documentation Link

<!--
  Link to relevant documentation (e.g. MDN, W3C, ECMAScript Spec) to consult for this property.
  Note that lib.dom.d.ts intentionally does not include browser-specific extensions
   or early experimental features.
-->

[Based on `Array#every<S extends T>` from `lib.es5.d.ts`.](https://github.com/microsoft/TypeScript/blob/main/lib/lib.es5.d.ts#L1227)

---

A pull request for implementing this definition has been created #52388.
Repository: vscode
Issue: Make "Go to match" more discoverable
Labels: help wanted,polish,editor-find

Testing #172100

One idea would be to allow to click on this:

<img width="111" alt="image" src="https://user-images.githubusercontent.com/900690/214270489-9eac7a11-56e2-4ed4-a482-1156364a07af.png">

To bring up the picker?
Repository: godot
Issue: Editor window/size overrides in the Project-Settings are ignored for window placement.
Labels: bug,topic:editor

### Godot version

v4.0.beta14.official [28a24639c]

### System information

Arch Linux, nVidia GeForce 3080

### Issue description

Using editor specific window size overrides like this:
![image](https://user-images.githubusercontent.com/500820/214277416-7c7b64c6-0253-403c-a9b6-0de37dba5e51.png)
Result in the window launching off-center. 

Instead is is center based on the non-override size or if present the non-platform specific overrides.

Not using `editor` specific overrides, the window is perfectly centered.


### Steps to reproduce

1. Open the reproduction project in the editor and launch it.
2. Observe that the window is placed off-center.

### Minimal reproduction project

[window-editor-settings-bug.zip](https://github.com/godotengine/godot/files/10489011/window-editor-settings-bug.zip)
Repository: vscode
Issue: [3wm] Optional result argument
Labels: feature-request,merge-editor

<!-- ⚠️⚠️ 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. -->

Currently, vscode allows calling 3-way merge with four arguments:
```
 code --merge <path1> <path2> <base> <result>
```

I want to use vscode as a generic 3-way merging tool like `meld`. These tools allow to use only 3 cli arguments without specifying the output file:

```
code --merge <path1> <path2> <base>
```
Repository: svelte
Issue: Error thrown when using custom defered transition as a bidirectional transition
Labels: transition/animation

### Describe the bug

Using a defered bidirectional transition throws an error:
```shell
Uncaught (in promise) TypeError: outros is undefined
    go chunk-K6MJRMI7.js?v=2acd031f:1227
    run chunk-K6MJRMI7.js?v=2acd031f:1278
```

It works fine if implemented as a non-defered transition.

The code from the repro case below:
```javascript
<script lang="ts">
  function customTransition() {
    return () => {
      return {
        duration: 2000
      }
    }
  }
</script>

<button on:click transition:customTransition>
  <slot></slot>
</button>
```


### Reproduction

[Stackbliz example here.](https://stackblitz.com/edit/vitejs-vite-bqbend?file=src/lib/Counter.svelte)

To reproduce, click on the button and the error is thrown.


### Logs

```shell
Uncaught (in promise) TypeError: outros is undefined
    go chunk-K6MJRMI7.js?v=2acd031f:1227
    run chunk-K6MJRMI7.js?v=2acd031f:1278
    promise chunk-K6MJRMI7.js?v=2acd031f:1276
    outro /src/lib/Counter.svelte:89
    transition_out chunk-K6MJRMI7.js?v=2acd031f:1073
    outro /src/App.svelte:68
    transition_out chunk-K6MJRMI7.js?v=2acd031f:1073
    update /src/App.svelte:327
    update chunk-K6MJRMI7.js?v=2acd031f:1021
    flush chunk-K6MJRMI7.js?v=2acd031f:987
```


### System Info

```shell
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    svelte: ^3.55.1 => 3.55.1
```


### Severity

annoyance
Repository: youtube-dl
Issue: [bilibili.tv] Failed to extract the Video Information
Labels: yt-dlp,site-update-request

```
C:\Users\0>youtube-dl -v -F https://www.bilibili.tv/en/video/2043748658
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://www.bilibili.tv/en/video/2043748658']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.1 (CPython) - Windows-10-10.0.22621-SP0
[debug] exe versions: ffmpeg N-92418-gee47ac97d7
[debug] Proxy map: {}
[generic] 2043748658: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2043748658: Downloading webpage
[generic] 2043748658: Extracting information
ERROR: Unsupported URL: **https://www.bilibili.tv/en/video/204374865**8
Traceback (most recent call last):
  File "C:\Users\0\AppData\Local\Programs\Python\Python311\Lib\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\0\AppData\Local\Programs\Python\Python311\Lib\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "C:\Users\0\AppData\Local\Programs\Python\Python311\Lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\0\AppData\Local\Programs\Python\Python311\Lib\site-packages\youtube_dl\extractor\generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: ### https://www.bilibili.tv/en/video/2043748658
```
Repository: flutter
Issue: [Proposal] html renderer use `blob` `XMLHttpRequest.responseType` for `Image` load whenever possible
Labels: c: new feature,platform-web,a: images,c: proposal,perf: memory,perf: speed,P2,team-web,triaged-web

## Use case

Currently Flutter does something like this on the web:

```js
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'arraybuffer';
xhr.send();

xhr.onload = function(e) {
    callback(new Blob([xhr.response]));
};
```

Instead of:

```js
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'blob';
xhr.send();

xhr.onload = function(e) {
    callback(xhr.response));
};
```

First one always loads arraybuffer into memory ( _even if response is cached by browser_ ) then it is converted into `Blob` however second one just gives a `Blob` reference which can be passed to [`Image.src`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src) directly in this case Blob might live in the disk cache ( `cache headers` ), it is more efficient because it creates a URL that references the data directly, rather than creating a `new Blob` object that contains a copy of the data and `Blob.type` is also available.

In case of `NetworkImage` [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) happens when **headers needed for image load** or **web renderer is canvasKit** ( latter since #117423 I think [it could be done on engine side just pass headers to `fetchImage`](https://github.com/flutter/engine/blob/5b4e331a6647dd874261f547331ef526f30a6043/lib/web_ui/lib/src/engine/canvaskit/image.dart#L188-L232) note: in this case `responseType = 'arraybuffer'` might be ok ):
https://github.com/flutter/flutter/blob/c35efdaa6854330b28d3968f4ec8c073e5c49252/packages/flutter/lib/src/painting/_network_image_web.dart#L121-L171

In case of `AssetImage` the `XMLHttpRequest.responseType` is also `arraybuffer`:
https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L66-L97

## Proposal

Framework should pass headers to the engine [here](https://github.com/flutter/flutter/blob/c35efdaa6854330b28d3968f4ec8c073e5c49252/packages/flutter/lib/src/painting/_network_image_web.dart#L176) and [here](https://github.com/flutter/flutter/blob/c35efdaa6854330b28d3968f4ec8c073e5c49252/packages/flutter/lib/src/services/asset_bundle.dart#L268) like #118804 should do. The engine should make [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) when headers is not empty and apply `responseType = 'buffer'`.
Repository: flutter
Issue: [Proposal] html renderer `Image.toByteData`: handle blob rawUnmodified format / png format
Labels: c: new feature,platform-web,c: proposal,e: web_html,P3,team-web,triaged-web

## Use case

Currently html renderer ( `--web-renderer html` ) the [Image.toByteData](https://api.flutter.dev/flutter/dart-ui/Image/toByteData.html) method returns [`null`](https://github.com/flutter/engine/blob/ce3bfa12408bb33f965e565f0e85329483b0c22c/lib/web_ui/lib/src/engine/html_image_codec.dart#L202) in case when [format](https://api.flutter.dev/flutter/dart-ui/ImageByteFormat.html) is `ImageByteFormat.png` / `ImageByteFormat.rawUnmodified` unless image's src isn't starting [`data:image/png`](https://github.com/flutter/engine/blob/ce3bfa12408bb33f965e565f0e85329483b0c22c/lib/web_ui/lib/src/engine/html_image_codec.dart#L198).

## Proposal

Whenever Image src `blob` then we can get it's bytes in case of `ImageByteFormat.rawUnmodified`:
- [`Blob.arrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/API/Blob/arrayBuffer)
- [`FileReader.readAsArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsArrayBuffer)

These are the cases when Image's src is blob:
- [`AssetImage`](https://api.flutter.dev/flutter/painting/AssetImage-class.html) loads image via [`XMLHttpRequest`](https://github.com/flutter/engine/blob/ce3bfa12408bb33f965e565f0e85329483b0c22c/lib/web_ui/lib/src/engine/assets.dart#L66-L97) 
- [`NetworkImage`](https://api.flutter.dev/flutter/painting/NetworkImage-class.html) might load image via [`XMLHttpRequest`](https://github.com/flutter/flutter/blob/b06b8b2710955028a6b562f5aa6fe62941d6febf/packages/flutter/lib/src/painting/_network_image_web.dart#L122-L173) when if has some headers

In case of `ImageByteFormat.png`the [`HTMLCanvasElement.toDataURL`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL) can generate appropirate `png` format.
Repository: godot
Issue: Engine silently includes export_presets.cfg into project binary if `*.cfg` is in the non-resource export preset
Labels: enhancement,topic:editor,topic:export

### Godot version

3.x

### System information

Ubuntu 22.10 LTS

### Issue description

Engine silently includes `export_presets.cfg` if you mark to include all `*.cfg` files. If there is no error on engine side, it would be worth to show warning.

`export_presets.cfg` holds important data such as:
1. username
2. 256-bit AES key (if encryption enabled)

https://github.com/godotengine/godot-proposals/issues/6163

### Steps to reproduce

example for `*.apk` and `*.ipa`
1. include `*.cfg` files in export window
2. export
3. open binary with favorite archive manager

![Screenshot from 2023-01-24 22-23-18](https://user-images.githubusercontent.com/36783322/214305926-25c7f145-b964-40be-9039-e86487c06558.png)


### Minimal reproduction project

n/a
Repository: go
Issue: x/website: discoverability of Security contents
Labels: NeedsFix,FeatureRequest,website

There exists a nice page https://go.dev/security/ but I can't find how to navigate there from the website. As a result, some great contents like [Go Fuzzing](https://go.dev/security/fuzz/) seem to be buried.

We may add a Security link in the footer, and in https://go.dev/doc/
Repository: vscode
Issue: Completion toolbar not accessible
Labels: feature-request,accessibility,inline-completions

Testing #172029

Ctrl+k, Ctrl+I should move focus into the completion toolbar. Or there should be some command that does this.
Then the usual toolbar navigation should work (left/right arrow, space to trigger action).
Repository: neovim
Issue: vim.lsp.buf.code_action should get diagnostics at cursor, not line
Labels: bug,complexity:low,has:plan,lsp

### Describe the bug

Use `typescript-language-server` and  `vim.lsp.buf.code_action` returns wrong code actions 
I think`vim.lsp.buf.code_action` parameter diagnostics should be filtered by col. 
The related code is：
https://github.com/neovim/neovim/blob/master/runtime/lua/vim/lsp/buf.lua#L765


### Steps to reproduce

1. add a ts file like  that
```typescript
function a(x/**cursor here**/) {
  console.log(x)
}
export const b = 1
```
2. put the cursor at parameter x
3. execute vim.lsp.buf.code_action
4. the code action list has item ` Remove unused declaration for: 'x'`

### Expected behavior

the code action list has not ` Remove unused declaration for: 'x'`

### Neovim version (nvim -v)

NVIM v0.9.0-dev-7ef5e363d-dirty

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

no

### Operating system/version

windows wsl2

### Terminal name/version

window terminal 1.15

### $TERM environment variable

xterm-256color

### Installation

build from repo
Repository: PowerToys
Issue: Shortcut to show window on all desktops
Labels: Idea-New PowerToy,Needs-Triage

### Description of the new feature / enhancement

When we use several desktops, we can define if a window have to show on all desktops with Windows Tab (Win +TAB)

![image](https://user-images.githubusercontent.com/31038778/214318865-a90396b5-f619-4cb1-b16e-e173345e7f75.png)

But, to do that, it's redundant. One shortcut + 2 click to show one window.

So, I propose a shortcut to do that.
We can also mark the window with a custom border as does the the "Always On Top" mode

This feature can be combined with "Always On Top" to always display a window !

### Scenario when this would be used?

I work on a several desktop and use a web page to search different things. But the web page always stays on the same desktop. So, I must search the web page on all desktop. With this feature, no need to ask yourself where it is from.

Another scenario:
When you work on several desktop and you are a download in progress, you can use this feature and the "Always On Top" to see the progress of the download everywhere 😊

### Supporting information

_No response_