sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: tensorflow
Issue: Deleting legacy Java client from TensorFlow main repository
Labels: stat:awaiting tensorflower,type:bug,comp:apis

TensorFlow main repository still contains the old [Java client](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java) based on TF1.x that has been replaced a few years ago by the [new version](https://github.com/tensorflow/java) maintained by SIG-JVM.

This is very misleading for users who wants to discover the capabilities of running TensorFlow models on Java (just this week a new example of such [question](https://discuss.tensorflow.org/t/what-does-it-mean-for-the-java-api-that-warning-this-api-is-deprecated-and-will-be-removed-in-a-future-version-of-tensorflow-after-the-replacement-is-stable/12757) appeared on the forum).

This issue is to start the process of deleting this client for good in TF main repo. We could start by replacing this [README](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/README.md) for simply saying that this client is deprecated and provide links to the new repo. Then we can proceed to the folder deletion, making sure it won't break any code, CI jobs or external scripts (like the documentation one).

If need be, we at SIG-JVM can take care of pushing a series of pull requests to achieve this goal. 

CC\ @bhack , @craigacp
Repository: vscode
Issue: Highlight the `n Conflicts Remaining` label/button in the new merge editor
Labels: feature-request,merge-editor

Type: <b>Feature Request</b>

* The `n Conflicts Remaining ` is an extremely useful indicator to have when dealing with files that have multiple conflicts and are out of the lines of code that are viewable.
* Failed to notice it the first few times I used the merge editor.
* Opinion: I personally feel (and could be wrong) that the usability of this feature would increase or at least it would be more noticeable if it had some sort of icon/highlight/warn or error kind of indication.

![image](https://user-images.githubusercontent.com/9264813/199632713-b8dfa1e3-2a93-432d-9597-b004358c78a0.png)

Kudos to the VSCode team for the formidable Merge Editor.

VS Code version: Code - Insiders 1.73.0-insider (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:30:14.729Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes


<!-- generated by issue reporter -->
Repository: pytorch
Issue: Whether to support libtorch source code compilation of C++11 ？
Labels: module: build,triaged

### 🐛 Describe the bug

Hello! 
I want to use libtorch's c++ api for algorithm inference, but currently the c++ version in my project only supports c++11, corresponding to gcc 4.8.5 and g++ 4.8.5, can I compile it by downloading the source code to support c++ Algorithm running under 11 environment?

### Versions

gcc 4.8.5
g++ 4.8.5
CUDA 11.3
CUDNN 8.2.1


cc @malfet @seemethere
Repository: flutter
Issue: Abstract Builder class to share some parameters
Labels: platform-android,engine,c: proposal,P3,team-android,triaged-android

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case
Create from:
https://github.com/flutter/engine/pull/36963#discussion_r1010752759

Now we have too many builders, NewEngineIntentBuilder, CachedEngineIntentBuilder, as well as the increase of NewEngineInGroupIntentBuilder. They have some common parameters (especially NewEngineIntentBuilder and NewEngineInGroupIntentBuilder, because they are starting a new engine), in FlutterActivity, FlutterFragmentActivity, FlutterFragment all appear.
<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->

## Proposal
Abstract a Builder class with some parameters used by Dart like entryPoint, initialRoute, dartEntrypointArgs. Then Actvitity or fragments of the Builder extends from this class, and contains specific attributes, such as activityClass/fragmentClass. Many of such NewEngineIntentBuilder and NewEngineInGroupIntentBuilder fields can be Shared. 
<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: PowerToys
Issue: Add a start menu entry for PowerToys that make sense (example: Hosts editor, run, color picker, ...)
Labels: Idea-Enhancement,Product-PowerToys Run,Area-Setup/Install,FancyZones-Editor,Product-Color Picker,Product-Hosts File Editor

### Description of the new feature / enhancement

To add a start menu entry for hosts editor, bug report, color picker, ...

### Scenario when this would be used?

Then I don't need to launch it in PowerToys settings.

### Supporting information

_No response_
Repository: deno
Issue: "read line" echo server possibly about 1/3 the performance of node
Labels: perf,ext/web

The best documentation I could find indicates this is the way to read lines from a socket stream and echo with deno

```
    const read = conn.readable
      .pipeThrough(new TextDecoderStream())
      .pipeThrough(new TextLineStream())

    for await (const line of read) {
      conn.write(new TextEncoder().encode(line + "\n"))
    }
```

This seems to be the popular approach for node 
```
    let rl = readline.createInterface({ input: socket })
    for await (const line of rl) {
      socket.write(line + "\n")
    }
```

I wrote a client in go to benchmark this.  I'm getting about 1/3 the performance of node.  Am I doing this wrong or are there optimizations to be made?

Everything is here

https://github.com/kswope/node-deno-echo-benchmark
Repository: stable-diffusion-webui
Issue: [Feature Request]: Extensions-like tab for scripts
Labels: enhancement

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

everything the Extensions manager does

### Proposed workflow

juust like the Extensions manager

### Additional information

_No response_
Repository: pytorch
Issue: Unit test with `--subprocess` command doesn't respect the `-k` filter flag and runs all available sub tests
Labels: module: ci,module: tests,triaged,module: testing

### 🐛 Describe the bug

Unit test with `--subprocess` command doesn't respect the `-k` filter flag and runs all available sub tests

Example
```python
root@e85f1ff8919d:/opt/pytorch/pytorch# python test/test_nn.py -v -k test_add_relu
test_add_relu (__main__.TestAddRelu) ... ok
test_add_relu_broadcasting (__main__.TestAddRelu) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
```

However
```
root@e85f1ff8919d:/opt/pytorch/pytorch# python test/test_nn.py -v -k test_add_relu --subprocess

# thousands of lines of output are printed
# all tests in test_nn are executed
```

Distributed tests are executed by default with `--subprocess`, which makes it hard to only test a specific sub test. https://github.com/pytorch/pytorch/blob/a8f40b39ce4f9fa9ffd90400b7d10ea4051d623a/test/run_test.py#L634-L635

Something here might need to be changed? https://github.com/pytorch/pytorch/blob/a8f40b39ce4f9fa9ffd90400b7d10ea4051d623a/torch/testing/_internal/common_utils.py#L691-L693

### Versions

pytorch: https://github.com/pytorch/pytorch/commit/ccf6b558a4c58d1ae92689b2a5064916b42eff05

cc @seemethere @malfet @pytorch/pytorch-dev-infra @mruberry @ptrblck @ngimel
Repository: flutter
Issue: [Docs] - Describe when a RenderObject runs debug paint
Labels: framework,d: api docs,P2,team-framework,triaged-framework

`RenderObject` has a method called `debugPaint()`, which subclasses can implement.

The documentation doesn't say when this method is called: https://api.flutter.dev/flutter/rendering/RenderObject/debugPaint.html

I expected this method to only be called when I enable "Show debug paint" in DevTools. However, this method seems to run all the time. The documentation should be updated to explain when this method is run.
Repository: pytorch
Issue: benchmark cache persist
Labels: module: cudnn,module: cuda,triaged

## 🚀 The feature, motivation and pitch
### Background
We've been working on a detection model's training and when setting   torch.backends.cudnn.benchmark = True with some padding , the training speed can improve a lot .  However if we skip the padding, since the params of convolution vary frequently(e.g. input shapes), it  becomes even slower. 

### Requests
We are wondering if we can  persist the benchmark cache, so that the first person can store some cache and later others will no longer have to suffer from the algorithms choosing overhead.

Will this feature be possible in the future or is already ongoing ? 
**Or there are limits that this whole persisting thing is not a good idea**.



## Alternatives

For example, maybe we can define load() and save() functions inside the global variables:
```
BenchmarkCache<cudnnConvolutionFwdAlgoPerf_t> fwd_algos;
BenchmarkCache<cudnnConvolutionBwdDataAlgoPerf_t> bwd_data_algos;
BenchmarkCache<cudnnConvolutionBwdFilterAlgoPerf_t> bwd_filter_algos;
``` 
then we have to determine the time of load and save are executed, a draft would be like this:
```
template <typename T>
struct BenchmarkCache {
  std::mutex mutex;
  std::unordered_map<ConvolutionParams, T, ParamsHash<ConvolutionParams>, ParamsEqual<ConvolutionParams>> map;
  std::string CACHE_STORED_PATH;
  BenchmarkCache(std::string cache_stored_path): CACHE_STORED_PATH(cache_stored_path){}

  bool find(const ConvolutionParams& params, T* results) {
    std::lock_guard<std::mutex> guard(mutex);
    auto it = map.find(params);
    if (it == map.end()) {
      return false;
    }
    *results = it->second;
    return true;
  }

  void insert(const ConvolutionParams& params, const T& results) {
    std::lock_guard<std::mutex> guard(mutex);
    map[params] = results;
  }

  int load(const &std::string CACHE_STORE_PATH){
    std::lock_guard<std::mutex> guard(mutex);
    //load the cache;
  }

  int save(const &std::string CACHE_STORE_PATH){
    std::lock_guard<std::mutex> guard(mutex);
    //save the cache;
  }
};
```

### Additional context

_No response_

cc @csarofeen @ptrblck @xwang233 @ngimel
Repository: TypeScript
Issue: Compiler API: convert a synthesized SourceFile to a real SourceFile
Labels: Suggestion,Awaiting More Feedback

# Suggestion

Have some way to convert a synthesized SourceFile to a real SourceFile that can be used in type checking.

Currently, this kind of SourceFile crashes the compiler because it lacks so much information (e.g. directives, parse tree)

## 🔍 Search Terms

compiler API parse

## 💻 Use Cases

Create a new SourceFile from AST Node that can be type checked via Program.emit(). Now I need to print the source file and re-parse it, it's a performance waste.
Repository: flutter
Issue: [Impeller] Support YUV to RGB filters on OpenGLES backend
Labels: engine,P2,e: impeller,team-engine,triaged-engine

See https://github.com/flutter/engine/pull/36685#pullrequestreview-1166233333 for detail.

This issue is low priority because the YUV to RGB filter is only used in iOS external texture scenes.
Repository: rust
Issue: improve the way we deal with ambiguity errors
Labels: C-cleanup,E-hard,A-diagnostics,E-mentor,T-compiler

right now we report each ambiguity error separately, sprinkling in a bunch of `self.is_tainted_by_errors()` and friends in there to deduplicate errors.

This can often cause us to emit less useful errors because the more relevant error happens later.
It also restricts us in the suggestions we can emit.

This happens in `fn report_fulfillment_errors`: https://github.com/rust-lang/rust/blob/ce1a7e41f96be27103b6e3ba09dcefbf5bd320bd/compiler/rustc_trait_selection/src/traits/error_reporting/mod.rs#L453-L457

I think ideally what we should do is:
- look at all `CodeAmbiguity` errors and merge them by their annotated inference variable[^1].
- if there are multiple obligations ambiguous due to the same inference variable, talk about them as part of the same error message, ignoring "less important" obligations.
- further work: with #103252 we will have a list of all maybe applicable impls, so if we have multiple trait obligations we can just try each combination of candidates to e.g. be able to say "you may have wanted to specify the type `String` here" in [this example](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8d0d538f2e7be1ef37456c841d157b3f).

cc @estebank @jackh726

Open to review/help out if somebody wants to experiment with this. I won't be able to spend too much time on this though, so it's probably pretty difficult without prior experience with this code.

[^1]: This is currently computed ad-hoc in `maybe_report_ambiguity` and should be moved into a separate function.
Repository: PowerToys
Issue: settings backup file - make human readable / plain text
Labels: Idea-Enhancement,Product-Settings,Needs-Triage

### Description of the new feature / enhancement

hello, i appreciate the new settings backup feature very much.

one enhancement i would like to suggest is for the backup file to be human readable. i.e. a text file, such as xml or json.

The current backup file is unfortunately not readable with a text editor :(

### Scenario when this would be used?

a plain text settings backup would give the user much more flexibility. two obvious benefits would be ability to compare and editing backup files directly, without first reimporting to the application.

thank you for considering this!

### Supporting information

_No response_
Repository: excalidraw
Issue: App crashes when all cookies are blocked 
Labels: UX/UI

After blocking all cookies, browser doesn't allow javascript to acces local storage. This causes app to crash.

Because it is not possible to run ( in my understanding ) excalidraw without local storage, I think it would be good idea to catch this error and display according message on the screen so the user understands why it is happening and how they can avoid this problem.
Repository: material-ui
Issue: [Pagination] Accessibility issues when clicking the previous page and the next page
Labels: component: pagination

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Steps to reproduce 🕹

Link to live example:

Steps:

1. click "next page" button or "prev page" button continuously



### Current behavior 😯

When the “next page“ button was activated with Enter/Space continuously, the screen reader lack of feedback.

<img width="240" alt="image" src="https://user-images.githubusercontent.com/39766442/199681898-a8ebae07-82f5-412f-86c0-69010c4caedb.png">


### Expected behavior 🤔

Each time the “next page“ button was activated with Enter/Space ,the screen reader suggest to announce: ”current page x, go to next page button “

### Context 🔦

_No response_

### Your environment 🌎

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  System:
    OS: macOS 12.5.1
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: Not Found
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Chrome: 107.0.5304.87
    Edge: Not Found
    Firefox: Not Found
    Safari: 16.1
  npmPackages:
    @emotion/react: ^11.7.1 => 11.9.3 
    @emotion/styled: ^11.6.0 => 11.9.3 
    @mui/base: ^5.0.0-alpha.87 => 5.0.0-alpha.87 
    @mui/icons-material: ^5.4.1 => 5.8.4 
    @mui/lab: 5.0.0-alpha.92 => 5.0.0-alpha.92 
    @mui/material: ^5.4.0 => 5.8.6 
    @mui/styles: ^5.4.1 => 5.8.6 
    @mui/system: ^5.8.6 => 5.8.6 
    @mui/utils: ^5.8.6 => 5.8.6 
    @types/react: ^17.0.39 => 17.0.47 
    react: ^17.0.2 => 17.0.2 
    react-dom: ^17.0.2 => 17.0.2 
    typescript: ^4.5.4 => 4.7.4 
```
</details>
Repository: opencv
Issue: stitching_detailed.py: Camera parameters adjusting failed.
Labels: bug

### System Information

opencv-contrib-python      4.6.0.66
opencv-python                  4.6.0.66
anaconda                           python 3.11
Operating System              win11

### Detailed description

```
python stitching_detailed.py
SURF not available
['F:/2022/1.bmp', 'F:/2022/2.bmp']
Camera parameters adjusting failed.

Direction transverse

1.bmp
4500 * 16000

2.bmp
4500 * 16000

```

### Steps to reproduce

opencv/blob/4.x/samples/python/stitching_detailed.py

`python stitching_detailed.py F:/2022/1.bmp F:/2022/2.bmp --try_cuda True  --work_megapix 0.6 --features sift --matcher homography --estimator homography --match_conf 0.3 --conf_thresh 0.3 --ba ray --ba_refine_mask xxxxx --wave_correct horiz    --warp compressedPlaneA2B1       --blend multiband --expos_comp channel_blocks --seam dp_colorgrad    --output D:/2022/output/1.jpg`

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: opencv
Issue: FindHomography and EstimateAffine2d have different behaviors for wrong-sized inputs
Labels: bug,category: calib3d,RFC

### System Information

OpenCV 4.x

### Detailed description

This is an RFC.

```findHomography``` throws a CV_Error if the input does not have at least 4 points, cf https://github.com/opencv/opencv/blob/91624e87abaed5ad9250bf845de47d088d506ea2/modules/calib3d/src/fundam.cpp#L385

On the other hand, ```EstimateAffine2d``` does not care and returns an empty matrix if the number of points is insufficient, cf https://github.com/opencv/opencv/blob/91624e87abaed5ad9250bf845de47d088d506ea2/modules/calib3d/src/ptsetreg.cpp#L1059. So does ```estimateAffinePartial2D```, cf https://github.com/opencv/opencv/blob/91624e87abaed5ad9250bf845de47d088d506ea2/modules/calib3d/src/ptsetreg.cpp#L1145

Should we homogeneize the behavior ? (If not, feel free to close this bug).

(BTW, I did not check all functions but ```estimateTranslation3D``` has yet a different behavior as it returns the success/failure in an (undocumented) int but that requires an API change)

### Steps to reproduce

Read the doc.

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)
Repository: storybook
Issue: Preact: Missing addon-docs support
Labels: feature request,preact,addon: docs

Preact does not seem to have proper addon-docs support, which results in:
- Stories being rendered in iframed mode (inlineStories: false)
- No docgen
- No dynamic snippets

Seems like react-docgen [kind of supports](https://github.com/reactjs/react-docgen/issues/96#issue-164035716) Preact, so maybe it's not that complicated to add support?
Repository: PowerToys
Issue: Manager to open application on the right screen and desktop at startup
Labels: Idea-Enhancement,Needs-Triage

### Description of the new feature / enhancement

It would be nice to have a application manager that allows you to open all the application desired on the good screen and right desktop. 
We could have a list of application open at startup and specify for each 

- The screen to open on
- The position on the screen
- The Windows desktop

### Scenario when this would be used?

This could be launch at startup or with a keyboard on desired.

### Supporting information

_No response_
Repository: vscode
Issue: Blocked popups are not handled in Chrome on Github Codespace
Labels: bug,help wanted,web,opener

When using GitHub Codespaces, if an extension tries to spawn a new browser window it's blocked by Chrome:

![Screenshot 2022-11-03 at 10 58 41](https://user-images.githubusercontent.com/1078012/199704163-b22197f0-bced-464f-86e0-6728050a7288.png)

This issue was discussed in the context of Safari in #118731 and it seems like a fix was applied (that detects the blocking, then prompts the user so that the window can be re-triggered from a user-click which would not trigger the blocking), but from the discussion it's not clear if this was only applied to Safari (@isidorn may be able to confirm - I can't see anything Safari specific in the linked commits I reviewed). I certainly don't see that notification in Chrome.

The API called that triggered this was `vscode.env.openExternal`. It was tested today on the current live version of GitHub workspaces (and latest stable version of Chrome).

If I allow github.dev to spawn popups in Chrome settings, ofcourse everything works fine - but that only solves the problem for me and not other users.
Repository: stable-diffusion-webui
Issue: [Feature Request]: new inverse DDIM / DPM fast / DPM adaptative samplers available for img2img alternative
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Would it be possible to implement the code from https://github.com/bloc97/CrossAttentionControl/commit/7482fb2467cd9e06264afa8cef12eca95596c563 in order to support inverse DDIM in img2img alternative script ?

reverse sampling also available for DPM fast and DPM adaptative : https://github.com/crowsonkb/k-diffusion/commit/8413eb22a37b8fd30bd5d8e6e5dbd186d6442b80

Thank you.

### Proposed workflow

1. Go to img2img
2. choose "alternative" script
3. choose between "inverse Euler", "inverse DDIM", "reverse DPM Fast" and "reverse DPM adaptative"  method
4. proceed as usual


### Additional information

in contradiction with https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/1149 (commited) and https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2375 (abandoned), and wiki https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#img2img-alternative-test because current img2img alt script relies only on inverse euler