WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):

No

What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):

power cycle kubernetes master, reset kubernetes master

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

BUG REPORT

Kubernetes version (use kubectl version):

kubectl version

Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}

kubeadm version

kubeadm version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-alpha.2.421+a6bea3d79b8bba", GitCommit:"a6bea3d79b8bbaa5e8b57482c9fff9265d402708", GitTreeState:"clean", BuildDate:"2016-11-03T06:54:50Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"linux/amd64"}

Environment:

Cloud provider or hardware configuration: x86_64

OS (e.g. from /etc/os-release):ubuntu 16.04 LTS

Kernel (e.g. uname -a):Linux ubuntu-2 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Install tools: kubeadm

Others:

What happened:

Before power cycle the master:

kubectl get nodes

NAME STATUS AGE

ubunbu-3 Ready 10h

ubuntu-2 Ready 1d

ubuntu-4 Ready 26m

What you expected to happen:

After power cycle the master node:

kubectl get nodes

NAME STATUS AGE

ubunbu-3 Ready 10h

ubuntu-2 Ready 1d

ubuntu-4 Ready 26m

How to reproduce it (as minimally and precisely as possible):

kubectl get nodes on master, it should show all the clusters including the master

power cycle the master node

kubectl get nodes on master

the cluster nodes disappeared

Anything else do we need to know:

Issue 2:
We recently switched GKE's master node to GCI image, but not GCE master node. This discrepancy causes a lot of issues for us, especially some prs merged might work on GCE, but totally break GKE. We should get rid of that difference.

cc/ @roberthbailey @kubernetes/goog-gke @kubernetes/goog-node @kubernetes/goog-image
Issue 1:
Description

Hi,

I am trying to use the sklearn.mixture.GaussianMixture for clustering purpose. I read from the clustering comparison page: https://scikit-learn.org/stable/modules/clustering.html that Gaussian Mixture does not require scaling for each variable to have unit variance before fitting the model. That makes sense to me because it is using Mahalanobis Distance to center.

However, I found some conflict results when I tried some toy problems. I generated two clusters of data from bivariate normal distributions and put them together, hoping the GaussianMixture will be able to separate them in return.

My generated data:

the data has larger variance along one axis than the other

Using GaussianMixture without scaling:

Using GaussianMixture with sklearn.preprocessing.scale():

It looks like it is the scaled one that catches the data feature. Please kindly help. Is it necessary to scale attributes before applying Gaussian Mixture.

Thanks!

Steps/Code to Reproduce

mu = np.array([0,0])

cov = np.array([[10,0],[0,1000]])

data1 = np.random.multivariate_normal(mu,cov,5000)

mu = np.array([mean_diff,0])

cov = np.array([[10,0],[0,1000]])

data2 = np.random.multivariate_normal(mu,cov,5000)

data = np.concatenate((data1,data2),axis=0)

gmm_model = gmm(2,'full')

#data = preprocessing.scale(data)

clusters = gmm_model.fit_predict(data)

Expected Results

Actual Results

Versions

scikit-learn = 0.21.2:

Linux-4.15.0-54-generic-x86_64-with-debian-buster-sid

Python 3.7

Issue 2:
I think these should be documented in the quick start guide: http://scikit-learn.org/dev/tutorial/basic/tutorial.html
Issue 1:
[X] bug report

Using Beta 10 I get the following errors (some of them several times) when compiling my project:

node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(9,44): error TS2304: Cannot find name 'ZoneSpec'.

node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(30,28): error TS2304: Cannot find name 'ZoneDelegate'.

node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(30,51): error TS2304: Cannot find name 'Zone'.

node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(32,82): error TS2304: Cannot find name 'HasTaskState'.

I also tried the 5 minute quickstart, changing beta 9 to beta 10 and get the same errors.

This is on Windows 10 node 5.9.0, typescript 1.8.7

Issue 2:
I'm submitting a bug report.

Error :

So many build errors like the below,

``Error Build:Duplicate identifier 'backdrop'. ..\typings\browser\ambient\bootstrap\index.d.ts 11

Below are the package configuration. I am using Visual Studio Enterprise Edition with update 3.

package.json

{
"name": "xxx",
"version": "1.0.0",
"description": "",
"scripts": {
"postinstall": "typings install",
"typings": "typings"
},
"license": "ISC",
"devDependencies": {
"typescript": "^1.8.10",
"typings": "^1.0.4"
},
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0",

"systemjs": "0.19.27",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"zone.js": "^0.6.12",

"bootstrap": "^3.3.6",
"jquery": "^3.0.0",

"angular2-in-memory-web-api": "0.0.9",
"ag-grid": "6.0.1",
"ag-grid-ng2": "6.0.2"
}
}

typings.json

{

"ambientDependencies": {

"bootstrap": "github:DefinitelyTyped/DefinitelyTyped/bootstrap/bootstrap.d.ts#56295f5058cac7ae458540423c50ac2dcf9fc711",

"jquery": "github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#56295f5058cac7ae458540423c50ac2dcf9fc711",

"TypeLite": "file:scripts/TypeLite.Net4.d.ts",

"core-js": "registry:dt/core-js#0.0.0+20160602141332"

}

}

tsconfig.json

{

"compileOnSave": true,

"compilerOptions": {

"target": "es5",

"module": "commonjs",

"moduleResolution": "node",

"sourceMap": true,

"emitDecoratorMetadata": true,

"experimentalDecorators": true,

"removeComments": false,

"noImplicitAny": false

},

"exclude": [

"node_modules",

"typings/main",

"typings/main.d.ts",

"Scripts/TypeLite.Net4.d.ts"

]

}
Issue 1:
Original ticket http://projects.scipy.org/numpy/ticket/2049 on 2012-02-12 by trac user jusic, assigned to @pv.

Hi,

I just managed to compile a 64-bit version of latest numpy git-master on Windows 7 Prof. 64-bit and VS2008 Express Edition + PSDK 6.1. I would like to provide some input for "Microsoft Toolchain Support" wiki page (http://projects.scipy.org/numpy/wiki/MicrosoftToolchainSupport), since it's not too specific on how this is done.

I installed the following packages:

"Windows SDK for Windows Server 2008 and .NET Framework 3.5":[[BR]]

download link: http://www.microsoft.com/download/en/details.aspx?id=24826 [[BR]]

file: 6.0.6001.18000.367-KRMSDK_EN.iso

"Microsoft Visual Studio 2008 Express Edition"[[BR]]

download link: http://www.microsoft.com/download/en/details.aspx?id=3092 [[BR]]

file: VS2008ExpressENUX1397868.iso

Python 2.7.2 (amd64) + distutils + all that is needed. C:\Python27\ is in %PATH%.

To make amd64 compilers work, the batch file "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" needs to be fixed on lines 19 and 20 to:

if not exist "%~dp0bin\vcvars64.bat" goto missing
call "%~dp0bin\vcvars64.bat"

Then, to build numpy install package, open command prompt and cd to numpy-git directory, and run:

> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
> python setup.py config
> python setup.py build
> python setup.py bdist_wininst

The package seems to work even if I didn't have a Fortran compiler. I had MinGW installed but not in %PATH%.

Thanks.

Issue 2:
It seems that saving large numpy arrays to disk using numpy.save fails silently for very large matrices, example:

In [5]: a = np.random.randn(500000000)

In [6]:

In [6]: a
Out[6]:
array([-1.00736353, -2.06696394, 1.46569636, ..., 0.89738222,
-0.06982733, 0.06954417])

In [7]: np.save('a', a)

In [8]: b = np.load('a.npy')

In [9]: b
Out[9]:
array([-1.00736353, -2.06696394, 1.46569636, ..., 0. ,
0. , 0. ])

Note zeros in the end of the matrix that do not exist in a

I'm running numpy version 1.6.2:

In [11]: np.version.version
Out[11]: '1.6.2'

on python 2.7.3 on Mac os X 10.8.2 if that helps
Issue 1:
Challenge Waypoint: Target the Children of an Element Using jQuery has an issue.

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

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", "green");
});
</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>

I am using FF 41 on Linux Mint. When I run the tests via CTRL+Enter, I get the following screen shot. As you can see, the text for the buttons is green on the right well. The code addition I have is

$("#left-well").children().css("color", "blue");

This has happened on many challenges so far today, but not every time.

Issue 2:
Hi,

I have correct code in the first five jQuery waypoints. If I press control+enter, it still has multiple red Xs. However, if I press control+enter multiple times, it eventually detects the correct code and passes.
Issue 1:
Should Typography extended while providing extra properties in theme > typography

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

Expected Behavior

When provide extra property in createMuiTheme > typography, it should be able to access in type of Typography

Current Behavior

Not supported

Steps to Reproduce (for bugs)

em... consider this as a feature request. we should be able to do something like following

import React from 'react';
import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
import Typography from 'material-ui/Typography';
import Button from 'material-ui/Button';

function updateTheme() {
return createMuiTheme({
typography: {
content: {
fontFamily:'Roboto Condensed',
fontSize: 14
}
}
});
}

function TypographyTheme() {
return (
<MuiThemeProvider theme={updateTheme}>
<div>
<Typography type="title">{'this is title'}</Typography>
<Typography type="content">{'this is the content'}</Typography>
</div>
</MuiThemeProvider>
);
}

export default TypographyTheme;

Context

usually people would use Roboto along with Roboto Condensed or Noto to create a Title > Content pair

Your Environment

Tech
Version

Material-UI
1.0.0-beta.13

React
16

browser
n/a

etc

Issue 2:
Enhancement request:

The expand/collapse behavior of Nested Lists should animate open/closed.

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

Expected Behavior

Lists should animate when they expand / collapse.

Current Behavior

Lists currently snap to the state, without any visual explanation of what happened. This is comprehendible to most user, but gets disorienting if lists are large.
Issue 1:
If a Task object has a non None value for max_retries, we can't set max_retries to None when raising a retry. The retry method uses None as a default value, so it falls back to the Task's current max_retries value.

Issue 2:
In the task documentation the max_retries states that a value of None will make the task retry forever http://celery.readthedocs.org/en/latest/reference/celery.app.task.html#celery.app.task.Task.max_retries . However in the Task.retry() code line 635 you do

max_retries = self.max_retries if max_retries is None else max_retries

max_retries is passed in with a default value of None and it appears you are using that to check if someone called it with a different value. otherwise use old value which will default to 3.

What I'm trying to get at here is that it appears that unless someone uses the task decorator to set max_retries to None you can't have the task retry forever. perhaps using a different value to indicate retry forever like -1 is better as changing the function definition might break thing for people.
Issue 1:
[Enter steps to reproduce below:]

open a file and modify it

revert modification with git (eg: git checkout {file})

Atom Version: 0.196.0

System: linux 3.13.0-52-generic

Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'

At events.js:141

Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'
at Error (native)

Commands

-3:02.5.0 editor:newline (atom-text-editor.editor)
-3:02.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-3:02.3.0 editor:newline (atom-text-editor.editor)
-3:00.3.0 core:backspace (atom-text-editor.editor)
2x -3:00.1.0 core:delete (atom-text-editor.editor)
3x -2:58.9.0 core:backspace (atom-text-editor.editor)
-2:52.6.0 core:save (atom-text-editor.editor)
-2:20.7.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-2:20.7.0 editor:newline (atom-text-editor.editor)
2x -2:16.4.0 core:copy (atom-text-editor.editor)
-2:14.5.0 core:paste (atom-text-editor.editor)
2x -2:14 core:move-right (atom-text-editor.editor)
3x -2:11 core:save (atom-text-editor.editor)
-0:42.2.0 core:backspace (atom-text-editor.editor)
2x -0:41.5.0 core:save (atom-text-editor.editor)
4x -0:11.9.0 core:undo (atom-text-editor.editor)

Config

{
"core": {
"followSymlinks": true,
"disabledPackages": [
"linter-jshint",
"merge-conflicts"
],
"autoHideMenuBar": true
},
"editor": {
"showInvisibles": true,
"showIndentGuide": true,
"tabLength": 4,
"invisibles": {}
}
}

Installed Packages

# User
angularjs, v0.1.0
atom-beautify, v0.27.0
color-picker, v1.7.0
editorconfig, v1.0.0
emmet, v2.3.8
file-icons, v1.5.5
local-history, v3.1.0
minimap, v4.8.0
project-manager, v1.15.5
react, v0.11.8

# Dev
No dev packages

Issue 2:
Some repro steps that I gathered from the existing issues:

Have a file open in branch something that doesn't exist in branch atom

git checkout atom

ENOENT 💥

OR

Have a file open in Atom that will be affected by git rebase

git rebase

ENOENT 👎

OR

Just simply rename a file outside of Atom that's currently open inside of Atom.
Issue 1:
I don't no this is a bug, but I try to help.

`

................

`

Using div is not error. But I try using tags p

`

..........

`

it error template parse: Unexpected closing tag "p".

I using bulma.io

Issue 2:
If a <p> element wraps a child element, for instance <div>, an error is returned. <p> elements should be able to contain children.

Plunker example

Component template:

<p><div></div></p>

Result:

Template Parse Error

Unexpected closing tag "p" ("

[ERROR ->]

"): HelloWorld@0:14

Component template:

<div><div></div></div>

Result:

The parser completes as expected.
Issue 1:
Bug report

What is the current behavior?

Using for example [name].[contenthash].jsas the filename in output.filename leads to a compiled bundle where the contenthash gets compiled as a variable instead of a string.

/******/	var href = "" + ({}[chunkId]||chunkId) + "." + __webpack_require__.h ? __webpack_require__.h() : 33a77d7a305d7b86ce61 + ".css";

the using a different separator works - [name]-[contenthash].js

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

This occurs randomly - we had this error on different machines - with the same node/yarn etc. versions.

Webpack config here -> https://gist.github.com/FabianHippmann/b122bc99ed10059325720796f0259bad

Bc this also affects the mini-css-plugin i opened an issue there -> webpack-contrib/mini-css-extract-plugin#596

What is the expected behavior?

contenthashshould be compiled as a string.

for example:

/******/	var href = "" + ({}[chunkId]||chunkId) + "." + __webpack_require__.h ? __webpack_require__.h() : "33a77d7a305d7b86ce61" + ".css";

Other relevant information:

webpack version: webpack 5.0.0-rc.3

Node.js version: v12.18.4

Operating System: Ubuntu 20.04

Additional tools:

Issue 2:
I'm testing out webpack by converting a simple project currently built with browserify.

I get the following exception:

$ webpack
.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42
var i = req.indexOf("?");
^
TypeError: Object false has no method 'indexOf'
at DependenciesBlock.splitQuery (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42:14)
at DependenciesBlock.NormalModuleMixin (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:25:26)
at DependenciesBlock.NormalModule (.../node_modules/webpack/lib/NormalModule.js:21:20)
at .../node_modules/webpack/lib/NormalModuleFactory.js:96:7
at Tapable.applyPluginsAsyncWaterfall (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:84:69)
at Tapable.onDoneResolving (.../node_modules/webpack/lib/NormalModuleFactory.js:82:10)
at Tapable.<anonymous> (.../node_modules/webpack/lib/NormalModuleFactory.js:78:22)
at .../node_modules/webpack/node_modules/async/lib/async.js:232:13
at .../node_modules/webpack/node_modules/async/lib/async.js:119:25
at .../node_modules/webpack/node_modules/async/lib/async.js:24:16

t.js:

require('levelup');

webpack.config.js:

module.exports = {
entry: "./t.js",
output: {
filename: "bundle.js"
}
}

package.json:

{
"devDependencies": {
"levelup": "~0.18.2",
"webpack": "~1.0.3"
}
}

I don't know enough about webpack to troubleshoot further.
Issue 1:
The Button's ripple effect used to open a modal remains "pulsing" if I close it using the "esc" key.

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

Expected Behavior

Ripple effect should disappear after the modal is closed.

Current Behavior

Ripple effect remains

Steps to Reproduce (for bugs)

Actually you can reproduce it with the default sandBox link provided:

https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app

click on the button "Super secret password"

after the modal is opened, enter "esc" and watch the button ripple effect "pulsing"

Context

Minor issue, just aesthetic.

Your Environment

Tech
Version

Material-UI
1.0.0-beta.27

React
16.2.0

browser
Version 63.0.3239.132 (Build officiel) (64 bits)

OS
Windows 10 Entreprise

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

Expected Behavior

When using a Button to open a Dialog, when the Dialog is closed with either the escape key or clicking outside of it, the Button should look like it did before the click.

Current Behavior

When using a Button to open a dialog, when the Dialog is closed with the escape key, the button displays a ripple effect similar to if it was clicked. This does not happen when the dialog is closed by clicking outside of it.

Steps to Reproduce (for bugs)

Using https://codesandbox.io/s/m48ywqxnkp from the documentation, click the Open Simple Dialog button

When the Dialog appears, press escape to close the dialog

The ripple effect is displayed in the button until something else is clicked

The alert dialog demo does not seem to have the same behavior: https://codesandbox.io/s/3vwx0l7kjq

Context

This does not impact usability, just an aesthetic issue.

Your Environment

Tech
Version

Material-UI
1.0.0-beta.41

React
16.3.1

browser
Chrome 65.0.3325.181, Firefox 59.0.2

etc
Issue 1:
TypeScript Version:

1.7.5

Code

var reader = new FileReader();

reader.onload = function(evt) {
// console.log(evt.target.result);
debugger;
resolve(evt.target.result);
// resolve(evt.srcElement.result);
};

Expected behavior:

code should pass typescript check

Actual behavior:

the .result fields are being marked as does not exist on EventTarget / Element

Issue 2:
Trying to retrieve the result of a read file/blob via the event passed into the reader's onload/onloadend method results in a type error (Property 'result' does not exist on type 'EventTarget').

This is valid JavaScript, which is failing type checking because the EventTarget interface does not have a result property.

Examples:

Typescript playground example - Clicking the run button should show an alert with the file data

Jsfiddle example

Workaround: Retrieve the result from the reader object (FileReader.result)
Issue 1:
Hi, I am currently using sublime text with the Origami plugin which allows easily to split/unsplit and move between panes with keyboard shortcuts, some of the features are already available in the last Atom with I am missing some:

Already possible:

split left/right/top/bottom

Not possible as far as I can tell:

move to left/right/top/bottom

unsplit left/right/top/bottom (the associated pane tabs will get merged into the current pane)

move active tab to pane left/right/top/bottom

Issue 2:
Splitting panes is easy: I got C-| and C-- into my fingers quickly. What's hard for me is unsplits. Currently it looks like I have to M-w until I've closed every tab in the pane, at which point it goes away.

The problem for me is that I don't use tabs, and I don't think of files being open in a pane. I think of them as being open in Atom and displayed in a pane when I ask for 'em.

When I think about unsplitting I don't connect it to the idea of closing files at all. I'd love it if unsplitting was a pane-level concern like splitting is.