sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Cannot assign a custom resource when the class is loaded with preload().
Labels: enhancement,feature proposal,topic:editor

### Godot version

4.0 rc1

### System information

KUbuntu 22.04.1

### Issue description

Attempting to assign a valid instance of a custom resource to an exported variable of the appropriate type (imported using `preload()`) results in this error:
![Screenshot_20230212_235229](https://user-images.githubusercontent.com/60271685/218401604-7f0c185d-7b07-4efa-abcd-eff9af189915.png)


### Steps to reproduce

I have the following scripts:

```gdscript
# CustomResource.gd
extends Resource
@export var number: float
```

```gdscript
# ResourceUser.gd
extends Node
const CustomResource = preload("res://CustomResource.gd")
@export var resource: CustomResource
```

If I make a node that uses `ResourceUser.gd`, I cannot assign an instance of `CustomResource` to the `resource` field.

### Minimal reproduction project

[godot_test.zip](https://github.com/godotengine/godot/files/10719891/godot_test.zip)
Repository: stable-diffusion-webui
Issue: [Feature Request]: Can the project deal with sentences with and？
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 ?

I give the prompt：A cute little rabbit is running on the grassland and a cute little girl with big eyes is chasing it.
the result shows that the model only deals with the "A cute little rabbit is running on the grassland", but nothing about the sentences after "and", s.t. "a cute little girl with big eyes is chasing it".
the output just like:
![00008-3558280709](https://user-images.githubusercontent.com/16025234/218420931-9639aa05-d667-4256-be1b-ef5c5ca8da87.png)

Firstly, I am very glad with the output if I gived the "A cute little rabbit is running on the grassland".
But, I want to know why the sentence "a cute little girl with big eyes is chasing it" is not processed？

Can you give me an explaination？Or How can I do next？Thank you very much.

### Proposed workflow

I give the prompt：A cute little rabbit is running on the grassland and a cute little girl with big eyes is chasing it.
the result shows that the model only deals with the "A cute little rabbit is running on the grassland", but nothing about the sentences after "and", s.t. "a cute little girl with big eyes is chasing it".
the output just like:
![00008-3558280709](https://user-images.githubusercontent.com/16025234/218420931-9639aa05-d667-4256-be1b-ef5c5ca8da87.png)

Firstly, I am very glad with the output if I gived the "A cute little rabbit is running on the grassland".
But, I want to know why the sentence "a cute little girl with big eyes is chasing it" is not processed？

Can you give me an explaination？Or How can I do next？Thank you very much.

### Additional information

_No response_
Repository: flutter
Issue: Native text not transforming correctly.
Labels: platform-ios,engine,a: platform-views,c: rendering,P2,team-ios,triaged-ios

Impeller has fixed flutter text transformation but issue still occurs with native text.

cc: @chinmaygarde - https://github.com/flutter/flutter/issues/117428#issuecomment-1414157401
cc: @bdero 

Tested on latest stable and master 3.8.0-5.0.pre.1, iphone 13 pro, ios 16.1.1

## Steps to Reproduce
Please run this example here:
https://github.com/delfme/native-text-transform

Please notice I'm using UI label and Cube animation plugins to showcase the issue.
I'm using plugins because issue doesn't depend on plugins and it would take too much time to code everything from scratch.


**Expected results:**
Text should transform correctly.


**Actual results:**
Text doesn't transform correctly. Also, emojis seems to transform differently from text. So it might be two issues.


https://user-images.githubusercontent.com/53510751/218422369-880f39c3-6d85-48b0-b6ae-db43f979655f.MP4


**Flutter doctor:**
 [✓] Flutter (Channel master, 3.8.0-5.0.pre.1, on macOS 12.2 21D49 darwin-arm64, locale en-IT) [!] Android toolchain - develop for Android devices (Android SDK version 31.0.0) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] Connected device (3 available) [✓] HTTP Host Availability
Repository: deno
Issue: deno fmt: Markdown lists inside blockquotes handled incorrectly
Labels: bug,deno fmt

**Input**

```markdown
> 1. Proident ad ea dolore qui eiusmod culpa culpa ad aliqua tempor. Sint magna elit nulla laborum sunt ex culpa culpa minim. Sit ut in nostrud tempor exercitation ullamco. Laboris id eiusmod excepteur deserunt id ullamco duis ea cillum dolore.
>
>    Sit et aute consequat in duis consequat ipsum est velit occaecat ad officia ex magna. Cupidatat aliquip pariatur anim dolore aliqua Lorem. Sit nisi duis aute deserunt culpa in. Non nostrud ullamco deserunt nostrud aute esse reprehenderit quis aute eiusmod.
```

Semantically, this is:

```yaml
- blockquote
  - list
    - item
      - paragraph
        - text
      - paragraph
        - text
```

**Output**

```markdown
$ deno md --options-prose-wrap never bug.md
> 1. Proident ad ea dolore qui eiusmod culpa culpa ad aliqua tempor. Sint magna elit nulla laborum sunt ex culpa culpa minim. Sit ut in nostrud tempor exercitation ullamco. Laboris id eiusmod excepteur deserunt id ullamco duis ea cillum dolore.
   > Sit et aute consequat in duis consequat ipsum est velit occaecat ad officia ex magna. Cupidatat aliquip pariatur anim dolore aliqua Lorem. Sit nisi duis aute deserunt culpa in. Non nostrud ullamco deserunt nostrud aute esse reprehenderit quis aute eiusmod.
```

Semantically, this is:

```yaml
- blockquote
  - list
    - item
      - paragraph
        - text
        - softbreak
        - text
```

**Problem:**

1. The two input paragraphs are merged into one paragraph.
2. The `>` character is being indented. Semantics are preserved, but:
   1. It is confusing to the reader.
   2. It looks horrible syntactically.

**Expected output:**

The output should be identical to the input. When the list is not contained by a blockquote, the output _is_ identical to the input. I wouldn't expect the blockquote to change this.
Repository: angular
Issue: Provide translation token from nested keys in json format file 
Labels: area: i18n

### Which @angular/* package(s) are relevant/related to the feature request?

localize

### Description

Hi,

I am new to angular localize support. 
As translations now can be extracted to json format also , I have seen it does not support translation token as nested keys from json format file.

for example if below is the markup 
<span i18n="@@parent.child>
        Test translation 
</span>

and extracting it using json format like below generates messages.json file like bellow

ng extract-i18n --format=json --output-path src/locale

{
"parnet.child":"Test translation"
}

But, to group translation in logical manner shouldn't be like 
{
"parent":{
    "child": "Test translation "
}
}

Is there anything already present in framework to make it like above or not supported at all ?  

### Proposed solution

Should extract translation in json format to maintain logical grouping like below

 {
"parent":{
    "child": "Test translation "
}
}

### Alternatives considered

N/A
Repository: storybook
Issue: [Bug]: Global async decorator breaks default background
Labels: bug,help wanted,has workaround,addon: backgrounds,sev:S3

### Describe the bug

I have a global async decorator (added in preview.tsx) that returns null until an async operation is completed. This async decorator breaks default background, both set globally or overriden on a story.

I made a repro here : https://github.com/Mattgic/repro-sb-backgrounds-issue
Background can be changed manually but default background (both set globally and story override) doesn't work.

Working on this repro I realise that the first story "docs" doesn't work. There is probably an issue with making such an async decorator, maybe it's an anti-pattern. If needed I can explain why I need such a thing.

My decorator looks like this : 
```tsx
const AsyncLoader: FC<{ children: ReactNode }> = ({ children }) => {
  const [isReady, setIsReady] = useState(false);

  useEffect(() => {
    setTimeout(() => {
      setIsReady(true);
    }, 1000);
  });

  // Background override works if we disable this block
  if (!isReady) {
    return null;
  }

  return <>{children}</>;
};

const fontLoaderDecorator = (StoryFn): JSX.Element => {
  return (
    <AsyncLoader>
      <StoryFn />
    </AsyncLoader>
  );
};
```

Note that if I add this decorator in each of my stories file, everything works fine. Problem only occurs when decorator is added globally, in preview.tsx. 

### To Reproduce

```shell
https://github.com/Mattgic/repro-sb-backgrounds-issue
```


### System

```shell
Environment Info:

  System:
    OS: macOS 13.2
    CPU: (8) arm64 Apple M1
  Binaries:
    Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.19.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm
  Browsers:
    Chrome: 110.0.5481.77
    Firefox: 109.0.1
    Safari: 16.3
  npmPackages:
    @storybook/addon-essentials: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/addon-interactions: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/addon-links: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/blocks: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/node-logger: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/preset-create-react-app: ^4.1.2 => 4.1.2
    @storybook/react: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/react-webpack5: ^7.0.0-beta.46 => 7.0.0-beta.46
    @storybook/testing-library: ^0.0.14-next.1 => 0.0.14-next.1
```


### Additional context

_No response_
Repository: material-ui
Issue: [useMediaQuery] Doesn't fire after state change
Labels: bug 🐛,external dependency,hook: useMediaQuery

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/charming-microservice-imyon7?file=/src/App.tsx

Steps:
1. Increase and decrease the window width so you can see the media query updates correctly in the console
2. Resize the screen to larger than 600px width and press the button, this will fire the if statement and update the state of isActive
3. Now try resizing. the window width above and below 600px

### Current behavior 😯

The component only rerenders when resizing the window when the media query does not match

### Expected behavior 🤔

I expect the component to also rerender when the media query matches

### Context 🔦

_No response_

### Your environment 🌎

_No response_
Repository: stable-diffusion-webui
Issue: [Bug]: Xformers could not be detected.
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?

It is useless to add -xformers or --reinstall-xformers to webui-use.bat or use`"F:\sd webui\stable-diffusion-webui\venv\Scripts\python.exe"  -m pip install xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl`. 

I can find **xformers** and **xformers-0.0.14.dev0.dist-info** in _stable-diffusion-webui\venv\Lib\site-packages_.But the console still shows No module 'xformers'. Proceeding without it.

### Steps to reproduce the problem

No module 'xformers'. Proceeding without it.

### What should have happened?

Launching Xformers

### Commit where the problem happens

3715ece0 

### 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
@echo off

set PYTHON=
set GIT=
set VENV_DIR=VENV_DIR
set COMMANDLINE_ARGS=--reinstall-xformers
call webui.bat
```


### List of extensions

no

### Console logs

```Shell
venv "F:\sd webui\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep  5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Commit hash: 3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39
Installing requirements for Web UI
Launching Web UI with arguments:
No module 'xformers'. Proceeding without it.
Loading weights [a7529df023] from F:\sd webui\stable-diffusion-webui\models\Stable-diffusion\1animefull-latest.ckpt
Creating model from config: F:\sd webui\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0):
Model loaded in 120.3s (load weights from disk: 94.1s, create model: 1.5s, apply weights to model: 2.0s, apply half(): 1.4s, load VAE: 0.2s, move model to device: 1.0s, hijack: 0.1s, load textual inversion embeddings: 19.8s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
```


### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Image2HDR
Labels: enhancement,extension-request

### 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 ?

A extension or builtin script that convert single image into high dynamic range Image for 10bit display monitor.
e.x.* https://github.com/VinAIResearch/single_image_hdr, https://github.com/vinthony/awesome-deep-hdr.
I probably miss more recent exciting papers with code.

### Proposed workflow

1. Select the script
2. Generate a image as usual
3. If not already run before, download model and dependency from the repo* and convert the text2Img to HDR

### Additional information

_No response_
Repository: PowerToys
Issue: Open new tab in free zone
Labels: Idea-Enhancement,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

Whenever a new window opens by windows (or the user), it will be assigned to a currently unused zone automatically.

### Scenario when this would be used?

I have a PowerShell script that updates software and runs daily. Currently, it will just open the PowerShell console on top of everything else, which is annoying.

This feature would be an elegant way to handle the situation.

### Supporting information

_No response_
Repository: godot
Issue: PhysicsServer3D.ShapeSetData outputs errors for lacking faces even when the mesh does have them
Labels: documentation,topic:physics,topic:3d

### Godot version

4.0 rc1 mono

### System information

Fedora Linux 36 (Workstation Edition)

### Issue description

Setting data to a concave polygon shape through PhysicsServer3D gives the following error (`!d.has("faces") is true`):
```
E 0:00:23:0174   Godot.NativeInterop.NativeFuncs.generated.cs:332 @ void Godot.NativeInterop.NativeFuncs.godotsharp_method_bind_ptrcall(IntPtr , IntPtr , System.Void** , System.Void* ): Condition "!d.has("faces")" is true.
  <C++ Source>   servers/physics_3d/godot_shape_3d.cpp:1662 @ set_data()
  <Stack Trace>  Godot.NativeInterop.NativeFuncs.generated.cs:332 @ void Godot.NativeInterop.NativeFuncs.godotsharp_method_bind_ptrcall(IntPtr , IntPtr , System.Void** , System.Void* )
                 NativeCalls.cs:6466 @ void Godot.NativeCalls.godot_icall_2_713(IntPtr , IntPtr , Godot.Rid , Godot.Variant )
                 PhysicsServer3D.cs:733 @ void Godot.PhysicsServer3D.ShapeSetData(Godot.Rid , Godot.Variant )
```

### Steps to reproduce

Run `node.tscn` in the attached reproduction project. The following code is contained in `Example.cs`
```cs
using Godot;

public partial class Example : Node
{
	public override void _Ready()
	{
		var mesh = new BoxMesh();
		var shape = mesh.CreateTrimeshShape();
		var rid = PhysicsServer3D.ConcavePolygonShapeCreate();
		PhysicsServer3D.ShapeSetData(rid, shape); // <- the error happens here
	}
}
```
One can verify that the meshes do have faces by printing (`GD.Print(mesh.GetFaces().Length, ", ", shape.Data.Length);` (outputs `36, 36`) or by spawning a `MeshInstance3D` and rendering the cube mesh.

### Minimal reproduction project

[PhysicsServerBug.zip](https://github.com/godotengine/godot/files/10722060/PhysicsServerBug.zip)
Repository: PowerToys
Issue: Change a keyboard layout for already typed text
Labels: Needs-Triage

### Description of the new feature / enhancement

Select some text, and hit some hotkeys so it will automatically modify symbols according to the next keyboard layout. 

### Scenario when this would be used?

It often happens that I start printing some symbols using the wrong layout.

And typically what I do is

delete already-entered text
change the keyboard layout
reprint the text with the right layout.

### Supporting information

_No response_
Repository: flutter
Issue: Sliders can be changed accidentally by swiping up/down to scroll the page
Labels: framework,f: material design,f: scrolling,f: gestures,has reproducible steps,P2,found in release: 3.7,found in release: 3.8,team-design,triaged-design

## Steps to Reproduce

1. Add a slider on a page that scrolls vertically (e.g. a ListView)
2. Swipe up or down to scroll the page.

If you accidentally touch a slider while swiping, it changes the value of the slider. Even if you only touch the track, not the knob. 

For comparison:
- Flutter's buttons ignore presses that occur while the page is being swiped.
- The HTML 'range' input ignores vertical drags on the track, but it does register vertical drags directly on the knob (this seems a reasonable compromise).

The current behavior can result in unintended changes to a slider's value. If a page has many sliders, you have to be careful not to touch any of them while swiping up or down.

I think a slider should reject presses/drags if there is significant vertical motion, or ignore drag events that do not originate on the slider knob.
Repository: kubernetes
Issue: Decide on whether to pass context from defaulting code of KS config (to use with ctx logging)
Labels: kind/feature,sig/instrumentation,triage/accepted

### What would you like to be added?

References:

https://github.com/kubernetes/kubernetes/pull/111155/files#r1096010921

https://github.com/kubernetes/kubernetes/pull/111155/files#r929904171

https://github.com/kubernetes/kubernetes/pull/115588#discussion_r1098970348

Opening this issue for discussion. Then implementation of whatever is decided here would close this issue.

### Why is this needed?

As stated in the above comments, this is not super important but would be nice to choose one approach and do it mindfully.
Repository: storybook
Issue: Add CSF1/2 tests to monorepo
Labels: build

### Is your feature request related to a problem? Please describe

We've implemented CSF3 in our CI sandboxes, but we still want to support CSF1/2 completely. However, the changes we're making can regress things in CSF1/2 if we're not careful, e.g. https://github.com/storybookjs/storybook/pull/20995

### Describe the solution you'd like

We should make sure that each framework's sandbox templates have
- [ ] One or more CSF1 stories
- [ ] One or more CSF2 stories

### Describe alternatives you've considered

_No response_

### Are you able to assist to bring the feature to reality?

no

### Additional context

_No response_
Repository: vscode
Issue: Diff Editor: indicate whether there are more diffs above or below the current diff
Labels: feature-request,diff-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. -->
Often files have only one or a couple of changes close to each other. This situation is however not immediately clear in the diff viewer. One has to use the up/down buttons (or short cuts) to cycle through the changes, or to look at the tiny indications in the scroll bar.

Proposed improvement: in the editor, clearly indicate that there are no changes above or below a given line.
Repository: vscode
Issue: "Runtime Status" tab in extension page should break down activation time to code loading + activate call + activate resolved time
Labels: feature-request,extension-host

<!-- ⚠️⚠️ 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. -->
Prompted by https://github.com/microsoft/vscode-discussions/discussions/454.

In the Runtime Status tab of an extension page, once the extension has been activated, it shows the activation event and activation time. This is helpful, but I think it would be better if that activation time was broken down into code loading time + activate call time + activate resolved time. This information used to be available from "Show Running Extensions" -> Report Issue on an extension--the data would be put into the clipboard--but this is no longer available.

Actual:
![image](https://user-images.githubusercontent.com/36966225/218489436-d9b9117a-c4a0-4f03-98ff-47f06fd203d1.png)

Proposed:
![image](https://user-images.githubusercontent.com/36966225/218489896-b1c5630b-c2ac-40a7-992f-9303182b1de1.png)
(or similar)
Repository: go
Issue: x/tools/go/loader: TestCgoOption fails on GOOS=darwin
Labels: NeedsFix,Tools

@pjweinb pointed out that TestCgoOption fails on GOOS=darwin.

I'm on linux, but after hacking up that test, I can reproduce:
```
go test ./go/loader -run=TestCgoOption
--- FAIL: TestCgoOption (1.42s)
    stdlib_test.go:178: /home/rfindley/src/go/src/net/cgo_unix.go:62:6: func net.cgoLookupHost(ctx context.Context, name string) (hosts []string, err error, completed bool) (CgoEnabled=false)
    stdlib_test.go:187: CGO_ENABLED=0: func net.cgoLookupHost(ctx context.Context, name string) (hosts []string, err error, completed bool) found in cgo_unix.go, want cgo_stub.go
    stdlib_test.go:178: /home/rfindley/src/go/src/net/cgo_unix.go:62:6: func net.cgoLookupHost(ctx context.Context, name string) (hosts []string, err error, completed bool) (CgoEnabled=true)
    stdlib_test.go:178: /home/rfindley/src/go/src/os/user/cgo_lookup_unix.go:18:6: func os/user.current() (*os/user.User, error) (CgoEnabled=false)
    stdlib_test.go:187: CGO_ENABLED=0: func os/user.current() (*os/user.User, error) found in cgo_lookup_unix.go, want lookup_stubs.go
    stdlib_test.go:178: /home/rfindley/src/go/src/os/user/cgo_lookup_unix.go:18:6: func os/user.current() (*os/user.User, error) (CgoEnabled=true)
FAIL
FAIL    golang.org/x/tools/go/loader    1.446s
FAIL
```

Based on that failure, it looks like the test depends on the location of certain functions across a build-tagged package, to verify that package loading is correctly honoring GOOS/GOARCH.  That is bound to eventually run into this type of failure; we should rewrite the test to load a fixed set of testdata packages.

More generally, I think this test may have been failing for a long time, and we never noticed because we don't have darwin longtest builders.