WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Description of the new feature/enhancement

Proposed technical implementation details (optional)

Issue 2:
Environment

Windows build number: 18362.239
Windows Terminal version (if applicable): 0.2.1.18831.0

Any other software?

Git bash with the profile:
{
"acrylicOpacity" : 0.5,
"closeOnExit" : true,
"colorScheme" : "Campbell",
"commandline" : "C:\\Program Files\\Git\\bin\\bash.exe",
"icon" : "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
"name" : "Git Bash",
"startingDirectory" : "%HOMEDRIVE%%HOMEPATH%",
"cursorColor" : "#FFFFFF",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 10,
"guid" : "{9a3f80c4-d840-4781-a7d3-84f6c7c9dd7c}",
"historySize" : 9001,
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"useAcrylic" : false
},

Python 3.6.8-amd64

Steps to reproduce

Set up gitbash with the json above. Run a long-running task in the current window. Ctrl+c doesn't kill the task

Expected behavior

ctrl+c should kill the task

Actual behavior

Cannot regain control over the current window.
Issue 1:
Original ticket http://projects.scipy.org/scipy/ticket/1629 on 2012-03-25 by trac user briantoby, assigned to @cournape.

Calling scipy.fftpack.ifft2(npary) creates two arrays of size npary; one is returned but the other remains allocated. The attached routine grows in size by 256Mb on every iteration in SciPy 0.10.0 (and previous) in EPD 7.2. I have seen a similar problem, likely due to the same bug in Windows.

Issue 2:
Consider the memory usage of the following code after executing each statement:

import numpy
import scipy.signal
import gc

# memory at this point is ~35mb

a = numpy.ones(10**7)
b = numpy.ones(10**7)

# memory at this point is ~187mb

c = scipy.signal.fftconvolve(a, numpy.flipud(b), mode="full")

# memory usage at this point is 645mb
# given that a,b,c take up about 305mb in total, this is much
# larger than expected

# If we delete a,b,c and garbage collect...

del a,b,c
gc.collect()

# ...the memory usage drops to ~340mb which is a drop of 305mb
# (as expected since that is the size of what we deleted)
# but the remaining memory usage is still 340mb
# which is much larger than the starting value of 35 mb

Is this extra several hundred mb of memory usage a bug?

Platform:

CPython 3.5.1 x64

Scipy 0.17.0 (Christoph Golke's package)

Numpy+MKL 1.11.0rc1 (Cristoph Golke's package)

Windows 8.1 x64
Issue 1:
This discrepancy makes comparing file paths very difficult:

import { join } from "https://deno.land/std/path/mod.ts";

console.log(Deno.realPathSync("."));
console.log(join("C:", "Source", "Deno", "fsdisrepancy"));

Prints out this:

C:/Source/Deno/fsdisrepancy
C:\Source\Deno\fsdisrepancy

This is very problematic, because a lot of libraries are written using join, and if on some point of your code you use realPath then comparing the paths with === is not possible.

Imagine using a library A that uses realPath, and library that uses join at some point, one can't compare the paths with === without sanitization which becomes messy.

Issue 2:
Observed on Deno 1.0.1, for example:

PS C:\Users\srackham> deno eval "console.log(Deno.realPathSync('.'))"
C:/Users/srackham

Other Deno path APIs return '\' separated paths on Window e.g. Deno.cwd().
Issue 1:
VSCode Version:1.0.0

OS Version:Debian Stretch

Git push should ask for authentication, but vs-code reports error :

Authentication failed on git remote.

Issue 2:
The intellisense support for PHP is too poor.

There is no namespace auto complete

No intellisense for the included namespaces

No intellisense for native php classes.. \DateTime for example

The autocomplete appears to be super fuzzy.

class Foo(){

public function bar(){

}

}

$x = new Foo()

$y-> // Shows bar()
Issue 1:
Demo http://codepen.io/FreeCodeCamp/full/KVNNXY of https://www.freecodecamp.com/challenges/show-relationships-with-a-force-directed-graph challenge

XMLHttpRequest cannot load http://www.freecodecamp.com/news/hot. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://s.codepen.io' is therefore not allowed access.

Challenge Show Relationships with a Force Directed Graph has an issue.

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36.

Please describe how to reproduce this issue, and include links to screenshots if possible.

Issue 2:
Challenge Show Relationships with a Force Directed Graph has an issue.

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0.

Please describe how to reproduce this issue, and include links to screenshots if possible.

Just opened the pen and it spits out a CORS error.
Issue 1:
I use go version go1.5.1 darwin/amd64.

I write a simple http server like:

package main

import (
"log"
"net/http"
"os"
"os/signal"
)

func main() {
c := make(chan os.Signal, 1)
signal.Notify(c)
go func() {
for s := range c {
log.Println("recv signal: ", s.String())
}
}()

http.HandleFunc("/hello", func(rw http.ResponseWriter, r *http.Request) {
resp, _ := http.Get("http://www.baidu.com")
if resp != nil && resp.Body != nil {
resp.Body.Close()
}
http.Error(rw, "ok", http.StatusOK)
})
log.Fatal(http.ListenAndServe(":8888", nil))
}

Then, If I curl http://127.0.0.1:8888/hello and then press Ctrl-C very quickly, the server will receive "broken pipe" signal. And if server receive many broken pipe signal, the process will exit.

Issue 2:
Back in https://go.googlesource.com/go/+/f7d3eb9db97a65a43b8d6b8bf42b8698fe4468ee we added code so that if we saw 10 EPIPE failures in a row on the same file descriptor, we would exit the program. Today we exit the program by raising a SIGPIPE signal, but we still wait for 10 failures. That leads to issues like https://golang.org/issue/11839 and workarounds like https://golang.org/cl/12571.

Now that we have the os/signal package, Go programs have the mechanisms they need to control this. I propose that we change the Go runtime to not handle SIGPIPE by default. If os/signal.Notify is used for SIGPIPE, that only at that point should we add a handler for SIGPIPE. Then we should remove the EPIPE handling from the os package, and treat it like any other error.
Issue 1:
Is there a way for the dialog to go fullscreen (no overlay)? this would be handy for a phone view where space is limited.

Issue 2:
Currently I have the Dialog props set to:

title="Dialog"
modal = {true}
actions={standardActions}
autoDetectWindowHeight={false}
autoScrollBodyContent={false}
contentStyle={{width: 700}}
ref="addNewDialog"

If I change contentStyle={{width: 700}} it will not widen. But if I change it to something really small, like 10 px, it works. Does anyone know how I can set it to a much bigger display?
Issue 1:
HEAD: I rewrite my issue for people who search for c++ include error solution.

Opencv4 (version 4.x.x) (building from source for linux) move include files in /usr/local/include/opencv4/opencv2/...

The problem is lot of opencv modules are including <opencv2/...> which make error while compiling.

Yes, I know that is very difficult to change all includes in modules, but you can change it in the Makefile.

Of course, this is just a recommendation for your project, for me, I resolved the problem by executing this commands:

mv /usr/local/include/opencv4/opencv2 /usr/local/include/.
rm -rf /usr/local/include/opencv4

Thanks Developers 🥇 !

EDIT: I found a new problem while compiling a simple opencv project which read image and display it. And I found a resolution for this error:

# I make an opencv.pc file which it can be read by pkg-config in linux
cat > /usr/lib/pkgconfig/opencv.pc << EOF
# Package Information for pkg-config

prefix=/usr
exec_prefix=${prefix}/local
libdir=${prefix}/lib
includedir=${exec_prefix}/include/opencv2

Name: OpenCV
Description: Open Source Computer Vision Library
Version: 4.5.1
Libs: -L${libdir} -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_ximgproc -lopencv_video -lopencv_dnn -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core
Libs.private: -ldl -lm -lpthread -lrt
Cflags: -I${includedir}
EOF

I made a full automation script shell in my repo. Check it later if you like.

Issue 2:
System information (version)

OpenCV => 4.0.0-rc

Operating System / Platform => Ubuntu 18.10

Compiler => gcc 8.2.0 / gcc 6

Detailed description

I did cmake ...Then make and then make install

and it does not generate opencv.pc file.

If I use same commands for version 3.4.3 then the file is created.

Another thing

if I link with pkgconfig then it links to librarys with no version numbers.

so installing 4.0.0-rc after 3.4.3 makes pkgconfig unusable.

it would be nice if there were multiple opencv.pc files like opencv3.4.pc opencv4.pc
Issue 1:
Description

When viewing the DAG history in Tree View, individual DAG run times are available by hovering over the DAG run. As an Airflow user, I would like the average execution time to be readily available in the UI -> DAG -> Tree View.

It can be an average over the last n runs, n being the number of runs selected in the Tree View.

Use case/motivation

The average DAG run execution information can help our team make decisions such as the optimal schedule interval for a DAG.

Related issues

No response

Are you willing to submit a PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
It would be useful to show a running average dag run duration in the grid view. This could be a plotted line on top of the duration bar chart.

The average duration should be calculated on the webserver and included with a dag run's info.

Bonus: We could possibly use the average duration to calculate a very rough "Expected time to completion" for active dag runs.
Issue 1:
Maybe BUG, maybe... i dont understand

Label have style .hidden-xs {display: block !important;}

on sm, md, lg label position to new string... and visual deformation interface

https://gist.github.com/Roosso/6762675

P.S. Sorry for my english

Issue 2:
related to issues #8500 , #7808 , #4929 ; using .hidden-sm to hide span within .nav > li > a . Because class is display: block above -sm then text wraps to new line. Would you consider .hidden-* classes to be display: inline-block instead ?

Here's a jsfiddle of the two cases - but the repercussions could be greater outside of this situation so probably needs more consideration... http://jsfiddle.net/jholl/P86yf/
Issue 1:
System information (version)

OpenCV => 4.2 master

Operating System / Platform => macOS Catalina 10.15.5

Compiler => Cmake 3.18.1; GNU Make 3.81

Detailed description

trying to build OpenCV but getting many errors when run "make -j7". The errors are in train cascade apps folder files.

Steps to reproduce

Downlaod master code. remove comments for create cascade and traincascade in Cmake file of apps directory. Configure and Generate using CMake Gui. Run command make -j7 and the error starts generating.

Tried rectifying them in "old_ml.hpp" for CvFileStorage by using cv::FileStorage and so on. But on correcting many different errors occur in many of the files in this folder.

Few of the errors extract:

build_error.txt

Issue 2:
Hey,

I built opencv 4.0.0 with

cmake -D CMAKE_BUILD_TYPE=RELEASE

-D BUILD_opencv_apps=ON

-D OPENCV_EXTRA_MODULES_PATH=<path_to...>/modules ..

However, in "build/app" there are no createsamples and traincascade. There are annotation, interractive-calibration, version and visualisation only.

These folders are present in <opencv_src>/apps.

OS - Ubuntu 16.06 LTS

Versions 3.4.X worked fine.

Is this changed recently?
Issue 1:
Atom is incorrectly highlighting the javascript in this markdown that I am writing. It's written like this because we're seeding, but, even though there isn't a mismatched quote, it seems to think there is. This issue might be more properly put on a package page, but I'm not sure which one to put it on. Also, this happens whether or not I have soft wrap on. It's kinda weird, and doesn't go away if Atom is killed and restarted.

Also, to make sure this isn't part of the debate, this is how it looks on emacs. It's properly enclosed there, which tells me that it's Atom and not that there is an unclosed quote there:

If I should submit this somewhere else, let me know.

Issue 2:
I opened a Python file with the following line (#963):

PrintAndLog(u"SSID: " + RememberedNetwork["SSIDString"].decode("utf-8") + u" - BSSID: " + RememberedNetwork["CachedScanRecord"]["BSSID"] + u" - RSSI: " + str(RememberedNetwork["CachedScanRecord"]["RSSI"]) + u" - Last connected: " + str(RememberedNetwork["LastConnected"]) + u" - Security type: " + RememberedNetwork["SecurityType"] + u" - Geolocation: " + Geolocation, "INFO")

Which led to the following bug:

You can find this as the main file in osxauditor.py.
Issue 1:
I have embedded form type with validation group which is important for parent form, but according to this http://symfony.com/doc/current/reference/forms/types/form.html#cascade-validation it's not considered. Is there some way to force it's usage?

CurrencyBundle\Entity\Price:
constraints:
- CurrencyBundle\Validator\Constraints\OptionalPrice:
groups: [Optional]
properties:
value:
- NotBlank:
groups: [Default]
- Type:
groups: [Default, Optional]
type: numeric
- Range:
groups: [Default, Optional]
min: 0
currency:
- NotBlank:
groups: [Default]
- Currency:
groups: [Default, Optional]

RFPBundle\Entity\Request:
properties:
requestProducts:
- Valid: ~

RFPBundle\Entity\RequestProduct:
properties:
requestProductItems:
- Valid: ~

RFPBundle\Entity\RequestProductItem:
properties:
price:
- Valid: ~

class RequestProductItemType extends AbstractType
{
/**
* {@inheritdoc}
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add(
'price',
PriceType::NAME,
[
'currency_empty_value' => null,
'label' => 'rfp.requestproductitem.price.label',
'validation_groups' => ['Optional'],
]
);
}

Issue 2:
I have an entity where I'm using the following validators:

/**
* @Assert\Callback(methods={"isValid"}, groups={"group1", "group2"})
*/
class UserProduct
{
/**
* @var string $title
* @Assert\NotBlank(message="title.blank", groups={"group1", "group2"});
*/
private $title;

/**
* @var Project\AuthenticationBundle\Entity\User
* @Assert\Valid(groups={"group2"});
*/
private $user;

Calling $this->get('validator')->validate($userProduct, array('group1')) asserts the class constraint (@Assert\Callback) and the $title property but also the $user one too, even though it's not included in the validation group. The same happens if no groups are passed to the Valid constraint.

Removing the @Assert\Valid() constraint and running the same validation again for group1 does not assert the $user property, as expected.

The MemberMetadata class appears to always force the cascading of the Valid constraint, although I'm unsure if this is exactly related to the issue I'm experiencing.

// Symfony\Component\Validator\Mapping\MemberMetadata.php
if ($constraint instanceof Valid) {
$this->cascaded = true;
$this->collectionCascaded = $constraint->traverse;
} else {
parent::addConstraint($constraint);
}

Running on Symfony2 master.
Issue 1:
I create this post to bring attention to this thread where I explain my problem: https://stackoverflow.com/questions/57269797/aggregate-several-axessubplot-after-multiprocessing-to-draw-a-matplotlib-figure It provides details and reproducible code, so I prefer to not duplicate.

Can someone tell me if it's a bug or if I missed something in my code ?

Thanks in advance !

Issue 2:
I'm sure we're all very aware that the travis results are failing (every PR gets some form of notification). I can't find a ticket which raises this issue, so here it is.

Has anyone done any investigation into the failings? It would be nice to have it all passing so that we can make good use of the closer github / travis-ci integration messages.
Issue 1:
❓ Questions and Help

Please note that this issue tracker is not a help form and this issue will be closed.

We have a set of listed resources available on the website. Our primary means of support is our discussion forum:

Discussion Forum

Issue 2:
https://pytorch.org/docs/stable/torch.html?highlight=sparse_coo_tensor#torch.sparse_coo_tensor doesn't mention it and doesn't have examples.

SciPy mentions (https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.coo_matrix.html) that the corresponding values are to be summed.

Would be useful for new users of PyTorch sparse package (like myself).
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

after npm i material-ui-codemod

expected to find node_modules/material-ui-codemod/lib/v1.0.0/svg-icon-imports files

Current Behavior

node_modules/material-ui-codemod/lib/v1.0.0/svg-icon-imports is missing

Cheers ! & thx for reading :)

Issue 2:
The Select API docs for type are missing an array of strings.

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Should display (or something like this).

union: $ReadOnlyArray<string, number>
string
number

Current Behavior

https://material-ui.com/api/select/

https://github.com/callemall/material-ui/blob/v1-beta/src/Select/Select.js#L121
Issue 1:
I called method in my code like this ( Share.share("some text to share"); ) and received an exception :

E/flutter ( 3361): [ERROR:flutter/shell/common/shell.cc(181)] Dart Error: Unhandled exception:
E/flutter ( 3361): MissingPluginException(No implementation found for method share on channel plugins.flutter.io/share)
E/flutter ( 3361): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
E/flutter ( 3361): <asynchronous suspension>
E/flutter ( 3361): #1 Share.share (package:share/share.dart:44:20)
E/flutter ( 3361): #2 SignalCard.build.<anonymous closure> (package:airzup/ui/widget/signal_card.dart:103:45)
E/flutter ( 3361): #3 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
E/flutter ( 3361): #4 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:562:30)
E/flutter ( 3361): #5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
E/flutter ( 3361): #6 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
E/flutter ( 3361): #7 TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
E/flutter ( 3361): #8 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
E/flutter ( 3361): #9 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20)
E/flutter ( 3361): #10 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
E/flutter ( 3361): #11 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
E/flutter ( 3361): #12 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
E/flutter ( 3361): #13 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
E/flutter ( 3361): #14 _invoke1 (dart:ui/hooks.dart:153:13)
E/flutter ( 3361): #15 _dispatchPointerDataPacket (dart:ui/hooks.dart:107:5)

Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v0.9.4, on Microsoft Windows [Version 10.0.17134.345], locale ru-RU)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.1)
[!] IntelliJ IDEA Community Edition (version 2018.2)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
[√] Connected devices (1 available)

! Doctor found issues in 1 category.

Issue 2:
I have 3 ListView, so I create a page just like the TabBarView Demo in Gallery Sample.

But I found there are serveral bugs:

If I set the unselectedLabelStyle to regular and set labelStyle to medium, the display is strange, only one unselectedLabel updated.

if the ListView has only few items, can not scroll up and down.

The RefreshProgressIndicator can not display, if I set displacement = 80, then I could see it, but the position is wrong.
Issue 1:
Bug report

What is the current behavior?

when debuging an vuejs project with firefox , the genereate source map is not dispalyed correctly. on chrome it is Ok

i have two generated bundle: main.js chunk-verndor.js and two source map: main.js.map, chunk-vendor.js.map

this is the screen shot for firefox :

the displayed text:

import mod from "-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileChart.vue?vue&type=script&lang=js&"; export default mod; export * from "-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileChart.vue?vue&type=script&lang=js&"

this is the screenshot for chrome:

If the current behavior is a bug, please provide the steps to reproduce.

build vuejs with source map

What is the expected behavior?

firefox should display like chrome

Other relevant information:

webpack version: 4.44.1

Node.js version: v10.21.0

Operating System: ubutun 20

Additional tools: @vue/cli 4.4.6

Issue 2:
I've put together a quick repo to demonstrate the problem: https://github.com/Stuk/webpack-sourcemaps-firefox

And here's a gif of the issue in action:

I've checked Uglify, and Firefox has no issues there. I've tried the different config options for devtool:

eval - works

cheap-eval-source-map - works

cheap-source-map - does not work

cheap-module-eval-source-map - works

cheap-module-source-map - does not work

eval-source-map - works

source-map - does not work

So seems like eval is file, but an external sourcemap for multiple files does not.

Any thoughts about what's going on?

I've also filed an issue on Bugzilla, in case this is a FF devtools issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1177329
Issue 1:
How can this common Windows 7 error be fixed? I'm using the Java bindings and I'm about to go nuts since I tried everything and nothing worked:

Running the system file checker sfc /scannow (no violations found)

Searching for each DLL in the Windows search (all DLLs are found)

Repairing the system image Dism /Online /Cleanup-Image /RestoreHealth (does not work on Windows 7)

Downloading OpenCV and extract the DLLs to the Java application's root folder (does not fix the issue)

Installing the DirectX End-User Runtime Web Installer (does not fix the issue)

Rebooting after all previous mentioned points (does not fix the issue)

This is a related StackOverflow question with additional information.

Thank you.

Issue 2:
the installed opencv_world342.dll need "Api-ms-win-downlevel-shlwapi-l1-1-0.dll" which is not in Windows 7. (vc2015_redist.exe already installed).

when I copy it from windows10, it works.