WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
System information (version)

OpenCV => Git Master

Operating System / Platform => Raspbain Buster - 32 Bit

Compiler => gcc 8.3.0

Detailed description

Cmake is running fine, but make fails with internal compiler error: Segmentation fault

[ 1%] Linking C static library ../lib/libquirc.a
during GIMPLE pass: slp
/home/pi/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc: In member function 'google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::GetBlockSlow(void*, google::protobuf::internal::ArenaImpl::Block*, size_t)':
/home/pi/opencv/3rdparty/protobuf/src/google/protobuf/arena.cc:230:19: internal compiler error: Segmentation fault
ArenaImpl::Block* ArenaImpl::GetBlockSlow(void* me, Block* my_full_block,
^~~~~~~~~
[ 1%] Built target quir

Steps to reproduce

cd ~

git clone https://github.com/opencv/opencv

git clone https://github.com/opencv/opencv_contrib

cd opencv

mkdir build && cd build

cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
-D ENABLE_NEON=ON \
-D ENABLE_VFPV3=ON \
-D BUILD_TESTS=OFF \
-D OPENCV_ENABLE_NONFREE=ON \
-D INSTALL_PYTHON_EXAMPLES=OFF \
-D CMAKE_CXX_FLAGS=-latomic \
-D OPENCV_EXTRA_EXE_LINKER_FLAGS=-latomic \
-D BUILD_EXAMPLES=OFF ..

make -j4

Issue 2:
Can anyone help me with this compilation error? Thanks

Raspberry Pi 3 B+

OpenCV 4.1.0

cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \ -D ENABLE_NEON=ON \ -D ENABLE_VFPV3=ON \ -D BUILD_TESTS=OFF \ -D INSTALL_PYTHON_EXAMPLES=OFF \ -D CMAKE_SIZEOF_VOID_P=4 \ -D BUILD_opencv_python3=TRUE \ -D PYTHON3_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so \ -D BUILD_EXAMPLES=OFF ..

Error during compilation:

[ 98%] Built target gen_opencv_python_source [ 98%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o during RTL pass: expand In file included from /home/pi/opencv/modules/python/src2/cv2.cpp:1722: /home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h: In function ‘PyObject* pyopencv_cv_detail_detail_BlocksGainCompensator_apply(PyObject*, PyObject*, PyObject*)’: /home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_types.h:79645:17: internal compiler error: Segmentation fault const char* keywords[] = { "index", "corner", "image", "mask", NULL }; ^~~~~~~~ 0x76a7311f ??? ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64 0x76a5d717 __libc_start_main /build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:63: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:11793: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2 make: *** [Makefile:163: all] Error 2

https://pastebin.com/5FnMjAQe

Complete compilation: https://pastebin.com/ujKu1mRT
Issue 1:
Issue Type:

Feature Idea

Ansible Version:

ansible 1.5.4

Environment:

N/A

Summary:

Related to #3245 I'd like to request the ability to use vars_prompt in a role, such as:

an action "include_vars_prompt" similar to "include_vars" but which functions as vars_prompt does

OR

have the ability to have vars_prompt function in role vars files (perhaps a ROLES/vars/prompt.yml file in addition to main.yml)

My use case:

My deployment system uses a role to handle the actual deployment. Specifically, hosts are grouped in inventory into application groups, each group has a group_vars file that sets the required vars (git repos, pip files, application name, etc..) for the role to perform the deployment with.

Our main playbook then has a play for each application, targeted at the application group, that calls the deployment role.

What I would like to do now is easily add vars_prompt: functionality into the deployment role so that I may prompt the user for the desired release to deploy. For automated invocation, the release would need to be supplied as an extra var, which is fine.

Having this feature would allow me to avoid having to duplicate via copy-n-paste the vars_prompt bits for each application deployment play. Since I have multiple prompts per application and would like to use Jinja templates to define the prompt and default vars, the repetition of this code gets unwieldy quickly. Moreso when I end up needing to split applications up into separate playbooks.

Thanks!

-n

Issue 2:
Neither of the following obvious approaches work for storing /etc/ssh/ssh_host_key in an Ansible vault, i.e. a vars file:

YAML 1.1's !binary (spec, tag draft), because the parser fails

copy with content set to "{{ ssh_host_key|b64decode }}", because the Jinja2 template engine corrupts the result

All the workarounds I've found involve writing to temporary files and decoding them, plus use of register and changed_when to detect whether the target really changed or not.

Could we add the !binary parser to avoid the need to use Jinja2, or fix our use of Jinja2, or fix Jinja2?

See also: ansible/ansible-modules-core#1961
Issue 1:
Scott Haug opened SPR-2850 and commented

Similar to #7571, a change in the Quartz 1.6 API has made some of the nice Spring-related features incompatible with that release. Namely, the changes related to the following issue have made SimpleTriggerBean and CronTriggerBean useless with Quartz 1.6

http://jira.opensymphony.com/browse/QUARTZ-417

This change resulted in org.quartz.impl.jdbcjobstore.JobStoreSupport#storeTrigger using '==' rather than instanceof to determine if the trigger is a SimpleTrigger or CronTrigger. Ostensibly, this is to allow custom triggers to extend either of these classes, but it prevents Spring from providing extended configuration functionality through subclassing. Personally, I think a better solution on Quartz's part would have been to introduce a marker interface like CustomTrigger, but I'm not sure how receptive the Quartz team will be to change this yet again to accomodate Spring code.

My workaround has been to turn SimpleTriggerBean and CronTriggerBean into FactoryBeans. This is much clunkier, as it requires a lot more copying of data, but it gets the job done and is backwards-compatible.

Affects: 2.0 final

Issue Links:

#7705 Quartz 1.6/CronTriggerBean persistence problem ("is duplicated by")

#7564 Spring Quartz support, persistent jobs. ("is duplicated by")

19 votes, 22 watchers

Issue 2:
Caesar Loh opened SPR-4597 and commented

In line 108 of NativeJdbcExtractorAdapter, it will return a null for connection.

This occur when the datasource is being retrieved from another server rather than the holding server. The metadata.getConnection() will return a null, and obviously by comparing it with the original connection, it will be different. Thus, this method will return a null.

How about doing a simple check for null before returning the connection? In any case, metadataConnection will simply return the same connection.

Affects: 2.0.6, 2.0.7, 2.0.8, 2.5.1, 2.5.2

Issue Links:

#9273 NativeJdbcExtractorAdapter .getNativeConnectionConnection ("is duplicated by")

Backported to: 2.0.9
Issue 1:
Fantastic idear of implementing the best tools in PowerToys (loved powerToys in the old days :)

I would like to see ZoomIT in PowerToys, this tool is the perfect tool for presenters and when working with coworkers:

https://docs.microsoft.com/en-us/sysinternals/downloads/zoomit

Issue 2:
Summary of the new feature/enhancement

Useful tools that many Windows developers, testers and sysadmins install are Microsoft (aka Mark Russinovich's) Sysinternals BgInfo and ZoomIt (and Microsoft Garage Mouse without Borders). Please add BgInfo and ZoomIt to Microsoft PowerToys so they can be conveniently installed, discovered, and enhanced. BgInfo is great for remote desktop scenarios when managing many Windows servers, ZoomIt is super usefully when doing a code, UI, spreadsheet or (Visio) drawing peer reviews. Especially useful is ZoomIt's quick hotkeys, screen pen inking and shapes drawing features.

ZoomIt

BgInfo

Proposed technical implementation details (optional)

N/A
Issue 1:
Summary of the new feature/enhancement

When creating/editing a zone, an option for "keep on top" would be a great enhancement. Any window in this zone would be on top of other windows. Of course it would be nice if this was just part of Windows. :-)

Proposed technical implementation details (optional)

Issue 2:
Summary of the new feature/enhancement

I'd like to propose PowerToys Run to blur behind the search bar. This matches up a bit to how mcOS and iS do their system-wide search bar and looks a bit cleaner, in my opinion. As this is likely to have a performance hit, it should be an option not a default, and matching up with fluent design it seems it should be a Gaussian Blur.

Proposed technical implementation details (optional)

I'd like to state it's probably better to blur across all active monitors, rather than just the current. Or at least to have an option for that.

Maybe the option for this feature could also follow the system-wide Transparency effects setting too.
Issue 1:
[Enter steps to reproduce below:]

...

...

Atom Version: 0.169.0

System: linux 3.13.0-30-generic

Thrown From: Atom Core

Stack Trace

Uncaught Error: EACCES, open '/home/shehryar/.atom/compile-cache/cson/5af7724b023a6274b520f79f04fb798a67319ca7.json'

At fs.js:75

Error: EACCES, open '/home/shehryar/.atom/compile-cache/cson/5af7724b023a6274b520f79f04fb798a67319ca7.json'
at Error (native)

Commands

Config

{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
},
"editor": {
"fontSize": 16
}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Issue 2:
Uncaught Error: UNKNOWN, open 'c:\Users\j-zhang.atom\compile-cache\cson\5c55bdf15d2eae5f441df1261e9dc3c0720aca1a.json'

Atom Version: 0.161.0

System: Windows 7 Enterprise

Thrown From: Atom Core

Steps To Reproduce

...

...

Stack Trace

At fs.js:75

Error: UNKNOWN, open 'c:\Users\j-zhang\.atom\compile-cache\cson\5c55bdf15d2eae5f441df1261e9dc3c0720aca1a.json'
at Error (native)
Issue 1:
I tryed make popovers for radio buttons with trigger on hover, but i have a bug with inline buttons. When i mouse in on the button, after that i have one little space. On mouse out it's removes. Last element of radio buttons loses a border radius on mouse hover. See my fiddle for more information.

PS: Sorry for my bad english

Issue 2:
In b5ad506 changes were made to bootstrap-dropdown.js which resulted in this (essentially):

$(document).on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { e.stopPropagation() })

being changed to this:

$(document).on('.dropdown-menu', function (e) { e.stopPropagation() })

As far as I can tell, you aren't supposed to call .on with a bare namespace as the event name. If you later call $(document).off(".anything") it causes a stack blowup, as the event object in jQuery has an entry with a key of "" which is then treated as a boolean for determining whether to recurse. This looks like a typo in light of the other changes one can see in the file. Here is a minimal example: http://jsfiddle.net/DFyEr/
Issue 1:
Create custom shortcuts that will launch certain programs.

Say for example I want to launch Firefox, I could be able to create a shortcut for that call it "ff" and then by typing "ff" in the search it will launch firefox.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Issue 2:
Summary of the new feature/enhancement

Aside from being able to remap a keyboard shortcut to another one, it would be nice to assign shortcuts for opening applications. Example: Open Windows Terminal with CTRL+ALT+T.

Proposed technical implementation details (optional)

Keyboard Manager already has the things needed to listen to keyboard shortcuts. Run has what's needed to launch apps.
Issue 1:
Q
A

Bug report?
no

Feature request?
yes

BC Break report?
no

RFC?
no

Symfony version
3.2.*

I am getting traffic from a web scanner who is sending crafted payloads to my form handlers. In particular, I'm getting arrays being sent to fields with email and regex validators, and my logs are being filled up with

UnexpectedTypeException: “Expected argument of type “string”, “array” given”

Instead of throwing a type exception, the validators should gracefully return a violation

Issue 2:
I have this example, which i use in a small json-api where i use the form component to handle requests and validation.

->add('account', 'text', [
'constraints' => [
new NotBlank(),
new Type('string'),
new Regex("/^XX\d+$/i")
]
])

I have a form field for an accountname. The format of this name is XX1234.

The validation above works great if the data being validated is a string. If i pass in an array instead of the string i will get an exception that is originating from here:

https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/Validator/Constraints/RegexValidator.php#L43

In my opinion the validation should just fail here instead of throwing an exception. I pass an array in, and try to run an regexp on it. It seems obvious to me that something is wrong with the input data then and the validation should fail.

Other validation constraints seems to work this way. Look at this example:

->add('disksize', 'text', [
'constraints' => [
new NotBlank(),
new Type('numeric'),
new Range(['min' => 10, 'max' => 200])
]
])

This works. I get an validation error and no exceptions. Other validations contraints, like Length seems to have the same problem as Regex

I think it would be great if all constraints just failed if they were passed an array if they cant handle an array. Or is there something i am overseeing?

Is there some way i can work around this to make it fail validation if i pass in an array?
Issue 1:
Hi,

I'm trying to get the subsub menu to work.

I have applied the following fixes:

1: http://stackoverflow.com/questions/9758587/twitter-bootstrap-multilevel-dropdown-menu

2: #5278

But the sub sub menu is not working yet.

The patch 2 fixed the submenu and clicking on the sub menu.

patch 1 fixed that the sub sub menu will open well, but still not be enable to click on it.

What to do?

Issue 2:
Now, you can't click on the whole navbar brand, adding height: inherit; to the .navbar-brand seems to be resolving this issue.
Issue 1:
[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I expect that in the handler for the Router.onRouteChangeComplete event, document.title would be the title of the new page that was navigated to.

Current Behavior

document.title is still the title of the previous page onRouteChangeComplete

Steps to Reproduce (for bugs)

Example: https://create-next-example-app-qyxwpdeqzb.now.sh/

Please note that the pages here are wrapped with the following layout component:

import React, { Component } from "react";
import Router from 'next/router';
import Head from "../components/head";

class Page extends Component {
constructor(props) {
super(props);
this.state = { title: null };
}
componentDidMount() {
Router.onRouteChangeComplete = (data) => {
this.setState({ title: document.title });
};
}
render() {
return <div>
<Head title={this.props.title} />
<div class="page-title"><strong>Page title (this.props.title):</strong> {this.props.title}</div>
<div class="page-title"><strong>Page title (onRouteChangeComplete):</strong> {this.state.title}</div>
<div class="content">{this.props.children}</div>
</div>
}
}

export default Page;

Context

I have been trying to add tracking analytics in onRouteChangeComplete, but because the title is inaccurate, my analytics are incorrect.

Your Environment

Tech
Version

next
5.0.0

node
8.2.1

OS
Mac OS X

browser
Chrome

Issue 2:
Bug report

Describe the bug

I am unable to import certain CSS files from node_modules.

To Reproduce

npm install slick-carousel then try

import 'slick-carousel/slick/slick-theme.css'

Expected behavior

It should work.

Screenshots

It has throws syntax errors on the CSS file, like these:

error in ./node_modules/slick-carousel/slick/slick-theme.css

Module build failed: ModuleParseError: Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
at doBuild (/Users/trusktr/src/Signafy+mapper-public-website/node_modules/webpack/lib/NormalModule.js:303:19)
at runLoaders (/Users/trusktr/src/Signafy+mapper-public-website/node_modules/webpack/lib/NormalModule.js:209:11)
at /Users/trusktr/src/Signafy+mapper-public-website/node_modules/loader-runner/lib/LoaderRunner.js:370:3
at iterateNormalLoaders (/Users/trusktr/src/Signafy+mapper-public-website/node_modules/loader-runner/lib/LoaderRunner.js:211:10)
at /Users/trusktr/src/Signafy+mapper-public-website/node_modules/loader-runner/lib/LoaderRunner.js:202:4
at /Users/trusktr/src/Signafy+mapper-public-website/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:70:14
at process._tickCallback (internal/process/next_tick.js:61:11)`

System information

Version of Next.js: 6.1.1

Additional context

If you delete the first few blocks that have ' characters (f.e. the UTF line and blocks containing url('')) then the error goes away.
Issue 1:
Why when I run a sample test on chromium or webkit playwright opens two browser windows? At the same time firefox opens one window but two tabs. Is it possible to have only one window?

const playwright = require('playwright');

(async () => {
const browser = await playwright.webkit.launch({headless: false});
const page = await browser.newPage();
await page.goto('http://whatsmyuseragent.org/');
await browser.close();
})();

Issue 2:
Version: d367a2e (current master)

When running this script it opens two pages (and I think two contexts)

one after chromium.launch

the other after context.newPage

const { chromium, devices } = require("playwright");
const iPhone = devices["iPhone 6"];

(async () => {
const browser = await chromium.launch({ headless: false });
const context = await browser.newContext({
viewport: iPhone.viewport,
userAgent: iPhone.userAgent
});
const page = await context.newPage();
})();

I would like to close the page opened by chromium.launch, or skip opening it in the first place. Since it is confusing to have a blank page that is not in use (https://github.com/qawolf/qawolf/issues/395).
Issue 1:
Issue originally made by @trusktr

Bug information

Babel version: 6.7.4

Input code

class Bar {
constructor(arg1, arg2) {console.log(arg1, arg2)}
}

class Foo extends Bar {
constructor(mountPoint, _motorHtmlScene) {
if (_motorHtmlScene) super({}, _motorHtmlScene)
else super()
}
}

Description

Simple example that causes the error in the Babel repl.

Issue 2:
Issue originally made by @DPOH-VAR

Bug information

Babel version: 6.11.4

Node version: 6.2.2

npm version: 3.3.12

Input code

class B{}
class A extends B{
constructor(track){
if (track !== undefined) super(track);
else super();
}
}

Description

Cannot read property 'operator' of null code:

class B{}
class A extends B{
constructor(track){
if (track !== undefined) super(track);
else super();
}
}

But this code works fine:

class B{}
class A extends B{
constructor(track){
if (track !== undefined) {
super(track);
} else {
super();
}
}
}
Issue 1:
A standard GET by ID results in a single log entry in the audit log. Search (_search) results in two identical log entries. Every time.

Default ES 1.6.0 installation.

Added latest Shield.

Added "search_admin" user.

Everything works great out of the box except I get _search audits duplicated in the log. ONLY "SearchRequest" audits. I haven't found any other api yet which results in this strange behavior.

[2015-06-16 18:37:24,705] [esdev-shieldpoc01] [transport] [access_granted] origin_type=[rest], origin_address=[/10.30.24.36:55308], principal=[search_admin], action=[indices:data/read/search], indices=[test], request=[SearchRequest]
[2015-06-16 18:37:24,705] [esdev-shieldpoc01] [transport] [access_granted] origin_type=[rest], origin_address=[/10.30.24.36:55308], principal=[search_admin], action=[indices:data/read/search], indices=[test], request=[SearchRequest]

Issue 2:
Hi,

I've been using ES for about a month now on a 6-node cluster. There are a few issues ES exhibits when coming up from a failed-node or failed-cluster scenario. These are pretty major, IMHO, because they result in longer downtime than is absolutely necessary.

Please forgive me if this is a duplicate issue. I'm dealing with ES recovery as I write this, so time is at a premium.

One thing I'm noticing is that ES begins relocating shards as soon as the cluster is started up. This is bad, because it results in unnecessary delays getting the cluster to the yellow, then green state. If there are any unassigned or uninitialized shards, or the cluster status is anything other than green, shard relocation should be delayed until everything else is done, all shards are initialized and running, and the cluster state is green.

An even bigger issue, and you may want to split this into two issues, is that sometimes ES leaves shards unassigned. It just doesn't assign them. Even if you have to start up another thread to look for unassigned shards and assign them, under no circumstances should ES ever leave a shard unassigned, period. Doing this forces the cluster state to red, and forces the admin to manually assign those shards. This is something ES should take care of automatically. So...NEVER leave a shard in the unassigned state.

Other than these two bugs in how ES recovers from a downed node or a complete cluster restart, ES has been fabulous for us. Certainly a night-and-day improvement over Riak. Keep up the awesome work!

Oh...we're running the latest release, downloaded just yesterday, elasticsearch-1.4.0-1.noarch, RPM version, under Amazon Linux (RHEL), x86-64 architecture, on java version 1.7.0_71 (OpenJDK).