WhereIsAI/github-issue-similarity huggingface dataset:
Issue 1:
On a ES 1.4.2 cluster, I am trying to transiently set the log level of search slowlogs via the API:

curl -s -XPUT 'http://localhost:9200/_cluster/settings' -d '
{
"transient" : {
"logger.index.search.slowlog.query" : "INFO"
}
}'

I confirmed that the transient setting is stored in the cluster with a GET on the same path.

However I still have many DEBUG log events in my slowlogs. What am I doing wrong? Is this a known issue?

Issue 2:
I'm not sure if i'm doing something wrong here, but on something like the following...(elasticsearch 0.13)

{ "from":0,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"source.recid","default_operator" : "AND","query":"mp3"}}}

{ "from":10,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"source.recid","default_operator" : "AND","query":"mp3"}}}

{ "from":20,"size" :10, "fields" : "_source.recid", "query" : { "query_string": {"sort":"_source.recid","default_operator" : "AND","query":"mp3*"}}}

I occasionally get a duplicate result back[seems to be towards the top of the result set... anywhere from 1-4 records in). (Happens if I specify an _id on index creation or let elastic search generate one for me.) A duplicate result = _id being the same, as well as my _source.recid being the same. If I use a large "size" parameter then I don't get the duplicate results. Is there something i'm misunderstanding? If i happen to check for duplicates manually I never appear to get the proper unique entities. (ie... elasticsearch returns a report 259 records, but if I get one duplicate entry I will only get 258.

But again, if I do specify a large enough size so that the result set all fits in, then there is no problem... I am sure that when adding to the search that everything is unique.

Tnx!
Issue 1:
As a user, when I open more than two tabs in the default terminal size, I must maximize\resize the window to access the nth tab. There is no horizontal scrolling support.

Proposed technical implementation details (optional)

This is a feature that is supported within VS Code and should be extended to windows terminal.

When more tabs are open than what is supported by the current view, provide horizontal scrolling of the tabs to allow the user to select the nth terminal tab.

Issue 2:
This bug-tracker is monitored by Windows Console development team and other technical types. We like detail!

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.18898.1000]

What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)

Video demonstration of both issues below

A newly created tab doesn't scroll the tab bar to the end - could possibly be a config variable

When using tabs in the title bar and creating a new partially hidden tab, the tab gets cut off.

What's wrong / what should be happening instead:

The tab should not be cut off.
Issue 1:
Hello,

I created a two columns forms, the first column has an input and the second, a static field. As you can see on the screenshot below, the two values are not aligned.

But when I set this, it is ok.

.form-control-static {
padding-top : 7px
}

However, the padding can be strange when no input on the same line. So should we solve this ?

Best regards

Issue 2:
Perhaps padding-bottom: 7px should be added to .form-horizontal .form-control-static so that it is the same height as the input it replaces (34px).
Issue 1:
The tf.train.batch() function had a nice dynamic_pad flag:

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/training/input.py#L567

Is there anything holding us batch from implementing it in tf.train.shuffle_batch():

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/training/input.py#L778

Issue 2:
tf.train.batch is the only one can handle variable-length sequence, but it does not have shuffling option.

For RNN training, shuffling is needed.
Issue 1:
When I put Atom in my Apple Dock and clicked on the icon Atom started successfully but couldn't find needed programs in my PATH. I've spent sometime finding a possible solution.

Instead of having a binary in the Atom.app/Contents/MacOS use your script Atom.app/Contents/Resources/app/atom.sh.

The script needs 2 changes:

change for the new location of the binary

change the first line of the script from:

#!/usr/bin/env bash

to:

#!/usr/bin/env bash -l

This seems to start Atom from a bash shell that runs the ~/.profile script first allowing all of the environment variables to get set and made visible to Atom.

OS X still does not have shared global environment variables. But it does help establish the login environment variables for atom including PATH.

I've made a new application just for your script as my current work around.

Thanks,

Mark Zander

tarzander@hotmail.com

Issue 2:
When Atom is launched as an application, it doesn't get the user's PATH, because it was launched by launchctl. This means that packages like script and hydrogen have to tell the user to launch Atom from the command line. Some packages (like hydrogen) can't even be installed without the PATH because their dependencies use native extensions built with node-gyp. There exist tools such as fix-path, but they clobber the user's PATH even if they've set something on purpose (with e.g. a virtualenv).

Having access to the user's PATH will become more and more important as people build packages that interface more deeply with languages, other tools, and the user's environment. Forcing the user to configure each package with complete paths to the binaries it needs is possible, but inelegant, and becomes intractable with general-purpose tools.

This seems like a clear situation where making this change to Atom itself would dramatically simplify life for many packages and eliminate many bugs arising from poor attempts to capture the PATH.
Issue 1:
THE CONSOLE LOG：

TypeError: undefined is not a function

at FindModel.module.exports.FindModel.activePaneItemChanged (/opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:38:14)

at /opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:29:24

at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)

at /opt/atom/resources/app/src/pane-container.js:321:34

at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)

at Pane.module.exports.Pane.setActiveItem (/opt/atom/resources/app/src/pane.js:254:22)

at Pane.module.exports.Pane.activateItem (/opt/atom/resources/app/src/pane.js:300:21)

at /opt/atom/resources/app/src/workspace.js:446:16

at _fulfilled (/opt/atom/resources/app/node_modules/q/q.js:787:54)

at self.promiseDispatch.done (/opt/atom/resources/app/node_modules/q/q.js:816:30)

at Promise.promise.promiseDispatch (/opt/atom/resources/app/node_modules/q/q.js:749:13)

at /opt/atom/resources/app/node_modules/q/q.js:557:44

at flush (/opt/atom/resources/app/node_modules/q/q.js:108:17)

at process._tickCallback (node.js:378:11)

Uncaught TypeError: undefined is not a function /opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:38

Issue 2:
When i have opened two tabs and i start searching on one, after i go to second one without closing search bar i got this error:

TypeError: undefined is not a function
at FindModel.module.exports.FindModel.activePaneItemChanged (/opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:38:14)
at /opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:29:24
at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)
at /opt/atom/resources/app/src/pane-container.js:285:34
at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app/node_modules/event-kit/lib/emitter.js:71:11)
at Pane.module.exports.Pane.setActiveItem (/opt/atom/resources/app/src/pane.js:254:22)
at Pane.module.exports.Pane.activateItem (/opt/atom/resources/app/src/pane.js:300:21)
at /opt/atom/resources/app/src/workspace.js:369:16
at _fulfilled (/opt/atom/resources/app/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/opt/atom/resources/app/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/opt/atom/resources/app/node_modules/q/q.js:749:13)
at /opt/atom/resources/app/node_modules/q/q.js:557:44
at flush (/opt/atom/resources/app/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:378:11)

Uncaught TypeError: undefined is not a function /opt/atom/resources/app/node_modules/find-and-replace/lib/find-model.js:38

My os is Ubuntu Gnome 14
Issue 1:
Latest update: #18761 (comment)

Internal: b/137284394

Here (#4478) Hixie commented:

"Ok the plan is that rather than truncating individual characters until it fit, we will truncate entire atomic positioned glyph sequences (e.g. whole ligatures or shaped words) until the ellipsis fits. That would have the advantage of being much more performant. It would have the disadvantage of truncating the entire word if the whole line was one ligature (e.g. if your line was the word "Zapfino" in the Zapfino font, and it overflowed at the "o", we would replace the whole thing with a "...", rather than just the "no".)"

Although the above comment talks about ligatures, it seems to me this is being ignored, and whole words are simply being removed.

Now suppose the text "Laboris nisi ut aliquip ex ea commodo" gets cut right before word "ex". Since the previous word fits, it may cut some letters of that last word to fit the ellipsis, resulting in:

"Laboris nisi ut aliqu..."

However, if the horizontal space is a litter smaller, than the letter "p" from "aliquip" won't fit, and it will cut the whole word, resulting in:

"Laboris nisi ut ... "

But that's not how overflow works for other platforms, and it makes no sense to remove whole words. The obvious result, if "p" doesn't fit should be, just as before:

"Laboris nisi ut aliqu..."

As things are now, we tend to see a lot of words cut in their last 1 or 2 chars, and a lot of words completely removed, leaving a lot of weird white space. That gets particularly nasty in one line texts like titles.

Please, don't create weird behaviors for things with time-honored traditions like ellipsizing. Stick to what everybody else does. If you want, let the devs choose between both behaviors: enum TestOverflow {clip, fade, ellipsisWords, ellipsisLetters}.

If Arabic and other eastern languages have problems with that (as per issue 4478), you can even do some autodetection for characters of those languages, by adding the enum TestOverflow.ellipsisAutodetect.

Issue 2:
Repro:

Run widgets/pageable_list.dart

Tap the menu button in the top left to open the drawer.

Tap Vertical Layout.

Note that the vertical layout takes effect, but the Vertical Layout DrawerItem is not selected.

If you open and close the drawer, then it will be correctly selected.
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.): Looked at the API docs. Discussed on the kubernetes/sig-auth slack channel with @ericchiang and @whitlockjc

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

Once OIDC is integrated, it would be helpful to have an endpoint that will reply with information about the logged in user, mainly the username, uid, groups and roles. Something similar to OpenShift's /oapi/v1/users/~ service. Ideally this would return json similar to:

{
"username":"me",
"uid":"myuid",
"groups":[
"admins",
"devs",
"etc",
],
"roles":[
"adminrole",
"userrole",
"etc"
]
}

That way someone can easily test that OIDC is setup correctly, the dashboard can show who the logged in user is and external tool developers can verify/display the logged in user.

What you expected to happen:

$ curl -H "Authorization: bearer ASDFV..." https://myapi.k8s.io/api/path/to/whoami
{
"username":"me",
"uid":"myuid",
"groups":[
"admins",
"devs",
"etc",
],
"roles":[
"adminrole",
"userrole",
"etc"
]
}

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.):

"bazel"

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

Bug Report

Kubernetes version (use kubectl version):

1.5 beta2 (source)

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

Use github.com/kubernetes/kubernetes as a git_repository in another Bazel project. The "set-gen" genrule in pkg/util/sets/BUILD will fail because its "--input-dirs" argument assumes some things about the path it is operating on. It works fine in the kubernetes tree, but the paths will have "external/" prepended to them when imported into another project. The "--go-header-file" argument works fine because it uses $location.

Anything else do we need to know:

I fixed this here by doing some path-chopping in bash, but the solution is ugly:

https://github.com/sayrer/kubernetes/blob/4d14457d6297ab98ca46c75601195cd9d67eb339/pkg/util/sets/BUILD#L43

@mikedanese
Issue 1:
The creation of a range using range(start, step=..., length=...) may result in a stack overflow if either of the start or step values is an AbstractFloat that is not one of the IEEE ones.

Example:

julia> range(1.0, step=1, length=10)
1.0:1.0:10.0

julia> range(big(1.0), step=1, length=10)
ERROR: StackOverflowError:
Stacktrace:
[1] _range(::BigFloat, ::BigFloat, ::Nothing, ::Int64) at ./range.jl:105 (repeats 80000 times)

julia> range(1.0, step=big(1.0), length=10)
ERROR: StackOverflowError:
Stacktrace:
[1] _range(::BigFloat, ::BigFloat, ::Nothing, ::Int64) at ./range.jl:105 (repeats 80000 times)

This seems to be the case since v0.7, I currently tested on v1.1.

The culprit is _range in range.jl, more specifically this line. In case start and step are any combination of an AbstractFloat and a Real, the logic in _range promotes them to the same floating point type.

However, the subsequent call to _range with equal types is intercepted only for IEEE types elsewhere in twiceprecision.jl, specifically here. There is no alternative fallback, hence the stack overflow.

The solution might simply be to add a fallback in range.jl, such as

_range(a::T, step::T, ::Nothing, len::Integer) where {T <: AbstractFloat} =
_rangestyle(OrderStyle(T), ArithmeticStyle(T), a, step, len)

This is similar to the line further below.

Note that I did NOT test the above solution, sorry, as I've never changed anything in base and I have no working julia build to do so :-)

Issue 2:
julia> BigFloat(2)*(1:2)
ERROR: StackOverflowError:
Stacktrace:
[1] range(::BigFloat, ::BigFloat, ::Int64) at ./range.jl:74 (repeats 80000 times)

julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, sandybridge)
Issue 1:
Summary of the new feature/enhancement

I'm going through a ton of file renaming for a media player and I find I am making several incremental changes to the same set of files.

It would be nice to have the option to make the changes but keep the current files open.

Proposed technical implementation details (optional)

The rename button could change to a dropdown button with "rename" the primary and "rename and keep open" with secondary option.

Issue 2:
PowerToys version: 0.20.1

Running PowerToys as Admin: Yes

Windows build number: 19041.388

When pc boot up the PowerToys Run does not work ( Pressing Alt + Space does nothing ). If i terminate the app and restart it then it works as intended. Issue occurred when i updated to 0.20.1 version. Previous version was fine.
Issue 1:
On the following page http://golang.org/pkg/sync/#Pool an unnecessary empty line is added to the code. It's probably because it contains unexported fields an a new line before the public fields, but it would be nice if this empty is not shown. The same happens in the text version of the page: http://golang.org/pkg/sync/?m=text (manual scrolling required).

Continued from golang/gddo#243.

Issue 2:
The documentation for sql.NamedArg currently looks like:

type NamedArg struct {

// Name of the parameter placeholder. If empty the ordinal position in the
// argument list will be used.
//
// Name must omit any symbol prefix.
Name string

// Value of the parameter. It may be assigned the same value types as
// the query arguments.
Value interface{}
// contains filtered or unexported fields
}

Can we fix the formatting to look nicer? I expect it to be like:

type NamedArg struct {
// Name of the parameter placeholder. If empty the ordinal position in the
// argument list will be used.
//
// Name must omit any symbol prefix.
Name string

// Value of the parameter. It may be assigned the same value types as
// the query arguments.
Value interface{}

// Contains filtered or unexported fields.
}

This applies to interfaces as well.
Issue 1:
Many projects require more resources than are available in a single machine. Does the current opensource release of Tensorflow support processing that spans multiple-machines?

I ask because the main webpage (says single machine) seems to conflict[1] with the Tensorflow whitepaper pdf (says multiple machines).

If the current opensource tensorflow does not support multiple-machine execution but the closed-sourced version does. Is there any plan to release an opensource version that supports multiple machines? Is there an approximate timeframe?

[1]

The tensorflow.org main webpage says "This open source release supports single machines". Also the Resources/FAQ says "single computer".

But then when you read the Tensorflow whitepaper, the whitepaper indicates in many places that Tensorflow can run across multiple machines. See these quotes from the whitepaper:

"large-scale distributed systems of hundreds of machines" and "using

many hundreds of machines"

" extends it with support for an environment where the client, the master, and the workers can all be in different processes on different machines"

"use remote communication mechanisms such as TCP or RDMA to move data across machine boundaries"

Issue 2:
Is there any distributed version of TensorFlow that could work on multiple machines?

-Minjie
Issue 1:
Describe what you were doing when the bug occurred:

1.

2.

3.

Please do not remove the text below this line

DevTools version: 4.2.0-a8b8ffb89

Call stack: at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150913)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:150791)

Component stack: in dl

in div

in div

in div

in _o

in Unknown

in n

in Unknown

in div

in div

in zi

in Ge

in un

in ba

in Rc

Issue 2:
bug

Uncaught TypeError: Cannot read property 'name' of undefined

Uncaught TypeError: e.hasOwnProperty is not a function

infinite loading in component view

Reproduce:

use hook useRouter or HOC withRouter from react-router-dom and select component with hook/hoc in components view react developer tools

Issue is caused by not-bug hapijs/hapi#3280

(query object does not have constructor and does not have hasOwnProperty)
Issue 1:
When I stress-test PersistentVolume controller I sometimes get (correct) "PersistentVolumeClaim deleted" event followed by (wrong) "PersistentVolumeClaim added". This happens very rarely (<0.01%) when I delete a PersistentVolumeClaim and the controller is under heavy load.

I use framework.NewInformer (link ) like everybody else. Reading its code, what happens when the controller is processing 'PVC deleted' event at line 251, i.e just before Delete() is called and at the same time periodic sync starts? The PVC that is being deleted is still in the cache and a 'PVC Sync' will be added into Queue and my controller gets OnDelete() callback followed by OnAdd().

My PersistentVolume controller then sees an old claim and tries to do stuff with it and sometimes it updates the claim in etcd. So the claim gets 'resurrected' in etcd even though user deleted it.

It is possible that my controller does something terribly wrong - I checked it twice, but it's pretty complicated piece of code. I am 100% sure that OnAdd() is called as reaction to cache.Sync event, I did a debug log in Process function of Informer.

Issue 2:
When I stress-test PersistentVolume controller I sometimes get (correct) "PersistentVolumeClaim deleted" event followed by (wrong) "PersistentVolumeClaim added". This happens very rarely (<0.01%) when I delete a PersistentVolumeClaim and the controller is under heavy load.

I use framework.NewInformer (link ) like everybody else. Reading its code, what happens when the controller is processing 'PVC deleted' event at line 251, i.e just before Delete() is called and at the same time periodic sync starts? The PVC that is being deleted is still in the cache and a 'PVC Sync' will be added into Queue and my controller gets OnDelete() callback followed by OnAdd().

My PersistentVolume controller then sees an old claim and tries to do stuff with it and sometimes it updates the claim in etcd. So the claim gets 'resurrected' in etcd even though user deleted it.

It is possible that my controller does something terribly wrong - I checked it twice, but it's pretty complicated piece of code. I am 100% sure that OnAdd() is called as reaction to cache.Sync event, I did a debug log in Process function of Informer.
Issue 1:
The CSS is correct but no matter which way it is written, the answer is incorrect.

margin-top is not working correctly.

.green-box {

background-color: green;

margin-right: 20px;

margin-bottom: 20px;

margin-left: 40px;

margin-top: 20px;

}

.green-box {

margin: 20px 20px 20px 40px;

}

The instructions say to make margin-top: 20px. By experimenting I determined it should be margin-top: 40px.

Issue 2:
In the instructions for the margin, you have the pixel setting for "Top" to 20px instead of 40px.