sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: ElementCSSInlineStyle.style should not be read-only
Labels: Bug,Domain: lib.d.ts

<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨

Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common "Bugs" That Aren't Bugs section!

Please help us by doing the following steps before logging an issue:
  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues
  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ

Please fill in the *entire* template below.
-->

**TypeScript Version:**  Nightly

<!-- Search terms you tried before logging this (so others can find this issue more easily) -->
**Search Terms:**

DOM Element HTMLElement SVGElement inline style setter

**Expected behavior:**

Per https://drafts.csswg.org/cssom/#elementcssinlinestyle, the style setter is forwarded to `style.cssText`, and thus accepts a string.

**Actual behavior:**

Type error:
> (property) ElementCSSInlineStyle.style: CSSStyleDeclaration
> Cannot assign to 'style' because it is a read-only property.(2540)

<!-- Did you find other bugs that looked similar? -->
**Related Issues:**

#13466, which (correctly) points to the old spec where `ElementCSSInlineStyle.style` was only described as `readonly`, without the `PutForwards=cssText` annotation.

This is however a case of an old spec that doesn't match a universal browser behavior.

https://github.com/w3c/csswg-drafts/issues/5127 where I asked the W3C for clarification

**Code**
```ts
const a = document.createElement("a")

a.style = ""
```



<details><summary><b>Output</b></summary>

```ts
"use strict";
const a = document.createElement("a");
a.style = "";

```


</details>


<details><summary><b>Compiler Options</b></summary>

```json
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "useDefineForClassFields": false,
    "alwaysStrict": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "downlevelIteration": false,
    "noEmitHelpers": false,
    "noLib": false,
    "noStrictGenericChecks": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "esModuleInterop": true,
    "preserveConstEnums": false,
    "removeComments": false,
    "skipLibCheck": false,
    "checkJs": false,
    "allowJs": false,
    "declaration": true,
    "experimentalDecorators": false,
    "emitDecoratorMetadata": false,
    "target": "ES2017",
    "module": "ESNext"
  }
}
```


</details>

**Playground Link:** [Provided](https://www.typescriptlang.org/play/?ts=4.0.0-dev.20200528&ssl=3&ssc=13&pln=1&pc=1#code/MYewdgzgLgBAhjAvDAJiYBXAtgUzFAOmACcc4ocBRAGx13wAoAiOJgSgFgAobuA6AJ60kMJkyA)
Repository: pytorch
Issue: Try Address Sanitizer in MSVC builds
Labels: module: windows,triaged

## 🚀 Feature
<!-- A clear and concise description of the feature proposal -->
According to https://www.codeproject.com/Articles/5269130/Address-Sanitizer-in-Visual-Cplusplus, x64 ASAN will be added in Visual C++ Update 16.7 Preview 1. Maybe we can have a try.

## Motivation

<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
To improve the quality of the builds.

## Pitch

<!-- A clear and concise description of what you want to happen. -->
Have a try when it's available. In the long run, add a CI test for this.

## Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
1. Use the native one
2. Use the one from clang on Windows 

## Additional context

<!-- Add any other context or screenshots about the feature request here. -->


cc @peterjc123 @nbcsm @guyang3532
Repository: flutter
Issue: Add pixelRatio matchesGoldenFile()
Labels: a: tests,c: new feature,framework,c: proposal,P3,team-framework,triaged-framework

I am not to sure with this one, but wouldn't it make sense to be able to pass a pixelRatio for the output image to `matchesGoldenFile`. Currently the golden file has the size of the surface in logical pixels. If I want to have an image that represents the exact pixels of my phone we would need sth. like `pixelRatio` which can be passed into the function as an optin.
Repository: rust
Issue: Cycle error through variance computation when using `-> _`.
Labels: T-compiler,A-inference,C-bug

Reduced example ([playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ffcbdecd32014759e9c2b83f57bcd186)):
```rust
struct Wrapper<T>(T);

fn foo<T>(x: Wrapper<T>) -> _ {
    drop(x);
}
```
```
error[E0391]: cycle detected when processing `foo`
 --> src/lib.rs:3:1
  |
3 | fn foo<T>(x: Wrapper<T>) -> _ {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
note: ...which requires type-checking `foo`...
 --> src/lib.rs:3:1
  |
3 | fn foo<T>(x: Wrapper<T>) -> _ {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...which requires processing `Wrapper`...
 --> src/lib.rs:1:1
  |
1 | struct Wrapper<T>(T);
  | ^^^^^^^^^^^^^^^^^^^^^
  = note: ...which requires computing the variances for items in this crate...
  = note: ...which again requires processing `foo`, completing the cycle
note: cycle used when collecting item types in top-level module
 --> src/lib.rs:1:1
  |
1 | / struct Wrapper<T>(T);
2 | |
3 | | fn foo<T>(x: Wrapper<T>) -> _ {
4 | |     drop(x);
5 | | }
  | |_^
```

You can see right away that it's hard to figure out what "processing" means and we should probably start a cleanup effort to add proper descriptions to queries (or at least name the query in the default message, even if it might not look pretty at all). cc @rust-lang/compiler 

<hr/>

Using `-Ztreat-err-as-bug` + `RUST_BACKTRACE=1` I can turn the error into an ICE and get this:
```
#0 [crate_variances] computing the variances for items in this crate
#1 [variances_of] processing `Wrapper`
#2 [typeck_tables_of] type-checking `foo`
#3 [fn_sig] processing `foo`
#4 [collect_mod_item_types] collecting item types in top-level module
#5 [analysis] running analysis passes on this crate
```

So variance computation uses `fn_sig` (not sure why it would *need* to), which is normally harmless, as function signatures are fully explicit.

But we nowadays "allow" `_` in the signature, guaranteeing an error still, while showing the user the inferred type (this should be useful during prototyping but I keep forgetting it exists).

As a result of that, instead of `typeck_tables_of` depending on `fn_sig`, `fn_sig` depends on `typeck_tables_of` (since it needs the results of type inference from the `fn` body), so an otherwise harmless `fn_sig` turns into a cycle as soon as type-checking needs *any* variances.
Repository: excalidraw
Issue: Display the current filename somewhere in the UI
Labels: enhancement

RE: #1668 I just realized that to help the user decide whether they need to hit "Save" or "Save as" button, we might want to display the current filename somewhere in the UI if it's not there already -- I don't remember seeing it -- maybe browser tab title on desktop, not sure about mobile.

CC @tomayac
Repository: terminal
Issue: Simulate the X11 select buffer
Labels: Issue-Feature,Area-TerminalControl,Product-Terminal

X11 provides multiple buffers (clipboards / pasteboards) with different semantics.  The copy buffer is used for things that persist in the buffer.  The select buffer shares some of the behaviour of copy-and-paste and some of drag-and-drop.  Like drag-and-drop, the source is responsible for the storage of the buffer contents and the buffer goes away when the source changes this.  Like copy-and-paste, copying (select) and pasting (middle click) are distinct operations that do not capture the mouse in the middle.

It is very useful to have access to both in a terminal.  This works well in X11 terminals on Windows with VcXsrv:

 - The select buffer (filled when you select text) is not copied to the Windows clipboard.
 - The copy buffer (filled when you do a copy operation) is copied to the Windows clipboard.
 - Changes to the Windows clipboard are mirrored into the X11 copy buffer.
 - Middle click pastes from the select buffer if the select buffer contains anything, otherwise it pastes from the copy buffer.

This behaviour could be emulated by having a buffer that is internal to WT that is filled on select and used for a special paste option (which could be bound to middle-click once #1553 is resolved).
Repository: create-react-app
Issue: eslint-loader should not cache, when process.env.EXTEND_ESLINT === 'true'
Labels: issue: proposal,needs triage

### Is your proposal related to a problem?

<!--
  Provide a clear and concise description of what the problem is.
  For example, "I'm always frustrated when..."
-->

When I change my `.eslintrc.js` the changes are not reflected in `react-scripts start`. I found a **workaround** in #9007 described by @Josema to disable the cache in `node_modules/react-scripts/config/webpack.config.js`: 

> this is caused by how react-scripts handles ESLint cache. By default, cache is set to true. If you set it to false, any change to eslint rules will be honoured every time. The setting is in node_modules/react-scripts/config/webpack.config.js

### Describe the solution you'd like

Similar to what @Josema wrote (sadly this issue #9007 got closed)

>So my suggestion is to make this cache option configurable, and by default set it to false, to avoid confusion.

Currently the webpack.config.js looks like that:

```js
// First, run the linter.
// It's important to do this before Babel processes the JS.
{
  test: /\.(js|mjs|jsx|ts|tsx)$/,
  enforce: 'pre',
  use: [
    {
      options: {
        cache: false,
        formatter: require.resolve('react-dev-utils/eslintFormatter'),
        eslintPath: require.resolve('eslint'),
        resolvePluginsRelativeTo: __dirname,
        // @remove-on-eject-begin
        ignore: isExtendingEslintConfig,
        baseConfig: isExtendingEslintConfig
          ? undefined
          : {
              extends: [require.resolve('eslint-config-react-app')],
            },
        useEslintrc: isExtendingEslintConfig,
        // @remove-on-eject-end
      },
      loader: require.resolve('eslint-loader'),
    },
  ],
```
I suggest:

```
cache: !isExtendingEslintConfig,
```
As it only needs to be disabled when isExtendingEslintConfig is true (`process.env.EXTEND_ESLINT === 'true'`)
Repository: pytorch
Issue: [mobile] Running on armeabi-v7a is inconsistent with arm64-v8a
Labels: oncall: mobile

## ❓ Questions and Help

Hello, I run a torch model on Android, but the results on armeabi-v7a and arm64-v8a are quite different.Is there any problem? Or I need to set parameters to run different environments？ Thank you
Repository: pytorch
Issue: Add numerically stable log1mexp = log(1 - exp(-|x|)) function
Labels: module: numerical-stability,triaged,enhancement,function request

## 🚀 Feature
Add the implementation for a numerically stable `log(1 - exp(-|x|))` function.

See https://cran.r-project.org/web/packages/Rmpfr/vignettes/log1mexp-note.pdf

Ref https://www.rdocumentation.org/packages/VGAM/versions/1.1-3/topics/log1mexp

## Motivation

The function can be implemented using other pytorch functions but it might be tricky to get it right.

Some implementations found on GitHub:

[@wouterkool/estimating-gradients-without-replacement/blob/9d8bf8b/bernoulli/gumbel.py#L7-L11](https://github.com/wouterkool/estimating-gradients-without-replacement/blob/9d8bf8b/bernoulli/gumbel.py#L7-L11)

[@visinf/n3net/blob/5d5883a/src_denoising/models/non_local.py#L94-L108](https://github.com/visinf/n3net/blob/5d5883a/src_denoising/models/non_local.py#L94-L108)

cc: @wouterkool @visinf
Repository: godot
Issue: Can't change type of custom node/scene in scene tree
Labels: bug,topic:editor,topic:plugin

<!-- Please search existing issues for potential duplicates before filing yours:	
https://github.com/godotengine/godot/issues?q=is%3Aissue	
-->

**Godot version:**
<!-- Specify commit hash if using non-official build. -->
3.2.1, 3.2.2beta3, master d19257eb

**OS/device including version:**
<!-- Specify GPU model, drivers, and the backend (GLES2, GLES3, Vulkan) if graphics-related. -->
Windows 10

**Issue description:**
<!-- What happened, and what was expected. -->
If you have a custom node/scene in your scene tree and want to change it's type by right clicking and selecting "Change Type" it's not working correctly. It seems that the node it's getting changed to appears in the editor viewport, but the scene tree does not change completly (Node icon & name change; the scene icon stays). The old node also stays in the viewport (that is of course if it's a node that can be drawn like e.g. a MeshInstance)
Upon saving and closing/openening nothing changed and the original node is still there.

This reminded me of a similar issue i had a while back: #37144. I don't know if it's related but it feels similar.

**Steps to reproduce:**
1) Create a simple scene and save it
2) Create annother scene and add the scene from step 1 as child. Then save.
3) Try to replace the scene by right-click -> Change Type -> Select any node and press "Change"
Repository: pytorch
Issue: SummaryWriter `add_hparams` should support adding new hyperparameters 
Labels: enhancement,oncall: visualization

## 🐛 Bug

When calling `SummaryWriter().add_hparams` with new hyperparameters, keys that do not exist in the first call do not appear in the hyperparameter dashboard output.

## To Reproduce

```python
#!/usr/bin/env python3

from torch.utils.tensorboard import SummaryWriter

with SummaryWriter() as w:
    w.add_hparams({"key_A": 10}, {})
with SummaryWriter() as w:
    w.add_hparams({"key_B": 10}, {})
```

When viewing the Tensorboard summary writer output on `http://localhost:6006/#hparams`:
|  Trial_ID | key_A |
|-------------|----------|
| May29_09-27-46_mbp13/1590766066.254924 | 10.000 |
| May29_09-27-46_mbp13/1590766066.2567558 |           |

## Expected behavior

I would expect `key_B` to also appear in the output, with a blank value for the first row.

## Environment

PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.1

OS: Debian GNU/Linux 10 (buster)
GCC version: (Debian 8.3.0-6) 8.3.0
CMake version: Could not collect

Python version: 3.7
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA

Versions of relevant libraries:
[pip3] numpy==1.17.4
[pip3] torch==1.4.0
[pip3] torchvision==0.5.0
[conda] Could not collect


## Additional context

* https://github.com/tensorflow/tensorboard/issues/3371
* https://github.com/PyTorchLightning/pytorch-lightning/issues/1217
Repository: terminal
Issue: UX for different StartupTaskState 
Labels: Help Wanted,Area-UserInterface,Product-Terminal,Issue-Task

I feel like for this (and the other `StartupTaskState`) we should display a warning of some sort. But I'd be ok with just ignoring these cases for now and linking a new GitHub issue for a separate PR.

_Originally posted by @carlos-zamora in https://github.com/microsoft/terminal/pull/4908_
----
Additional context:

Specifically, StartupTaskState::DisabledByUser is the primary case to handle. The value of displaying feedback to users for the other states could be debated; I'm not aware of other applications that pop a dialog or feedback when the "start application on windows start" checkbox or whatnot is changed, but those applications generally don't  have users managing settings via Notepad :)
Repository: PowerToys
Issue: Persistent, sorted, filterable Action Center/Notification history
Labels: Idea-New PowerToy

# Summary of the new feature/enhancement
The current Action Center is quite often frustratingly useless. Notification items may pop up and I may be in the middle of something and not look quick enough, but then it is no-where to be seen in the Action Center, or if it does show up, I click it and nothing happens(when it normally would open its parent application or similar).

I have been looking far and wide, but I cannot seem to find any sort of persistent Action Center / Notification history that can be reviewed even if an item is dismissed, or doesn't show up in the Action Center. At this point, even an ongoing text only log file would be better than nothing, which often feels like what I have now.
<!-- 
A clear and concise description of what the problem is that the new feature would solve.
Describe why and how a user would use this new functionality (if applicable).
-->

# Proposed technical implementation details (optional)

<!-- 
A clear and concise description of what you want to happen.
-->
What would be great would be either an icon within the Action Center, or a right-click context menu on the Action Center taskbar icon which reads "View History" or similar, which brings up a window which allows you to view all past notifications, either as a list sorted by date received, perhaps with a side menu allowing you to filter notifications by their originating source application or service.
Repository: pytorch
Issue: Naming inconsistency: padding_mode vs pad_mode + F.conv* docs ops miss padding_mode arg at all
Labels: triaged,module: ux

[torch.stft](https://pytorch.org/docs/stable/torch.html?highlight=stft#torch.stft) uses `pad_mode`

[grid_sample](https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.grid_sample) uses `padding_mode`

[nn.Conv3d](https://pytorch.org/docs/stable/nn.html?highlight=conv3d#torch.nn.Conv3d) uses `padding_mode`

[F.conv3d](https://pytorch.org/docs/stable/nn.functional.html#torch.nn.functional.conv3d) misses any padding mode arg altogether
Repository: terminal
Issue: Cannot send CTRL+C signal to remote machine while terminal is rendering text
Labels: Area-Performance,Issue-Bug,Product-Terminal,Priority-2

<!-- 
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨

I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING:
1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement.
2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement.
3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number).
4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement.
5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement.

All good? Then proceed!
-->


# Environment

```
Windows build number:
Microsoft Windows [Version 10.0.18363.836]

Windows Terminal version (if applicable):
Version: 1.0.1401.0

Any other software?

- wsl-ubuntu-18.04
- ssh using wsl to remote computer
- tmux inside the remote computer

```

# Steps to reproduce

Connected to a remote machine with ssh from wsl, running tmux on this remote.

Issue happens when application print lots of contents to the terminal, which prevents the user to send signals (CTRL-C to stop the application from printing to the terminal). You only regain control after the terminal renders EVERYTHING that is being printed.

Other signals such as CTRL+Z or tmux bindings to change the pane scope (to work on other pane or kill the running window also does not get accepted while the printing is happening.


# Expected behavior

I expected the CTRL+C to stop the application running the printing. And regain control of the terminal.


# Actual behavior

Long running applications that print lots of contents to the terminal prevent the user to send signals (CTRL-C to stop the application from printing to the terminal). You only regain control after the terminal renders everything that is being printed.
Repository: rust
Issue: Suboptimal debug codegen for integer division with a constant rhs
Labels: C-enhancement,A-codegen,T-compiler,A-mir-opt

Codegen for division in general needs to generate code to panic if the division will panic (e.g. divide by zero or integer overflow). In the case of constants, however, it looks like rustc *almost* optimizes debug codegen but not quite. For example this code:

```rust
#[no_mangle]
pub extern fn foo(a: i32) -> i32 {
     a / 256
}
```

[generates this IR](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=754a67acfbac34f972423f4b28fa4da2) in debug mode:

```llvm
define i32 @foo(i32 %a) unnamed_addr #0 !dbg !6 {
start:
  %a.dbg.spill = alloca i32, align 4
  store i32 %a, i32* %a.dbg.spill, align 4
  call void @llvm.dbg.declare(metadata i32* %a.dbg.spill, metadata !12, metadata !DIExpression()), !dbg !13
  %_4 = icmp eq i32 %a, -2147483648, !dbg !14
  %_5 = and i1 false, %_4, !dbg !14
  %0 = call i1 @llvm.expect.i1(i1 %_5, i1 false), !dbg !14
  br i1 %0, label %panic, label %bb1, !dbg !14

bb1:                                              ; preds = %start
  %1 = sdiv i32 %a, 256, !dbg !14
  ret i32 %1, !dbg !15

panic:                                            ; preds = %start
; call core::panicking::panic
  call void @_ZN4core9panicking5panic17h8a9eda1e10298363E([0 x i8]* noalias nonnull readonly align 1 bitcast ([31 x i8]* @str.0 to [0 x i8]*), i64 31, %"core::panic::Location"* noalias readonly align 8 dereferenceable(24) bitcast (<{ i8*, [16 x i8] }>* @anon.670bbfb7b436af44f45c978390c94a0e.1 to %"core::panic::Location"*)), !dbg !14
  unreachable, !dbg !14
}
```

It looks like rustc is "smart enough" to generate `%_5 = and i1 false, %_4, !dbg !14` to realize the rhs is not negative one and it's not zero, but it's not quite smart enough to know that `false && x` is always `false`, so it still generates a branch to panic.

<!-- TRIAGEBOT_START -->

<!-- TRIAGEBOT_ASSIGN_START -->

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

<!-- TRIAGEBOT_ASSIGN_END -->
<!-- TRIAGEBOT_END -->
Repository: PowerToys
Issue: [Image Resizer] Option to Flip images horizontally and vertically
Labels: Idea-Enhancement,Product-Image Resizer
Repository: godot
Issue: Editor destroys scene or sometimes crashes through cyclic reference
Labels: bug,topic:editor,crash

**Godot version:**
3.2.1.stable.mono.official

**Issue description:**
The editor in some cases crashes trying to serialize cyclic references when saving a scene that contains itself or produces invalid scene files.
For existing scenes that are being dragged into itself the editor already prevents it, but not for this case.

**Steps to reproduce:**
Create a scene and save it (S1). Create a new scene (S2), drag the previously saved scene (S1) into it and save it as the first one (S1).
It often actually saves without crashing, but produces a corrupt/invalid file that cannot be opened again.
Video with simple steps to reproduce:
https://streamable.com/brcyr9