WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
See https://storage.googleapis.com/go-build-log/a29b1dce/plan9-386-gcepartial_808d3016.log.

ok mime/quotedprintable 0.164s
--- FAIL: TestFileListener (0.00s)
file_test.go:168: file file+net /net/tcp/22/ctl: file does not represent a listener
FAIL

Issue 2:
What does 'go version' print?

Current tip, 1.4 beta.
go version devel +91fa3e159e2f Sun Nov 16 14:25:33 2014 -0500 linux/amd64
also triggers on 1.3.

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

curl http://play.golang.org/p/_P-QfTpoCX.go >main.go && go build main.go

http://play.golang.org/p/_P-QfTpoCX (not runnable on playground due to size)

Created with

curl http://play.golang.org/p/xz3WgOaZvA.go | perl -pe 'if (/xxx/) { for ($1;
$i<6000; $i++) {print} }' >output.go

adjusting 6000 downwards makes the segfault not happen.

Originally triggered while embedding assets.

What happened?

go build command-line-arguments: /home/tv/src/go/pkg/tool/linux_amd64/6g: signal:
segmentation fault (core dumped)
Issue 1:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-reboot-release-1.4/1369/

Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by triggering kernel panic and ensure they function upon restart {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/reboot.go:104
Oct 23 18:08:41.752: Test failed; at least one node failed to reboot in the time given.
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/reboot.go:158

Issue 2:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-reboot/340/

Failed: [k8s.io] Reboot [Disruptive] [Feature:Reboot] each node by triggering kernel panic and ensure they function upon restart {Kubernetes e2e suite}

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/reboot.go:104
Oct 5 06:57:41.583: Test failed; at least one node failed to reboot in the time given.
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/reboot.go:158
Issue 1:
Hello

I am having trouble in checking existing data in scrapy. i have used elasticsearch as my database below code i am trying to execute ??

Issue 2:
Hello

I am having trouble in checking existing data in scrapy. i have used elasticsearch as my database below code i am trying to execute ??

`

def checkIfURLExistsInCrawler(single_url):
elastic_query = json.dumps({
"query": {
"match_phrase": {
"url": single_url
}
}
})

result = es.search(index='test', doc_type='test', body=elastic_query)['hits']['hits']
return result

def start_requests(self):
urls = [

here i have some url there might be chance that some urls are duplicate so i have to put
validation but in for loop it doesn't working

]

for request_url in urls:
checkExists = self.checkIfURLExistsInCrawler(request_url)

if not checkExists :
beingCrawledUrl = {}
beingCrawledUrl['url'] = single_url
beingCrawledUrl['added_on'] = now.strftime("%Y-%m-%d %H:%M:%S")
json_data = json.dumps(beingCrawledUrl)
InsertData = es.index(index='test', doc_type='test', body=json.loads(json_data))
yield scrapy.Request();

`

if i execute this code all record inside urls = [ ] are inserted into "test" index even if its duplicated because of validation i put above is not working .

but if i run this again with same data validation works .so please can any one help this out.
Issue 1:
When I'm using datetime picker component, there is a problem that when I chose the value, I cannot change it back to not choose a date state.

Version: material-ui@0.19.1

React: 15.6.1

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

There is similar issue #8478, but it's closed and marked as invalid due to lack of example.

Expected Behavior

Drawer sticks to the side, provided in anchor property (in this case, it's 'bottom').

Current Behavior

Drawer ignores anchor property and sticks to the left side.

Steps to Reproduce (for bugs)

Open https://codesandbox.io/s/myn22zoy39

Observe Drawer on the left side

Context

Drawer wrapper has following css classes:

MuiPaper-root-19 MuiPaper-shadow0-21 MuiDrawer-paper-90 MiniDrawer-drawerPaper-310 MiniDrawer-drawerPaperClose-311 undefined.

I think bug is here, there should not be type !== 'permanent' check

Your Environment

Tech
Version

Material-UI
beta.17

React
15.5.3

browser
Chrome

etc
Issue 1:
Can't achieve to have a Floating action button with tooltip.

I saw the component has not tooltip prop, so try to insert an IconButton inside but didn't work for me..

so tried to use an IconButton but it has no onClick event so..

Anyway to have an circled button with hover and onClick?

Issue 2:
It would be awesome if it's possible to add tooltip for FAB, like: https://material.angularjs.org/latest/#/demo/material.components.tooltip
Issue 1:
by phmmnd:

What steps will reproduce the problem?

1. Start a fake syslog server using openbsd netcat: nc -kl 1234
2. Run the program at http://play.golang.org/p/ADb0RmfVYI, which attempts to log a
message over syslog every second, and reports the returned error.
3. Kill the netcat session.
4. Note that the test program continues to send messages without reconnecting or
reporting any errors.

What is the expected output?

According to the docs the connection should be retried once for each log message. In any
case an error should be returned to the calling code.

What do you see instead?

No errors or reconnections.

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

6g

Which operating system are you using?

Darwin (Mac OS X 10.7.5)

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

go version go1.1.1 darwin/amd64

Please provide any additional information below.

The "(w *Writer) write" method in log/syslog always returns a nil error, which
means all of the error handling and retry code in "(w *Writer) writeAndRetry"
can never be called.

Issue 2:
Append this code to go/types/api_test.go and run it.

LookupFieldOrMethod, contra its spec, returns pointer-receiver methods even when invoked
with a non-pointer named type. (This is something like the "implicit &"
rule, but this is not the right place for that logic since that rule only applies to
addressable values of type T.)

func TestLookupFieldOrMethod(t *testing.T) {
const src = `package P; type T int; func (*T) f() {}`
pkg, err := pkgFor("test", src, nil)
if err != nil {
t.Fatal(err)
}
T := pkg.Scope().Lookup("T").Type()
obj, index, indirect := LookupFieldOrMethod(T, pkg, "f")
fmt.Println(T, obj, index, indirect) // P.T func (*P.T).f() [0] false
t.Fail()
}
Issue 1:
Certain icons do not display correctly in Safari. It seems to be an encoding issue perhaps? http://d.pr/i/QL0L. The lock, bell, and paperclip among others show up like this in the css http://d.pr/i/ypKw. This is straight from the getbootstrap site. I've downloaded from the main page, the compiler, and the source on GitHub and the same icons always fail. It's the last icons in the css.

.glyphicon-briefcase:before{content:"\1f4bc";}

.glyphicon-calendar:before{content:"\1f4c5";}

.glyphicon-pushpin:before{content:"\1f4cc";}

.glyphicon-paperclip:before{content:"\1f4ce";}

.glyphicon-camera:before{content:"\1f4f7";}

.glyphicon-lock:before{content:"\1f512";}

.glyphicon-bell:before{content:"\1f514";}

.glyphicon-bookmark:before{content:"\1f516";}

.glyphicon-fire:before{content:"\1f525";}

.glyphicon-wrench:before{content:"\1f527";}

Broken:

Windows 8, Safari 5.1.7.

OSX Lion 10.7.5 Safari 5.1.7

These work fine in Firefox 24, IE 11 (and 10-7 emulation in both quirks and normal), Chrome 30.0.1599.69 m. Opera 12.16 fails to load the fonts (which is expected) but it still continues to load the characters correctly as a fallback.

Issue 2:
The glyph font icons are somehow broken on some devices. For example on my android phone (android 2.1) some of the icons are broken, but others look OK. See attached screenshot.

I'm not sure what is cause of that, yet if it is possible to show some of the icons properly on my device, it should be possible to fix it to show all of them properly. If you need more information, let me know. Thank you.
Issue 1:
by sebastien.paolacci:

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

What steps will reproduce the problem?
1. Ask for an os.File representation of a timeout-protected connection
2. Issue a timeout-able framework call (e.g con.{accept, read, write})
3. Wait.

What is the expected output?
Effective timeout: "resource temporarily unavailable".

What do you see instead?
Call will block forever.

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

Which operating system are you using?
linux/amd64

Which revision are you using? (hg identify)
r60.3, tip.

Please provide any additional information below.
Discussed on golang-nuts
(http://groups.google.com/group/golang-nuts/browse_thread/thread/c88f08fa652497da#),
issue filled for the record.

package main

import (
"flag"
"net"
"fmt"
"syscall"
)

const TIMEOUT = 1e8

func main() {
unblock := flag.Bool("unblock", false, "revert socket blocking mode")
flag.Parse()

addr, _ := net.ResolveTCPAddr("tcp", "12345")
l, err := net.ListenTCP("tcp", addr)
if err != nil {
panic(err)
}
if err := l.SetTimeout(TIMEOUT); err != nil {
panic(err)
}

f, _ := l.File()
fmt.Printf("observing '%v'\n", f)

if *unblock {
syscall.SetNonblock(f.Fd(), true)
}

fmt.Printf("should timeout in %v seconds...\n", float64(TIMEOUT)/1e9)
con, err := l.Accept() // Will hang forever if the '-unblock' flag is not set.
fmt.Println(con, err)
}

Attachments:

timeout.patch (4183 bytes)

Issue 2:
Go has a RFC 6265 compliant cookie parser in net/http that is used for the builtin http
server. Which means commas aren't allowed in cookie values (what the rfc specified in
the BNF as "cookie-octet").

Despite not being RFC compliant, all browsers that I'm aware of allow commas. When
replatforming an existing system to Golang, I'm unable to read in cookies set by the
another server (nginx) or set cookies in a way that mimics the legacy app.

I'd like to see net/http/cookie.go do less validation on cookie values so that it
matches the behavior of firefox and chrome, because this will make it easier to replace
legacy systems with Go.

I can produce a patch. The relevant lines of code in the go parser are:
http://golang.org/src/pkg/net/http/cookie.go#L308
http://golang.org/src/pkg/net/http/cookie.go#L350

Existing browser implementations:
http://mxr.mozilla.org/mozilla-central/source/netwerk/cookie/nsCookieService.cpp#3095

http://src.chromium.org/viewvc/chrome/trunk/src/net/cookies/parsed_cookie.cc#l143

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

Which operating system are you using?
Affects all OS's

Which version are you using? (run 'go version')
go 1.2
Issue 1:
I have a dataframe that has some column names as integers (e.g., 1, 2, 3, 4, etc.) indicating a number of features used in a machine learning problem. However, as of seaborn version 0.11.0, a TypeError is raised because seaborn never checks for vectors/columns in data if x or y are integers.

Example

import seaborn as sns
import numpy as np
import pandas as pd

data = np.random.randint(5,30,size=(10,2))
df = pd.DataFrame(data, columns=['x', 1])
ax = sns.scatterplot(x='x', y=1, data=df)

Traceback (most recent call last):

File "<ipython-input-91-7086dc4312d0>", line 1, in <module>
ax = sns.scatterplot(x='x', y=1, data=df)

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_decorators.py", line 46, in inner_f
return f(**kwargs)

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\relational.py", line 794, in scatterplot
p = _ScatterPlotter(

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\relational.py", line 580, in __init__
super().__init__(data=data, variables=variables)

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 604, in __init__
self.assign_variables(data, variables)

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 667, in assign_variables
plot_data, variables = self._assign_variables_longform(

File "C:\Users\nigo0024\Anaconda3\envs\sip_run_2\lib\site-packages\seaborn\_core.py", line 895, in _assign_variables_longform
if val is not None and len(data) != len(val):

TypeError: object of type 'int' has no len()

Version info:

sns.__version__
import matplotlib
matplotlib.__version__

'0.11.0'
'3.3.3'

Issue 2:
Apologies if this is a naive request or I've missed something in the existing functionality, but I have a situation where I have data for two samples and I'd like to view a quantile-quantile plot to compare the distributions of the two samples. Both scipy and statsmodels have functions to make qq plots, but they both require comparison of data with a distribution, they don't support comparison of data with data.

I was wondering if it would make sense to add a "qq" kind to the jointplot() function, which would use the central plot component for the qq plot but still also plot marginal histograms.
Issue 1:
Right now createPalette and createMuiTheme accept a Partial, but actually they should accept a DeepPartial since they do a deepmerge instead of a shallow merge

type DeepPartial<T> = {
[ P in keyof T ]?: DeepPartial<T[ P ]>;
};

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

Expected Behavior

Using a palette like this should not give type errors:

createPalette({
shades: {
dark: {
text: {
primary: 'green',
}
}
}
});

Current Behavior

It gives a compilation error, forcing you to cast it to any or to fill in the complete sub-types.

Steps to Reproduce (for bugs)

See code above.

Your Environment

Tech
Version

Material-UI
latest beta

React
16.2.0

browser
Chrome 62

TS
2.6.2

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

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

export const domRender = (Component) => {
const div = document.createElement('div');
document.body.appendChild(div);
function destory() {
const unmountResult = ReactDOM.findDOMNode(div);
if (unmountResult && div.parentNode) {
console.log(div);
div.parentNode.removeChild(div);
}
}
ReactDOM.render(<Component destory={() => destory()} />, div);
};

class Test extends PureComponent {
state = {
open: true,
}
render() {
const { destory } = this.props;
const { open } = this.state;
return (
<div>
<Dialog
open={open}
onExited={() => { if (destory) destory(); }}
// transition={props => <Slide direction="up" {...props} />}
keepMounted
onClose={() =>
this.setState({
open: false,
});
}}
>
<Login />
</Dialog>
</div>
);
}
}

domRender(<Test />)

the dialog can't close

4.

Context

Your Environment

Tech
Version

Material-UI
1.0.0-beta.26

React
16.2.0

browser
chrome 63.0.3239.84

etc
Issue 1:
I've been trying to find out the process of creating DataFrames in order to try to solve #2305 with minimal memory use. I've made some tests that put in a IPython notebook: http://nbviewer.ipython.org/gist/tinproject/7d0e0de9475b16910fcf

Currently when reads from a generator pandas internally allocate the whole generator in memory within a list, using at least twice the memory needed. I suspect sometimes could be even more if there is a later type conversion needed.

Also, as it can be viewed in the notebook, the input data collection it's completely readed many times before data it's loaded in the final data structure.

To read from an iterator, without put the whole it in memory, it's needed to process the values that yield one by one, or at least in a one pass form.

One it could read data from a iterator in one pass, it could read from every iterable collection only needing the count of elements to read. It includes collections with implicit lenght: sequences(list, tuple, str), sets, mappings, etc. and collections with unknown length: generators, iterators, etc. which size must be explicitly given.

I think this could end in a great improve on performance and enhance the input data types accepted (In my tests I saw that the tuple collection it's not a valid type for DataFrame!)

Relates to #2305, #2193, #5898

I want to help to solve this, but it's a bis task, and I'm lost when comes to the Blocks part. Is there anywhere documented what structure have and how Blocks works?

Issue 2:
Hi,

Series.irow(i) (and also Series.iget(i)), with i being an integer, returns more than one value on Series with non-unique indexes if the index at location i has duplicates. This is not the behavior I expected and it is also different from the behavior shown by DataFrame.irow(i), since it only returns the row located at position i regardless of any existing index duplicates. Also the documentation for Series.irow/Series.iget specifies that an "int" parameter should return a "scalar" value, so I guess this might be a bug.

Here is some sample code I've run using pandas '0.8.2.dev-f5a74d4':

In [52]: s = Series([0, 1, 2], index=[0, 1, 0])

In [53]: s.irow(0) # here I was expecting 0
Out[53]:
0 0
0 2

In [54]: s.irow(1)
Out[54]: 1

In [55]: s.irow(2) # here I was expecting 2
Out[55]:
0 0
0 2

and its DataFrame counterpart:

In [56]: df = DataFrame([[0], [1], [2]], index=[0, 1, 0])

In [57]: df.irow(0)
Out[57]:
0 0
Name: 0

In [58]: df.irow(1)
Out[58]:
0 1
Name: 1

In [59]: df.irow(2)
Out[59]:
0 2
Name: 0

Thanks and regards.
Issue 1:
I'm running Archlinx where the default system Python is 3.5. This cases the following code to fail:

$ ansible -i 127.0.0.1,localhost all -m ping
localhost | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "",
"module_stdout": "Traceback (most recent call last):\r\n File \"/home/miki/.ansible/tmp/ansible-tmp-1454335202.76-249950301753567/ping\", line 44, in <module>\r\n import exceptions\r\nImportError: No module named 'exceptions'\r\n",
"msg": "MODULE FAILURE",
"parsed": false
}
127.0.0.1 | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "",
"module_stdout": "Traceback (most recent call last):\r\n File \"/home/miki/.ansible/tmp/ansible-tmp-1454335202.76-43713622814893/ping\", line 44, in <module>\r\n import exceptions\r\nImportError: No module named 'exceptions'\r\n",
"msg": "MODULE FAILURE",
"parsed": false
}

Changing the #! line in ping.py to #!/usr/bin/python2 fixes the problem.

Issue 2:
This matter is related to ansible's dependancy to python2 and the .

How is requiring people to have python point to python2 in /usr/bin/ any better than just requiring python2 in the shebang? Especially, if it's already established that ansible DOES NOT work with python3 which is a preferred candidate for the symlink.

Explicitly discouraging users to fix shebangs is even worse (encouraging bad design imho).

At some point in the future ansible-scripts will be ported from python2

to python3 - that's also the right time to change the shebang from

python2 to python3 and the dependency for ansible in general.

Then, other maintainers will also have to change their shebangs and port their

modules to python3 in order to support the new version of ansible.
Issue 1:
The resource 'projects/kubernetes-jenkins-pull/zones/us-central1-f/instances/tmp-node-e2e-7b8dd770-e2e-node-ubuntu-trusty-docker8-image'

Logs: https://00e9e64bac531cb5cad75310c608414ef335529b22eebfe480-apidata.googleusercontent.com/download/storage/v1/b/kubernetes-jenkins/o/pr-logs%2Fpull%2F25374%2Fnode-pull-build-e2e-test%2F5146%2Fbuild-log.txt?qk=AD5uMEvI2Cm9eUqjLo34zreXYXJjVr09EnnPBIU2fWkgH1PegbVBe_Dos97WIggPEqpexQMaaIUn3X2BbDrNCPg78RTANb1VsFsvB3DecSJDHjGp7Z6S5qjiPkCXL7BRCeLWFbJTaPfbHyOj-_jt3lipVBjOwWBk58pOw56IhUR7v2nUr2UzriwxKqBlglsVanlOEnHxTaOnQdywB5kb0zXeRo-2Ax4adAnvFv6WSxDxMUN6sCvbtcSW2Yc9Fr1ZBqojbgXCVFMtvFZTvcHWAvVl3UrcgaC1Yu9gQrAfIDjeo8HNhLHfmri3Z6f_XQIJ4DW1ZJLLyqQk76QOAriE8C7q6rPB8dpTW22Gk0VJmtVT8WHMMVEnIJi5BPpKHLrpcK3VVHIr-8DIG0lq6gvU1f68hvx28PMKhbQM6S_KwkyS3SnmFQdJmA2xi81uaxuxoQ7rDQQ2W0l-PVAxQqE8trD6yXBeKZIvX6ZI_gfruLcR1dA09txuP3T1lwDF-hJVjFOONfhsvLXusc_HaWNl4qyEFxSAbG7X3cf6Ifi2frz7yUOdg6EX1MSnOnKNn0fe0Uhstaz3cDU6J8SPmqlxPHXY-yttZiNd9ZMM6kj668oziMAxPhxtd5JjKXWfWdgvKIszjUNrZJVn1amPfW4IQYLNqR8Gc75FRUvEm3-decTNE9M24cRLBn_48uIA1C-BOgDjGh2bP03-JfC22NGhehyZ1Sng7AdQq-QlfxVnqvSFq3T4LX9Lyn05WEjZYV60uK-WVqF5k9Zv6HzOaM6jxGbZN81R6S22qO4qJXtsp02xXpIunz2GJRw3zkuS2s_zH9ijHC-qPbmrgKxKmi6ll0p6MHyW3FKQpw

Issue 2:
Build log

I0419 09:06:53.327003 21861 run_e2e.go:243] Error deleting instance tmp-node-e2e-d5af7478-e2e-node-ubuntu-trusty-docker9-image

Was immediately followed by

Failure Finished Host Test Suite

Unable to create gce instance with running docker daemon for image e2e-node-ubuntu-trusty-docker9-image. googleapi: got HTTP response code 502 with body: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 502 (Server Error)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>502.</b> <ins>Thatâ€™s an error.</ins>
<p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds. <ins>Thatâ€™s all we know.</ins>
Issue 1:
Here is a reduced test case: workercoverage.zip

Run ./runTest.sh and observe the result in html/index.html folder.

You need to have genhtml installed, but otherwise you can also check the result of lcov.info to see that it only contains coverage of the startWorker.js file.

Issue 2:
Currently "deno info https://deno.land/std/http/file_server.ts" will display a dependency graph of the specified module. It would be nice to be able to access this information in a programmatic way.

let depTree = await Deno.deps("https://deno.land/std/http/file_server.ts")

Where depTree would be some JSON encodable object similar to the current output.

The first step to exposing this would be pure rust functionality of turning a Deps structure into a JSON string:

deno/cli/modules.rs

Line 188
in
960ee52

pub struct Deps {