WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
What problem does this feature solve?

Can vuejs support binding of asynchronous properties?

What does the proposed API look like?

var data = {}

Object.defineProperty(data, 'asyncProperty', {

async get() {

// async network or database query

return true;

}

});

Issue 2:
I'm having a problem showing filtered results when using v-if inside a v-for template block. My current template looks like this (I'm using laravel so the @include is just some html that gets inserted to show the proper markup for that type of card):

<ul>
<template v-for="card in cards | onlyMatching">
<li transition="expand" v-if="card.Data.event_type === 'user_comment'">
@include('feed.card_templates.user_comment')
</li>

<li transition="expand" v-if="card.Data.event_type === 'user_position'">
@include('feed.card_templates.user_position')
</li>
</template>
</ul>

In my component I have a data property called "filterKey" which the custom filter uses to filter results. So my custom filter looks like this:

Vue.filter('onlyMatching', function(cards)
{
var $this = this;

return cards.filter(function(item)
{
return item.Data.event_type.match($this.$data.filterKey);
});
});

The problem is - whenever I dynamically change the filterKey property from user_comment to user_position the HTML that is rendered from the template doesn't update. And when I click off of one and back to the other it actually duplicates the original html in the browser. When I look at devtools I can see the filter type changing but it's not reflected on the actual page.

I know the filter itself is working properly - because if I take out the conditional parts and just do this:

<ul>
<template v-for="card in cards | onlyMatching">
<li>@{{{ card.Data.event_type }}}</li>
</template>
</ul>

The event types for each of these items list out just fine - and changing the "filterKey" property shows only those li's that match as expected. Is there some other way I need to go about doing this conditional rendering to make this work as expected or should it work the way I have it now?
Issue 1:
Alexander Shabanov opened SPR-9828 and commented

The proposed improvement is to modify signature for each org.springframework.util.Assert.* method so that it will return the checked value to let programmer to make check and assignment in "one turn".

This would improve readability of the initializers that uses spring's Assert and minimize the code, e.g. instead of having to write

notNull(foo, "Foo can't be null"); // static import omitted for clarity

hasText(bar, "Bar can't be empty");

this.foo = foo;

this.bar = bar;

someone can write

this.foo = notNull(foo, "Foo can't be null");

this.bar = hasText(bar, "Bar can't be empty");

Affects: 3.1.2

Reference URL: http://forum.springsource.org/showthread.php?130499-Assert-*-methods-that-return-values&p=425647

Issue Links:

#12473 Make Assert.something() return value checked instead of "void", allow to chain the assert call ("is duplicated by")

Issue 2:
Jean-Eric opened SPR-7650 and commented

In the class AbstractPollingMessageListenerContainer used by DefaultMessageListenerContainer, if no message is received, the commit is called (this was added in 3.0.4)

But the session passed to

commitIfNecessary(session, message);

is the wrong one.

Instead, the variable sessionToUse should be passed:

commitIfNecessary(sessionToUse, message);

This is the diff.

--- 3.0.4/AbstractPollingMessageListenerContainer.java 2010-08-18 13:41:34.000000000 +0200

+++ 3.0.5/AbstractPollingMessageListenerContainer.java 2010-10-13 10:12:38.505882405 +0200

@@ -351,7 +351,7 @@

}

noMessageReceived(invoker, sessionToUse);

// Nevertheless call commit, in order to reset the transaction timeout (if any).

commitIfNecessary(session, message);

commitIfNecessary(sessionToUse, message);
// Indicate that no message has been received.
return false;
}

Affects: 3.0.4

Issue Links:

#12136 Setup of JMS message listener invoker failed for destination when upgrading from 3.0.2 to 3.0.4 ("duplicates")
Issue 1:
Sampling using the sample() function does not work for DPGMM (Dirichlet Process Gaussian Mixture Mode) and VBGMM (Variational inference for a Gaussian mixture model )

398 cv = self.covars_[comp][0]
399 else:
--> 400 cv = self.covars_[comp]
401 X[comp_in_X] = sample_gaussian(
402 self.means_[comp], cv, self.covariance_type,

AttributeError: 'VBGMM' object has no attribute 'covars_'

Likely related to #1637, but that activity has been over a year ago.

is there a potential workaround?

Issue 2:
Hi Guys -

Trying out DPGMM to see if I can get a more stable solution. Things look good so far except for one problem.

The sample() method does not work for dpgmm. The primary reason is that sample() assumes there is a self.covars_, but this does not exist.

There is a secondary problem however. I tried using get_covars to set the covars but these covariances are not correct, perhaps because of a different convention somehow in the definitions of these covariances.

best, and thanks for the good work on sklearn,

-e
Issue 1:
Challenge Add Alt Text to an Image for Accessibility has an issue.

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.

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

My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {
font-size: 16px;
font-family: Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

.smaller-image {
width: 100px;
}
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Issue 2:
In all the exercises, we the users are forced to press the enter key before writing any code.

Update:

We have locked the conversation temporarily on this thread to collaborators only, this has been resolved in staging, and will be live soon.

The fix can be confirmed on the beta website.

The workaround currently on production website is:

Press the Enter key on the challenge editor and then proceed with the challenge.

Apologies for the inconvenience meanwhile.

Reach us in the chat room if you need any assistance.
Issue 1:
Uncaught Error: EACCES, open '/home/alberto/.atom/compile-cache/cson/5af7724b023a6274b520f79f04fb798a67319ca7.json'

Atom Version: 0.153.0

System: linux 3.16.0-25-generic

Thrown From: Atom Core

Issue 2:
Ok so this was my first build on Linux.

After making sure the right node version was installed, I was able to complete the build seemingly without errors, following the instructions.

However, when launching Atom, I get a permissions error of some kind during onload:

I suspect I need to manually change folder permissions somewhere, but it's not clear to me where.

Any help would be much appreciated.
Issue 1:
Challenge Waypoint: Line up Form Elements Responsively with Bootstrap

The padding or margins around text in this challenge causes several issues.

The text is not properly centered in the Like, Info, and Delete buttons in earlier parts of the waypoint before the FA icons are added

The "delete" text runs off only showing "dele"

The "loving" text overflows onto the next line

Issue 2:
Hmm, I don't know why, but I am getting issues with the preview layout in the bootstrap section.

First in the buttons section : http://prntscr.com/89uesz

Then in the check box section: http://prntscr.com/89ujcq

I am sure there is no error with my code, but still I am pasting the code for it here

<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}

.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}

</style>

<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<h2 class="text-primary text-center">CatPhotoApp</h2>
</div>
<div class="col-xs-4">
<a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
<img src="http://bit.ly/fcc-running-cats" class="img-responsive">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i> Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>
</div>
</div>
<p>Things cats <span class="text-danger">love:</span></p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<div class="row">
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
</div>
<div class="col-xs-6">
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Loving</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Lazy</label>
</div>
<div class="col-xs-4">
<label><input type="checkbox" name="personality"> Crazy</label>
</div>
</div>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
Issue 1:
This was reported by a Google user of who embedded Flutter into their existing app and would notice side-by-side differences between Flutter content and Obj-C/MDC-iOS content.

I'm actually not sure which is Flutter off the top of my head (someone else should feel free to edit this comment to label them). @willlarche mentioned this is expected since MDC-iOS doesn't perfectly match the MD spec yet. (I'm not sure if Flutter does, but @jason-simmons certainly spent a lot of time trying).

Issue 2:
This was reported by a Google user of who embedded Flutter into their existing app and would notice side-by-side differences between Flutter content and Obj-C/MDC-iOS content.

I'm actually not sure which is Flutter off the top of my head (someone else should feel free to edit this comment to label them). @willlarche mentioned this is expected since MDC-iOS doesn't perfectly match the MD spec yet. (I'm not sure if Flutter does, but @jason-simmons certainly spent a lot of time trying).
Issue 1:
This is a super-useful feature that I miss from Sublime.

For example, given the filename TopSecretAlgorithm.js, with my cursor at the front of the word:

|TopSecretAlgorithm.js

I could press ctrl+right once to get over to Secret:

Top|SecretAlgorithm.js

again to get over to Algorithm:

TopSecret|Algorithm.js

Get it? I would be happy to submit a PR if someone can point me in the right direction of where I should implement this.

Issue 2:
SublimeText supports navigation by subwords (underscore separated or hills in camelcase):

{ "keys": ["alt+left"], "command": "move", "args": {"by": "subwords", "forward": false} },
{ "keys": ["alt+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} },
{ "keys": ["alt+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} },
{ "keys": ["alt+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }

It would be nice if Atom also supported move*, delete*, backspace*, select* editor commands based on subwords.
Issue 1:
Whenever the name of the Percentage Metric is the same as the name of the Sort By column then a duplicate column for the Percentage Metric appears

Workaround:

Change the column name of the Percentage Metric field

Screenshots

How to reproduce the bug

Create a Table Viz

Add the same column in Percentage Metric & Sort By fields

Environment

superset version: 0.37.2

Additional context

Add any other context about the problem here.

Issue 2:
We are in a situation where we want to split the exact same dashboard with a different dimension depending on what we're testing.

Right now the only solution we've found is to duplicate every slice in the dashboard, change the dimension we use to split data for every single slice, and recreate a new dashboard with all these new slices.

It is very time consuming, and it is quite hard to keep all these dashboard up-to-date as we add metrics in a slice and so on.

It would really save us a lot of time if we could have a single dashboard and choose which dimension(s) we split the data on at the dashboard level.

A way to acheive this would be to add an (optional) "split" field in the filter slice, in which we could specify which dimensions we want to split data on for all the slices in the dashboard
Issue 1:
I cannot build the code after upgade to material-ui 1.0.0-beta.18.

I have checked the code see that TransitionProps are using children with type React.ReactElement, but CollapseProps are using a diffirence type React.ReactNode. Could it problem?

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

Your Environment

Tech
Version

Material-UI
1.0.0-beta.18

React
16.0.0

Issue 2:
https://material-ui-1dab0.firebaseapp.com/#/

Problem description

Link to minimally-working code that reproduces the issue

I see error

Versions

Material-UI: 1.0-alpha

React: 15.4

Browser: IE 11
Issue 1:
Original ticket http://projects.scipy.org/scipy/ticket/1848 on 2013-02-20 by trac user ken.bastiaensen@..., assigned to @rgommers.

Hi,

I think the implementation of invgauss might not be correct.

The Inverse Gaussian is usually defined as the first hitting time probability of a random gaussian process (Wiener) drifting towards a barrier. See e.g. http://en.wikipedia.org/wiki/Inverse_Gaussian_distribution

Usually the pdf is defined in the form pdf(x;d,a) = d / sqrt(2_pi_x**3) * exp(-(ax-d)**2/(2x))

with d = c / sigma, a = m / sigma,

c: distance to barrier at start

and (m,sigma): drift and square vol of the process.

In scipy.stats it is defined as

invgauss.pdf(x, mu) = 1 / sqrt(2_pi_x**3) * exp(-(x-mu)2/(2_x_mu2))

I believe the location and scale transformation x -> (x-loc)/scale cannot capture the actual change in parameter together with the parameter mu. [[BR]]

The parameter loc cannot be used different from zero as it introduces a polynomial in the sqrt of the first pdf factor, changing the distribution.[[BR]]

A change in parameter scale:

pdf_scale(x,mu) = sqrt(scale3)/sqrt(2_pi_x3)_exp(-(sqrt(scale)-x/(mu_sqrt(scale))*_2/(2_x)) [[BR]]

In the exponential factor, the parameter mu is multiplied by sqrt(scale), as well as the first term in the numerator. But the first pdf factor is multiplied by sqrt(scale**3).

I don't think there exists a transformation betweeen the usual pdf as on wikipedia and the parameters mu,loc,scale in the implementation. Or differently stated, invgauss only captures the distribution when distance to barrier equals standard deviation of the process, a very specific case.

I suggest to change to distribution implementation.

Should a transformation exist, then please regard this as an enhancement request for the documentation to include this transformation.

This question was also asked in the user mailinglist but never answered: http://mail.scipy.org/pipermail/scipy-user/2012-June/032420.html

Ken

Issue 2:
Original ticket http://projects.scipy.org/scipy/ticket/1339 on 2010-12-03 by trac user bjarni.vilhjalmsson, assigned to unknown.

A rather simple and small bug:

File "/sw/lib/python2.6/site-packages/scipy/optimize/zeros.py", line 123, in newton

warnings.warn(msg, RuntimeWarning)

NameError: global name 'warnings' is not defined
Issue 1:
Challenge Target a Specific Child of an Element Using jQuery has an issue.

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.

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

My code:

<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
$("#right-well").children().css("color", "orange");

});
</script>

<!-- Only change code above this line. -->

<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>

Issue 2:
Challenge http://freecodecamp.com/challenges/waypoint-use-responsive-design-with-bootstrap-fluid-containers has an issue. User Agent is: Mozilla/5.0 (Windows NT 6.3, WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36. Please describe how to reproduce this issue, and include links to screenshots if possible.

When the page initially loads it only has this much code

<link href="http://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}

h2 {
font-family: Lobster, Monospace;
}

p {

When you click anywhere on the page t loads the rest. Refresh brings it back to a 'partially' loaded page
Issue 1:
by armando.dicianno:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem. Thanks.

What steps will reproduce the problem?
1. amd64, linux on a basic Gentoo install (nothing fancy or weird), gcc-4.4.4, multilib
2. hg clone go
3. cd go/src ; ./all.bash

What is the expected output?
Whatever success is!

What do you see instead?
--- cd cmd/ebnflint
ebnflint -start="SourceFile"
"/home/fafhrd/Projects/go/repos/go"/doc/go_spec.html
make: *** [test] Segmentation fault

Which compiler are you using (5g, 6g, 8g, gccgo)?
This is during install, so whatever that is internally (6g?); I tried with no GOARCH or
GOOS and then GOARCH=amd64 and GOOS=linux.

Which operating system are you using?
Gentoo Linux. I have a very basic amd64 install. gcc-4.4.4 (gentoo -r2)

Which revision are you using? (hg identify)
a7800e20064a tip

Please provide any additional information below.

I spent some time writing an ebuild for wider use. In my tests for seeing what files
were needed (GOROOT v. GOROOT_FINAL), I noticed that godoc also segfaults -- this will
end up being a different bug, I'm sure. ;-) However, it may be related.

-----------

Feel free to let me know about further system or debugging information you need. While
I'm very new to Go, I generally know how to invoke and use various development tools --
I just don't know what I'm looking for in this case.

Issue 2:
http://groups.google.com/group/golang-
nuts/browse_thread/thread/22d61234aaadfe40
Issue 1:
ISSUE TYPE

Bug Report

COMPONENT NAME

template plugin

ANSIBLE VERSION

ansible-playbook 2.2.1.0 (stable-2.2 941552d107) last updated 2017/01/10 08:55:57 (GMT -400)
lib/ansible/modules/core: (detached HEAD a9d844c089) last updated 2017/01/10 09:13:05 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 19d20ca1a0) last updated 2017/01/10 09:13:05 (GMT -400)
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides

CONFIGURATION

OS / ENVIRONMENT

Gentoo linux

SUMMARY

First of all, sorry, this is an incomplete issue report. I haven't yet properly isolated the problem, but I see that you're approaching a v2.2.1 release and I think it's a release blocker. I'll work on completing the issue soon.

jinjia2 recently released its v2.9, but upgrading to jinja2 2.9 causes problems in my provisioning that is fixed by reverting to jinja2 2.8.x

STEPS TO REPRODUCE

None yet, coming soon.

EXPECTED RESULTS

No error

ACTUAL RESULTS

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'undefined variable: 0'
fatal: [sfl-web-django-ci]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

Template

ANSIBLE VERSION

ansible 2.3.0 (devel 0aad46c85b) last updated 2017/01/09 16:11:21 (GMT -400)
config file = /home/jadams/.ansible.cfg
configured module search path = Default w/o overrides

CONFIGURATION

Tested on vanilla / no extra configuration

OS / ENVIRONMENT

N/A but tested from Fedora 25

SUMMARY

When Jinja2 dependency is >= 2.9.0, nested templates inside of loops defined in a parent template do not receive the local scope. For example:

{% for item in foo %}
{% include "other_template.j2" %}
{% endfor %

In the above example, other_template.j2 would not have the item variable defined.

STEPS TO REPRODUCE

# Example Playbook
- hosts: localhost
connection: local
vars:
foo:
- bar
- baz
tasks:
- name: Test Template
template: src=parent.j2 dest=/tmp/template.out

# parent.j2
{% for item in foo %}
{% include "subtemplate.j2" %}
{% endfor %}

#subtemplate.j2
{{ item }}

EXPECTED RESULTS

Expected the output of the following file:

bar
baz

ACTUAL RESULTS

TASK [Test Template] ************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}

I believe this is because of the Jinja2 Context changes mentioned here in combination with Ansible overriding default Jinja2 functions. I wasn't able to track down the root cause in my limited testing.
Issue 1:
Problem

The program plotWindow allows several tabs to be created, and subplots within each tab.

The problem is that plotWindow seems unable to display a vertical cursor in several tabs, using MultiCursor.

Proposed solution

One solution could be to enable support for tabs natively within MatPlotLib. This would make it possible to use MultiCursor correctly for all subplots, and with all tabs.

Otherwise, if anyone has ideas about how to solve the problem of plotWindow integration with MatPlotLib (specifically, how to use a vertical cursor across subplots, and to allow this for all tabs), that would be fine if native tabs support is too hard.

Issue 2:
If in a code you create many figures, it starts to become inconvenient because each figure creates a new window.

It would be very useful to be able to create workbook of figures organized in tabs.