sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: stable-diffusion-webui
Issue: [Feature Request]: Squarize image feature 
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 ?

it would take non-square images and square them automatically, like this https://github.com/nicolai256/squarize-images 

this would make it useful from dreambooth and TI training. dream booth

### Proposed workflow

1. add non square image 
2. make it square with a click of a button using the inpaintmodel 

### Additional information

would be nice to have
Repository: vscode
Issue: Show timestamp on Notification UI
Labels: feature-request,workbench-notifications

<!-- ⚠️⚠️ 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. -->

Sometimes notifications can be stale, or multiple actions can show notifications quickly, such that it would be helpful to have a timestamp displayed on each notification. I think it would be fine for these to be "dumb" and just local to the user, but of course I may be missing nuances.
Repository: godot
Issue: Exported custom resource cannot be drag and dropped onto editor until Godot is restarted
Labels: bug,topic:editor,confirmed

___

***Bugsquad note:** This issue has been confirmed several times already. No need to confirm it further.*

___

### Godot version

4.0 beta 11

### System information

Windows 10

### Issue description

I created a custom resource, added @export var resource: MyCustomResource, and tried to drag and drop the resource onto the slot but couldn't. I restarted Godot and then it worked.

### Steps to reproduce

Create custom resource. Export variable and type it as your resource class. Try to drag and drop the resource onto the editor's slot.

### Minimal reproduction project

.
Repository: terminal
Issue: Crash when resizing openconsole to 0 rows (was: `std::clamp`ing the cursor, 2023 edition)
Labels: Product-Conhost,Help Wanted,Area-Output,Issue-Bug,Severity-Crash

> @zadjii-msft I think we may want to reopen this issue. I was just testing PR #14661, which kind of reverts your fix for this, and I wanted to make sure I hadn't reintroduced the bug. What I discovered was that the issue was never fully resolved - while we don't get a clamp assertion in the cursor code, we now just get it somewhere else instead! For me it occurred here:
> 
> https://github.com/microsoft/terminal/blob/4d27a05318f4e86b0918497ba6f980968725a1d2/src/terminal/adapter/adaptDispatch.cpp#L219
> 
> And I double checked with the commit from when PR #13001 was merged (79904361b345b68f4612d41b390c4eb3f3d18fae), and it was already failing then. It may not be obvious in some shells, but in a WSL bash shell it crashes straight away. In a cmd shell I had to type some command (e.g. `CLS`) while the window had a zero size in order to trigger the crash.
> 
> It's not a major problem, since it only happens in a debug build, but if we think it needs fixing we should probably reopen this, or at least open another issue if you prefer that.
> 
> As for how we fix it, I would have liked it if we could put a minimum size on the viewport, but I suspect that's not possible in conhost for legacy reasons. So failing that, a quick fix would be to replace the clamp calls with a min/max combo which won't assert. But my concern is that the VT architecture is kind of dependent on a non-zero screen size, so there's a fair chance this issue might just surface elsewhere at some point in the future. Maybe we just have to accept that.
> 

_Originally posted by @j4james in https://github.com/microsoft/terminal/issues/12917#issuecomment-1378073019_
Repository: go
Issue: x/image/tiff: Unable to decode DNG files with external package
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.1 linux/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
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/matt/.cache/go-build"
GOENV="/home/matt/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/matt/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/matt/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.1"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1397311274=/tmp/go-build -gno-record-gcc-switches"

</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.
-->

The `x/image/tiff` package is in conflict with DNG decoder packages because it registers its format on `init()`, even though TIFF files and DNG files look similar.

I suppose one of these solutions must work:

- `x/image/tiff` should support decoding DNG files
- or it should use a more specific "magic" header if possible
- or it should not register its format on `init()`.


### What did you expect to see?

I expect that I should be able to call `image.Decode()` on a DNG file and have it successfully work using [a registered DNG decoder](https://github.com/mdouchement/dng).

The problem is that DNG and TIFF files look similar at the beginning, so registering both the TIFF and DNG formats will cause the TIFF to be used instead of DNG.

I'm not actually decoding TIFF files, but I'm using TIFF APIs because DNG shares some in common.

### What did you see instead?

`"tiff: unsupported feature: color model"`

Currently it doesn't seem possible to use `image.Decode()` for DNG files.
Repository: pytorch
Issue: Update docs URLs in torch/_functorch/autograd_function.py to stable before 2.0
Labels: triaged

To be filled in
Repository: pytorch
Issue: Unable to use vmap atop torch.distribution functionality
Labels: high priority,triaged,module: functorch

Hello! I'm working on an application that requires computing a neural net's weight Jacobians through a torch.distribution log probability. Minimal example code show below:

```python
import torch
from torch.distributions import Independent, Normal
from functorch import make_functional_with_buffers, jacrev, vmap

def compute_fischer_stateless_model(fmodel, params, buffers, input, target):
    input = input.unsqueeze(0)
    target = target.unsqueeze(0)
    pred = fmodel(params, buffers, input)
    normal = Independent(Normal(loc=pred, scale=torch.ones_like(pred)), reinterpreted_batch_ndims=1)
    log_prob = normal.log_prob(target)
    return log_prob

# Instantiate model, inputs, targets, etc.
fmodel, params, buffers = make_functional_with_buffers(model)
ft_compute_jac = jacrev(compute_fischer_stateless_model, argnums=1)
ft_compute_sample_jac = vmap(ft_compute_jac, in_dims=(None, None, None, 0, 0))
jac = ft_compute_sample_jac(fmodel, params, buffers, inputs, targets)

```


Executing my script returns a `RuntimeError` error of the form: 

*RuntimeError: vmap: It looks like you're either (1) calling .item() on a Tensor or (2) attempting to use a Tensor in some data-dependent control flow or (3) encountering this error in PyTorch internals. For (1): we don't support vmap over calling .item() on a Tensor, please try to rewrite what you're doing with other operations. For (2): If you're doing some control flow instead, we don't support that yet, please shout over at https://github.com/pytorch/functorch/issues/257 . For (3): please file an issue.*

Any help would be appreciated -- thanks in advance for you time!

cc @ezyang @gchanan @zou3519 @Chillee @samdow @soumith @kshitij12345 @janeyx99
Repository: neovim
Issue: Cannot use process substitution for QuickFix mode
Labels: platform:macos,io,bug-regression,system,startup

### Describe the bug

Attempting to open neovim in QuickFix mode using process substitution does not work, i.e. `nvim -q <(rg --vimgrep foo)`.

The program stops with the error `E40: Can't open errorfile /dev/fd/12` printed in the logs.

Using `git bisect` it seems have been introduced by https://github.com/neovim/neovim/pull/18375, but I'm not yet sure which line of code is the issue.

### Steps to reproduce

```
git checkout cce73621;
make;
VIMRUNTIME=runtime ./build/bin/nvim --clean -q <(rg ran-deps --vimgrep) -Vlog;
tail log;

# Outputs: E40: Can't open errorfile /dev/fd/12
```


### Expected behavior

Vim opens with the QuickFix list populated.

### Neovim version (nvim -v)

NVIM v0.9.0-dev-589+gcce736218

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

No

### Operating system/version

macOS 13.0.1

### Terminal name/version

iTerm2 3.4.19

### $TERM environment variable

xterm-256color

### Installation

build from repo
Repository: flutter
Issue: [plugins]add iOS code coverage report on plugin's CI
Labels: platform-ios,package,P3,team-ios,triaged-ios

## Proposal

Code coverage reports on CI can be helpful to reduce risk of regression during swift migration. It's also helpful to maintain high code coverage in the long run after the migration.
Repository: pytorch
Issue: jit testing fails on 3.11 debug build
Labels: oncall: jit

test_jit fails very loundly on 3.11 debug build:
It prints thousands of
```
gc:0: ResourceWarning: Object of type torch._C.ScriptFunction is not untracked before destruction
```
And then crash with
```
Modules/gcmodule.c:442: update_refs: Assertion "gc_get_refs(gc) != 0" failed
Enable tracemalloc to get the memory block allocation traceback

object address  : 0x7f7f48661800
object refcount : 0
object type     : 0x6a5a2c0
object type name: torch._C.ScriptFunction
object repr     : <refcnt 0 at 0x7f7f48661800>

Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized
```

cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
Repository: vscode
Issue: Hidden panels create actions that are disposed of on startup 
Labels: bug,perf,layout

For #162902

## Repo
1. Start VS Code 

## Perf issue
While debugging, I noticed that we end up creating actions for hidden panels and then immediately disposing of them. This hurts performance because it means we are doing work that we then discard

Here's my understand of how this happens:

1. [`onDidRegisterPanels`](https://github.com/microsoft/vscode/blob/de629c1540a69a417206a820bbbfbf0b981e3f57/src/vs/workbench/browser/parts/panel/panelPart.ts#L240) is invoked on startup
2. In this function, we loop through all panels, including potentially empty/hidden ones
3. Inside the loop, we call `updateActivity` for the panel. This calls `getCompositeActions` which creates the actions for the panel
4. Back in the loop, we next call `showOrHideViewContainer` on the panel
5. If the panel is empty, it may be hidden here. When this happens, we dispose of the actions created in step 3

The `refactorPreview` is a good example of this happening. The panel starts empty, so it is always hidden on startup
Repository: excalidraw
Issue: [Feature Request] Thumbnail view of other objects
Labels: enhancement,discussion

It would be awesome if I could select some set of objects and then make another new object that was a immutable re-rendering of those objects. You could resize it so it could be used as a thumbnail view somewhere else in the document. It would also live update when you changed the objects it was linked to. 

I often find myself wanting to reference another part of my giant diagram by using a small thumbnail view of that diagram somewhere else. 

Thanks for the great tool :D
Repository: godot
Issue: Movie writer doesn't use correct aspect ratio with window override and stretch settings
Labels: bug,topic:core,topic:rendering

### Godot version

4.0 beta 10

### System information

Windows 10, Vulkan, AMD RX 5600 XT

### Issue description

When you set a combination of settings in project settings > general > display > window, the output avi file does not have the correct aspect ratio

Size
* Viewport Width: 640
* Viewport Height: 360
* Window Width Override: 1280
* Window Height Override Override: 720

Stretch
* Mode: viewport
* Aspect: keep_width


### Steps to reproduce

* Open the attached project.
* Enable movie writer
* Run the project
* Check the aspect ratio of the captured avi file

### Minimal reproduction project

[movie-writer-aspect-ratio.zip](https://github.com/godotengine/godot/files/10397089/movie-writer-aspect-ratio.zip)
Repository: vscode
Issue: Support case sensitive matching during completion
Labels: feature-request,suggest

<!-- ⚠️⚠️ 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. -->

Today, when VS Code filters the completion list, the behavior is case insensitive.

https://user-images.githubusercontent.com/6193897/211955288-e1139608-b751-4e7c-9d3d-cab02eefb790.mp4


It would be better if VS Code can support different kinds of case matching behavior and let users to specify it.

Take an example of IntelliJ:
![image](https://user-images.githubusercontent.com/6193897/211955160-63ea5334-09d9-49e4-90e6-4e7a29a98f66.png)
Repository: stable-diffusion-webui
Issue: [Feature Request / Bug Report]: Merge models using custom function
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 think "Add difference" merging option actually goes in the wrong directions. Shouldn't it be:
Result = A * (1-M) + (B + C)/2 * M 
?

This actually made me think that it might be a good idea to provide an interface for users to try out their own merging functions.

### Proposed workflow

Steps could go like this:
1-Open merge tab
2-Choose custom function
3-Write the function for B and C. Result is D
4-Write the function for A and  D and use the result
5-Merge

### Additional information

I'm imagining the functions to be written in a textbox, which would look like this:

D= B and C function: 
`B*0.5 + C* 0.5 `
Result= A and D function: 
` A *0.6 + D * 0.4 `

Also, M can be provided in case someone wrote a function that can use the multiplier, so others can try his functions.


### Advanced Use
As an advanced use, I think it is worth it to give more functions to user so they can use some sort of dropout in the difference.
For example, calculate (B+C)/2 and then zero some of the weights randomly with a seed and a percentage.
Example:    ` randomZero ( (B+C)/2  , 533636101  , 0.01 ) `

And then, use the normal weighed sum in the next function
` A* (1-M) + D*M `

Or maybe as another advance uses:

- A functions could be provided to only zero certain layers, or type of layers.
- Function to randomly multiply weights with a certain number instead of zeroing them


I know that this might not be very easy for simple users to understand, but I believe a simple wiki page with example values would make it easy for anyone who knows even a tiny bit of programming or math.
Repository: godot
Issue: Garbled text rendering after opening the Theme section of the Editor Settings
Labels: bug,platform:linuxbsd,topic:rendering,topic:editor,needs testing

### Godot version

v4.0.beta11.official [91713ced8]

### System information

Debian 11

### Issue description

![DeepinScreenshot_select-area_20230112080136](https://user-images.githubusercontent.com/13235119/211999940-a26532bf-c268-4382-885b-717ba7e8b317.png)
![image](https://user-images.githubusercontent.com/13235119/212001148-4d86e785-5ce5-4428-9dbc-682846f32dc3.png)


It happen randomly. Never happen with previous godot 4 betas

### Steps to reproduce

Try to change gdscript theme

### Minimal reproduction project

NA
Repository: go
Issue: crypto/rsa: Go 1.21 follow-up work
Labels: umbrella

Go 1.20 shipped a large set of crypto/rsa changes. This issue lists a few remaining cleanups that should wrap up the cycle of crypto/rsa work.

- [x] #57751
- [x] #53849
- [ ] #56980
- [ ] #49136
- [ ] #22807
- [ ] #31721
- [ ] #20058
- [x] #56921
- [x] #59463
- [x] #59442
- [x] #59695
- [x] #63516

Mostly docs and performance work.
Repository: rust
Issue: Tracking issue for `-Z randomize-layout`
Labels: T-compiler,C-tracking-issue,A-layout,A-CLI,-Zrandomize-layout

This is a tracking issue for the unstable rustc flag `-Zrandomize-layout`. (https://github.com/rust-lang/compiler-team/issues/457)

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

- [x] Implementation
- [ ] 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


### Implementation history

- **Feature request:** #77316
- **MCP:** https://github.com/rust-lang/compiler-team/issues/457
- #87868
- #91932
- #97861
- #101339
- #133088
Repository: PowerToys
Issue: Dual Monitor Setup, Zones Switch Monitors in RDP
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.65.0

### Installation method

PowerToys auto-update

### Running as admin

Yes

### Area(s) with issue?

FancyZones

### Steps to reproduce

Fancy Zones setup and working fine on office PC, dual monitor setup.

RDP into office PC from another PC with dual monitor setup. Zones that should be on the right monitor are on the left monitor and vice versa. Apps rearrange, not very successfully and it's a bit of a jumble.

Return to office & sign in, apps try to rearrange themselves but it's a complete mess. Try to drag apps to roughly where they should be - there is no Zone. Open Fancy Zone editor. The Zone that should be on the right Monitor is on the left and vice versa.

Once the Zones have been reallocated to the correct monitor, the apps can be dragged back to where they belong.

It's all a bit tedious by that point and I resist connecting to the office PC via RDP because I know it's going to be disruptive.

### ✔️ Expected Behavior

Zones should remain in place, on the correct monitors when connected via RDP.

### ❌ Actual Behavior

Zones switch to the opposite monitor when connecting via RDP

### Other Software

_No response_
[PowerToysReport_2023-01-12-08-09-45.zip](https://github.com/microsoft/PowerToys/files/10399525/PowerToysReport_2023-01-12-08-09-45.zip)
Repository: rust
Issue: `#[inline(never)]` does not work for async fn
Labels: T-compiler,C-bug,A-async-await,AsyncAwait-Triaged,WG-async

<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->

I tried this code:

```rust
#[inline(never)]
async foo() {
    // ...
}
```

https://rust.godbolt.org/z/97P1Goqhx

I expected to see this happen: logic code in async functions will not be inlined.

Instead, this happened: Only the function itself is not inlined, and the Future it returns is fully inlined.

I believe this is because async fn is desugared to

```rust
#[inline(never)]
fn foo() -> impl Future<Output = ()> {
    async move {
        // ...
    }
}
```

To get desired effect, I need to write

```rust
struct NoInline<F>(F);

impl<F: Future> Future for NoInline<F> {
    type Output = F::Output;

    #[inline(never)]
    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
        // ...
    }
}

#[inline]
fn foo() -> impl Future<Output = ()> {
    async fn foo_inner() {
        // ...
    }
    NoInline(foo_inner())
}
```


<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

<!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"bryangarza"}$$TRIAGEBOT_ASSIGN_DATA_END -->

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: ant-design
Issue: Thumbnails gallery for Ant Image
Labels: 💄 Design,💡 Feature Request,Inactive

### What problem does this feature solve?

Ant Image can make fullscreen preview for multiple images. But,  there are no thumbnail previews of the images, one can only scroll between them.

Is there any way to add thumbnails gallery in fullscreen preview mode? Or do you have such a plan to extend it?

### What does the proposed API look like?


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: Restrict area for icons on desktop
Labels: Needs-Triage

### Description of the new feature / enhancement

Hello there, the request would be to restrict the area on the desktop where icons can reside. On ultrawide monitors (i do have a Samsung odissey G9), when for example you open a file with Microsoft Word and edit, save it, the icon is positioned in the upper and leftmost area. This is very uncomfortable if you have all windows set for work... The idea would be to make Windows put the icon in a "restricted area" that the user can decide with a setup with crosslike cursor. 

It'd be better that Windows would remember the original position of the icon/file edited, but thats what powertoys is for...

TIA

### Scenario when this would be used?

Wide/Huge monitors where you have all windows already setup.

### Supporting information

_No response_