sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: opencv
Issue: Feature Request : Image stitcher to use Lat Lon of image (if available) so as to speed up stitching of drone Images
Labels: feature,category: stitching,incomplete

<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).

Please:

* Read the documentation to test with the latest developer build.
* Check if other person has already created the same issue to avoid duplicates. You can comment on it if there already is an issue.
* Try to be as detailed as possible in your report.
* Report only one problem per created issue.


This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->

##### System information (version)
<!-- Example
- OpenCV => 3.1
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
-->

- OpenCV => :grey_question:
- Operating System / Platform => :grey_question:
- Compiler => :grey_question:

##### Detailed description

<!-- your description -->
I am trying to stitch around 300 drone images from ( https://senseflycom.s3.amazonaws.com/datasets/sequoia-rgb-dataset/sequoia-rgb-images.zip ) as a project using opencv

what i think ,
we first calculate  feature descriptors ,
than we match all images against a image (so here i guess algo is trying to find best matches from other 299 images )

so if Lats Lons are available we already know which images will get stitched 
so we only have to look for nearest like 8-10 images (in all directions) rather than matching to all 299 images 

##### Steps to reproduce

<!-- to add code example fence it with triple backticks and optional file extension
    ```.cpp
    // C++ code example
    ```
 or attach as .txt or .zip file
-->
Repository: flutter
Issue: cameraController operations block the UI thread for up to ~500ms at a time on iOS
Labels: platform-ios,c: performance,p: camera,package,P2,team-ios,triaged-ios

`CameraController` operations return `async`/`await` Futures, but many of them run synchronously.

For example, `CameraController.initalize()` calls `AVCaptureSession.addInput()`, `addOutput()`, `startRunning()` etc all of which freeze the UI thread momentarily.

As an alternative, it's recommended that `AVCaptureSession` operations be called on a dedicated serial `DispatchQueue`.
Repository: flutter
Issue: API docs are missing the overview for all package docs
Labels: framework,d: api docs,P2,team-framework,triaged-framework

The lower part of the sidenav on https://docs.flutter.io/ contains links to API docs for a number of packages exposed by Flutter. For those docs, there seems to be no way to get to the overview page of the package docs. For example, the sidenav contains `term_glyph`. The overview page of that package is [shown here on pub](https://pub.dartlang.org/documentation/term_glyph/latest/). But when you click `term_glyph` in the sidenav on `docs.flutter.io`, [I don't see](https://docs.flutter.io/flutter/package-term_glyph_term_glyph/package-term_glyph_term_glyph-library.html) that overview.

**Update 9. nov 2022**: The API docs page is now https://api.flutter.dev/. This still has the issue. For example, when you click `characters` in the left-nav you get [this page](https://api.flutter.dev/flutter/characters/characters-library.html), but I think the landing page should be [this page](https://pub.dev/documentation/characters/latest/).
Repository: rust
Issue: const fn: Missing tracking issue and feature gate name in stability error messages
Labels: C-enhancement,A-diagnostics,T-compiler,A-const-eval

In rustc 1.33.0-nightly (a2b0f247b 2018-12-30), compare for example:

```rust
error: function pointers in const fn are unstable
 --> a.rs:1:26
  |
1 | const fn foo(x: fn()) -> fn() { x }
  |                          ^^^^

error: aborting due to previous error
```

… with the error message for some other unstable language feature:

```rust
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #49733)
 --> a.rs:1:24
  |
1 | fn foo() -> Box<u32> { box 4 }
  |                        ^^^^^
  |
  = help: add #![feature(box_syntax)] to the crate attributes to enable

error: aborting due to previous error
```
Repository: godot
Issue: Typing in Transform/Matrix Section Makes Linux Freeze
Labels: bug,platform:linuxbsd,confirmed,topic:input

**Godot version:**
Version 3.1 Alpha 4 (This bug also happens in Godot Version 3.1 Alpha 3)


**OS/device including version:**
Fedora Workstation 29 Silverblue


**Issue  description:**
Sometimes when I typing in Transform/Matrix section in the Inspector to change their values, my computer becomes freezing. When it becomes normal again, I looked at my System Monitor and it shows "ibus-daemon" and "gnome-shell" each takes my RAM about 1 GB+.


**Steps to reproduce:**
Just typing in Transform/Matrix section.

**Minimal reproduction project:**
This bug happens to every my project files.
Repository: vscode
Issue: Emmet dollar sign $ being automatically escaped within abbreviation text when no star * operator
Labels: bug,upstream,emmet,upstream-issue-linked

- VSCode Version: 1.30.1
- OS Version: windows 10

No numeration in custom emmnet snippets with syntext +.

Steps to Reproduce:
1. build custom snippet "test":"(div>div.aaa{$}+div.bbb{$})".	
2. run custom snippet test*2
3. output 
```
<div>
	<div class="aaa">$</div>
	<div class="bbb">1</div>
</div>
<div>
	<div class="aaa">$</div>
	<div class="bbb">2</div>
</div>
```
no numeration in first div.
error not ocure when I run custom snippet with internal muliplayer.

"test":"(div>div.aaa{$}+div.bbb{$})*5".
run test output: 
```
<div>
	<div class="aaa">1</div>
	<div class="bbb">1</div>
</div>
<div>
	<div class="aaa">2</div>
	<div class="bbb">2</div>
</div>
```
 
Does this issue occur when all extensions are disabled?: Yes
Repository: kubernetes
Issue: Rethink pod affinity/anti-affinity
Labels: priority/important-soon,sig/scalability,sig/scheduling,kind/feature,lifecycle/frozen

Pod Affinity/AntiAffinity is causing us a bunch of pain from performance/scalability perspective.

Although scheduling SIG has done tremendous effort to improve it, it's still the very significant (most?) factor for scheduling throughput.

The reason why this is so painful, is that it is cluster-wide function, i.e. we need to know the state of the whole cluster to compute feasibility/priority of a single node. This is unique (I'm consciously ignoring aggregation in priority function (e.g. normalization based on scores of all nodes), which is the only other exception) and this is the reason of our issues.

I think that in order to significantly improve throughput, we need to somehow strenghten this predicate/priority.

(I know it will be painful due to deprecation process), but here I propose that we say that the only allowed topology for pod affinity/anti-affinity is "node".

What would this buy us:
- computations of feasibiliyt/priority of a node is local to that node only
- we can fully parallelize all the computations across nodes

What do we lose:
- the predicate/priority is no longer generic
However, I claim that this function (as is) is not super useful in a generic case (the usecase is spreading across failure domains). And given that predicate is "at most one per FD" (not spread ~evenly), it's not generic enough to solve many cases.

I think that if we would strenghten pod affinity/anti-affinity topology to be always "node" and in addition to that will introduce "spread evenly" function, that would be more beneficial.

Thoughts?


/kind feature
/sig scheduling

@davidopp @bsalamat @kubernetes/sig-scheduling-feature-requests
Repository: flutter
Issue: [google_maps_flutter] Maps Inside ListView with TextField is unable detect pinch/movie gestures, only double tap works 
Labels: a: text input,framework,f: scrolling,f: gestures,p: maps,package,team-ecosystem,has reproducible steps,P2,found in release: 1.20,found in release: 2.0,found in release: 2.2,triaged-ecosystem

```dart
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class MapIssue extends StatefulWidget {
  @override
  _MapIssueState createState() => _MapIssueState();
}

class _MapIssueState extends State<MapIssue> {
  GoogleMapController mapController;

  @override
  Widget build(BuildContext context) {
    double screenWidth = MediaQuery.of(context).size.width;
    double screenHeight = MediaQuery.of(context).size.height;

    return Scaffold(
      body: ListView(
        children: <Widget>[
          Container(
              width: screenWidth,
              height: screenHeight,
              child: Column(
                children: <Widget>[
                  Expanded(
                    child: GoogleMap(
                      onMapCreated: (controller) {
                        setState(() {
                          mapController = controller;
                        });
                      },
                      options: GoogleMapOptions(
                          cameraPosition:
                          CameraPosition(target: LatLng(5.4164, 100.3327), zoom: 10)
//                          cameraPosition: CameraPosition(
//                              target: LatLng(myPosition.latitude,
//                                  myPosition.longitude),
//                              zoom: 14)
                      ),
                    ),
                  ),

                  TextField(),
                ],
              )
          ),
        ],
      )
    );
  }
}
```


Steps to reproduce issue
1. hit on textfield at the bottom 
2. hit the done button on the keyboard.
3. try to pinch and or move the view of the map

moving the camera on the map becomes glitched moving sometimes and most of the time not.
Repository: flutter
Issue: Hot Reload for tests
Labels: a: tests,c: new feature,tool,t: hot reload,P2,team-tool,triaged-tool

Hot Reload is one of the biggest selling points of Flutter. It makes development fast. At least when writing user interfaces. Unit tests don't support Hot Reload. With Dart2, spawning a new Isolate for each test file, tests became rather slow (multiple seconds until seeing first results).

It would be great when Hot Reload would also work for tests, making not only UI development fast but also TDD fun.

Related https://github.com/dart-lang/sdk/issues/32953
Repository: opencv
Issue: OpenCV Lanczos5 interpolation request
Labels: feature,category: imgproc

Detailed description

This is a feature request instead of a bug report. 
I need to use Lanczos5 as interpolation and at this moment the only Lanczos supported is Lanczos4. I have asked here http://answers.opencv.org/question/206261/lanczos5-instead-of-lanczos4/ if is it possible to use Lanczos5 instead of Lanczos4, but as I've found in my researches it is not possible.

The proposition is to include the Lanczos5 interpolation into OpenCV. As I could see there is no major impact in the existing code.
Repository: angular
Issue: Service Worker Push requestSubscription error on SAFARI 12
Labels: type: bug/fix,area: service-worker,state: confirmed,browser: safari,P3

# 🐞 bug report

### Affected Package
The issue is caused by package @angular/service-worker

### Is this a regression?
I don't know

### Description
The swPush requestSubscription break on SAFARI browser


## 🔬 Minimal Reproduction
```javascript
import { Optional, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { SwPush } from '@angular/service-worker';
import { Observable } from 'rxjs';

import { environment } from '../../environments/environment';
import { PushNotification } from './notification';

@Injectable({
  providedIn: 'root'
})
export class NotificationService {

  constructor(
    private http: HttpClient,
    @Optional() private swPush: SwPush
  ) { }

  activate(): Observable<void> {
    return Observable.create((observer) => {
      this.swPush.requestSubscription({
        serverPublicKey: environment.webPush.publicKey
      }).then((subscription: PushSubscription) => {
        this.http.post(`${environment.serverUrl}/subscription`, subscription).subscribe(() => {
          observer.next();
          observer.complete();
        }, (err) => {
          observer.error(err);
        });
      }).catch((err) => {
        console.log(err): // => Here an error occurs on Safari : TypeError: undefined is not an object (evaluating 't.subscribe')
        observer.error(err);
      });
    });
  }

  sendNotification(notification: PushNotification): Observable<void> {
    return this.http.post<void>(`${environment.serverUrl}/notification`, notification);
  }

  messages(): Observable<PushNotification> {
    return <Observable<PushNotification>>this.swPush.messages;
  }
}

```

## 🔥 Exception or Error
<pre><code>
TypeError: undefined is not an object (evaluating 't.subscribe')
</code></pre>

## 🌍  Your Environment

**Angular Version:**
<pre><code>
Angular CLI: 7.1.4
Node: 8.11.3
OS: darwin x64
Angular: 7.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.4
@angular-devkit/build-angular     0.11.4
@angular-devkit/build-optimizer   0.11.4
@angular-devkit/build-webpack     0.11.4
@angular-devkit/core              7.1.4
@angular-devkit/schematics        7.1.4
@angular/cdk                      7.2.0
@angular/material                 7.2.0
@angular/pwa                      0.11.4
@ngtools/webpack                  7.1.4
@schematics/angular               7.1.4
@schematics/update                0.11.4
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.23.1

AND : 
"@angular/service-worker": "~7.1.0",
</code></pre>

**Anything else relevant?**
This issue is on Safari browser Version 12.0.2 (13606.3.4.1.4)
Repository: rust
Issue: 2018: fix lint on unused dependencies
Labels: A-lints

Quoting from https://github.com/rust-lang/rust/issues/53128#issuecomment-450008852

> Previously `warn(unused_extern_crates)` was a way to detect unused dependencies. How can I:
> 
> 1. declare dependencies in the root module
> 2. be warned when those dependencies are not used
> 
> As it is now, cargo builds all dependencies and does not warn if they are unused.
Repository: rust
Issue: ICE in object_safety.rs due to method receiver not having a layout
Labels: I-ICE,T-compiler,C-bug,F-arbitrary_self_types,requires-nightly,F-dispatch_from_dyn,glacier,S-bug-has-test

The following code causes an ICE, ``Error: the type `T` has an unknown layout``:

```rust
#![feature(arbitrary_self_types, dispatch_from_dyn)]

use std::ops::{Deref, DispatchFromDyn};

trait Trait<T: Deref<Target=Self> + DispatchFromDyn<T>> {
    fn foo(self: T) -> dyn Trait<T>;
}
```

Similar to #56806, `receiver_is_dispatchable` succeeds, and then there is an ICE during the layout sanity checks. In this case, it is because the method receiver is a type parameter and has no layout.

`receiver_is_dispatchable` checks that the following predicate holds: 

```
forall (U: Trait + ?Sized) {
    if (Self: Unsize<U>) {
        Receiver: DispatchFromDyn<Receiver[Self => U]>
    }
}
```

In this case, it reduces to `T: DispatchFromDyn<T>`, which is provided by a where clause. In #56806, it reduced to `Box<dyn Trait>: DispatchFromDyn<Box<dyn Trait>>`. The check passes in both cases, and then there is an ICE during the layout sanity checks.

One way to fix both of these cases would be to add an extra requirement to `receiver_is_dispatchable`: that `Receiver` and `Receiver[Self => U]` are not the same type. I'm not sure if there are any edge cases that that doesn't cover.

cc @varkor #57229
Repository: go
Issue: runtime: GDB tests fail on freebsd/arm builder
Labels: help wanted,OS-FreeBSD,NeedsFix,compiler/runtime

From https://github.com/golang/go/issues/28679#issuecomment-450915013 ...

> This is still failing freebsd-arm-paulzhol builds.
> Latest failure: https://build.golang.org/log/d9278491818714d74a9190557d6107f737d48612
>
> Is it feasible to disable this test, as @bradfitz suggested earlier? Or is there something else that can be tried?

Disabling for now.

/cc @paulzhol
Repository: flutter
Issue: Android ShowLayoutBounds does not work with Flutter
Labels: c: new feature,platform-android,framework,engine,P2,team-android,triaged-android

https://twitter.com/ibhavikmakwana/status/1038838562836242432

I'm not sure that it should work. :) But we may want to at least document why, or what alternatives to use (e.g. Flutter's own debug options) in the coming-to-flutter-from-android docs.

Thoughts?
Repository: go
Issue: image/jpeg: support for yuvj444p jpeg images
Labels: NeedsDecision,FeatureRequest

<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Go are you using (`go version`)?

<pre>
go version go1.11.2 darwin/amd64
</pre>

### Does this issue reproduce with the latest release?
Yes


### What operating system and processor architecture are you using (`go env`)?

<details><summary><code>go env</code> Output</summary><br><pre>
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/xxx/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/xxx/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11.2/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11.2/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/vh/n9x4w_4d19j638bvjrl85tvm0000gn/T/go-build328625839=/tmp/go-build -gno-record-gcc-switches -fno-common"
</pre></details>

### What did you do?

$ curl -o x.jpg https://stat.ameba.jp/user_images/20130130/12/k15911/4c/c4/p/o0800064012397991799.png

$ file x.jpg

x.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, progressive, precision 8, 800x640, frames 3

$ ffmpeg -i x.jpg
Input #0, image2, from 'x.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 36507 kb/s
    Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 800x640 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc

image.DecodefConfig() and image.Decode() both throw an error for this file (did import _ image/jpeg). 

Does the jpeg decoder support this pixel format? Note: the originating website has named the file as .png but it is a jpg file, so ignore that for now.

Another url with similar error: https://www.ikea.com/es/es/images/products/malm-estruc-cama-2-caj-blanco__0559854_pe662044_s4.jpg

The all open fine in the browser and other tools like ffmpeg and imagemagick. 

### What did you expect to see?

Expect Go to support these file like other normal image processing tools.

### What did you see instead?

error decoding: image: unknown format


![x](https://user-images.githubusercontent.com/1776549/50611223-80c23e00-0e8a-11e9-84c2-b9cbbddd57e0.jpg)
Repository: rust
Issue: error E0283 "type annotations required" in where clause
Labels: A-type-system,A-trait-system,T-compiler,C-bug,T-types

The following code (generated by a macro) does not compile:

```
fn test<'a, 'b>(a: &'a i32, b: &'b i32) 
where &'a i32: Copy, &'b i32: Copy
{}
```
([playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=038030d9efb49c8b2ccb6c5555758f2e))

Output:

```
error[E0283]: type annotations required: cannot resolve `&'a i32: std::marker::Copy`
 --> src/lib.rs:2:1
  |
2 | / fn test<'a, 'b>(a: &'a i32, b: &'b i32) 
3 | | where &'a i32: Copy, &'b i32: Copy
4 | | {}
  | |__^
  |
  = note: required by `std::marker::Copy`
```

The error message seems a bit weird to me, as I don't see where type annotations could be added.
Note that in this particular case the bounds are trivial, but since the code is generated by a macro I can't get rid of them easily.

The error also happens with a type parameter, as in:
```
fn test<'a, 'b, T>(a: &'a T, b: &'b T) 
where &'a T: Send, &'b T: Send
{}
```
([playground link](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=9e8ca1b479986a4f9ff81a2a26163d41))

Also, this code (replaced the lifetime of the second bound) compiles without errors:

```
fn test<'a, 'b>(a: &'a i32, b: &'b i32) 
where &'a i32: Copy, &'a i32: Copy
{}
```
Repository: flutter
Issue: Material library needs a CustomScrollView compatible RefreshIndicator
Labels: c: new feature,framework,f: material design,f: scrolling,P2,team-design,triaged-design

Attempting to re-use the existing RefreshIndicator by wrapping a CustomScrollView results in the indicator showing above the app bar and scrolling with the view. We likely need a sliver-based RefreshIndicator.


cc @HansMuller
Repository: rust
Issue: Don't require `extern crate`
Labels: T-lang

Breaking out from #53128

Currently, `extern crate` is still required for sysroot crates, like `test`, `proc_macro`, `core` or `std`. One needs to `extern crate` them ~for use in `no_std` crates~ unless they are implicitly imported (like `std` is without `#![no_std]`, or `core` with it).

* proc_macro today is automatically imported by Cargo for proc-macro declared crates
* alloc and std need extern for no_std (or std crates)
* core is automatically extern'd in for all crates

This is the tracking issue for making them not require `extern crate`.
Repository: flutter
Issue: AnnotatedRegion sized logic is not flexible enough
Labels: c: new feature,framework,P2,team-framework,triaged-framework

Currently, the `AnnotatedRegionLayer` has a single configuration - a `Size` object which is used to clip hit testing. Passing `sized: false` allows a layer to be hit even if it is outside of the clip.

However, there is no way to short circuit hit detection (I mistakenly thought there was), such that a child layer will always win. We should allow configuration of this hit test behavior via an enum similar to regular hit detection.

+ @gspencergoog are there any requirements here for mouse events as well?