sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Vulkan: Mipmaps of odd-sized textures not rendering correctly on Intel integrated GPU
Labels: platform:windows,discussion,topic:rendering,topic:thirdparty

### Godot version

4.2.rc2

### System information

Windows 11, Vulkan (Forward+), Intel Iris Xe Graphics

### Issue description

When generating mipmaps for textures and setting the Linear Mipmap texture filter default some textures are not rendered correctly on systems with integrated GPUs.
 
This has affected multiple users when playing our game on a system with an integrated GPU on various devices. I'm able to replicate on my laptop here using Intel Iris Xe Graphics with the MRP attached.

**Desktop (Geforce RTX 2060)**
![image](https://github.com/godotengine/godot/assets/6668682/1d33436a-27ad-40ce-8dc0-9f313d478217)

**Laptop (Intel Iris Xe Graphics)**
![image](https://github.com/godotengine/godot/assets/6668682/e80073fd-0de8-494f-8397-e490ffbfe730)





### Steps to reproduce

1. Add textures to project, generate mipmaps for those textures.
2. Enable Linear Mipmap texture filter default in project settings.
3. Add textures to scene as sprites.

### Minimal reproduction project

[VulkanTest.zip](https://github.com/godotengine/godot/files/13464433/VulkanTest.zip)
Repository: flutter
Issue: [multicast_dns] get IP of mdns SRV target
Labels: c: new feature,package,c: proposal,p: multicast_dns,team-ecosystem,P3,triaged-ecosystem

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Use case

Related issues 
https://github.com/flutter/flutter/issues/75585
https://github.com/flutter/flutter/issues/53477

I am trying to find the IP of SRV target.

Examples of srv:
`eWeLink_10013abc14.local`
`HPC0180319938E.local`
`MiWiFi-RM1800-srv.local`

I have tried:
* `await InternetAddress.lookup(mdnsName);`

*
```dart
import 'package:multicast_dns/multicast_dns.dart';

main() async {
  final MDnsClient client = MDnsClient();
  await client.start();


  await for (final IPAddressResourceRecord ip
  in client.lookup<IPAddressResourceRecord>(
      ResourceRecordQuery.addressIPv4(mdnsName))) {
    print('IP: ${ip.address.toString()}');
  }
  
  client.stop();
}
```

Using Linux `avahi-utils` I can find it

```
$ avahi-resolve-host-name eWeLink_10013abc14.local
eWeLink_10013abc14.local        192.168.31.220
```

If I can know the `serviceType` (which I don't) I can use this 
```dart
String serviceType = '_ewelink._tcp';
String mdnsName = 'eWeLink_10013abc14.local';

final MDnsClient client = MDnsClient();
await client.start();

await for (final PtrResourceRecord ptr in client.lookup<PtrResourceRecord>(
    ResourceRecordQuery.serverPointer(serviceType))) {
  print('PTR: ${ptr.toString()}');

  await for (final IPAddressResourceRecord ip
      in client.lookup<IPAddressResourceRecord>(
          ResourceRecordQuery.addressIPv4(mdnsName))) {
    print('IP: ${ip.address.toString()}');
  }
}
client.stop();
```

### Proposal

Add a new function that can find SRV target IP or to what `serviceType` it belongs.
Repository: next.js
Issue: Unevenly repetitive style in nextjs 14 and later.
Labels: bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/nextjs-loop-style-fb-1-thfxmv

### To Reproduce

The more mantine components added, the more it increases unevenly. If 2 styles are added to the Mantine button component, for example, this becomes 4 in the Mantine carousel. This example is simple and in my own locale it is fixed as 4 styles, in 13.5.6 it remains fixed as 2 styles. Versions 14 and later are also proliferating unevenly. There is an uneven increase, sometimes 5 and sometimes 12, on page refresh.


nextjs version 13.5.6
![13-5-6](https://github.com/vercel/next.js/assets/57527680/0647f6d6-f578-443d-a847-50364feddab1)

nextjs version 14 and later...
![14-0-3_6](https://github.com/vercel/next.js/assets/57527680/39ec6777-2573-4fdf-b1ce-a8044ccfde36)
![14-0-3_10](https://github.com/vercel/next.js/assets/57527680/ed779b52-9f9b-40d2-9f92-41ba82acdda7)
![14-0-3_12](https://github.com/vercel/next.js/assets/57527680/5abb4b8c-860c-4753-83bc-e791ebe968e0)


### Current vs. Expected behavior

I waited for it to be fixed in the latest Canary version, but the result is the same. While 2 fixed styles were added in Nextjs 13.5.6, the proliferation continues in later versions.

### Verify canary release

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

### Provide environment information

```bash
Copyright (C) Microsoft Corporation. All rights reserved.
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.0.4-canary.16
  eslint-config-next: 14.0.4-canary.16
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Not sure

### Additional context

I'm running it locally, I haven't distributed it anywhere.
Repository: TypeScript
Issue: JSDoc 'values as type' without 'typeof' show up as unresolved when hovering over them.
Labels: Bug,Help Wanted,Effort: Moderate,Domain: Quick Info

### 🔎 Search Terms

jsdoc unresolved

### 🕗 Version & Regression Information

- This is the behavior in every version I tried, and I reviewed the FAQ for entries about 'unresolved'

### ⏯ Playground Link

https://www.typescriptlang.org/play?strictNullChecks=true&noUncheckedIndexedAccess=true&noUnusedLocals=true&noUnusedParameters=true&useUnknownInCatchVariables=true&exactOptionalPropertyTypes=true&noFallthroughCasesInSwitch=true&noImplicitOverride=true&noPropertyAccessFromIndexSignature=true&ts=4.5.5&filetype=js#code/GYVwdgxgLglg9mABMOcAUBKRBvAUASACcBTKEQpPffAQwC5EpCRiAaAgX1y9wHoAqfogACUAJ4AHYgBNiwHACVS5MABVJxADwo4APg6IAYqiVkKifrz69Etu-YePbAPVfWnDgBJwAbsUKIYnDkiBDkAM5wAb7+iADkOnG4yQJCohqy8tg6BsZwAMowAOZgNGbEFla8Nh52rs7u9vk0ALYVAO4wUAAWjN0w4YgIxMnuAKrhMGBF8eJScMBxyDAAHsSDPRUD4Sx0fIIiczJyOEcLyKgG6vPAeYUlZeQVlkA

### 💻 Code

```js
function foo() {
	return {
		a: true,
	}
}

/** @typedef {ReturnType<foo>} FooReturn */
//                       ^^^
//            Hover your cursor over 'foo'


/** @typedef {foo} FooSignature */
//            ^^^
//     Same with this one


// Using 'typeof' fixes the issue:
/** @typedef {typeof foo} TypeofFooSignature */
```


### 🙁 Actual behavior

Hovering over `foo` shows the tooltip as `type foo = /*unresolved*/ any`.
Hovering over `FooReturn` shows that the type has in fact resolved correctly.

### 🙂 Expected behavior

The tooltip shows the correctly resolved type.

### Additional information about the issue

When TypeScript files are used, an error is emitted when using this approach:
```ts
type FooReturn = ReturnType<foo>;
//                          ^^^
//     TS2749: 'foo' refers to a value, but is being used as a type here.
```

And the fix is to use `ReturnType<typeof foo>`.
The same fix works in the JSDoc example as well.

[Typescript equivalent for reference](https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABMOcAUBKRBvAUASACcBTKEQpPffAQwC5EpCRiAaAgX1y9ygE8ADsUQAxVACVS5JAF5EkshQAqg4gB4UcAHwBuXAHp9iYydNnzZgHrWDRi-eMBRQoTiEAzohqfiADyHQxAAmuLyqiADiqEFicArSiHLxyqpq-EJwwMiourYO+QXWRZZ5BWYAcjSKNAA2NXysiCDuMGAA5oyqmcgwvsSeUAAWMO4AdLhAA)
Repository: godot
Issue: Godot 3 to 4 converter algorithm can't convert some properties of CPUParticles2D
Labels: enhancement,topic:particles

### Godot version

4.1.3

### System information

Windows 7

### Issue description

When I migrated my project from Godot 3 to 4 and chose "Convert full project", some properties of my CPUParticles2D node were lost:
1. In Godot 4 these new parameters - `initial_velocity_max` and `initial_velocity_min` were set to 0. It is wrong. They must be calculated using this formula: `initial_velocity_max = a+a*b` and `initial_velocity_min = a-a*b`(a - initial_velocity, b - initial_velocity_random). Otherwize particles won't work as expected(like in Godot 3)
2. `linear_accel_curve` doesn't affect particles in Godot 4 when converted from Godot 3. Because `linear_accel_min` and `linear_accel_max` are set to 0. For proper work they should be set to 1 and particles will behave as they worked in Godot 3. I think that algorithm should automatically set these values to 1 if `linear_accel_curve != null`.
Hope it will helps to fix the conversion algorithm of Godot 4.

### Steps to reproduce

1. In Godot 3 create a CPUParticles2D node
2. Set `initial_velocity` and `linear_acceleration_curve`.
3. Import this project in Godot 4.
4. Choose "Full Conversion" in Godot 4 Conversion window.
5. Look at particles work.

### Minimal reproduction project

n/a
Repository: vscode
Issue: Git - Docs for commiting via multi-line git are unclear on how to finish the commit
Labels: git,ux,under-discussion

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 
- OS Version: 

Steps to Reproduce:

1. Open the git view in vscode (ctrl-shift-G) (assuming you are working within a Git repo)
2. Click on the commit button to reveal the multiline commit message editor.
3. Fill in your multi-line message for the commit.
4. Save the editor (nothing seems to happen except the usual save action)
5. There is no UI clue that tells you that you can/must close the editor to submit the commit message to finish the commit.  The docs don't seem to call this out either.  Took me a long time before I realized I could finish the commit this way.
Repository: angular
Issue: docs: describe how to create server-side only services
Labels: area: server,P3,area: docs

### Which @angular/* package(s) are relevant/related to the feature request?

platform-browser, platform-server

### Description

As a developer, I would need a service to be injected and executed only on the server side as it contains a connection Token in the request URL.

### Proposed solution

To define Injectable parameters you can define a platform where you would like a service to be injectable: server or browser

### Alternatives considered

For the moment I'm using StateTransfer, to provide data, but still the service with a secure token is present the browser bundle, where I have a token exposed
Repository: PowerToys
Issue: Fancy Zones forgets overlayed apps after switching desktop and returning
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Microsoft PowerToys version

0.75.1

### Installation method

PowerToys auto-update, Microsoft Store

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce
I am running the latest version of Windows as of 2023-11-25 on a laptop with an external monitor and four desktops set up. I am currently using fancy zones on desktop 2.

Set up fancy zones with two zones on the screen.
Position two applications in each zone.
Click in one app to make that window active.
Verify that Win+PgUp or Win+PgDn cycles between apps in that zone.
Click in the other zone and verify that Win+PgUp works in that zone.
Press Ctl+Win+LeftArrow OR Ctl+Win+RightArrow to change desktops.
Repeat to get back to the desktop with the fancy zones.
Click on one of the zone's apps
Verify that Win+PgUp or Win+PgDn cycles between apps in that zone. IT WON'T

I have found the behavior to be erratic. Sometimes one zone will stop allowing Win+PgUp to cycle through superimposed apps while another zone still works. I have 4 desktops. It sometimes seems that moving to desktop 1 and then back to 2 breaks fancy zones while moving to desktop 3 and back to 2 doesn't. 

I've verified that the problem also exists when using the Windows 11 taskbar desktop icon to change desktops.

### ✔️ Expected Behavior

fancy zones to maintain the ability to switch between multiple apps placed in one zone with the Win+PgUp keystroke.

### ❌ Actual Behavior

It doesn't work.

### Other Software

Typora
Logos
Repository: stable-diffusion-webui
Issue: [Bug]: cant add specific checkpoint to the api img2img
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 have been using the api of img2img sdv1 and getting result not same as webui even if i set all same one to one, 
Two questions:
1- is there a way i can extract all settings to json that i can use it directly to the api?
2- where I can use my checkpoint and what structure? I mean in the json of the img2img not working for me. Or even not to json to text or anything that i can read and fill.
Thanks everyone for helping 

### Steps to reproduce the problem

1. Go to stable diffusion api
2. Find the sd v1 img2img
3. use the json as api
4. Find the checkpoint (its missing)


### What should have happened?

To see result same as the webui and using the checkpoint (img2img with mask)

### Sysinfo

I9, rtx 3080, Windows, using python request 

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

Google Chrome

### Console logs

```Shell
No errors
```


### Additional information

I prefer a example please how i can use that and i think maybe i need to extract the default webui settings and put it in the api but i cant find it
Repository: go
Issue: x/tools/gopls: autocompletion and highlighting for template variables, like GoLand's gotype
Labels: FeatureRequest,gopls,Tools

### gopls version

v0.14.2

### go env

```shell
$ go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/redacted/Library/Caches/go-build'
GOENV='/Users/redacted/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/redacted/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/redacted/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/redacted/project/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/k3/11fb815x3wv5ykpbf2mq_7600000gn/T/go-build1447506697=/tmp/go-build -gno-record-gcc-switches -fno-common'
```


### What did you do?

Configured VSCode to support Go templates with gopls.

### What did you expect to see?

A way to tell `gopls` the types of my template variables, and have those types reflected in highlighting and autocomplete. GoLand does this with comments (ref https://www.jetbrains.com/help/go/integration-with-go-templates.html). I think the comments are slightly ugly, so not sure how to address that. Having a way for my custom template functions to work too would be great but isn't as critical.

Besides being good for DX, I think this could catch a ton of typing errors in templates. I currently use https://github.com/jba/templatecheck for that in tests, but that won't help me when viewing/writing tempalte code.

This was referenced in this issue by @a-h : https://github.com/golang/go/issues/36911, but wasn't really followed up on, which is why I'm filing this feature request.

### What did you see instead?

No highlighting or autocomplete for template variable types. Hovering over template variables or functions just says `field or method`.

### Editor and settings

VSCode with this config:

```
{
    "gopls": {
         "build.templateExtensions": ["gtpl"],
         "ui.semanticTokens": true
    },
    "files.associations": {
        "*.gtpl": "gotmpl"
    }
}
```

### Logs

_No response_
Repository: TypeScript
Issue: New inlay hint implementation after v5.3 can appear too long
Labels: Needs Investigation

### 🔎 Search Terms

inlay hint

### 🕗 Version & Regression Information

- This changed in PR #55141

### ⏯ Playground Link

_No response_

### 💻 Code

_No response_

### 🙁 Actual behavior

![image](https://github.com/microsoft/TypeScript/assets/61955474/654e1cee-b7c9-4425-8dfa-acc1dd7e31e9)

After typescript 5.3, inlay hint does not cut off after 30 characters and can be absurdly long.

### 🙂 Expected behavior

![image](https://github.com/microsoft/TypeScript/assets/61955474/97141e2e-be32-48e7-bd79-72f2c6b58daf)

When tested on typescript 5.2, it works fine.

### Additional information about the issue

_No response_
Repository: rust
Issue: Could `unused_imports` be suppressed when there are name resolution failures?
Labels: A-diagnostics,T-compiler,D-verbose

### Code

```Rust
use std::ops::ControlFlow::{self, Continue, Break};
use std::cmp::Ordering::*;

#[inline]
fn chain_less(a: &u32, other: &u32) -> ControlFlow<bool> {
    match a.partial_cmp(other) {
        None => Break(false),
        Some(Less) => Break(true),
        Some(Equal) => Contine(()),
        Some(Greater) => Break(false),
    }
}
```


### Current output

```Shell
warning: unused import: `Continue`
 --> src/lib.rs:1:35
  |
1 | use std::ops::ControlFlow::{self, Continue, Break};
  |                                   ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0425]: cannot find function, tuple struct or tuple variant `Contine` in this scope
 --> src/lib.rs:9:24
  |
9 |         Some(Equal) => Contine(()),
  |                        ^^^^^^^ help: a tuple variant with a similar name exists: `Continue`
 --> /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/ops/control_flow.rs:89:5
  |
  = note: similarly named tuple variant `Continue` defined here

For more information about this error, try `rustc --explain E0425`.
```


### Desired output

```Shell
error[E0425]: cannot find function, tuple struct or tuple variant `Contine` in this scope
 --> src/lib.rs:9:24
  |
9 |         Some(Equal) => Contine(()),
  |                        ^^^^^^^ help: a tuple variant with a similar name exists: `Continue`
 --> /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/ops/control_flow.rs:89:5
  |
  = note: similarly named tuple variant `Continue` defined here
```


### Rationale and extra context

repro: <https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=efc0eb84c1ba836842fbb5c05d36f6ba>

When I got the import correct, but typo'd it in the use, it would be nice if the compiler didn't complain about the unused import.

(From a layman's perspective, it also feels weird that it's reported as unused before the errors in the code that are looking up names, even though I guess from an implementation perspective it's reasonable that a token that doesn't appear again and isn't a trait is of course unused without needing to do lookup.)


### Other cases

_No response_

### Anything else?

_No response_
Repository: rust
Issue: Provide a way for derives to know if they were invoked with `#[derive_const]`
Labels: C-enhancement,A-trait-system,A-macros,T-libs-api,T-compiler,S-blocked,F-const_trait_impl,WG-macros,PG-const-traits

As part of #67792, `#[derive_const]` is the current way to indicate that a derive should be `impl const Trait` rather than `impl Trait`. However, this only works for built-in macros. It should be possible for end-user proc macros to know if they were invoked with `#[derive_const]`, permitting the derive to emit the appropriate code.

In my opinion, this could be an opaque type provided as an additional parameter to the derive implementation. That type would have methods to obtain constness and any other future extension (i.e. effects).

cc @fee1-dead per [this Zulip comment](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/.22collaborator.22.20status.3F/near/404148155).

@rustbot label +A-proc-macros +C-enhancement +F-const-trait-impl +T-libs-api
Repository: neovim
Issue: TUI: load custom terminfo for Windows builds
Labels: bug,platform:windows,environment,tui,complexity:low,has:plan

### Problem

Using wezterm on Windows with `config.term = "wezterm"` results in the cursor not correctly switching between block and line in modes, among other typical terminal misconfigurations.

Updating `TERM` to contain `xterm-256color` partially fixes the problem.

Looking in the terminal docs, they describe being able to use a terminfo file to extend Neovims understanding of terminal capabilities, however files under ~/.terminfo are apparently not loaded. I looked in https://github.com/mauke/unibilium/blob/master/uniutil.c#L174 and attempted to set `TERMINFO` and `HOME` to appropriate values, but had no success.

It is unclear how to solve this problem cleanly, it appears the docs do not cover Windows build behaviors.

### Steps to reproduce

winget install wez.wezterm

In ~/.wezterm.lua:
```
local wezterm = require("wezterm")
local config = {}
config = wezterm.config_builder()
config.term = "wezterm"
```

Start nvim. Enter insert mode, observe cursor does not change modes.

Open `help term`, observe references to removed legacy feature `ttybuiltin`.

Open `help startup-terminal`, observe that while there is a description that a terminfo database will be used if available, and Unibilium is the library in use, attempts to install a terminfo database along with setting `HOME`, `TERMINFO` or `TERMINFO_DIRS` fail to load a terminfo to address the problem. There is no further description of the apparent difference in configuration on Windows, nor any way to add to or influence or even use members of the builtin mapping.

### Expected behavior

- A mapping of TERM=wezterm to xterm-256color until there is builtin terminfo for this terminal
- Documentation as to how terminfo can be configured on Windows
- Neovim on Windows running under Wezterm has functional title sets, cursor changes, and so on.

### Neovim version (nvim -v)

NVIM v0.9.4

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

unknown

### Operating system/version

Windows 11

### Terminal name/version

wezterm 20230712-072601-f4abf8fd

### $TERM environment variable

wezterm

### Installation

repo
Repository: go
Issue: x/pkgsite: unreadable links in deprecated sections in dark mode 
Labels: help wanted,pkgsite

### What is the URL of the page with the issue?

https://pkg.go.dev/io/ioutil

### What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

### Screenshot

![image](https://github.com/golang/go/assets/11348778/43ebe5a6-af66-44f4-9ce2-5a9f33e6e346)


### What did you do?

Visited documentation for io/ioutil pkg.

### What did you expect to see?

Readable links.

### What did you see instead?

Unreadable links.