sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: storybook
Issue: Custom icon font name mapping
Labels: feature request,needs triage

**Is your feature request related to a problem? Please describe**
I've got a project (Quasar, Vue-3) with custom icons, generated on IcoMoon. In Quasar it is possible to map the icon names so that someone can use it just like any other icon library like this:
`<q-icon name="dt: message-okay"" />`
instead of using it as a class
`<q-icon class="dt-icon-font df-late-shift" />`

The mapping happens in the App.vue and looks like this:
```  
$q.iconMapFn = iconName => {
      if (iconName.startsWith('dt:')) {
        const name = iconName.substring(4);
        return {
          cls: 'dt-icon-font df-' + name
        };
      }
    };
```

Unfortunately in Storybook these icons wont render properly.


**Describe the solution you'd like**
Some way to render custom icons correctly or do the mapping in storybook/react.

**Are you able to assist to bring the feature to reality?**
yes, maybe if someone could lead me in the right direction.

I quickly created a minimal setup with these custom icons and the mapping of Quasar:
[Minimal Setup to Test](https://github.com/Davo911/MinimalCustonIconExample)
Repository: rust
Issue: Document FAQ why we have both PartialEq and Eq in PartialEq
Labels: A-docs,T-libs

The title says it all. It's a frequently asked question; most recently on [reddit](https://www.reddit.com/r/rust/comments/t8d6wb/why_does_rust_have_eq_and_partialeq/). It'd be nice if we could link to the standard library docs to answer this.
Repository: go
Issue: cmd/compile: suggest clearer error regarding when a non-pointer type cannot be used as type parameter
Labels: NeedsInvestigation,compiler/runtime

Consider this example:

```go
package main

type C interface {
	Foo()
	Bar()
}

type A struct{}

func (a A) Foo() {}
func (a A) Bar() {}

type B struct{}

func (b B) Foo()  {}
func (b *B) Bar() {}

func Want[T C]() (x T) { return }

func main() {
	Want[A]() // OK
	Want[B]() // ERROR
}
```

We may consider A and B both implements C. But the code produces error:

```
B does not implement C (Bar method has pointer receiver)
```

<details><summary>After parse the spec (precise but complex):</summary><br>
According to the spec (https://tip.golang.org/ref/spec#Implementing_an_interface) regarding the definition of a type `T` implements interface `I`:

```
A type T implements an interface I if
T is not an interface and is an element of the type set of I; or...
```

Type set describes:

```
... an interface specifies a (possibly empty) list of methods. 
The type set defined by such an interface is the set of types which
implement all of those methods, and the corresponding [method set](https://tip.golang.org/ref/spec#Method_sets) consists exactly of
the methods specified by the interface.
```

Method set describes: 

```
The method set of a pointer to a defined type T (where T is neither
a pointer nor an interface) is the set of all methods declared with
receiver *T or T.
```

The preceived understanding is:

Let `T` be a struct type. A pointer (`*T`) to a defined type `T`. Since `T` contains a set of methods (`I`) declared with receiver `*T` or `T`, hence `I` is a type set, and `*T` is an element of the type set `I`.
</details>

It is clear that only a pointer type is an element of a type set `C` (which is a method set with receiver `*T` or `T`), but this observation is much less intuitive to be aware in the beginning.

Maybe a more clear error message might be:

```
B does not implement C because B has a pointer receiver method (*B).Bar(),
and only *B can be used as a type parameter of C.
```

Previously related #44201
Repository: go
Issue: proposal: x/arch/arm64/arm64asm: all fields of potential Args structs should be exported
Labels: Proposal,Proposal-Hold

### What version of Go are you using (`go version`)?

<pre>
$ go version
go1.17.7
</pre>

### Does this issue reproduce with the latest release?

Yes.

### What did you do?

I would like to programmatically access all fields of the arm64 disassembler Instruction Args.

``` go
	code := []byte{0x01,0xd4,0x43,0xf9} // LDR X1, [X0,#1960]
	inst, _ := arm64asm.Decode(code)
	fmt.Printf("opcode: %#v\n", inst)
	// arm64asm.Inst{Op:0xb1, Enc:0xf943d401,
	//	Args:arm64asm.Args{0x21, arm64asm.MemImmediate{Base:0x20, Mode:0x3, imm:1960},
	//	arm64asm.Arg(nil), arm64asm.Arg(nil), arm64asm.Arg(nil)}}

	// like to extract the offset
	arg := inst.Args[1].(arm64asm.MemImmediate)
	fmt.Printf("argument: %#v\n", arg)
	// arm64asm.MemImmediate{Base:0x20, Mode:0x3, imm:1960}
	//fmt.Printf("offset: %x\n", arg.imm) // error: "cannot refer to unexported field or method imm"
```

### What did you expect to see?

To be able to access programmatically instruction arguments. This would be consistent with the other disassemblers: x86, arm32 and ppc. All of them have all `Args` field exported (or be typedef to a basic type). It seems arm64 is the only exception where some fields are not exported.

### What did you see instead?

Build error, as several fields are unexported.

Change https://go.dev/cl/388714 contains suggested change.
Repository: PowerToys
Issue: Add how to fully remove PowerToys (and the settings) to the docs
Labels: Issue-Docs

### Provide a description of requested docs changes

Add how to fully remove PowerToys (and the settings) to the docs. Including cleanup `%programfiles%\PowerToys` and `%localappdata%\Microsoft\PowerToys` (and etc if I am missing anything(.
Repository: TypeScript
Issue: `arguments` should not be allowed class static block
Labels: Bug,Help Wanted,Effort: Moderate

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms
arguments class static block error 

<!--
  What search terms did you use when trying to find an existing bug report?
  List them here so people in the future can find this one more easily.
-->

### 🕗 Version & Regression Information

<!-- When did you start seeing this bug occur?

"Bugs" that have existed in TS for a long time are very likely to be FAQs; refer to
  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

If possible, please try testing the nightly version of TS to see if it's already been fixed.
For npm: `typescript@next`
This is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly

Note: The TypeScript Playground can be used to try older versions of TypeScript.

Please keep and fill in the line that best applies:
-->
- This is the behavior in every version I tried

### ⏯ Playground Link

<!--
  A link to a TypeScript Playground "Share" link which shows this behavior

  The TypeScript Workbench can be used for more complex setups, try
  https://www.typescriptlang.org/dev/bug-workbench/

  As a last resort, you can link to a repo, but these will be slower for us to investigate.
-->
[Playground link with relevant code](https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABAEQMwAoCUiDeBYAKEUQCcBTKEEpCAGwEMBnRxAFV0OOMantgg5EuxAO4ALGLTLoAjNnxDhxeiQDmIALZkwUFgHo9iRmLghaAE0RkSJOCU5KAvg+LOhbx0A)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
function D3() {
  return class T {
    static {
      while(1) {
        arguments // should error
      }
    }
  }
}
```

### 🙁 Actual behavior

<!-- What happened, and why it was wrong -->
no error reported.

### 🙂 Expected behavior
a syntax error should be reported.

![image](https://user-images.githubusercontent.com/6630042/157023408-3078f8d1-2ab9-496e-8639-8476d44456a8.png)


related to #44269
Repository: TypeScript
Issue: The generic default value prevents automatic prompting
Labels: Suggestion,Domain: Completion Lists,Experience Enhancement

# Bug Report

<!--
  Please fill in each section completely. Thank you!
-->

### 🔎 Search Terms

property prompt

### 🕗 Version & Regression Information

4.6.2

### ⏯ Playground Link

[Playground link with relevant code](https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEAzArgOzAFwJYHtVLTAB4AVAESgynhAA8MRVgBneABVmygiIG95UUALYgAXPGYYYWVAHMA3PCiyxA5EIBGIGPAC+APn0AKHBoBW4-sEpQA-OPI29ASnEA3HFmAAoUJFgIKOjYeAToAIykFFQ09Iws7JxY3HwCwqqS0nKKyqqo6lo6BvAAvPC8uvDGphbl8NZU9vCOMbqu8B5e3kFgRrze8IP1NpYDQ+OCIuIAROEATADM0wA0Y+ODueLh8AD0O-AA6gAWjPAAkjSoDDoYJxLgeMBKGFJYGsgMy-C32ghYrNREFgQBAngAHGA4IRgjBrPSrNrybzdQjhPpwhpQUbrIaTVQAcnC+NWOI2Ki2u32x1OF0Y12+d2YDyYz1e70+DN+8H+AhwSGBoPgEKhMLhugRziR3iAA)

### 💻 Code

<!-- Please post the relevant code sample here as well-->
```ts
declare function func<TData extends Partial<{ name: string; age: number }>>(obj: { data?: TData }): void
declare function func1<TData extends Partial<{ name: string; age: number }> = {} >(obj: { data?: TData }): void
func({
    data: {
        name: "123",
        age: 1 // When I enter the second attribute, there is a field prompt
    },
});

func1({
    data: {
        name: '1',
        age: 1 // When I enter the second attribute, there is no field prompt
    },
});


```

### 🙁 Actual behavior

The generic default value prevents automatic prompting

### 🙂 Expected behavior

The attribute prompt is displayed correct
Repository: ant-design
Issue: Different Display of Typography in multiple Viewpoints
Labels: Inactive

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
The use case is that a customer can visit a website on a desktop computer or a mobile device.
By the different display size a font can seen to the user smaller or bigger, by the same font-size.
If the font is too big or to small a user group can not really see the text content.
To optimize the read experience for the user i would add variables to the default.less to customize the size by using this variables.
As default i would like, that the current behavour is still the same to prevent conflicts for other programmers by an update.


### What does the proposed API look like?
API of the Title Component:
https://ant.design/components/typography/#Typography.Title

Variables:
https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less

Example for the h1-Tag:
```
@heading-1-size: ceil(@font-size-base * 2.71);
@heading-1-xs-size: @heading-1-size;
@heading-1-sm-size: @heading-1-size;
@heading-1-md-size: @heading-1-size;
@heading-1-lg-size: @heading-1-size;
@heading-1-xl-size: @heading-1-size;
@heading-1-xxl-size: @heading-1-size;
```


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: material-ui
Issue: [Alert] Add a dense/small variant
Labels: new feature,component: alert

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Based on the docs currently it's not possible to have a small/large Alert component and I didn't find a simple way to customize the appearance. A new preset or a "complete" customization example would be nice

### Examples 🌈

_No response_

### Motivation 🔦

_No response_
Repository: rust
Issue: stdlib makes assumptions about errors returned by POSIX functions
Labels: A-concurrency,A-error-handling,T-libs

Split off from https://github.com/rust-lang/miri/pull/1981#discussion_r820782765

For example, we assume that the return value of `pthread_rwlock_rdlock()` is either 0, `EAGAIN`, or `EDEADLK`: https://github.com/rust-lang/rust/blob/ac470e95852336172197810a9a4f6d2e8c8b6574/library/std/src/sys/unix/rwlock.rs#L51-L54

And that's kinda what POSIX documents: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_rwlock_rdlock.html

> ### RETURN VALUE
> 
> If successful, the *pthread_rwlock_rdlock()* function shall return zero; otherwise, an error number shall be returned to indicate the error. ...
>
> ### ERRORS
>
> ... The *pthread_rwlock_rdlock()* and *pthread_rwlock_tryrdlock()* functions may fail if:
>
> [EAGAIN]
>     The read lock could not be acquired because the maximum number of read locks for rwlock has been exceeded.
>
> The *pthread_rwlock_rdlock()* function may fail if:
>
> [EDEADLK]
>     A deadlock condition was detected or the current thread already owns the read-write lock for writing.
>
> These functions shall not return an error code of [EINTR].

But the thing is, POSIX error sections are not exhaustive: https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_03

> Implementations may generate error numbers listed here under circumstances other than those described, if and only if all those error conditions can always be treated identically to the error conditions as described in this volume of POSIX.1-2017. Implementations shall not generate a different error number from one required by this volume of POSIX.1-2017 for an error condition described in this volume of POSIX.1-2017, but may generate additional errors unless explicitly disallowed for a particular function.

And even the docs for that function mention "shall not return an error code of [EINTR]" rather than "shall not return any other error code".  So unless there's limits documented elsewhere, I don't think it's sound to assume that there can't be another error code returned from these functions.

CC: @RalfJung 

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: godot
Issue: on Android ,File Class use [seek] function ,need so long time!!!!
Labels: platform:android,topic:porting,documentation

### Godot version

3.4.3

### System information

Android

### Issue description

i build a Android Project,
my Game need to read bin File,
if i use File class and use seek function, the function is need so long time, my game is no response.

### Steps to reproduce

Build Android Project,  use File class to read binFile,   
var _fp = File.new()
_fp.open("xxxx",Read)
_fp.seek(5000)   <----  need so long time

### Minimal reproduction project

_No response_
Repository: yt-dlp
Issue: [BBC iPlayer] Not downloaded with the tag "Signed"
Labels: site-bug

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2022.02.04**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Description

The problem with the video is marked on the site as "This is a Signed version of this program. In the browser this program is playing normally. Other programs without the "Signed" mark are downloading without any problems.

### Verbose log

```shell
[debug] Command-line config: ['--cookies-from-browser', 'firefox:1q9pamb6.TunnelBears', '--add-metadata', '--add-chapters', '--extractor-retries', '1000', '-R', '1000', '--write-subs', '--sub-format', 'ttml', 'https://www.bbc.co.uk/iplayer/episode/m000slpt/gardeners-world-winter-specials-episode-3', '-vU']
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\glock\AppData\Roaming\Mozilla\Firefox\Profiles\1q9pamb6.TunnelBears\cookies.sqlite"
[Cookies] Extracted 655 cookies from firefox
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, err utf-8, pref cp1251
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_dir)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 2022-02-17-git-2812508086-full_build-www.gyan.dev (setts), ffprobe 2022-02-17-git-2812508086-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)
[debug] [bbc.co.uk] Extracting URL: https://www.bbc.co.uk/iplayer/episode/m000slpt/gardeners-world-winter-specials-episode-3
[bbc.co.uk] m000slpt: Downloading video page
[bbc.co.uk] m000slpt: Downloading playlist JSON
ERROR: local variable 'programme_id' referenced before assignment
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1381, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1451, in __extract_info
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\bbc.py", line 580, in _real_extract
  File "yt_dlp\extractor\bbc.py", line 477, in _download_playlist
UnboundLocalError: local variable 'programme_id' referenced before assignment
```
Repository: pytorch
Issue: [FSDP][BE] TestAutoWrap should inherit from MultiProcessTestCase
Labels: oncall: distributed,triaged,better-engineering,module: fsdp

### 🚀 The feature, motivation and pitch

Since it currently does not, skip decorators such as `skip_if_lt_x_gpu(2)` are not properly handled which was discovered as a part of https://github.com/pytorch/pytorch/pull/73687. 

### Alternatives

_No response_

### Additional context

_No response_

cc @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: godot
Issue: Sorting Variant arrays is not stable
Labels: bug,discussion,topic:core,confirmed

### Godot version

v4.0.alpha3.official [256069eaf]

### System information

Windows 10

### Issue description

Documentation does not forbid using `sort` method with Variant arrays. Variant arrays can be sorted, but the results are random and no error messages are shown.

As the Variants cannot be sorted in a meaningful way, I think this situation should be considered as an error and the array should not be changed at all.

I did not found out why sometimes Variant array is changed and sometimes it is not.

Output of test code:
![kuva](https://user-images.githubusercontent.com/49998025/157119244-4dc6eb8d-877d-45ba-a05a-c45d325079d7.png)
No errors:
![kuva](https://user-images.githubusercontent.com/49998025/157119268-9004a427-631a-4b21-86a9-c4b6b75c9384.png)



### Steps to reproduce

```gdscript
func test():
	# 1) array is changed, but not really sorted
	var arr1 = ["5", 4, 7, "3", 9]
	print(arr1)
	arr1.sort()
	print(arr1)

	# 2) array is not changed at all
	var arr2 = [{"foo": 5, "bar": 2}, 6, {"foo": 4, "bar": 2}, "hello"]
	print(arr2)
	arr2.sort()
	print(arr2)
```


### Minimal reproduction project

_No response_
Repository: pytorch
Issue: operation not supported crash when initializing RPC tensorpipe
Labels: high priority,triage review,oncall: distributed,module: crash,triaged

### 🐛 Describe the bug

To reproduce,  install fairscale + pt from source and run this test:

```
python -m pytest tests/nn/data_parallel/test_fsdp_with_checkpoint_wrapper.py::test_train_and_eval_with_checkpointing -v -rP
```

results in the following


```
E           return backend.value.init_backend_handler(*args, **kwargs)
E         File "/fsx/users/rvarm1/rvarm1/repos/pytorch/torch/distributed/rpc/backend_registry.py", line 299, in _tensorpipe_init_backend_handler
E           api._init_rpc_states(agent)
E         File "/fsx/users/rvarm1/rvarm1/repos/pytorch/torch/distributed/rpc/api.py", line 114, in _init_rpc_states
E           _set_and_start_rpc_agent(agent)
E       RuntimeError: In operator() at tensorpipe/common/ibv.h:172 "": Operation not supported
```

### Versions

main for both fairscale and PT

cc @ezyang @gchanan @zou3519 @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @SciPioneer @H-Huang
Repository: ant-design
Issue: Vertical gutter is not working properly
Labels: 🐛 Bug,Inactive,🚌 External Dependency,IE | Firefox | Safari

- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/antd-reproduction-template-forked-zjk7ds?file=/index.js)

### Steps to reproduce
1. use non-zero vertical gutter on a Row
2. place multiple Rows in sequence

### What is expected?
Spacing between rows is equal to the vertical gutter used

### What is actually happening?
No space is inserted between rows.

| Environment | Info |
|---|---|
| antd | 4.18.9 |
| React | 17.0.2 |
| System | macOS Monterey 12.1 |
| Browser | Chrome 98.0.4758.109   Safari 15.2 (17612.3.6.1.6) |

---
There seems to be a bug [1] in newer version of `antd` causing vertical
gutter spacing to not work properly.

See these screencasts for an illustration; when I move the slider to
change the vertical gutter, the space between all the rows should change:
  - https://cln.sh/xfpdZ4 (Chrome)
  - https://cln.sh/sq4RGF (Safari)

The underlying cause appears to be the following: `antd` is now using
the CSS property "row-gap" [2], but they appear to be using it
incorrectly. They are setting the "row-gap" property on the invidiual
<Row> `div`, but as in the MDN example below it appears that it should
be set on the *container*. It also appears that the "dispaly: grid"
style should be set on the container.

In a comment on the bug [3], a maintainer of `antd` suggests hacking
a function to turn off this behavior and get the old padding-based
row spacing behavior back. We've done this, but would like to NOT 
resort to a hack if possible.

[1] https://github.com/ant-design/ant-design/issues/29250
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/row-gap
[3] https://github.com/ant-design/ant-design/issues/29250#issuecomment-850090050


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: svelte
Issue: Use alternate in and out transition values using an array
Labels: feature request,transition/animation

### Describe the problem

Transitions are wonderful but get a bit difficult to work with when you need them to be very similar but slightly different during the in transition vs. the out.

### Describe the proposed solution

A solution that several libraries have used prior is to optionally take an array that contains two values where the first will be used during the in transition and the second is used during the out transition. Here's an example

```svelte
<script>
    import { scale} from 'svelte/transition';
    import { quintIn, quintOut } from 'svelte/easing';
</script>

<article transition:scale={{ duration: 500, start: 0.5, opacity: 0.5, easing: [quintOut, quintIn] }}>
    Content goes here...
</article>
```

In this example, the `quintOut` easing would be applied during the in transition and the `quintIn` easing would be applied during the out transition.

### Alternatives considered

You already can do this by using the `in` and `out` transition directives but it leads to a lot more (repetitive) code. Here's how you would implement this in modern svelte:

```svelte
<article in:scale={{ duration: 500, start: 0.5, opacity: 0.5, easing: quintOut }} out:scale={{ duration: 500, start: 0.5, opacity: 0.5, easing: quintIn }}>
    Content goes here...
</article>
```

### Importance

would make my life easier