sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: storybook
Issue: Angular  Digest method not supported
Labels: bug,needs triage

**Describe the bug**
I upgraded to Angular 14 and I can't get storybook to build successfullly.  I use
```
    "docs:json": "compodoc -p ./tsconfig.json -e json -d ./projects/storybook",
    "storybook": "npm run docs:json && start-storybook -p 6006 -c ./projects/storybook/.storybook -s ./projects/storybook/.storybook/assets",

 npm run storybook
```

but I get:

```
<i> [webpack-dev-middleware] wait until bundle finished
99% done plugins webpack-hot-middlewarewebpack built preview e26b051da4afc323c53a in 16967ms
ModuleBuildError: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Digest method not supported
    at /Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/@ngtools/webpack/src/ivy/loader.js:81:18
    at processResult (/Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/webpack/lib/NormalModule.js:713:19)
    at /Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/webpack/lib/NormalModule.js:819:5
    at /Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/loader-runner/lib/LoaderRunner.js:400:11
    at /Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/loader-runner/lib/LoaderRunner.js:252:18
    at context.callback (/Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/loader-runner/lib/LoaderRunner.js:124:13)
    at /Volumes/T16-Skyhopper/cxone/libs/cxone-ds-components/node_modules/@ngtools/webpack/src/ivy/loader.js:81:9
```


**System**
Here are the relevant packages I have installed:

```
    "@angular-devkit/build-angular": "^14.2.2",
    "@angular-eslint/builder": "^14.0.0",
    "@angular-eslint/eslint-plugin": "^14.0.0",
    "@angular-eslint/eslint-plugin-template": "^14.0.0",
    "@angular-eslint/schematics": "^14.0.0",
    "@angular-eslint/template-parser": "^14.0.0",
    "@angular/cli": "^14.2.2",
    "@angular/compiler-cli": "^14.2.2",
    "@babel/core": "^7.17.10",
    "@compodoc/compodoc": "^1.1.19",
    "@playwright/test": "1.23.4",
    "@storybook/addon-actions": "^6.4.22",
    "@storybook/addon-docs": "^6.4.22",
    "@storybook/addon-essentials": "^6.4.22",
    "@storybook/addon-interactions": "^6.4.22",
    "@storybook/addon-links": "^6.4.22",
    "@storybook/angular": "^6.4.22",
    "@storybook/builder-webpack5": "^6.4.22",
    "@storybook/manager-webpack5": "^6.4.22",
    "@storybook/testing-library": "^0.0.11",
    "@storybook/theming": "^6.4.22",
```
Repository: angular
Issue: Service Worker Gets in loop on live reload after upgrade to Angular 14
Labels: area: service-worker,P3

### Which @angular/* package(s) are the source of the bug?

compiler, service-worker, Don't known / other

### Is this a regression?

Yes

### Description

After upgrading to Angular 14, when a change is made to html or js in visual studio code, the compiler will complete and the browser will refresh x times (sometimes around 20) when service worker is enabled. When it is disabled the browser will reload once.  No console errors are present, the service worker shows as being installed successfully through dev tools

### Please provide a link to a minimal reproduction of the bug

https://github.com/AnnaO555/angular14SW_BUG.git

### Please provide the exception or error you saw

```true
there was no exception, the browser gets stuck in a loop for a while
```


### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 14.2.2
Node: 14.15.4
Package Manager: npm 6.14.10
OS: win32 x64

Angular: 14.2.1
... cdk, common, compiler, compiler-cli, core, elements, forms
... router, service-worker

Package                             Version
-------------------------------------------------------------
@angular-devkit/architect           0.1402.2
@angular-devkit/build-angular       14.2.2
@angular-devkit/core                14.2.2
@angular-devkit/schematics          14.2.2 (cli-only)
@angular/cli                        14.2.2
@angular/platform-browser           14.2.2
@angular/platform-browser-dynamic   14.2.2
@schematics/angular                 14.2.2 (cli-only)
typescript                          4.7.4
webpack                             5.74.0
```


### Anything else?

cut down repro above
Repository: transformers
Issue: AMOS
Labels: New model

### Model description

Abstract

"We present a new framework AMOS that pretrains text encoders with an Adversarial learning curriculum via a Mixture Of Signals from multiple auxiliary generators. Following ELECTRA-style pretraining, the main encoder is trained as a discriminator to detect replaced tokens generated by auxiliary masked language models (MLMs). Different from ELECTRA which trains one MLM as the generator, we jointly train multiple MLMs of different sizes to provide training signals at various levels of difficulty. To push the discriminator to learn better with challenging replaced tokens, we learn mixture weights over the auxiliary MLMs’ outputs to maximize the discriminator loss by backpropagating the gradient from the discriminator via Gumbel-Softmax. For better pretraining efficiency, we propose a way to assemble multiple MLMs into one unified auxiliary model. AMOS outperforms ELECTRA and recent state-of-the-art pretrained models by about 1 point on the GLUE benchmark for BERT base-sized models."

### Open source status

- [X] The model implementation is available
- [X] The model weights are available

### Provide useful links for the implementation

HF Hub : https://huggingface.co/microsoft/amos
GitHUB : https://github.com/microsoft/AMOS
Paper : https://arxiv.org/pdf/2204.03243.pdf

Authors : @yumeng5 @xiongchenyan
Repository: pytorch
Issue: Update `use_deterministic_algorithms` documentation and tests to include `nn.functional` counterparts for all `nn` modules
Labels: module: docs,module: tests,triaged,module: determinism

### 📚 The doc issue

The `nn.functional` counterparts for all of the `nn` modules mentioned in the [`use_deterministic_algorithms` documentation](https://pytorch.org/docs/1.12/generated/torch.use_deterministic_algorithms.html?highlight=use_deterministic#torch.use_deterministic_algorithms) share the same determinism behavior, because the modules just call the functional variant. The documentation doesn't make that clear.

Also, the nondeterministic alert tests only cover the modules, not the functional variant.

### Suggest a potential alternative/fix

The documentation should be updated to include the functional counterparts, and the tests for these modules should be updated to include the functional variant as well.

cc @svekars @holly1238 @mruberry
Repository: PowerToys
Issue: A File Explorer add-on to show currently open folders in the left panel of File Explorer
Labels: Needs-Triage

### Description of the new feature / enhancement

And no! not the "Recent Folders" reference please. That doesn't really work.



### Scenario when this would be used?

When choosing to open or save a file in apps, in the file dialog a section with list of all currently open folders will save a million clicks. Just think about it you have 5 folders open already, but when you want to save or load a file, you still have to navigate to the folders you already have open.

### Supporting information

_No response_
Repository: pytorch
Issue: install libtorch cxx11 ABI as default in PyTorch pip installation
Labels: module: binaries,triaged

### 🚀 The feature, motivation and pitch

Existing ["pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu"](https://github.com/awslabs/multi-model-server/blob/c58e29b29faf8e45abcb73088b011f86b40845ef/docs/batch_inference_with_mms.md#L1) installs libtorch Pre-cxx11 ABI on linux. 

TorchServe cpp uses folly whose build requires CXX11_ABI on linux. So TorchSever is not able to use libtorch Pre-cxx11 ABI from pip installation on linux. It has to[ install libtorch again](https://github.com/pytorch/serve/blob/cpp_backend_lxning/cpp/build.sh#L160) on linux; otherwise, the build gets undefined reference/unresolved symbol errors.

However, there is no problem on Mac. For example, TorchSever [uses libtorch](https://github.com/pytorch/serve/blob/cpp_backend_lxning/cpp/build.sh#L238) from "pip3 install torch torchvision torchaudio".

Is it possible to install libtorch cxx11 ABI as default in PyTorch pip installation on linux?





### Alternatives

_No response_

### Additional context

_No response_

cc @seemethere @malfet @osalpekar @atalman
Repository: TypeScript
Issue: [Bug] Mixin parameters failed to use as Method Parameter types of Inner Classes
Labels: Bug

## 🔎 Search Terms

mixin, parameter, class method, type declaration, decorator

## 🕗 Version & Regression Information

- This is a crash
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about *mixin & parameter*

## ⏯ Playground Link

[Playground link with relevant code](https://www.typescriptlang.org/play?#code/MYewdgzgLgBATgUwOYEtoLgLhgWQVACxABMARBUOAQyhDhgF4YAKASkYD4YBvGAXwBQA0JFgA3KgBsUxGgmwAFKtQC2+DOUo06jFuwZdeggQDMArmGBQU4GCpQAPFGAA8AFQ7McJBJOxgEAHcWADow2SgqbCowAE8AbQBdfS43dm4BGCyYYEkqCAgYN2oUWAzsipgAAURUdDhMyqy1QhJmKolpCIQYZwAHMyhsb2JfdP5GrMEKxCgzODAikqgAbgFjXPzCtwRoEd8eSd7iXQAGdaFNgqLdqABhcCg4EElJDBgEBygEMGJC+ycYGYOz2Pkk4z4QA)

## 💻 Code

```ts
const register: MethodDecorator = () => { }

const validate: ParameterDecorator = () => { }

function mixin<T>(Model: new (...data: any[]) => T) {
    class Trait {
        @register
        method(@validate input: Model) { }
    }
    return Trait;
}

class TestModel {
    id = 0
}

class TestController extends mixin(TestModel) { }
```

## 🙁 Actual behavior

### Type checking crashed

```text
error TS2749: 'Model' refers to a value, but is being used as a type here. Did you mean 'typeof Model'?

         method(@validate input: Model) {
                                 ~~~~~
```

### Compiled seems to work

```js
function mixin(Model) {
    var _a;
    class Trait {
        method(input) { }
    }
    __decorate([
        register,
        __param(0, validate),
        __metadata("design:type", Function),
        __metadata("design:paramtypes", [typeof (_a = typeof Model !== "undefined" && Model) === "function" ? _a : Object]),
        __metadata("design:returntype", void 0)
    ], Trait.prototype, "method", null);
    return Trait;
}
```

### 🙂 Expected behavior

Shown sample code works, so that projects with Decorator frameworks will be much simpler, like what my service scaffold does: idea2app/REST-Node-ts#1
Repository: stable-diffusion-webui
Issue: SD Parameters : evolution
Labels: enhancement

**Is your feature request related to a problem? Please describe.**
no

**Describe the solution you'd like**
- save the original filename in the img2img parameters (PNG+text) [really required! thanks]
- I would like to be able to save the pameters used in JSON format (for instance), that is already possible, but the point would be to be able to restore them.
- use a table with always the same order when displaying the parameters used in the UI
- open another browser tab with the same settings (so we can try other settings)

**Describe alternatives you've considered**
I'm doing screenshots... 

**Additional context**
img2img
Repository: material-ui
Issue: Tooltips not able to set focus to a link inside tooltip title
Labels: new feature,component: tooltip

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Steps:

1. Use a tooltip
2. Create a custom component to show body / title of tooltip
3. Provide an anchor tag inside this component


### Current behavior 😯

On using keyboard since absolute div, tooltip content does not get focus and focus remains on the trigger.

### Expected behavior 🤔

https://material.io/components/tooltips/web#api provides for a rich interactive tooltip, how mui component can be used to follow the same.

### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>
Repository: pytorch
Issue: Python dispatch for PyOps needs to respect tensor subclasses
Labels: triaged,module: dispatch,module: __torch_dispatch__

### 🐛 Describe the bug

.

### Versions

.

cc @Chillee @ezyang @zou3519 @albanD @samdow
Repository: go
Issue: x/playground: using [shift-enter] when the code textarea is not focused
Labels: NeedsInvestigation

### What did you do?

Visit https://go.dev/play/p/rhCxbmRWMzz

Type [shift-enter]

### What did you expect to see?

The program is run

### What did you see instead?

The program is not run

I often visit a playground link and immediately want to execute it, without modifying the code. In this case, the keyboard shortcut doesn't work. It would be nice for me if it did.

This is minor.
Repository: flutter
Issue: [Impeller] Document the stance on caching.
Labels: engine,P2,e: impeller,team-engine,triaged-engine
Repository: rust
Issue: Tracking Issue for comparing `TypeId` in const items
Labels: T-lang,T-libs-api,C-tracking-issue

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(const_cmp_type_id)]`

This is a tracking issue for comparing `TypeId` in const items.

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
impl const PartialEq for TypeId {}
impl const PartialOrd for TypeId {}
impl const Ord for TypeId {}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Implementation: #101698
- [ ] Final comment period (FCP)[^1]
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilzation PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- [ ] Making these `const` precludes some possible implementations, such as the one where `TypeId` includes a pointer to a static as proposed in #95845.  This const-ness should not be stabilized without an explicit decision that we never want such an implementation.
  > raldone01: I don't think adding a `'static` pointer would be a problem as the contents of the pointer would be compared and not the pointer addresses.

[^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Repository: rust
Issue: Performance regression with niche optimization
Labels: P-medium,I-compiletime,T-compiler,WG-compiler-performance,regression-untriaged

After PR #94075 for more niche optimizations was merged, there were [some performance regressions](https://perf.rust-lang.org/compare.html?start=c2804e6ec2c29a5c7368600ea173b890e2655c3d&end=512bd84f51ba6963c84506f408840e5341abe499&stat=instructions:u).

Some performance regressions are possibly just due to the extra arithmetic and branch or cmov required when getting a discriminant out of a tag. But notably when compiling [syn](https://perf.rust-lang.org/detailed-query.html?commit=512bd84f51ba6963c84506f408840e5341abe499&base_commit=c2804e6ec2c29a5c7368600ea173b890e2655c3d&benchmark=syn-1.0.89-opt&scenario=incr-patched:%20println), the regression is largely due to extra time in `LLVM_lto_optimize`.

It would be nice to understand this better, and ideally do something about it.
Repository: pytorch
Issue: make_traced() doesn't respect setting the seed
Labels: module: tests,triaged,module: primTorch

One immediate impact of this is that `test_python_ref_executor` won't work for any ops which use `wrapper_set_seed()`. 

cc @ezyang @ngimel @Lezcano @fdrocha
Repository: pytorch
Issue: PT Dispatcher confusing error message "There were no tensor arguments to this function"
Labels: triaged,module: dispatch

### 🐛 Describe the bug

I am utilizing the dispatcher to call an operator that I implemented

```c++
c10::intrusive_ptr<Work> allgather(
    const c10::intrusive_ptr<ProcessGroup>& process_group,
    const std::vector<std::vector<at::Tensor>>& output_tensors,
    const std::vector<at::Tensor>& input_tensors,
    const AllgatherOptions& opts) {
  static auto op = c10::Dispatcher::singleton()
                       .findSchemaOrThrow("c10d::allgather_", "")
                       .typed<std::tuple<
                           std::vector<std::vector<at::Tensor>>,
                           c10::intrusive_ptr<Work>>(
                           const std::vector<std::vector<at::Tensor>>&,
                           const std::vector<at::Tensor>&,
                           const c10::intrusive_ptr<::c10d::ProcessGroup>&,
                           int64_t)>();
  return std::get<1>(op.call(
      output_tensors, input_tensors, process_group, opts.timeout.count()));
}
```

and hitting an error at `op.call()`

```
NotImplementedError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema c10d::allgather_.  This usually means that this function requires a non-empty list of Tensors, or that you (the operator writer) forgot to register a fallback function.  Available functions are [CPU, CUDA, BackendSelect, Python, Functionalize, Named, Conjugate, Negative, ZeroTensor, ADInplaceOrView, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradMPS, AutogradXPU, AutogradHPU, AutogradLazy, Tracer, AutocastCPU, AutocastCUDA, Batched, VmapMode, PythonTLSSnapshot].
```

I'm not sure how to reproduce this issue on current operators. Here is a small PR that you can check out and run to reproduce the error: https://github.com/pytorch/pytorch/pull/85115

### Versions

trunk
Repository: PowerToys
Issue: Giving PowerToys Run queries a shortcut to access them faster than using TAB to move around
Labels: Needs-Triage

### Description of the new feature / enhancement

You can make it easier to navigate among PowerToys Run queries by holding TAB while selecting a number that corresponds to the one, you're looking for or by adding a new shortcut, such as "ALT + query number."

### Scenario when this would be used?

When you typically search for an app and type the first three letters of its name to locate one that matches another you already own, you want the second choice.

![image](https://user-images.githubusercontent.com/75880084/190520132-91e7b9a6-c777-442f-9086-0a9a591ee0c7.png)


### Supporting information

_No response_
Repository: flutter
Issue: Add CI check for `import dart:isolate`
Labels: team,framework,P3,team-framework,triaged-framework

https://github.com/flutter/flutter/pull/111320 passed all of our CI checks but failed when integrated with google's tooling because, for web, importing `dart:isolate` is a buildtime error there, but using `dart:isolate` is a runtime error in the open source tooling.

We've already established a practice of using conditional imports via a proxy file, see https://github.com/flutter/flutter/blob/fd8d9269a4e90bfe6d35d80253265d3ac522970d/packages/flutter/lib/src/foundation/isolates.dart#L8

We should have a CI step that enforces its usage to duplicate the behavior of the google tooling so we fail earlier.
Repository: neovim
Issue: listchar highlighting should combine the highlighting of matchs
Labels: bug-vim,highlight

### Neovim version (nvim -v)

NVIM v0.8.0-dev-1093-g982fef601

### Vim (not Nvim) behaves the same?

yes

### Operating system/version

ArchLinux

### Terminal name/version

Alacritty

### $TERM environment variable

alacritty

### Installation

build from repo

### How to reproduce the issue

cat `mini.vim`
```vim
set noexpandtab
set list
set listchars=tab:>-

hi! NonText ctermfg=red
hi! SpecialKey ctermfg=red
hi! OnlyBgAttrHl ctermbg=green
hi! BothFgBgAttrHl ctermbg=green ctermfg=black
call matchadd('OnlyBgAttrHl', '^\s\+echom "hello"')
call matchadd('BothFgBgAttrHl', '^\s\+echom "world"')
norm! G
call feedkeys("o\<Tab>echom \"hello\"\<Esc>")
call feedkeys("o\<Tab>echom \"world\"\<Esc>")
```

1. `nvim -u NONE +'so' mini.vim`

### Expected behavior

![image](https://user-images.githubusercontent.com/17562139/190531057-26958d02-b3ed-4b7f-9f3a-a140752f24cb.png)

### Actual behavior

![image](https://user-images.githubusercontent.com/17562139/190531036-53cdd133-3827-4179-ab68-8cebd1673c48.png)

Related issue: https://github.com/neovim/neovim/issues/4946

The expected behavior is patched by:
```diff
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c
index 9de8b9996..992a5db0c 100644
--- a/src/nvim/drawline.c
+++ b/src/nvim/drawline.c
@@ -2176,8 +2176,9 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange,
     }
 
     // Don't override visual selection highlighting.
-    if (n_attr > 0 && draw_state == WL_LINE && !search_attr_from_match) {
-      char_attr = hl_combine_attr(char_attr, extra_attr);
+    if (n_attr > 0 && draw_state == WL_LINE) {
+      char_attr = search_attr_from_match ? hl_combine_attr(extra_attr, char_attr)
+                                         : hl_combine_attr(char_attr, extra_attr);
     }
 
     // Handle the case where we are in column 0 but not on the first
```