WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
You can see this on the documentation site in Chrome and FF. When you hover over the active element in a nav-list, you get a gray background that obscures the text.

I looked for a quick fix, as this wasn't present in the 2.0-wip code I was using previously, but I'm still getting my bearings with the source and was unable to find anything obvious after a quick look around.

Issue 2:
here is the list of js files included

<script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/bootstrap-dropdown.js" type="text/javascript"></script>
<script src="js/bootstrap-button.js" type="text/javascript"></script>

<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

here is the markup of the button

<div class="btn-group">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
Action
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<!-- dropdown menu links -->
</ul>
</div>

Not sure, why the dropdown does not shows up when it should. am i missing something ?
Issue 1:
I'm not sure if this is desired behavior or not, but the two functions currently have inconsistent output. It would be nice for pmap() to preserve shape too.

julia> map(prod, Base.product(1:5, 1:5))
5×5 Array{Int64,2}:
1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25

julia> pmap(prod, Base.product(1:5, 1:5))
25-element Array{Any,1}:
1
2
3
4
5
2
4
6
8
10
3
6
9
12
15
4
8
12
16
20
5
10
15
20
25

Issue 2:
As discussed on the julia-users mailing list thread "parallelized comprehensions"

https://groups.google.com/forum/#!topic/julia-users/DTyTqib3iOk

map preserves the shape of the input and does type deduction, whereas pmap does not:

julia> map(x -> x.^2, 2*ones(2,2))
2x2 Array{Float64,2}:
4.0 4.0
4.0 4.0

julia> pmap(x -> x.^2, 2*ones(2,2))
4-element Array{Any,1}:
4.0
4.0
4.0
4.0

From a user's perspective it would be good if both functions had the same interface.
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/.): yes, but there seems to be a bug

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

kubernetes delete daemonset fails

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:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:45:16Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4", GitCommit:"dd6b458ef8dbf24aff55795baa68f83383c9b3a9", GitTreeState:"clean", BuildDate:"2016-08-01T16:38:31Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}

Environment:

Cloud provider or hardware configuration: AWS

OS (e.g. from /etc/os-release): Debian GNU/Linux 8 (jessie)

Kernel (e.g. uname -a): Linux ip-172-20-105-42 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

Install tools: kops

Others:

What happened:

I have ingress running as a daemonset, looking for a nodeSelector:

nodeSelector:
roles.kubernetes.io/node: "1"

I am updating it to have a TCP services config map, so I needed to delete the daemonset first.

Ran: kubectl delete ds nginx-ingress-controller --namespace=kube-system

And waited.

Eventually, it failed with error: timed out waiting for the condition

But kubectl get pods --namespace=kube-system -w shows that the pods are being terminated, and then being recreated.

What you expected to happen:

All pods and the daemonset should be deleted.

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

I have no idea.

Anything else do we need to know:

Not sure.

Issue 2:
We have a bunch of different controllers already and (at least now) they are running on a single binary.

While looking into logs (in apiserver) one can see that a bunch of them are doing very similar operations at the same time, e.g.:

I1002 11:46:31.421115 12 handlers.go:130] GET /api/v1/pods: (1.325473918s) 200 [[kube-controller-manager/v1.1.0 (linux/amd64) kubernetes/521c67a] 127.0.0.1:48235]
I1002 11:46:31.425218 12 handlers.go:130] GET /api/v1/pods: (1.329777158s) 200 [[kube-controller-manager/v1.1.0 (linux/amd64) kubernetes/521c67a] 127.0.0.1:48234]
I1002 11:46:31.456389 12 handlers.go:130] GET /api/v1/pods: (1.360542647s) 200 [[kube-controller-manager/v1.1.0 (linux/amd64) kubernetes/521c67a] 127.0.0.1:48236]

In the above example, there are 3 "list pods" opertion send at the same time (those are comming from EndpointController, JobController and ReplicationController).

This seems to be a waster of resource (both cpu, memory and network).

We should try to have one "store" per resource and share it between different controllers (that will be able to register their callbacks on that store).

Thoughts?

@lavalamp @kubernetes/goog-csi @kubernetes/sig-scalability
Issue 1:
I noticed a problem when wanting to have a TextField selection and then replacing the selected text when typing.

I tried the Flutter Gallery app v0.5.1 and it has the same problem.

Steps to Reproduce

Open Flutter Gallery v0.5.1

Go to Material -> Text fields

Write something in the Salary input

Select some numbers and then start writing new ones

I would expect the selected text to be replaced by the new one but instead it is added before the selection. The same behavior is seen on TextInputType.number and TextInputType.phone but not on TextInputType.text for example.

Logs

Issue 2:
i write chat on websocket, I do not have access to the socket connection state, I found states in private sources(connecting, open etc)

in current implementation unclear, client connected to socket or performed connection.

in below example , onDone called with long delay, although pong not received and socket closed.

var channel = IOWebSocketChannel.connect('ws://echo.websocket.org', pingInterval: Duration(milliseconds: 1000));
channel.stream.listen((d) {
print(d);
}, onDone: () {
print('done');
}, onError: (error) {
print(error);
});

what I want: example, stream of connection state(connecting, connected, error, closed, etc)

i subscribed in page for change ui state(example show connection indicator(color dot). or make access to socket state, and run Timer with checking it value.
Issue 1:
Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
http://golang.org/doc/devel/release.html If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What does 'go version' print?

go version go1.2.2 darwin/amd64

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

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

What happened?

This error is printed when building: "main.main: doasm: notfound from=75 to=75
(4) CMPQ $0,$0"

What should have happened instead?

It should compile and link successfully.

Please provide any additional information below.

With go release version mentioned above, "go tool 6g foo.go" succeeds, and
then "go tool 6l foo.6" produces the error above. With tip (go version devel
+b5eda189b974 Thu Feb 20 16:18:05 2014 -0500 darwin/amd64), "go tool 6g
foo.go" fails with basically the same error, though formatted slightly differently:
"foo.go:5: doasm: notfound from=75 to=75 00000 (foo.go:4) CMPQ $0,$0"

Issue 2:
The following declaration

type E interface {
E
}

is accepted by neither the gc collection of compilers nor gccgo (interface type loop
involving E).

Arguably it is a legal declaration; at least there is no wording in the spec against it.

This is either a) a compiler bug, or b) the spec needs to be clearer. Also, this is a
completely academic issue with no practical implications...
Issue 1:
How to maximize the page in playwright?

Issue 2:
Selenium feature: https://www.selenium.dev/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#selenium.webdriver.remote.webdriver.WebDriver.maximize_window

Requested via Slack.

Scenario: Automate a website and then let the user complete something. Its great if the max possible width/height could be determined so the user has "maximum available viewport".

But not sure how or if its easy implementable since we in CR e.g. emulate the viewport independent from the window size.

For Chromium it works already like that:

// @ts-check
const playwright = require('playwright');

(async () => {
const browser = await playwright.chromium.launch({
args: ["--start-maximized"],
headless: false,
});
const context = await browser.newContext({
viewport: null
});
const page = await context.newPage();
await page.goto('http://whatsmyuseragent.org/');
await browser.close();
})();
Issue 1:
ℹ Computer information

PowerToys version: 0.18.1

PowerToy Utility: Fancy Zones

Running PowerToys as Admin: Yes

Windows build number: [run "winver"] 19041.450

📝 Provide detailed reproduction steps (if any)

Open Fancy Zones > Custom Themes

Add enough custom themes that they no longer fit on your screen

See no Scroll option and delete themes so you can get to the Apply button

✔️ Expected result

What is the expected result of the above steps?

Ability to scroll down to Apply

❌ Actual result

What is the actual result of the above steps?

No way to see Apply without deleting layouts. Apply goes off screen.

I move my computer between multiple monitor configurations and locations, and I have layouts for each so having to delete is not ideal.

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

Issue 2:
PowerToys notified me about an available auto-update from 0.18 to 0.18.1, but I accidentally dismissed this notification. I tried to find a "start the update"-button in the settings, but I couldn't find it. A restart of PowerToys also didn't trigger a new notification for the in-app-update. The only option to update seems to be to follow the check-update-link in the settings and to manually download the new version.
Issue 1:
I think it might be a good add to let the user use buttons as prepend/addons. There are a lot of uses for it (reseting a field, single-field submit button, show field options etc) and it wouldn't be that hard to integrate. It just needs a few CSS tweaks.

It's currently possible but the CSS result is rather messy : http://jsfiddle.net/9RwWJ/5/

Issue 2:
Hi!! It would be nice to have a growl-like notification component within bootstrap :)

Here are the most important jquery scripts:

http://webtoolkit4.me/2009/08/13/jquery-growl-likenotification-systems/

Personally I like jquery Purr http://kitchen.net-perspective.com/purr-example-4.html

What do you think about that?

Thanks for all!

Raúl
Issue 1:
>>> x = np.ones(10)
>>> np.add(x,x[:1],x)
array([ 2., 3., 3., 3., 3., 3., 3., 3., 3., 3.])
>>> x = np.ones(10)
>>> np.add(x,x[4:5],x)
array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 2.])

The first makes sense, but I expected the second to end with a string of 3's. Not totally sure if this is a bug or if aliased ufunc operands is documented as undefined behaviour somewhere.

The above was produced using the current master and ubuntu. On another windows machine with 1.10.4 I get even weirder:

>>> np.add(x,x[4:5],x)
array([ 2., 2., 2., 2., 2., 2., 2., 2., 2., 3.])

Issue 2:
Original ticket http://projects.scipy.org/numpy/ticket/1085 on 2009-04-15 by trac user tillmann, assigned to @charris.

import numpy as np

x=np.array([[1,2],[3,4]])

print x

[[1 2]

[3 4]]

x+=x.T

print x

[[2 5]

[8 8]]

when writing code on such a high level of abstraction this behavior is not expected and imho wrong. At least a warning should be issued or better the in place operations should fall back to creating copies if the results are not correct otherwise.
Issue 1:
I'm trying to use TF_LoadLibrary on a mac and I keep getting errors such as:

Caused by: org.platanios.tensorflow.jni.TensorFlow$NativeException: dlopen(/var/folders/rw/lqrc8nk52kqcc4_zq3c2b6dh0000gn/T/tensorflow_scala_native_libraries7467192138547554485/libtensorflow_ops.dylib, 6): Symbol not found: __ZN10tensorflow15shape_inference12UnknownShapeEPNS0_16InferenceContextE
Referenced from: /var/folders/rw/lqrc8nk52kqcc4_zq3c2b6dh0000gn/T/tensorflow_scala_native_libraries7467192138547554485/libtensorflow_ops.dylib
Expected in: flat namespace
in /var/folders/rw/lqrc8nk52kqcc4_zq3c2b6dh0000gn/T/tensorflow_scala_native_libraries7467192138547554485/libtensorflow_ops.dylib

The same thing happens when I try to load the compiled dylib file through Python directly. It was compiled it using -D_GLIBCXX_USE_CXX11_ABI=0 and -undefined dynamic_lookup for the linker. @asimshankar

Issue 2:
As reported in #10 (comment) , the following test (at head: d4b5c60):

package bug

import (
"testing"

tf "github.com/tensorflow/tensorflow/tensorflow/go"
"github.com/tensorflow/tensorflow/tensorflow/go/op"
)

func TestBug(t *testing.T) {
scope := op.NewScope()
op.Placeholder(scope.Subscope("x"), tf.Float)
op.Placeholder(scope.Subscope("y"), tf.Float)
if _, err := scope.Finalize(); err != nil {
t.Fatal(err)
}
}

fails with:

--- FAIL: TestBug (0.01s)
bug_test.go:15: failed to add operation "Placeholder": Duplicate node name in graph: 'Placeholder' (Stacktrace: goroutine 19 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
github.com/tensorflow/tensorflow/tensorflow/go/op.(*Scope).UpdateErr(0xc420072420, 0x411b8ac, 0xb, 0x4196640, 0xc42007c030)
/home/go/src/github.com/tensorflow/tensorflow/tensorflow/go/op/scope.go:106 +0x72
github.com/tensorflow/tensorflow/tensorflow/go/op.(*Scope).AddOperation(0xc420072420, 0x411b8ac, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc420072450, 0x4108b00)
/home/go/src/github.com/tensorflow/tensorflow/tensorflow/go/op/scope.go:70 +0xbf
github.com/tensorflow/tensorflow/tensorflow/go/op.Placeholder(0xc420072420, 0x1, 0x0, 0x0, 0x0, 0xc42006e4f0, 0x0)
/home/go/src/github.com/tensorflow/tensorflow/tensorflow/go/op/wrappers.go:4734 +0x1c7
github.com/tensorflow/tensorflow/tensorflow/go/b10.TestBug(0xc420098180)
/home/go/src/github.com/tensorflow/tensorflow/tensorflow/go/b10/bug_test.go:13 +0xd2
testing.tRunner(0xc420098180, 0x4129d88)
/usr/local/go/src/testing/testing.go:610 +0x81
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:646 +0x2ec
)

(Thanks for pointing this out @sdeoras).
Issue 1:
Hello,

I couldn't find earlier posted questions about this, but if there are, excuse me for posting a duplicate.

I wanted to animate my progress bar (from left to right), but when inspecting the existing rules, I saw there is already a built-in transition for progress bars:

.progress-bar {
/*Other CSS Rules */
-webkit-transition: width .6s ease;
transition: width .6s ease;
}

However, I hadn't noticed the transition at all, so I added

.progress-bar {
-webkit-transition: width 4s ease;
transition: width 4s ease;
}

to my (adjustments) stylesheet to be sure to notice the animation.

However, it still didn't animate on page load (and I used Google Chrome Developer Tools to verify this new rule overrode the old one).

Why doesn't this work? (Neither the .6s and the 4s)

The CSS Rule for progress bars is actually

.progress-bar {
float: left;
width: 0;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #fff;
text-align: center;
background-color: #428bca;
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
-webkit-transition: width .6s ease;
transition: width .6s ease;
}

so as you can see, first width:0; is set, and later I set, like the Bootstrap Example, an inline rule style="width: 80%;"...

If I disable (and reenable) this style="width: 80%;" using the Google Chrome Developer Tools, it does animate, so my problem is it does not animate on page load...

Am I missing something?

My progress bar:

<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
<span class="sr-only">80% Complete</span>
</div>

I'm using an iMac with Google Chrome. I tested it on FireFox as well, same problem, so, uhm... It's most likely I am missing something

I use Bootstrap 3.0.2, but that's irrelevant, because you can see in my question it happens as well on the official Bootstrap Site.

Issue 2:
When using the content function for a popover, it seems to be executed twice when the trigger occurs.

$("#blah").popover({
placement: 'bottom',
trigger: 'click',
content: function () {
console.log("Get content");
return "Hi";
}
});
Issue 1:
Code Sample, a copy-pastable example if possible

# Building Dataframe (reused from example, the fact that it uses datetime and numpy is probably not that important)
date_range = pd.date_range(start=dt.datetime(2017,1,1), end=dt.datetime(2020,12,31), freq='W')
to_concat = []
for val in range(1,5):
frame_tmp = pd.DataFrame()
frame_tmp['DT'] = date_range
frame_tmp['type'] = val
frame_tmp['value'] = np.random.randint(1, 6, frame_tmp.shape[0])
to_concat.append(frame_tmp)

df = pd.concat(to_concat, ignore_index=True)

# Does not work under pandas 0.23.0 and 0.23.1 worked in 0.22 and for some versions before
df.set_index('DT').groupby(level=0)['value'].expanding().mean()

# Workaround not setting as index is fine
df.groupby(['DT'])['value'].expanding().mean()

Problem description

When using expanding().mean() in a groupby on index as in the above code, pandas 0.23.1 and 0.23.0 produce an error:

ValueError: Duplicated level name: "DT", assigned to level 1, is already used for level 0.

Previous version would insert another level with the same name. So it is probably linked with a change in error being thrown.

Output of pd.show_versions()

INSTALLED VERSIONS

commit: None

python: 3.6.6.final.0

python-bits: 64

OS: Linux

OS-release: 4.13.0-45-generic

machine: x86_64

processor: x86_64

byteorder: little

LC_ALL: None

LANG: en_US.UTF-8

LOCALE: en_US.UTF-8

pandas: 0.23.1

pytest: None

pip: 10.0.1

setuptools: 39.2.0

Cython: None

numpy: 1.14.5

scipy: None

pyarrow: None

xarray: None

IPython: 6.4.0

sphinx: None

patsy: None

dateutil: 2.7.3

pytz: 2018.5

blosc: None

bottleneck: None

tables: 3.4.4

numexpr: 2.6.5

feather: None

matplotlib: None

openpyxl: None

xlrd: None

xlwt: None

xlsxwriter: None

lxml: None

bs4: None

html5lib: 1.0.1

sqlalchemy: None

pymysql: None

psycopg2: None

jinja2: 2.10

s3fs: None

fastparquet: None

pandas_gbq: None

pandas_datareader: None

Issue 2:
Hi,

I updated to version 0.23.0 and all of a sudden the following code breaks:

import pandas as pd
df = pd.DataFrame(data={'date': list(pd.date_range('5.1.2018', '5.10.2018')),
'vals': list(range(10))})
df.groupby([df.date.dt.month, df.date.dt.day])['vals'].sum()

ValueError: Duplicated level name: "date", assigned to level 1, is already used for level 0.

Expected output:

Using version 0.22.0 the same code yields the following:

date date
5 1 0
2 1
3 2
4 3
5 4
6 5
7 6
8 7
9 8
10 9
Name: vals, dtype: int64

It obviously contains duplicated level names. I get why this might be a problem, but as of version 0.23.0 it's not possible to specify the resulting level names.
Issue 1:
A quick and easy way to get ode23 and ode45 like in MATLAB is:

http://www.netlib.org/ode/rksuite/

The state of the art is SUNDIALS, but it is no longer maintained. The lead developer went to develop video games! It is widely used in the national labs, and can give us ode15s.

https://computation.llnl.gov/casc/sundials/main.html

The long term strategy may simply be to implement these solvers in julia itself. The design of the Matlab ODE suite is described in:

http://www.mathworks.com/help/pdf_doc/otherdocs/ode_suite.pdf

Issue 2:
I just compiled and ran Julie on a AMD, 64bit, Linux Mint distribution machine.

In the manual/docs the following examples are given

x::Int8 = 10
type error: typeassert: expected Int8, got Int64
-----------
function gethostname()
hostname = Array(Uint8, 128)
ccall( (:gethostname, "libc"), Int32,
(Ptr{Uint8}, Ulong),
hostname, length(hostname))
return bytestring(convert(Ptr{Uint8}, hostname))
end
gethostname()
error compiling gethostname: Ulong not defined
------------

I realize this is probably due to a compilation error or system modifications; or some such.

I can't find a reference to Ulong failures in google though.

A pointer to relevant documentation, system/compiler dumps, would be appreciated. I realize that

Mint, 64 bit, AMD

is not a through description but I don't want to clutter up the board with useless information.

I do know (more or less) how to do strace and such if needed.

Ray
Issue 1:
Hi,

Can elasticsearch be configured to listen on multiple IPs, but not on all?

So I want it to listen on all private ips + localhost, but not on the public ips all present on the same node.

Thanks

Issue 2:
Right now you can bind Elasticsearch to only a single address with either:

network.bind_host: "some_ip"

or

network.host: "some_ip"

It'd be convenient to be able to bind to multiple hosts like so:

network.bind_host: [ "some_ip", "some_other_ip" ]

In particular it'd allow the convenient configuration:

network.bind_host: [ "some_data_center_accessible_ip", "localhost" ]
network.publish_host: "some_data_center_accessible_ip"

Which would allow elasticsearch to respond to requests to localhost.
Issue 1:
ISSUE TYPE

Feature Idea

COMPONENT NAME

elasticache

ANSIBLE VERSION

ansible 2.3.0.0
config file = /home/lyle/projects/prima_cm/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]

CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

If I want to have duplicate environments for staging and production, it's easy to distinguish them when grouping by tags. I also want to provision AWS with Ansible, but the elasticache module does not have a tags parameter.

Issue 2:
ISSUE TYPE

Bug Report

COMPONENT NAME

ec2_asg module

ANSIBLE VERSION

1.9

SUMMARY

From @ferrants on 2015-07-30T19:08:37Z

Experienced with stable-1.9.

Desired size is incremented by the batch size. The old instances are marked as unhealthy. As the old instance is terminated, a new instance is created to match the desired size. Once the old instance is terminated and all new instances are healthy, the size is decreased, terminating undesired instance.

With a batch size of 1 and desired size of one, the flow is as follows:

starts with one old instance, desired is 1

gets one new instance, desired is 2

old instance starts being torn down, gets another new instance, desired is 2

one of the new instances is torn down when desired capacity is reduced to 1

Activity history is attached:

Copied from original issue: ansible/ansible-modules-core#1845