sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: ant-design
Issue: [Table] Inconsistent behavior when setting pagination.total to a value less than dataSource.length
Labels: Inactive

- [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/table-paginationtotal-7qx51)

### Steps to reproduce
Enter the reproduction link.

### What is expected?
`showTotal` should have same behaviour, either shows the value we set or shows `dataSource.length`

### What is actually happening?
when `total` sets to `0`, it shows the `dataSource.length`, while `total` sets to `1`, it shows `1`

| Environment | Info |
|---|---|
| antd | 4.10.2 |
| React | react |
| System | macOS Catalina 10.15.4 |
| Browser | Chrome 86.0.4240.111 |


<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: opencv
Issue: [Feature Request] - GPU implementation of HDR algorithms
Labels: category: photo,incomplete

Currently photo module have plenty of tonemapping and HDR algorithms but there is no GPU implementation. These algorithms are highly parallelizable and CUDA implementation can be much more faster than CPU implementation. The demand for this feature is demonstrated by these questions:

- https://stackoverflow.com/questions/61752270/how-to-generate-hdr-images-using-the-graphics-card-in-python
- https://answers.opencv.org/question/45387/hdr-imaging-gpu/
- https://answers.opencv.org/question/222780/real-time-hdr/
- https://answers.opencv.org/question/222761/how-to-speed-opencv-createmergemertens-function/
Repository: go
Issue: x/build/cmd/coordinator: add ability to auto-add slowbots based on filepaths modified in a CL
Labels: Builders,NeedsInvestigation,FeatureRequest

On the dev.regabi branch, there's naturally a lot of development happening related to the regabi experiment. It would be nice if the linux-amd64-regabi slowbot was automatically included in Trybot runs for that branch.

Similarly, a lot of this work is happening in the SSA backend, and concurrency issues here are only caught on the linux-amd64-racecompile slowbot. It would be nice if this slowbot could either also be added by default for dev.regabi, or maybe for all CLs that touch src/cmd/compile.

I've broken these builders 3 times in the past ~week. :grimacing: 

/cc @dmitshur
Repository: bitcoin
Issue: wallet: balance gone when tx broadcast failed
Labels: Bug,Wallet

on BTC mainnet. I set the txfee as minimal (custom `0.00001` per kilo) and it failed. The problem is displaying my balance as `0` (on QT GUI side) until abandon this tx. I was very scared.

v0.20.1

```
2021-01-15T09:26:27Z [default wallet] AddToWallet xxx  new
2021-01-15T09:26:28Z [default wallet] Submitting wtx xxx to mempool for relay
2021-01-15T09:26:28Z [default wallet] CommitTransaction(): Transaction cannot be broadcast immediately, mempool min fee not met, 142 < 152
2021-01-15T09:29:10Z [default wallet] Fee Calculation: Fee:17407 Bytes:142 Needed:17407 Tgt:0 (requested 0) Reason:"PayTxFee set" Decay 0.00000: Estimation: (-1 - -1) -nan% 0.0/(0.0 0 mem 0.0 out) Fail: (-1 - -1) -nan% 0.0/(0.0 0 mem 0.0 out)
```
Repository: flutter
Issue: AnimatedList doesn't animate items when inserting or removing to an index that is offscreen.
Labels: framework,f: scrolling,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework

Hi there,
I have found that AnimatedList doesn't animate items when inserting or removing to an index that is offscreen, i.e. when the surrounding widgets are destroyed (and the widget itself when removing it).

Here is a dartpad to explain:
https://dartpad.dev/3b8f07c4148c78a9284c7806a0608872?
(Please note that this isn't my code, I am having the same issue in my app, this code is from https://medium.com/flutter-community/updating-data-in-an-animatedlist-in-flutter-9dbfb136e515)

Steps to reproduce:
- Click 'insert single item' 12 times.
- Scroll to bottom
- Click 'insert single item' once
And observe how the behavior is identical to a normal ListView, no animation.

Any help is appreciated!
Repository: rust
Issue: Incorrect inference in closure leading to confusing error message
Labels: C-enhancement,A-diagnostics,A-closures,T-compiler

The following code compiles:

```rust
fn main() {
    let a_closure = |num| {
        num+1.0
    };
    println!("{}", a_closure(1.0));
}
```

But the following doesn't:

```rust
fn main() {
    let a_closure = |num| {
        return num+1.0
    };
    println!("{}", a_closure(1.0));
}
```

The compiler reports:

```none
error[E0308]: mismatched types
 --> src/main.rs:3:9
  |
3 |         return num+1.0
  |         ^^^^^^^^^^^^^^ expected `()`, found `f64`
```

Expected behavior would be that either:

* The compiler correctly infers the return type of the closure, like it does in the previous example, and accepts the code - or,
* The compiler fails to infer the type and reports an error along the lines of `error[E0282]: type annotations needed`.

The current message makes it look like the return type of the closure is incorrect, and it's not clear that specifying an explicit argument type for the closure will fix it (which it does, as does specifying an explicit return type).

Compiler version: 1.49.0 Stable
The same error occurs with 1.51.0 nightly.

Report based on a [StackOverflow question](https://stackoverflow.com/q/65726999/1600898).
Repository: TypeScript
Issue: Readonly everything by default
Labels: Suggestion,Awaiting More Feedback

# Suggestion

## 🔍 Search Terms

- Readonly by default
- Record readonly by default
- Array readonly by default #32467
- Tuple readonly by default #40316
- Immutable-By-Default Flags #32758
## ✅ Viability Checklist

My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

Right now default is that all record/array/tuple properties are mutable, and if you want any of them to be readonly/immutable you should add `readonly` flag or use `Readonly<...>`.  My suggestion is add a flag (or something like that) which will "flip" this - it will turn on "assume everything is read only" in TS project(or module) and add a keyword `mutable` when you want to mark something as mutable.

## 📃 Motivating Example

When using are not mutating data that much and most of the types are assumed to be immutable while very little is mutable you might accidentally mutate something or when trying to understand portion of code, which mostly uses immutable values but some are mutable, you have one option to use `readonly/Readonly..` but that code becomes quite noisy. With this flag you can turn on "readonlyByDefault" flag and everthing will be assumed to be readonly and you could mark mutable fields/values with mutable keyword. This way you would know exactly what's mutable easily and not mutate stuff accidentally.

## 💻 Use Cases

Probably 99% of react-redux projects do not mutate objects/state or use libraries for immutable structures. Also some teams where folks are using immutable values (and other functional programing practices) would benefit a lot.


---
[I proposed this initially here](https://github.com/microsoft/TypeScript/issues/32467#issuecomment-623261939) and then I noticed it had 25 👍  and suggestion to open separate proposal , which I did here.
Repository: rust
Issue: Error message improvement for function argument macro
Labels: C-enhancement,A-attributes,A-diagnostics,T-compiler

Consider the following code

```
#[handler(Container)]
async fn hello_world(
    #[path_type] p: Path<Name>,
    q: Option<Query<Name>>,
    logger: Inject<dyn Logger>,
) -> String {
    let other = q.map_or("nobody".to_owned(), |n| n.0.name);
    let response = format!("{} sends hello to {}", p.name, other);
    logger.log(&response);
    response
}
```

The corresponding error

```
error: expected an inert attribute, found an attribute macro
  --> tests/inject.rs:74:5
   |
74 |     #[path_type] p: Path<Name>,
   |     ^^^^^^^^^^^^

```
I suggest adding to the error that attribute macros can be used in this context, if they are removed by the top level macro, 
in this case `handler`.
I could create a PR, if this is considered an improvement.
Repository: godot
Issue: Texture filtering/mipmapping mode on embedded textures is not applied from imported glTF scenes
Labels: bug,confirmed,topic:import,topic:3d

**Godot version:**
Godot 3.2.3

**OS/device including version:**
Gentoo Linux, Nvidia gtx 850m (nvidia-drivers) gles3
USE flags:
[image](https://user-images.githubusercontent.com/39315312/104717589-d1332e00-5729-11eb-9a92-3a13515c6813.png)

**Issue description:**
Nearest neighbor not applying when filter is disabled on import, textures are always filtered.

**Minimal reproduction project:**
[game.zip](https://github.com/godotengine/godot/files/5820085/game.zip)
Behavior in my system:
[image](https://user-images.githubusercontent.com/39315312/104717798-28d19980-572a-11eb-80cb-166f6efab5df.png)
Repository: youtube-dl
Issue: Rai without audio
Labels: question

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x ] I'm asking a question
- [ x] I've looked through the README and FAQ for similar questions
- [ x] I've searched the bugtracker for similar questions including closed ones


## Question

<!--
Ask your question in an arbitrary form. Please make sure it's worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient.
-->

WRITE QUESTION HERE



1 of 3)

C:\Users\andrea>y https://www.raiplay.it/video/2021/01/Che-Dio-ci-aiuti-S6E6
-Deja-vu-383bca47-d8a1-49c0-876c-f20a2d56d4c1.html -F
[RaiPlay] 383bca47-d8a1-49c0-876c-f20a2d56d4c1: Downloading video JSON
[RaiPlay] 383bca47-d8a1-49c0-876c-f20a2d56d4c1: Downloading XML metadata fo
r platform mon
[RaiPlay] 383bca47-d8a1-49c0-876c-f20a2d56d4c1: Downloading m3u8 informatio
n
[RaiPlay] 383bca47-d8a1-49c0-876c-f20a2d56d4c1: Downloading XML metadata fo
r platform flash
[RaiPlay] 383bca47-d8a1-49c0-876c-f20a2d56d4c1: Downloading XML metadata fo
r platform native
[info] Available formats for 383bca47-d8a1-49c0-876c-f20a2d56d4c1:
format code               extension  resolution note
hls-aac-Audiodescrizione  mp4        audio only [Audiodescrizione]
hls-aac-Italiano          mp4        audio only [Italiano]
hls-1200                  mp4        704x396    1172k
hls-1800                  mp4        928x522    1758k
hls-2400                  mp4        1024x576   2100k  (best)


2 of 3)

C:\Users\andrea>y https://www.raiplay.it/video/2021/01/Che-Dio-ci-aiuti-S6E
-Obbligo-o-verita-027f044e-836d-4a3b-b1da-8eaa81715e3d.html
[RaiPlay] 027f044e-836d-4a3b-b1da-8eaa81715e3d: Downloading video JSON
[RaiPlay] 027f044e-836d-4a3b-b1da-8eaa81715e3d: Downloading XML metadata f
r platform mon
[RaiPlay] 027f044e-836d-4a3b-b1da-8eaa81715e3d: Downloading m3u8 informati
n
[RaiPlay] 027f044e-836d-4a3b-b1da-8eaa81715e3d: Downloading XML metadata f
r platform flash
[RaiPlay] 027f044e-836d-4a3b-b1da-8eaa81715e3d: Downloading XML metadata f
r platform native
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 251
[download] Destination: Che Dio ci aiuti S6E6 - Obbligo o verità-027f044e-
36d-4a3b-b1da-8eaa81715e3d.mp4
[download] 100% of 875.83MiB in 19:06

3 of 3)
where is the audio (not downloaded for unknown reasons)??
Repository: excalidraw
Issue: Rework collaborative session UI/flow
Labels: enhancement,discussion

**Proposed flow:**
- _Start live collaboration_
  - Save the room link so you can access it whenever you want.
  - The room link persists after the end of your collaborative session.
  - Restarting the collaborative session will generate a new link to a new room.
  - Your collaborative sessions are private thanks to end-to-end encryption.
  - _Start session_
    - Share this link with anyone you want to collaborate with: [link] [your-name]
    - _Stop session_

**Proposed flow (alternative):**
- _Start live collaboration_
  - _Start session_
  - (optional) How does it work? [collapse] (see below)
    - Share this link with anyone you want to collaborate with: [link] [your-name]
    - _Stop session_
    - How does it work? [collapse]
      - Save the room link so you can access it whenever you want.
      - The room link persists after the end of your collaborative session.
      - Restarting the collaborative session will generate a new link to a new room.
      - Your collaborative sessions are private thanks to end-to-end encryption.
 
**Proposed layout:**

[![image](https://user-images.githubusercontent.com/9438102/104618887-8cf25000-568d-11eb-8305-a870c7440dfb.png)](https://excalidraw.com/#json=5750420840382464,QIXLx8VXMDtJ8eRoiFIafA)
Repository: godot
Issue: Xcode iOS Simulator does not run on M1 Macs
Labels: bug,platform:ios,topic:porting


**Godot version:**
Godot 3.2.3 stable
Godot 3.2.4 beta 5

**OS/device including version:**
OS: 11.1 Big Sur
Xcode: 12.3 (12C33)

MacBook Pro 2020 M1

**Issue description:**
Simulator does not run and displays the error

"Test.a(main.iphone.opt.debug.arm64.o), building for iOS Simulator, but linking in object file built for iOS,"


**Steps to reproduce:**
try to run any exported Xcode project on an M1 Mac 

did manage to get it to run by adding the following into Xcode
<img width="890" alt="Screenshot 2021-01-15 at 13 01 09" src="https://user-images.githubusercontent.com/4403212/104731639-ec0aa000-5733-11eb-9e32-f38df12e0762.png">

but as per https://github.com/godotengine/godot/issues/45173
the simulator is still running very slow
Repository: terminal
Issue: Extension: Pipe output to command palette in Terminal
Labels: Issue-Feature,Area-Extensibility,Product-Terminal,Area-Commandline,Area-CmdPal

Okay, this is gonna sound crazy so bear with me. I was switching git branches, and thought, "I really do not know how to use `less` well, and `git branch | $ grep foo` each time is annoying". 

Then I thought, we've got this great command palette for filtering a list of _things_. 

_As an extension_, what if we could pipe a list of items to the terminal, and then have the terminal open up the command palette with those items populated in it. Then selecting one of those items would _insert that text_?

So something like:

```
git branch | wt -w 0 select-list --prefix "git checkout "
```

would pipe to the current window, into the command palette. `--prefix "git checkout "` would indicate "use this text as a prefix for whatever the selected item was".

So hitting enter on one of these items, like "dev/migrie/foo" would `SendInput` `git checkout dev/migrie/foo` to the terminal.

This encapsulates a bunch of things:
* extensions need to be able to add their own subcommands to the commandline parser
  * they also need to be able to parse their own args
* extensions need to be able to open a ~command palette~ FilterableListView with whatever they want (a set of actions in this case. The actions would all be {sendInput(prefix+item), name=item})
Repository: go
Issue: dev.types: delete the dev.types branch
Labels: NeedsFix

@griesemer  and I started the dev.types branch with the intention of collaborating on some exploratory ideas for the typechecker, but ended up just having too many copies of go/types to keep track of (master, dev.typeparams [+types2], dev.go2go).

Some of the work we intended for dev.types is happening on dev.typeparams, some of it is postponed for later.  dev.types is likely not to be needed for a while, so we think it should be deleted for now.

No particular urgency, but at some point could someone on the release team delete it? Thanks!

(if there's any reason _not_ to delete it, let me know -- I just thought we should keep things tidy)

CC @cagedmantis @dmitshur @toothrot
Repository: storybook
Issue: UX: Add an icon to toggle/open the panel when in Canvas mode
Labels: feature request,ui

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

This panel:
![Screen Shot 2021-01-15 at 9 15 30 AM](https://user-images.githubusercontent.com/150352/104737430-3aa74280-5712-11eb-8464-7e964e078f02.png)

has no obvious mechanism of opening for those unfamiliar with Storybook.  It seems the only ways to open it are:

* Hit the `A` or `D` key (not discoverable, requires you to have already known these hotkeys)
* Find it in this `...` (I didn't even think to click on this)
![Screen Shot 2021-01-15 at 9 16 26 AM](https://user-images.githubusercontent.com/150352/104737565-6c200e00-5712-11eb-8ddd-cb57a3729af2.png)

**Describe the solution you'd like**

If the panel applies to the `Canvas` tab, then I'd expect to see a small icon here with the other tools to improve discoverability
![Screen Shot 2021-01-15 at 9 18 00 AM](https://user-images.githubusercontent.com/150352/104737718-9e317000-5712-11eb-9c3b-48dcc45314bd.png)
Maybe it could have some knobs/gears

**Describe alternatives you've considered**

N/A

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

Perhaps

**Additional context**

I work at Shopify, so this feature request is a request on behalf of myself & a few like-minded developers



┆Issue is synchronized with this [Asana task](https://app.asana.com/0/1200539748475788/1200567367102099) by [Unito](https://www.unito.io)
Repository: PowerToys
Issue: [Run][Calculator Plugin] Infinity, -Infinity and NaN are not supported
Labels: Issue-Bug,Product-PowerToys Run,Priority-3,Run-Plugin

## ℹ Computer information

- PowerToys version: 0.29.3

## 📝 Provide detailed reproduction steps (if any)

Type log(-1), arcsin(2) or other functions in the launcher that would return NaN, Infinity or -Infinity.

### ✔️ Expected result

_What is the expected result of the above steps?_

Not a number (NaN)

### ❌ Actual result

_What is the actual result of the above steps?_

Nothing

---

The problem is that [`Convert.ToDecimal()`](https://github.com/microsoft/PowerToys/blob/990c27718af170ca44561ca61bea424fbc80a86a/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/CalculateEngine.cs#L44) doesn't accept `NaN`, `Infinity` and `-Infinity` as input values. 

Because of that thrown exception, nothing is returned instead of [Not a number (NaN)](https://github.com/microsoft/PowerToys/blob/ea21a112599da1a21ff0e5f81b7392f5903d0f61/src/modules/launcher/Plugins/Microsoft.Plugin.Calculator/Properties/Resources.resx#L127).

I already discussed this [here](https://github.com/microsoft/PowerToys/pull/9104#discussion_r558313813).
Repository: create-react-app
Issue: Azure pipeline for all PR fails
Labels: needs triage,issue: bug report

### Describe the bug

I care about this.
This with all PR.
![スクリーンショット 2021-01-15 23 48 42](https://user-images.githubusercontent.com/15010907/104741250-4d5e5d80-578c-11eb-9204-ac59ca3b0a7b.png)

I searched for an issue, but nothing related to it.
If there is any solution I would like to work on it.
Repository: node
Issue: Forked cluster does not fix up `process.execArgv` after filename when executed by module.runMain()
Labels: cluster

<!--
Thank you for reporting an issue.

This issue tracker is for bugs and issues found within Node.js core.
If you require more general support please file an issue on our help
repo. https://github.com/nodejs/help


Please fill in as much of the template below as you're able.

Version: output of `node -v`
Platform: output of `uname -a` (UNIX), or output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console (Windows)
Subsystem: if known, please specify affected core module name
-->

* **Version**: v15.5.1
* **Platform**: Darwin jh.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64
* **Subsystem**: cluster, module

### What steps will reproduce the bug?

```
node --expose_gc ./wrapper.js ./payload.js
```

See https://gist.github.com/JLHwung/631dfbf4a4c68d85ae7a9b7ab5fa9754 for `./wrapper.js` and `./payload.js`.

### How often does it reproduce? Is there a required condition?

### What is the expected behavior?

It should print

```
[Function: gc] true
[Function: gc]
```

### What do you see instead?

```
[Function: gc] true
undefined
```

### Additional information

**Context**: https://github.com/babel/babel/issues/12635

`process.execArgv` is

`["/path/to/babel-node.js", "--expose_gc"]`

It seems that forked clusters stop fixing up `execArgv` after `"/path/to/babel-node.js"` is read. If I place `"/path/to/babel-node.js"` after `"--expose_gc"`, it works as expected.

As `module.runMain` is undocumented. The actual behaviour may be limbo. However as it is used by both Babel and [npx](https://github.com/npm/npx/blob/84eeb547522b8bdfcb0949d4a6a725613932ec85/index.js#L268), would you consider document it or deprecate it via better approach? 😄
Repository: TypeScript
Issue: Faulty popup help for comma inside an object in an array (again)
Labels: Bug,Help Wanted,Domain: Signature Help


*TS Template added by @mjbvz*

**TypeScript Version**: 4.2.0-dev.20210112

**Search Terms**
- signatureHelp
- parameter hints

---

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->
- VSCode Version: 1.52.1
- OS version: Darwin x64 19.6.0

I can't seem to re-open my last issue (#106738) so I created this one.
I just want to know if you can reproduce the issue (being "push"-popup-help appearing after pressing comma) in the playground link provided.

[Playground Link](https://www.typescriptlang.org/play?ts=4.0.2#code/PTAEFEA8EMFsAcA2BTUB3AlgFwBamqAHbIDOWyAJvgE7XQCeAUBoedQGbQDGq5ZATKADejUGNAYKALiIBXWACNk1ANyjx8agHt49APwyy1FgHM1AX2atlnHqD5Zh6sZJmF5S1c9CadkA-akWPwA2gC6FoxcWoRkgWTQtDIO4aAAvKDhag6J1AB08LIkOAAUQgBEkuUyACwAND7a8JAyIUKuoPWg5g1h5gCUoCCgClq4oNGwsNAkoCYYAG6ohcUAtPA6svCMO1ZstrxBAMxO4hLScorKame+8NAB7ldeltGxjjm0-MnHqRlZjE++RWpQqVVqdQGQzAuAws0m03sWi0QA)

If you can reproduce it there but playground is not good enough for this kind of an issue I will settle for rewriting the code affected. It's not a huge deal, but the popup is mildly annoying when it's irrelevant.

<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes