WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Well this is related to the getbootstrap.com website rather than the bootstrap itself, so sorry if posting on wrong place.. One problem while on http://getbootstrap.com/components we cannot scroll to the end of the sidebar ".bs-sidebar" without scrolling the whole page.

try for example accessing "List group" from the sidebar; you can't! unless you scroll all the page down until you reach it.

This is something annoying and doesn't adhere to UX best practices. The solution would be to allow scrolling both sidebar and main content independently.

Issue 2:
On the Components page of the Bootstrap docs, the sidebar becomes too tall for the viewport when scrollspy causes the sidebar subheadings to show.

The sidebar cannot be scrolled or manipulated to show content below the viewport.

See here: http://getbootstrap.com/components/#glyphicons
Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

I expect to not see any warnings when everything is working. :D

Current Behavior

I get the following error printed on the console when overriding the hover attribute even though the button styling is in fact behaving as expected (showing the correct hover background color):

Warning: Material-UI: the key `.OverridesClasses-raised-110:hover` provided to the classes property is not implemented in Button.
You can only override one of the following: root,dense,label,flatPrimary,flatAccent,flatContrast,colorInherit,raised,keyboardFocused,raisedPrimary,raisedAccent,raisedContrast,disabled,fab,.MuiButton-root-5:hover,.MuiButton-root-5:hover.MuiButton-disabled-17,.MuiButton-flatPrimary-8:hover,.MuiButton-flatAccent-9:hover,.MuiButton-flatContrast-10:hover,.MuiButton-raised-12.MuiButton-keyboardFocused-13,.MuiButton-raised-12:active,.MuiButton-raised-12.MuiButton-disabled-17,.MuiButton-raised-12:hover,.MuiButton-raised-12:hover.MuiButton-disabled-17,.MuiButton-raisedPrimary-14:hover,.MuiButton-raisedAccent-15:hover,.MuiButton-fab-18:active

Steps to Reproduce (for bugs)

import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import Button from 'material-ui/Button';
import { red } from 'material-ui/colors';

const styles = {
root: {
background: red[600],
color: 'white',
},
raised: {
'&:hover': {
backgroundColor: red[700],
},
},
};

function OverridesClasses(props) {
return (
<Button {...props}>
{props.children}
</Button>
);
}

OverridesClasses.propTypes = {
children: PropTypes.node.isRequired,
classes: PropTypes.shape({}).isRequired,
};

export default withStyles(styles)(OverridesClasses);

Your Environment

Tech
Version

Material-UI
1.0.0-beta.13

React
15.6.x

browser
Chrome

Issue 2:
i recently cloned the master repository, which should be working as the latest stable, and get the following error...

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!

npm ERR! peerinvalid Peer material-ui@0.12.3 wants react@~0.13

npm ERR! peerinvalid Peer react-tap-event-plugin@0.1.8 wants react@^0.14.0-0 || ~0.13.x || ~0.12.x

why the examples does not work ?
Issue 1:
Chris Bonham opened SPR-9275 and commented

Currently there is no explicit exception handling in the cache abstraction. For example, when an external cache server is not available, the exceptions are just sent back to the calling class. I propose changing the caching abstraction to catch the exception and then invoke the underlying method.

Affects: 3.1.1

Issue Links:

#13933 Add @Cacheable implementation support for exception handling allowing the service method to be called instead of letting the provider exception to break the service ("is duplicated by")

#16165 Support of ehcache's BlockingCache

Referenced from: commits 05e96ee

9 votes, 14 watchers

Issue 2:
Macias De La Rosa Jesús Gerardo opened SPR-5166 and commented

When using the JSTL internationalitation tags:

<fmt:setLocale value="de_DE" scope="session"/>
<fmt:setBundle basename="com.intl.messages" scope="session" />

and

<fmt:message key="Choose"/>

and you change the language to "en_GB" or" it_IT" or other one, for example:

<fmt:setLocale value="en_GB" scope="session"/>
<fmt:setBundle basename="com.intl.messages" scope="session" />
<fmt:message key="Choose"/>

<fmt:setLocale value="it_IT" scope="session"/>
<fmt:setBundle basename="com.intl.messages" scope="session" />
<fmt:message key="Choose"/>

IT DOESN'T WORK ANY MORE.

This problem was localized under the versions 2.0.x until 2.0.6 of Spring too.

At that time, the problem have been detected in the spring-webmvc.jar.

ANY IDEAS ?

Affects: 2.5.5

Attachments:

TEST-SPRING-VERSION.war (9.02 MB)

WebApp.zip (7.98 MB)

Issue Links:

#9838 JSTL Internationalization Tag Library doesn't work any more in JSP's ("is duplicated by")

#8912 Problem with JSTL 1.1 internationalization
Issue 1:
Apache Airflow version

2.3.0 (latest released)

What happened

Running a standalone Dag Processor instance with airflow dag-processor throws the following exception:

Standalone DagProcessor is not supported when using sqlite.

What you think should happen instead

The airflow dag-processor should start without an exception in case of Postgres database

How to reproduce

The error is in the following line:

airflow/airflow/cli/commands/dag_processor_command.py

Line 53
in
6f146e7

sql_conn: str = conf.get('core', 'sql_alchemy_conn').lower()

It should be

sql_conn: str = conf.get('database', 'sql_alchemy_conn').lower()

due to the change in the configuration file done in #22284

Operating System

Ubuntu 20.04

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

Yes I am willing to submit a PR!

Code of Conduct

I agree to follow this project's Code of Conduct

Issue 2:
Apache Airflow version: 2.0.0rc3

Kubernetes version (if you are using kubernetes) (use kubectl version):

Environment:

Cloud provider or hardware configuration: Linux

OS (e.g. from /etc/os-release): Ubuntu

Kernel (e.g. uname -a):

Install tools:

Others:

What happened:

After shutting down the scheduler, while tasks were in running state, trying to restart the scheduler results in pk violations..

Traceback (most recent call last):
File "/home/jcoder/git/airflow_2.0/pyenv/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
cursor, statement, parameters, context
File "/home/jcoder/git/airflow_2.0/pyenv/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "dag_run_dag_id_run_id_key"
DETAIL: Key (dag_id, run_id)=(example_task_group, scheduled__2020-12-14T04:31:00+00:00) already exists.

What you expected to happen:

Scheduler restarts and picks up where it left off.

How to reproduce it:

Set example dag ( I used task_group) to schedule_interval * * * * * and start the scheduler and let it run for a few minutes.

Shut down the scheduler

Attempt to restart the scheduler

Anything else we need to know:

I came across this doing testing using the LocalExecutor in a virtual env. If no else is able to reproduce it, I'll try again in a clean virtual env.
Issue 1:
From URL: https://flutter.io/setup-macos/

Devon says this is a bug. Shams says this should be fixed before I/O.

I followed the instructions to set up the Android emulator, but I cannot start the emulator from IntelliJ. I get "PANIC: Missing emulator engine program for 'x86' CPU."

If I start Android Studio and open Tools>AVD Manager, I can start the emulator from there. If I do that, then that emulator shows up in IntelliJ and I can target it.

Issue 2:
[!] The 'Pods-Runner' target has transitive dependencies that include static frameworks: (FirebaseCore, FirebaseDatabase, FirebaseMessaging, FirebaseDatabase, FirebaseCore, FirebaseMessaging, FirebaseMessaging, FirebaseCore, and FirebaseDatabase)

I am getting this error while trying to run pod install in the ios folder of my flutter app.

My podfile looks like this

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

def parse_KV_file(file, separator='=')
file_abs_path = File.expand_path(file)
if !File.exists? file_abs_path
return [];
end
pods_ary = []
skip_line_start_symbols = ["#", "/"]
File.foreach(file_abs_path) { |line|
next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
plugin = line.split(pattern=separator)
if plugin.length == 2
podname = plugin[0].strip()
path = plugin[1].strip()
podpath = File.expand_path("#{path}", file_abs_path)
pods_ary.push({:name => podname, :path => podpath});
else
puts "Invalid plugin specification: #{line}"
end
}
return pods_ary
end

target 'Runner' do
use_frameworks!

# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# referring to absolute paths on developers' machines.
system('rm -rf .symlinks')
system('mkdir -p .symlinks/plugins')

# Flutter Pods
generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
if generated_xcode_build_settings.empty?
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
end
generated_xcode_build_settings.map { |p|
if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
symlink = File.join('.symlinks', 'flutter')
File.symlink(File.dirname(p[:path]), symlink)
pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
end
}

# Plugin Pods
plugin_pods = parse_KV_file('../.flutter-plugins')
plugin_pods.map { |p|
symlink = File.join('.symlinks', 'plugins', p[:name])
File.symlink(p[:path], symlink)
pod p[:name], :path => File.join(symlink, 'ios')
}
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end

How can i resolve this error ?

Thanks
Issue 1:
https://console.cloud.google.com/storage/kubernetes-jenkins/logs/kubernetes-e2e-gce/17490/

Failed: [k8s.io] Kubectl client [k8s.io] Kubectl patch should add annotations for pods in rc [Conformance] {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:769
May 23 18:01:52.883: Verified 0 of 1 pods , error : timed out waiting for the condition

Issue 2:
https://console.cloud.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/25054/kubernetes-pull-build-test-e2e-gce/38681/

I0506 03:07:01.272055 3411 server.go:611] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-horizontal-pod-autoscaling-8t5zw", Name:"rc-light-t62w5", UID:"99a46e33-1337-11e6-86e3-42010af00002", APIVersion:"v1", ResourceVersion:"1167", FieldPath:"spec.containers{rc-light}"}): type: 'Normal' reason: 'Pulling' pulling image "gcr.io/google_containers/resource_consumer:beta2"
I0506 03:12:12.616384 3411 server.go:611] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-horizontal-pod-autoscaling-8t5zw", Name:"rc-light-t62w5", UID:"99a46e33-1337-11e6-86e3-42010af00002", APIVersion:"v1", ResourceVersion:"1167", FieldPath:"spec.containers{rc-light}"}): type: 'Normal' reason: 'Pulled' Successfully pulled image "gcr.io/google_containers/resource_consumer:beta2"
Issue 1:
Add sorters to table like .. along with respective js

Issue 2:
When defining the vertical-align for the .add-on styles, Bootstrap defines the same 'scope' twice.

.form-search .input-append .add-on,
.form-inline .input-prepend .add-on,
.form-search .input-append .add-on,
.form-inline .input-prepend .add-on {
vertical-align: middle;
}

I presume this should be

.form-search .input-prepend .add-on,
.form-inline .input-prepend .add-on,
.form-search .input-append .add-on,
.form-inline .input-append .add-on {
vertical-align: middle;
}
Issue 1:
I have reproduced this on 1.8.1 and 1.8.2.

Create a node that has 1 link to itself. The query below is designed to return the node and its relationships separated into incoming and outgoing relationships. It also includes the start nodes (for incoming relationships) and end nodes (for outgoing relationships).

START n=node(12) MATCH n<-[links_n_in?]-(n_from),n-[links_n_out?]->(n_to) RETURN n,COLLECT(n_from) AS n_from,COLLECT(links_n_in) AS links_n_in,COLLECT(n_to) AS n_to,COLLECT(links_n_out) AS links_n_out

When the node has 1 self-referential relationship, either the links_n_in or links_n_out array is populated with the expected relationships, but not both. And the behavior seems to be nondeterministic. Sometimes the links_n_in array is populated and sometimes the links_n_out array is populated. Note the use of optional relationships in the query. When I do not use optional relationships (omit the '?'), this behavior does not occur and both arrays are populated as expected.

When the node has 2 self-referential relationships, this problem does not occur and both arrays are populated with 2 relationships as expected. This is true regardless of whether optional relationships are used in the query.

However, when the node has 3 self-referential relationships, both arrays are populated with 6 relationships instead of the expected 3. In other words, each relationship is duplicated. Similar behavior also results with more than 3 relationships. This occurs regardless of whether optional relationships are used in the query. Note that adding DISTINCT inside COLLECT(links_n_in) and COLLECT(links_n_out) fixes this problem.

Issue 2:
I have created a neo4j DB locally and assigned some indices and unique constraint.

Here is the :schema

Indexes

ON :Actor(social_id) ONLINE (for uniqueness constraint)

ON :Category(name) ONLINE (for uniqueness constraint)

Constraints

ON (actor:Actor) ASSERT actor.social_id IS UNIQUE

ON (category:Category) ASSERT category.name IS UNIQUE

Additionally I do a createIfNotFound() in my java code, where I first do a find and then create if not found.

Inspite of these two checks I still see multiple nodes of Label category and same name existing in the DB.

MATCH (n:Category) WHERE n.name='garden' RETURN n

name garden

name garden

name garden

name garden

Returned 4 rows in 49 ms.

After a lot of debugging and restarting the server, I see a different error for another node which should be unique.

MATCH (n:Category) where n.name='garden' RETURN n;

More than one item in org.neo4j.helpers.collection.IteratorUtil$12@20c98f24, first:2, second:450

Am i going wrong somewhere conceptually? Please help.
Issue 1:
I'm having issues giving keyboard focus on Button when the component is button (this is important for supporting on-screen remote controls for TV). I'm trying to set it to anchor / a-tag instead, but the documentation is using this "Link" object, which only exists in the documentation's sources.

In addition, just pulling that file into my own is showing another dependency on "NextLink" which I can't find anywhere at all.

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

Context

see above - I need :focus and autoFocus to be always working in button for using a TV remote control, and that doesn't seem to happen when I use button. trying to use anchor tag but the documentation is not helpful.

Your Environment

Tech
Version

Material-UI
1.0.0b3

React

browser

etc

nothing else is relevant.

Issue 2:
The animations for indeterminate/query modes do not loop properly. Basically the animation ends empty and starts half-filled.

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

Expected Behavior

The animation loop should be seamless, as in here:

https://material.io/guidelines/components/progress-activity.html#progress-activity-types-of-indicators

https://getmdl.io/components/index.html#loading-section

Current Behavior

The animation loop is not smooth, as in the demo page: https://material-ui-1dab0.firebaseapp.com/demos/progress/

Steps to Reproduce (for bugs)

Open the demo page: https://material-ui-1dab0.firebaseapp.com/demos/progress/

Context

Your Environment

Tech
Version

Material-UI
latest beta

React
15

browser
Chrome 61
Issue 1:
the on resource ready gets me to the point where image has been loaded but it hasn't been set on image view yet , i need a function in the listener where i get a callback after the image has been set on the imageview ..

please help me with that

Issue 2:
The only listener I know I can attach is:

Glide.with(this)
.load(uri)
.listener(new RequestListener<Uri, GlideDrawable>() {
@Override public boolean onException(Exception e, Uri model, Target<GlideDrawable> target, boolean isFirstResource) {
return false;
}
@Override public boolean onResourceReady(GlideDrawable resource, Uri model, Target<GlideDrawable> target, boolean isFromMemoryCache, boolean isFirstResource) {
// easy
return false;
// impossible?
}
})
.into(imageView)
;

The // easy one: target.onResourceReady(resource, ???) has not been called yet, I don't want to handle it. I like how Glide handles this for me (return false).

The // impossible one: I want to get notified when the target already has the resource, or better yet when the animation completed and the resource has settled in the target.

Is there any way to work around this and keep the animations?
Issue 1:
I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

When select[multiple] is false then UI is not "multiple" but the ngModel return Array

Expected behavior

The model is not to return Array

Minimal reproduction of the problem with instructions

https://plnkr.co/edit/uU2p2GTf0ta0WP3ndegl?p=preview

What is the motivation / use case for changing the behavior?

I was trying to make a custome component that is "multiple" configureable

Angular version: 2.1.2

Browser: [Chrome 54]

Language: [TypeScript 2.0]

Issue 2:
I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Angular1 component trows error inside module that is lazy loaded. I am using Upgrade Module and Upgrade Component approach from Docs: https://angular.io/docs/ts/latest/api/upgrade/static/UpgradeComponent-class.html

I am using same bootstrapping process as from: https://github.com/angular/angular/blob/master/modules/%40angular/upgrade/test/aot/test_helpers.ts#L19

Expected behavior

Angular1 component should appear

Minimal reproduction of the problem with instructions

Minimal angular-cli repo:

https://github.com/vladotesanovic/ui-grid-angular2

Bootstrapping: https://github.com/vladotesanovic/ui-grid-angular2/blob/master/src/main.ts

Angular1 app: ( with downgradeComponent ): https://github.com/vladotesanovic/ui-grid-angular2/blob/master/src/anglarjs.ts#L88

Non working on: /home/about ( lazy loaded )

URL ( works in AppModule ): http://ui-grid2.surge.sh/#/route1

URL ( does not work in HomeModule ): http://ui-grid2.surge.sh/#/home/about

Router config: https://github.com/vladotesanovic/ui-grid-angular2/blob/master/src/app/app.module.ts#L48

What is the motivation / use case for changing the behavior?

I want to use ui-grid component that is written for Angular1 in my Angular 2 application.

Please tell us about your environment:

Angular version: 2.2.1

Browser: [all | Chrome ]

Language: [all | TypeScript]

Node (for AoT issues): node --version =
Issue 1:
4 or more rows appears to use the expected color palette. However 3 uses unexpected black-grey-white colours for the points.

Issue 2:
Seems to be something similar to issue #414.

Working on the latest from master, I have code like this:

(figure, axes) = plt.subplots(figsize=(17,9))
axes.set_title(("Mean Monthly Temperature Cluster Map, 1894-2013\n"
"Saint Francis, KS, USA"), fontsize=20)
_ = sns.clustermap(temps,
figsize=(17, 9),
cbar_kws={"label":
"Temperature\n(F)"},
ax=axes,
cmap=temps_cmap)

Which gives this error:

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-44-4574ed2a089c> in <module>()
7 "Temperature\n(F)"},
8 ax=axes,
----> 9 cmap=temps_cmap)

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in clustermap(data, pivot_kws, method, metric, z_score, standard_scale, figsize, cbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, row_colors, col_colors, mask, **kwargs)
898 row_linkage=row_linkage, col_linkage=col_linkage,
899 mask=mask,
--> 900 **kwargs)

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in plot(self, metric, method, colorbar_kws, row_cluster, col_cluster, row_linkage, col_linkage, mask, **kws)
816
817 self.plot_colors(xind, yind, **kws)
--> 818 self.plot_matrix(colorbar_kws, mask, xind, yind, **kws)
819 return self
820

.venv-mmpl/lib/python3.4/site-packages/seaborn/matrix.py in plot_matrix(self, colorbar_kws, mask, xind, yind, **kws)
797 self.data2d = self.data2d.iloc[yind, xind]
798 heatmap(self.data2d, ax=self.ax_heatmap, cbar_ax=self.cax,
--> 799 cbar_kws=colorbar_kws, mask=mask, **kws)
800 self.ax_heatmap.yaxis.set_ticks_position('right')
801 self.ax_heatmap.yaxis.set_label_position('right')

TypeError: heatmap() got multiple values for keyword argument 'ax'
Issue 1:
Expected: Throw and error

Chrome console-

Current: Just invoke an arrow function as constructor

Babel-

Babel live- https://babeljs.io/repl/#?experimental=false&evaluate=true&loose=false&spec=true&code=let%20foo%20%3D%20(x)%20%3D%3E%20console.log('inside%20an%20arrow%20function')%3B%0A%0Avar%20ert%20%3D%20new%20foo()%3B

Spec:

http://tc39wiki.calculist.org/es6/arrow-functions/

"Details" section -> text "So new (() => {}) throws a TypeError"

Issue 2:
let hello = () => "Yo!";
let greet = new hello();

^ must throw TypeError: hello is not a constructor but it does not. Same code
Issue 1:
When using the Apache router as described in the cookbook, an impact on the performance is noted when new routes are added without updating the Apache configuration.

That is because routing information get loaded in every request for paths not matched by ApacheUrlMatcher

At the end of ApacheUrlMatcher::match() a call to parent::match() is done, but as there isn't a cache for routes, the routing loading is done in every request.

Steps to reproduce:

Enable Apache router as described here: http://symfony.com/doc/current/cookbook/configuration/apache_router.html

Add a new route/controller/action

Do not update the apache configuration (this is a desired step, as we do not wan't to have all routes in Apache, just some of then, and the others falling back to the default UrlMatcher.

Make a request to one of the routes not included in Apache config, note how the performance is impacted here as all the routing loading is executed in every request (in the prod environment).

Issue 2:
The twig syntax form.field.vars is broken since beta3. I have a simple form:

namespace Acme\DemoBundle\Model;

class Test
{
private $url;

public function getUrl()
{
return $this->url;
}
}

namespace Acme\DemoBundle\Form;

class TestType extends AbstractType
{
// etc
}

{% if form.url.vars.errors | length == 0 %}
{% endif %}

The above syntax generates the following error:

Notice: Undefined index: vars in symfony/src/Symfony/Component/Form/FormView.php line 308

I did some digging and it seems that FormView implements ArrayAccess which calls offsetGet, and that method returns $this->children[$name]. Is there another way to call FormView->vars in twig or is this a bug? I could of cource use form.url.get('errors') but that method is deprecated. The readme suggest using the public property vars but it's not possible to call it in a twig template?