sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: godot
Issue: Always On Top window display option doesn't work when using editor in fullscreen mode on macOS
Labels: bug,platform:macos,topic:porting

**Godot version:** 3.2.3

**OS/device including version:** macOS Big Sur (11.0.1), 15" MacBook Pro (2018)

**Issue description:** 
I run on a laptop and so I like to use Godot in full screen mode to maximize my available work space. When I run the game, I am switched to a different workspace where the game window appears - unfortunately that means I cannot see the console output at the same time which is stuck back inside of the Godot editor which is on a different screen space.

I'm aware of the "Always On Top" preference in the display settings, but that doesn't appear to work when running Godot in full screen mode. It'd be nice if that option could be made to work while in fullscreen mode or, alternatively, if somehow the game could be launched wrapped within Godot itself (more like Unity, I suppose).

**Steps to reproduce:**
Run Godot in full screen mode and then press the play button to run your game. The workspace is switched and you cannot see console logs while the game is running without switching workspaces back and forth.
Repository: pytorch
Issue: is_non_overlapping_and_dense() does not error out for sparse tensors 
Labels: module: sparse,triaged

## 🐛 Bug

`is_non_overlapping_and_dense()` does not error out for sparse tensors (it should, similar to `is_contiguous()`), and sparse tensors end up calling it in some tensor factories (e.g. `to_impl` or `empty_like`, list is non-exhaustive). 

## To Reproduce

```
import torch
cpp_source = cpp_source = """
  at::Tensor ex_helper(at::Tensor self) {
  std::cout << "non_overlapping_and_dense " << self.is_non_overlapping_and_dense() << std::endl;
  std::cout << "contiguous " << self.is_contiguous() << std::endl;
  return self;
}
"""

from torch.utils.cpp_extension import load_inline
module = load_inline(name='ext', cpp_sources=[cpp_source], functions=['ex_helper'])
inp1=torch.empty(2,2)
module.ex_helper(inp1)
inp2 = torch.empty(2, 2).to_sparse()
module.ex_helper(inp2)
```
outputs
```
(pt) ngimel@devfair0202:~/playground$ python load_inline_example.py
non_overlapping_and_dense 1 #dense tensor, correct
contiguous 1 #dense tensor, correct
non_overlapping_and_dense 1 #should have errored out
contiguous Traceback (most recent call last): #correctly errors out for is_contiguous
  File "load_inline_example.py", line 15, in <module>
    module.ex_helper(inp2)
RuntimeError: sparse tensors do not have is_contiguous
```
## Expected behavior
Sparse tensors should error out in `is_non_overlapping_and_dense` call

The fix should make `is_non_overlapping_and_dense()` error out, and fix all the callsites where sparse tensors are calling it.
That would make it consistent with current `is_contiguous()` behavior, but I'm open to thoughts on whether we should actually change both `is_contiguous` and `is_non_overlapping_and_dense` for sparse tensors, e.g. have them both return `false`.  

cc @aocsa @nikitaved @pearu @mruberry
cc @ezyang
Repository: excalidraw
Issue: Improve contextmenu UX on mobile when selecting
Labels: mobile,UX/UI

When user selects slowly, it tends to open contextmenu.

We should either close it after you start dragging, or prevent dragging/selection and keep the contextmenu open. Either way, we shouldn't allow both things at the same time.
Repository: PowerToys
Issue: [Color Picker] Add an option to show editor when you're picking a color
Labels: Idea-Enhancement,Product-Color Picker

## 📝 Option to show editor when you're picking a color

It's very useful to see the color editor while picking a color when you want to compare colors.

---

If you'd like to see this feature implemented, add a 👍 reaction to this post.
Repository: flutter
Issue: Serializations of assert expressions in dart:ui are "<optimized out>".
Labels: engine,dependency: dart,a: quality,a: debugging,P2,team-engine,triaged-engine

For example:

```
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during paint():
flutter: 'dart:ui/painting.dart': Failed assertion: line 1147: '<optimized out>': is not true.
flutter: 
flutter: The relevant error-causing widget was:
flutter:   CustomPaint file:///home/ianh/dev/house-of-rooves/laundry_room_console/lib/main.dart:552:12
flutter: 
flutter: When the exception was thrown, this was the stack:
flutter: #2      Paint.color= (dart:ui/painting.dart:1147:12)
flutter: #3      WasherPainter.paint (package:laundry_room_console/main.dart:636:11)
flutter: #4      RenderCustomPaint._paintWithPainter (package:flutter/src/rendering/custom_paint.dart:531:13)
flutter: #5      RenderCustomPaint.paint (package:flutter/src/rendering/custom_paint.dart:572:7)
flutter: #6      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2311:7)
flutter: #7      PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
flutter: #8      RenderShiftedBox.paint (package:flutter/src/rendering/shifted_box.dart:70:15)
flutter: #9      RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2311:7)
flutter: #10     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:189:13)
...
```

This makes it hard to debug issues...

Steps to reproduce: call any dart:ui API that has an assert without an explicit message in a way that causes it to assert.
Repository: transformers
Issue: how to use EncoderDecoderModel to do en-de translation?
Labels: Good First Issue

I have trained a EncoderDecoderModel from huggging face to do english-German translation task. I tried to overfit a small dataset (100 parallel sentences), and use `model.generate()` then `tokenizer.decode()` to perform the translation. However, the output seems to be proper German sentences, but it is definitely not the correct translation.

Here are the code for building the model

```
encoder_config = BertConfig()
decoder_config = BertConfig()
config = EncoderDecoderConfig.from_encoder_decoder_configs(encoder_config, decoder_config)
model = EncoderDecoderModel(config=config)
```

Here are the code for testing the model

```
model.eval()
input_ids = torch.tensor(tokenizer.encode(input_text)).unsqueeze(0)
output_ids = model.generate(input_ids.to('cuda'), decoder_start_token_id=model.config.decoder.pad_token_id)
output_text = tokenizer.decode(output_ids[0])
```

Example input: "iron cement is a ready for use paste which is laid as a fillet by putty knife or finger in the mould edges ( corners ) of the steel ingot mould ."

Ground truth translation: "iron cement ist eine gebrauchs ##AT##-##AT## fertige Paste , die mit einem Spachtel oder den Fingern als Hohlkehle in die Formecken ( Winkel ) der Stahlguss -Kokille aufgetragen wird ."

What the model outputs after trained 100 epochs: "[S] wenn sie den unten stehenden link anklicken, sehen sie ein video uber die erstellung ansprechender illustrationen in quarkxpress" which is totally nonesense.

Where is the problem?
Repository: transformers
Issue: Sparse Transormer
Labels: New model

# 🌟 New model addition

## Model description

Sparse Transformers (https://openai.com/blog/sparse-transformer/) are one of the two most efficient transformers for long range problems, according to Google's Long Arena paper: https://arxiv.org/pdf/2011.04006.pdf (Big Bird) is the other one.

The original Sparse Transformers work shows great results on text, images, and audio. Further OpenAI work Jukebox (https://openai.com/blog/jukebox/) uses Sparse Transformers to generate incredibly long raw music audio with style transfer. Lastly https://proceedings.icml.cc/static/paper_files/icml/2020/6095-Paper.pdf uses Sparse Transformers to achieve state-of-the-art CIFAR performance.

## Open source status

* [x] the model implementation is available:

latest version, for CIFAR: https://github.com/openai/distribution_augmentation
original, but not maintained: https://github.com/openai/sparse_attention
Alternate implementation from FAIR: https://github.com/pytorch/fairseq/blob/master/fairseq/modules/sparse_multihead_attention.py

* [x] the model weights are available: 

https://github.com/openai/distribution_augmentation (CIFAR work) has model weights available, as described in the README: https://openaipublic.blob.core.windows.net/distribution-augmentation-assets/models/c10-15m-baseline.npz

Jukebox is open-source and has model weights, but is a larger pipeline that includes VQ-VAEs so it may not be of interest for a transformers-only library.

* [x] who are the authors: @rewonc @myleott  @cclauss
Repository: go
Issue: proposal: wasm: use Asyncify for switching goroutines
Labels: Proposal,arch-wasm

WebAssembly still has [no support for jump instructions or funclets](https://github.com/WebAssembly/design/issues/796). All control flow between basic blocks has to be expressed via `if/switch` and `loop` constructs. This means that a CFG with arbitrary control flow can not be directly expressed in wasm. (I still haven't seen a good explanation for this design choice except that V8 supposedly would have a hard time supporting arbitrary control flow).

The advertised solution for this limitation is to use the Relooper algorithm to turn arbitrary control flow back into structured control flow. Unfortunately this approach is incompatible with unwinding and restoring the stack when switching goroutines. This is why Go is not using the Relooper but instead quite naively uses a jump variable and a jump table at the beginning of each function (a loop and a huge `switch`). The performance overhead of this approach is quite bad.

In the long term, [wasm stack switching](https://github.com/WebAssembly/design/issues/1359) might offer a solution that can avoid unwinding the stack. Until then, it has [come to my attention](https://github.com/WebAssembly/design/issues/796#issuecomment-739334778) that there is an intermediate solution called [Asyncify](https://kripken.github.io/blog/wasm/2019/07/16/asyncify.html). This is a post-processing pass on a wasm binary that adds stack unwinding but does so in a much more optimized way than the Go compiler currently does.

I propose using Asyncify within the Go compiler. This should give a very significant performance gain. As a consequence we would need to also implement the Relooper algorithm or some newer alternative called the [Stackifier](https://medium.com/leaningtech/solving-the-structured-control-flow-problem-once-and-for-all-5123117b1ee2). A downside would be that it would add a compile time depencency to Binaryen's `wasm-opt` command which implements Asyncify. This dependency would go away when wasm stack switching is available.

For more context see https://github.com/WebAssembly/design/issues/796, especially https://github.com/WebAssembly/design/issues/796#issuecomment-739334778.
Repository: flutter
Issue: Proposal to add Builder to Datatable
Labels: c: new feature,framework,f: material design,c: proposal,team-design,triaged-design

I suggest that the rows that can be set to Datatable can be scrolled and the columns float can be fixed
Repository: rust
Issue: file-level doctests have wrong file/line mapping when module has use-level doctest
Labels: T-rustdoc,C-bug,A-doctests

I have a module in an external file.
When I add doctests to both the `pub mod X;` item, and the `X.rs` file, the file-level doctest has the wrong filename/line information.

Consider the following example:

```rust
--- lib.rs ---
//! crate-level doctest
//!
//! ```
//! // lib.rs line 3
//! assert_eq!(1, 1);
//! ```

pub mod mod_with_file_doctest;

/// mod reference-level doctest
///
/// ```
/// // lib.rs line 12
/// assert_eq!(1, 1);
/// ```
pub mod mod_with_ref_doctest;

/// mod reference-level doctest
///
/// ```
/// // lib.rs line 20
/// assert_eq!(1, 1);
/// ```
pub mod mod_with_both_doctests;

--- mod_with_file_doctest.rs ---

//! mod file-level doctest
//!
//! ```
//! // mod_with_file_doctest.rs line 3
//! assert_eq!(1, 1);
//! ```

--- mod_with_both_doctests.rs ---

//! mod file-level doctest
//!
//! ```
//! // mod_with_both_doctests.rs line 3
//! assert_eq!(1, 1);
//! ```
```

Running `cargo test`, I get the following output:
```
running 5 tests
test src\lib.rs - mod_with_both_doctests (line 20) ... ok
test src\lib.rs - mod_with_both_doctests (line 26) ... ok
test src\lib.rs - (line 3) ... ok
test src\mod_with_file_doctest.rs - mod_with_file_doctest (line 3) ... ok
test src\lib.rs - mod_with_ref_doctest (line 12) ... ok
```

The line `test src\lib.rs - mod_with_both_doctests (line 26)` should actually be `test src\mod_with_file_doctest.rs - mod_with_file_doctest (line 3)`

Looks like that the `line 26` is somehow relative to the `pub mod` line.

I will look into this and try to get a PR together that fixes this.
Repository: pytorch
Issue: addmm with out= argument returns incorrect result
Labels: high priority,module: docs,triaged,module: partial aliasing,module: linear algebra,module: correctness (silent),module: structured kernels

## 🐛 Bug

addmm returns an incorrect result when the out= parameter is passed. The input and output are the same shape.

## To Reproduce

Steps to reproduce the behavior:
```
t = torch.ones(5, 5)
weight = torch.eye(5)
bias = torch.zeros(5, 5)
out = torch.addmm(bias, t, weight)

print(out)
print(t)

print(id(out))
print(id(t))
```
Output:
```
tensor([[1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.]])
tensor([[1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.],
        [1., 1., 1., 1., 1.]])
140382153179392
140382153179200
```
```
t = torch.ones(5, 5)
weight = torch.eye(5)
bias = torch.zeros(5, 5)
out = torch.addmm(bias, t, weight, out=t)

print(out)
print(t)

print(id(out))
print(id(t))
```
Output:
```
tensor([[0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.]])
tensor([[0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.],
        [0., 0., 0., 0., 0.]])
139691058753664
139691058753664
```

## Expected behavior

addmm should return the same values (all ones) for both calls. I understand from browsing other issues that out= can do unexpected things if the input and output are different shapes, but it should work if they are the same.

## Environment
Collecting environment information...
PyTorch version: 1.7.0+cu110
Is debug build: True
CUDA used to build PyTorch: 11.0
ROCM used to build PyTorch: N/A

OS: Arch Linux (x86_64)
GCC version: (GCC) 10.2.0
Clang version: Could not collect
CMake version: Could not collect

Python version: 3.8 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce RTX 3080
Nvidia driver version: 455.45.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.4
[pip3] pytorch-memlab==0.2.3
[pip3] torch==1.7.0+cu110
[pip3] torchvision==0.8.1+cu110
[conda] Could not collect

cc @ezyang @gchanan @zou3519 @bdhirsh @jlin27 @mruberry @jianyuh @nikitaved @pearu @heitorschueroff @walterddr
Repository: create-react-app
Issue: Adding custom headers to "react-scripts start"
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

I would like to be able to set custom HTTP headers when using `npm start`, i.e. `react-scripts start`.

Currently our proxy provides [CSP HTTP Headers](https://www.w3.org/TR/CSP3/#csp-header).

During local development one might introduce CSP problems which only show up once a production build has been deployed.

The following would be helpful during development:

```
if (process.env.NODE_ENV === 'development') {
  window.addEventListener('securitypolicyviolation', console.error.bind(console));
}
```

### Describe the solution you'd like

Webpack provides [devServer.headers](https://webpack.js.org/configuration/dev-server/#devserverheaders-) which could be exposed in some way.

### Describe alternatives you've considered

We could add a [meta element](https://www.w3.org/TR/CSP3/#meta-element) to our _public/index.html_.

### Additional context

#4861
Repository: godot
Issue: Generated scripts not reloaded by the ScriptEditor 
Labels: bug,topic:editor,topic:plugin,topic:dotnet



**Godot version:**
Godot Engine v3.2.3.stable.mono.official (c) 2007-2020


**OS/device including version:**
Windows 10 x86


**Issue description:**
The ScriptEditor dosen't shows script changes when do manual extending an existing script via a function.
I tryed different ways to update the ScriptEditor but whitout success, maybe i dit it in the wrong way


**Steps to reproduce:**
Use the attached Example Project which contains a Plugin.
* use the editor menu to create the inital script
* use second menu entry to extend the script
![image](https://user-images.githubusercontent.com/347037/101289359-3c6d1480-37fc-11eb-8427-9412a30ccdd5.png)


**Minimal reproduction project:**
[script_editor_reload.zip](https://github.com/godotengine/godot/files/5649344/script_editor_reload.zip)

Best Regards
Mike
Repository: excalidraw
Issue: Add announcement support for announcing new features inside the app.
Labels: enhancement,discussion

We can have it JSON format `announcements.json` that will look something like this:

```json
[
  {
    "html": "We now support arrow endings. <a href='https://twitter.com/excalidraw/'>Read more</a>.",
    "date": "2020-12-06"
  },
  {
    "html": "We have something new for the nerds. Just right click on the canvas.",
    "date": "2020-12-07"
  },
  {
    "html": "Copy something from a spreadsheet or Excel and paste it in Excalidraw to see it as a graph.",
    "date": "2020-10-07"
  },
]

```

**Updated workflow:** We show announcements for new features only for users that already used the app (have something in their local storage).. we can show it for a minute and make it disappear or people can close it directly, and this action will be recorded in the local storage for not showing up again. There also a fixed deadline (maybe a week) for this announcement to appear on some recurring users, if we over the deadline we don't show anything. People that already use the app, usually like the new features and we can make it in not so intrusive mode.

They are not going to be that often, but sometimes it's nice to advertise some new features, blog posts, tips, etc..

-----

Bad attempt on how it could look like :)

<img width="454" alt="Screenshot 2020-12-07 at 1 03 23 AM" src="https://user-images.githubusercontent.com/125676/101295708-034a9980-3828-11eb-9c28-b384c70b99c5.png">
Repository: opencv
Issue: yaml: store values of matrices like 4x4 matrices more user friendly
Labels: priority: low,category: core

##### Detailed description

This is an enhancement idea for usability:

When persisting calibration data like camera poses or intrinsics, matrices and vectors automatically get a new linebreak after two values. Would it be possible to change that such that the values are more human readable/friendly.

Sometimes i look at these raw files to check values of these matrices for debbugging reasons and with the current line break after two values i have to count the index of the value. Could it be considered to change this behaviour for 2D matices and vectors?


##### Current State Example

rVec: !!opencv-matrix
   rows: 3
   cols: 1
   dt: d
   data: [ -1.0466131723198240e+00, -2.0107911171931248e+00,
       1.2119922959951663e+00 ]
tVec: !!opencv-matrix
   rows: 3
   cols: 1
   dt: d
   data: [ 3.6756702169035966e+00, 3.0445694384162238e+00,
       3.2773764762296707e+00 ]
pose: !!opencv-matrix
   rows: 4
   cols: 4
   dt: d
   data: [ -5.3607288188486835e-01, 3.3160412724165272e-01,
       -7.7631473520986238e-01, 3.6756702169035966e+00,
       8.4131890254347963e-01, 2.8540604487337817e-01,
       -4.5904890128696574e-01, 3.0445694384162238e+00,
       6.9342407880666868e-02, -8.9921192849407838e-01,
       -4.3198326139246823e-01, 3.2773764762296707e+00, 0., 0., 0., 1. ]


##### Enhanced output format:

rVec: !!opencv-matrix
   rows: 3
   cols: 1
   dt: d
   data: [ -1.0466131723198240e+00, -2.0107911171931248e+00, 1.2119922959951663e+00 ]
tVec: !!opencv-matrix
   rows: 3
   cols: 1
   dt: d
   data: [ 3.6756702169035966e+00, 3.0445694384162238e+00, 3.2773764762296707e+00 ]
pose: !!opencv-matrix
   rows: 4
   cols: 4
   dt: d
   data: [ -5.3607288188486835e-01, 3.3160412724165272e-01, -7.7631473520986238e-01, 3.6756702169035966e+00,
       8.4131890254347963e-01, 2.8540604487337817e-01,  -4.5904890128696574e-01, 3.0445694384162238e+00,
       6.9342407880666868e-02, -8.9921192849407838e-01, -4.3198326139246823e-01, 3.2773764762296707e+00, 
       0., 0., 0., 1. ]
Repository: electron
Issue: Implement 'desktop' window type natively in Windows
Labels: enhancement :sparkles:,platform/windows

<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->

'Desktop' type BrowserWindows are not implemented on Win32 platforms as they are on Mac and Linux. The 'desktop' type offers similar functionality to an 'always-on-bottom' window. A good example of a program that uses this *concept* (not in electron) is RainMeter.

### Proposed Solution
As I understand it, the Mac implementation of 'desktop' windows puts them behind shortcuts. This would be the ideal functionality. Desktop 'stickers' and widgets could be created using the implementation and a frameless, transparent window.

### Alternatives Considered
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
None

### Additional Information
<!-- Add any other context about the problem here. -->
I am specifically requesting this functionality on Windows to allow for a desktop stickers app I am writing to achieve platform parity.
Repository: vscode
Issue: SVG icons look different than codicons
Labels: feature-request,api-proposal,icons-product

In the image below, the 4th icon from the left is an SVG while the rest are codicons. You can see that there is a color difference -- because the SVGs can't take advantage of the current color.

![image](https://user-images.githubusercontent.com/641685/101298007-d3849d00-37f9-11eb-910c-c28883b5ff47.png)