WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
It seems the Button is no longer lives in material-ui/Button for v1.0.0-beta.9

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

Expected Behavior

In document Buttons

import Button from 'material-ui/Buttons'

now have changed into

import FlatButton from 'material-ui/FlatButton'
import RaisedButton from 'material-ui/RaisedButton'

Current Behavior

when import from material-ui/Button, will report Module not found

Steps to Reproduce (for bugs)

import Button from 'material-ui/Button';

Webpack will complain cannot find module.

Context

n/a

Your Environment

Tech
Version

Material-UI
^0.19.1

React
^15.6.1

browser
n/a

etc
n/a

Issue 2:
Typescript throws error when trying to add the theme attribute / prop to the MuiThemeProvider component.

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

Expected Behavior

const theme = getMuiTheme(#themefile);
<MuiThemeProvider theme={theme}>
........

Should wrap the child components with the specified theme

Current Behavior

Typescript error:

[ts] Property 'theme' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MuiThemeProvider>

Context

Tech
Version

Material-UI
0.19.4

React
16.1.1

browser
All

Typescript
2.6.1

@types
0.18.4
Issue 1:
From time to time I see release notes for wrong version. Not sure is chocolatey bug of atom itself.

Issue 2:
I use Atom on two different machines and I'm seeing anomalies when looking at the release notes. On one of my machines the release notes are always blank with only a button showing to view previous release notes. On the other machine the release notes are old. Here is a current screenshot but keep in mind this isn't the only time the release notes have been outdated compared to the release I was using.

Currently using Atom 0.136 on Windows 8.1 (on two different systems).
Issue 1:
Hello,

This is more of a question than a bug report.

Is there documentation on how to use iCloud to sync data in Electron? (Preferably in a way that can be implemented using auto-save without user input)

I’ve searched the issues for any mention of iCloud and have also done a Google search. This seems like something that should have documentation since a desktop app may need to share data with a mobile app over iCloud.

Issue 2:
It'd be nice if we had a simple flag (--help and -h) that showed all supported flags and a short description. The only flag I know of right now is --wait, but it's still helpful for people who would like to use atom as their git commit editor but don't know how.
Issue 1:
#4969 isn't fixed at branch r0.11.

https://www.tensorflow.org/versions/r0.11/api_docs/python/state_ops.html#constant_initializer

Issue 2:
https://www.tensorflow.org/versions/r0.11/api_docs/python/state_ops.html#constant_initializer

On Constant Initializer -> Examples:

The very large gray box contains the html of other initializer docs. Hope it can be fixed.
Issue 1:

Issue 2:
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.): ingress tls.

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

Kubernetes version (use kubectl version): 1.4

Environment:

Cloud provider or hardware configuration: GKE

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

Kernel (e.g. uname -a):

Install tools:

Others:

What happened: Currently Ingress resources can only have one TLS certificate configured:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test
spec:
tls:
- secretName: testsecret
rules:
- host: foo.bar.com
http:
paths:
- backend:
serviceName: s1
servicePort: 80
- host: bar.foo.com
http:
paths:
- backend:
serviceName: s2
servicePort: 80

What you expected to happen: Would it make sense to have a TLS certificate per route rule. Something like this:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test
spec:
rules:
- host: foo.bar.com
tls:
- secretName: testsecret
http:
paths:
- backend:
serviceName: s1
servicePort: 80
- host: bar.foo.com
tls:
- secretName: testsecret
http:
paths:
- backend:
serviceName: s2
servicePort: 80

I am not aware of the design decisions behind the current implementation so this might not make sense at all.

The reason I propose this is because I see Ingress'es as public IP addresses. You might want to have several public IPs pointing to your cluster but also only one IP and then have several hosts point to that IP.

Initially submitted at kubernetes-retired/contrib#2058, but per request of @aledbf, submitting here.
Issue 1:
Issue Type:

Bug Report

Ansible Version:

1.7.2

Environment:

N/A

Summary:

when using copy module with inline content="{{myvar}}" where myvar is multiline variable, newlines in the destination files got duplicated.

Steps to reproduce

Example playbook:

---
- hosts: all
vars:
multiline: |
line1
line2
line3

tasks:
- local_action: copy dest=/tmp/output content="{{multiline}}"

Run as:

ansible-playbook -c local -i "127.0.0.1," content_newlines.yml

Expected result

$ cat /tmp/output
line1
line2
line3

Actual results

$ cat /tmp/output
line1

line2

line3

Issue 2:
Issue Type:

Bug Report

Ansible Version:

ansible 1.5.3 (release1.5.3 157b783) last updated 2014/03/27 15:54:18 (GMT +200)

Environment:

CentOS 6

Summary:

When I initialize a variable of type list "tmcAdmin_Update_Notify" ansible the action that triggers the notification causes an error:

ERROR: change handler (['handler_1', 'handler_2']) is not defined

What is the syntax to set a variable as the one below in the notify:

my_var:

- handler_1

- handler_2

Steps To Reproduce:

ansible-playbook -i hosts --limit=bt1sssbg site.yml -t tmcAdmin --verbose

site.yml file :

hosts: testbedUH

vars:

tmcAdmin_Update_Notify:

handler_1

handler_2

tasks:

include: tmcAdmin.yml

tags: tmcAdmin

handlers:

name: handler_1

action: shell echo "handler_1"

tags: tmcAdmin

name: handler_2

action: shell echo "handler_2"

tags: tmcAdmin

tmcAdmin.yml

Actions :

name: Besoin mettre a jour composant TMC_ADMIN

action: bytel-installer name=TMC_ADMIN version={{ TMC_ADMIN_version }} state=updated path={{ ansibleTemp_path }} args="-t {{ tomcatVersion }}"

notify: $tmcAdmin_Update_Notify

Expected Results:

No error :)

Actual Results:

ERROR: change handler (['handler_1', 'handler_2']) is not defined
Issue 1:
The .svg profile as generated by pprof's web command includes some Javascript from https://www.cyberz.org/projects/SVGPan/SVGPan.js

the file is linked here:

go/src/cmd/pprof/internal/driver/driver.go

Line 628
in
5f84238

flagSVGPan: flag.String("svgpan", "https://www.cyberz.org/projects/SVGPan/SVGPan.js", "URL for SVGPan Library"),

I found it surprising to find pprof's SVG has external dependencies. Not just because of tracking reasons (I don't think cyberz.org need to know about my pprof usage), but also because it doesn't always work (e.g. working on a train).

Would it be possible to just include the javascript code verbatim in the .SVG, or otherwise to not include the external link by default?

Issue 2:
by shiblon:

In the Effective Go document, the following example appears in the Goroutines section:

func Serve(queue chan *Request) {
for req := range queue {
<-sem
go func() {
process(req)
sem <- 1
}()
}
}

This example is not going to work, however, because "req" gets reused at every
iteration of the loop. In order for it to be correct, it would either need "req :=
req" at the beginning of the loop body, or the request should be passed in thus:

func Serve(queue chan *Request) {
for req := range queue {
<-sem
go func(r *Request) {
process(r)
sem <- 1
}(req)
}
}

I am not sure which of the two approaches would be more idiomatic in Go (creating a new
local variable at every iteration vs. passing in a parameter), but the one that is
currently there appears incorrect.
Issue 1:
problem：When sharding proxy and SQL hint are used for database splitting, does the read-write separation configuration not take effect？

environment：shardingproxy-5.1.2,mysql5.7

What should I do if I want to use hint and read / write split config at the same time?

Issue 2:
Bug Report

Which version of ShardingSphere did you use?

master 6a70d74

Expected behavior

Pass PostgreSQL Proxy integration test

Actual behavior

Integration tests failed.

Reason analyze (If you can)

Proxy returned duplicated ReadyForQuery when error occurred, which messed up the frontend connection.

The 168 ReadyForQuery is duplicated, which messed up the frontend connection.

pg_proxy_it_failed.pcapng.zip

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

./mvnw -B clean install -am -pl shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite -DskipTests -Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Drat.skip=true -Djacoco.skip=true -T1C -Ddockerfile.useProxy=false -f pom.xml -Dit.env.docker
./mvnw -B install -Dit.adapters=proxy -Dit.databases=PostgreSQL -Dit.scenarios=db -Dit.env.type=DOCKER -f shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
Issue 1:
in py3, the following should correctly raise an IndexError

In [1]: s = Series(range(5),index=list('aacde'))

In [2]: s[5]
IndexError

however

a positional indexer that is in the range should work

s[3]

Further more, this must be a monotonic increasing duplicated index to trigger

In [8]: Series(range(5),index=list('aabcd'))[3]
IndexError: 3

In [9]: Series(range(5),index=list('aadcb'))[3]
Out[9]: 3

simple change needed here

in that if its an integer and in the range of the index it can return that value.

Though maybe we should just detect this in the cython code (index.pyx/Index/_get_loc_duplicated)

needless to say, no tests for this :<

Issue 2:
While using a groupby, applying an expanding function duplicates the grouped dimensions. I would expect the result of this to work like groupby.cumsum where the expanding function is applied over the groups and then the result has the same index as the original data frame.

Code Sample, a copy-pastable example if possible

My Data Frame sample

>>> dataframe
one
cont cat1
0 a 0
b 1
1 a 2
b 3
2 a 4
b 5
3 a 6
b 7
4 a 8
b 9
5 a 10
b 11
6 a 12
b 13
7 a 14
b 15

Example of the function call and incorrect output.

>>> dataframe.groupby(level=1).expanding(min_periods=1).mean()

one
cat1 cont cat1
a 0 a 0.0
1 a 1.0
2 a 2.0
3 a 3.0
4 a 4.0
5 a 5.0
6 a 6.0
7 a 7.0
b 0 b 1.0
1 b 2.0
2 b 3.0
3 b 4.0
4 b 5.0
5 b 6.0
6 b 7.0
7 b 8.0

Expected Output

>>> dataframe.groupby(level=1).cumsum()

one
cont cat1
0 a 0.0
b 1.0
1 a 1.0
b 2.0
2 a 2.0
b 3.0
3 a 3.0
b 4.0
4 a 4.0
b 5.0
5 a 5.0
b 6.0
6 a 6.0
b 7.0
7 a 7.0
b 8.0

output of pd.show_versions()

>>> pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.5.0.final.0
python-bits: 64
OS: Darwin
OS-release: 15.6.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8

pandas: 0.18.1
nose: None
pip: 8.1.2
setuptools: 18.1
Cython: None
numpy: 1.11.1
scipy: None
statsmodels: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.2
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
boto: None
pandas_datareader: None
Issue 1:
anyone can tell me the details about how to install c# plugin for vscode .

by the way, i have asked question "#2003",but i don't understand the following answer , anyone can help me ?

The source is currently in transit and will move to the OmniSharp org. What you need to do is this:

find the extension folder for ./script/code in your home dir, like ~/.code-oss-build-dev/extension

add a sym link that points to the omnisharp extension (for now from your installation, soon from the github project)

Issue 2:
When i build vscode source code and use ".\scripts\code.bat" to start the instance of vscode, i found i can not found c# type when i open language mode selector ,anyone can help me?
Issue 1:
VSCode Version: 0.10.11

OS Version: Windows

Can i use emmet zen coding html in laravel blade file and vuejs .vue file

i try to search how to resolve but not found any resolve way

Thanks.

ps. sorry for my bad english

Issue 2:
VSCode Version: 1.3.1

OS Version: Ubuntu 16.06

Steps to Reproduce:

Install Nunjucks plugin.

Type p and press tab.

\t was inserted.

Expected Result:

p expanded to <p></p>.

I was looking for the setting to enable emmet, but it seems hard-coded in the source (src/vs/workbench/parts/emmet/node/editorAccessor.ts#L20).

Can we modify this value through preference?

Thanks.
Issue 1:
Consider this playground program:

http://play.golang.org/p/0uxQi6r0y7

It does not, of course, produce 2 billion lines of output. At some point the output is
truncated and the program terminated for producing too much output. In my test, the
response JSON object had 43887 elements in the "Events" array.

The javascript running on the page, though, crashes after printing only part of the
response. In my test, it printed 7948 "asdf"s before crashing with
"Uncaught RangeError: Maximum call stack size exceeded". The JS stack trace
indicates a recursive function 'next' at playground.js:59.

Additionally, my browser pegs one core for about 20 seconds while producing even this
much output.

I suggest that the limit on output size be truncated more aggressively or the javascript
be made more efficient.

Issue 2:
by andrea.fazzi@alcacoop.it:

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.

1. Run the following program on a Raspberry PI:

http://play.golang.org/p/oaT1Gm_4sZ

What is the expected output?

I expect the application doesn't crash.

What do you see instead?

The application crashes with a SIGILL: illegal instruction. Stacktrace follows:

go run main.go
SIGILL: illegal instruction
PC=0x10c90

main.HomogRotate3D(0x3d4ccccd, 0x0, 0x3f800000, 0x0, 0x0, ...)
/home/pi/src/raspberry_issue/main.go:12 +0x90 fp=0xb6e3cf2c
main.main()
/home/pi/src/raspberry_issue/main.go:19 +0x70 fp=0xb6e3cf8c
runtime.main()
/home/pi/src/go/src/pkg/runtime/proc.c:220 +0x100 fp=0xb6e3cfc0
runtime.goexit()
/home/pi/src/go/src/pkg/runtime/proc.c:1394 fp=0xb6e3cfc0

goroutine 2 [runnable]:
runtime.MHeap_Scavenger()
/home/pi/src/go/src/pkg/runtime/mheap.c:439
runtime.goexit()
/home/pi/src/go/src/pkg/runtime/proc.c:1394

trap 0x6
error 0x0
oldmask 0x0
r0 0x0
r1 0x2
r2 0x0
r3 0x0
r4 0x0
r5 0x0
r6 0x0
r7 0x104c26
r8 0xc24e107e
r9 0x64170
r10 0x10301140
fp 0x407b8
ip 0xb6e3ceb0
sp 0xb6e3cec4
lr 0x29298
pc 0x10c90
cpsr 0x60000010
fault 0x0
exit status 2

Which compiler are you using (5g, 6g, 8g, gccgo)?

5g

Which operating system are you using?

$ cat /etc/debian_version
7.0

$ uname -r
3.6.11-rpi-aufs

Which version are you using? (run 'go version')

$ go version
go version go1.2 linux/arm

$ cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000e
Serial : 00000000b7d2dc6f
Issue 1:
the fact that Exceptions occurring in Tasks are not propagated back to the main thread makes debugging difficult.

at the REPL:

julia> throw(Exception)
ERROR: Exception # printed in red

julia> @async throw(Exception)
Task (failed) @0x00007f6654996680 # in black

on the unix command line:

$ julia -e 'throw(Exception)'
ERROR: Exception
in process_options at ./client.jl:295
in _start at ./client.jl:413

$ echo $?
1

$ julia -e '@async throw(Exception)'

$ echo $?
0

Issue 2:
If an @async block encounters an error it silently stops running. Any way to at least print out some errors?
Issue 1:
Summary of the new feature/enhancement

Make it easier to create a terminal similar to Windows Terminal that capable of running on Windows 7.

A clear and concise description of what the problem is that the new feature would solve.

Provide a better terminal experience for organizations that still utilize Windows 7.

Proposed technical implementation details (optional)

Missing features:

You'll need conpty to be able to serve as the console API server on windows 7. You'd have to take the conhost.exe and bring it with you to be able to run on Windows 7. Dependent on the next item:

Conhost.exe was changed for Windows 8 to use condrv to handle console API calls, instead of whatever it was using before. So if you want to run conhost on Windows 7, you'll need to update it to be able to handle the windows 7 style connection. - Help wanted

You'll need XAML Islands ported to windows 7 to be able to host our UI - XAML Islands can be used in WPF. See this blog post.

Need appx infrastructure to be able to install the .msix on Windows 7. Msix packaging supports Win7.

Need SxS WinRT activation downlevel to be able to support running

the terminal as administrator. WPF can be used for this instead.

Probably more. Add to the list as needed.

Issue 2:
BackgroundImage & Drag to under the taskbar

I tried to customize my terminal with a GIF at the rightRight. It looks so normal before I drag him to under the taskbar. When I did it, actually it is the GIF under the bar, its window got dark and I couldn't do anything with it except close it.
Issue 1:
I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

Currently, using the "peerDependencies" field in package.json is forbidden:

> dtslint types "my-plugin"

Error: .../my-plugin/package.json should not include field peerDependencies

Some library definitions may depend on a host package version which should not be imported twice, e.g. due to the host packages exporting duplicate definitions in this case. This can happen when the application requires a different version of the host package than the definitions of the library.

Using "peerDependencies" solves this problem by only allowing a single specific version of the host package to be installed.

Issue 2:
I tried using the @types/d3-hexbin package and had problems.

I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript

I have a question that is ignored in StackOverflow (Please ask any appropriate questions there).

Mention the authors (see Definitions by: in index.d.ts) so they can respond.

Authors: @uncovertruth, @tomwanzek

So, I'm using d3 and d3-hexbin as global libraries:

<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3-hexbin.v0.2.min.js"></script>

... and referencing them in .ts as:

/// <reference types="d3" />
/// <reference types="d3-hexbin" />

However, although this works:

const svg = d3.select('#hitmap')

... this:

const hexbin = d3.hexbin()

... fails with a :

Property 'hexbin' does not exist on type
'typeof "/Users/bytter/node_modules/@types/d3/index"'

By looking at the tests, I can see that:

import * as d3Hexbin from 'd3-hexbin';

Would export the hexbin() function directly into the d3Hexbin namespace, but I'm unable to figure out how to conciliate this with d3-hexbin as a global library.
Issue 1:
问题描述：

某个容器中嵌套一个1像素的Stack，这个Stack中有个漂浮的按钮的点击不好用，请问如何解决？

代码如下：

new SizedBox(width: 1.0, height: 1.0,
child: new Stack(overflow: Overflow.visible,
children: <Widget>[
new Positioned(child: new InkWell(onTap: () {
print('点击了');//此处不执行
}, child: new Text('按钮')),
right: 0.0, top: 16.0,)
])),
``’

Issue 2:
Internal: b/143100923

When a Stack contains MyWidget inside of a Positioned.

Stack(
overflow: Overflow.visible,
children: [
Positioned(
top: -50.0,
child: MyWidget(),
)],
);

Since overflow is Overflow.visible, MyWidget displays outside of the Stack. However, it doesn't accept gestures in the overflowed area. I have no idea if it's easy, difficult or downright impossible to make this change, but I can think of a gazillion use cases for that, which at the moment must be satisfied by using the much more complex Overlay, or some Stack tricks.

And in case it's impossible to make this change, then at least the documentation should clearly state that overflowed content can't receive gestures.

Also, see: https://stackoverflow.com/questions/51366761/in-flutter-how-can-a-positioned-widget-feel-taps-outside-of-its-parent-stack-ar
Issue 1:
It seems the only documentation of model persistence is in the Quick Start tutorial. I think it needs to be covered in the User Guide, mentioning security and forward-compatibility caveats pertaining to pickle. It might note the benefits of joblib (for large models at least) over Pickle. Most other ML toolkits (particularly command-line tools) treat persistence as a very basic operation of the package. (This was fixed in #3317)

Similarly, there should be some comment on saving and loading custom data (input and output). Indeed, I can't find a direct description of the supported data-types; users are unlikely to have played with scipy.sparse before (although the feature_extraction module means they may not need to). Noting the benefits of joblib (without which the user may dump a sparse matrix's data, indices, indptr using .tofile) and memmapping is worthwhile. So may be reference to Pandas which could help manipulate datasets before/after entering Scikit-learn, and provides import/export to a variety of formats (http://pandas.pydata.org/pandas-docs/dev/io.html).

I have recently discovered new users who think the way to import/export large sparse arrays is load_svmlight_format, but then note that the loading/saving takes much more time than the processing they're trying to do... Let's give them a hand.

Issue 2:
How to save a model (i.e., model persistence) used to be a sub-section of the tutorial and visible directly from the homepage. But since now it's become a sub-sub-section, it's not visible anymore.

Since it's a very common need it would be nice to make it more prominent. Maybe a section of its own?
Issue 1:
Challenge introduction-to-html5-elements has an issue.

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

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

<h2>CatPhotoApp</h2>
<main>
<p>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>
</main>

This has been reported before but the issue was closed with a link to a completely unrelated issue days ago, there are no currently open bug reports specifically addressing this issue.

Issue 2:
Challenge Name

Basic Html and Html5: Introduction to HTML5 Elements

Issue Description

The challenge page is stuck in loading since the challenge framework code throws the following error:

The console shows the same error 44 times.

Neither reloading, emptying of cache or disabling browser extensions helps.

This affects Chrome as well as Firefox.

Browser Information

Browser Name, Version: Firefox 50.1.0 and Chrome 55.0.2883.87 (64-bit)

Operating System: Ubuntu 16.04

Mobile, Desktop, or Tablet: Desktop